react-native-timacare 0.0.15 → 0.0.16

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 (38) hide show
  1. package/lib/commonjs/index.js +1 -1
  2. package/lib/commonjs/index.js.flow +8 -6
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/screens/full-submit/store.js +1 -1
  5. package/lib/commonjs/screens/full-submit/store.js.flow +60 -0
  6. package/lib/commonjs/screens/full-submit/store.js.map +1 -1
  7. package/lib/commonjs/screens/full-submit/update-info.js +1 -1
  8. package/lib/commonjs/screens/full-submit/update-info.js.flow +48 -18
  9. package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
  10. package/lib/commonjs/screens/home/index.js +1 -1
  11. package/lib/commonjs/screens/home/index.js.flow +3 -0
  12. package/lib/commonjs/screens/home/index.js.map +1 -1
  13. package/lib/commonjs/services/api/api.js +1 -1
  14. package/lib/commonjs/services/api/api.js.flow +51 -0
  15. package/lib/commonjs/services/api/api.js.map +1 -1
  16. package/lib/module/index.js +1 -1
  17. package/lib/module/index.js.map +1 -1
  18. package/lib/module/screens/full-submit/store.js +1 -1
  19. package/lib/module/screens/full-submit/store.js.map +1 -1
  20. package/lib/module/screens/full-submit/update-info.js +1 -1
  21. package/lib/module/screens/full-submit/update-info.js.map +1 -1
  22. package/lib/module/screens/home/index.js +1 -1
  23. package/lib/module/screens/home/index.js.map +1 -1
  24. package/lib/module/services/api/api.js +1 -1
  25. package/lib/module/services/api/api.js.map +1 -1
  26. package/lib/typescript/index.d.ts.map +1 -1
  27. package/lib/typescript/screens/full-submit/store.d.ts +6 -0
  28. package/lib/typescript/screens/full-submit/store.d.ts.map +1 -1
  29. package/lib/typescript/screens/full-submit/update-info.d.ts.map +1 -1
  30. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  31. package/lib/typescript/services/api/api.d.ts +48 -0
  32. package/lib/typescript/services/api/api.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/src/index.tsx +8 -6
  35. package/src/screens/full-submit/store.tsx +60 -0
  36. package/src/screens/full-submit/update-info.tsx +48 -18
  37. package/src/screens/home/index.tsx +3 -0
  38. package/src/services/api/api.ts +51 -0
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.TimaCareNavigation=void 0;require("./utils/ignore-warnings");var _react=_interopRequireWildcard(require("react"));var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _reactNativeScreens=require("react-native-screens");var _reactNativePopupMenu=require("react-native-popup-menu");var _AppStore=_interopRequireDefault(require("./AppStore"));var _rootNavigator=_interopRequireDefault(require("./navigation/root-navigator"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/index.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}(0,_reactNativeScreens.enableScreens)();function TimaCareNavigator(){(0,_react.useEffect)(function(){_AppStore.default.getDeviceId();_AppStore.default.getPublicIp();_AppStore.default.getAppId();_AppStore.default.getDevicePayload();},[]);return _react.default.createElement(_reactNativeSafeAreaContext.SafeAreaProvider,{initialSafeAreaInsets:_reactNativeSafeAreaContext.initialWindowSafeAreaInsets,__self:this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:5}},_react.default.createElement(_reactNativePopupMenu.MenuProvider,{__self:this,__source:{fileName:_jsxFileName,lineNumber:25,columnNumber:7}},_react.default.createElement(_rootNavigator.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:26,columnNumber:9}})));}var TimaCareNavigation=TimaCareNavigator;exports.TimaCareNavigation=TimaCareNavigation;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.TimaCareNavigation=void 0;require("./utils/ignore-warnings");var _react=_interopRequireWildcard(require("react"));var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _reactNativeScreens=require("react-native-screens");var _reactNativePopupMenu=require("react-native-popup-menu");var _AppStore=_interopRequireDefault(require("./AppStore"));var _rootNavigator=_interopRequireDefault(require("./navigation/root-navigator"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/index.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}(0,_reactNativeScreens.enableScreens)();function TimaCareNavigator(){(0,_react.useEffect)(function(){_AppStore.default.getDeviceId();_AppStore.default.getPublicIp();_AppStore.default.getAppId();_AppStore.default.getDevicePayload();},[]);return _react.default.createElement(_react.StrictMode,{__self:this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:5}},_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaProvider,{initialSafeAreaInsets:_reactNativeSafeAreaContext.initialWindowSafeAreaInsets,__self:this,__source:{fileName:_jsxFileName,lineNumber:25,columnNumber:7}},_react.default.createElement(_reactNativePopupMenu.MenuProvider,{__self:this,__source:{fileName:_jsxFileName,lineNumber:26,columnNumber:9}},_react.default.createElement(_rootNavigator.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:27,columnNumber:11}}))));}var TimaCareNavigation=TimaCareNavigator;exports.TimaCareNavigation=TimaCareNavigation;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  //@ts-nocheck
2
2
  import './utils/ignore-warnings';
3
- import React, { useEffect } from 'react';
3
+ import React, { StrictMode, useEffect } from 'react';
4
4
  import {
5
5
  SafeAreaProvider,
6
6
  initialWindowSafeAreaInsets,
@@ -21,11 +21,13 @@ function TimaCareNavigator() {
21
21
  }, []);
22
22
 
23
23
  return (
24
- <SafeAreaProvider initialSafeAreaInsets={initialWindowSafeAreaInsets}>
25
- <MenuProvider>
26
- <RootStack />
27
- </MenuProvider>
28
- </SafeAreaProvider>
24
+ <StrictMode>
25
+ <SafeAreaProvider initialSafeAreaInsets={initialWindowSafeAreaInsets}>
26
+ <MenuProvider>
27
+ <RootStack />
28
+ </MenuProvider>
29
+ </SafeAreaProvider>
30
+ </StrictMode>
29
31
  );
30
32
  }
31
33
 
