react-native-timacare 3.1.72 → 3.1.73

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 (61) hide show
  1. package/lib/commonjs/assets/v3/index.js +1 -1
  2. package/lib/commonjs/assets/v3/index.js.flow +4 -0
  3. package/lib/commonjs/assets/v3/index.js.map +1 -1
  4. package/lib/commonjs/assets/v3/option1-active.svg +45 -0
  5. package/lib/commonjs/assets/v3/option2-disable.svg +18 -0
  6. package/lib/commonjs/assets/v3/option2.svg +32 -12
  7. package/lib/commonjs/components/ItemTimaOneV3.js +1 -1
  8. package/lib/commonjs/components/ItemTimaOneV3.js.flow +18 -15
  9. package/lib/commonjs/components/ItemTimaOneV3.js.map +1 -1
  10. package/lib/commonjs/components/ModalOptionLoan.js +1 -1
  11. package/lib/commonjs/components/ModalOptionLoan.js.flow +94 -8
  12. package/lib/commonjs/components/ModalOptionLoan.js.map +1 -1
  13. package/lib/commonjs/screens/home/index.js +1 -1
  14. package/lib/commonjs/screens/home/index.js.flow +4 -1
  15. package/lib/commonjs/screens/home/index.js.map +1 -1
  16. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
  17. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +9 -16
  18. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  19. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  20. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.flow +202 -536
  21. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  22. package/lib/commonjs/services/api/api.js +1 -1
  23. package/lib/commonjs/services/api/api.js.flow +16 -0
  24. package/lib/commonjs/services/api/api.js.map +1 -1
  25. package/lib/module/assets/v3/index.js +1 -1
  26. package/lib/module/assets/v3/index.js.map +1 -1
  27. package/lib/module/assets/v3/option1-active.svg +45 -0
  28. package/lib/module/assets/v3/option2-disable.svg +18 -0
  29. package/lib/module/assets/v3/option2.svg +32 -12
  30. package/lib/module/components/ItemTimaOneV3.js +1 -1
  31. package/lib/module/components/ItemTimaOneV3.js.map +1 -1
  32. package/lib/module/components/ModalOptionLoan.js +1 -1
  33. package/lib/module/components/ModalOptionLoan.js.map +1 -1
  34. package/lib/module/screens/home/index.js +1 -1
  35. package/lib/module/screens/home/index.js.map +1 -1
  36. package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
  37. package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  38. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  39. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  40. package/lib/module/services/api/api.js +1 -1
  41. package/lib/module/services/api/api.js.map +1 -1
  42. package/lib/typescript/assets/v3/index.d.ts +3 -1
  43. package/lib/typescript/assets/v3/index.d.ts.map +1 -1
  44. package/lib/typescript/components/ItemTimaOneV3.d.ts.map +1 -1
  45. package/lib/typescript/components/ModalOptionLoan.d.ts.map +1 -1
  46. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  47. package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
  48. package/lib/typescript/screens/toan-trinh-so/TopupLoanInfo.d.ts.map +1 -1
  49. package/lib/typescript/services/api/api.d.ts +16 -0
  50. package/lib/typescript/services/api/api.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/src/assets/v3/index.tsx +4 -0
  53. package/src/assets/v3/option1-active.svg +45 -0
  54. package/src/assets/v3/option2-disable.svg +18 -0
  55. package/src/assets/v3/option2.svg +32 -12
  56. package/src/components/ItemTimaOneV3.tsx +18 -15
  57. package/src/components/ModalOptionLoan.tsx +94 -8
  58. package/src/screens/home/index.tsx +4 -1
  59. package/src/screens/toan-trinh-so/TTSSelfie.tsx +9 -16
  60. package/src/screens/toan-trinh-so/TopupLoanInfo.tsx +202 -536
  61. package/src/services/api/api.ts +16 -0
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"IconHome",{enumerable:true,get:function get(){return _home.default;}});Object.defineProperty(exports,"IconOption1",{enumerable:true,get:function get(){return _option.default;}});Object.defineProperty(exports,"IconOption2",{enumerable:true,get:function get(){return _option2.default;}});Object.defineProperty(exports,"IconStep1",{enumerable:true,get:function get(){return _step.default;}});Object.defineProperty(exports,"IconStep1Success",{enumerable:true,get:function get(){return _step1Success.default;}});Object.defineProperty(exports,"IconStep2",{enumerable:true,get:function get(){return _step2.default;}});Object.defineProperty(exports,"IconStep2Disable",{enumerable:true,get:function get(){return _step2Disable.default;}});Object.defineProperty(exports,"IconStep2Success",{enumerable:true,get:function get(){return _step2Success.default;}});Object.defineProperty(exports,"IconStep3",{enumerable:true,get:function get(){return _step3.default;}});Object.defineProperty(exports,"IconStep3Disable",{enumerable:true,get:function get(){return _step3Disable.default;}});Object.defineProperty(exports,"IconStep3Success",{enumerable:true,get:function get(){return _step3Success.default;}});Object.defineProperty(exports,"IconStep4",{enumerable:true,get:function get(){return _step4.default;}});Object.defineProperty(exports,"IconStep4Disable",{enumerable:true,get:function get(){return _step4Disable.default;}});Object.defineProperty(exports,"IconStep4Success",{enumerable:true,get:function get(){return _step4Success.default;}});Object.defineProperty(exports,"IconStep5",{enumerable:true,get:function get(){return _step5.default;}});Object.defineProperty(exports,"IconStep5Disable",{enumerable:true,get:function get(){return _step5Disable.default;}});Object.defineProperty(exports,"IconStep5Success",{enumerable:true,get:function get(){return _step5Success.default;}});var _step=_interopRequireDefault(require("./step1.svg"));var _step2=_interopRequireDefault(require("./step2.svg"));var _step3=_interopRequireDefault(require("./step3.svg"));var _step4=_interopRequireDefault(require("./step4.svg"));var _step5=_interopRequireDefault(require("./step5.svg"));var _step2Disable=_interopRequireDefault(require("./step2-disable.svg"));var _step3Disable=_interopRequireDefault(require("./step3-disable.svg"));var _step4Disable=_interopRequireDefault(require("./step4-disable.svg"));var _step5Disable=_interopRequireDefault(require("./step5-disable.svg"));var _option=_interopRequireDefault(require("./option1.svg"));var _option2=_interopRequireDefault(require("./option2.svg"));var _step1Success=_interopRequireDefault(require("./step1-success.svg"));var _step2Success=_interopRequireDefault(require("./step2-success.svg"));var _step3Success=_interopRequireDefault(require("./step3-success.svg"));var _step4Success=_interopRequireDefault(require("./step4-success.svg"));var _step5Success=_interopRequireDefault(require("./step5-success.svg"));var _home=_interopRequireDefault(require("./home.svg"));
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"IconHome",{enumerable:true,get:function get(){return _home.default;}});Object.defineProperty(exports,"IconOption1",{enumerable:true,get:function get(){return _option.default;}});Object.defineProperty(exports,"IconOption1Active",{enumerable:true,get:function get(){return _option1Active.default;}});Object.defineProperty(exports,"IconOption2",{enumerable:true,get:function get(){return _option2.default;}});Object.defineProperty(exports,"IconOption2Disable",{enumerable:true,get:function get(){return _option2Disable.default;}});Object.defineProperty(exports,"IconStep1",{enumerable:true,get:function get(){return _step.default;}});Object.defineProperty(exports,"IconStep1Success",{enumerable:true,get:function get(){return _step1Success.default;}});Object.defineProperty(exports,"IconStep2",{enumerable:true,get:function get(){return _step2.default;}});Object.defineProperty(exports,"IconStep2Disable",{enumerable:true,get:function get(){return _step2Disable.default;}});Object.defineProperty(exports,"IconStep2Success",{enumerable:true,get:function get(){return _step2Success.default;}});Object.defineProperty(exports,"IconStep3",{enumerable:true,get:function get(){return _step3.default;}});Object.defineProperty(exports,"IconStep3Disable",{enumerable:true,get:function get(){return _step3Disable.default;}});Object.defineProperty(exports,"IconStep3Success",{enumerable:true,get:function get(){return _step3Success.default;}});Object.defineProperty(exports,"IconStep4",{enumerable:true,get:function get(){return _step4.default;}});Object.defineProperty(exports,"IconStep4Disable",{enumerable:true,get:function get(){return _step4Disable.default;}});Object.defineProperty(exports,"IconStep4Success",{enumerable:true,get:function get(){return _step4Success.default;}});Object.defineProperty(exports,"IconStep5",{enumerable:true,get:function get(){return _step5.default;}});Object.defineProperty(exports,"IconStep5Disable",{enumerable:true,get:function get(){return _step5Disable.default;}});Object.defineProperty(exports,"IconStep5Success",{enumerable:true,get:function get(){return _step5Success.default;}});var _step=_interopRequireDefault(require("./step1.svg"));var _step2=_interopRequireDefault(require("./step2.svg"));var _step3=_interopRequireDefault(require("./step3.svg"));var _step4=_interopRequireDefault(require("./step4.svg"));var _step5=_interopRequireDefault(require("./step5.svg"));var _step2Disable=_interopRequireDefault(require("./step2-disable.svg"));var _step3Disable=_interopRequireDefault(require("./step3-disable.svg"));var _step4Disable=_interopRequireDefault(require("./step4-disable.svg"));var _step5Disable=_interopRequireDefault(require("./step5-disable.svg"));var _option=_interopRequireDefault(require("./option1.svg"));var _option2=_interopRequireDefault(require("./option2.svg"));var _step1Success=_interopRequireDefault(require("./step1-success.svg"));var _step2Success=_interopRequireDefault(require("./step2-success.svg"));var _step3Success=_interopRequireDefault(require("./step3-success.svg"));var _step4Success=_interopRequireDefault(require("./step4-success.svg"));var _step5Success=_interopRequireDefault(require("./step5-success.svg"));var _home=_interopRequireDefault(require("./home.svg"));var _option1Active=_interopRequireDefault(require("./option1-active.svg"));var _option2Disable=_interopRequireDefault(require("./option2-disable.svg"));
2
2
  //# sourceMappingURL=index.js.map
