react-native-timacare 2.0.11 → 2.0.12

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 (46) hide show
  1. package/lib/commonjs/navigation/primary-navigator.js +1 -1
  2. package/lib/commonjs/navigation/primary-navigator.js.flow +6 -0
  3. package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
  4. package/lib/commonjs/screens/eSign/PreviewContract.js +2 -0
  5. package/lib/commonjs/screens/eSign/PreviewContract.js.flow +76 -0
  6. package/lib/commonjs/screens/eSign/PreviewContract.js.map +1 -0
  7. package/lib/commonjs/screens/eSign/Store.js +1 -1
  8. package/lib/commonjs/screens/eSign/Store.js.flow +22 -1
  9. package/lib/commonjs/screens/eSign/Store.js.map +1 -1
  10. package/lib/commonjs/screens/eSign/index.js +1 -1
  11. package/lib/commonjs/screens/eSign/index.js.flow +281 -181
  12. package/lib/commonjs/screens/eSign/index.js.map +1 -1
  13. package/lib/commonjs/services/api/api-config.js +1 -1
  14. package/lib/commonjs/services/api/api-config.js.flow +2 -2
  15. package/lib/commonjs/services/api/api-config.js.map +1 -1
  16. package/lib/commonjs/services/api/api.js +1 -1
  17. package/lib/commonjs/services/api/api.js.flow +17 -0
  18. package/lib/commonjs/services/api/api.js.map +1 -1
  19. package/lib/module/navigation/primary-navigator.js +1 -1
  20. package/lib/module/navigation/primary-navigator.js.map +1 -1
  21. package/lib/module/screens/eSign/PreviewContract.js +2 -0
  22. package/lib/module/screens/eSign/PreviewContract.js.map +1 -0
  23. package/lib/module/screens/eSign/Store.js +1 -1
  24. package/lib/module/screens/eSign/Store.js.map +1 -1
  25. package/lib/module/screens/eSign/index.js +1 -1
  26. package/lib/module/screens/eSign/index.js.map +1 -1
  27. package/lib/module/services/api/api-config.js +1 -1
  28. package/lib/module/services/api/api-config.js.map +1 -1
  29. package/lib/module/services/api/api.js +1 -1
  30. package/lib/module/services/api/api.js.map +1 -1
  31. package/lib/typescript/navigation/primary-navigator.d.ts +1 -0
  32. package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
  33. package/lib/typescript/screens/eSign/PreviewContract.d.ts +2 -0
  34. package/lib/typescript/screens/eSign/PreviewContract.d.ts.map +1 -0
  35. package/lib/typescript/screens/eSign/Store.d.ts +1 -0
  36. package/lib/typescript/screens/eSign/Store.d.ts.map +1 -1
  37. package/lib/typescript/screens/eSign/index.d.ts.map +1 -1
  38. package/lib/typescript/services/api/api.d.ts +16 -0
  39. package/lib/typescript/services/api/api.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/src/navigation/primary-navigator.tsx +6 -0
  42. package/src/screens/eSign/PreviewContract.tsx +76 -0
  43. package/src/screens/eSign/Store.tsx +22 -1
  44. package/src/screens/eSign/index.tsx +281 -181
  45. package/src/services/api/api-config.ts +2 -2
  46. package/src/services/api/api.ts +17 -0
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PrimaryNavigator=PrimaryNavigator;exports.canExit=exports.ScreenNames=void 0;var _react=_interopRequireDefault(require("react"));var _nativeStack=require("react-native-screens/native-stack");var _screens=require("../screens");var _otp=require("../screens/otp");var _nationalID=require("../screens/nationalID");var _selfie=require("../screens/selfie");var _register=require("../screens/register");var _camera=require("../screens/camera");var _TermScreen=require("../screens/terms/TermScreen");var _liveness=require("../screens/liveness");var _eSign=require("../screens/eSign");var _nationalIDBack=require("../screens/nationalIDBack");var _contract=require("../screens/contract");var _uploadVideo=require("../screens/uploadVideo");var _qualify=require("../screens/qualify");var _loginWithPassword=require("../screens/loginWithPassword");var _forgotPassword=require("../screens/forgotPassword");var _setPassword=require("../screens/setPassword");var _confirmPassword=require("../screens/setPassword/confirmPassword");var _quickSubmit=require("../screens/quick-submit");var _select=require("../components/select");var _fullSubmit=require("../screens/full-submit");var _introduction=require("../screens/introduction");var _cimbSign=require("../screens/cimb-sign");var _schedulePayment=require("../screens/schedule-payment");var _notification=require("../screens/notification");var _paymentList=require("../screens/schedule-payment/payment-list");var _CIMBxTima=require("../screens/home/CIMBxTima");var _QuickTerm=require("../screens/terms/QuickTerm");var _PaymentInfo=require("../screens/detail-loan/PaymentInfo");var _selfie2=require("../screens/full-submit/selfie");var _paymentEvidence=require("../screens/payment-evidence");var _guideTransferBank=require("../screens/guide-transfer-bank");var _TransferDetail=_interopRequireDefault(require("../screens/guide-transfer-bank/TransferDetail"));var _ViewContract=require("../screens/sign-tima/ViewContract");var _ConfirmContract=require("../screens/sign-tima/ConfirmContract");var _PaymentAll=require("../screens/detail-loan/PaymentAll");var _detailLoan=require("../screens/detail-loan");var _Guideline=_interopRequireDefault(require("../screens/payment-evidence/Guideline"));var _accept_policy=require("../screens/full-submit/accept_policy");var _digitalLending=require("../screens/digital-lending");var _DetailLoanTima=require("../screens/detail-loan/DetailLoanTima");var _mrzScanner=_interopRequireDefault(require("../screens/mrz-scanner"));var _livenessV=require("../screens/liveness-v2");var _jsxFileName="/Users/tima/Desktop/tima-care-v2/src/navigation/primary-navigator.tsx";var ScreenNames=exports.ScreenNames={Splash:'Splash',Main:'Main',Support:'Support',Compare:'Compare',OTP:'OTP',NationalID:'NationalID',Selfie:'Selfie',RegisterMotor:'RegisterMotor',Register:'Register',Camera:'Camera',Terms:'Terms',LiveNess:'LiveNess',ESign:'ESign',NationalIDBack:'NationalIDBack',Contract:'Contract',Video:'Video',Qualify:'Qualify',LoginWithPassword:'LoginWithPassword',ForgotPassword:'ForgotPassword',SetPassword:'SetPassword',ConfirmPassword:'ConfirmPassword',TopUp:'TopUp',QuickSubmit:'QuickSubmit',Introduction:'Introduction',FullSubmit:'FullSubmit',CommonSelect:'CommonSelect',UpdateLoan:'UpdateLoan',CIMBSign:'CIMBSign',SchedulePayment:'SchedulePayment',Notification:'Notification',PaymentList:'PaymentList',CIMBxTima:'CIMBxTima',QuickTerm:'QuickTerm',DetailLoan:'DetailLoan',PaymentInfo:'PaymentInfo',CimbSelfie:'CimbSelfie',PaymentEvidence:'PaymentEvidence',GuideTransferBank:'GuideTransferBank',TransferDetail:'TransferDetail',PaymentAll:'PaymentAll',ViewContract:'ViewContract',ConfirmContract:'ConfirmContract',Guideline:'Guideline',AcceptPolicy:'AcceptPolicy',DigitalLending:'DigitalLending',DetailLoanTima:'DetailLoanTima',MRZScanner:'MRZScanner',LivenessV2:'LivenessV2'};var Stack=(0,_nativeStack.createNativeStackNavigator)();function PrimaryNavigator(){return _react.default.createElement(Stack.Navigator,{initialRouteName:ScreenNames.Main,screenOptions:{headerShown:false,gestureEnabled:true},__self:this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:5}},_react.default.createElement(Stack.Screen,{name:ScreenNames.Splash,component:_screens.Splash,__self:this,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Register,component:_register.Register,__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Main,component:_screens.Main,__self:this,__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.OTP,component:_otp.OTP,__self:this,__source:{fileName:_jsxFileName,lineNumber:119,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalID,component:_nationalID.NationalID,__self:this,__source:{fileName:_jsxFileName,lineNumber:120,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Selfie,component:_selfie.Selfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:121,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Camera,component:_camera.Camera,__self:this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Terms,component:_TermScreen.TermScreen,__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LiveNess,component:_liveness.LiveNess,__self:this,__source:{fileName:_jsxFileName,lineNumber:124,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ESign,component:_eSign.ESign,__self:this,__source:{fileName:_jsxFileName,lineNumber:125,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalIDBack,component:_nationalIDBack.NationalIDBack,__self:this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoan,component:_detailLoan.DetailLoan,__self:this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Contract,component:_contract.Contract,__self:this,__source:{fileName:_jsxFileName,lineNumber:131,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Video,component:_uploadVideo.Video,__self:this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Qualify,component:_qualify.Qualify,__self:this,__source:{fileName:_jsxFileName,lineNumber:133,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LoginWithPassword,component:_loginWithPassword.LoginWithPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ForgotPassword,component:_forgotPassword.ForgotPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:138,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SetPassword,component:_setPassword.SetPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmPassword,component:_confirmPassword.ConfirmPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:143,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickSubmit,component:_quickSubmit.QuickSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:147,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Introduction,component:_introduction.Introduction,__self:this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.FullSubmit,component:_fullSubmit.FullSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:149,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CommonSelect,component:_select.CommonSelect,__self:this,__source:{fileName:_jsxFileName,lineNumber:150,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBSign,component:_cimbSign.CIMBSign,__self:this,__source:{fileName:_jsxFileName,lineNumber:151,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SchedulePayment,component:_schedulePayment.SchedulePayment,__self:this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Notification,component:_notification.Notification,__self:this,__source:{fileName:_jsxFileName,lineNumber:156,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentList,component:_paymentList.PaymentList,__self:this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBxTima,component:_CIMBxTima.CIMBxTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickTerm,component:_QuickTerm.QuickTerm,__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentInfo,component:_PaymentInfo.PaymentInfo,__self:this,__source:{fileName:_jsxFileName,lineNumber:160,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CimbSelfie,component:_selfie2.CimbSelfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentEvidence,component:_paymentEvidence.PaymentEvidence,__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.GuideTransferBank,component:_guideTransferBank.GuideTransferBank,__self:this,__source:{fileName:_jsxFileName,lineNumber:166,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.TransferDetail,component:_TransferDetail.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:170,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentAll,component:_PaymentAll.PaymentAll,__self:this,__source:{fileName:_jsxFileName,lineNumber:174,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ViewContract,component:_ViewContract.ViewContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:175,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmContract,component:_ConfirmContract.ConfirmContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:176,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Guideline,component:_Guideline.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:180,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.AcceptPolicy,component:_accept_policy.AcceptPolicy,__self:this,__source:{fileName:_jsxFileName,lineNumber:181,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DigitalLending,component:_digitalLending.DigitalLending,__self:this,__source:{fileName:_jsxFileName,lineNumber:182,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoanTima,component:_DetailLoanTima.DetailLoanTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:186,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.MRZScanner,component:_mrzScanner.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:190,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LivenessV2,component:_livenessV.LivenessV2,__self:this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:7}}));}var exitRoutes=['welcome'];var canExit=exports.canExit=function canExit(routeName){return exitRoutes.includes(routeName);};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PrimaryNavigator=PrimaryNavigator;exports.canExit=exports.ScreenNames=void 0;var _react=_interopRequireDefault(require("react"));var _nativeStack=require("react-native-screens/native-stack");var _screens=require("../screens");var _otp=require("../screens/otp");var _nationalID=require("../screens/nationalID");var _selfie=require("../screens/selfie");var _register=require("../screens/register");var _camera=require("../screens/camera");var _TermScreen=require("../screens/terms/TermScreen");var _liveness=require("../screens/liveness");var _eSign=require("../screens/eSign");var _nationalIDBack=require("../screens/nationalIDBack");var _contract=require("../screens/contract");var _uploadVideo=require("../screens/uploadVideo");var _qualify=require("../screens/qualify");var _loginWithPassword=require("../screens/loginWithPassword");var _forgotPassword=require("../screens/forgotPassword");var _setPassword=require("../screens/setPassword");var _confirmPassword=require("../screens/setPassword/confirmPassword");var _quickSubmit=require("../screens/quick-submit");var _select=require("../components/select");var _fullSubmit=require("../screens/full-submit");var _introduction=require("../screens/introduction");var _cimbSign=require("../screens/cimb-sign");var _schedulePayment=require("../screens/schedule-payment");var _notification=require("../screens/notification");var _paymentList=require("../screens/schedule-payment/payment-list");var _CIMBxTima=require("../screens/home/CIMBxTima");var _QuickTerm=require("../screens/terms/QuickTerm");var _PaymentInfo=require("../screens/detail-loan/PaymentInfo");var _selfie2=require("../screens/full-submit/selfie");var _paymentEvidence=require("../screens/payment-evidence");var _guideTransferBank=require("../screens/guide-transfer-bank");var _TransferDetail=_interopRequireDefault(require("../screens/guide-transfer-bank/TransferDetail"));var _ViewContract=require("../screens/sign-tima/ViewContract");var _ConfirmContract=require("../screens/sign-tima/ConfirmContract");var _PaymentAll=require("../screens/detail-loan/PaymentAll");var _detailLoan=require("../screens/detail-loan");var _Guideline=_interopRequireDefault(require("../screens/payment-evidence/Guideline"));var _accept_policy=require("../screens/full-submit/accept_policy");var _digitalLending=require("../screens/digital-lending");var _DetailLoanTima=require("../screens/detail-loan/DetailLoanTima");var _mrzScanner=_interopRequireDefault(require("../screens/mrz-scanner"));var _livenessV=require("../screens/liveness-v2");var _PreviewContract=_interopRequireDefault(require("../screens/eSign/PreviewContract"));var _jsxFileName="/Users/tima/Desktop/tima-care-v2/src/navigation/primary-navigator.tsx";var ScreenNames=exports.ScreenNames={Splash:'Splash',Main:'Main',Support:'Support',Compare:'Compare',OTP:'OTP',NationalID:'NationalID',Selfie:'Selfie',RegisterMotor:'RegisterMotor',Register:'Register',Camera:'Camera',Terms:'Terms',LiveNess:'LiveNess',ESign:'ESign',NationalIDBack:'NationalIDBack',Contract:'Contract',Video:'Video',Qualify:'Qualify',LoginWithPassword:'LoginWithPassword',ForgotPassword:'ForgotPassword',SetPassword:'SetPassword',ConfirmPassword:'ConfirmPassword',TopUp:'TopUp',QuickSubmit:'QuickSubmit',Introduction:'Introduction',FullSubmit:'FullSubmit',CommonSelect:'CommonSelect',UpdateLoan:'UpdateLoan',CIMBSign:'CIMBSign',SchedulePayment:'SchedulePayment',Notification:'Notification',PaymentList:'PaymentList',CIMBxTima:'CIMBxTima',QuickTerm:'QuickTerm',DetailLoan:'DetailLoan',PaymentInfo:'PaymentInfo',CimbSelfie:'CimbSelfie',PaymentEvidence:'PaymentEvidence',GuideTransferBank:'GuideTransferBank',TransferDetail:'TransferDetail',PaymentAll:'PaymentAll',ViewContract:'ViewContract',ConfirmContract:'ConfirmContract',Guideline:'Guideline',AcceptPolicy:'AcceptPolicy',DigitalLending:'DigitalLending',DetailLoanTima:'DetailLoanTima',MRZScanner:'MRZScanner',LivenessV2:'LivenessV2',PreviewContract:'PreviewContract'};var Stack=(0,_nativeStack.createNativeStackNavigator)();function PrimaryNavigator(){return _react.default.createElement(Stack.Navigator,{initialRouteName:ScreenNames.Main,screenOptions:{headerShown:false,gestureEnabled:true},__self:this,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:5}},_react.default.createElement(Stack.Screen,{name:ScreenNames.Splash,component:_screens.Splash,__self:this,__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Register,component:_register.Register,__self:this,__source:{fileName:_jsxFileName,lineNumber:119,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Main,component:_screens.Main,__self:this,__source:{fileName:_jsxFileName,lineNumber:120,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.OTP,component:_otp.OTP,__self:this,__source:{fileName:_jsxFileName,lineNumber:121,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalID,component:_nationalID.NationalID,__self:this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Selfie,component:_selfie.Selfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Camera,component:_camera.Camera,__self:this,__source:{fileName:_jsxFileName,lineNumber:124,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Terms,component:_TermScreen.TermScreen,__self:this,__source:{fileName:_jsxFileName,lineNumber:125,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LiveNess,component:_liveness.LiveNess,__self:this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ESign,component:_eSign.ESign,__self:this,__source:{fileName:_jsxFileName,lineNumber:127,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalIDBack,component:_nationalIDBack.NationalIDBack,__self:this,__source:{fileName:_jsxFileName,lineNumber:128,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoan,component:_detailLoan.DetailLoan,__self:this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Contract,component:_contract.Contract,__self:this,__source:{fileName:_jsxFileName,lineNumber:133,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Video,component:_uploadVideo.Video,__self:this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Qualify,component:_qualify.Qualify,__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LoginWithPassword,component:_loginWithPassword.LoginWithPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:136,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ForgotPassword,component:_forgotPassword.ForgotPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:140,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SetPassword,component:_setPassword.SetPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:144,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmPassword,component:_confirmPassword.ConfirmPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:145,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickSubmit,component:_quickSubmit.QuickSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:149,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Introduction,component:_introduction.Introduction,__self:this,__source:{fileName:_jsxFileName,lineNumber:150,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.FullSubmit,component:_fullSubmit.FullSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:151,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CommonSelect,component:_select.CommonSelect,__self:this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBSign,component:_cimbSign.CIMBSign,__self:this,__source:{fileName:_jsxFileName,lineNumber:153,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SchedulePayment,component:_schedulePayment.SchedulePayment,__self:this,__source:{fileName:_jsxFileName,lineNumber:154,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Notification,component:_notification.Notification,__self:this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentList,component:_paymentList.PaymentList,__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBxTima,component:_CIMBxTima.CIMBxTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:160,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickTerm,component:_QuickTerm.QuickTerm,__self:this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentInfo,component:_PaymentInfo.PaymentInfo,__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CimbSelfie,component:_selfie2.CimbSelfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:163,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentEvidence,component:_paymentEvidence.PaymentEvidence,__self:this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.GuideTransferBank,component:_guideTransferBank.GuideTransferBank,__self:this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.TransferDetail,component:_TransferDetail.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentAll,component:_PaymentAll.PaymentAll,__self:this,__source:{fileName:_jsxFileName,lineNumber:176,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ViewContract,component:_ViewContract.ViewContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmContract,component:_ConfirmContract.ConfirmContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:178,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Guideline,component:_Guideline.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:182,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.AcceptPolicy,component:_accept_policy.AcceptPolicy,__self:this,__source:{fileName:_jsxFileName,lineNumber:183,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DigitalLending,component:_digitalLending.DigitalLending,__self:this,__source:{fileName:_jsxFileName,lineNumber:184,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoanTima,component:_DetailLoanTima.DetailLoanTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:188,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.MRZScanner,component:_mrzScanner.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:192,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LivenessV2,component:_livenessV.LivenessV2,__self:this,__source:{fileName:_jsxFileName,lineNumber:193,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PreviewContract,component:_PreviewContract.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:194,columnNumber:7}}));}var exitRoutes=['welcome'];var canExit=exports.canExit=function canExit(routeName){return exitRoutes.includes(routeName);};
2
2
  //# sourceMappingURL=primary-navigator.js.map
@@ -50,6 +50,7 @@ import { DigitalLending } from '../screens/digital-lending';
50
50
  import { DetailLoanTima } from '../screens/detail-loan/DetailLoanTima';
51
51
  import MRZScanner from '../screens/mrz-scanner';
52
52
  import { LivenessV2 } from '../screens/liveness-v2';
53
+ import PreviewContract from '../screens/eSign/PreviewContract';
53
54
 
54
55
  export const ScreenNames = {
55
56
  Splash: 'Splash',
@@ -100,6 +101,7 @@ export const ScreenNames = {
100
101
  DetailLoanTima: 'DetailLoanTima',
101
102
  MRZScanner: 'MRZScanner',
102
103
  LivenessV2: 'LivenessV2',
104
+ PreviewContract: 'PreviewContract',
103
105
  };
104
106
 
105
107
  const Stack = createNativeStackNavigator();
@@ -189,6 +191,10 @@ export function PrimaryNavigator() {
189
191
  />
190
192
  <Stack.Screen name={ScreenNames.MRZScanner} component={MRZScanner} />
191
193
  <Stack.Screen name={ScreenNames.LivenessV2} component={LivenessV2} />
194
+ <Stack.Screen
195
+ name={ScreenNames.PreviewContract}
196
+ component={PreviewContract}
197
+ />
192
198
  </Stack.Navigator>
193
199
  );
194
200
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_nativeStack","_screens","_otp","_nationalID","_selfie","_register","_camera","_TermScreen","_liveness","_eSign","_nationalIDBack","_contract","_uploadVideo","_qualify","_loginWithPassword","_forgotPassword","_setPassword","_confirmPassword","_quickSubmit","_select","_fullSubmit","_introduction","_cimbSign","_schedulePayment","_notification","_paymentList","_CIMBxTima","_QuickTerm","_PaymentInfo","_selfie2","_paymentEvidence","_guideTransferBank","_TransferDetail","_ViewContract","_ConfirmContract","_PaymentAll","_detailLoan","_Guideline","_accept_policy","_digitalLending","_DetailLoanTima","_mrzScanner","_livenessV","_jsxFileName","ScreenNames","exports","Splash","Main","Support","Compare","OTP","NationalID","Selfie","RegisterMotor","Register","Camera","Terms","LiveNess","ESign","NationalIDBack","Contract","Video","Qualify","LoginWithPassword","ForgotPassword","SetPassword","ConfirmPassword","TopUp","QuickSubmit","Introduction","FullSubmit","CommonSelect","UpdateLoan","CIMBSign","SchedulePayment","Notification","PaymentList","CIMBxTima","QuickTerm","DetailLoan","PaymentInfo","CimbSelfie","PaymentEvidence","GuideTransferBank","TransferDetail","PaymentAll","ViewContract","ConfirmContract","Guideline","AcceptPolicy","DigitalLending","DetailLoanTima","MRZScanner","LivenessV2","Stack","createNativeStackNavigator","PrimaryNavigator","default","createElement","Navigator","initialRouteName","screenOptions","headerShown","gestureEnabled","__self","__source","fileName","lineNumber","columnNumber","Screen","name","component","TermScreen","exitRoutes","canExit","routeName","includes"],"sourceRoot":"../../../src","sources":["navigation/primary-navigator.tsx"],"mappings":"iOAOA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,sCACA,IAAAE,QAAA,CAAAF,OAAA,eACA,IAAAG,IAAA,CAAAH,OAAA,mBACA,IAAAI,WAAA,CAAAJ,OAAA,0BACA,IAAAK,OAAA,CAAAL,OAAA,sBACA,IAAAM,SAAA,CAAAN,OAAA,wBACA,IAAAO,OAAA,CAAAP,OAAA,sBACA,IAAAQ,WAAA,CAAAR,OAAA,gCACA,IAAAS,SAAA,CAAAT,OAAA,wBACA,IAAAU,MAAA,CAAAV,OAAA,qBACA,IAAAW,eAAA,CAAAX,OAAA,8BACA,IAAAY,SAAA,CAAAZ,OAAA,wBACA,IAAAa,YAAA,CAAAb,OAAA,2BACA,IAAAc,QAAA,CAAAd,OAAA,uBACA,IAAAe,kBAAA,CAAAf,OAAA,iCACA,IAAAgB,eAAA,CAAAhB,OAAA,8BACA,IAAAiB,YAAA,CAAAjB,OAAA,2BACA,IAAAkB,gBAAA,CAAAlB,OAAA,2CACA,IAAAmB,YAAA,CAAAnB,OAAA,4BACA,IAAAoB,OAAA,CAAApB,OAAA,yBACA,IAAAqB,WAAA,CAAArB,OAAA,2BACA,IAAAsB,aAAA,CAAAtB,OAAA,4BACA,IAAAuB,SAAA,CAAAvB,OAAA,yBACA,IAAAwB,gBAAA,CAAAxB,OAAA,gCACA,IAAAyB,aAAA,CAAAzB,OAAA,4BACA,IAAA0B,YAAA,CAAA1B,OAAA,6CACA,IAAA2B,UAAA,CAAA3B,OAAA,8BACA,IAAA4B,UAAA,CAAA5B,OAAA,+BACA,IAAA6B,YAAA,CAAA7B,OAAA,uCACA,IAAA8B,QAAA,CAAA9B,OAAA,kCACA,IAAA+B,gBAAA,CAAA/B,OAA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","_interopRequireDefault","require","_nativeStack","_screens","_otp","_nationalID","_selfie","_register","_camera","_TermScreen","_liveness","_eSign","_nationalIDBack","_contract","_uploadVideo","_qualify","_loginWithPassword","_forgotPassword","_setPassword","_confirmPassword","_quickSubmit","_select","_fullSubmit","_introduction","_cimbSign","_schedulePayment","_notification","_paymentList","_CIMBxTima","_QuickTerm","_PaymentInfo","_selfie2","_paymentEvidence","_guideTransferBank","_TransferDetail","_ViewContract","_ConfirmContract","_PaymentAll","_detailLoan","_Guideline","_accept_policy","_digitalLending","_DetailLoanTima","_mrzScanner","_livenessV","_PreviewContract","_jsxFileName","ScreenNames","exports","Splash","Main","Support","Compare","OTP","NationalID","Selfie","RegisterMotor","Register","Camera","Terms","LiveNess","ESign","NationalIDBack","Contract","Video","Qualify","LoginWithPassword","ForgotPassword","SetPassword","ConfirmPassword","TopUp","QuickSubmit","Introduction","FullSubmit","CommonSelect","UpdateLoan","CIMBSign","SchedulePayment","Notification","PaymentList","CIMBxTima","QuickTerm","DetailLoan","PaymentInfo","CimbSelfie","PaymentEvidence","GuideTransferBank","TransferDetail","PaymentAll","ViewContract","ConfirmContract","Guideline","AcceptPolicy","DigitalLending","DetailLoanTima","MRZScanner","LivenessV2","PreviewContract","Stack","createNativeStackNavigator","PrimaryNavigator","default","createElement","Navigator","initialRouteName","screenOptions","headerShown","gestureEnabled","__self","__source","fileName","lineNumber","columnNumber","Screen","name","component","TermScreen","exitRoutes","canExit","routeName","includes"],"sourceRoot":"../../../src","sources":["navigation/primary-navigator.tsx"],"mappings":"iOAOA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,sCACA,IAAAE,QAAA,CAAAF,OAAA,eACA,IAAAG,IAAA,CAAAH,OAAA,mBACA,IAAAI,WAAA,CAAAJ,OAAA,0BACA,IAAAK,OAAA,CAAAL,OAAA,sBACA,IAAAM,SAAA,CAAAN,OAAA,wBACA,IAAAO,OAAA,CAAAP,OAAA,s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");Object.defineProperty(exports,"__esModule",{value:true});exports.default=PreviewContract;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _MText=require("../../components/MText");var _theme=require("../../theme");var _icons=require("../../assets/icons");var _CommonStyles=require("../CommonStyles");var _MButton=_interopRequireDefault(require("../../components/MButton"));var _native=require("@react-navigation/native");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _jsxFileName="/Users/tima/Desktop/tima-care-v2/src/screens/eSign/PreviewContract.tsx";function PreviewContract(props){var _props$route;var navigation=(0,_native.useNavigation)();var source=props==null?void 0:(_props$route=props.route)==null?void 0:_props$route.params;return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:16,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{paddingHorizontal:16,height:55}],__self:this,__source:{fileName:_jsxFileName,lineNumber:18,columnNumber:9}},_react.default.createElement(_MButton.default,{onPress:function onPress(){navigation.goBack();},style:{width:30,height:55,justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:25,columnNumber:11}},_react.default.createElement(_icons.IconBack,{width:18,height:18,fill:'black',__self:this,__source:{fileName:_jsxFileName,lineNumber:37,columnNumber:13}})),_react.default.createElement(_MText.MText,{style:{marginRight:30,fontSize:16,paddingHorizontal:4,color:_theme.color.headerColor,fontWeight:'bold',textAlign:'center',flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:40,columnNumber:11}})),_react.default.createElement(_reactNative.View,{style:{backgroundColor:_theme.color.border},__self:this,__source:{fileName:_jsxFileName,lineNumber:52,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:9}},_react.default.createElement(_reactNativePdf.default,{source:source,onLoadComplete:function onLoadComplete(numberOfPages,filePath){console.log("Number of pages: "+numberOfPages);},onPageChanged:function onPageChanged(page,numberOfPages){console.log("Current page: "+page);},onError:function onError(error){console.log(error);},onPressLink:function onPressLink(uri){console.log("Link pressed: "+uri);},style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:54,columnNumber:11}}))));}
2
+ //# sourceMappingURL=PreviewContract.js.map
@@ -0,0 +1,76 @@
1
+ //@ts-nocheck
2
+ import React from 'react';
3
+ import { SafeAreaView, View } from 'react-native';
4
+ import { MText } from '../../components/MText';
5
+ import { color } from '../../theme';
6
+ import { IconBack } from '../../assets/icons';
7
+ import { commonStyles } from '../CommonStyles';
8
+ import MButton from '../../components/MButton';
9
+ import { useNavigation } from '@react-navigation/native';
10
+ import Pdf from 'react-native-pdf';
11
+
12
+ export default function PreviewContract(props: any) {
13
+ const navigation = useNavigation();
14
+ const source = props?.route?.params;
15
+ return (
16
+ <View style={{ flex: 1, backgroundColor: 'white' }}>
17
+ <SafeAreaView style={{ flex: 1 }}>
18
+ <View
19
+ style={[
20
+ commonStyles.row,
21
+ commonStyles.alignCenter,
22
+ { paddingHorizontal: 16, height: 55 },
23
+ ]}
24
+ >
25
+ <MButton
26
+ //@ts-ignore
27
+ onPress={() => {
28
+ navigation.goBack();
29
+ }}
30
+ style={{
31
+ width: 30,
32
+ height: 55,
33
+ justifyContent: 'center',
34
+ alignItems: 'center',
35
+ }}
36
+ >
37
+ <IconBack width={18} height={18} fill={'black'} />
38
+ </MButton>
39
+
40
+ <MText
41
+ style={{
42
+ marginRight: 30,
43
+ fontSize: 16,
44
+ paddingHorizontal: 4,
45
+ color: color.headerColor,
46
+ fontWeight: 'bold',
47
+ textAlign: 'center',
48
+ flex: 1,
49
+ }}
50
+ ></MText>
51
+ </View>
52
+ <View style={{ backgroundColor: color.border }} />
53
+ <View style={{ flex: 1 }}>
54
+ <Pdf
55
+ source={source}
56
+ onLoadComplete={(numberOfPages, filePath) => {
57
+ console.log(`Number of pages: ${numberOfPages}`);
58
+ }}
59
+ onPageChanged={(page, numberOfPages) => {
60
+ console.log(`Current page: ${page}`);
61
+ }}
62
+ onError={(error) => {
63
+ console.log(error);
64
+ }}
65
+ onPressLink={(uri) => {
66
+ console.log(`Link pressed: ${uri}`);
67
+ }}
68
+ style={{
69
+ flex: 1,
70
+ }}
71
+ />
72
+ </View>
73
+ </SafeAreaView>
74
+ </View>
75
+ );
76
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_MText","_theme","_icons","_CommonStyles","_MButton","_native","_reactNativePdf","_jsxFileName","PreviewContract","props","_props$route","navigation","useNavigation","source","route","params","default","createElement","View","style","flex","backgroundColor","__self","__source","fileName","lineNumber","columnNumber","SafeAreaView","commonStyles","row","alignCenter","paddingHorizontal","height","onPress","goBack","width","justifyContent","alignItems","IconBack","fill","MText","marginRight","fontSize","color","headerColor","fontWeight","textAlign","border","onLoadComplete","numberOfPages","filePath","console","log","onPageChanged","page","onError","error","onPressLink","uri"],"sourceRoot":"../../../../src","sources":["screens/eSign/PreviewContract.tsx"],"mappings":"4KACA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,MAAA,CAAAF,OAAA,2BACA,IAAAG,MAAA,CAAAH,OAAA,gBACA,IAAAI,MAAA,CAAAJ,OAAA,uBACA,IAAAK,aAAA,CAAAL,OAAA,oBACA,IAAAM,QAAA,CAAAP,sBAAA,CAAAC,OAAA,8BACA,IAAAO,OAAA,CAAAP,OAAA,6BACA,IAAAQ,eAAA,CAAAT,sBAAA,CAAAC,OAAA,sBAAmC,IAAAS,YAAA,0EAEpB,QAAS,CAAAC,eAAeA,CAACC,KAAU,CAAE,KAAAC,YAAA,CAClD,GAAM,CAAAC,UAAU,CAAG,GAAAC,qBAAa,EAAC,CAAC,CAClC,GAAM,CAAAC,MAAM,CAAGJ,KAAK,eAA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,CAAEL,aAAa,CAAK,CACtCE,OAAO,CAACC,GAAG,kBAAkBE,IAAM,CAAC,CACtC,CAAE,CACFC,OAAO,CAAE,SAAAA,QAACC,KAAK,CAAK,CAClBL,OAAO,CAACC,GAAG,CAACI,KAAK,CAAC,CACpB,CAAE,CACFC,WAAW,CAAE,SAAAA,YAACC,GAAG,CAAK,CACpBP,OAAO,CAACC,GAAG,kBAAkBM,GAAK,CAAC,CACrC,CAAE,CACFvC,KAAK,CAAE,CACLC,IAAI,CAAE,CACR,CAAE,CAAAE,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAjB,YAAA,CAAAkB,UAAA,IAAAC,YAAA,KACH,CACG,CACM,CACV,CAAC,CAEX"}
@@ -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 _api=require("../../services/api");var _log=require("../../utils/log");var _reactNative=require("react-native");var _class,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_descriptor6,_descriptor7,_descriptor8;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);(0,_initializerDefineProperty2.default)(this,"isError",_descriptor2,this);(0,_initializerDefineProperty2.default)(this,"signLoading",_descriptor3,this);(0,_initializerDefineProperty2.default)(this,"reSendOTPLoading",_descriptor4,this);(0,_initializerDefineProperty2.default)(this,"countDown",_descriptor5,this);(0,_initializerDefineProperty2.default)(this,"currentTime",_descriptor6,this);(0,_initializerDefineProperty2.default)(this,"linkPreview",_descriptor7,this);(0,_initializerDefineProperty2.default)(this,"linkContract",_descriptor8,this);}(0,_createClass2.default)(Store,[{key:"signContractForBorrower",value:function signContractForBorrower(body,onSuccess,onFailure){var response;return _regenerator.default.async(function signContractForBorrower$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(_api.Api.getInstance().signContractForBorrower(body));case 2:response=_context.sent;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.isError=false;this.linkPreview=response.data.data;if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{this.isLoading=false;this.isError=false;if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}case 5:case"end":return _context.stop();}},null,this,null,Promise);}},{key:"confirmSignContractForBorrower",value:function confirmSignContractForBorrower(body,onSuccess,onFailure){var response;return _regenerator.default.async(function confirmSignContractForBorrower$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;this.isLoading=true;_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().confirmSignContractForBorrower(body));case 4:response=_context2.sent;this.isLoading=false;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.linkContract=response.data.data;if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}_context2.next=14;break;case 10:_context2.prev=10;_context2.t0=_context2["catch"](0);if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);case 14:case"end":return _context2.stop();}},null,this,[[0,10]],Promise);}},{key:"reSendOTP",value:function reSendOTP(body,onSuccess,onFailure){var response;return _regenerator.default.async(function reSendOTP$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.prev=0;this.reSendOTPLoading=true;_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().eSignSendOTP(body));case 4:response=_context3.sent;this.reSendOTPLoading=false;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}_context3.next=14;break;case 10:_context3.prev=10;_context3.t0=_context3["catch"](0);if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);case 14:case"end":return _context3.stop();}},null,this,[[0,10]],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,"isError",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor3=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"signLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor4=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"reSendOTPLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor5=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"countDown",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:null}),_descriptor6=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"currentTime",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return 300;}}),_descriptor7=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"linkPreview",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return'';}}),_descriptor8=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"linkContract",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return'';}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"signContractForBorrower",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"signContractForBorrower"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmSignContractForBorrower",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmSignContractForBorrower"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"reSendOTP",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"reSendOTP"),_class.prototype)),_class);var eSignStore=new Store();var _default=exports.default=eSignStore;
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 _api=require("../../services/api");var _log=require("../../utils/log");var _reactNative=require("react-native");var _class,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_descriptor6,_descriptor7,_descriptor8;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);(0,_initializerDefineProperty2.default)(this,"isError",_descriptor2,this);(0,_initializerDefineProperty2.default)(this,"signLoading",_descriptor3,this);(0,_initializerDefineProperty2.default)(this,"reSendOTPLoading",_descriptor4,this);(0,_initializerDefineProperty2.default)(this,"countDown",_descriptor5,this);(0,_initializerDefineProperty2.default)(this,"currentTime",_descriptor6,this);(0,_initializerDefineProperty2.default)(this,"linkPreview",_descriptor7,this);(0,_initializerDefineProperty2.default)(this,"linkContract",_descriptor8,this);}(0,_createClass2.default)(Store,[{key:"signContractForBorrower",value:function signContractForBorrower(body,onSuccess,onFailure){var response;return _regenerator.default.async(function signContractForBorrower$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(_api.Api.getInstance().signContractForBorrower(body));case 2:response=_context.sent;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.isError=false;this.linkPreview=response.data.data;if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{this.isLoading=false;this.isError=false;if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}case 5:case"end":return _context.stop();}},null,this,null,Promise);}},{key:"confirmSignContractForBorrower",value:function confirmSignContractForBorrower(body,onSuccess,onFailure){var response;return _regenerator.default.async(function confirmSignContractForBorrower$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;this.isLoading=true;_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().confirmSignContractForBorrower(body));case 4:response=_context2.sent;this.isLoading=false;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){this.linkContract=response.data.data;if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}_context2.next=14;break;case 10:_context2.prev=10;_context2.t0=_context2["catch"](0);if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);case 14:case"end":return _context2.stop();}},null,this,[[0,10]],Promise);}},{key:"reSendOTP",value:function reSendOTP(body,onSuccess,onFailure){var response;return _regenerator.default.async(function reSendOTP$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.prev=0;this.reSendOTPLoading=true;_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().eSignSendOTP(body));case 4:response=_context3.sent;this.reSendOTPLoading=false;(0,_log.myLog)(response);if(response.kind==='ok'){if(response.data.meta.errorCode===200){if(onSuccess){onSuccess(response.data.data);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo',response.data.meta.errorMessage,[{text:'Đồng ý'}]);}}else{if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);}_context3.next=14;break;case 10:_context3.prev=10;_context3.t0=_context3["catch"](0);if(onFailure){onFailure();}_reactNative.Alert.alert('Thông báo','Lỗi đã xảy ra. Vui lòng thực hiện lại',[{text:'Đồng ý'}]);case 14:case"end":return _context3.stop();}},null,this,[[0,10]],Promise);}},{key:"getPreviewContract",value:function getPreviewContract(id,onSuccess,onError){var response;return _regenerator.default.async(function getPreviewContract$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.prev=0;_context4.next=3;return _regenerator.default.awrap(_api.Api.getInstance().previewContract(id));case 3:response=_context4.sent;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);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();}_context4.next=11;break;case 7:_context4.prev=7;_context4.t0=_context4["catch"](0);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');if(onError)onError();case 11:case"end":return _context4.stop();}},null,null,[[0,7]],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,"isError",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor3=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"signLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor4=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"reSendOTPLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor5=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"countDown",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:null}),_descriptor6=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"currentTime",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return 10;}}),_descriptor7=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"linkPreview",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return'';}}),_descriptor8=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"linkContract",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return'';}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"signContractForBorrower",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"signContractForBorrower"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"confirmSignContractForBorrower",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"confirmSignContractForBorrower"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"reSendOTP",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"reSendOTP"),_class.prototype),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getPreviewContract",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getPreviewContract"),_class.prototype)),_class);var eSignStore=new Store();var _default=exports.default=eSignStore;
2
2
  //# sourceMappingURL=Store.js.map
