react-native-timacare 0.0.43 → 0.0.45

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 (79) hide show
  1. package/lib/commonjs/index.js +1 -1
  2. package/lib/commonjs/index.js.flow +2 -3
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/navigation/primary-navigator.js +1 -1
  5. package/lib/commonjs/navigation/primary-navigator.js.flow +1 -1
  6. package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
  7. package/lib/commonjs/screens/full-submit/accept_policy.js +1 -1
  8. package/lib/commonjs/screens/full-submit/accept_policy.js.flow +87 -50
  9. package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
  10. package/lib/commonjs/screens/home/CIMBxTima.js +1 -1
  11. package/lib/commonjs/screens/home/CIMBxTima.js.flow +10 -8
  12. package/lib/commonjs/screens/home/CIMBxTima.js.map +1 -1
  13. package/lib/commonjs/screens/home/Store.js +1 -1
  14. package/lib/commonjs/screens/home/Store.js.flow +1 -1
  15. package/lib/commonjs/screens/home/Store.js.map +1 -1
  16. package/lib/commonjs/screens/home/index.js +1 -1
  17. package/lib/commonjs/screens/home/index.js.flow +1004 -948
  18. package/lib/commonjs/screens/home/index.js.map +1 -1
  19. package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
  20. package/lib/commonjs/screens/loginWithPassword/index.js.flow +48 -47
  21. package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
  22. package/lib/commonjs/screens/loginWithPassword/store.js +1 -1
  23. package/lib/commonjs/screens/loginWithPassword/store.js.flow +2 -0
  24. package/lib/commonjs/screens/loginWithPassword/store.js.map +1 -1
  25. package/lib/commonjs/screens/register/index.js +1 -1
  26. package/lib/commonjs/screens/register/index.js.flow +1 -1
  27. package/lib/commonjs/screens/setPassword/confirmPassword.js +1 -1
  28. package/lib/commonjs/screens/setPassword/confirmPassword.js.flow +6 -35
  29. package/lib/commonjs/screens/setPassword/confirmPassword.js.map +1 -1
  30. package/lib/commonjs/screens/setPassword/index.js +1 -1
  31. package/lib/commonjs/screens/setPassword/index.js.flow +6 -45
  32. package/lib/commonjs/screens/setPassword/index.js.map +1 -1
  33. package/lib/commonjs/screens/setPassword/store.js +1 -1
  34. package/lib/commonjs/screens/setPassword/store.js.flow +2 -2
  35. package/lib/commonjs/screens/setPassword/store.js.map +1 -1
  36. package/lib/module/index.js +1 -1
  37. package/lib/module/index.js.map +1 -1
  38. package/lib/module/navigation/primary-navigator.js +1 -1
  39. package/lib/module/navigation/primary-navigator.js.map +1 -1
  40. package/lib/module/screens/full-submit/accept_policy.js +1 -1
  41. package/lib/module/screens/full-submit/accept_policy.js.map +1 -1
  42. package/lib/module/screens/home/CIMBxTima.js +1 -1
  43. package/lib/module/screens/home/CIMBxTima.js.map +1 -1
  44. package/lib/module/screens/home/Store.js +1 -1
  45. package/lib/module/screens/home/Store.js.map +1 -1
  46. package/lib/module/screens/home/index.js +1 -1
  47. package/lib/module/screens/home/index.js.map +1 -1
  48. package/lib/module/screens/loginWithPassword/index.js +1 -1
  49. package/lib/module/screens/loginWithPassword/index.js.map +1 -1
  50. package/lib/module/screens/loginWithPassword/store.js +1 -1
  51. package/lib/module/screens/loginWithPassword/store.js.map +1 -1
  52. package/lib/module/screens/register/index.js +1 -1
  53. package/lib/module/screens/setPassword/confirmPassword.js +1 -1
  54. package/lib/module/screens/setPassword/confirmPassword.js.map +1 -1
  55. package/lib/module/screens/setPassword/index.js +1 -1
  56. package/lib/module/screens/setPassword/index.js.map +1 -1
  57. package/lib/module/screens/setPassword/store.js +1 -1
  58. package/lib/module/screens/setPassword/store.js.map +1 -1
  59. package/lib/typescript/index.d.ts.map +1 -1
  60. package/lib/typescript/screens/full-submit/accept_policy.d.ts.map +1 -1
  61. package/lib/typescript/screens/home/CIMBxTima.d.ts.map +1 -1
  62. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  63. package/lib/typescript/screens/loginWithPassword/index.d.ts.map +1 -1
  64. package/lib/typescript/screens/loginWithPassword/store.d.ts.map +1 -1
  65. package/lib/typescript/screens/setPassword/confirmPassword.d.ts.map +1 -1
  66. package/lib/typescript/screens/setPassword/index.d.ts.map +1 -1
  67. package/package.json +1 -1
  68. package/src/index.tsx +2 -3
  69. package/src/navigation/primary-navigator.tsx +1 -1
  70. package/src/screens/full-submit/accept_policy.tsx +87 -50
  71. package/src/screens/home/CIMBxTima.tsx +10 -8
  72. package/src/screens/home/Store.tsx +1 -1
  73. package/src/screens/home/index.tsx +1004 -948
  74. package/src/screens/loginWithPassword/index.tsx +48 -47
  75. package/src/screens/loginWithPassword/store.tsx +2 -0
  76. package/src/screens/register/index.tsx +1 -1
  77. package/src/screens/setPassword/confirmPassword.tsx +6 -35
  78. package/src/screens/setPassword/index.tsx +6 -45
  79. package/src/screens/setPassword/store.tsx +2 -2
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Register=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));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 yup=_interopRequireWildcard(require("yup"));var _formik=require("formik");var _MButton=_interopRequireDefault(require("../../components/MButton"));var _theme=require("../../theme");var _Store=_interopRequireDefault(require("./Store"));var _MText=require("../../components/MText");var _icons=require("../../assets/icons");var _navigation=require("../../navigation");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _Loading=_interopRequireDefault(require("../../components/Loading"));var _reactNativeGeolocationService=_interopRequireDefault(require("react-native-geolocation-service"));var _reactNativePermissions=require("react-native-permissions");var _keychain=require("../../utils/keychain");var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/register/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 logoView={position:'absolute',width:'100%',height:'100%',resizeMode:'cover'};var Register=exports.Register=(0,_mobxReactLite.observer)(function Register(){var _this=this;var navigation=(0,_native.useNavigation)();var register=function register(values){_Store.default.checkPasscode(values.phone,_AppStore.default.deviceId,function _callee(data){var pass;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(!(data===2)){_context.next=7;break;}_context.next=3;return _regenerator.default.awrap((0,_keychain.load)());case 3:pass=_context.sent;navigation.push(_navigation.ScreenNames.LoginWithPassword,{Phone:values.phone,passcode:pass&&pass.password!=='1'?pass.password:''});_context.next=8;break;case 7:_Store.default.getOTPV2({phone:values.phone},function(){navigation.push(_navigation.ScreenNames.OTP,{Phone:values.phone,Data:data});});case 8:case"end":return _context.stop();}},null,null,null,Promise);},function(){_Store.default.getOTPV2({phone:values.phone},function(){navigation.push(_navigation.ScreenNames.OTP,{Phone:values.phone});});});_AppStore.default.phone=values.phone;};var goTermsScreen=function goTermsScreen(){navigation.push(_navigation.ScreenNames.Terms);};var requestPermissions=function requestPermissions(){(0,_reactNativePermissions.request)(_reactNative.Platform.OS==='android'?_reactNativePermissions.PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION:_reactNativePermissions.PERMISSIONS.IOS.LOCATION_WHEN_IN_USE).then(function(result){switch(result){case _reactNativePermissions.RESULTS.UNAVAILABLE:console.log('This feature is not available (on this device / in this context)');break;case _reactNativePermissions.RESULTS.DENIED:console.log('The permission has not been requested / is denied but requestable');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.LIMITED:console.log('The permission is limited: some actions are possible');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.GRANTED:console.log('The permission is granted');break;case _reactNativePermissions.RESULTS.BLOCKED:console.log('The permission is denied and not requestable anymore');break;}});};var getLocation=function getLocation(){_reactNativeGeolocationService.default.getCurrentPosition(function(position){_AppStore.default.lat=position.coords.latitude;_AppStore.default.long=position.coords.longitude;},function(error){requestPermissions();},{enableHighAccuracy:true,timeout:15000,maximumAge:10000});};(0,_react.useEffect)(function(){return navigation.addListener('state',function(){getLocation();});},[navigation]);return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:175,columnNumber:5}},_react.default.createElement(_reactNative.Image,{source:require('./bg.png'),style:logoView,__self:this,__source:{fileName:_jsxFileName,lineNumber:176,columnNumber:7}}),_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:7}},_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:178,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:40},__self:this,__source:{fileName:_jsxFileName,lineNumber:179,columnNumber:11}},_react.default.createElement(_icons.LogoWhite,{__self:this,__source:{fileName:_jsxFileName,lineNumber:180,columnNumber:13}})),_react.default.createElement(_reactNative.View,{style:{marginTop:50},__self:this,__source:{fileName:_jsxFileName,lineNumber:182,columnNumber:11}},_react.default.createElement(_formik.Formik,{initialValues:{phone:__DEV__?'0982515705':'',terms:true},onSubmit:function onSubmit(values){register(values);},validationSchema:yup.object().shape({phone:yup.string().min(10,'Số điện thoại không đúng').max(10,'Số điện thoại không đúng').matches(/(03|05|07|08|09|01[2|6|8|9])+([0-9]{8})\b/,'').required(),terms:yup.bool().oneOf([true],'')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:183,columnNumber:13}},function(_ref){var values=_ref.values,handleChange=_ref.handleChange,errors=_ref.errors,setFieldTouched=_ref.setFieldTouched,touched=_ref.touched,isValid=_ref.isValid,handleSubmit=_ref.handleSubmit,setFieldValue=_ref.setFieldValue;return _react.default.createElement(_reactNativeLinearGradient.default,{colors:['rgba(253, 253, 253, 0.6) 0%','#FDFDFD'],style:{margin:16,borderRadius:8,padding:16,borderWidth:2.5,borderColor:'#F88F62',backgroundColor:'#FFFFFF'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:18}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:222,columnNumber:19}},"\u0110\u0103ng nh\u1EADp"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:227,columnNumber:19}},"\u0110\u0103ng nh\u1EADp \u0111\u1EC3 ho\xE0n thi\u1EC7n h\u1ED3 s\u01A1"),_react.default.createElement(_reactNative.View,{style:{height:2,width:50,backgroundColor:_theme.color.primary,marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:230,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:238,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:21}},"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"),_react.default.createElement(_reactNative.TextInput,{style:{fontSize:16,fontWeight:'bold',color:_theme.color.headerColor,paddingVertical:12,paddingHorizontal:10,marginVertical:8,borderRadius:5,borderColor:_theme.color.borderColor,backgroundColor:'#FFFFFF',borderWidth:1},maxLength:10,keyboardType:'phone-pad',returnKeyType:'done',autoFocus:true,value:values.phone,onBlur:function onBlur(){return setFieldTouched('phone');},onChangeText:handleChange('phone'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:242,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',fontStyle:'italic'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:263,columnNumber:21}},"Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i \u0111\u1EC3 nh\u1EADn m\xE3 OTP \u0111\u0103ng k\xFD."),_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:{height:30,width:'100%',alignItems:'center',flexDirection:'row'},onPress:function onPress(){goTermsScreen();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:276,columnNumber:23}},_react.default.createElement(_MButton.default,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:287,columnNumber:25}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:44}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:59}})),_react.default.createElement(_MButton.default,{style:{flexDirection:'row'},onPress:function onPress(){return setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{marginLeft:10,color:'#1D1B1B',fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:27}},"T\xF4i \u0111\u1ED3ng \xFD v\u1EDBi c\xE1c"),_react.default.createElement(_MButton.default,{style:{},onPress:function onPress(){return goTermsScreen();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:27}},_react.default.createElement(_MText.MText,{style:{color:_theme.color.primary,fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:29}},' ',"\u0111i\u1EC1u kho\u1EA3n")),_react.default.createElement(_MText.MText,{style:{marginLeft:4,color:'#1D1B1B',fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:320,columnNumber:27}},"c\u1EE7a Tima"))))),_react.default.createElement(_MButton.default,{disable:_Store.default.isLoading,onPress:handleSubmit,style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:19}},_react.default.createElement(_reactNativeLinearGradient.default,{style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:isValid?['#FF7A00','#EF4123']:['#BDBDBD','#BDBDBD'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:343,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:isValid?'white':'#333333',textAlign:'center'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:357,columnNumber:23}},'xác nhận'.toUpperCase()))));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:13}}))),_react.default.createElement(_Loading.default,{isLoading:_Store.default.isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:376,columnNumber:9}})));});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Register=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));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 yup=_interopRequireWildcard(require("yup"));var _formik=require("formik");var _MButton=_interopRequireDefault(require("../../components/MButton"));var _theme=require("../../theme");var _Store=_interopRequireDefault(require("./Store"));var _MText=require("../../components/MText");var _icons=require("../../assets/icons");var _navigation=require("../../navigation");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _Loading=_interopRequireDefault(require("../../components/Loading"));var _reactNativeGeolocationService=_interopRequireDefault(require("react-native-geolocation-service"));var _reactNativePermissions=require("react-native-permissions");var _keychain=require("../../utils/keychain");var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/register/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 logoView={position:'absolute',width:'100%',height:'100%',resizeMode:'cover'};var Register=exports.Register=(0,_mobxReactLite.observer)(function Register(){var _this=this;var navigation=(0,_native.useNavigation)();var register=function register(values){_Store.default.checkPasscode(values.phone,_AppStore.default.deviceId,function _callee(data){var pass;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(!(data===2)){_context.next=7;break;}_context.next=3;return _regenerator.default.awrap((0,_keychain.load)());case 3:pass=_context.sent;navigation.push(_navigation.ScreenNames.LoginWithPassword,{Phone:values.phone,passcode:pass&&pass.password!=='1'?pass.password:''});_context.next=8;break;case 7:_Store.default.getOTPV2({phone:values.phone},function(){navigation.push(_navigation.ScreenNames.OTP,{Phone:values.phone,Data:data});});case 8:case"end":return _context.stop();}},null,null,null,Promise);},function(){_Store.default.getOTPV2({phone:values.phone},function(){navigation.push(_navigation.ScreenNames.OTP,{Phone:values.phone});});});_AppStore.default.phone=values.phone;};var goTermsScreen=function goTermsScreen(){navigation.push(_navigation.ScreenNames.Terms);};var requestPermissions=function requestPermissions(){(0,_reactNativePermissions.request)(_reactNative.Platform.OS==='android'?_reactNativePermissions.PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION:_reactNativePermissions.PERMISSIONS.IOS.LOCATION_WHEN_IN_USE).then(function(result){switch(result){case _reactNativePermissions.RESULTS.UNAVAILABLE:console.log('This feature is not available (on this device / in this context)');break;case _reactNativePermissions.RESULTS.DENIED:console.log('The permission has not been requested / is denied but requestable');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.LIMITED:console.log('The permission is limited: some actions are possible');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.GRANTED:console.log('The permission is granted');break;case _reactNativePermissions.RESULTS.BLOCKED:console.log('The permission is denied and not requestable anymore');break;}});};var getLocation=function getLocation(){_reactNativeGeolocationService.default.getCurrentPosition(function(position){_AppStore.default.lat=position.coords.latitude;_AppStore.default.long=position.coords.longitude;},function(error){requestPermissions();},{enableHighAccuracy:true,timeout:15000,maximumAge:10000});};(0,_react.useEffect)(function(){return navigation.addListener('state',function(){getLocation();});},[navigation]);return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:175,columnNumber:5}},_react.default.createElement(_reactNative.Image,{source:require('./bg.png'),style:logoView,__self:this,__source:{fileName:_jsxFileName,lineNumber:176,columnNumber:7}}),_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:7}},_react.default.createElement(_reactNative.ScrollView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:178,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:40},__self:this,__source:{fileName:_jsxFileName,lineNumber:179,columnNumber:11}},_react.default.createElement(_icons.LogoWhite,{__self:this,__source:{fileName:_jsxFileName,lineNumber:180,columnNumber:13}})),_react.default.createElement(_reactNative.View,{style:{marginTop:50},__self:this,__source:{fileName:_jsxFileName,lineNumber:182,columnNumber:11}},_react.default.createElement(_formik.Formik,{initialValues:{phone:__DEV__?'0369865214':'',terms:true},onSubmit:function onSubmit(values){register(values);},validationSchema:yup.object().shape({phone:yup.string().min(10,'Số điện thoại không đúng').max(10,'Số điện thoại không đúng').matches(/(03|05|07|08|09|01[2|6|8|9])+([0-9]{8})\b/,'').required(),terms:yup.bool().oneOf([true],'')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:183,columnNumber:13}},function(_ref){var values=_ref.values,handleChange=_ref.handleChange,errors=_ref.errors,setFieldTouched=_ref.setFieldTouched,touched=_ref.touched,isValid=_ref.isValid,handleSubmit=_ref.handleSubmit,setFieldValue=_ref.setFieldValue;return _react.default.createElement(_reactNativeLinearGradient.default,{colors:['rgba(253, 253, 253, 0.6) 0%','#FDFDFD'],style:{margin:16,borderRadius:8,padding:16,borderWidth:2.5,borderColor:'#F88F62',backgroundColor:'#FFFFFF'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:18}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:222,columnNumber:19}},"\u0110\u0103ng nh\u1EADp"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{marginTop:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:227,columnNumber:19}},"\u0110\u0103ng nh\u1EADp \u0111\u1EC3 ho\xE0n thi\u1EC7n h\u1ED3 s\u01A1"),_react.default.createElement(_reactNative.View,{style:{height:2,width:50,backgroundColor:_theme.color.primary,marginTop:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:230,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:238,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:21}},"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"),_react.default.createElement(_reactNative.TextInput,{style:{fontSize:16,fontWeight:'bold',color:_theme.color.headerColor,paddingVertical:12,paddingHorizontal:10,marginVertical:8,borderRadius:5,borderColor:_theme.color.borderColor,backgroundColor:'#FFFFFF',borderWidth:1},maxLength:10,keyboardType:'phone-pad',returnKeyType:'done',autoFocus:true,value:values.phone,onBlur:function onBlur(){return setFieldTouched('phone');},onChangeText:handleChange('phone'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:242,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',fontStyle:'italic'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:263,columnNumber:21}},"Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i \u0111\u1EC3 nh\u1EADn m\xE3 OTP \u0111\u0103ng k\xFD."),_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:{height:30,width:'100%',alignItems:'center',flexDirection:'row'},onPress:function onPress(){goTermsScreen();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:276,columnNumber:23}},_react.default.createElement(_MButton.default,{onPress:function onPress(){setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:287,columnNumber:25}},!values.terms?_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:44}}):_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:59}})),_react.default.createElement(_MButton.default,{style:{flexDirection:'row'},onPress:function onPress(){return setFieldValue('terms',!values.terms);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{marginLeft:10,color:'#1D1B1B',fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:27}},"T\xF4i \u0111\u1ED3ng \xFD v\u1EDBi c\xE1c"),_react.default.createElement(_MButton.default,{style:{},onPress:function onPress(){return goTermsScreen();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:27}},_react.default.createElement(_MText.MText,{style:{color:_theme.color.primary,fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:29}},' ',"\u0111i\u1EC1u kho\u1EA3n")),_react.default.createElement(_MText.MText,{style:{marginLeft:4,color:'#1D1B1B',fontSize:14,fontWeight:'400'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:320,columnNumber:27}},"c\u1EE7a Tima"))))),_react.default.createElement(_MButton.default,{disable:_Store.default.isLoading,onPress:handleSubmit,style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:19}},_react.default.createElement(_reactNativeLinearGradient.default,{style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:isValid?['#FF7A00','#EF4123']:['#BDBDBD','#BDBDBD'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:343,columnNumber:21}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:isValid?'white':'#333333',textAlign:'center'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:357,columnNumber:23}},'xác nhận'.toUpperCase()))));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:13}}))),_react.default.createElement(_Loading.default,{isLoading:_Store.default.isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:376,columnNumber:9}})));});
2
2
  //# sourceMappingURL=index.js.map
@@ -182,7 +182,7 @@ export const Register = observer(function Register() {
182
182
  <View style={{ marginTop: 50 }}>
183
183
  <Formik
184
184
  initialValues={{
185
- phone: __DEV__ ? '0982515705' : '',
185
+ phone: __DEV__ ? '0369865214' : '',
186
186
  terms: true,
187
187
  }}
188
188
  onSubmit={(values) => {
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ConfirmPassword=void 0;var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _CommonStyles=require("../CommonStyles");var _Store=_interopRequireDefault(require("../home/Store"));var _Store2=_interopRequireDefault(require("../qualify/Store"));var _store=_interopRequireDefault(require("./store"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/setPassword/confirmPassword.tsx";var ConfirmPassword=exports.ConfirmPassword=(0,_mobxReactLite.observer)(function ConfirmPassword(props){var _this=this;var navigation=(0,_native.useNavigation)();var verify=function verify(OTP){if(props.route.params.Password===OTP){_store.default.setPassword({Phone:props.route.params.Phone,Passcode:OTP,DeviceId:_AppStore.default.deviceId},function(){_Store.default.getListLoanPending(function(loanData){_Store2.default.checkQualify(loanData.id,function(data){if((data==null?void 0:data.verify)===true){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Qualify,params:{loan:loanData}}]}));}else{navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));}},function(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));});});});}else{_reactNative.Alert.alert('Thông báo','Mật khẩu không đúng');}};return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,_CommonStyles.commonStyles.backgroundWhite],__self:this,__source:{fileName:_jsxFileName,lineNumber:70,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:71,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:72,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:24,color:_theme.color.primary,fontWeight:'600'},__self:this,__source:{fileName:_jsxFileName,lineNumber:73,columnNumber:11}},"Nh\u1EADp l\u1EA1i m\xE3 b\u1EA3o m\u1EADt"),_react.default.createElement(_MText.MText,{style:{color:'#4F4F4F',marginTop:5},__self:this,__source:{fileName:_jsxFileName,lineNumber:82,columnNumber:11}},"*L\u01B0u \xFD: M\u1EADt kh\u1EA9u c\xF3 ch\u1EE9a 6 k\xFD t\u1EF1 l\xE0 s\u1ED1, vui l\xF2ng kh\xF4ng c\xF4ng khai m\u1EADt kh\u1EA9u v\u1EDBi b\u1EA5t k\xEC ai. VD: 686868")),_react.default.createElement(_formik.Formik,{initialValues:{password:''},onSubmit:function onSubmit(values){},__self:this,__source:{fileName:_jsxFileName,lineNumber:87,columnNumber:9}},function(_ref){var values=_ref.values,setFieldValue=_ref.setFieldValue;return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:94,columnNumber:13}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:true,style:{borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,marginHorizontal:16,height:40,marginVertical:0,paddingHorizontal:10,fontFamily:'Roboto',color:'#211F1F',fontSize:24},value:values.password,keyboardType:"number-pad",onChangeText:function onChangeText(text){setFieldValue('password',text);if(text.trim().length===6){verify(text.trim());}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:95,columnNumber:15}}));})));});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ConfirmPassword=void 0;var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _CommonStyles=require("../CommonStyles");var _store=_interopRequireDefault(require("./store"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/setPassword/confirmPassword.tsx";var ConfirmPassword=exports.ConfirmPassword=(0,_mobxReactLite.observer)(function ConfirmPassword(props){var _this=this;var navigation=(0,_native.useNavigation)();var verify=function verify(OTP){if(props.route.params.Password===OTP){_store.default.setPassword({Phone:props.route.params.Phone,Passcode:OTP,DeviceId:_AppStore.default.deviceId},function(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));});}else{_reactNative.Alert.alert('Thông báo','Mật khẩu không đúng');}};return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,_CommonStyles.commonStyles.backgroundWhite],__self:this,__source:{fileName:_jsxFileName,lineNumber:41,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:42,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:43,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:24,color:_theme.color.primary,fontWeight:'600'},__self:this,__source:{fileName:_jsxFileName,lineNumber:44,columnNumber:11}},"Nh\u1EADp l\u1EA1i m\xE3 b\u1EA3o m\u1EADt"),_react.default.createElement(_MText.MText,{style:{color:'#4F4F4F',marginTop:5},__self:this,__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:11}},"*L\u01B0u \xFD: M\u1EADt kh\u1EA9u c\xF3 ch\u1EE9a 6 k\xFD t\u1EF1 l\xE0 s\u1ED1, vui l\xF2ng kh\xF4ng c\xF4ng khai m\u1EADt kh\u1EA9u v\u1EDBi b\u1EA5t k\xEC ai. VD: 686868")),_react.default.createElement(_formik.Formik,{initialValues:{password:''},onSubmit:function onSubmit(values){},__self:this,__source:{fileName:_jsxFileName,lineNumber:58,columnNumber:9}},function(_ref){var values=_ref.values,setFieldValue=_ref.setFieldValue;return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:65,columnNumber:13}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:true,style:{borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,marginHorizontal:16,height:40,marginVertical:0,paddingHorizontal:10,fontFamily:'Roboto',color:'#211F1F',fontSize:24},value:values.password,keyboardType:"number-pad",onChangeText:function onChangeText(text){setFieldValue('password',text);if(text.trim().length===6){verify(text.trim());}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:66,columnNumber:15}}));})));});
2
2
  //# sourceMappingURL=confirmPassword.js.map