@@ -16,8 +16,12 @@ import IconStep3Success from './step3-success.svg';
16
16
  import IconStep4Success from './step4-success.svg';
17
17
  import IconStep5Success from './step5-success.svg';
18
18
  import IconHome from './home.svg';
19
+ import IconOption1Active from './option1-active.svg';
20
+ import IconOption2Disable from './option2-disable.svg';
19
21
 
20
22
  export {
23
+ IconOption1Active,
24
+ IconOption2Disable,
21
25
  IconStep1,
22
26
  IconStep2,
23
27
  IconStep3,
@@ -1 +1 @@
1
- {"version":3,"names":["_step","_interopRequireDefault","require","_step2","_step3","_step4","_step5","_step2Disable","_step3Disable","_step4Disable","_step5Disable","_option","_option2","_step1Success","_step2Success","_step3Success","_step4Success","_step5Success","_home"],"sourceRoot":"../../../../src","sources":["assets/v3/index.tsx"],"mappings":"s/DACA,IAAAA,KAAA,CAAAC,sBAAA,CAAAC,OAAA,iBACA,IAAAC,MAAA,CAAAF,sBAAA,CAAAC,OAAA,iBACA,IAAAE,MAAA,CAAAH,sBAAA,CAAAC,OAAA,iBACA,IAAAG,MAAA,CAAAJ,sBAAA,CAAAC,OAAA,iBACA,IAAAI,MAAA,CAAAL,sBAAA,CAAAC,OAAA,iBACA,IAAAK,aAAA,CAAAN,sBAAA,CAAAC,OAAA,yBACA,IAAAM,aAAA,CAAAP,sBAAA,CAAAC,OAAA,yBACA,IAAAO,aAAA,CAAAR,sBAAA,CAAAC,OAAA,yBACA,IAAAQ,aAAA,CAAAT,sBAAA,CAAAC,OAAA,yBACA,IAAAS,OAAA,CAAAV,sBAAA,CAAAC,OAAA,mBACA,IAAAU,QAAA,CAAAX,sBAAA,CAAAC,OAAA,mBACA,IAAAW,aAAA,CAAAZ,sBAAA,CAAAC,OAAA,yBACA,IAAAY,aAAA,CAAAb,sBAAA,CAAAC,OAAA,yBACA,IAAAa,aAAA,CAAAd,sBAAA,CAAAC,OAAA,yBACA,IAAAc,aAAA,CAAAf,sBAAA,CAAAC,OAAA,yBACA,IAAAe,aAAA,CAAAhB,sBAAA,CAAAC,OAAA,yBACA,IAAAgB,KAAA,CAAAjB,sBAAA,CAAAC,OAAA"}
1
+ {"version":3,"names":["_step","_interopRequireDefault","require","_step2","_step3","_step4","_step5","_step2Disable","_step3Disable","_step4Disable","_step5Disable","_option","_option2","_step1Success","_step2Success","_step3Success","_step4Success","_step5Success","_home","_option1Active","_option2Disable"],"sourceRoot":"../../../../src","sources":["assets/v3/index.tsx"],"mappings":"wuEACA,IAAAA,KAAA,CAAAC,sBAAA,CAAAC,OAAA,iBACA,IAAAC,MAAA,CAAAF,sBAAA,CAAAC,OAAA,iBACA,IAAAE,MAAA,CAAAH,sBAAA,CAAAC,OAAA,iBACA,IAAAG,MAAA,CAAAJ,sBAAA,CAAAC,OAAA,iBACA,IAAAI,MAAA,CAAAL,sBAAA,CAAAC,OAAA,iBACA,IAAAK,aAAA,CAAAN,sBAAA,CAAAC,OAAA,yBACA,IAAAM,aAAA,CAAAP,sBAAA,CAAAC,OAAA,yBACA,IAAAO,aAAA,CAAAR,sBAAA,CAAAC,OAAA,yBACA,IAAAQ,aAAA,CAAAT,sBAAA,CAAAC,OAAA,yBACA,IAAAS,OAAA,CAAAV,sBAAA,CAAAC,OAAA,mBACA,IAAAU,QAAA,CAAAX,sBAAA,CAAAC,OAAA,mBACA,IAAAW,aAAA,CAAAZ,sBAAA,CAAAC,OAAA,yBACA,IAAAY,aAAA,CAAAb,sBAAA,CAAAC,OAAA,yBACA,IAAAa,aAAA,CAAAd,sBAAA,CAAAC,OAAA,yBACA,IAAAc,aAAA,CAAAf,sBAAA,CAAAC,OAAA,yBACA,IAAAe,aAAA,CAAAhB,sBAAA,CAAAC,OAAA,yBACA,IAAAgB,KAAA,CAAAjB,sBAAA,CAAAC,OAAA,gBACA,IAAAiB,cAAA,CAAAlB,sBAAA,CAAAC,OAAA,0BACA,IAAAkB,eAAA,CAAAnB,sBAAA,CAAAC,OAAA"}
@@ -0,0 +1,45 @@
1
+ <svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="44" height="44" rx="22" fill="white"/>
3
+ <path d="M22 28.75C21.59 28.75 21.25 28.41 21.25 28V27C21.25 26.59 21.59 26.25 22 26.25C22.41 26.25 22.75 26.59 22.75 27V28C22.75 28.41 22.41 28.75 22 28.75Z" fill="url(#paint0_linear_10233_83091)"/>
4
+ <path d="M22 32.75C21.59 32.75 21.25 32.41 21.25 32V31C21.25 30.59 21.59 30.25 22 30.25C22.41 30.25 22.75 30.59 22.75 31V32C22.75 32.41 22.41 32.75 22 32.75Z" fill="url(#paint1_linear_10233_83091)"/>
5
+ <path d="M12.0001 32.7501C11.9401 32.7501 11.8801 32.7401 11.8201 32.7301C11.4201 32.6301 11.1701 32.2201 11.2701 31.8201L12.2701 27.8201C12.3701 27.4201 12.7701 27.1701 13.1801 27.2701C13.5801 27.3701 13.8301 27.7801 13.7301 28.1801L12.7301 32.1801C12.6401 32.5201 12.3401 32.7501 12.0001 32.7501Z" fill="url(#paint2_linear_10233_83091)"/>
6
+ <path d="M31.9997 32.7497C31.6597 32.7497 31.3597 32.5197 31.2697 32.1797L30.2697 28.1797C30.1697 27.7797 30.4097 27.3697 30.8197 27.2697C31.2197 27.1697 31.6297 27.4097 31.7297 27.8197L32.7297 31.8197C32.8297 32.2197 32.5897 32.6297 32.1797 32.7297C32.1197 32.7397 32.0597 32.7497 31.9997 32.7497Z" fill="url(#paint3_linear_10233_83091)"/>
7
+ <path opacity="0.4" d="M29.2602 19.5198C29.1502 18.3398 28.8402 17.0898 26.5502 17.0898H17.4502C15.1602 17.0898 14.8502 18.3498 14.7402 19.5198L14.3402 23.8598C14.2902 24.3998 14.4702 24.9398 14.8402 25.3498C15.2202 25.7598 15.7602 25.9998 16.3202 25.9998H17.6602C18.8102 25.9998 19.0302 25.3398 19.1802 24.8998L19.3202 24.4698C19.4802 23.9798 19.5202 23.8598 20.1702 23.8598H23.8202C24.4602 23.8598 24.4802 23.9298 24.6702 24.4698L24.8102 24.8998C24.9602 25.3398 25.1802 25.9998 26.3302 25.9998H27.6702C28.2302 25.9998 28.7702 25.7598 29.1502 25.3498C29.5202 24.9498 29.7002 24.3998 29.6502 23.8598L29.2602 19.5198Z" fill="url(#paint4_linear_10233_83091)"/>
8
+ <path d="M28.4198 14.94H27.7098C27.6998 14.94 27.6998 14.94 27.6998 14.94L27.4298 13.65C27.1698 12.4 26.6398 11.25 24.5098 11.25H22.5398H21.4698H19.4998C17.3698 11.25 16.8398 12.4 16.5798 13.65L16.3098 14.94C16.2998 14.94 16.2998 14.94 16.2998 14.94H15.5898C15.2898 14.94 15.0498 15.18 15.0498 15.48C15.0498 15.78 15.2898 16.02 15.5898 16.02H16.0998L15.7998 17.45C16.1898 17.23 16.7198 17.09 17.4598 17.09H26.5598C27.2998 17.09 27.8398 17.23 28.2198 17.45L27.9198 16.02H28.4298C28.7298 16.02 28.9698 15.78 28.9698 15.48C28.9598 15.18 28.7198 14.94 28.4198 14.94Z" fill="url(#paint5_linear_10233_83091)"/>
9
+ <path d="M19.8607 21.0097H17.7207C17.4207 21.0097 17.1807 20.7697 17.1807 20.4697C17.1807 20.1697 17.4207 19.9297 17.7207 19.9297H19.8607C20.1607 19.9297 20.4007 20.1697 20.4007 20.4697C20.3907 20.7697 20.1507 21.0097 19.8607 21.0097Z" fill="url(#paint6_linear_10233_83091)"/>
10
+ <path d="M26.2806 21.0097H24.1406C23.8406 21.0097 23.6006 20.7697 23.6006 20.4697C23.6006 20.1697 23.8406 19.9297 24.1406 19.9297H26.2806C26.5806 19.9297 26.8206 20.1697 26.8206 20.4697C26.8206 20.7697 26.5806 21.0097 26.2806 21.0097Z" fill="url(#paint7_linear_10233_83091)"/>
11
+ <defs>
12
+ <linearGradient id="paint0_linear_10233_83091" x1="22.75" y1="28.75" x2="21.0149" y2="28.5746" gradientUnits="userSpaceOnUse">
13
+ <stop stop-color="#FF8E4F"/>
14
+ <stop offset="1" stop-color="#EF592E"/>
15
+ </linearGradient>
16
+ <linearGradient id="paint1_linear_10233_83091" x1="22.75" y1="32.75" x2="21.0149" y2="32.5746" gradientUnits="userSpaceOnUse">
17
+ <stop stop-color="#FF8E4F"/>
18
+ <stop offset="1" stop-color="#EF592E"/>
19
+ </linearGradient>
20
+ <linearGradient id="paint2_linear_10233_83091" x1="13.7521" y1="32.7501" x2="10.8431" y2="32.527" gradientUnits="userSpaceOnUse">
21
+ <stop stop-color="#FF8E4F"/>
22
+ <stop offset="1" stop-color="#EF592E"/>
23
+ </linearGradient>
24
+ <linearGradient id="paint3_linear_10233_83091" x1="32.7523" y1="32.7497" x2="29.842" y2="32.5264" gradientUnits="userSpaceOnUse">
25
+ <stop stop-color="#FF8E4F"/>
26
+ <stop offset="1" stop-color="#EF592E"/>
27
+ </linearGradient>
28
+ <linearGradient id="paint4_linear_10233_83091" x1="29.6584" y1="25.9998" x2="13.1375" y2="21.2104" gradientUnits="userSpaceOnUse">
29
+ <stop stop-color="#FF8E4F"/>
30
+ <stop offset="1" stop-color="#EF592E"/>
31
+ </linearGradient>
32
+ <linearGradient id="paint5_linear_10233_83091" x1="28.9698" y1="17.45" x2="14.741" y2="12.0661" gradientUnits="userSpaceOnUse">
33
+ <stop stop-color="#FF8E4F"/>
34
+ <stop offset="1" stop-color="#EF592E"/>
35
+ </linearGradient>
36
+ <linearGradient id="paint6_linear_10233_83091" x1="20.4007" y1="21.0097" x2="17.3965" y2="19.5002" gradientUnits="userSpaceOnUse">
37
+ <stop stop-color="#FF8E4F"/>
38
+ <stop offset="1" stop-color="#EF592E"/>
39
+ </linearGradient>
40
+ <linearGradient id="paint7_linear_10233_83091" x1="26.8206" y1="21.0097" x2="23.8164" y2="19.5002" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="#FF8E4F"/>
42
+ <stop offset="1" stop-color="#EF592E"/>
43
+ </linearGradient>
44
+ </defs>
45
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="44" height="44" rx="22" fill="#F2F2F7" />
3
+ <path
4
+ d="M15 25C14.06 25 13.19 25.33 12.5 25.88C11.58 26.61 11 27.74 11 29C11 29.75 11.21 30.46 11.58 31.06C12.27 32.22 13.54 33 15 33C16.01 33 16.93 32.63 17.63 32C17.94 31.74 18.21 31.42 18.42 31.06C18.79 30.46 19 29.75 19 29C19 26.79 17.21 25 15 25ZM17.07 28.57L14.94 30.54C14.8 30.67 14.61 30.74 14.43 30.74C14.24 30.74 14.05 30.67 13.9 30.52L12.91 29.53C12.62 29.24 12.62 28.76 12.91 28.47C13.2 28.18 13.68 28.18 13.97 28.47L14.45 28.95L16.05 27.47C16.35 27.19 16.83 27.21 17.11 27.51C17.39 27.81 17.37 28.29 17.07 28.57Z"
5
+ fill="#999999" />
6
+ <path opacity="0.4"
7
+ d="M29.48 22.95H31.5V21.51C31.5 19.44 29.81 17.75 27.74 17.75H16.26C14.19 17.75 12.5 19.44 12.5 21.51V25.88C13.19 25.33 14.06 25 15 25C17.21 25 19 26.79 19 29C19 29.75 18.79 30.46 18.42 31.06C18.21 31.42 17.94 31.74 17.63 32H27.74C29.81 32 31.5 30.31 31.5 28.24V27.05H29.6C28.52 27.05 27.53 26.26 27.44 25.18C27.38 24.55 27.62 23.96 28.04 23.55C28.41 23.17 28.92 22.95 29.48 22.95Z"
8
+ fill="#999999" />
9
+ <path
10
+ d="M24.85 13.9496V17.7496H16.26C14.19 17.7496 12.5 19.4396 12.5 21.5096V17.8396C12.5 16.6496 13.23 15.5896 14.34 15.1696L22.28 12.1696C23.52 11.7096 24.85 12.6196 24.85 13.9496Z"
11
+ fill="#999999" />
12
+ <path
13
+ d="M32.5598 23.9702V26.0302C32.5598 26.5802 32.1198 27.0302 31.5598 27.0502H29.5998C28.5198 27.0502 27.5298 26.2602 27.4398 25.1802C27.3798 24.5502 27.6198 23.9602 28.0398 23.5502C28.4098 23.1702 28.9198 22.9502 29.4798 22.9502H31.5598C32.1198 22.9702 32.5598 23.4202 32.5598 23.9702Z"
14
+ fill="#999999" />
15
+ <path
16
+ d="M24 22.75H17C16.59 22.75 16.25 22.41 16.25 22C16.25 21.59 16.59 21.25 17 21.25H24C24.41 21.25 24.75 21.59 24.75 22C24.75 22.41 24.41 22.75 24 22.75Z"
17
+ fill="#999999" />
18
+ </svg>
@@ -1,25 +1,45 @@
1
1
  <svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="44" height="44" rx="22" fill="url(#paint0_linear_9810_24802)" />
2
+ <rect width="44" height="44" rx="22" fill="white" />
3
3
  <path
4
4
  d="M15 25C14.06 25 13.19 25.33 12.5 25.88C11.58 26.61 11 27.74 11 29C11 29.75 11.21 30.46 11.58 31.06C12.27 32.22 13.54 33 15 33C16.01 33 16.93 32.63 17.63 32C17.94 31.74 18.21 31.42 18.42 31.06C18.79 30.46 19 29.75 19 29C19 26.79 17.21 25 15 25ZM17.07 28.57L14.94 30.54C14.8 30.67 14.61 30.74 14.43 30.74C14.24 30.74 14.05 30.67 13.9 30.52L12.91 29.53C12.62 29.24 12.62 28.76 12.91 28.47C13.2 28.18 13.68 28.18 13.97 28.47L14.45 28.95L16.05 27.47C16.35 27.19 16.83 27.21 17.11 27.51C17.39 27.81 17.37 28.29 17.07 28.57Z"
5
- fill="white" />
5
+ fill="url(#paint0_linear_10233_83158)" />
6
6
  <path opacity="0.4"
7
7
  d="M29.48 22.95H31.5V21.51C31.5 19.44 29.81 17.75 27.74 17.75H16.26C14.19 17.75 12.5 19.44 12.5 21.51V25.88C13.19 25.33 14.06 25 15 25C17.21 25 19 26.79 19 29C19 29.75 18.79 30.46 18.42 31.06C18.21 31.42 17.94 31.74 17.63 32H27.74C29.81 32 31.5 30.31 31.5 28.24V27.05H29.6C28.52 27.05 27.53 26.26 27.44 25.18C27.38 24.55 27.62 23.96 28.04 23.55C28.41 23.17 28.92 22.95 29.48 22.95Z"
8
- fill="white" />
8
+ fill="url(#paint1_linear_10233_83158)" />
9
9
  <path
10
- d="M24.85 13.9501V17.7501H16.26C14.19 17.7501 12.5 19.4401 12.5 21.5101V17.8401C12.5 16.6501 13.23 15.5901 14.34 15.1701L22.28 12.1701C23.52 11.7101 24.85 12.6201 24.85 13.9501Z"
11
- fill="white" />
10
+ d="M24.85 13.9496V17.7496H16.26C14.19 17.7496 12.5 19.4396 12.5 21.5096V17.8396C12.5 16.6496 13.23 15.5896 14.34 15.1696L22.28 12.1696C23.52 11.7096 24.85 12.6196 24.85 13.9496Z"
11
+ fill="url(#paint2_linear_10233_83158)" />
12
12
  <path
13
- d="M32.5608 23.9702V26.0302C32.5608 26.5802 32.1208 27.0302 31.5608 27.0502H29.6008C28.5208 27.0502 27.5308 26.2602 27.4408 25.1802C27.3808 24.5502 27.6208 23.9602 28.0408 23.5502C28.4108 23.1702 28.9208 22.9502 29.4808 22.9502H31.5608C32.1208 22.9702 32.5608 23.4202 32.5608 23.9702Z"
14
- fill="white" />
13
+ d="M32.5598 23.9702V26.0302C32.5598 26.5802 32.1198 27.0302 31.5598 27.0502H29.5998C28.5198 27.0502 27.5298 26.2602 27.4398 25.1802C27.3798 24.5502 27.6198 23.9602 28.0398 23.5502C28.4098 23.1702 28.9198 22.9502 29.4798 22.9502H31.5598C32.1198 22.9702 32.5598 23.4202 32.5598 23.9702Z"
14
+ fill="url(#paint3_linear_10233_83158)" />
15
15
  <path
16
16
  d="M24 22.75H17C16.59 22.75 16.25 22.41 16.25 22C16.25 21.59 16.59 21.25 17 21.25H24C24.41 21.25 24.75 21.59 24.75 22C24.75 22.41 24.41 22.75 24 22.75Z"
17
- fill="white" />
17
+ fill="url(#paint4_linear_10233_83158)" />
18
18
  <defs>
19
- <linearGradient id="paint0_linear_9810_24802" x1="44" y1="1.21739e-07" x2="32.6001"
20
- y2="51.2513" gradientUnits="userSpaceOnUse">
21
- <stop stop-color="#EF592E" />
22
- <stop offset="0.984375" stop-color="#FF8E4F" />
19
+ <linearGradient id="paint0_linear_10233_83158" x1="19" y1="33" x2="9.90993" y2="31.468"
20
+ gradientUnits="userSpaceOnUse">
21
+ <stop stop-color="#FF8E4F" />
22
+ <stop offset="1" stop-color="#EF592E" />
23
+ </linearGradient>
24
+ <linearGradient id="paint1_linear_10233_83158" x1="31.5" y1="32" x2="10.3651" y2="27.2508"
25
+ gradientUnits="userSpaceOnUse">
26
+ <stop stop-color="#FF8E4F" />
27
+ <stop offset="1" stop-color="#EF592E" />
28
+ </linearGradient>
29
+ <linearGradient id="paint2_linear_10233_83158" x1="24.85" y1="21.5096" x2="11.0849"
30
+ y2="18.4813" gradientUnits="userSpaceOnUse">
31
+ <stop stop-color="#FF8E4F" />
32
+ <stop offset="1" stop-color="#EF592E" />
33
+ </linearGradient>
34
+ <linearGradient id="paint3_linear_10233_83158" x1="32.5598" y1="27.0502" x2="26.8213"
35
+ y2="25.8403" gradientUnits="userSpaceOnUse">
36
+ <stop stop-color="#FF8E4F" />
37
+ <stop offset="1" stop-color="#EF592E" />
38
+ </linearGradient>
39
+ <linearGradient id="paint4_linear_10233_83158" x1="24.75" y1="22.75" x2="19.5553"
40
+ y2="17.789" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="#FF8E4F" />
42
+ <stop offset="1" stop-color="#EF592E" />
23
43
  </linearGradient>
24
44
  </defs>
25
45
  </svg>
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ItemTimaOneV3;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _svgs=require("../assets/svgs");var _utils=require("../utils");var _MText=require("./MText");var _v=require("../assets/v3");var _icons=require("../assets/icons");var _navigation=require("../navigation");var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/components/ItemTimaOneV3.tsx";var $action={flexDirection:'column',alignItems:'center',gap:5};function ItemTimaOneV3(_ref){var item=_ref.item,navigation=_ref.navigation;return _react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,marginBottom:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:40,columnNumber:5}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?['#4CBA3D','#98D788']:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:8,borderTopRightRadius:8,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:50,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:62,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:71,columnNumber:11}},_react.default.createElement(_svgs.IconMoney2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:78,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:79,columnNumber:13}},"HD-",item==null?void 0:item.id)),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:88,columnNumber:11}},item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.totalMoney;},0)):(0,_utils.formatMoney)(item==null?void 0:item.loanAmount),"\u0111"))),(item==null?void 0:item.listLoanAllAutoDE)&&(item==null?void 0:item.listLoanAllAutoDE.length)>0&&_react.default.createElement(_reactNative.View,{style:{marginHorizontal:-16,backgroundColor:'#ECFFE8',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:13}},"S\u1ED1 ti\u1EC1n gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.loanAmount;},0)),' ',"\u0111")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:147,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:154,columnNumber:13}},"S\u1ED1 ti\u1EC1n b\u1EA3o hi\u1EC3m"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:163,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.insurenceMoney;},0)),' ',"\u0111"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?16:32,paddingHorizontal:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:181,columnNumber:7}},(item==null?void 0:item.typeLoan)===5&&_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===0||(item==null?void 0:item.step)===1?false:true,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else{navigation.push(_navigation.ScreenNames.AssetInformation,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:194,columnNumber:11}},(item==null?void 0:item.step)<=1?_react.default.createElement(_v.IconStep1,{__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:32}}):_react.default.createElement(_v.IconStep1Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:48}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:13}},"Th\xF4ng tin",'\n',"t\xE0i s\u1EA3n")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===3?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.ReviewLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:9}},(item==null?void 0:item.step)<3?_react.default.createElement(_v.IconStep2Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:233,columnNumber:13}}):(item==null?void 0:item.step)===3?_react.default.createElement(_v.IconStep2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:235,columnNumber:13}}):_react.default.createElement(_v.IconStep2Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:11}},"Th\xF4ng tin",'\n',"kho\u1EA3n vay")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?false:true,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===4){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else if((item==null?void 0:item.step)===6){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:250,columnNumber:9}},(item==null?void 0:item.step)<4?_react.default.createElement(_v.IconStep3Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:13}}):(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?_react.default.createElement(_v.IconStep3,{__self:this,__source:{fileName:_jsxFileName,lineNumber:277,columnNumber:13}}):_react.default.createElement(_v.IconStep3Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:279,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:11}},"Th\xF4ng tin",'\n',"c\xE1 nh\xE2n")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===9?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:9}},(item==null?void 0:item.step)<9||(item==null?void 0:item.step)===100?_react.default.createElement(_v.IconStep4Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:302,columnNumber:13}}):(item==null?void 0:item.step)===9?_react.default.createElement(_v.IconStep4,{__self:this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:13}}):_react.default.createElement(_v.IconStep4Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:306,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:11}},"EKYC")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===10?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:319,columnNumber:9}},(item==null?void 0:item.step)<10||(item==null?void 0:item.step)===100?_react.default.createElement(_v.IconStep5Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:329,columnNumber:13}}):(item==null?void 0:item.step)===10?_react.default.createElement(_v.IconStep5,{__self:this,__source:{fileName:_jsxFileName,lineNumber:331,columnNumber:13}}):_react.default.createElement(_v.IconStep5Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:333,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:11}},"K\xFD h\u1EE3p",'\n',"\u0111\u1ED3ng"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:16,backgroundColor:(item==null?void 0:item.step)===11?'#E8FFE9':'#FFF2F2',paddingHorizontal:10,paddingVertical:10,borderRadius:4,justifyContent:'space-between',marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,flex:1,paddingRight:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:362,columnNumber:9}},(item==null?void 0:item.step)===11?_react.default.createElement(_svgs.IconTick,{__self:this,__source:{fileName:_jsxFileName,lineNumber:371,columnNumber:32}}):_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:371,columnNumber:47}}),_react.default.createElement(_MText.MText,{style:{color:(item==null?void 0:item.step)===11?'#28A745':'#E40010',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:372,columnNumber:11}},(item==null?void 0:item.step)<=1?'Cập nhật thông tin tài sản':(item==null?void 0:item.step)===3?"C\u1EADp nh\u1EADt th\xF4ng tin kho\u1EA3n vay":(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?"C\u1EADp nh\u1EADt th\xF4ng tin c\xE1 nh\xE2n":(item==null?void 0:item.step)===9?"Ti\u1EBFp t\u1EE5c eKYC v\xE0 K\xFD h\u1EE3p \u0111\u1ED3ng \u0111\u1EC3"+'\n'+"gi\u1EA3i ng\xE2n nhanh nh\u1EA5t":(item==null?void 0:item.step)===11?"H\u1EE3p \u0111\u1ED3ng \u0111\xE3 k\xFD th\xE0nh c\xF4ng. Vui l\xF2ng ch\u1EDD chuy\xEAn vi\xEAn t\u01B0 v\u1EA5n li\xEAn h\u1EC7":'Đơn vay đang trong quá trình xử lý')),(item==null?void 0:item.step)<=1?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else{navigation.push(_navigation.ScreenNames.AssetInformation,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:392,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:406,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:15}},"C\u1EADp nh\u1EADt"))):(item==null?void 0:item.step)===3?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===3){navigation.push(_navigation.ScreenNames.ReviewLoan,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:427,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:445,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:455,columnNumber:15}},"C\u1EADp nh\u1EADt th\xF4ng tin"))):(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===4){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else if((item==null?void 0:item.step)===6){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:466,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:484,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:494,columnNumber:15}},"C\u1EADp nh\u1EADt th\xF4ng tin"))):(item==null?void 0:item.step)===9?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:505,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:512,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:522,columnNumber:15}},"\u0110i t\u1EDBi EKYC"))):(item==null?void 0:item.step)===10?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:533,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:540,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:550,columnNumber:15}},"K\xFD h\u1EE3p \u0111\u1ED3ng"))):_react.default.createElement(_react.default.Fragment,null)));}
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ItemTimaOneV3;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _svgs=require("../assets/svgs");var _utils=require("../utils");var _MText=require("./MText");var _v=require("../assets/v3");var _icons=require("../assets/icons");var _navigation=require("../navigation");var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/components/ItemTimaOneV3.tsx";var $action={flexDirection:'column',alignItems:'center',gap:5};function ItemTimaOneV3(_ref){var item=_ref.item,navigation=_ref.navigation;return _react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,marginBottom:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:40,columnNumber:5}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?['#4CBA3D','#98D788']:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:8,borderTopRightRadius:8,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:50,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:62,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:71,columnNumber:11}},_react.default.createElement(_svgs.IconMoney2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:78,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:79,columnNumber:13}},"HD-",item==null?void 0:item.id)),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:88,columnNumber:11}},item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.totalMoney;},0)):(0,_utils.formatMoney)(item==null?void 0:item.loanAmount),"\u0111"))),(item==null?void 0:item.listLoanAllAutoDE)&&(item==null?void 0:item.listLoanAllAutoDE.length)>0&&_react.default.createElement(_reactNative.View,{style:{marginHorizontal:-16,backgroundColor:'#ECFFE8',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:13}},"S\u1ED1 ti\u1EC1n gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:132,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.loanAmount;},0)),' ',"\u0111")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:147,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:154,columnNumber:13}},"S\u1ED1 ti\u1EC1n b\u1EA3o hi\u1EC3m"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:163,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.insurenceMoney;},0)),' ',"\u0111"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?16:32,paddingHorizontal:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:181,columnNumber:7}},(item==null?void 0:item.typeLoan)===5&&_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===0||(item==null?void 0:item.step)===1?false:true,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else{navigation.push(_navigation.ScreenNames.AssetInformation,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:194,columnNumber:11}},(item==null?void 0:item.step)<=1?_react.default.createElement(_v.IconStep1,{__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:32}}):_react.default.createElement(_v.IconStep1Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:48}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:13}},"Th\xF4ng tin",'\n',"t\xE0i s\u1EA3n")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===3?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.ReviewLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:9}},(item==null?void 0:item.step)<3?_react.default.createElement(_v.IconStep2Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:233,columnNumber:13}}):(item==null?void 0:item.step)===3?_react.default.createElement(_v.IconStep2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:235,columnNumber:13}}):_react.default.createElement(_v.IconStep2Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:11}},"Th\xF4ng tin",'\n',"kho\u1EA3n vay")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?false:true,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===4){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===5){if((item==null?void 0:item.typeLoan)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else{navigation.push(_navigation.ScreenNames.TopupLoanInfo,{loan:item});}}else if((item==null?void 0:item.step)===6){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:250,columnNumber:9}},(item==null?void 0:item.step)<4?_react.default.createElement(_v.IconStep3Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:13}}):(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?_react.default.createElement(_v.IconStep3,{__self:this,__source:{fileName:_jsxFileName,lineNumber:283,columnNumber:13}}):_react.default.createElement(_v.IconStep3Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:285,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:287,columnNumber:11}},"Th\xF4ng tin",'\n',"c\xE1 nh\xE2n")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===9?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:9}},(item==null?void 0:item.step)<9||(item==null?void 0:item.step)===100?_react.default.createElement(_v.IconStep4Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:13}}):(item==null?void 0:item.step)===9?_react.default.createElement(_v.IconStep4,{__self:this,__source:{fileName:_jsxFileName,lineNumber:310,columnNumber:13}}):_react.default.createElement(_v.IconStep4Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:312,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:11}},"EKYC")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===10?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:325,columnNumber:9}},(item==null?void 0:item.step)<10||(item==null?void 0:item.step)===100?_react.default.createElement(_v.IconStep5Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:13}}):(item==null?void 0:item.step)===10?_react.default.createElement(_v.IconStep5,{__self:this,__source:{fileName:_jsxFileName,lineNumber:337,columnNumber:13}}):_react.default.createElement(_v.IconStep5Success,{__self:this,__source:{fileName:_jsxFileName,lineNumber:339,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:341,columnNumber:11}},"K\xFD h\u1EE3p",'\n',"\u0111\u1ED3ng"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:16,backgroundColor:(item==null?void 0:item.step)===11?'#E8FFE9':'#FFF2F2',paddingHorizontal:10,paddingVertical:10,borderRadius:4,justifyContent:'space-between',marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:354,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,flex:1,paddingRight:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:368,columnNumber:9}},(item==null?void 0:item.step)===11?_react.default.createElement(_svgs.IconTick,{__self:this,__source:{fileName:_jsxFileName,lineNumber:377,columnNumber:32}}):_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:377,columnNumber:47}}),_react.default.createElement(_MText.MText,{style:{color:(item==null?void 0:item.step)===11?'#28A745':'#E40010',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:378,columnNumber:11}},(item==null?void 0:item.step)<=1?'Cập nhật thông tin tài sản':(item==null?void 0:item.step)===3?"C\u1EADp nh\u1EADt th\xF4ng tin kho\u1EA3n vay":(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?"C\u1EADp nh\u1EADt th\xF4ng tin c\xE1 nh\xE2n":(item==null?void 0:item.step)===9?"Ti\u1EBFp t\u1EE5c eKYC v\xE0 K\xFD h\u1EE3p \u0111\u1ED3ng \u0111\u1EC3"+'\n'+"gi\u1EA3i ng\xE2n nhanh nh\u1EA5t":(item==null?void 0:item.step)===11?"H\u1EE3p \u0111\u1ED3ng \u0111\xE3 k\xFD th\xE0nh c\xF4ng. Vui l\xF2ng ch\u1EDD chuy\xEAn vi\xEAn t\u01B0 v\u1EA5n li\xEAn h\u1EC7":'Đơn vay đang trong quá trình xử lý')),(item==null?void 0:item.step)<=1?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else{navigation.push(_navigation.ScreenNames.AssetInformation,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:398,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:412,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:422,columnNumber:15}},"C\u1EADp nh\u1EADt"))):(item==null?void 0:item.step)===3?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===3){navigation.push(_navigation.ScreenNames.ReviewLoan,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:433,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:442,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:452,columnNumber:15}},"C\u1EADp nh\u1EADt th\xF4ng tin"))):(item==null?void 0:item.step)===4||(item==null?void 0:item.step)===5||(item==null?void 0:item.step)===6?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===4){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===5){if((item==null?void 0:item.typeLoan)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else{navigation.push(_navigation.ScreenNames.TopupLoanInfo,{loan:item});}}else if((item==null?void 0:item.step)===6){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:463,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:487,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:497,columnNumber:15}},"C\u1EADp nh\u1EADt th\xF4ng tin"))):(item==null?void 0:item.step)===9?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:508,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:515,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:525,columnNumber:15}},"\u0110i t\u1EDBi EKYC"))):(item==null?void 0:item.step)===10?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:536,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:543,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:553,columnNumber:15}},"K\xFD h\u1EE3p \u0111\u1ED3ng"))):_react.default.createElement(_react.default.Fragment,null)));}
2
2
  //# sourceMappingURL=ItemTimaOneV3.js.map