@@ -11,7 +11,7 @@ class Store {
11
11
  @observable reSendOTPLoading = false;
12
12
 
13
13
  @observable countDown;
14
- @observable currentTime = 300;
14
+ @observable currentTime = 10;
15
15
 
16
16
  @observable linkPreview = '';
17
17
  @observable linkContract = '';
@@ -125,6 +125,27 @@ class Store {
125
125
  ]);
126
126
  }
127
127
  }
128
+
129
+ @action
130
+ async getPreviewContract(id, onSuccess, onError) {
131
+ try {
132
+ const response = await Api.getInstance().previewContract(id);
133
+ if (response.kind === 'ok') {
134
+ if (response.data.meta.errorCode === 200) {
135
+ if (onSuccess) onSuccess(response.data.data);
136
+ } else {
137
+ Alert.alert('Thông báo', response.data.meta.errorMessage);
138
+ if (onError) onError();
139
+ }
140
+ } else {
141
+ Alert.alert('Thông báo', 'Có lỗi xảy ra. Vui lòng thử lại sau');
142
+ if (onError) onError();
143
+ }
144
+ } catch (error) {
145
+ Alert.alert('Thông báo', 'Có lỗi xảy ra. Vui lòng thử lại sau');
146
+ if (onError) onError();
147
+ }
148
+ }
128
149
  }