@@ -25,41 +25,12 @@ export const ConfirmPassword = observer(function ConfirmPassword(props: any) {
25
25
  DeviceId: appStore.deviceId,
26
26
  },
27
27
  () => {
28
- homeStore.getListLoanPending((loanData) => {
29
- qualifyStore.checkQualify(
30
- loanData.id,
31
- (data) => {
32
- if (data?.verify === true) {
33
- navigation.dispatch(
34
- CommonActions.reset({
35
- index: 1,
36
- routes: [
37
- {
38
- name: ScreenNames.Qualify,
39
- params: { loan: loanData },
40
- },
41
- ],
42
- })
43
- );
44
- } else {
45
- navigation.dispatch(
46
- CommonActions.reset({
47
- index: 1,
48
- routes: [{ name: ScreenNames.Main }],
49
- })
50
- );
51
- }
52
- },
53
- () => {
54
- navigation.dispatch(
55
- CommonActions.reset({
56
- index: 1,
57
- routes: [{ name: ScreenNames.Main }],
58
- })
59
- );
60
- }
61
- );
62
- });
28
+ navigation.dispatch(
29
+ CommonActions.reset({
30
+ index: 1,
31
+ routes: [{ name: ScreenNames.Main }],
32
+ })
33
+ );
63
34
  }
64
35
  );