@@ -261,9 +261,15 @@ export default function ItemTimaOneV3({ item, navigation }: IProps) {
261
261
  front: true,
262
262
  });
263
263
  } else if (item?.step === 5) {
264
- navigation.push(ScreenNames.ReviewInformation, {
265
- loan: item,
266
- });
264
+ if (item?.typeLoan === 5) {
265
+ navigation.push(ScreenNames.ReviewInformation, {
266
+ loan: item,
267
+ });
268
+ } else {
269
+ navigation.push(ScreenNames.TopupLoanInfo, {
270
+ loan: item,
271
+ });
272
+ }
267
273
  } else if (item?.step === 6) {
268
274
  navigation.push(ScreenNames.ReviewInformationOther, {
269
275
  loan: item,
@@ -427,15 +433,6 @@ export default function ItemTimaOneV3({ item, navigation }: IProps) {
427
433
  <TouchableOpacity
428
434
  onPress={() => {
429
435
  if (item?.step === 3) {
430
- // if (item?.typeLoan === 5) {
431
- // navigation.push(ScreenNames.ReviewLoan, {
432
- // loan: item,
433
- // });
434
- // } else if (item?.typeLoan === 6) {
435
- // navigation.push(ScreenNames.TopupLoanInfo, {
436
- // loan: item,
437
- // });
438
- // }
439
436
  navigation.push(ScreenNames.ReviewLoan, {
440
437
  loan: item,
441
438
  });
@@ -471,9 +468,15 @@ export default function ItemTimaOneV3({ item, navigation }: IProps) {
471
468
  front: true,
472
469
  });
473
470
  } else if (item?.step === 5) {
474
- navigation.push(ScreenNames.ReviewInformation, {
475
- loan: item,
476
- });
471
+ if (item?.typeLoan === 5) {
472
+ navigation.push(ScreenNames.ReviewInformation, {
473
+ loan: item,
474
+ });
475
+ } else {
476
+ navigation.push(ScreenNames.TopupLoanInfo, {
477
+ loan: item,
478
+ });
479
+ }
477
480
  } else if (item?.step === 6) {
478
481
  navigation.push(ScreenNames.ReviewInformationOther, {
479
482
  loan: item,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeLinearGradient","_svgs","_utils","_MText","_v","_icons","_navigation","_jsxFileName","$action","flexDirection","alignItems","gap","ItemTimaOneV3","_ref","item","navigation","default","createElement","View","style","backgroundColor","paddingHorizontal","marginBottom","borderRadius","borderWidth","borderColor","__self","__source","fileName","lineNumber","columnNumber","colors","listLoanAllAutoDE","length","borderTopLeftRadius","borderTopRightRadius","marginHorizontal","justifyContent","paddingVertical","IconMoney2","MText","fontSize","color","id","fontWeight","formatMoney","reduce","sum","totalMoney","loanAmount","marginLeft","marginTop","insurenceMoney","typeLoan","TouchableOpacity","disabled","step","onPress","push","ScreenNames","VehicleCamera","loan","front","AssetInformation","IconStep1","IconStep1Success","textAlign","ReviewLoan","IconStep2Disable","IconStep2","IconStep2Success","OCR","ReviewInformation","ReviewInformationOther","IconStep3Disable","IconStep3","IconStep3Success","LivenessV2","IconStep4Disable","IconStep4","IconStep4Success","TTSSignLoan","IconStep5Disable","IconStep5","IconStep5Success","flex","paddingRight","IconTick","Info","height","Fragment"],"sourceRoot":"../../../src","sources":["components/ItemTimaOneV3.tsx"],"mappings":"0KACA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,0BAAA,CAAAH,sBAAA,CAAAC,OAAA,kCACA,IA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CAAE,OAAO,CACdD,QAAQ,CAAE,EACZ,CAAE,CAAAf,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAArB,YAAA,CAAAsB,UAAA,KAAAC,YAAA,MACH,+BAEM,CACO,CACA,CAAC,CAEnBlC,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAArB,MAAA,CAAAoB,OAAA,CAAA0E,QAAA,KAAI,CAEF,CACF,CAAC,CAEX"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeLinearGradient","_svgs","_utils","_MText","_v","_icons","_navigation","_jsxFileName","$action","flexDirection","alignItems","gap","ItemTimaOneV3","_ref","item","navigation","default","createElement","View","style","backgroundColor","paddingHorizontal","marginBottom","borderRadius","borderWidth","borderColor","__self","__source","fileName","lineNumber","columnNumber","colors","listLoanAllAutoDE","length","borderTopLeftRadius","borderTopRightRadius","marginHorizontal","justifyContent","paddingVertical","IconMoney2","MText","fontSize","color","id","fontWeight","formatMoney","reduce","sum","totalMoney","loanAmount","marginLeft","marginTop","insurenceMoney","typeLoan","TouchableOpacity","disabled","step","onPress","push","ScreenNames","VehicleCamera","loan","front","AssetInformation","IconStep1","IconStep1Success","textAlign","ReviewLoan","IconStep2Disable","IconStep2","IconStep2Success","OCR","ReviewInformation","TopupLoanInfo","ReviewInformationOther","IconStep3Disable","IconStep3","IconStep3Success","LivenessV2","IconStep4Disable","IconStep4","IconStep4Success","TTSSignLoan","IconStep5Disable","IconStep5","IconStep5Success","flex","paddingRight","IconTick","Info","height","Fragment"],"sourceRoot":"../../../src","sources":["components/ItemTimaOneV3.tsx"],"mappings":"0KACA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,0BAAA,CAAAH,sBAAA,CAAAC,OAAA,kCACA,IAAAG,KAAA,CAAAH,OAAA,mBACA,IAAAI,MAAA,CAAAJ,OAAA,aACA,IAAAK,MAAA,CAAAL,OAAA,YACA,IAAAM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UAAU,CAAE,QAAQ,CACpB2B,cAAc,CAAE,QAAQ,CACxBd,YAAY,CAAE,EAAE,CAChBF,iBAAiB,CAAE,EACrB,CAAE,CAAAK,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAArB,YAAA,CAAAsB,UAAA,KAAAC,YAAA,MAEFlC,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAACd,MAAA,CAAAqC,KAAK,EACJrB,KAAK,CAAE,CACLuB,KAAK,CAAE,OAAO,CACdD,QAAQ,CAAE,EACZ,CAAE,CAAAf,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAArB,YAAA,CAAAsB,UAAA,KAAAC,YAAA,MACH,+BAEM,CACO,CACA,CAAC,CAEnBlC,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAArB,MAAA,CAAAoB,OAAA,CAAA2E,QAAA,KAAI,CAEF,CACF,CAAC,CAEX"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ModalOptionLoan;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _MText=require("./MText");var _MButton=_interopRequireDefault(require("./MButton"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _v=require("../assets/v3");var _icons=require("../assets/icons");var _utils=require("../utils");var _api=require("../services/api");var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/components/ModalOptionLoan.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}function ModalOptionLoan(_ref){var open=_ref.open,loan=_ref.loan,callback=_ref.callback,onClose=_ref.onClose;var _useState=(0,_react.useState)(loan==null?void 0:loan.productId1),_useState2=(0,_slicedToArray2.default)(_useState,2),option=_useState2[0],setOption=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isLoading=_useState4[0],setIsLoading=_useState4[1];(0,_react.useEffect)(function(){if(loan){setOption(loan==null?void 0:loan.productId1);}},[loan]);var onSubmit=function _callee(){var _response$data,_response$data$meta,response,_response$data2,_response$data2$meta;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;setIsLoading(false);_context.next=4;return _regenerator.default.awrap(_api.Api.getInstance().updateProductLoan({LoanBriefId:loan==null?void 0:loan.loanBriefId,ProductId:option,LoanAmount:option===(loan==null?void 0:loan.productId1)?loan==null?void 0:loan.loanAmount1:loan==null?void 0:loan.loanAmount2}));case 4:response=_context.sent;setIsLoading(false);if(response.kind==='ok'&&((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){if(callback)callback();}else{_reactNative.Alert.alert('Thông báo',((_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage)||'Có lỗi xảy ra. Vui lòng thử lại sau');}_context.next=12;break;case 9:_context.prev=9;_context.t0=_context["catch"](0);console.log(_context.t0);case 12:_context.prev=12;setIsLoading(false);return _context.finish(12);case 15:case"end":return _context.stop();}},null,null,[[0,9,12,15]],Promise);};return _react.default.createElement(_reactNativeModal.default,{isVisible:open,__self:this,__source:{fileName:_jsxFileName,lineNumber:74,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{backgroundColor:'#FFFFFF',borderRadius:12,borderTopWidth:4,borderColor:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:75,columnNumber:7}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:onClose,style:{position:'absolute',top:10,right:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:83,columnNumber:9}},_react.default.createElement(_icons.Close2Icon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:11}})),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:16,fontWeight:'bold',marginTop:20,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:93,columnNumber:9}},"Ch\xFAc m\u1EEBng b\u1EA1n!"),_react.default.createElement(_MText.MText,{style:{textAlign:'center',color:'#828282',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:104,columnNumber:9}},"B\u1EA1n \u0111\u01B0\u1EE3c vay v\u1EDBi s\u1ED1 ti\u1EC1n d\u1EF1 ki\u1EBFn l\xEAn t\u1EDBi",'\n',_react.default.createElement(_MText.MText,{style:{color:'#EF592E',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:11}},(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2)," VN\u0110"),"! Vui l\xF2ng ch\u1ECDn g\xF3i vay v\xE0 ho\xE0n thi\u1EC7n c\xE1c b\u01B0\u1EDBc \u0111\u1EC3 \u0111\u01B0\u1EE3c gi\u1EA3i ng\xE2n nhanh nh\u1EA5t!"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setOption(loan==null?void 0:loan.productId1);},style:[$opt,{backgroundColor:option===(loan==null?void 0:loan.productId1)?'#FFF7EA':'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:11}},_react.default.createElement(_v.IconOption1,{__self:this,__source:{fileName:_jsxFileName,lineNumber:143,columnNumber:13}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:144,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:145,columnNumber:15}},loan==null?void 0:loan.productName1),_react.default.createElement(_MText.MText,{style:{fontWeight:'bold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:152,columnNumber:15}},(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount1)," VN\u0110")),option===(loan==null?void 0:loan.productId1)?_react.default.createElement(_icons.RadioCheckIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:44}}):_react.default.createElement(_icons.RadioIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:161,columnNumber:65}})),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:163,columnNumber:11}},"\u2022 Kh\xF4ng thu \u0111\u0103ng k\xFD xe"),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:11}},"\u2022 Kh\xF4ng c\u1EA7n g\u1EB7p m\u1EB7t, online 100% to\xE0n tr\xECnh"),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:167,columnNumber:11}},"\u2022 Gi\u1EA3i ng\xE2n ngay l\xEAn \u0111\u1EBFn ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount1),"\u0111")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setOption(loan==null?void 0:loan.productId2);},style:[$opt,{backgroundColor:option===(loan==null?void 0:loan.productId2)?'#FFF7EA':'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:171,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:183,columnNumber:11}},_react.default.createElement(_v.IconOption2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:13}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:192,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:193,columnNumber:15}},loan==null?void 0:loan.productName2),_react.default.createElement(_MText.MText,{style:{fontWeight:'bold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:200,columnNumber:15}},(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2)," VN\u0110")),option===(loan==null?void 0:loan.productId2)?_react.default.createElement(_icons.RadioCheckIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:209,columnNumber:44}}):_react.default.createElement(_icons.RadioIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:209,columnNumber:65}})),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:11}},"\u2022 C\xF3 thu \u0111\u0103ng k\xFD xe, l\xE3i ph\xED \u01B0u \u0111\xE3i h\u01A1n ",loan==null?void 0:loan.productName1),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:214,columnNumber:11}},"\u2022 C\xF3 g\u1EB7p m\u1EB7t nh\xE2n vi\xEAn h\u1ED7 tr\u1EE3 th\u1EE7 t\u1EE5c nhanh",'\n',"ch\xF3ng, \u0111\u01A1n gi\u1EA3n."),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:217,columnNumber:11}},"\u2022 Gi\u1EA3i ng\xE2n ngay l\xEAn \u0111\u1EBFn ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2),"\u0111.")),_react.default.createElement(_MButton.default,{disabled:isLoading,onPress:function onPress(){return onSubmit();},style:{marginHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:221,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:this,__source:{fileName:_jsxFileName,lineNumber:228,columnNumber:11}},isLoading?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',__self:this,__source:{fileName:_jsxFileName,lineNumber:241,columnNumber:15}}):_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:15}},"X\xE1c nh\u1EADn")))));}var $opt={borderWidth:1,borderRadius:8,borderColor:'#E5E5EA',marginHorizontal:16,marginTop:10,padding:10};var $des={fontSize:12,color:'#828282'};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ModalOptionLoan;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _MText=require("./MText");var _MButton=_interopRequireDefault(require("./MButton"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _v=require("../assets/v3");var _icons=require("../assets/icons");var _utils=require("../utils");var _api=require("../services/api");var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/components/ModalOptionLoan.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}function ModalOptionLoan(_ref){var open=_ref.open,loan=_ref.loan,callback=_ref.callback,onClose=_ref.onClose;var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),option=_useState2[0],setOption=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isLoading=_useState4[0],setIsLoading=_useState4[1];(0,_react.useEffect)(function(){if(loan){if((loan==null?void 0:loan.loanAmount1)>=20000000){setOption(loan==null?void 0:loan.productId1);return;}else if((loan==null?void 0:loan.loanAmount2)>=20000000){setOption(loan==null?void 0:loan.productId2);return;}}},[loan]);var onSubmit=function _callee(){var _response$data,_response$data$meta,response,_response$data2,_response$data2$meta;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(option){_context.next=3;break;}_reactNative.Alert.alert('Thông báo','Vui lòng chọn gói vay để tiếp tục');return _context.abrupt("return");case 3:_context.prev=3;setIsLoading(false);_context.next=7;return _regenerator.default.awrap(_api.Api.getInstance().updateProductLoan({LoanBriefId:loan==null?void 0:loan.loanBriefId,ProductId:option,LoanAmount:option===(loan==null?void 0:loan.productId1)?loan==null?void 0:loan.loanAmount1:loan==null?void 0:loan.loanAmount2}));case 7:response=_context.sent;setIsLoading(false);if(response.kind==='ok'&&((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){if(callback)callback();}else{_reactNative.Alert.alert('Thông báo',((_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage)||'Có lỗi xảy ra. Vui lòng thử lại sau');}_context.next=15;break;case 12:_context.prev=12;_context.t0=_context["catch"](3);console.log(_context.t0);case 15:_context.prev=15;setIsLoading(false);return _context.finish(15);case 18:case"end":return _context.stop();}},null,null,[[3,12,15,18]],Promise);};return _react.default.createElement(_reactNativeModal.default,{isVisible:open,__self:this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:{backgroundColor:'#FFFFFF',borderRadius:12,borderTopWidth:4,borderColor:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:92,columnNumber:7}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:onClose,style:{position:'absolute',top:10,right:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:100,columnNumber:9}},_react.default.createElement(_icons.Close2Icon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:108,columnNumber:11}})),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:16,fontWeight:'bold',marginTop:20,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:110,columnNumber:9}},(loan==null?void 0:loan.typeLoan)===5?'Chúc mừng bạn!':'Xác nhận số tiền đề nghị vay'),_react.default.createElement(_MText.MText,{style:{textAlign:'center',color:'#828282',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:123,columnNumber:9}},"B\u1EA1n \u0111\u01B0\u1EE3c vay v\u1EDBi s\u1ED1 ti\u1EC1n d\u1EF1 ki\u1EBFn l\xEAn t\u1EDBi",'\n',_react.default.createElement(_MText.MText,{style:{color:'#EF592E',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:131,columnNumber:11}},(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2)," VN\u0110"),"! Vui l\xF2ng ch\u1ECDn g\xF3i vay v\xE0 ho\xE0n thi\u1EC7n c\xE1c b\u01B0\u1EDBc \u0111\u1EC3 \u0111\u01B0\u1EE3c gi\u1EA3i ng\xE2n nhanh nh\u1EA5t!"),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(loan==null?void 0:loan.loanAmount1)<20000000,onPress:function onPress(){setOption(loan==null?void 0:loan.productId1);},style:[$opt,{backgroundColor:(loan==null?void 0:loan.loanAmount1)<20000000?'#F8F8F8':option===(loan==null?void 0:loan.productId1)?'#FFF7EA':'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:159,columnNumber:11}},option===(loan==null?void 0:loan.productId1)?_react.default.createElement(_v.IconOption1Active,{__self:this,__source:{fileName:_jsxFileName,lineNumber:168,columnNumber:15}}):_react.default.createElement(_v.IconOption1,{__self:this,__source:{fileName:_jsxFileName,lineNumber:170,columnNumber:15}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:173,columnNumber:15}},loan==null?void 0:loan.productName1),_react.default.createElement(_MText.MText,{style:{fontWeight:'bold',color:'#EF592E',marginTop:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:180,columnNumber:15}},(loan==null?void 0:loan.typeLoan)===6&&'Lên đến ',(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount1)," VN\u0110")),option===(loan==null?void 0:loan.productId1)?_react.default.createElement(_icons.RadioCheckIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:44}}):_react.default.createElement(_icons.RadioIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:191,columnNumber:65}})),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:193,columnNumber:11}},"\u2022 Kh\xF4ng thu \u0111\u0103ng k\xFD xe"),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:194,columnNumber:11}},"\u2022 Kh\xF4ng c\u1EA7n g\u1EB7p m\u1EB7t, online 100% to\xE0n tr\xECnh"),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:197,columnNumber:11}},"\u2022 Gi\u1EA3i ng\xE2n ngay l\xEAn \u0111\u1EBFn ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount1),"\u0111"),(loan==null?void 0:loan.typeLoan)===6&&_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:201,columnNumber:13}},"\u2022 T\xE0i s\u1EA3n \u0111\u01B0\u1EE3c \u0111\u0103ng k\xFD Giao d\u1ECBch b\u1EA3o \u0111\u1EA3m")),(loan==null?void 0:loan.loanAmount1)<20000000&&_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFEBEB',marginHorizontal:16,flexDirection:'row',gap:10,borderRadius:8,paddingHorizontal:10,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:205,columnNumber:11}},_react.default.createElement(_icons.ErrorIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:216,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{flex:1,color:'#EB5757',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:217,columnNumber:13}},"S\u1ED1 ti\u1EC1n ch\u01B0a \u0111\u1EA1t m\u1EE9c t\u1ED1i thi\u1EC3u theo \u0111i\u1EC1u ki\u1EC7n vay (Kho\u1EA3n vay t\u1ED1i thi\u1EC3u: 20.000.000 VN\u0110)")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(loan==null?void 0:loan.loanAmount2)<20000000,onPress:function onPress(){setOption(loan==null?void 0:loan.productId2);},style:[$opt,{backgroundColor:(loan==null?void 0:loan.loanAmount2)<20000000?'#F8F8F8':option===(loan==null?void 0:loan.productId2)?'#FFF7EA':'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginBottom:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:240,columnNumber:11}},option===(loan==null?void 0:loan.productId2)?_react.default.createElement(_v.IconOption2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:249,columnNumber:15}}):_react.default.createElement(_v.IconOption2Disable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:251,columnNumber:15}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:253,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:254,columnNumber:15}},loan==null?void 0:loan.productName2),_react.default.createElement(_MText.MText,{style:{fontWeight:'bold',color:'#EF592E',marginTop:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:261,columnNumber:15}},(loan==null?void 0:loan.typeLoan)===6&&'Lên đến ',(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2)," VN\u0110")),option===(loan==null?void 0:loan.productId2)?_react.default.createElement(_icons.RadioCheckIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:272,columnNumber:44}}):_react.default.createElement(_icons.RadioIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:272,columnNumber:65}})),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:274,columnNumber:11}},"\u2022 C\xF3 thu \u0111\u0103ng k\xFD xe, l\xE3i ph\xED \u01B0u \u0111\xE3i h\u01A1n ",loan==null?void 0:loan.productName1),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:277,columnNumber:11}},"\u2022 C\xF3 g\u1EB7p m\u1EB7t nh\xE2n vi\xEAn h\u1ED7 tr\u1EE3 th\u1EE7 t\u1EE5c nhanh",'\n',"ch\xF3ng, \u0111\u01A1n gi\u1EA3n."),_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:280,columnNumber:11}},"\u2022 Gi\u1EA3i ng\xE2n ngay l\xEAn \u0111\u1EBFn ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount2),"\u0111."),(loan==null?void 0:loan.typeLoan)===6&&_react.default.createElement(_MText.MText,{style:$des,__self:this,__source:{fileName:_jsxFileName,lineNumber:284,columnNumber:13}},"\u2022 T\xE0i s\u1EA3n \u0111\u01B0\u1EE3c \u0111\u0103ng k\xFD Giao d\u1ECBch b\u1EA3o \u0111\u1EA3m")),(loan==null?void 0:loan.loanAmount2)<20000000&&_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFEBEB',marginHorizontal:16,flexDirection:'row',gap:10,borderRadius:8,paddingHorizontal:10,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:288,columnNumber:11}},_react.default.createElement(_icons.ErrorIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:299,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{flex:1,color:'#EB5757',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:300,columnNumber:13}},"S\u1ED1 ti\u1EC1n ch\u01B0a \u0111\u1EA1t m\u1EE9c t\u1ED1i thi\u1EC3u theo \u0111i\u1EC1u ki\u1EC7n vay (Kho\u1EA3n vay t\u1ED1i thi\u1EC3u: 20.000.000 VN\u0110)")),_react.default.createElement(_MButton.default,{disabled:isLoading,onPress:function onPress(){return onSubmit();},style:{marginHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:306,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:this,__source:{fileName:_jsxFileName,lineNumber:313,columnNumber:11}},isLoading?_react.default.createElement(_reactNative.ActivityIndicator,{color:'white',__self:this,__source:{fileName:_jsxFileName,lineNumber:326,columnNumber:15}}):_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:15}},"X\xE1c nh\u1EADn")))));}var $opt={borderWidth:1,borderRadius:8,borderColor:'#E5E5EA',marginHorizontal:16,marginTop:10,padding:10};var $des={fontSize:12,color:'#828282',marginTop:4};
2
2
  //# sourceMappingURL=ModalOptionLoan.js.map