129
150
  const eSignStore = new Store();
130
151
  export default eSignStore;
@@ -1 +1 @@
1
- {"version":3,"names":["_mobx","require","_api","_log","_reactNative","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","signContractForBorrower","body","onSuccess","onFailure","response","_regenerator","async","signContractForBorrower$","_context","prev","next","awrap","Api","getInstance","sent","myLog","kind","data","meta","errorCode","isError","linkPreview","Alert","alert","errorMessage","text","isLoading","stop","Promise","confirmSignContractForBorrower","confirmSignContractForBorrower$","_context2","linkContract","t0","reSendOTP","reSendOTP$","_context3","reSendOTPLoading","eSignSendOTP","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","eSignStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/eSign/Store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SAEA,IAAAC,IAAA,CAAAD,OAAA,uBACA,IAAAE,IAAA,CAAAF,OAAA,oBACA,IAAAG,YAAA,CAAAH,OAAA,iBAAqC,IAAAI,MAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,IAC/B,CAAAC,KAAK,EAAAT,MAAA,qBAAAS,MAAA,KAAAC,gBAAA,CAAAC,OAAA,OAAAF,KAAA,KAAAG,2BAAA,CAAAD,OAAA,mBAAAV,WAAA,UAAAW,2BAAA,CAAAD,OAAA,iBAAAT,YAAA,UAAAU,2BAAA,CAAAD,OAAA,qBAAAR,YAAA,UAAAS,2BAAA,CAAAD,OAAA,0BAAAP,YAAA,UAAAQ,2BAAA,CAAAD,OAAA,mBAAAN,YAAA,UAAAO,2BAAA,CAAAD,OAAA,qBAAAL,YAAA,UAAAM,2BAAA,CAAAD,OAAA,qBAAAJ,YAAA,UAAAK,2BAAA,CAAAD,OAAA,sBAAAH,YAAA,WAAAK,aAAA,CAAAF,OAAA,EAAAF,KAAA,GAAAK,GAAA,2BAAAC,KAAA,CAYT,SAAAC,wBAC8BC,IAAI,CAAEC,SAAU,CAAEC,SAAU,MAAAC,QAAA,QAAAC,YAAA,CAAAV,OAAA,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or2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","signContractForBorrower","body","onSuccess","onFailure","response","_regenerator","async","signContractForBorrower$","_context","prev","next","awrap","Api","getInstance","sent","myLog","kind","data","meta","errorCode","isError","linkPreview","Alert","alert","errorMessage","text","isLoading","stop","Promise","confirmSignContractForBorrower","confirmSignContractForBorrower$","_context2","linkContract","t0","reSendOTP","reSendOTP$","_context3","reSendOTPLoading","eSignSendOTP","getPreviewContract","id","onError","getPreviewContract$","_context4","previewContract","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","eSignStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/eSign/Store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SAEA,IAAAC,IAAA,CAAAD,OAAA,uBACA,IAAAE,IAAA,CAAAF,OAAA,oBACA,IAAAG,YAAA,CAAAH,OAAA,iBAAqC,IAAAI,MAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,IAC/B,CAAAC,KAAK,EAAAT,MAAA,qBAAAS,MAAA,KAAAC,gBAAA,CAAAC,OAAA,OAAAF,KAAA,KAAAG,2BAAA,CAAAD,OAAA,mBAAAV,WAAA,UAAAW,2BAAA,CAAAD,OAAA,iBAAAT,YAAA,UAAAU,2BAAA,CAAAD,OAAA,qBAAAR,YAAA,UAAAS,2BAAA,CAAAD,OAAA,0BAAAP,YAAA,UAAAQ,2BAAA,CAAAD,OAAA,mBAAAN,YAAA,UAAAO,2BAAA,CAAAD,OAAA,qBAAAL,YAAA,UAAAM,2BAAA,CAAAD,OAAA,qBAAAJ,YAAA,UAAAK,2BAAA,CAAAD,OAAA,sBAAAH,YAAA,WAAAK,aAAA,CAAAF,OAAA,EAAAF,KAAA,GAAA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8D,SAAA,uBAAA9D,MAAA,CAAA8D,SAAA,GAAA9D,MAAA,EAqBT,GAAM,CAAAuE,UAAU,CAAG,GAAI,CAAA9D,KAAK,CAAC,CAAC,CAAC,IAAA+D,QAAA,CAAAC,OAAA,CAAA9D,OAAA,CAChB4D,UAAU"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ESign=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _CommonStyles=require("../CommonStyles");var _MButton=_interopRequireDefault(require("../../components/MButton"));var _MText=require("../../components/MText");var _theme=require("../../theme");var _icons=require("../../assets/icons");var _formik=require("formik");var _log=require("../../utils/log");var yup=_interopRequireWildcard(require("yup"));var _Store=_interopRequireDefault(require("./Store"));var _navigation=require("../../navigation");var _reactNativeSlackWebhook=_interopRequireDefault(require("react-native-slack-webhook"));var _jsxFileName="/Users/tima/Desktop/tima-care-v2/src/screens/eSign/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&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 webHookURL='https://hooks.slack.com/services/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';var ESign=exports.ESign=(0,_mobxReactLite.observer)(function ESign(props){var _props$route$params,_this=this;var navigation=(0,_native.useNavigation)();var loan=(_props$route$params=props.route.params)==null?void 0:_props$route$params.loan;var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),visible=_useState2[0],setIsVisible=_useState2[1];var countDown=function countDown(){_Store.default.currentTime=300;try{clearInterval(_Store.default.countDown);}catch(e){}_Store.default.countDown=setInterval(function(){if(_Store.default.currentTime>0){_Store.default.currentTime=_Store.default.currentTime-1;(0,_log.myLog)(_Store.default.currentTime);}else{clearInterval(_Store.default.countDown);}},1000);};var verify=function verify(OTP){if(!_Store.default.isLoading){_Store.default.confirmSignContractForBorrower({loanBriefId:loan.id,otp:OTP},function(){try{new _reactNativeSlackWebhook.default(webHookURL).post(JSON.stringify({loanID:loan.id,eSign:'Success'}),'#timacare');}catch(e){}navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Contract,params:{uri:'http://'+_Store.default.linkContract}}]}));});}};(0,_react.useEffect)(function(){_Store.default.signContractForBorrower({loanBriefId:loan.id},function(){countDown();},function(){navigation.goBack();});return function(){clearInterval(_Store.default.countDown);};},[]);var back=function back(){navigation.goBack();};var reSendOTP=function reSendOTP(){_Store.default.reSendOTP({customerId:loan.id},function(){countDown();});};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:120,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:121,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{paddingHorizontal:16,height:55}],__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:11}},_react.default.createElement(_MButton.default,{onPress:function onPress(){back();},style:{width:30,height:55,justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:13}},_react.default.createElement(_icons.IconBack,{width:18,height:18,fill:'black',__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:{marginRight:30,fontSize:16,paddingHorizontal:4,color:_theme.color.headerColor,fontWeight:'bold',textAlign:'center',flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:145,columnNumber:13}},'eSign')),_react.default.createElement(_reactNative.View,{style:{backgroundColor:_theme.color.border},__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:11}}),_react.default.createElement(_reactNative.ScrollView,{keyboardShouldPersistTaps:'always',style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:160,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{shadowColor:'#aaaaaa59',shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:5,backgroundColor:'white',elevation:2,margin:16,padding:24,borderRadius:4,borderWidth:1,borderColor:_theme.color.border,alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:13}},_react.default.createElement(_formik.Formik,{initialValues:{otp:__DEV__?'':''},onSubmit:function onSubmit(values){},validationSchema:yup.object().shape({otp:yup.string().required('Yêu cầu mã OTP.')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:180,columnNumber:15}},function(_ref){var values=_ref.values,handleChange=_ref.handleChange,errors=_ref.errors,setFieldTouched=_ref.setFieldTouched,setFieldValue=_ref.setFieldValue,touched=_ref.touched,isValid=_ref.isValid,handleSubmit=_ref.handleSubmit;return _react.default.createElement(_reactNative.View,{style:{},__self:_this,__source:{fileName:_jsxFileName,lineNumber:199,columnNumber:19}},_Store.default.isLoading?_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.alignCenter,_CommonStyles.commonStyles.justifyCenter,{paddingVertical:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:201,columnNumber:23}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'large',color:_theme.color.primary,__self:_this,__source:{fileName:_jsxFileName,lineNumber:208,columnNumber:25}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:212,columnNumber:25}},"\u0110ang x\xE1c th\u1EF1c s\u1ED1 \u0111i\u1EC7n tho\u1EA1i c\u1EE7a b\u1EA1n")):_react.default.createElement(_reactNative.View,{style:{width:'80%'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:215,columnNumber:23}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:_theme.color.textHeader,marginBottom:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:216,columnNumber:25}},"Nh\u1EADp m\xE3 OTP"),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter],__self:_this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:25}},_react.default.createElement(_MText.MTextInput,{placeholderTextColor:'#939598',placeholder:'••••••',style:[_CommonStyles.commonStyles.textNormal,_CommonStyles.commonStyles.fill,{textAlign:'center',fontSize:16,borderRadius:4,borderWidth:1,borderColor:_theme.color.border,paddingVertical:_reactNative.Platform.OS==='android'?8:14,paddingHorizontal:16}],onChangeText:function onChangeText(text){setFieldValue('otp',text);if(text.length===6&&_Store.default.currentTime!==0){verify(text);}},maxLength:6,onBlur:function onBlur(){return setFieldTouched('otp');},returnKeyType:'done',value:values.otp,autoFocus:true,textContentType:'oneTimeCode',keyboardType:'numeric',__self:_this,__source:{fileName:_jsxFileName,lineNumber:226,columnNumber:27}})),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#AAAAAA',marginTop:8,fontStyle:'italic'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:261,columnNumber:25}},"Tin nh\u1EAFn SMS s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi t\u1EDBi s\u1ED1 \u0111i\u1EC7n tho\u1EA1i c\u1EE7a b\u1EA1n c\xF3 h\u1EA1n l\xE0 5 ph\xFAt")));}),_Store.default.currentTime===0?_react.default.createElement(_MButton.default,{onPress:reSendOTP,style:[_CommonStyles.commonStyles.alignCenter,_CommonStyles.commonStyles.justifyCenter,{marginTop:12,backgroundColor:_theme.color.primary,height:50,borderRadius:4,paddingHorizontal:20,marginLeft:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:17}},_Store.default.reSendOTPLoading?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',size:'small',__self:this,__source:{fileName:_jsxFileName,lineNumber:291,columnNumber:21}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'white'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:293,columnNumber:21}},"L\u1EA5y OTP")):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:12,paddingHorizontal:16,color:_theme.color.primary}],__self:this,__source:{fileName:_jsxFileName,lineNumber:301,columnNumber:17}},_Store.default.currentTime,"s")),_react.default.createElement(_MButton.default,{onPress:function onPress(){return setIsVisible(true);},__self:this,__source:{fileName:_jsxFileName,lineNumber:315,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:{uri:_Store.default.linkPreview},style:{width:_reactNative.Dimensions.get('window').width-32,height:(_reactNative.Dimensions.get('window').width-32)*16/9,marginHorizontal:16,marginVertical:12,backgroundColor:'#f0f0f0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:316,columnNumber:15}}))))));});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ESign=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _CommonStyles=require("../CommonStyles");var _MButton=_interopRequireDefault(require("../../components/MButton"));var _MText=require("../../components/MText");var _theme=require("../../theme");var _icons=require("../../assets/icons");var _formik=require("formik");var yup=_interopRequireWildcard(require("yup"));var _Store=_interopRequireDefault(require("./Store"));var _navigation=require("../../navigation");var _reactNativeSlackWebhook=_interopRequireDefault(require("react-native-slack-webhook"));var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _Loading=_interopRequireDefault(require("../../components/Loading"));var _jsxFileName="/Users/tima/Desktop/tima-care-v2/src/screens/eSign/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&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 webHookURL='https://hooks.slack.com/services/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';var ESign=exports.ESign=(0,_mobxReactLite.observer)(function ESign(props){var _props$route$params,_this=this;var navigation=(0,_native.useNavigation)();var loan=(_props$route$params=props.route.params)==null?void 0:_props$route$params.loan;var _useState=(0,_react.useState)(true),_useState2=(0,_slicedToArray2.default)(_useState,2),loading=_useState2[0],setLoading=_useState2[1];var _useState3=(0,_react.useState)(),_useState4=(0,_slicedToArray2.default)(_useState3,2),contract=_useState4[0],setContract=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),showModal=_useState6[0],setShowModal=_useState6[1];var _useState7=(0,_react.useState)(false),_useState8=(0,_slicedToArray2.default)(_useState7,2),isLoading=_useState8[0],setIsLoading=_useState8[1];var _useState9=(0,_react.useState)(300),_useState10=(0,_slicedToArray2.default)(_useState9,2),currentTime=_useState10[0],setCurrentTime=_useState10[1];var timerRef=_react.default.useRef(currentTime);var countDown=function countDown(){var timerId=setInterval(function(){timerRef.current-=1;if(timerRef.current<0){clearInterval(timerId);}else{setCurrentTime(timerRef.current);}},1000);return function(){clearInterval(timerId);};};var verify=function verify(OTP){if(!_Store.default.isLoading){_Store.default.confirmSignContractForBorrower({loanBriefId:loan.id,otp:OTP},function(){try{new _reactNativeSlackWebhook.default(webHookURL).post(JSON.stringify({loanID:loan.id,eSign:'Success'}),'#timacare');}catch(e){}setShowModal(false);setTimeout(function(){_reactNative.Alert.alert('Thông báo','Ký hợp đồng thành công',[{text:'Đồng ý',onPress:function onPress(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));}}]);},300);});}};var signContract=function signContract(){setIsLoading(true);_Store.default.signContractForBorrower({loanBriefId:loan.id},function(){setIsLoading(false);setShowModal(true);countDown();},function(){navigation.goBack();setIsLoading(false);});};var back=function back(){navigation.goBack();};var reSendOTP=function reSendOTP(){_Store.default.reSendOTP({customerId:loan.id},function(){setCurrentTime(300);timerRef.current=300;countDown();});};(0,_react.useEffect)(function(){_Store.default.getPreviewContract(loan==null?void 0:loan.id,function(res){setContract(res);setLoading(false);},function(){setLoading(false);});},[]);return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:156,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{paddingHorizontal:16,height:55}],__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:11}},_react.default.createElement(_MButton.default,{onPress:function onPress(){back();},style:{width:30,height:55,justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:166,columnNumber:13}},_react.default.createElement(_icons.IconBack,{width:18,height:18,fill:'black',__self:this,__source:{fileName:_jsxFileName,lineNumber:178,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:{marginRight:30,fontSize:16,paddingHorizontal:4,color:_theme.color.headerColor,fontWeight:'bold',textAlign:'center',flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:181,columnNumber:13}},"K\xFD h\u1EE3p \u0111\u1ED3ng")),_react.default.createElement(_reactNative.View,{style:{backgroundColor:_theme.color.border},__self:this,__source:{fileName:_jsxFileName,lineNumber:195,columnNumber:11}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:197,columnNumber:11}},_react.default.createElement(_reactNativePdf.default,{source:{uri:'data:application/pdf;base64,'+(contract==null?void 0:contract.base64_hopdongdichvu)},onLoadComplete:function onLoadComplete(numberOfPages,filePath){console.log("Number of pages: "+numberOfPages);},onPageChanged:function onPageChanged(page,numberOfPages){console.log("Current page: "+page);},onError:function onError(error){console.log(error);},onPressLink:function onPressLink(uri){console.log("Link pressed: "+uri);},style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:198,columnNumber:13}})),_react.default.createElement(_reactNative.View,{style:{paddingHorizontal:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:221,columnNumber:11}},(contract==null?void 0:contract.base64_giaoket_1)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10},onPress:function onPress(){navigation.push(_navigation.ScreenNames.PreviewContract,{uri:'data:application/pdf;base64,'+(contract==null?void 0:contract.base64_giaoket_1)});},__self:this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'blue',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:233,columnNumber:17}},"\u0110\u1EC1 ngh\u1ECB giao k\u1EBFt tho\u1EA3 thu\u1EADn cho vay 1")),(contract==null?void 0:contract.base64_giaoket_2)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10},onPress:function onPress(){navigation.push(_navigation.ScreenNames.PreviewContract,{uri:'data:application/pdf;base64,'+(contract==null?void 0:contract.base64_giaoket_2)});},__self:this,__source:{fileName:_jsxFileName,lineNumber:241,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'blue',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:251,columnNumber:17}},"\u0110\u1EC1 ngh\u1ECB giao k\u1EBFt tho\u1EA3 thu\u1EADn cho vay 2")),(contract==null?void 0:contract.base64_phulucsuadoithoathuanchovay)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10},onPress:function onPress(){navigation.push(_navigation.ScreenNames.PreviewContract,{uri:'data:application/pdf;base64,'+(contract==null?void 0:contract.base64_phulucsuadoithoathuanchovay)});},__self:this,__source:{fileName:_jsxFileName,lineNumber:259,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'blue',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:269,columnNumber:17}},"Ph\u1EE5 l\u1EE5c s\u1EEDa \u0111\u1ED5i tho\u1EA3 thu\u1EADn cho vay")),_react.default.createElement(_MButton.default,{disabled:isLoading,onPress:function onPress(){signContract();},__self:this,__source:{fileName:_jsxFileName,lineNumber:276,columnNumber:13}},_react.default.createElement(_reactNativeLinearGradient.default,{style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:this,__source:{fileName:_jsxFileName,lineNumber:282,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'white',textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:17}},"K\xFD h\u1EE3p \u0111\u1ED3ng")))))),_react.default.createElement(_reactNativeModal.default,{isVisible:showModal,__self:this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:_theme.color.textHeader,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:310,columnNumber:11}},"Nh\u1EADp m\xE3 OTP"),_react.default.createElement(_formik.Formik,{initialValues:{otp:__DEV__?'':''},onSubmit:function onSubmit(values,setFieldValue){},validationSchema:yup.object().shape({otp:yup.string().required('Yêu cầu mã OTP.')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:317,columnNumber:11}},function(_ref){var values=_ref.values,setFieldValue=_ref.setFieldValue,setFieldTouched=_ref.setFieldTouched;return _react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:327,columnNumber:15}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter],__self:_this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:17}},_react.default.createElement(_MText.MTextInput,{placeholderTextColor:'#939598',placeholder:'••••••',style:[_CommonStyles.commonStyles.textNormal,_CommonStyles.commonStyles.fill,{textAlign:'center',fontSize:16,borderRadius:4,borderWidth:1,borderColor:_theme.color.border,paddingVertical:_reactNative.Platform.OS==='android'?8:14,paddingHorizontal:16}],onChangeText:function onChangeText(text){setFieldValue('otp',text);if(text.length===6&&_Store.default.currentTime!==0){verify(text);}},maxLength:6,onBlur:function onBlur(){return setFieldTouched('otp');},returnKeyType:'done',value:values.otp,autoFocus:true,textContentType:'oneTimeCode',keyboardType:'numeric',__self:_this,__source:{fileName:_jsxFileName,lineNumber:329,columnNumber:19}})),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#AAAAAA',marginTop:8,fontStyle:'italic'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:361,columnNumber:17}},"Tin nh\u1EAFn SMS s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi t\u1EDBi s\u1ED1 \u0111i\u1EC7n tho\u1EA1i c\u1EE7a b\u1EA1n c\xF3 h\u1EA1n l\xE0 5 ph\xFAt"),_react.default.createElement(_mobxReactLite.Observer,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:370,columnNumber:17}},function(){return _react.default.createElement(_reactNative.View,{style:{alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:372,columnNumber:21}},currentTime===0?_react.default.createElement(_MButton.default,{onPress:reSendOTP,style:[_CommonStyles.commonStyles.alignCenter,_CommonStyles.commonStyles.justifyCenter,{marginTop:12,backgroundColor:_theme.color.primary,height:50,borderRadius:4,paddingHorizontal:20,marginLeft:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:374,columnNumber:25}},_Store.default.reSendOTPLoading?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',size:'small',__self:_this,__source:{fileName:_jsxFileName,lineNumber:390,columnNumber:29}}):_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'white'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:392,columnNumber:29}},"L\u1EA5y OTP")):_react.default.createElement(_mobxReactLite.Observer,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:403,columnNumber:25}},function(){return _react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{marginTop:12,paddingHorizontal:16,color:_theme.color.primary}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:405,columnNumber:29}},currentTime,"s");}));}));}))),_react.default.createElement(_Loading.default,{isLoading:loading,__self:this,__source:{fileName:_jsxFileName,lineNumber:429,columnNumber:7}}));});
2
2
  //# sourceMappingURL=index.js.map