@@ -1 +1 @@
1
- {"version":3,"names":["require","_react","_interopRequireWildcard","_reactNativeSafeAreaContext","_reactNativeScreens","_reactNativePopupMenu","_AppStore","_interopRequireDefault","_rootNavigator","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","enableScreens","TimaCareNavigator","useEffect","appStore","getDeviceId","getPublicIp","getAppId","getDevicePayload","createElement","SafeAreaProvider","initialSafeAreaInsets","initialWindowSafeAreaInsets","__self","__source","fileName","lineNumber","columnNumber","MenuProvider","TimaCareNavigation","exports"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"8KACAA,OAAA,4BACA,IAAAC,MAAA,CAAAC,uBAAA,CAAAF,OAAA,WACA,IAAAG,2BAAA,CAAAH,OAAA,mCAIA,IAAAI,mBAAA,CAAAJ,OAAA,yBACA,IAAAK,qBAAA,CAAAL,OAAA,4BACA,IAAAM,SAAA,CAAAC,sBAAA,CAAAP,OAAA,gBACA,IAAAQ,cAAA,CAAAD,sBAAA,CAAAP,OAAA,iCAAoD,IAAAS,YAAA,sEAAAC,yBAAAC,WAAA,YAAAC,OAAA,8BAAAC,iBAAA,KAAAD,OAAA,OAAAE,gBAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,WAAA,SAAAA,WAAA,CAAAG,gBAAA,CAAAD,iBAAA,IAAAF,WAAA,YAAAT,wBAAAa,GAAA,CAAAJ,WAAA,MAAAA,WAAA,EAAAI,GAAA,EAAAA,GAAA,CAAAC,UAAA,SAAAD,GAAA,KAAAA,GAAA,gBAAAA,GAAA,oBAAAA,GAAA,sBAAAE,OAAA,CAAAF,GAAA,OAAAG,KAAA,CAAAR,wBAAA,CAAAC,WAAA,KAAAO,KAAA,EAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,UAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,OAAAM,MAAA,QAAAC,qBAAA,CAAAC,MAAA,CAAAC,cAAA,EAAAD,MAAA,CAAAE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S,EAAA2B,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,IAAAC,YAAA,IAAE,CACA,CACE,CAAC,CAEvB,CAEO,GAAM,CAAAE,kBAAkB,CAAGjB,iBAAiB,CAACkB,OAAA,CAAAD,kBAAA,CAAAA,kBAAA"}
1
+ {"version":3,"names":["require","_react","_interopRequireWildcard","_reactNativeSafeAreaContext","_reactNativeScreens","_reactNativePopupMenu","_AppStore","_interopRequireDefault","_rootNavigator","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","enableScreens","TimaCareNavigator","useEffect","appStore","getDeviceId","getPublicIp","getAppId","getDevicePayload","createElement","StrictMode","__self","__source","fileName","lineNumber","columnNumber","SafeAreaProvider","initialSafeAreaInsets","initialWindowSafeAreaInsets","MenuProvider","TimaCareNavigation","exports"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"8KACAA,OAAA,4BACA,IAAAC,MAAA,CAAAC,uBAAA,CAAAF,OAAA,WACA,IAAAG,2BAAA,CAAAH,OAAA,mCAIA,IAAAI,mBAAA,CAAAJ,OAAA,yBACA,IAAAK,qBAAA,CAAAL,OAAA,4BACA,IAAAM,SAAA,CAAAC,sBAAA,CAAAP,OAAA,gBACA,IAAAQ,cAAA,CAAAD,sBAAA,CAAAP,OAAA,iCAAoD,IAAAS,YAAA,sEAAAC,yBAAAC,WAAA,YAAAC,OAAA,8BAAAC,iBAAA,KAAAD,OAAA,OAAAE,gBAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,WAAA,SAAAA,WAAA,CAAAG,gBAAA,CAAAD,iBAAA,IAAAF,WAAA,YAAAT,wBAAAa,GAAA,CAAAJ,WAAA,MAAAA,WAAA,EAAAI,GAAA,EAAAA,GAAA,CAAAC,UAAA,SAA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C,YAAA,CAAAoC,UAAA,IAAAC,YAAA,KACT7C,MAAA,CAAAgB,OAAA,CAAAuB,aAAA,CAACrC,2BAAA,CAAA4C,gBAAgB,EAACC,qBAAqB,CAAEC,uDAA4B,CAAAP,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAnC,YAAA,CAAAoC,UAAA,IAAAC,YAAA,KACnE7C,MAAA,CAAAgB,OAAA,CAAAuB,aAAA,CAACnC,qBAAA,CAAA6C,YAAY,EAAAR,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAnC,YAAA,CAAAoC,UAAA,IAAAC,YAAA,KACX7C,MAAA,CAAAgB,OAAA,CAAAuB,aAAA,CAAChC,cAAA,CAAAS,OAAS,EAAAyB,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAnC,YAAA,CAAAoC,UAAA,IAAAC,YAAA,KAAE,CACA,CACE,CACR,CAAC,CAEjB,CAEO,GAAM,CAAAK,kBAAkB,CAAGlB,iBAAiB,CAACmB,OAAA,CAAAD,kBAAA,CAAAA,kBAAA"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _initializerDefineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _applyDecoratedDescriptor2=_interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));var _initializerWarningHelper2=_interopRequireDefault(require("@babel/runtime/helpers/initializerWarningHelper"));var _mobx=require("mobx");var _reactNative=require("react-native");var _api=require("../../services/api");var _class,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_descriptor6,_descriptor7,_descriptor8,_descriptor9,_descriptor10,_descriptor11,_descriptor12;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);(0,_initializerDefineProperty2.default)(this,"listDocument",_descriptor2,this);(0,_initializerDefineProperty2.default)(this,"loadingDocument",_descriptor3,this);(0,_initializerDefineProperty2.default)(this,"listJobTitle",_descriptor4,this);(0,_initializerDefineProperty2.default)(this,"listSourceFund",_descriptor5,this);(0,_initializerDefineProperty2.default)(this,"listStatusWorking",_descriptor6,this);(0,_initializerDefineProperty2.default)(this,"listTypeMerried",_descriptor7,this);(0,_initializerDefineProperty2.default)(this,"listBanks",_descriptor8,this);(0,_initializerDefineProperty2.default)(this,"tab",_descriptor9,this);(0,_initializerDefineProperty2.default)(this,"loadingButton",_descriptor10,this);(0,_initializerDefineProperty2.default)(this,"loadingInsurance",_descriptor11,this);(0,_initializerDefineProperty2.default)(this,"dataInsurance",_descriptor12,this);}(0,_createClass2.default)(Store,[{key:"getDetailLoan",value:function getDetailLoan(id,onSuccess){var response;return _regenerator.default.async(function getDetailLoan$(_context){while(1){switch(_context.prev=_context.next){case 0:this.isLoading=true;_context.prev=1;_context.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getDetailFullSubmit(id));case 4:response=_context.sent;this.isLoading=false;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess(response.data.data);}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không thể lấy thông tin đơn vay');}_context.next=14;break;case 10:_context.prev=10;_context.t0=_context["catch"](1);this.isLoading=false;console.log(_context.t0);case 14:case"end":return _context.stop();}}},null,this,[[1,10]],Promise);}},{key:"getDocument",value:function getDocument(id){var response;return _regenerator.default.async(function getDocument$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:this.loadingDocument=true;_context2.prev=1;_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getDocument(id));case 4:response=_context2.sent;this.loadingDocument=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listDocument=response.data.data;}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context2.next=14;break;case 9:_context2.prev=9;_context2.t0=_context2["catch"](1);this.loadingDocument=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');console.log(_context2.t0);case 14:case"end":return _context2.stop();}}},null,this,[[1,9]],Promise);}},{key:"uploadDocument",value:function uploadDocument(body,onSuccess){var response;return _regenerator.default.async(function uploadDocument$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:this.loadingDocument=true;_context3.prev=1;_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().uploadDocument(body));case 4:response=_context3.sent;this.loadingDocument=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context3.next=14;break;case 9:_context3.prev=9;_context3.t0=_context3["catch"](1);this.loadingDocument=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');console.log(_context3.t0);case 14:case"end":return _context3.stop();}}},null,this,[[1,9]],Promise);}},{key:"getListSourceFund",value:function getListSourceFund(){var response;return _regenerator.default.async(function getListSourceFund$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:_context4.prev=0;_context4.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getSourceFund());case 3:response=_context4.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listSourceFund=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được danh sách nguồn thu nhập.');}_context4.next=11;break;case 8:_context4.prev=8;_context4.t0=_context4["catch"](0);console.log(_context4.t0);case 11:case"end":return _context4.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListStatusWorking",value:function getListStatusWorking(){var response;return _regenerator.default.async(function getListStatusWorking$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:_context5.prev=0;_context5.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getStatusWorking());case 3:response=_context5.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listStatusWorking=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được trạng thái làm việc.');}_context5.next=11;break;case 8:_context5.prev=8;_context5.t0=_context5["catch"](0);console.log(_context5.t0);case 11:case"end":return _context5.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListJobTitle",value:function getListJobTitle(){var response;return _regenerator.default.async(function getListJobTitle$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:_context6.prev=0;_context6.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getJobTitle());case 3:response=_context6.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listJobTitle=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được danh sách chức vụ.');}_context6.next=11;break;case 8:_context6.prev=8;_context6.t0=_context6["catch"](0);console.log(_context6.t0);case 11:case"end":return _context6.stop();}}},null,this,[[0,8]],Promise);}},{key:"getTypeMerried",value:function getTypeMerried(){var response;return _regenerator.default.async(function getTypeMerried$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.prev=0;_context7.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getTypeMerried());case 3:response=_context7.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listTypeMerried=response.data.data;}else{}}else{}_context7.next=11;break;case 8:_context7.prev=8;_context7.t0=_context7["catch"](0);console.log(_context7.t0);case 11:case"end":return _context7.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListBank",value:function getListBank(){var response;return _regenerator.default.async(function getListBank$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:_context8.prev=0;_context8.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getBanks());case 3:response=_context8.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listBanks=response.data.data.map(function(item){return{id:item.bankId,name:item.name};});}else{}}else{}_context8.next=11;break;case 8:_context8.prev=8;_context8.t0=_context8["catch"](0);console.log(_context8.t0);case 11:case"end":return _context8.stop();}}},null,this,[[0,8]],Promise);}},{key:"fullSubmit",value:function fullSubmit(body,onSuccess){var response;return _regenerator.default.async(function fullSubmit$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:this.loadingButton=true;_context9.prev=1;_context9.next=4;return _regenerator.default.awrap(_api.Api.getInstance().fullSubmit(body));case 4:response=_context9.sent;this.loadingButton=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context9.next=13;break;case 9:_context9.prev=9;_context9.t0=_context9["catch"](1);this.loadingButton=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');case 13:case"end":return _context9.stop();}}},null,this,[[1,9]],Promise);}},{key:"confirmData",value:function confirmData(id,onSuccess){var response;return _regenerator.default.async(function confirmData$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:this.loadingButton=true;_context10.prev=1;_context10.next=4;return _regenerator.default.awrap(_api.Api.getInstance().confirmData(id));case 4:response=_context10.sent;this.loadingButton=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context10.next=13;break;case 9:_context10.prev=9;_context10.t0=_context10["catch"](1);this.loadingButton=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');case 13:case"end":return _context10.stop();}}},null,this,[[1,9]],Promise);}},{key:"getInsurance",value:function getInsurance(params){var response;return _regenerator.default.async(function getInsurance$(_context11){while(1){switch(_context11.prev=_context11.next){case 0:this.loadingInsurance=true;_context11.prev=1;_context11.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInsurance(params));case 4:response=_context11.sent;console.log(response);this.loadingInsurance=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.dataInsurance=response.data.data;}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{this.loadingInsurance=false;_reactNative.Alert.alert('Thông báo','Không lấy được phí bảo hiểm.');}_context11.next=14;break;case 10:_context11.prev=10;_context11.t0=_context11["catch"](1);console.log(_context11.t0);this.loadingInsurance=false;case 14:case"end":return _context11.stop();}}},null,this,[[1,10]],Promise);}},{key:"confirmInsurance",value:function confirmInsurance(body,onSuccess){var response;return _regenerator.default.async(function confirmInsurance$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.prev=0;_context12.next=3;return _regenerator.default.awrap(_api.Api.getInstance().confirmInsurance(body));case 3:response=_context12.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau!');}_context12.next=11;break;case 8:_context12.prev=8;_context12.t0=_context12["catch"](0);console.log(_context12.t0);case 11:case"end":return _context12.stop();}}},null,null,[[0,8]],Promise);}}]);return Store;}(),(_descriptor=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"isLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor2=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listDocument",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor3=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingDocument",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor4=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listJobTitle",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor5=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listSourceFund",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor6=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listStatusWorking",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor7=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listTypeMerried",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor8=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listBanks",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor9=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"tab",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return 1;}}),_descriptor10=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingButton",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor11=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingInsurance",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor12=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"dataInsurance",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return null;}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getDetailLoan",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getDetailLoan"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getDocument",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getDocument"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"uploadDocument",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"uploadDocument"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListSourceFund",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListSourceFund"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListStatusWorking",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListStatusWorking"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListJobTitle",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListJobTitle"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getTypeMerried",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getTypeMerried"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListBank",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListBank"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"fullSubmit",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"fullSubmit"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmData",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmData"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getInsurance",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getInsurance"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmInsurance",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmInsurance"),_class.prototype)),_class);var FullSubmitStore=new Store();var _default=FullSubmitStore;exports.default=_default;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _initializerDefineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _applyDecoratedDescriptor2=_interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));var _initializerWarningHelper2=_interopRequireDefault(require("@babel/runtime/helpers/initializerWarningHelper"));var _mobx=require("mobx");var _reactNative=require("react-native");var _api=require("../../services/api");var _class,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_descriptor6,_descriptor7,_descriptor8,_descriptor9,_descriptor10,_descriptor11,_descriptor12,_descriptor13,_descriptor14,_descriptor15;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);(0,_initializerDefineProperty2.default)(this,"listDocument",_descriptor2,this);(0,_initializerDefineProperty2.default)(this,"loadingDocument",_descriptor3,this);(0,_initializerDefineProperty2.default)(this,"listJobTitle",_descriptor4,this);(0,_initializerDefineProperty2.default)(this,"listSourceFund",_descriptor5,this);(0,_initializerDefineProperty2.default)(this,"listStatusWorking",_descriptor6,this);(0,_initializerDefineProperty2.default)(this,"listTypeMerried",_descriptor7,this);(0,_initializerDefineProperty2.default)(this,"listBanks",_descriptor8,this);(0,_initializerDefineProperty2.default)(this,"tab",_descriptor9,this);(0,_initializerDefineProperty2.default)(this,"loadingButton",_descriptor10,this);(0,_initializerDefineProperty2.default)(this,"loadingInsurance",_descriptor11,this);(0,_initializerDefineProperty2.default)(this,"dataInsurance",_descriptor12,this);(0,_initializerDefineProperty2.default)(this,"lstStatusJobCIMB",_descriptor13,this);(0,_initializerDefineProperty2.default)(this,"lstIncomeCIMB",_descriptor14,this);(0,_initializerDefineProperty2.default)(this,"lstPositionCIMB",_descriptor15,this);}(0,_createClass2.default)(Store,[{key:"getDetailLoan",value:function getDetailLoan(id,onSuccess){var response;return _regenerator.default.async(function getDetailLoan$(_context){while(1){switch(_context.prev=_context.next){case 0:this.isLoading=true;_context.prev=1;_context.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getDetailFullSubmit(id));case 4:response=_context.sent;this.isLoading=false;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess(response.data.data);}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không thể lấy thông tin đơn vay');}_context.next=14;break;case 10:_context.prev=10;_context.t0=_context["catch"](1);this.isLoading=false;console.log(_context.t0);case 14:case"end":return _context.stop();}}},null,this,[[1,10]],Promise);}},{key:"getDocument",value:function getDocument(id){var response;return _regenerator.default.async(function getDocument$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:this.loadingDocument=true;_context2.prev=1;_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getDocument(id));case 4:response=_context2.sent;this.loadingDocument=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listDocument=response.data.data;}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context2.next=14;break;case 9:_context2.prev=9;_context2.t0=_context2["catch"](1);this.loadingDocument=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');console.log(_context2.t0);case 14:case"end":return _context2.stop();}}},null,this,[[1,9]],Promise);}},{key:"uploadDocument",value:function uploadDocument(body,onSuccess){var response;return _regenerator.default.async(function uploadDocument$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:this.loadingDocument=true;_context3.prev=1;_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().uploadDocument(body));case 4:response=_context3.sent;this.loadingDocument=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context3.next=14;break;case 9:_context3.prev=9;_context3.t0=_context3["catch"](1);this.loadingDocument=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');console.log(_context3.t0);case 14:case"end":return _context3.stop();}}},null,this,[[1,9]],Promise);}},{key:"getListSourceFund",value:function getListSourceFund(){var response;return _regenerator.default.async(function getListSourceFund$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:_context4.prev=0;_context4.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getSourceFund());case 3:response=_context4.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listSourceFund=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được danh sách nguồn thu nhập.');}_context4.next=11;break;case 8:_context4.prev=8;_context4.t0=_context4["catch"](0);console.log(_context4.t0);case 11:case"end":return _context4.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListStatusWorking",value:function getListStatusWorking(){var response;return _regenerator.default.async(function getListStatusWorking$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:_context5.prev=0;_context5.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getStatusWorking());case 3:response=_context5.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listStatusWorking=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được trạng thái làm việc.');}_context5.next=11;break;case 8:_context5.prev=8;_context5.t0=_context5["catch"](0);console.log(_context5.t0);case 11:case"end":return _context5.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListJobTitle",value:function getListJobTitle(){var response;return _regenerator.default.async(function getListJobTitle$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:_context6.prev=0;_context6.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getJobTitle());case 3:response=_context6.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listJobTitle=response.data.data.map(function(item){return{id:item.code,name:item.vi};});}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Không lấy được danh sách chức vụ.');}_context6.next=11;break;case 8:_context6.prev=8;_context6.t0=_context6["catch"](0);console.log(_context6.t0);case 11:case"end":return _context6.stop();}}},null,this,[[0,8]],Promise);}},{key:"getTypeMerried",value:function getTypeMerried(){var response;return _regenerator.default.async(function getTypeMerried$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.prev=0;_context7.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getTypeMerried());case 3:response=_context7.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listTypeMerried=response.data.data;}else{}}else{}_context7.next=11;break;case 8:_context7.prev=8;_context7.t0=_context7["catch"](0);console.log(_context7.t0);case 11:case"end":return _context7.stop();}}},null,this,[[0,8]],Promise);}},{key:"getListBank",value:function getListBank(){var response;return _regenerator.default.async(function getListBank$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:_context8.prev=0;_context8.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getBanks());case 3:response=_context8.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.listBanks=response.data.data.map(function(item){return{id:item.bankId,name:item.name};});}else{}}else{}_context8.next=11;break;case 8:_context8.prev=8;_context8.t0=_context8["catch"](0);console.log(_context8.t0);case 11:case"end":return _context8.stop();}}},null,this,[[0,8]],Promise);}},{key:"fullSubmit",value:function fullSubmit(body,onSuccess){var response;return _regenerator.default.async(function fullSubmit$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:this.loadingButton=true;_context9.prev=1;_context9.next=4;return _regenerator.default.awrap(_api.Api.getInstance().fullSubmit(body));case 4:response=_context9.sent;this.loadingButton=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context9.next=13;break;case 9:_context9.prev=9;_context9.t0=_context9["catch"](1);this.loadingButton=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');case 13:case"end":return _context9.stop();}}},null,this,[[1,9]],Promise);}},{key:"confirmData",value:function confirmData(id,onSuccess){var response;return _regenerator.default.async(function confirmData$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:this.loadingButton=true;_context10.prev=1;_context10.next=4;return _regenerator.default.awrap(_api.Api.getInstance().confirmData(id));case 4:response=_context10.sent;this.loadingButton=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');}_context10.next=13;break;case 9:_context10.prev=9;_context10.t0=_context10["catch"](1);this.loadingButton=false;_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');case 13:case"end":return _context10.stop();}}},null,this,[[1,9]],Promise);}},{key:"getInsurance",value:function getInsurance(params){var response;return _regenerator.default.async(function getInsurance$(_context11){while(1){switch(_context11.prev=_context11.next){case 0:this.loadingInsurance=true;_context11.prev=1;_context11.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInsurance(params));case 4:response=_context11.sent;console.log(response);this.loadingInsurance=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.dataInsurance=response.data.data;}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{this.loadingInsurance=false;_reactNative.Alert.alert('Thông báo','Không lấy được phí bảo hiểm.');}_context11.next=14;break;case 10:_context11.prev=10;_context11.t0=_context11["catch"](1);console.log(_context11.t0);this.loadingInsurance=false;case 14:case"end":return _context11.stop();}}},null,this,[[1,10]],Promise);}},{key:"confirmInsurance",value:function confirmInsurance(body,onSuccess){var response;return _regenerator.default.async(function confirmInsurance$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.prev=0;_context12.next=3;return _regenerator.default.awrap(_api.Api.getInstance().confirmInsurance(body));case 3:response=_context12.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess)onSuccess();}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau!');}_context12.next=11;break;case 8:_context12.prev=8;_context12.t0=_context12["catch"](0);console.log(_context12.t0);case 11:case"end":return _context12.stop();}}},null,null,[[0,8]],Promise);}},{key:"getPositionCIMB",value:function getPositionCIMB(){var response;return _regenerator.default.async(function getPositionCIMB$(_context13){while(1){switch(_context13.prev=_context13.next){case 0:_context13.prev=0;_context13.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getPositionCIMB());case 3:response=_context13.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstPositionCIMB=response.data.data;}else{}}else{}_context13.next=11;break;case 8:_context13.prev=8;_context13.t0=_context13["catch"](0);console.log(_context13.t0);case 11:case"end":return _context13.stop();}}},null,this,[[0,8]],Promise);}},{key:"getJobStatusCIMB",value:function getJobStatusCIMB(){var response;return _regenerator.default.async(function getJobStatusCIMB$(_context14){while(1){switch(_context14.prev=_context14.next){case 0:_context14.prev=0;_context14.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getJobStatusCIMB());case 3:response=_context14.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstStatusJobCIMB=response.data.data;}else{}}else{}_context14.next=11;break;case 8:_context14.prev=8;_context14.t0=_context14["catch"](0);console.log(_context14.t0);case 11:case"end":return _context14.stop();}}},null,this,[[0,8]],Promise);}},{key:"getIncomeCIMB",value:function getIncomeCIMB(){var response;return _regenerator.default.async(function getIncomeCIMB$(_context15){while(1){switch(_context15.prev=_context15.next){case 0:_context15.prev=0;_context15.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getIncomeCIMB());case 3:response=_context15.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstIncomeCIMB=response.data.data;}else{}}else{}_context15.next=11;break;case 8:_context15.prev=8;_context15.t0=_context15["catch"](0);console.log(_context15.t0);case 11:case"end":return _context15.stop();}}},null,this,[[0,8]],Promise);}}]);return Store;}(),(_descriptor=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"isLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor2=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listDocument",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor3=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingDocument",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor4=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listJobTitle",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor5=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listSourceFund",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor6=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listStatusWorking",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor7=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listTypeMerried",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor8=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"listBanks",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor9=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"tab",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return 1;}}),_descriptor10=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingButton",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor11=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"loadingInsurance",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor12=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"dataInsurance",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return null;}}),_descriptor13=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"lstStatusJobCIMB",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor14=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"lstIncomeCIMB",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),_descriptor15=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"lstPositionCIMB",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return[];}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getDetailLoan",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getDetailLoan"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getDocument",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getDocument"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"uploadDocument",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"uploadDocument"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListSourceFund",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListSourceFund"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListStatusWorking",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListStatusWorking"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListJobTitle",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListJobTitle"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getTypeMerried",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getTypeMerried"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getListBank",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getListBank"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"fullSubmit",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"fullSubmit"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmData",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmData"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getInsurance",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getInsurance"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmInsurance",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmInsurance"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getPositionCIMB",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getPositionCIMB"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getJobStatusCIMB",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getJobStatusCIMB"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getIncomeCIMB",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getIncomeCIMB"),_class.prototype)),_class);var FullSubmitStore=new Store();var _default=FullSubmitStore;exports.default=_default;
2
2
  //# sourceMappingURL=store.js.map
@@ -17,6 +17,11 @@ class Store {
17
17
  @observable loadingButton = false;
18
18
  @observable loadingInsurance = false;
19
19
  @observable dataInsurance = null;
20
+
21
+ @observable lstStatusJobCIMB = [];
22
+ @observable lstIncomeCIMB = [];
23
+ @observable lstPositionCIMB = [];
24
+
20
25
  @action
21
26
  async getDetailLoan(id, onSuccess?) {
22
27
  this.isLoading = true;
@@ -269,6 +274,61 @@ class Store {
269
274
  console.log(error);
270
275
  }
271
276
  }
277
+
278
+ @action
279
+ async getPositionCIMB() {
280
+ try {
281
+ const response = await Api.getInstance().getPositionCIMB();
282
+ console.log(response);
283
+ if (response.kind === 'ok') {
284
+ if (response.data.meta.errorCode === 200) {
285
+ this.lstPositionCIMB = response.data.data;
286
+ } else {
287
+ // Alert.alert("Thông báo", response.data.meta.errorMessage)
288
+ }
289
+ } else {
290
+ // Alert.alert("Thông báo", "Không lấy được danh sách chức vụ.")
291
+ }
292
+ } catch (error) {
293
+ console.log(error);
294
+ }
295
+ }
296
+ @action
297
+ async getJobStatusCIMB() {
298
+ try {
299
+ const response = await Api.getInstance().getJobStatusCIMB();
300
+ console.log(response);
301
+ if (response.kind === 'ok') {
302
+ if (response.data.meta.errorCode === 200) {
303
+ this.lstStatusJobCIMB = response.data.data;
304
+ } else {
305
+ // Alert.alert("Thông báo", response.data.meta.errorMessage)
306
+ }
307
+ } else {
308
+ // Alert.alert("Thông báo", "Không lấy được danh sách chức vụ.")
309
+ }
310
+ } catch (error) {
311
+ console.log(error);
312
+ }
313
+ }
314
+ @action
315
+ async getIncomeCIMB() {
316
+ try {
317
+ const response = await Api.getInstance().getIncomeCIMB();
318
+ console.log(response);
319
+ if (response.kind === 'ok') {
320
+ if (response.data.meta.errorCode === 200) {
321
+ this.lstIncomeCIMB = response.data.data;
322
+ } else {
323
+ // Alert.alert("Thông báo", response.data.meta.errorMessage)
324
+ }
325
+ } else {
326
+ // Alert.alert("Thông báo", "Không lấy được danh sách chức vụ.")
327
+ }
328
+ } catch (error) {
329
+ console.log(error);
330
+ }
331
+ }
272
332
  }
273
333
  const FullSubmitStore = new Store();
274
334
  export default FullSubmitStore;
@@ -1 +1 @@
1
- {"version":3,"names":["_mobx","require","_reactNative","_api","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","getDetailLoan","id","onSuccess","response","_regenerator","async","getDetailLoan$","_context","prev","next","isLoading","awrap","Api","getInstance","getDetailFullSubmit","sent","console","log","kind","data","meta","errorCode","Alert","alert","errorMessage","t0","stop","Promise","getDocument","getDocument$","_context2","loadingDocument","listDocument","uploadDocument","body","uploadDocument$","_context3","getListSourceFund","getListSourceFund$","_context4","getSourceFund","listSourceFund","map","item","code","name","vi","getListStatusWorking","getListStatusWorking$","_context5","getStatusWorking","listStatusWorking","getListJobTitle","getListJobTitle$","_context6","getJobTitle","listJobTitle","getTypeMerried","getTypeMerried$","_context7","listTypeMerried","getListBank","getListBank$","_context8","getBanks","listBanks","bankId","fullSubmit","fullSubmit$","_context9","loadingButton","confirmData","confirmData$","_context10","getInsurance","params","getInsurance$","_context11","loadingInsurance","dataInsurance","confirmInsurance","confirmInsurance$","_context12","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","FullSubmitStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/full-submit/store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,IAAA,CAAAF,OAAA,uBAAyC,IAAAG,MAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,IAEnC,CAAAC,KAAK,EAAAb,MAAA,qBAAAa,MAAA,KAAAC,gBAAA,CAAAC,OAAA,OAAAF,KAAA,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wG,SAAA,mBAAAxG,MAAA,CAAAwG,SAAA,KAAAD,0BAAA,CAAAxF,OAAA,EAAAf,MAAA,CAAAwG,SAAA,gBAmBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAhH,MAAA,CAAAwG,SAAA,gBAAAxG,MAAA,CAAAwG,SAAA,KAAAD,0BAAA,CAAAxF,OAAA,EAAAf,MAAA,CAAAwG,SAAA,eAqBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAhH,MAAA,CAAAwG,SAAA,eAAAxG,MAAA,CAAAwG,SAAA,KAAAD,0BAAA,CAAAxF,OAAA,EAAAf,MAAA,CAAAwG,SAAA,gBAqBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAhH,MAAA,CAAAwG,SAAA,gBAAAxG,MAAA,CAAAwG,SAAA,KAAAD,0BAAA,CAAAxF,OAAA,EAAAf,MAAA,CAAAwG,SAAA,iBAqBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAhH,MAAA,CAAAwG,SAAA,iBAAAxG,MAAA,CAAAwG,SAAA,KAAAD,0BAAA,CAAAxF,OAAA,EAAAf,MAAA,CAAAwG,SAAA,qBAsBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAhH,MAAA,CAAAwG,SAAA,qBAAAxG,MAAA,CAAAwG,SAAA,GAAAxG,MAAA,EAmBT,GAAM,CAAAiH,eAAe,CAAG,GAAI,CAAApG,KAAK,CAAC,CAAC,CAAC,IAAAqG,QAAA,CACrBD,eAAe,CAAAE,OAAA,CAAApG,OAAA,CAAAmG,QAAA"}
1
+ {"version":3,"names":["_mobx","require","_reactNative","_api","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","getDetailLoan","id","onSuccess","response","_regenerator","async","getDetailLoan$","_context","prev","next","isLoading","awrap","Api","getInstance","getDetailFullSubmit","sent","console","log","kind","data","meta","errorCode","Alert","alert","errorMessage","t0","stop","Promise","getDocument","getDocument$","_context2","loadingDocument","listDocument","uploadDocument","body","uploadDocument$","_context3","getListSourceFund","getListSourceFund$","_context4","getSourceFund","listSourceFund","map","item","code","name","vi","getListStatusWorking","getListStatusWorking$","_context5","getStatusWorking","listStatusWorking","getListJobTitle","getListJobTitle$","_context6","getJobTitle","listJobTitle","getTypeMerried","getTypeMerried$","_context7","listTypeMerried","getListBank","getListBank$","_context8","getBanks","listBanks","bankId","fullSubmit","fullSubmit$","_context9","loadingButton","confirmData","confirmData$","_context10","getInsurance","params","getInsurance$","_context11","loadingInsurance","dataInsurance","confirmInsurance","confirmInsurance$","_context12","getPositionCIMB","getPositionCIMB$","_context13","lstPositionCIMB","getJobStatusCIMB","getJobStatusCIMB$","_context14","lstStatusJobCIMB","getIncomeCIMB","getIncomeCIMB$","_context15","lstIncomeCIMB","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","FullSubmitStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/full-submit/store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,IAAA,CAAAF,OAAA,uBAAyC,IAAAG,MAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,IAEnC,CAAAC,KAAK,EAAAhB,MAAA,qBAAAgB,MAAA,KAAAC,gBAAA,CAAAC,OAAA,OAAAF,KAAA,KAAAG,2BAAA,CAAAD,OAAA,mBAAAjB,WAAA,UAAAkB,2BAAA,CAAAD,OAAA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BAAA,CAAA/H,MAAA,CAAAuH,SAAA,gBAAAvH,MAAA,CAAAuH,SAAA,KAAAD,0BAAA,CAAApG,OAAA,EAAAlB,MAAA,CAAAuH,SAAA,iBAqBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA/H,MAAA,CAAAuH,SAAA,iBAAAvH,MAAA,CAAAuH,SAAA,KAAAD,0BAAA,CAAApG,OAAA,EAAAlB,MAAA,CAAAuH,SAAA,qBAsBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA/H,MAAA,CAAAuH,SAAA,qBAAAvH,MAAA,CAAAuH,SAAA,KAAAD,0BAAA,CAAApG,OAAA,EAAAlB,MAAA,CAAAuH,SAAA,oBAmBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA/H,MAAA,CAAAuH,SAAA,oBAAAvH,MAAA,CAAAuH,SAAA,KAAAD,0BAAA,CAAApG,OAAA,EAAAlB,MAAA,CAAAuH,SAAA,qBAkBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA/H,MAAA,CAAAuH,SAAA,qBAAAvH,MAAA,CAAAuH,SAAA,KAAAD,0BAAA,CAAApG,OAAA,EAAAlB,MAAA,CAAAuH,SAAA,kBAkBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA/H,MAAA,CAAAuH,SAAA,kBAAAvH,MAAA,CAAAuH,SAAA,GAAAvH,MAAA,EAmBT,GAAM,CAAAgI,eAAe,CAAG,GAAI,CAAAhH,KAAK,CAAC,CAAC,CAAC,IAAAiH,QAAA,CACrBD,eAAe,CAAAE,OAAA,CAAAhH,OAAA,CAAA+G,QAAA"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.UpdateInfo=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _icons=require("../../assets/icons");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _utils=require("../../utils");var _CommonStyles=require("../CommonStyles");var yup=_interopRequireWildcard(require("yup"));var _store=_interopRequireDefault(require("./store"));var _CIMBLoading=_interopRequireDefault(require("../../components/CIMBLoading"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/full-submit/update-info.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}var UpdateInfo=(0,_mobxReactLite.observer)(function UpdateInfo(_ref){var _this=this;var loan=_ref.loan;var navigation=(0,_native.useNavigation)();var ref=(0,_react.useRef)(null);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];(0,_react.useEffect)(function(){if(loan){_store.default.getDetailLoan(loan==null?void 0:loan.id,function(res){setData(res);ref.current.setFieldValue('rate',res!=null&&res.rate?""+(res==null?void 0:res.rate):'');ref.current.setFieldValue('loanAmount',res!=null&&res.loanAmount?res==null?void 0:res.loanAmount:'');ref.current.setFieldValue('loanTime',res!=null&&res.loanTime?res==null?void 0:res.loanTime:'');ref.current.setFieldValue('gender',(res==null?void 0:res.gender)===0?{id:0,name:'Nam'}:{id:1,name:'Nữ'});ref.current.setFieldValue('married',res!=null&&res.merried?_store.default.listTypeMerried.filter(function(item){return item.id===(res==null?void 0:res.merried);})[0]:null);ref.current.setFieldValue('statusWorking',res==null?void 0:res.jobStatusNameCIMB);ref.current.setFieldValue('jobTitle',res==null?void 0:res.positionNameCIMB);ref.current.setFieldValue('sourceFund',res==null?void 0:res.incomeNameCIMB);ref.current.setFieldValue('taxCode',res!=null&&res.taxCode?res==null?void 0:res.taxCode:'');ref.current.setFieldValue('address',res!=null&&res.addressResident?res==null?void 0:res.addressResident:'');ref.current.setFieldValue('addressHouseHold',res!=null&&res.addressHouseHold?res==null?void 0:res.addressHouseHold:'');ref.current.setFieldValue('bank',res!=null&&res.bankId?{id:res==null?void 0:res.bankId,name:res==null?void 0:res.bankName}:null);ref.current.setFieldValue('bank_account',res!=null&&res.bankAccountNumber?res==null?void 0:res.bankAccountNumber:'');ref.current.setFieldValue('account_holder',res!=null&&res.bankAccountName?res==null?void 0:res.bankAccountName:'');});}},[loan]);var onSubmit=function onSubmit(values){var body={Id:data==null?void 0:data.id,LoanAmount:data==null?void 0:data.loanAmount,LoanTime:data==null?void 0:data.loanTime,Gender:values==null?void 0:values.gender.id,Merried:values==null?void 0:values.married.id,AddressResident:values.address,AddressHouseHold:values==null?void 0:values.addressHouseHold,EmploymentStatus:values.statusWorking.id,JobTitle:values.jobTitle.id,SourceOfFund:values.sourceFund.id,TaxCode:values.taxCode,LoanPurpose:values.purpose.id,BankId:values==null?void 0:values.bank.id,BankAccountName:values==null?void 0:values.account_holder,BankAccountNumber:values==null?void 0:values.bank_account,RequestForwardIP:_AppStore.default.publicIp,LocationLat:_AppStore.default.lat,LocationLong:_AppStore.default.long,CustomerDeviceID:_AppStore.default.deviceId,PartnerAppRefID:_AppStore.default.appRefID,UserDevicePayload:_AppStore.default.userDevicePayload};_store.default.fullSubmit(body,function(){_store.default.tab=2;});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:5}},_store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:11}})):_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:138,columnNumber:9}},_react.default.createElement(_formik.Formik,{innerRef:ref,initialValues:{loanAmount:'',terms:true,rate:'',gender:null,married:null,purpose:{id:3008,name:'Mua sắm trang thiết bị, vật dụng gia đình'},loanTime:'',statusWorking:'',jobTitle:'',sourceFund:'',taxCode:'',address:'',addressHouseHold:'',check:true,bank:null,bank_account:'',account_holder:''},onSubmit:onSubmit,validationSchema:yup.object().shape({terms:yup.bool().oneOf([true],''),statusWorking:yup.object().required('Vui lòng chọn tình trạng làm việc').nullable(),married:yup.object().required('Vui lòng chọn tình trạng hôn nhân').nullable(),gender:yup.object().required('Vui lòng chọn giới tính').nullable(),bank:yup.object().required('Vui lòng chọn ngân hàng').nullable(),jobTitle:yup.object().required('Vui lòng chọn chức vụ').nullable(),sourceFund:yup.object().required('Vui lòng chọn nguồn thu nhập').nullable(),address:yup.string().required('Vui lòng nhập địa chỉ nơi ở'),addressHouseHold:yup.string().required('Vui lòng nhập địa chỉ thường trú'),check:yup.bool().oneOf([true],''),bank_account:yup.string().required('Vui lòng nhập số tài khoản').matches(/^[0-9]*$/,'Định dạng không đúng'),account_holder:yup.string().required('Vui lòng nhập chủ tài khoản')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:139,columnNumber:11}},function(_ref2){var _values$gender,_values$married,_values$purpose,_values$bank;var values=_ref2.values,handleSubmit=_ref2.handleSubmit,setFieldValue=_ref2.setFieldValue,errors=_ref2.errors,handleChange=_ref2.handleChange,isValid=_ref2.isValid;return _react.default.createElement(_reactNative.View,{style:{margin:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:209,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:17}},"TH\xD4NG TIN \u0110\u01A0N"),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:213,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:220,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:221,columnNumber:21}},"S\u1ED1 ti\u1EC1n vay (VND)"),_react.default.createElement(_reactNative.TextInput,{style:[styles.input,{backgroundColor:'#F2F3F5'}],value:(0,_utils.formatMoney)(values.loanAmount),onChangeText:handleChange('loanAmount'),keyboardType:"numeric",editable:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:224,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:232,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:233,columnNumber:21}},"K\u1EF3 h\u1EA1n"),_react.default.createElement(_reactNative.TextInput,{style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.loanTime+" th\xE1ng",onChangeText:handleChange('loanAmount'),keyboardType:"numeric",editable:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:234,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:250,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:251,columnNumber:21}},"L\xE3i su\u1EA5t (%)"),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],keyboardType:"numeric",value:values.rate,onChangeText:handleChange('rate'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:254,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:262,columnNumber:19}})),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:264,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:271,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:272,columnNumber:21}},"Gi\u1EDBi t\xEDnh ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:273,columnNumber:33}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn giới tính',data:_utils.EnumGender,callback:function callback(value){setFieldValue('gender',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:23}},values.gender?(_values$gender=values.gender)==null?void 0:_values$gender.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:301,columnNumber:23}})),errors&&errors.gender&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:23}},errors.gender)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:316,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:317,columnNumber:21}},"T\xECnh tr\u1EA1ng h\xF4n nh\xE2n",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:319,columnNumber:23}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn tình trạng hôn nhân',data:_store.default.listTypeMerried,callback:function callback(value){setFieldValue('married',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:321,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:344,columnNumber:23}},values.married?(_values$married=values.married)==null?void 0:_values$married.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:347,columnNumber:23}})),errors&&errors.merried&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:350,columnNumber:23}},errors.merried))),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:364,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:365,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 n\u01A1i \u1EDF ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:35}},"*")),_react.default.createElement(_reactNative.TextInput,{style:styles.input,value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:368,columnNumber:19}}),errors&&errors.address&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:374,columnNumber:21}},errors.address)),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:386,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:387,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 th\u01B0\u1EDDng tr\xFA ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:388,columnNumber:40}},"*")),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.addressHouseHold,onChangeText:handleChange('addressHouseHold'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:390,columnNumber:19}}),errors&&errors.addressHouseHold&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:398,columnNumber:21}},errors.addressHouseHold)),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:411,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:418,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:419,columnNumber:21}},"T\xECnh tr\u1EA1ng vi\u1EC7c l\xE0m",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:421,columnNumber:23}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Tình trạng làm việc',data:_store.default.listStatusWorking,callback:function callback(value){setFieldValue('statusWorking',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:423,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:446,columnNumber:23}},values.statusWorking),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:452,columnNumber:23}})),errors&&errors.statusWorking&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:455,columnNumber:23}},errors.statusWorking)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:467,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:468,columnNumber:21}},"Ch\u1EE9c v\u1EE5 ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:469,columnNumber:31}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn chức vụ',data:_store.default.listJobTitle,callback:function callback(value){setFieldValue('jobTitle',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:471,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:494,columnNumber:23}},values.jobTitle),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:500,columnNumber:23}})),errors&&errors.jobTitle&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:503,columnNumber:23}},errors.jobTitle))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:516,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:523,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:524,columnNumber:21}},"Ngu\u1ED3n thu nh\u1EADp ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:525,columnNumber:38}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Nguồn thu nhập',data:_store.default.listSourceFund,callback:function callback(value){setFieldValue('sourceFund',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:527,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:550,columnNumber:23}},values.sourceFund),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:556,columnNumber:23}})),errors&&errors.sourceFund&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:559,columnNumber:23}},errors.sourceFund)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:571,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:572,columnNumber:21}},"M\xE3 s\u1ED1 thu\u1EBF"),_react.default.createElement(_reactNative.TextInput,{style:styles.input,keyboardType:"number-pad",value:values.taxCode,onChangeText:handleChange('taxCode'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:573,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:581,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:588,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:21}},"M\u1EE5c \u0111\xEDch s\u1EED d\u1EE5ng v\u1ED1n"),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:592,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:604,columnNumber:23}},values.purpose?(_values$purpose=values.purpose)==null?void 0:_values$purpose.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:610,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:613,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:614,columnNumber:21}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBanks,callback:function callback(value){setFieldValue('bank',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:615,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:638,columnNumber:23}},values.bank?(_values$bank=values.bank)==null?void 0:_values$bank.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:644,columnNumber:23}})),errors&&errors.bank&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:647,columnNumber:23}},errors.bank))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:660,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:667,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:668,columnNumber:21}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.bank_account,onChangeText:handleChange('bank_account'),keyboardType:"numeric",__self:_this,__source:{fileName:_jsxFileName,lineNumber:671,columnNumber:21}}),errors&&errors.bank_account&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:681,columnNumber:23}},errors.bank_account)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:693,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:694,columnNumber:21}},"Ch\u1EE7 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.account_holder.toUpperCase(),onChangeText:handleChange('account_holder'),autoCapitalize:"characters",__self:_this,__source:{fileName:_jsxFileName,lineNumber:697,columnNumber:21}}),errors&&errors.account_holder&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:707,columnNumber:23}},errors.account_holder))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:720,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:727,columnNumber:17}},"\u0110i\u1EC1u ki\u1EC7n v\xE0 \u0111i\u1EC1u kho\u1EA3n:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:730,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:731,columnNumber:19}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:736,columnNumber:38}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:736,columnNumber:53}})),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:738,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:743,columnNumber:21}},"T\xF4i \u0111\u1ED3ng \xFD v\u1EDBi",' ')),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.QuickTerm,{fullSubmit:true}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:747,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#EF4123'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:756,columnNumber:21}},"\u0111i\u1EC1u ki\u1EC7n v\xE0 \u0111i\u1EC1u kho\u1EA3n"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{flexDirection:'row',marginTop:16},onPress:function onPress(){setFieldValue('check',!values.check);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:17}},values.check?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,columnNumber:35}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,columnNumber:56}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:774,columnNumber:19}},"T\xF4i x\xE1c nh\u1EADn nh\u1EEFng th\xF4ng tin sau:")),_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:30,marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:778,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:779,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:780,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:788,columnNumber:21}},"T\xF4i \u0111ang s\u1ED1ng t\u1EA1i Vi\u1EC7t Nam")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:792,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:793,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:801,columnNumber:21}},"\u0110\u1ED3ng \xFD cung c\u1EA5p th\xF4ng tin cho b\xEAn th\u1EE9 ba")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:805,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:806,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:814,columnNumber:21}},"Kh\xF4ng l\xE0 ng\u01B0\u1EDDi nh\u1EADn \u1EE7y th\xE1c c\u1EE7a t\u1ED5",'\n',"ch\u1EE9c u\u1EF7 th\xE1c n\u01B0\u1EDBc ngo\xE0i")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:820,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:828,columnNumber:21}},"Kh\xF4ng l\xE0 th\u01B0\u1EDDng tr\xFA nh\xE2n/c\xF4ng d\xE2n t\u1EA1i M\u1EF9")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:832,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:833,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:841,columnNumber:21}},"Kh\xF4ng c\xF3 ng\u01B0\u1EDDi quen l\xE0m t\u1EA1i CIMB"))),_react.default.createElement(_reactNative.View,{style:{marginTop:40},__self:_this,__source:{fileName:_jsxFileName,lineNumber:846,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:!isValid||_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:847,columnNumber:19}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:isValid?['#FF7A00','#EF4123']:['#BDBDBD','#BDBDBD'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:851,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:864,columnNumber:23}},"Ti\u1EBFp t\u1EE5c")))),_react.default.createElement(_keyboardspace.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:875,columnNumber:17}}));})),_react.default.createElement(_CIMBLoading.default,{isLoading:_store.default.loadingButton,__self:this,__source:{fileName:_jsxFileName,lineNumber:881,columnNumber:7}}));});exports.UpdateInfo=UpdateInfo;var styles=_reactNative.StyleSheet.create({input:{height:40,marginVertical:0,borderWidth:0.5,borderColor:'#E0E0E0',borderRadius:4,marginTop:8,paddingHorizontal:10,fontFamily:'Roboto',color:'#333333',fontWeight:'bold'}});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.UpdateInfo=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _icons=require("../../assets/icons");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _utils=require("../../utils");var _CommonStyles=require("../CommonStyles");var yup=_interopRequireWildcard(require("yup"));var _store=_interopRequireDefault(require("./store"));var _CIMBLoading=_interopRequireDefault(require("../../components/CIMBLoading"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/full-submit/update-info.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}var UpdateInfo=(0,_mobxReactLite.observer)(function UpdateInfo(_ref){var _this=this;var loan=_ref.loan;var navigation=(0,_native.useNavigation)();var ref=(0,_react.useRef)(null);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];(0,_react.useEffect)(function(){if(loan){_store.default.getDetailLoan(loan==null?void 0:loan.id,function(res){setData(res);ref.current.setFieldValue('rate',res!=null&&res.rate?""+(res==null?void 0:res.rate):'');ref.current.setFieldValue('loanAmount',res!=null&&res.loanAmount?res==null?void 0:res.loanAmount:'');ref.current.setFieldValue('loanTime',res!=null&&res.loanTime?res==null?void 0:res.loanTime:'');ref.current.setFieldValue('gender',(res==null?void 0:res.gender)===0?{id:0,name:'Nam'}:{id:1,name:'Nữ'});ref.current.setFieldValue('married',res!=null&&res.merried?_store.default.listTypeMerried.filter(function(item){return item.id===(res==null?void 0:res.merried);})[0]:null);ref.current.setFieldValue('statusWorking',res!=null&&res.jobStatusNameCIMB?{id:res==null?void 0:res.jobStatusCIMBId,name:res==null?void 0:res.jobStatusNameCIMB}:null);ref.current.setFieldValue('jobTitle',res!=null&&res.positionNameCIMB?{id:res==null?void 0:res.positionCIMBId,name:res==null?void 0:res.positionNameCIMB}:null);ref.current.setFieldValue('sourceFund',res!=null&&res.incomeNameCIMB?{id:res==null?void 0:res.incomeCIMBId,name:res==null?void 0:res.incomeNameCIMB}:null);ref.current.setFieldValue('taxCode',res!=null&&res.taxCode?res==null?void 0:res.taxCode:'');ref.current.setFieldValue('address',res!=null&&res.addressResident?res==null?void 0:res.addressResident:'');ref.current.setFieldValue('addressHouseHold',res!=null&&res.addressHouseHold?res==null?void 0:res.addressHouseHold:'');ref.current.setFieldValue('bank',res!=null&&res.bankId?{id:res==null?void 0:res.bankId,name:res==null?void 0:res.bankName}:null);ref.current.setFieldValue('bank_account',res!=null&&res.bankAccountNumber?res==null?void 0:res.bankAccountNumber:'');ref.current.setFieldValue('account_holder',res!=null&&res.bankAccountName?res==null?void 0:res.bankAccountName:'');});}},[loan]);var onSubmit=function onSubmit(values){var body={Id:data==null?void 0:data.id,LoanAmount:data==null?void 0:data.loanAmount,LoanTime:data==null?void 0:data.loanTime,Gender:values==null?void 0:values.gender.id,Merried:values==null?void 0:values.married.id,AddressResident:values.address,AddressHouseHold:values==null?void 0:values.addressHouseHold,EmploymentStatus:values.statusWorking.id,JobTitle:values.jobTitle.id,SourceOfFund:values.sourceFund.id,TaxCode:values.taxCode,LoanPurpose:values.purpose.id,BankId:values==null?void 0:values.bank.id,BankAccountName:values==null?void 0:values.account_holder,BankAccountNumber:values==null?void 0:values.bank_account,RequestForwardIP:_AppStore.default.publicIp,LocationLat:_AppStore.default.lat,LocationLong:_AppStore.default.long,CustomerDeviceID:_AppStore.default.deviceId,PartnerAppRefID:_AppStore.default.appRefID,UserDevicePayload:_AppStore.default.userDevicePayload,incomeCIMBId:values.sourceFund.id,jobStatusCIMBId:values.statusWorking.id,positionCIMBId:values.jobTitle.id};_store.default.fullSubmit(body,function(){_store.default.tab=2;});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:5}},_store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:11}})):_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:165,columnNumber:9}},_react.default.createElement(_formik.Formik,{innerRef:ref,initialValues:{loanAmount:'',terms:true,rate:'',gender:null,married:null,purpose:{id:3008,name:'Mua sắm trang thiết bị, vật dụng gia đình'},loanTime:'',statusWorking:null,jobTitle:null,sourceFund:null,taxCode:'',address:'',addressHouseHold:'',check:true,bank:null,bank_account:'',account_holder:''},onSubmit:onSubmit,validationSchema:yup.object().shape({terms:yup.bool().oneOf([true],''),statusWorking:yup.object().required('Vui lòng chọn tình trạng làm việc').nullable(),married:yup.object().required('Vui lòng chọn tình trạng hôn nhân').nullable(),gender:yup.object().required('Vui lòng chọn giới tính').nullable(),bank:yup.object().required('Vui lòng chọn ngân hàng').nullable(),jobTitle:yup.object().required('Vui lòng chọn chức vụ').nullable(),sourceFund:yup.object().required('Vui lòng chọn nguồn thu nhập').nullable(),address:yup.string().required('Vui lòng nhập địa chỉ nơi ở'),addressHouseHold:yup.string().required('Vui lòng nhập địa chỉ thường trú'),check:yup.bool().oneOf([true],''),bank_account:yup.string().required('Vui lòng nhập số tài khoản').matches(/^[0-9]*$/,'Định dạng không đúng'),account_holder:yup.string().required('Vui lòng nhập chủ tài khoản')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:166,columnNumber:11}},function(_ref2){var _values$gender,_values$married,_values$statusWorking,_values$jobTitle,_values$sourceFund,_values$purpose,_values$bank;var values=_ref2.values,handleSubmit=_ref2.handleSubmit,setFieldValue=_ref2.setFieldValue,errors=_ref2.errors,handleChange=_ref2.handleChange,isValid=_ref2.isValid;return _react.default.createElement(_reactNative.View,{style:{margin:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:236,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:17}},"TH\xD4NG TIN \u0110\u01A0N"),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:240,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:247,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:248,columnNumber:21}},"S\u1ED1 ti\u1EC1n vay (VND)"),_react.default.createElement(_reactNative.TextInput,{style:[styles.input,{backgroundColor:'#F2F3F5'}],value:(0,_utils.formatMoney)(values.loanAmount),onChangeText:handleChange('loanAmount'),keyboardType:"numeric",editable:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:251,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:259,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:260,columnNumber:21}},"K\u1EF3 h\u1EA1n"),_react.default.createElement(_reactNative.TextInput,{style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.loanTime+" th\xE1ng",onChangeText:handleChange('loanAmount'),keyboardType:"numeric",editable:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:261,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:270,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:277,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:278,columnNumber:21}},"L\xE3i su\u1EA5t (%)"),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],keyboardType:"numeric",value:values.rate,onChangeText:handleChange('rate'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:289,columnNumber:19}})),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:291,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:299,columnNumber:21}},"Gi\u1EDBi t\xEDnh ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:300,columnNumber:33}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn giới tính',data:_utils.EnumGender,callback:function callback(value){setFieldValue('gender',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:302,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:325,columnNumber:23}},values.gender?(_values$gender=values.gender)==null?void 0:_values$gender.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:23}})),errors&&errors.gender&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:331,columnNumber:23}},errors.gender)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:343,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:344,columnNumber:21}},"T\xECnh tr\u1EA1ng h\xF4n nh\xE2n",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:346,columnNumber:23}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(loan==null?void 0:loan.typeLoan)===4?false:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:(loan==null?void 0:loan.typeLoan)===4?'white':'#F2F3F5'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn tình trạng hôn nhân',data:_store.default.listTypeMerried,callback:function callback(value){setFieldValue('married',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:372,columnNumber:23}},values.married?(_values$married=values.married)==null?void 0:_values$married.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:375,columnNumber:23}})),errors&&errors.merried&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:378,columnNumber:23}},errors.merried))),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:392,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:393,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 n\u01A1i \u1EDF ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:394,columnNumber:35}},"*")),_react.default.createElement(_reactNative.TextInput,{style:styles.input,value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:396,columnNumber:19}}),errors&&errors.address&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:402,columnNumber:21}},errors.address)),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:414,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:415,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 th\u01B0\u1EDDng tr\xFA ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:40}},"*")),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.addressHouseHold,onChangeText:handleChange('addressHouseHold'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:418,columnNumber:19}}),errors&&errors.addressHouseHold&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:426,columnNumber:21}},errors.addressHouseHold)),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:439,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:446,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:447,columnNumber:21}},"T\xECnh tr\u1EA1ng vi\u1EC7c l\xE0m",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:449,columnNumber:23}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:(loan==null?void 0:loan.typeLoan)===4?'white':'#F2F3F5'}],disabled:(loan==null?void 0:loan.typeLoan)===4?false:true,onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Tình trạng làm việc',data:_store.default.lstStatusJobCIMB,callback:function callback(value){setFieldValue('statusWorking',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:451,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:475,columnNumber:23}},(_values$statusWorking=values.statusWorking)==null?void 0:_values$statusWorking.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:481,columnNumber:23}})),errors&&errors.statusWorking&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:484,columnNumber:23}},errors.statusWorking)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:496,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:497,columnNumber:21}},"Ch\u1EE9c v\u1EE5 ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:498,columnNumber:31}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:(loan==null?void 0:loan.typeLoan)===4?'white':'#F2F3F5'}],disabled:(loan==null?void 0:loan.typeLoan)===4?false:true,onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn chức vụ',data:_store.default.lstPositionCIMB,callback:function callback(value){setFieldValue('jobTitle',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:500,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:524,columnNumber:23}},(_values$jobTitle=values.jobTitle)==null?void 0:_values$jobTitle.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:530,columnNumber:23}})),errors&&errors.jobTitle&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:533,columnNumber:23}},errors.jobTitle))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:546,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:553,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:554,columnNumber:21}},"Ngu\u1ED3n thu nh\u1EADp ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:555,columnNumber:38}},"*")),_react.default.createElement(_reactNative.TouchableOpacity,{style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Nguồn thu nhập',data:_store.default.lstIncomeCIMB,callback:function callback(value){setFieldValue('sourceFund',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:557,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:23}},(_values$sourceFund=values.sourceFund)==null?void 0:_values$sourceFund.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:586,columnNumber:23}})),errors&&errors.sourceFund&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:23}},errors.sourceFund)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:601,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:602,columnNumber:21}},"M\xE3 s\u1ED1 thu\u1EBF"),_react.default.createElement(_reactNative.TextInput,{style:styles.input,keyboardType:"number-pad",value:values.taxCode,onChangeText:handleChange('taxCode'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:603,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:611,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:618,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:619,columnNumber:21}},"M\u1EE5c \u0111\xEDch s\u1EED d\u1EE5ng v\u1ED1n"),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:634,columnNumber:23}},values.purpose?(_values$purpose=values.purpose)==null?void 0:_values$purpose.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:640,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:643,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:644,columnNumber:21}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,style:[styles.input,{justifyContent:'space-between',flexDirection:'row',alignItems:'center',backgroundColor:'#F2F3F5'}],onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBanks,callback:function callback(value){setFieldValue('bank',value);}}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:645,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:668,columnNumber:23}},values.bank?(_values$bank=values.bank)==null?void 0:_values$bank.name:''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:674,columnNumber:23}})),errors&&errors.bank&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:23}},errors.bank))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:690,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:697,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:698,columnNumber:21}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.bank_account,onChangeText:handleChange('bank_account'),keyboardType:"numeric",__self:_this,__source:{fileName:_jsxFileName,lineNumber:701,columnNumber:21}}),errors&&errors.bank_account&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:711,columnNumber:23}},errors.bank_account)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:723,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:724,columnNumber:21}},"Ch\u1EE7 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.account_holder.toUpperCase(),onChangeText:handleChange('account_holder'),autoCapitalize:"characters",__self:_this,__source:{fileName:_jsxFileName,lineNumber:727,columnNumber:21}}),errors&&errors.account_holder&&_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'red',fontStyle:'italic',marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:737,columnNumber:23}},errors.account_holder))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:750,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:757,columnNumber:17}},"\u0110i\u1EC1u ki\u1EC7n v\xE0 \u0111i\u1EC1u kho\u1EA3n:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:760,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:761,columnNumber:19}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:38}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:53}})),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:768,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,columnNumber:21}},"T\xF4i \u0111\u1ED3ng \xFD v\u1EDBi",' ')),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.QuickTerm,{fullSubmit:true}));},__self:_this,__source:{fileName:_jsxFileName,lineNumber:777,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#EF4123'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:786,columnNumber:21}},"\u0111i\u1EC1u ki\u1EC7n v\xE0 \u0111i\u1EC1u kho\u1EA3n"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{flexDirection:'row',marginTop:16},onPress:function onPress(){setFieldValue('check',!values.check);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:797,columnNumber:17}},values.check?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:803,columnNumber:35}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:803,columnNumber:56}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:804,columnNumber:19}},"T\xF4i x\xE1c nh\u1EADn nh\u1EEFng th\xF4ng tin sau:")),_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:30,marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:808,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:809,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:810,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:818,columnNumber:21}},"T\xF4i \u0111ang s\u1ED1ng t\u1EA1i Vi\u1EC7t Nam")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:822,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:823,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:831,columnNumber:21}},"\u0110\u1ED3ng \xFD cung c\u1EA5p th\xF4ng tin cho b\xEAn th\u1EE9 ba")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:835,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:836,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:844,columnNumber:21}},"Kh\xF4ng l\xE0 ng\u01B0\u1EDDi nh\u1EADn \u1EE7y th\xE1c c\u1EE7a t\u1ED5",'\n',"ch\u1EE9c u\u1EF7 th\xE1c n\u01B0\u1EDBc ngo\xE0i")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:849,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:850,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:858,columnNumber:21}},"Kh\xF4ng l\xE0 th\u01B0\u1EDDng tr\xFA nh\xE2n/c\xF4ng d\xE2n t\u1EA1i M\u1EF9")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:862,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:863,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:871,columnNumber:21}},"Kh\xF4ng c\xF3 ng\u01B0\u1EDDi quen l\xE0m t\u1EA1i CIMB"))),_react.default.createElement(_reactNative.View,{style:{marginTop:40},__self:_this,__source:{fileName:_jsxFileName,lineNumber:876,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:!isValid||_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:877,columnNumber:19}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:isValid?['#FF7A00','#EF4123']:['#BDBDBD','#BDBDBD'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:881,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:894,columnNumber:23}},"Ti\u1EBFp t\u1EE5c")))),_react.default.createElement(_keyboardspace.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:905,columnNumber:17}}));})),_react.default.createElement(_CIMBLoading.default,{isLoading:_store.default.loadingButton,__self:this,__source:{fileName:_jsxFileName,lineNumber:911,columnNumber:7}}));});exports.UpdateInfo=UpdateInfo;var styles=_reactNative.StyleSheet.create({input:{height:40,marginVertical:0,borderWidth:0.5,borderColor:'#E0E0E0',borderRadius:4,marginTop:8,paddingHorizontal:10,fontFamily:'Roboto',color:'#333333',fontWeight:'bold'}});
2
2
  //# sourceMappingURL=update-info.js.map