65
36
  } else {
@@ -1 +1 @@
1
- {"version":3,"names":["_native","require","_formik","_mobxReactLite","_react","_interopRequireDefault","_reactNative","_AppStore","_MText","_navigation","_theme","_CommonStyles","_Store","_Store2","_store","_jsxFileName","ConfirmPassword","exports","observer","props","_this","navigation","useNavigation","verify","OTP","route","params","Password","setPasswordStore","setPassword","Phone","Passcode","DeviceId","appStore","deviceId","homeStore","getListLoanPending","loanData","qualifyStore","checkQualify","id","data","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Qualify","loan","Main","Alert","alert","default","createElement","View","style","commonStyles","fill","backgroundWhite","__self","__source","fileName","lineNumber","columnNumber","SafeAreaView","flex","margin","MText","fontSize","color","primary","fontWeight","marginTop","Formik","initialValues","password","onSubmit","values","_ref","setFieldValue","TextInput","secureTextEntry","borderWidth","borderColor","borderRadius","marginHorizontal","height","marginVertical","paddingHorizontal","fontFamily","value","keyboardType","onChangeText","text","trim","length"],"sourceRoot":"../../../../src","sources":["screens/setPassword/confirmPassword.tsx"],"mapp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C,KAAA,CAAA0C,QAAA,EAAAC,QAAA,CAAAhD,YAAA,CAAAiD,UAAA,IAAAC,YAAA,MACvB7D,MAAA,CAAAkD,OAAA,CAAAC,aAAA,CAACjD,YAAA,CAAA4E,SAAS,EACRC,eAAe,MACf1B,KAAK,CAAE,CACL2B,WAAW,CAAE,CAAC,CACdC,WAAW,CAAE,SAAS,CACtBC,YAAY,CAAE,CAAC,CACfC,gBAAgB,CAAE,EAAE,CACpBC,MAAM,CAAE,EAAE,CACVC,cAAc,CAAE,CAAC,CACjBC,iBAAiB,CAAE,EAAE,CACrBC,UAAU,CAAE,QAAQ,CACpBpB,KAAK,CAAE,SAAS,CAChBD,QAAQ,CAAE,EACZ,CAAE,CACFsB,KAAK,CAAEb,MAAM,CAACF,QAAS,CACvBgB,YAAY,CAAC,YAAY,CACzBC,YAAY,CAAE,SAAAA,aAACC,IAAI,CAAK,CACtBd,aAAa,CAAC,UAAU,CAAEc,IAAI,CAAC,CAC/B,GAAIA,IAAI,CAACC,IAAI,CAAC,CAAC,CAACC,MAAM,GAAK,CAAC,CAAE,CAC5B1E,MAAM,CAACwE,IAAI,CAACC,IAAI,CAAC,CAAC,CAAC,CACrB,CACF,CAAE,CAAAnC,MAAA,CAAAzC,KAAA,CAAA0C,QAAA,EAAAC,QAAA,CAAAhD,YAAA,CAAAiD,UAAA,IAAAC,YAAA,KACH,CACG,CAAC,EAEH,CACI,CACV,CAAC,CAEX,CAAC,CAAC"}
1
+ {"version":3,"names":["_native","require","_formik","_mobxReactLite","_react","_interopRequireDefault","_reactNative","_AppStore","_MText","_navigation","_theme","_CommonStyles","_store","_jsxFileName","ConfirmPassword","exports","observer","props","_this","navigation","useNavigation","verify","OTP","route","params","Password","setPasswordStore","setPassword","Phone","Passcode","DeviceId","appStore","deviceId","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Main","Alert","alert","default","createElement","View","style","commonStyles","fill","backgroundWhite","__self","__source","fileName","lineNumber","columnNumber","SafeAreaView","flex","margin","MText","fontSize","color","primary","fontWeight","marginTop","Formik","initialValues","password","onSubmit","values","_ref","setFieldValue","TextInput","secureTextEntry","borderWidth","borderColor","borderRadius","marginHorizontal","height","marginVertical","paddingHorizontal","fontFamily","value","keyboardType","onChangeText","text","trim","length"],"sourceRoot":"../../../../src","sources":["screens/setPassword/confirmPassword.tsx"],"mappings":"2KACA,IAAAA,OAAA,CAAAC,OAAA,6BACA,IAAAC,OAAA,CAAAD,OAAA,WACA,IAAAE,cAAA,CAAAF,OAAA,oBACA,IAAAG,MAAA,CAAAC,sBAAA,CAAAJ,OAAA,WACA,IAAAK,YAAA,CAAAL,OAAA,iBACA,IAAAM,SAAA,CAAAF,sBAAA,CAAAJ,OAAA,oBACA,IAAAO,MAAA,CAAAP,OAAA,2BACA,IAAAQ,WAAA,CAAAR,OAAA,qBACA,IAAAS,MAAA,CAAAT,OAAA,gBACA,IAAAU,aAAA,CAAAV,OAAA,oBAGA,IAAAW,MAAA,CAAAP,sBAAA,CAAAJ,OAAA,aAAuC,IAAAY,YAAA,2FAEhC,GAAM,CAAAC,eAAe,CAAAC,OAAA,CAAAD,eAAA,CAAG,GAAAE,uBAAQ,EAAC,QAAS,CAAAF,eAAeA,CAACG,KAAU,CAAE,KAAAC,KAAA,MAC3E,GAAM,CAAAC,UAAU,CAAG,GAAAC,qBAAa,EAAC,CAAC,CAElC,GAAM,CAAAC,MAAM,CAAG,QAAT,CAAAA,MAAMA,CAAIC,GAAG,CAAK,CACtB,GAAIL,KAAK,CAACM,KAAK,CAACC,MAAM,CAACC,QAAQ,GAAKH,GAAG,CAAE,CACvCI,cAAgB,CAACC,WAAW,CAC1B,CACEC,KAAK,CAAEX,KAAK,CAACM,KAAK,CAACC,MAAM,CAACI,KAAK,CAC/BC,QAAQ,CAAEP,GAAG,CACbQ,QAAQ,CAAEC,iBAAQ,CAACC,QACrB,CAAC,CACD,UAAM,CACJb,UAAU,CAACc,QAAQ,CACjBC,qBAAa,CAACC,KAAK,CAAC,CAClBC,KAA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AC,UAAU,CAAEc,IAAI,CAAC,CAC/B,GAAIA,IAAI,CAACC,IAAI,CAAC,CAAC,CAACC,MAAM,GAAK,CAAC,CAAE,CAC5BjE,MAAM,CAAC+D,IAAI,CAACC,IAAI,CAAC,CAAC,CAAC,CACrB,CACF,CAAE,CAAAnC,MAAA,CAAAhC,KAAA,CAAAiC,QAAA,EAAAC,QAAA,CAAAvC,YAAA,CAAAwC,UAAA,IAAAC,YAAA,KACH,CACG,CAAC,EAEH,CACI,CACV,CAAC,CAEX,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.SetPassword=void 0;var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _icons=require("../../assets/icons");var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _CommonStyles=require("../CommonStyles");var yup=_interopRequireWildcard(require("yup"));var _Store=_interopRequireDefault(require("../home/Store"));var _Store2=_interopRequireDefault(require("../qualify/Store"));var _store=_interopRequireDefault(require("./store"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/setPassword/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 SetPassword=exports.SetPassword=(0,_mobxReactLite.observer)(function SetPassword(props){var _this=this;var navigation=(0,_native.useNavigation)();return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,_CommonStyles.commonStyles.backgroundWhite],__self:this,__source:{fileName:_jsxFileName,lineNumber:27,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:28,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:29,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:24,color:_theme.color.primary,fontWeight:'600'},__self:this,__source:{fileName:_jsxFileName,lineNumber:30,columnNumber:11}},"\u0110\u1EB7t m\xE3 b\u1EA3o m\u1EADt"),_react.default.createElement(_MText.MText,{style:{color:'#4F4F4F',marginTop:5},__self:this,__source:{fileName:_jsxFileName,lineNumber:39,columnNumber:11}},"*L\u01B0u \xFD: M\u1EADt kh\u1EA9u c\xF3 ch\u1EE9a 6 k\xFD t\u1EF1 l\xE0 s\u1ED1, vui l\xF2ng kh\xF4ng c\xF4ng khai m\u1EADt kh\u1EA9u v\u1EDBi b\u1EA5t k\xEC ai. VD: 686868")),_react.default.createElement(_formik.Formik,{initialValues:{password:'',confirmPassword:'',view:true,viewConfirm:true},onSubmit:function onSubmit(values){_store.default.setPassword({Phone:props.route.params.Phone,Passcode:values.password,DeviceId:_AppStore.default.deviceId},function(){_Store.default.getListLoanPending(function(loanData){if(loanData){_Store.default.getCheckEKYC({loanBriefId:loanData.id});_Store2.default.checkQualify(loanData.id,function(data){if((data==null?void 0:data.verify)===true){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Qualify,params:{loan:loanData}}]}));}else{navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));}},function(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));});}else{navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));}});});},validationSchema:yup.object().shape({password:yup.string().min(6,'Mật khẩu gồm 6 ký tự!').required('Vui lòng nhập mật khẩu!'),confirmPassword:yup.string().oneOf([yup.ref('password'),null],'Mật khẩu không trùng nhau!')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:44,columnNumber:9}},function(_ref){var values=_ref.values,setFieldValue=_ref.setFieldValue,handleChange=_ref.handleChange,handleSubmit=_ref.handleSubmit,errors=_ref.errors;return _react.default.createElement(_reactNative.View,{style:{paddingHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:13}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,justifyContent:'space-between',alignItems:'center',paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:119,columnNumber:15}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:values.view,style:{flex:1,height:40,marginVertical:0,fontFamily:'Roboto',color:'#211F1F',fontSize:18},maxLength:6,placeholder:"Nh\u1EADp m\u1EADt kh\u1EA9u",placeholderTextColor:'#BDBDBD',value:values.password,keyboardType:"number-pad",onChangeText:handleChange('password'),returnKeyType:"send",__self:_this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:17}}),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('view',!values.view);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:17}},_react.default.createElement(_icons.EyeIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:151,columnNumber:19}}))),errors&&errors.password&&_react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:155,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'red',marginTop:4},__self:_this,__source:{fileName:_jsxFileName,lineNumber:156,columnNumber:19}},errors.password)),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,justifyContent:'space-between',alignItems:'center',paddingHorizontal:10,marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:15}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:values.viewConfirm,style:{flex:1,height:40,marginVertical:0,fontFamily:'Roboto',color:'#211F1F',fontSize:18},maxLength:6,placeholder:"Nh\u1EADp l\u1EA1i m\u1EADt kh\u1EA9u",placeholderTextColor:'#BDBDBD',value:values.confirmPassword,keyboardType:"number-pad",onChangeText:handleChange('confirmPassword'),returnKeyType:"send",__self:_this,__source:{fileName:_jsxFileName,lineNumber:173,columnNumber:17}}),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('viewConfirm',!values.viewConfirm);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:17}},_react.default.createElement(_icons.EyeIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:196,columnNumber:19}}))),errors&&errors.confirmPassword&&_react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:200,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'red',marginTop:4},__self:_this,__source:{fileName:_jsxFileName,lineNumber:201,columnNumber:19}},errors.confirmPassword)),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:32},onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:207,columnNumber:15}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:[_CommonStyles.commonStyles.alignCenter,_CommonStyles.commonStyles.justifyCenter,{height:40,borderRadius:30}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'white'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:222,columnNumber:19}},"X\xE1c nh\u1EADn"))));})));});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.SetPassword=void 0;var _native=require("@react-navigation/native");var _formik=require("formik");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _icons=require("../../assets/icons");var _MText=require("../../components/MText");var _navigation=require("../../navigation");var _theme=require("../../theme");var _CommonStyles=require("../CommonStyles");var yup=_interopRequireWildcard(require("yup"));var _store=_interopRequireDefault(require("./store"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/setPassword/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 SetPassword=exports.SetPassword=(0,_mobxReactLite.observer)(function SetPassword(props){var _this=this;var navigation=(0,_native.useNavigation)();return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,_CommonStyles.commonStyles.backgroundWhite],__self:this,__source:{fileName:_jsxFileName,lineNumber:27,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:28,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{margin:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:29,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:24,color:_theme.color.primary,fontWeight:'600'},__self:this,__source:{fileName:_jsxFileName,lineNumber:30,columnNumber:11}},"\u0110\u1EB7t m\xE3 b\u1EA3o m\u1EADt"),_react.default.createElement(_MText.MText,{style:{color:'#4F4F4F',marginTop:5},__self:this,__source:{fileName:_jsxFileName,lineNumber:39,columnNumber:11}},"*L\u01B0u \xFD: M\u1EADt kh\u1EA9u c\xF3 ch\u1EE9a 6 k\xFD t\u1EF1 l\xE0 s\u1ED1, vui l\xF2ng kh\xF4ng c\xF4ng khai m\u1EADt kh\u1EA9u v\u1EDBi b\u1EA5t k\xEC ai. VD: 686868")),_react.default.createElement(_formik.Formik,{initialValues:{password:'',confirmPassword:'',view:true,viewConfirm:true},onSubmit:function onSubmit(values){_store.default.setPassword({Phone:props.route.params.Phone,Passcode:values.password,DeviceId:_AppStore.default.deviceId},function(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));});},validationSchema:yup.object().shape({password:yup.string().min(6,'Mật khẩu gồm 6 ký tự!').required('Vui lòng nhập mật khẩu!'),confirmPassword:yup.string().oneOf([yup.ref('password'),null],'Mật khẩu không trùng nhau!')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:44,columnNumber:9}},function(_ref){var values=_ref.values,setFieldValue=_ref.setFieldValue,handleChange=_ref.handleChange,handleSubmit=_ref.handleSubmit,errors=_ref.errors;return _react.default.createElement(_reactNative.View,{style:{paddingHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:79,columnNumber:13}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,justifyContent:'space-between',alignItems:'center',paddingHorizontal:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:80,columnNumber:15}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:values.view,style:{flex:1,height:40,marginVertical:0,fontFamily:'Roboto',color:'#211F1F',fontSize:18},maxLength:6,placeholder:"Nh\u1EADp m\u1EADt kh\u1EA9u",placeholderTextColor:'#BDBDBD',value:values.password,keyboardType:"number-pad",onChangeText:handleChange('password'),returnKeyType:"send",__self:_this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:17}}),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('view',!values.view);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:17}},_react.default.createElement(_icons.EyeIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:19}}))),errors&&errors.password&&_react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'red',marginTop:4},__self:_this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:19}},errors.password)),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',borderWidth:1,borderColor:'#BDBDBD',borderRadius:6,justifyContent:'space-between',alignItems:'center',paddingHorizontal:10,marginTop:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:15}},_react.default.createElement(_reactNative.TextInput,{secureTextEntry:values.viewConfirm,style:{flex:1,height:40,marginVertical:0,fontFamily:'Roboto',color:'#211F1F',fontSize:18},maxLength:6,placeholder:"Nh\u1EADp l\u1EA1i m\u1EADt kh\u1EA9u",placeholderTextColor:'#BDBDBD',value:values.confirmPassword,keyboardType:"number-pad",onChangeText:handleChange('confirmPassword'),returnKeyType:"send",__self:_this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:17}}),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('viewConfirm',!values.viewConfirm);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:17}},_react.default.createElement(_icons.EyeIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:19}}))),errors&&errors.confirmPassword&&_react.default.createElement(_reactNative.View,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'red',marginTop:4},__self:_this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:19}},errors.confirmPassword)),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:32},onPress:function onPress(){return handleSubmit();},__self:_this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:15}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:[_CommonStyles.commonStyles.alignCenter,_CommonStyles.commonStyles.justifyCenter,{height:40,borderRadius:30}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:17}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{color:'white'}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:183,columnNumber:19}},"X\xE1c nh\u1EADn"))));})));});
2
2
  //# sourceMappingURL=index.js.map
@@ -56,51 +56,12 @@ export const SetPassword = observer(function SetPassword(props: any) {
56
56
  DeviceId: appStore.deviceId,
57
57
  },
58
58
  () => {
59
- homeStore.getListLoanPending((loanData) => {
60
- if (loanData) {
61
- homeStore.getCheckEKYC({ loanBriefId: loanData.id });
62
- qualifyStore.checkQualify(
63
- loanData.id,
64
- (data) => {
65
- if (data?.verify === true) {
66
- navigation.dispatch(
67
- CommonActions.reset({
68
- index: 1,
69
- routes: [
70
- {
71
- name: ScreenNames.Qualify,
72
- params: { loan: loanData },
73
- },
74
- ],
75
- })
76
- );
77
- } else {
78
- navigation.dispatch(
79
- CommonActions.reset({
80
- index: 1,
81
- routes: [{ name: ScreenNames.Main }],
82
- })
83
- );
84
- }
85
- },
86
- () => {
87
- navigation.dispatch(
88
- CommonActions.reset({
89
- index: 1,
90
- routes: [{ name: ScreenNames.Main }],
91
- })
92
- );
93
- }
94
- );
95
- } else {
96
- navigation.dispatch(
97
- CommonActions.reset({
98
- index: 1,
99
- routes: [{ name: ScreenNames.Main }],
100
- })
101
- );
102
- }
103
- });
59
+ navigation.dispatch(
60
+ CommonActions.reset({
61
+ index: 1,
62
+ routes: [{ name: ScreenNames.Main }],
63
+ })
64
+ );
104
65
  }
105
66
  );
106
67
  }}
