react-native-timacare 0.0.35 → 0.0.37

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 (109) hide show
  1. package/lib/commonjs/components/Loading.js +1 -1
  2. package/lib/commonjs/components/Loading.js.flow +12 -4
  3. package/lib/commonjs/components/Loading.js.map +1 -1
  4. package/lib/commonjs/screens/full-submit/accept_policy.js +1 -1
  5. package/lib/commonjs/screens/full-submit/accept_policy.js.flow +99 -38
  6. package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
  7. package/lib/commonjs/screens/full-submit/selfie.js +1 -1
  8. package/lib/commonjs/screens/full-submit/selfie.js.flow +7 -3
  9. package/lib/commonjs/screens/full-submit/selfie.js.map +1 -1
  10. package/lib/commonjs/screens/full-submit/store.js +1 -1
  11. package/lib/commonjs/screens/full-submit/store.js.flow +28 -2
  12. package/lib/commonjs/screens/full-submit/store.js.map +1 -1
  13. package/lib/commonjs/screens/full-submit/update-document.js +1 -1
  14. package/lib/commonjs/screens/full-submit/update-document.js.flow +20 -11
  15. package/lib/commonjs/screens/full-submit/update-document.js.map +1 -1
  16. package/lib/commonjs/screens/full-submit/update-info.js +1 -1
  17. package/lib/commonjs/screens/full-submit/update-info.js.flow +16 -6
  18. package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
  19. package/lib/commonjs/screens/home/Store.js +1 -1
  20. package/lib/commonjs/screens/home/Store.js.flow +3 -0
  21. package/lib/commonjs/screens/home/Store.js.map +1 -1
  22. package/lib/commonjs/screens/home/index.js +1 -1
  23. package/lib/commonjs/screens/home/index.js.flow +60 -34
  24. package/lib/commonjs/screens/home/index.js.map +1 -1
  25. package/lib/commonjs/screens/nationalID/Store.js +1 -1
  26. package/lib/commonjs/screens/nationalID/Store.js.flow +2 -0
  27. package/lib/commonjs/screens/nationalID/Store.js.map +1 -1
  28. package/lib/commonjs/screens/nationalID/index.js +1 -1
  29. package/lib/commonjs/screens/nationalID/index.js.flow +16 -7
  30. package/lib/commonjs/screens/nationalID/index.js.map +1 -1
  31. package/lib/commonjs/screens/nationalIDBack/Store.js +1 -1
  32. package/lib/commonjs/screens/nationalIDBack/Store.js.flow +3 -1
  33. package/lib/commonjs/screens/nationalIDBack/Store.js.map +1 -1
  34. package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
  35. package/lib/commonjs/screens/nationalIDBack/index.js.flow +13 -22
  36. package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
  37. package/lib/commonjs/screens/quick-submit/index.js +1 -1
  38. package/lib/commonjs/screens/quick-submit/index.js.flow +92 -80
  39. package/lib/commonjs/screens/quick-submit/index.js.map +1 -1
  40. package/lib/commonjs/screens/quick-submit/store.js +1 -1
  41. package/lib/commonjs/screens/quick-submit/store.js.flow +4 -1
  42. package/lib/commonjs/screens/quick-submit/store.js.map +1 -1
  43. package/lib/commonjs/screens/uploadVideo/index.js +1 -1
  44. package/lib/commonjs/screens/uploadVideo/index.js.flow +1 -25
  45. package/lib/commonjs/screens/uploadVideo/index.js.map +1 -1
  46. package/lib/module/components/Loading.js +1 -1
  47. package/lib/module/components/Loading.js.map +1 -1
  48. package/lib/module/screens/full-submit/accept_policy.js +1 -1
  49. package/lib/module/screens/full-submit/accept_policy.js.map +1 -1
  50. package/lib/module/screens/full-submit/selfie.js +1 -1
  51. package/lib/module/screens/full-submit/selfie.js.map +1 -1
  52. package/lib/module/screens/full-submit/store.js +1 -1
  53. package/lib/module/screens/full-submit/store.js.map +1 -1
  54. package/lib/module/screens/full-submit/update-document.js +1 -1
  55. package/lib/module/screens/full-submit/update-document.js.map +1 -1
  56. package/lib/module/screens/full-submit/update-info.js +1 -1
  57. package/lib/module/screens/full-submit/update-info.js.map +1 -1
  58. package/lib/module/screens/home/Store.js +1 -1
  59. package/lib/module/screens/home/Store.js.map +1 -1
  60. package/lib/module/screens/home/index.js +1 -1
  61. package/lib/module/screens/home/index.js.map +1 -1
  62. package/lib/module/screens/nationalID/Store.js +1 -1
  63. package/lib/module/screens/nationalID/Store.js.map +1 -1
  64. package/lib/module/screens/nationalID/index.js +1 -1
  65. package/lib/module/screens/nationalID/index.js.map +1 -1
  66. package/lib/module/screens/nationalIDBack/Store.js +1 -1
  67. package/lib/module/screens/nationalIDBack/Store.js.map +1 -1
  68. package/lib/module/screens/nationalIDBack/index.js +1 -1
  69. package/lib/module/screens/nationalIDBack/index.js.map +1 -1
  70. package/lib/module/screens/quick-submit/index.js +1 -1
  71. package/lib/module/screens/quick-submit/index.js.map +1 -1
  72. package/lib/module/screens/quick-submit/store.js +1 -1
  73. package/lib/module/screens/quick-submit/store.js.map +1 -1
  74. package/lib/module/screens/uploadVideo/index.js +1 -1
  75. package/lib/module/screens/uploadVideo/index.js.map +1 -1
  76. package/lib/typescript/components/Loading.d.ts.map +1 -1
  77. package/lib/typescript/screens/full-submit/accept_policy.d.ts.map +1 -1
  78. package/lib/typescript/screens/full-submit/selfie.d.ts.map +1 -1
  79. package/lib/typescript/screens/full-submit/store.d.ts +3 -2
  80. package/lib/typescript/screens/full-submit/store.d.ts.map +1 -1
  81. package/lib/typescript/screens/full-submit/update-document.d.ts.map +1 -1
  82. package/lib/typescript/screens/full-submit/update-info.d.ts.map +1 -1
  83. package/lib/typescript/screens/home/Store.d.ts.map +1 -1
  84. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  85. package/lib/typescript/screens/nationalID/Store.d.ts.map +1 -1
  86. package/lib/typescript/screens/nationalID/index.d.ts.map +1 -1
  87. package/lib/typescript/screens/nationalIDBack/Store.d.ts +1 -1
  88. package/lib/typescript/screens/nationalIDBack/Store.d.ts.map +1 -1
  89. package/lib/typescript/screens/nationalIDBack/index.d.ts.map +1 -1
  90. package/lib/typescript/screens/quick-submit/index.d.ts.map +1 -1
  91. package/lib/typescript/screens/quick-submit/store.d.ts +1 -1
  92. package/lib/typescript/screens/quick-submit/store.d.ts.map +1 -1
  93. package/lib/typescript/screens/uploadVideo/index.d.ts.map +1 -1
  94. package/package.json +1 -1
  95. package/src/components/Loading.tsx +12 -4
  96. package/src/screens/full-submit/accept_policy.tsx +99 -38
  97. package/src/screens/full-submit/selfie.tsx +7 -3
  98. package/src/screens/full-submit/store.tsx +28 -2
  99. package/src/screens/full-submit/update-document.tsx +20 -11
  100. package/src/screens/full-submit/update-info.tsx +16 -6
  101. package/src/screens/home/Store.tsx +3 -0
  102. package/src/screens/home/index.tsx +60 -34
  103. package/src/screens/nationalID/Store.tsx +2 -0
  104. package/src/screens/nationalID/index.tsx +16 -7
  105. package/src/screens/nationalIDBack/Store.tsx +3 -1
  106. package/src/screens/nationalIDBack/index.tsx +13 -22
  107. package/src/screens/quick-submit/index.tsx +92 -80
  108. package/src/screens/quick-submit/store.tsx +4 -1
  109. package/src/screens/uploadVideo/index.tsx +1 -25