@@ -1 +1 @@
1
- {"version":3,"names":["_native","require","_formik","_mobxReactLite","_react","_interopRequireDefault","_reactNative","_reactNativeLinearGradient","_icons","_MText","_navigation","_theme","_CommonStyles","yup","_interopRequireWildcard","_Store","_Store2","_store","_AppStore","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","SetPassword","exports","observer","props","_this","navigation","useNavigation","createElement","View","style","commonStyles","fill","backgroundWhite","__self","__source","fileName","lineNumber","columnNumber","SafeAreaView","flex","margin","MText","fontSize","color","primary","fontWeight","marginTop","Formik","initialValues","password","confirmPassword","view","viewConfirm","onSubmit","values","setPasswordStore","setPassword","Phone","route","params","Passcode","DeviceId","appStore","deviceId","homeStore","getListLoanPending","loanData","getCheckEKYC","loanBriefId","id","qualifyStore","checkQualify","data","verify","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Qualify","loan","Main","validationSchema","object","shape","string","min","required","oneOf","ref","_ref","setFieldValue","handleChange","handleSubmit","errors","paddingHorizontal","flexDirection","borderWidth","borderColor","borderRadius","justifyContent","alignItems","TextInput","secureTextEntry","height","marginVertical","fontFamily","maxLength","placeholder","placeholderTextColor","value","keyboardType","onChangeText","returnKeyType","TouchableOpacity","onPress","EyeIcon","colors","alignCenter","justifyCenter","textNormal"],"sourceRoot":"../../../../src","sources":["screens/setPassword/index.tsx"],"mappings":"uKACA,IAAAA,OAAA,CAAAC,OAAA,6BAKA,IAAAC,OAAA,CAAAD,OAAA,WACA,IAAAE,cAAA,CAAAF,OAAA,oBACA,IAAAG,MAAA,CAAAC,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AC/B1F,KAAK,CAAE,CACLC,0BAAY,CAAC0F,WAAW,CACxB1F,0BAAY,CAAC2F,aAAa,CAC1B,CACEf,MAAM,CAAE,EAAE,CACVL,YAAY,CAAE,EAChB,CAAC,CACD,CAAApE,MAAA,CAAAT,KAAA,CAAAU,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,KAAAC,YAAA,MAEFtD,MAAA,CAAAsB,OAAA,CAAAsB,aAAA,CAACvC,MAAA,CAAAqD,KAAK,EAACZ,KAAK,CAAE,CAACC,0BAAY,CAAC4F,UAAU,CAAE,CAAE/E,KAAK,CAAE,OAAQ,CAAC,CAAE,CAAAV,MAAA,CAAAT,KAAA,CAAAU,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,KAAAC,YAAA,MAAC,kBAEtD,CACO,CACA,CACd,CAAC,EAEH,CACI,CACV,CAAC,CAEX,CAAC,CAAC"}
1
+ {"version":3,"names":["_native","require","_formik","_mobxReactLite","_react","_interopRequireDefault","_reactNative","_reactNativeLinearGradient","_icons","_MText","_navigation","_theme","_CommonStyles","yup","_interopRequireWildcard","_store","_AppStore","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","SetPassword","exports","observer","props","_this","navigation","useNavigation","createElement","View","style","commonStyles","fill","backgroundWhite","__self","__source","fileName","lineNumber","columnNumber","SafeAreaView","flex","margin","MText","fontSize","color","primary","fontWeight","marginTop","Formik","initialValues","password","confirmPassword","view","viewConfirm","onSubmit","values","setPasswordStore","setPassword","Phone","route","params","Passcode","DeviceId","appStore","deviceId","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Main","validationSchema","object","shape","string","min","required","oneOf","ref","_ref","setFieldValue","handleChange","handleSubmit","errors","paddingHorizontal","flexDirection","borderWidth","borderColor","borderRadius","justifyContent","alignItems","TextInput","secureTextEntry","height","marginVertical","fontFamily","maxLength","placeholder","placeholderTextColor","value","keyboardType","onChangeText","returnKeyType","TouchableOpacity","onPress","EyeIcon","colors","alignCenter","justifyCenter","textNormal"],"sourceRoot":"../../../../src","sources":["screens/setPassword/index.tsx"],"mappings":"uKACA,IAAAA,OAAA,CAAAC,OAAA,6BAKA,IAAAC,OAAA,CAAAD,OAAA,WACA,IAAAE,cAAA,CAAAF,OAAA,oBACA,IAAAG,MAAA,CAAAC,sBAAA,CAAAJ,OAAA,WACA,IAAAK,YAAA,CAAAL,OAAA,iBACA,IAAAM,0BAAA,CAAAF,sBAAA,CAAAJ,OAAA,kCACA,IAAAO,MAAA,CAAAP,OAAA,uBACA,IAAAQ,MAAA,CAAAR,OAAA,2BACA,IAAAS,WAAA,CAAAT,OAAA,qBACA,IAAAU,MAAA,CAAAV,OAAA,gBACA,IAAAW,aAAA,CAAAX,OAAA,oBACA,IAAAY,GAAA,CAAAC,uBAAA,CAAAb,OAAA,SAGA,IAAAc,MAAA,CAAAV,sBAAA,CAAAJ,OAAA,aACA,IAAAe,SAAA,CAAAX,sBAAA,CAAAJ,OAAA,oBAAsC,IAAAgB,YAAA,0FAAAC,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,YAAAL,wBAAAK,CAAA,CAAAE,CAAA,MAAAA,CAAA,EAAAF,CAAA,EAAAA,CAAA,CAAAI,UAAA,QAAAJ,CAAA,WAAAA,CAAA,mBAAAA,CAAA,qBAAAA,CAAA,QAAAK,OAAA,CAAAL,CAAA,MAAAG,CAAA,CAAAJ,wBAAA,CAAAG,CAAA,KAAAC,CAAA,EAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,SAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,MAAAQ,CAAA,EAAAC,SAAA,OAAAC,CAAA,CAA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AAA,CAAAsB,aAAA,CAACxC,YAAA,CAAAqH,gBAAgB,EACf3E,KAAK,CAAE,CAAEiB,SAAS,CAAE,EAAG,CAAE,CACzB2D,OAAO,CAAE,SAAAA,QAAA,QAAM,CAAAtB,YAAY,CAAC,CAAC,EAAC,CAAAlD,MAAA,CAAAT,KAAA,CAAAU,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,KAAAC,YAAA,MAE9BpD,MAAA,CAAAoB,OAAA,CAAAsB,aAAA,CAACvC,0BAAA,CAAAiB,OAAc,EACbsG,MAAM,CAAE,CAAC,SAAS,CAAE,SAAS,CAAE,CAC/B9E,KAAK,CAAE,CACLC,0BAAY,CAAC8E,WAAW,CACxB9E,0BAAY,CAAC+E,aAAa,CAC1B,CACEf,MAAM,CAAE,EAAE,CACVL,YAAY,CAAE,EAChB,CAAC,CACD,CAAAxD,MAAA,CAAAT,KAAA,CAAAU,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,KAAAC,YAAA,MAEFpD,MAAA,CAAAoB,OAAA,CAAAsB,aAAA,CAACrC,MAAA,CAAAmD,KAAK,EAACZ,KAAK,CAAE,CAACC,0BAAY,CAACgF,UAAU,CAAE,CAAEnE,KAAK,CAAE,OAAQ,CAAC,CAAE,CAAAV,MAAA,CAAAT,KAAA,CAAAU,QAAA,EAAAC,QAAA,CAAArC,YAAA,CAAAsC,UAAA,KAAAC,YAAA,MAAC,kBAEtD,CACO,CACA,CACd,CAAC,EAEH,CACI,CACV,CAAC,CAEX,CAAC,CAAC"}
@@ -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 _AppStore=_interopRequireDefault(require("../../AppStore"));var _api=require("../../services/api");var _class,_descriptor;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);}(0,_createClass2.default)(Store,[{key:"setPassword",value:function setPassword(body,onSuccess){var response;return _regenerator.default.async(function setPassword$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return _regenerator.default.awrap(_api.Api.getInstance().setPasscode(body));case 3:response=_context.sent;if(response.kind==='ok'){if(response.data.meta.errorCode===200){_AppStore.default.phone=body.Phone;_AppStore.default.user={token:response.data.data};_api.Api.getInstance().changeAuth(response.data.data);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!');}_context.next=11;break;case 7:_context.prev=7;_context.t0=_context["catch"](0);console.log(_context.t0);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau!');case 11:case"end":return _context.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;}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"setPassword",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"setPassword"),_class.prototype)),_class);var setPasswordStore=new Store();var _default=exports.default=setPasswordStore;
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 _AppStore=_interopRequireDefault(require("../../AppStore"));var _api=require("../../services/api");var _storage=require("../../utils/storage");var _class,_descriptor;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);}(0,_createClass2.default)(Store,[{key:"setPassword",value:function setPassword(body,onSuccess){var response;return _regenerator.default.async(function setPassword$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return _regenerator.default.awrap(_api.Api.getInstance().setPasscode(body));case 3:response=_context.sent;if(response.kind==='ok'){if(response.data.meta.errorCode===200){_AppStore.default.phone=body.Phone;_AppStore.default.user={token:response.data.data};(0,_storage.save)('TOKEN_TIMACARE',response.data.data);_api.Api.getInstance().changeAuth(response.data.data);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!');}_context.next=11;break;case 7:_context.prev=7;_context.t0=_context["catch"](0);console.log(_context.t0);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau!');case 11:case"end":return _context.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;}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"setPassword",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"setPassword"),_class.prototype)),_class);var setPasswordStore=new Store();var _default=exports.default=setPasswordStore;
2
2
  //# sourceMappingURL=store.js.map
@@ -3,7 +3,7 @@ import { action, observable } from 'mobx';
3
3
  import { Alert } from 'react-native';
4
4
  import appStore from '../../AppStore';
5
5
  import { Api } from '../../services/api';
6
-
6
+ import { save } from '../../utils/storage';
7
7
  class Store {
8
8
  @observable isLoading = false;
9
9
 
@@ -11,13 +11,13 @@ class Store {
11
11
  async setPassword(body, onSuccess?) {
12
12
  try {
13
13
  const response = await Api.getInstance().setPasscode(body);
14
-
15
14
  if (response.kind === 'ok') {
16
15
  if (response.data.meta.errorCode === 200) {
17
16
  appStore.phone = body.Phone;
18
17
  appStore.user = {
19
18
  token: response.data.data,
20
19
  };
20
+ save('TOKEN_TIMACARE', response.data.data);
21
21
  Api.getInstance().changeAuth(response.data.data);
22
22
  if (onSuccess) onSuccess();
23
23
  } else {
@@ -1 +1 @@
1
- {"version":3,"names":["_mobx","require","_reactNative","_AppStore","_interopRequireDefault","_api","_class","_descriptor","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","setPassword","body","onSuccess","response","_regenerator","async","setPassword$","_context","prev","next","awrap","Api","getInstance","setPasscode","sent","kind","data","meta","errorCode","appStore","phone","Phone","user","token","changeAuth","Alert","alert","errorMessage","t0","console","log","stop","Promise","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","setPasswordStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/setPassword/store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,SAAA,CAAAC,sBAAA,CAAAH,OAAA,oBACA,IAAAI,IAAA,CAAAJ,OA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,CAAAE,IAAA,iBAAAF,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAqB,EAAA,CAAArB,QAAA,aAEDsB,OAAO,CAACC,GAAG,CAAAvB,QAAA,CAAAqB,EAAM,CAAC,CAClBH,kBAAK,CAACC,KAAK,CAAC,WAAW,CAAE,sCAAsC,CAAC,CAAC,yBAAAnB,QAAA,CAAAwB,IAAA,wBAAAC,OAAA,GAEpE,WAAAvC,KAAA,MAAAD,WAAA,IAAAyC,0BAAA,CAAAtC,OAAA,EAAAJ,MAAA,CAAA2C,SAAA,cAzBAC,gBAAU,GAAAC,YAAA,MAAAC,UAAA,MAAAC,QAAA,MAAAC,WAAA,UAAAA,YAAA,QAAa,MAAK,QAAAN,0BAAA,CAAAtC,OAAA,EAAAJ,MAAA,CAAA2C,SAAA,gBAE5BM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAAnD,MAAA,CAAA2C,SAAA,gBAAA3C,MAAA,CAAA2C,SAAA,GAAA3C,MAAA,EAyBT,GAAM,CAAAoD,gBAAgB,CAAG,GAAI,CAAAlD,KAAK,CAAC,CAAC,CAAC,IAAAmD,QAAA,CAAAC,OAAA,CAAAlD,OAAA,CACtBgD,gBAAgB"}
1
+ {"version":3,"names":["_mobx","require","_reactNative","_AppStore","_interopRequireDefault","_api","_storage","_class","_descriptor","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","setPassword","body","onSuccess","response","_regenerator","async","setPassword$","_context","prev","next","awrap","Api","getInstance","setPasscode","sent","kind","data","meta","errorCode","appStore","phone","Phone","user","token","save","changeAuth","Alert","alert","errorMessage","t0","console","log","stop","Promise","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","setPasswordStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/setPassword/store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,SAAA,CA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C,WAAW,CAAExB,QAAQ,CAACa,IAAI,CAACC,IAAI,CAACW,YAAY,CAAC,CAC3D,CACF,CAAC,IAAM,CACLF,kBAAK,CAACC,KAAK,CAAC,WAAW,CAAE,sCAAsC,CAAC,CAClE,CAACpB,QAAA,CAAAE,IAAA,iBAAAF,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAsB,EAAA,CAAAtB,QAAA,aAEDuB,OAAO,CAACC,GAAG,CAAAxB,QAAA,CAAAsB,EAAM,CAAC,CAClBH,kBAAK,CAACC,KAAK,CAAC,WAAW,CAAE,sCAAsC,CAAC,CAAC,yBAAApB,QAAA,CAAAyB,IAAA,wBAAAC,OAAA,GAEpE,WAAAxC,KAAA,MAAAD,WAAA,IAAA0C,0BAAA,CAAAvC,OAAA,EAAAJ,MAAA,CAAA4C,SAAA,cAzBAC,gBAAU,GAAAC,YAAA,MAAAC,UAAA,MAAAC,QAAA,MAAAC,WAAA,UAAAA,YAAA,QAAa,MAAK,QAAAN,0BAAA,CAAAvC,OAAA,EAAAJ,MAAA,CAAA4C,SAAA,gBAE5BM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAApD,MAAA,CAAA4C,SAAA,gBAAA5C,MAAA,CAAA4C,SAAA,GAAA5C,MAAA,EAyBT,GAAM,CAAAqD,gBAAgB,CAAG,GAAI,CAAAnD,KAAK,CAAC,CAAC,CAAC,IAAAoD,QAAA,CAAAC,OAAA,CAAAnD,OAAA,CACtBiD,gBAAgB"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.TimaCareNavigation=void 0;var _react=_interopRequireWildcard(require("react"));var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _reactNativeScreens=require("react-native-screens");var _AppStore=_interopRequireDefault(require("./AppStore"));var _rootNavigator=_interopRequireDefault(require("./navigation/root-navigator"));var _mobxReactLite=require("mobx-react-lite");var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/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;}(0,_reactNativeScreens.enableScreens)();function TimaCareNavigator(){var _this=this;(0,_react.useEffect)(function(){_AppStore.default.getDeviceId();_AppStore.default.getPublicIp();_AppStore.default.getAppId();_AppStore.default.getDevicePayload();},[]);return _react.default.createElement(_react.StrictMode,{__self:this,__source:{fileName:_jsxFileName,lineNumber:22,columnNumber:5}},_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaProvider,{initialSafeAreaInsets:_reactNativeSafeAreaContext.initialWindowSafeAreaInsets,__self:this,__source:{fileName:_jsxFileName,lineNumber:23,columnNumber:7}},_react.default.createElement(_mobxReactLite.Observer,{__self:this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:9}},function(){return _react.default.createElement(_rootNavigator.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:26}});})));}var TimaCareNavigation=exports.TimaCareNavigation=TimaCareNavigator;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.TimaCareNavigation=void 0;var _react=_interopRequireWildcard(require("react"));var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _reactNativeScreens=require("react-native-screens");var _AppStore=_interopRequireDefault(require("./AppStore"));var _navigation=require("./navigation");var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/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;}(0,_reactNativeScreens.enableScreens)();function TimaCareNavigator(){(0,_react.useEffect)(function(){_AppStore.default.getDeviceId();_AppStore.default.getPublicIp();_AppStore.default.getAppId();_AppStore.default.getDevicePayload();},[]);return _react.default.createElement(_react.StrictMode,{__self:this,__source:{fileName:_jsxFileName,lineNumber:21,columnNumber:5}},_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaProvider,{initialSafeAreaInsets:_reactNativeSafeAreaContext.initialWindowSafeAreaInsets,__self:this,__source:{fileName:_jsxFileName,lineNumber:22,columnNumber:7}},_react.default.createElement(_navigation.PrimaryNavigator,{__self:this,__source:{fileName:_jsxFileName,lineNumber:23,columnNumber:9}})));}var TimaCareNavigation=exports.TimaCareNavigation=TimaCareNavigator;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeSafeAreaContext","_reactNativeScreens","_AppStore","_interopRequireDefault","_rootNavigator","_mobxReactLite","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","enableScreens","TimaCareNavigator","_this","useEffect","appStore","getDeviceId","getPublicIp","getAppId","getDevicePayload","createElement","StrictMode","__self","__source","fileName","lineNumber","columnNumber","SafeAreaProvider","initialSafeAreaInsets","initialWindowSafeAreaInsets","Observer","TimaCareNavigation","exports"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"8KACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,2BAAA,CAAAD,OAAA,mCAIA,IAAAE,mBAAA,CAAAF,OAAA,yBACA,IAAAG,SAAA,CAAAC,sBAAA,CAAAJ,OAAA,gBACA,IAAAK,cAAA,CAAAD,sBAAA,CAAAJ,OAAA,iCACA,IAAAM,cAAA,CAAAN,OAAA,oBAA2C,IAAAO,YAAA,sEAAAC,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,YAAAV,wBAAAU,CAAA,CAAAE,CAAA,MAAAA,CAAA,EAAAF,CAAA,EAAAA,CAAA,CAAAI,UAAA,QAAAJ,CAAA,WAAAA,CAAA,mBAAAA,CAAA,qBAAAA,CAAA,QAAAK,OAAA,CAAAL,CAAA,MAAAG,CAAA,CAAAJ,wBAAA,CAAAG,CAAA,KAAAC,CAAA,EAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,SAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,MAAAQ,CAAA,EAAAC,SAAA,OAAAC,CAAA,CAAAC,MAAA,CAAAC,cAAA,EAAAD,MAAA,CAAAE,wBAAA,SAAAC,CAAA,IAAAd,CAAA,gBAAAc,CAAA,EAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,CAAAc,CAAA,OAAAI,CAAA,CAAAR,CAAA,CAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,CAAAc,CAAA,OAAAI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AAAU,QAAA,EAAAC,QAAA,CAAAnC,YAAA,CAAAoC,UAAA,IAAAC,YAAA,KAAE,CAAC,EAAW,CACzB,CACR,CAAC,CAEjB,CAEO,GAAM,CAAAK,kBAAkB,CAAAC,OAAA,CAAAD,kBAAA,CAAGnB,iBAAiB"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeSafeAreaContext","_reactNativeScreens","_AppStore","_interopRequireDefault","_navigation","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","enableScreens","TimaCareNavigator","useEffect","appStore","getDeviceId","getPublicIp","getAppId","getDevicePayload","createElement","StrictMode","__self","__source","fileName","lineNumber","columnNumber","SafeAreaProvider","initialSafeAreaInsets","initialWindowSafeAreaInsets","PrimaryNavigator","TimaCareNavigation","exports"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"8KACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,2BAAA,CAAAD,OAAA,mCAIA,IAAAE,mBAAA,CAAAF,OAAA,yBACA,IAAAG,SAAA,CAAAC,sBAAA,CAAAJ,OAAA,gBACA,IAAAK,WAAA,CAAAL,OAAA,iBAAgD,IAAAM,YAAA,sEAAAC,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,YAAAT,wBAAAS,CAAA,CAAAE,CAAA,MAAAA,CAAA,EAAAF,CAAA,EAAAA,CAAA,CAAAI,UAAA,QAAAJ,CAAA,WAAAA,CAAA,mBAAAA,CAAA,qBAAAA,CAAA,QAAAK,OAAA,CAAAL,CAAA,MAAAG,CAAA,CAAAJ,wBAAA,CAAAG,CAAA,KAAAC,CAAA,EAAAA,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,uDAA4B,CAAAP,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAlC,YAAA,CAAAmC,UAAA,IAAAC,YAAA,KACnE5C,MAAA,CAAAe,OAAA,CAAAuB,aAAA,CAAC/B,WAAA,CAAAyC,gBAAgB,EAAAR,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAlC,YAAA,CAAAmC,UAAA,IAAAC,YAAA,IAAE,CACH,CACR,CAAC,CAEjB,CAEO,GAAM,CAAAK,kBAAkB,CAAAC,OAAA,CAAAD,kBAAA,CAAGlB,iBAAiB"}
@@ -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 _jsxFileName="/Users/quangduc/Documents/Tima/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'};var Stack=(0,_nativeStack.createNativeStackNavigator)();function PrimaryNavigator(){return _react.default.createElement(Stack.Navigator,{initialRouteName:ScreenNames.Splash,screenOptions:{headerShown:false,gestureEnabled:true},__self:this,__source:{fileName:_jsxFileName,lineNumber:101,columnNumber:5}},_react.default.createElement(Stack.Screen,{name:ScreenNames.Splash,component:_screens.Splash,__self:this,__source:{fileName:_jsxFileName,lineNumber:108,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Register,component:_register.Register,__self:this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Main,component:_screens.Main,__self:this,__source:{fileName:_jsxFileName,lineNumber:110,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.OTP,component:_otp.OTP,__self:this,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalID,component:_nationalID.NationalID,__self:this,__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Selfie,component:_selfie.Selfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:113,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Camera,component:_camera.Camera,__self:this,__source:{fileName:_jsxFileName,lineNumber:114,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Terms,component:_TermScreen.TermScreen,__self:this,__source:{fileName:_jsxFileName,lineNumber:115,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LiveNess,component:_liveness.LiveNess,__self:this,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ESign,component:_eSign.ESign,__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalIDBack,component:_nationalIDBack.NationalIDBack,__self:this,__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoan,component:_detailLoan.DetailLoan,__self:this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Contract,component:_contract.Contract,__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Video,component:_uploadVideo.Video,__self:this,__source:{fileName:_jsxFileName,lineNumber:124,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Qualify,component:_qualify.Qualify,__self:this,__source:{fileName:_jsxFileName,lineNumber:125,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LoginWithPassword,component:_loginWithPassword.LoginWithPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ForgotPassword,component:_forgotPassword.ForgotPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SetPassword,component:_setPassword.SetPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmPassword,component:_confirmPassword.ConfirmPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickSubmit,component:_quickSubmit.QuickSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:139,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Introduction,component:_introduction.Introduction,__self:this,__source:{fileName:_jsxFileName,lineNumber:140,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.FullSubmit,component:_fullSubmit.FullSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:141,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CommonSelect,component:_select.CommonSelect,__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBSign,component:_cimbSign.CIMBSign,__self:this,__source:{fileName:_jsxFileName,lineNumber:143,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SchedulePayment,component:_schedulePayment.SchedulePayment,__self:this,__source:{fileName:_jsxFileName,lineNumber:144,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Notification,component:_notification.Notification,__self:this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentList,component:_paymentList.PaymentList,__self:this,__source:{fileName:_jsxFileName,lineNumber:149,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBxTima,component:_CIMBxTima.CIMBxTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:150,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickTerm,component:_QuickTerm.QuickTerm,__self:this,__source:{fileName:_jsxFileName,lineNumber:151,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentInfo,component:_PaymentInfo.PaymentInfo,__self:this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CimbSelfie,component:_selfie2.CimbSelfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:153,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentEvidence,component:_paymentEvidence.PaymentEvidence,__self:this,__source:{fileName:_jsxFileName,lineNumber:154,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.GuideTransferBank,component:_guideTransferBank.GuideTransferBank,__self:this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.TransferDetail,component:_TransferDetail.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentAll,component:_PaymentAll.PaymentAll,__self:this,__source:{fileName:_jsxFileName,lineNumber:166,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ViewContract,component:_ViewContract.ViewContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:167,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmContract,component:_ConfirmContract.ConfirmContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Guideline,component:_Guideline.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.AcceptPolicy,component:_accept_policy.AcceptPolicy,__self:this,__source:{fileName:_jsxFileName,lineNumber:173,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 _jsxFileName="/Users/quangduc/Documents/Tima/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'};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:101,columnNumber:5}},_react.default.createElement(Stack.Screen,{name:ScreenNames.Splash,component:_screens.Splash,__self:this,__source:{fileName:_jsxFileName,lineNumber:108,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Register,component:_register.Register,__self:this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Main,component:_screens.Main,__self:this,__source:{fileName:_jsxFileName,lineNumber:110,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.OTP,component:_otp.OTP,__self:this,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalID,component:_nationalID.NationalID,__self:this,__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Selfie,component:_selfie.Selfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:113,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Camera,component:_camera.Camera,__self:this,__source:{fileName:_jsxFileName,lineNumber:114,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Terms,component:_TermScreen.TermScreen,__self:this,__source:{fileName:_jsxFileName,lineNumber:115,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LiveNess,component:_liveness.LiveNess,__self:this,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ESign,component:_eSign.ESign,__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.NationalIDBack,component:_nationalIDBack.NationalIDBack,__self:this,__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.DetailLoan,component:_detailLoan.DetailLoan,__self:this,__source:{fileName:_jsxFileName,lineNumber:122,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Contract,component:_contract.Contract,__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Video,component:_uploadVideo.Video,__self:this,__source:{fileName:_jsxFileName,lineNumber:124,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Qualify,component:_qualify.Qualify,__self:this,__source:{fileName:_jsxFileName,lineNumber:125,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.LoginWithPassword,component:_loginWithPassword.LoginWithPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ForgotPassword,component:_forgotPassword.ForgotPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:130,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SetPassword,component:_setPassword.SetPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmPassword,component:_confirmPassword.ConfirmPassword,__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickSubmit,component:_quickSubmit.QuickSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:139,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Introduction,component:_introduction.Introduction,__self:this,__source:{fileName:_jsxFileName,lineNumber:140,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.FullSubmit,component:_fullSubmit.FullSubmit,__self:this,__source:{fileName:_jsxFileName,lineNumber:141,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CommonSelect,component:_select.CommonSelect,__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBSign,component:_cimbSign.CIMBSign,__self:this,__source:{fileName:_jsxFileName,lineNumber:143,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.SchedulePayment,component:_schedulePayment.SchedulePayment,__self:this,__source:{fileName:_jsxFileName,lineNumber:144,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Notification,component:_notification.Notification,__self:this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentList,component:_paymentList.PaymentList,__self:this,__source:{fileName:_jsxFileName,lineNumber:149,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CIMBxTima,component:_CIMBxTima.CIMBxTima,__self:this,__source:{fileName:_jsxFileName,lineNumber:150,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.QuickTerm,component:_QuickTerm.QuickTerm,__self:this,__source:{fileName:_jsxFileName,lineNumber:151,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentInfo,component:_PaymentInfo.PaymentInfo,__self:this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.CimbSelfie,component:_selfie2.CimbSelfie,__self:this,__source:{fileName:_jsxFileName,lineNumber:153,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentEvidence,component:_paymentEvidence.PaymentEvidence,__self:this,__source:{fileName:_jsxFileName,lineNumber:154,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.GuideTransferBank,component:_guideTransferBank.GuideTransferBank,__self:this,__source:{fileName:_jsxFileName,lineNumber:158,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.TransferDetail,component:_TransferDetail.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:162,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.PaymentAll,component:_PaymentAll.PaymentAll,__self:this,__source:{fileName:_jsxFileName,lineNumber:166,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ViewContract,component:_ViewContract.ViewContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:167,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.ConfirmContract,component:_ConfirmContract.ConfirmContract,__self:this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.Guideline,component:_Guideline.default,__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:7}}),_react.default.createElement(Stack.Screen,{name:ScreenNames.AcceptPolicy,component:_accept_policy.AcceptPolicy,__self:this,__source:{fileName:_jsxFileName,lineNumber:173,columnNumber:7}}));}var exitRoutes=['welcome'];var canExit=exports.canExit=function canExit(routeName){return exitRoutes.includes(routeName);};
2
2
  //# sourceMappingURL=primary-navigator.js.map
@@ -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","_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","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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AC,CAEtB,CAEA,GAAM,CAAAK,UAAU,CAAG,CAAC,SAAS,CAAC,CACvB,GAAM,CAAAC,OAAO,CAAAjE,OAAA,CAAAiE,OAAA,CAAG,QAAV,CAAAA,OAAOA,CAAIC,SAAiB,QAAK,CAAAF,UAAU,CAACG,QAAQ,CAACD,SAAS,CAAC"}
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","_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","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,OA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