@@ -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,_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,onSuccess){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;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','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();this.tab=2;}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,onSuccess){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;if(onSuccess)onSuccess(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=exports.default=FullSubmitStore;
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,onSuccess){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;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','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,onError){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);if(onError)onError();}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');if(onError)onError();}_context9.next=14;break;case 9:_context9.prev=9;_context9.t0=_context9["catch"](1);this.loadingButton=false;if(onError)onError();_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');case 14:case"end":return _context9.stop();}},null,this,[[1,9]],Promise);}},{key:"confirmData",value:function confirmData(id,onSuccess,onError){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();this.tab=2;}else{_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage);if(onError)onError();}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau.');if(onError)onError();}_context10.next=14;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.');if(onError)onError();case 14:case"end":return _context10.stop();}},null,this,[[1,9]],Promise);}},{key:"getSchedulePayment",value:function getSchedulePayment(id,onSuccess){var response;return _regenerator.default.async(function getSchedulePayment$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:_context11.prev=0;_context11.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getPaymentSchedule(id));case 3:response=_context11.sent;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{this.loadingInsurance=false;_reactNative.Alert.alert('Thông báo','Không lấy được lịch thanh toán!');}_context11.next=11;break;case 8:_context11.prev=8;_context11.t0=_context11["catch"](0);console.log(_context11.t0);case 11:case"end":return _context11.stop();}},null,this,[[0,8]],Promise);}},{key:"getInsurance",value:function getInsurance(params,onSuccess){var response;return _regenerator.default.async(function getInsurance$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:this.loadingInsurance=true;_context12.prev=1;_context12.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInsurance(params));case 4:response=_context12.sent;console.log(response);this.loadingInsurance=false;if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.dataInsurance=response.data.data;if(onSuccess)onSuccess(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.');}_context12.next=14;break;case 10:_context12.prev=10;_context12.t0=_context12["catch"](1);console.log(_context12.t0);this.loadingInsurance=false;case 14:case"end":return _context12.stop();}},null,this,[[1,10]],Promise);}},{key:"confirmInsurance",value:function confirmInsurance(body,onSuccess){var response;return _regenerator.default.async(function confirmInsurance$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:_context13.prev=0;_context13.next=3;return _regenerator.default.awrap(_api.Api.getInstance().confirmInsurance(body));case 3:response=_context13.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!');}_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,null,[[0,8]],Promise);}},{key:"getPositionCIMB",value:function getPositionCIMB(){var response;return _regenerator.default.async(function getPositionCIMB$(_context14){while(1)switch(_context14.prev=_context14.next){case 0:_context14.prev=0;_context14.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getPositionCIMB());case 3:response=_context14.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstPositionCIMB=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:"getJobStatusCIMB",value:function getJobStatusCIMB(){var response;return _regenerator.default.async(function getJobStatusCIMB$(_context15){while(1)switch(_context15.prev=_context15.next){case 0:_context15.prev=0;_context15.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getJobStatusCIMB());case 3:response=_context15.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstStatusJobCIMB=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);}},{key:"getIncomeCIMB",value:function getIncomeCIMB(){var response;return _regenerator.default.async(function getIncomeCIMB$(_context16){while(1)switch(_context16.prev=_context16.next){case 0:_context16.prev=0;_context16.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getIncomeCIMB());case 3:response=_context16.sent;console.log(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.lstIncomeCIMB=response.data.data;}else{}}else{}_context16.next=11;break;case 8:_context16.prev=8;_context16.t0=_context16["catch"](0);console.log(_context16.t0);case 11:case"end":return _context16.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,"getSchedulePayment",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getSchedulePayment"),_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=exports.default=FullSubmitStore;
2
2
  //# sourceMappingURL=store.js.map
@@ -1 +1 @@
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","tab","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,aAA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,kBAAAxH,MAAA,CAAAwH,SAAA,GAAAxH,MAAA,EAmBT,GAAM,CAAAiI,eAAe,CAAG,GAAI,CAAAjH,KAAK,CAAC,CAAC,CAAC,IAAAkH,QAAA,CAAAC,OAAA,CAAAjH,OAAA,CACrB+G,eAAe"}
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","onError","fullSubmit$","_context9","loadingButton","confirmData","confirmData$","_context10","tab","getSchedulePayment","getSchedulePayment$","_context11","getPaymentSchedule","loadingInsurance","getInsurance","params","getInsurance$","_context12","dataInsurance","confirmInsurance","confirmInsurance$","_context13","getPositionCIMB","getPositionCIMB$","_context14","lstPositionCIMB","getJobStatusCIMB","getJobStatusCIMB$","_context15","lstStatusJobCIMB","getIncomeCIMB","getIncomeCIMB$","_context16","lstIncomeCIMB","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","FullSubmitStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/full-submit/store.tsx"],"mappings":"81BACA,IAAA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AAAC,wBAAA,CAAArI,MAAA,CAAA6H,SAAA,iBAAA7H,MAAA,CAAA6H,SAAA,KAAAD,0BAAA,CAAA1G,OAAA,EAAAlB,MAAA,CAAA6H,SAAA,qBAuBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAArI,MAAA,CAAA6H,SAAA,qBAAA7H,MAAA,CAAA6H,SAAA,KAAAD,0BAAA,CAAA1G,OAAA,EAAAlB,MAAA,CAAA6H,SAAA,oBAmBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAArI,MAAA,CAAA6H,SAAA,oBAAA7H,MAAA,CAAA6H,SAAA,KAAAD,0BAAA,CAAA1G,OAAA,EAAAlB,MAAA,CAAA6H,SAAA,qBAkBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAArI,MAAA,CAAA6H,SAAA,qBAAA7H,MAAA,CAAA6H,SAAA,KAAAD,0BAAA,CAAA1G,OAAA,EAAAlB,MAAA,CAAA6H,SAAA,kBAkBNM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAArI,MAAA,CAAA6H,SAAA,kBAAA7H,MAAA,CAAA6H,SAAA,GAAA7H,MAAA,EAmBT,GAAM,CAAAsI,eAAe,CAAG,GAAI,CAAAtH,KAAK,CAAC,CAAC,CAAC,IAAAuH,QAAA,CAAAC,OAAA,CAAAtH,OAAA,CACrBoH,eAAe"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.UpdateDocument=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MText=require("../../components/MText");var _CommonStyles=require("../CommonStyles");var _reactNativeFastImage=_interopRequireDefault(require("react-native-fast-image"));var _reactNativeImageViewing=_interopRequireDefault(require("react-native-image-viewing"));var _icons=require("../../assets/icons");var _reactNativeImageCropPicker=_interopRequireDefault(require("react-native-image-crop-picker"));var _store=_interopRequireDefault(require("./store"));var _theme=require("../../theme");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _native=require("@react-navigation/native");var _navigation=require("../../navigation");var _CIMBLoading=_interopRequireDefault(require("../../components/CIMBLoading"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/full-submit/update-document.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var UpdateDocument=exports.UpdateDocument=(0,_mobxReactLite.observer)(function UpdateDocument(_ref){var _this=this;var loan=_ref.loan;var navigation=(0,_native.useNavigation)();(0,_react.useEffect)(function(){if(loan){_store.default.getDocument(loan==null?void 0:loan.id,function(res){setData(res);});}},[loan]);var _useState=(0,_react.useState)([{uri:'https://unsplash.it/400/400?image=1'}]),_useState2=(0,_slicedToArray2.default)(_useState,2),images=_useState2[0],setImages=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),visible=_useState4[0],setIsVisible=_useState4[1];var _useState5=(0,_react.useState)(),_useState6=(0,_slicedToArray2.default)(_useState5,2),data=_useState6[0],setData=_useState6[1];var takePhoto=function _callee(typId){return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_reactNativeImageCropPicker.default.openCamera({}).then(function(image){var formData=new FormData();formData.append('loanbriefId',loan==null?void 0:loan.id);formData.append('TypeDocumentId',typId);formData.append('image',{uri:image.path,type:image.mime,name:'image.jpg'});_store.default.uploadDocument(formData,function(){_store.default.getDocument(loan==null?void 0:loan.id,function(res){setData(res);});});}).catch(function(err){console.log(err);});case 1:case"end":return _context.stop();}},null,null,null,Promise);};var handleSubmit=function handleSubmit(){_store.default.confirmData(loan==null?void 0:loan.id,function(){_store.default.tab=1;navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:80,columnNumber:5}},_store.default.loadingDocument?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:82,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:85,columnNumber:11}})):_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:88,columnNumber:9}},_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:89,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:90,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:15}},"UPLOAD CH\u1EE8NG T\u1EEA"),_react.default.createElement(_mobxReactLite.Observer,{__self:this,__source:{fileName:_jsxFileName,lineNumber:94,columnNumber:15}},function(){return _react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:96,columnNumber:19}},data==null?void 0:data.map(function(item,index){return _react.default.createElement(_reactNative.View,{key:index,style:{marginBottom:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:98,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:99,columnNumber:25}},_react.default.createElement(_reactNative.View,{style:{flex:1,paddingRight:15},__self:_this,__source:{fileName:_jsxFileName,lineNumber:106,columnNumber:27}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:107,columnNumber:29}},item.documentName)),(item==null?void 0:item.isUpload)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{borderWidth:1,borderColor:'#D9D9D9',paddingVertical:8,borderRadius:6,paddingHorizontal:10,flexDirection:'row',alignItems:'center'},onPress:function onPress(){takePhoto(item.documentId);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:29}},_react.default.createElement(_icons.IConCamera,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:131,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'#F05123',marginLeft:8,fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:31}},"Ch\u1EE5p \u1EA3nh"))),(item==null?void 0:item.listFile)&&_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:27}},_react.default.createElement(_reactNative.View,{style:{marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:149,columnNumber:29}},_react.default.createElement(_reactNative.ScrollView,{horizontal:true,showsHorizontalScrollIndicator:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:150,columnNumber:31}},item==null?void 0:item.listFile.map(function(image){return _react.default.createElement(_reactNative.TouchableOpacity,{style:{paddingRight:8},onPress:function onPress(){setIsVisible(true);setImages([{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath)}]);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:155,columnNumber:35}},_react.default.createElement(_reactNativeFastImage.default,{style:{width:_reactNative.Dimensions.get('screen').width*0.2,height:_reactNative.Dimensions.get('screen').height*0.1},source:{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath),priority:_reactNativeFastImage.default.priority.normal},resizeMode:_reactNativeFastImage.default.resizeMode.cover,__self:_this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:37}}));})))),(item==null?void 0:item.listChild)&&(item==null?void 0:item.listChild.map(function(child,idx){return _react.default.createElement(_reactNative.View,{style:{marginBottom:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:29}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',marginHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:192,columnNumber:31}},_react.default.createElement(_reactNative.View,{style:{flex:1,paddingRight:15},__self:_this,__source:{fileName:_jsxFileName,lineNumber:200,columnNumber:33}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:201,columnNumber:35}},child.documentName)),(child==null?void 0:child.isUpload)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{borderWidth:1,borderColor:'#D9D9D9',paddingVertical:8,borderRadius:6,paddingHorizontal:10,flexDirection:'row',alignItems:'center'},onPress:function onPress(){takePhoto(child.documentId);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:35}},_react.default.createElement(_icons.IConCamera,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:225,columnNumber:37}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'#F05123',marginLeft:8,fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:226,columnNumber:37}},"Ch\u1EE5p \u1EA3nh"))),(child==null?void 0:child.listFile)&&_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:242,columnNumber:33}},_react.default.createElement(_reactNative.View,{style:{marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:35}},_react.default.createElement(_reactNative.ScrollView,{horizontal:true,showsHorizontalScrollIndicator:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:244,columnNumber:37}},child==null?void 0:child.listFile.map(function(image){return _react.default.createElement(_reactNative.TouchableOpacity,{style:{paddingRight:8},onPress:function onPress(){setIsVisible(true);setImages([{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath)}]);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:249,columnNumber:41}},_react.default.createElement(_reactNativeFastImage.default,{style:{width:_reactNative.Dimensions.get('screen').width*0.2,height:_reactNative.Dimensions.get('screen').height*0.1},source:{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath),priority:_reactNativeFastImage.default.priority.normal},resizeMode:_reactNativeFastImage.default.resizeMode.cover,__self:_this,__source:{fileName:_jsxFileName,lineNumber:262,columnNumber:43}}));})))));})));}));}))),_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:11}},_react.default.createElement(_mobxReactLite.Observer,{__self:this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:13}},function(){return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:300,columnNumber:17}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:19}},_store.default.loadingButton?_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:"white",__self:_this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:23}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:316,columnNumber:23}},"Ho\xE0n th\xE0nh")));})),_react.default.createElement(_reactNative.View,{style:{marginBottom:8,marginTop:8,flexDirection:'row',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:330,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:338,columnNumber:13}},"Cung c\u1EA5p b\u1EDFi",' '),_react.default.createElement(_icons.CIMBBank,{__self:this,__source:{fileName:_jsxFileName,lineNumber:341,columnNumber:13}}))),_react.default.createElement(_reactNativeImageViewing.default,{images:images,imageIndex:0,visible:visible,onRequestClose:function onRequestClose(){return setIsVisible(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:345,columnNumber:7}}),_react.default.createElement(_CIMBLoading.default,{isLoading:_store.default.loadingButton,__self:this,__source:{fileName:_jsxFileName,lineNumber:351,columnNumber:7}}));});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.UpdateDocument=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MText=require("../../components/MText");var _CommonStyles=require("../CommonStyles");var _reactNativeFastImage=_interopRequireDefault(require("react-native-fast-image"));var _reactNativeImageViewing=_interopRequireDefault(require("react-native-image-viewing"));var _icons=require("../../assets/icons");var _reactNativeImageCropPicker=_interopRequireDefault(require("react-native-image-crop-picker"));var _store=_interopRequireDefault(require("./store"));var _theme=require("../../theme");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _native=require("@react-navigation/native");var _navigation=require("../../navigation");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/full-submit/update-document.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var UpdateDocument=exports.UpdateDocument=(0,_mobxReactLite.observer)(function UpdateDocument(_ref){var _this=this;var loan=_ref.loan;var navigation=(0,_native.useNavigation)();(0,_react.useEffect)(function(){if(loan){_store.default.getDocument(loan==null?void 0:loan.id,function(res){setData(res);});}},[loan]);var _useState=(0,_react.useState)([{uri:'https://unsplash.it/400/400?image=1'}]),_useState2=(0,_slicedToArray2.default)(_useState,2),images=_useState2[0],setImages=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),visible=_useState4[0],setIsVisible=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];var _useState7=(0,_react.useState)(),_useState8=(0,_slicedToArray2.default)(_useState7,2),data=_useState8[0],setData=_useState8[1];var takePhoto=function _callee(typId){return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_reactNativeImageCropPicker.default.openCamera({}).then(function(image){var formData=new FormData();formData.append('loanbriefId',loan==null?void 0:loan.id);formData.append('TypeDocumentId',typId);formData.append('image',{uri:image.path,type:image.mime,name:'image.jpg'});_store.default.uploadDocument(formData,function(){_store.default.getDocument(loan==null?void 0:loan.id,function(res){setData(res);});});}).catch(function(err){console.log(err);});case 1:case"end":return _context.stop();}},null,null,null,Promise);};var handleSubmit=function handleSubmit(){setIsLoading(true);_store.default.confirmData(loan==null?void 0:loan.id,function(){setIsLoading(false);_store.default.tab=1;navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));},function(){setIsLoading(false);});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:89,columnNumber:5}},_store.default.loadingDocument?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:94,columnNumber:11}})):_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:97,columnNumber:9}},_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:98,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:99,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:100,columnNumber:15}},"UPLOAD CH\u1EE8NG T\u1EEA"),_react.default.createElement(_mobxReactLite.Observer,{__self:this,__source:{fileName:_jsxFileName,lineNumber:103,columnNumber:15}},function(){return _react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:105,columnNumber:19}},data==null?void 0:data.map(function(item,index){return _react.default.createElement(_reactNative.View,{key:index,style:{marginBottom:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:107,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:108,columnNumber:25}},_react.default.createElement(_reactNative.View,{style:{flex:1,paddingRight:15},__self:_this,__source:{fileName:_jsxFileName,lineNumber:115,columnNumber:27}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:29}},item.documentName)),(item==null?void 0:item.isUpload)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{borderWidth:1,borderColor:'#D9D9D9',paddingVertical:8,borderRadius:6,paddingHorizontal:10,flexDirection:'row',alignItems:'center'},onPress:function onPress(){takePhoto(item.documentId);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:29}},_react.default.createElement(_icons.IConCamera,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:140,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'#F05123',marginLeft:8,fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:141,columnNumber:31}},"Ch\u1EE5p \u1EA3nh"))),(item==null?void 0:item.listFile)&&_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:27}},_react.default.createElement(_reactNative.View,{style:{marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:29}},_react.default.createElement(_reactNative.ScrollView,{horizontal:true,showsHorizontalScrollIndicator:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:31}},item==null?void 0:item.listFile.map(function(image){return _react.default.createElement(_reactNative.TouchableOpacity,{style:{paddingRight:8},onPress:function onPress(){setIsVisible(true);setImages([{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath)}]);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:35}},_react.default.createElement(_reactNativeFastImage.default,{style:{width:_reactNative.Dimensions.get('screen').width*0.2,height:_reactNative.Dimensions.get('screen').height*0.1},source:{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath),priority:_reactNativeFastImage.default.priority.normal},resizeMode:_reactNativeFastImage.default.resizeMode.cover,__self:_this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:37}}));})))),(item==null?void 0:item.listChild)&&(item==null?void 0:item.listChild.map(function(child,idx){return _react.default.createElement(_reactNative.View,{style:{marginBottom:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:200,columnNumber:29}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',marginHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:201,columnNumber:31}},_react.default.createElement(_reactNative.View,{style:{flex:1,paddingRight:15},__self:_this,__source:{fileName:_jsxFileName,lineNumber:209,columnNumber:33}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:35}},child.documentName)),(child==null?void 0:child.isUpload)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{borderWidth:1,borderColor:'#D9D9D9',paddingVertical:8,borderRadius:6,paddingHorizontal:10,flexDirection:'row',alignItems:'center'},onPress:function onPress(){takePhoto(child.documentId);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:220,columnNumber:35}},_react.default.createElement(_icons.IConCamera,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:234,columnNumber:37}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'#F05123',marginLeft:8,fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:235,columnNumber:37}},"Ch\u1EE5p \u1EA3nh"))),(child==null?void 0:child.listFile)&&_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:251,columnNumber:33}},_react.default.createElement(_reactNative.View,{style:{marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:252,columnNumber:35}},_react.default.createElement(_reactNative.ScrollView,{horizontal:true,showsHorizontalScrollIndicator:false,__self:_this,__source:{fileName:_jsxFileName,lineNumber:253,columnNumber:37}},child==null?void 0:child.listFile.map(function(image){return _react.default.createElement(_reactNative.TouchableOpacity,{style:{paddingRight:8},onPress:function onPress(){setIsVisible(true);setImages([{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath)}]);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:258,columnNumber:41}},_react.default.createElement(_reactNativeFastImage.default,{style:{width:_reactNative.Dimensions.get('screen').width*0.2,height:_reactNative.Dimensions.get('screen').height*0.1},source:{uri:"https://file.tima.vn"+(image==null?void 0:image.filePath),priority:_reactNativeFastImage.default.priority.normal},resizeMode:_reactNativeFastImage.default.resizeMode.cover,__self:_this,__source:{fileName:_jsxFileName,lineNumber:271,columnNumber:43}}));})))));})));}));}))),_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:306,columnNumber:11}},_react.default.createElement(_mobxReactLite.Observer,{__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:13}},function(){return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:17}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:313,columnNumber:19}},_store.default.loadingButton?_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:"white",__self:_this,__source:{fileName:_jsxFileName,lineNumber:323,columnNumber:23}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:325,columnNumber:23}},"Ho\xE0n th\xE0nh")));})),_react.default.createElement(_reactNative.View,{style:{marginBottom:8,marginTop:8,flexDirection:'row',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:339,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:347,columnNumber:13}},"Cung c\u1EA5p b\u1EDFi",' '),_react.default.createElement(_icons.CIMBBank,{__self:this,__source:{fileName:_jsxFileName,lineNumber:350,columnNumber:13}}))),_react.default.createElement(_reactNativeImageViewing.default,{images:images,imageIndex:0,visible:visible,onRequestClose:function onRequestClose(){return setIsVisible(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:354,columnNumber:7}}),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:360,columnNumber:7}}));});
2
2
  //# sourceMappingURL=update-document.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_mobxReactLite","require","_react","_interopRequireWildcard","_reactNative","_MText","_CommonStyles","_reactNativeFastImage","_interopRequireDefault","_reactNativeImageViewing","_icons","_reactNativeImageCropPicker","_store","_theme","_reactNativeLinearGradient","_native","_navigation","_CIMBLoading","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","UpdateDocument","exports","observer","_ref","_this","loan","navigation","useNavigation","useEffect","FullSubmitStore","getDocument","id","res","setData","_useState","useState","uri","_useState2","_slicedToArray2","images","setImages","_useState3","_useState4","visible","setIsVisible","_useState5","_useState6","data","takePhoto","_callee","typId","_regenerator","async","_callee$","_context","prev","next","ImagePicker","openCamera","then","image","formData","FormData","append","path","type","mime","name","uploadDocument","catch","err","console","log","stop","Promise","handleSubmit","confirmData","tab","dispatch","CommonActions","reset","index","routes","ScreenNames","Main","createElement","View","style","flex","backgroundColor","__self","__source","fileName","lineNumber","columnNumber","loadingDocument","alignItems","justifyContent","ActivityIndicator","size","color","primary","ScrollView","margin","MText","commonStyles","textNormalBold","fontSize","Observer","map","item","key","marginBottom","flexDirection","paddingRight","marginTop","documentName","isUpload","TouchableOpacity","borderWidth","borderColor","paddingVertical","borderRadius","paddingHorizontal","onPress","documentId","IConCamera","textNormal","marginLeft","listFile","marginVertical","horizontal","showsHorizontalScrollIndicator","filePath","width","Dimensions","height","source","priority","FastImage","normal","resizeMode","cover","listChild","child","idx","marginHorizontal","disabled","loadingButton","colors","CIMBBank","imageIndex","onRequestClose","isLoading"],"sourceRoot":"../../../../src","sources":["screens/full-submit/update-document.tsx"],"mappings":"qVACA,IAAAA,cAAA,CAAAC,OAAA,oBACA,IAAAC,MAAA,CAAAC,uBAAA,CAAAF,OAAA,WACA,IAAAG,YAAA,CAAAH,OAAA,iBAOA,IAAAI,MAAA,CAAAJ,OAAA,2BACA,IAAAK,aAAA,CAAAL,OAAA,oBACA,IAAAM,qBAAA,CAAAC,sBAAA,CAAAP,OAAA,6BACA,IAAAQ,wBAAA,CAAAD,sBAAA,CAAAP,OAAA,gCACA,IAAAS,MAAA,CAAAT,OAAA,uBACA,IAAAU,2BAAA,CAAAH,sBAAA,CAAAP,OAAA,oCACA,IAAAW,MAAA,CAAAJ,sBAAA,CAAAP,OAAA,aACA,IAAAY,MAAA,CAAAZ,OAAA,gBACA,IAAAa,0BAAA,CAAAN,sBAAA,CAAAP,OAAA,kCACA,IAAAc,OAAA,CAAAd,OAAA,6BACA,IAAAe,WAAA,CAAAf,OAAA,qBACA,IAAAgB,YAAA,CAAAT,sBAAA,CAAAP,OAAA,kCAAuD,IAAAiB,YAAA,oGAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,CAAA,SAAAA,CAAA,CAAAG,CAAA,CAAAD,CAAA,IAAAF,CAAA,YAAAjB,wBAAAiB,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,OAAW,EAACoJ,SAAS,CAAE5H,cAAe,CAACuH,aAAc,CAAA1D,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAA9F,YAAA,CAAA+F,UAAA,KAAAC,YAAA,IAAE,CACpD,CAAC,CAEX,CAAC,CAAC"}
1
+ {"version":3,"names":["_mobxReactLite","require","_react","_interopRequireWildcard","_reactNative","_MText","_CommonStyles","_reactNativeFastImage","_interopRequireDefault","_reactNativeImageViewing","_icons","_reactNativeImageCropPicker","_store","_theme","_reactNativeLinearGradient","_native","_navigation","_Loading","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","UpdateDocument","exports","observer","_ref","_this","loan","navigation","useNavigation","useEffect","FullSubmitStore","getDocument","id","res","setData","_useState","useState","uri","_useState2","_slicedToArray2","images","setImages","_useState3","_useState4","visible","setIsVisible","_useState5","_useState6","isLoading","setIsLoading","_useState7","_useState8","data","takePhoto","_callee","typId","_regenerator","async","_callee$","_context","prev","next","ImagePicker","openCamera","then","image","formData","FormData","append","path","type","mime","name","uploadDocument","catch","err","console","log","stop","Promise","handleSubmit","confirmData","tab","dispatch","CommonActions","reset","index","routes","ScreenNames","Main","createElement","View","style","flex","backgroundColor","__self","__source","fileName","lineNumber","columnNumber","loadingDocument","alignItems","justifyContent","ActivityIndicator","size","color","primary","ScrollView","margin","MText","commonStyles","textNormalBold","fontSize","Observer","map","item","key","marginBottom","flexDirection","paddingRight","marginTop","documentName","isUpload","TouchableOpacity","borderWidth","borderColor","paddingVertical","borderRadius","paddingHorizontal","onPress","documentId","IConCamera","textNormal","marginLeft","listFile","marginVertical","horizontal","showsHorizontalScrollIndicator","filePath","width","Dimensions","height","source","priority","FastImage","normal","resizeMode","cover","listChild","child","idx","marginHorizontal","disabled","loadingButton","colors","CIMBBank","imageIndex","onRequestClose"],"sourceRoot":"../../../../src","sources":["screens/full-submit/update-document.tsx"],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,YAAA,IAAE,CAC5B,CAAC,CAEX,CAAC,CAAC"}
@@ -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(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var UpdateInfo=exports.UpdateInfo=(0,_mobxReactLite.observer)(function UpdateInfo(_ref){var _this=this;var loan=_ref.loan,callback=_ref.callback;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,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;callback(2);});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:5}},_store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:167,columnNumber:11}})):_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:170,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:171,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:241,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:242,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:245,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:252,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:253,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:256,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:264,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:265,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:266,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:282,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:283,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:286,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:19}})),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:296,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:303,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:21}},"Gi\u1EDBi t\xEDnh ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:305,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:307,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:330,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:333,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:336,columnNumber:23}},errors.gender)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:349,columnNumber:21}},"T\xECnh tr\u1EA1ng h\xF4n nh\xE2n",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:351,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:353,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:377,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:380,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:383,columnNumber:23}},errors.merried))),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:397,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:398,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 n\u01A1i \u1EDF ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:399,columnNumber:35}},"*")),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:401,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:408,columnNumber:21}},errors.address)),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:420,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:421,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:422,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:424,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:432,columnNumber:21}},errors.addressHouseHold)),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:445,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:452,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:453,columnNumber:21}},"T\xECnh tr\u1EA1ng vi\u1EC7c l\xE0m",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:455,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:457,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:481,columnNumber:23}},(_values$statusWorking=values.statusWorking)==null?void 0:_values$statusWorking.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:487,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:490,columnNumber:23}},errors.statusWorking)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:502,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:503,columnNumber:21}},"Ch\u1EE9c v\u1EE5 ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:504,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:506,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:530,columnNumber:23}},(_values$jobTitle=values.jobTitle)==null?void 0:_values$jobTitle.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:536,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:539,columnNumber:23}},errors.jobTitle))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:552,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:559,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:560,columnNumber:21}},"Ngu\u1ED3n thu nh\u1EADp ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:561,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:563,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:586,columnNumber:23}},(_values$sourceFund=values.sourceFund)==null?void 0:_values$sourceFund.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:592,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:595,columnNumber:23}},errors.sourceFund)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:607,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:608,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:609,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:617,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:624,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:625,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:628,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:640,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:646,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:649,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:650,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:651,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:674,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:680,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:683,columnNumber:23}},errors.bank))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:696,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:703,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:704,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:707,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:717,columnNumber:23}},errors.bank_account)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:729,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:730,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:733,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:743,columnNumber:23}},errors.account_holder))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:756,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:763,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:766,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:19}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:772,columnNumber:38}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:772,columnNumber:53}})),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:774,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:779,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:783,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#EF4123'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:792,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:803,columnNumber:17}},values.check?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:809,columnNumber:35}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:809,columnNumber:56}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:810,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:814,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:815,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:816,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:824,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:828,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:829,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:837,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:841,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:842,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:850,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:855,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:856,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:864,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:868,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:869,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:877,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:882,columnNumber:17}},_react.default.createElement(_mobxReactLite.Observer,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:883,columnNumber:19}},function(){return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:!isValid||_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:885,columnNumber:23}},_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:889,columnNumber:25}},_store.default.loadingButton?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',size:"small",__self:_this,__source:{fileName:_jsxFileName,lineNumber:903,columnNumber:29}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:905,columnNumber:29}},"Ti\u1EBFp t\u1EE5c")));})),_react.default.createElement(_keyboardspace.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:919,columnNumber:17}}));})),_react.default.createElement(_CIMBLoading.default,{isLoading:_store.default.loadingButton,__self:this,__source:{fileName:_jsxFileName,lineNumber:925,columnNumber:7}}));});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 _Loading=_interopRequireDefault(require("../../components/Loading"));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(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var UpdateInfo=exports.UpdateInfo=(0,_mobxReactLite.observer)(function UpdateInfo(_ref){var _this=this;var loan=_ref.loan,callback=_ref.callback;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];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isLoading=_useState4[0],setIsLoading=_useState4[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){setIsLoading(true);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,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(){setIsLoading(false);_store.default.tab=2;callback(2);},function(){setIsLoading(false);});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'#FFFFFF'},__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:5}},_store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:174,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:11}})):_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:180,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:181,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:251,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:252,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:255,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:262,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:263,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:266,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:274,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:275,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:276,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:285,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:293,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:296,columnNumber:21}})),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:19}})),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:306,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:313,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:21}},"Gi\u1EDBi t\xEDnh ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:315,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:317,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:340,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:343,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:346,columnNumber:23}},errors.gender)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:358,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:359,columnNumber:21}},"T\xECnh tr\u1EA1ng h\xF4n nh\xE2n",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:361,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:363,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:387,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:390,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:393,columnNumber:23}},errors.merried))),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:407,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:408,columnNumber:19}},"\u0110\u1ECBa ch\u1EC9 n\u01A1i \u1EDF ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:409,columnNumber:35}},"*")),_react.default.createElement(_reactNative.TextInput,{editable:false,style:[styles.input,{backgroundColor:'#F2F3F5'}],value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:411,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:418,columnNumber:21}},errors.address)),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:430,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:431,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:432,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:434,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:442,columnNumber:21}},errors.addressHouseHold)),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:455,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:462,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:463,columnNumber:21}},"T\xECnh tr\u1EA1ng vi\u1EC7c l\xE0m",' ',_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:465,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:467,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:491,columnNumber:23}},(_values$statusWorking=values.statusWorking)==null?void 0:_values$statusWorking.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:497,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:500,columnNumber:23}},errors.statusWorking)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:512,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:513,columnNumber:21}},"Ch\u1EE9c v\u1EE5 ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:514,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:516,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:540,columnNumber:23}},(_values$jobTitle=values.jobTitle)==null?void 0:_values$jobTitle.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:546,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:549,columnNumber:23}},errors.jobTitle))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:562,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:569,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:570,columnNumber:21}},"Ngu\u1ED3n thu nh\u1EADp ",_react.default.createElement(_MText.MText,{style:{color:'red'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:571,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:573,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:596,columnNumber:23}},(_values$sourceFund=values.sourceFund)==null?void 0:_values$sourceFund.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:602,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:605,columnNumber:23}},errors.sourceFund)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:617,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:618,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:619,columnNumber:21}}))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:627,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:634,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:635,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:638,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:650,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:656,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:659,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:660,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:661,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],numberOfLines:1,__self:_this,__source:{fileName:_jsxFileName,lineNumber:684,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:690,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:693,columnNumber:23}},errors.bank))),_react.default.createElement(_reactNative.View,{style:{marginTop:16,flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:706,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1,marginRight:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:713,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:714,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:717,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:727,columnNumber:23}},errors.bank_account)),_react.default.createElement(_reactNative.View,{style:{flex:1,marginLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:739,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:_this,__source:{fileName:_jsxFileName,lineNumber:740,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:743,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:753,columnNumber:23}},errors.account_holder))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold],__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,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:776,columnNumber:17}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:777,columnNumber:19}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:782,columnNumber:38}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:782,columnNumber:53}})),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:784,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:789,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:793,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#EF4123'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:802,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:813,columnNumber:17}},values.check?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:35}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:56}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:820,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:824,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:825,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:826,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:834,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:838,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:839,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:847,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:851,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:852,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:860,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:865,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:866,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:874,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:878,columnNumber:19}},_react.default.createElement(_reactNative.View,{style:{height:5,width:5,backgroundColor:'black',borderRadius:30},__self:_this,__source:{fileName:_jsxFileName,lineNumber:879,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginLeft:5}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:887,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:892,columnNumber:17}},_react.default.createElement(_mobxReactLite.Observer,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:893,columnNumber:19}},function(){return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:!isValid||_store.default.loadingButton,onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:895,columnNumber:23}},_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:899,columnNumber:25}},_store.default.loadingButton?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',size:"small",__self:_this,__source:{fileName:_jsxFileName,lineNumber:913,columnNumber:29}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#FFFFFF'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:915,columnNumber:29}},"Ti\u1EBFp t\u1EE5c")));})),_react.default.createElement(_keyboardspace.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:929,columnNumber:17}}));})),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:935,columnNumber:7}}));});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