react-native-timacare 3.0.3-beta → 3.0.6-beta-glink

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 (132) hide show
  1. package/lib/commonjs/assets/icons/contract.svg +16 -8
  2. package/lib/commonjs/assets/icons/contract_active.svg +20 -12
  3. package/lib/commonjs/assets/icons/dot.svg +10 -0
  4. package/lib/commonjs/assets/icons/index.js +1 -1
  5. package/lib/commonjs/assets/icons/index.js.flow +2 -0
  6. package/lib/commonjs/assets/icons/index.js.map +1 -1
  7. package/lib/commonjs/assets/icons/loading_tima.svg +57 -56
  8. package/lib/commonjs/assets/icons/logotima.svg +16 -8
  9. package/lib/commonjs/assets/icons/tima3.svg +25 -12
  10. package/lib/commonjs/assets/img/glink_logo_Primary.png +0 -0
  11. package/lib/commonjs/assets/img/glink_logo_White.png +0 -0
  12. package/lib/commonjs/components/CIMBLoading.js +1 -1
  13. package/lib/commonjs/components/CIMBLoading.js.flow +6 -6
  14. package/lib/commonjs/components/CIMBLoading.js.map +1 -1
  15. package/lib/commonjs/screens/detail-loan/Info.js +1 -1
  16. package/lib/commonjs/screens/detail-loan/Info.js.flow +1 -1
  17. package/lib/commonjs/screens/detail-loan/Info.js.map +1 -1
  18. package/lib/commonjs/screens/detail-loan/Payment.js +1 -1
  19. package/lib/commonjs/screens/detail-loan/Payment.js.flow +1 -1
  20. package/lib/commonjs/screens/detail-loan/Payment.js.map +1 -1
  21. package/lib/commonjs/screens/detail-loan/PaymentAll.js +1 -1
  22. package/lib/commonjs/screens/detail-loan/PaymentAll.js.flow +1 -1
  23. package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
  24. package/lib/commonjs/screens/home/CIMBxTima.js +1 -1
  25. package/lib/commonjs/screens/home/CIMBxTima.js.flow +16 -2
  26. package/lib/commonjs/screens/home/CIMBxTima.js.map +1 -1
  27. package/lib/commonjs/screens/home/bg.png +0 -0
  28. package/lib/commonjs/screens/home/glink.png +0 -0
  29. package/lib/commonjs/screens/home/index.js +1 -1
  30. package/lib/commonjs/screens/home/index.js.flow +5 -4
  31. package/lib/commonjs/screens/home/index.js.map +1 -1
  32. package/lib/commonjs/screens/home/reject.png +0 -0
  33. package/lib/commonjs/screens/introduction/glink_logo.png +0 -0
  34. package/lib/commonjs/screens/introduction/index.js +1 -1
  35. package/lib/commonjs/screens/introduction/index.js.flow +30 -5
  36. package/lib/commonjs/screens/introduction/index.js.map +1 -1
  37. package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
  38. package/lib/commonjs/screens/loginWithPassword/index.js.flow +1 -1
  39. package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
  40. package/lib/commonjs/screens/nationalID/glink_logo.png +0 -0
  41. package/lib/commonjs/screens/nationalID/index.js +1 -1
  42. package/lib/commonjs/screens/nationalID/index.js.flow +28 -4
  43. package/lib/commonjs/screens/nationalID/index.js.map +1 -1
  44. package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
  45. package/lib/commonjs/screens/nationalIDBack/index.js.flow +28 -4
  46. package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
  47. package/lib/commonjs/screens/register/index.js +1 -1
  48. package/lib/commonjs/screens/register/index.js.flow +8 -2
  49. package/lib/commonjs/screens/register/index.js.map +1 -1
  50. package/lib/commonjs/screens/schedule-payment/index.js +1 -1
  51. package/lib/commonjs/screens/schedule-payment/index.js.flow +1 -1
  52. package/lib/commonjs/screens/schedule-payment/index.js.map +1 -1
  53. package/lib/commonjs/screens/terms/TermScreen.js +1 -1
  54. package/lib/commonjs/screens/terms/TermScreen.js.flow +1 -1
  55. package/lib/commonjs/screens/terms/TermScreen.js.map +1 -1
  56. package/lib/module/assets/icons/contract.svg +16 -8
  57. package/lib/module/assets/icons/contract_active.svg +20 -12
  58. package/lib/module/assets/icons/dot.svg +10 -0
  59. package/lib/module/assets/icons/index.js +1 -1
  60. package/lib/module/assets/icons/index.js.map +1 -1
  61. package/lib/module/assets/icons/loading_tima.svg +57 -56
  62. package/lib/module/assets/icons/logotima.svg +16 -8
  63. package/lib/module/assets/icons/tima3.svg +25 -12
  64. package/lib/module/assets/img/glink_logo_Primary.png +0 -0
  65. package/lib/module/assets/img/glink_logo_White.png +0 -0
  66. package/lib/module/components/CIMBLoading.js +1 -1
  67. package/lib/module/components/CIMBLoading.js.map +1 -1
  68. package/lib/module/screens/detail-loan/Info.js +1 -1
  69. package/lib/module/screens/detail-loan/Info.js.map +1 -1
  70. package/lib/module/screens/detail-loan/Payment.js +1 -1
  71. package/lib/module/screens/detail-loan/Payment.js.map +1 -1
  72. package/lib/module/screens/detail-loan/PaymentAll.js +1 -1
  73. package/lib/module/screens/detail-loan/PaymentAll.js.map +1 -1
  74. package/lib/module/screens/home/CIMBxTima.js +1 -1
  75. package/lib/module/screens/home/CIMBxTima.js.map +1 -1
  76. package/lib/module/screens/home/bg.png +0 -0
  77. package/lib/module/screens/home/glink.png +0 -0
  78. package/lib/module/screens/home/index.js +1 -1
  79. package/lib/module/screens/home/index.js.map +1 -1
  80. package/lib/module/screens/home/reject.png +0 -0
  81. package/lib/module/screens/introduction/glink_logo.png +0 -0
  82. package/lib/module/screens/introduction/index.js +1 -1
  83. package/lib/module/screens/introduction/index.js.map +1 -1
  84. package/lib/module/screens/loginWithPassword/index.js +1 -1
  85. package/lib/module/screens/loginWithPassword/index.js.map +1 -1
  86. package/lib/module/screens/nationalID/glink_logo.png +0 -0
  87. package/lib/module/screens/nationalID/index.js +1 -1
  88. package/lib/module/screens/nationalID/index.js.map +1 -1
  89. package/lib/module/screens/nationalIDBack/index.js +1 -1
  90. package/lib/module/screens/nationalIDBack/index.js.map +1 -1
  91. package/lib/module/screens/register/index.js +1 -1
  92. package/lib/module/screens/register/index.js.map +1 -1
  93. package/lib/module/screens/schedule-payment/index.js +1 -1
  94. package/lib/module/screens/schedule-payment/index.js.map +1 -1
  95. package/lib/module/screens/terms/TermScreen.js +1 -1
  96. package/lib/module/screens/terms/TermScreen.js.map +1 -1
  97. package/lib/typescript/assets/icons/index.d.ts +2 -1
  98. package/lib/typescript/assets/icons/index.d.ts.map +1 -1
  99. package/lib/typescript/screens/home/CIMBxTima.d.ts.map +1 -1
  100. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  101. package/lib/typescript/screens/introduction/index.d.ts.map +1 -1
  102. package/lib/typescript/screens/nationalID/index.d.ts.map +1 -1
  103. package/lib/typescript/screens/nationalIDBack/index.d.ts.map +1 -1
  104. package/lib/typescript/screens/register/index.d.ts.map +1 -1
  105. package/package.json +1 -1
  106. package/src/assets/icons/contract.svg +16 -8
  107. package/src/assets/icons/contract_active.svg +20 -12
  108. package/src/assets/icons/dot.svg +10 -0
  109. package/src/assets/icons/index.tsx +2 -0
  110. package/src/assets/icons/loading_tima.svg +57 -56
  111. package/src/assets/icons/logotima.svg +16 -8
  112. package/src/assets/icons/tima3.svg +25 -12
  113. package/src/assets/img/glink_logo_Primary.png +0 -0
  114. package/src/assets/img/glink_logo_White.png +0 -0
  115. package/src/components/CIMBLoading.tsx +6 -6
  116. package/src/screens/detail-loan/Info.tsx +1 -1
  117. package/src/screens/detail-loan/Payment.tsx +1 -1
  118. package/src/screens/detail-loan/PaymentAll.tsx +1 -1
  119. package/src/screens/home/CIMBxTima.tsx +16 -2
  120. package/src/screens/home/bg.png +0 -0
  121. package/src/screens/home/glink.png +0 -0
  122. package/src/screens/home/index.tsx +5 -4
  123. package/src/screens/home/reject.png +0 -0
  124. package/src/screens/introduction/glink_logo.png +0 -0
  125. package/src/screens/introduction/index.tsx +30 -5
  126. package/src/screens/loginWithPassword/index.tsx +1 -1
  127. package/src/screens/nationalID/glink_logo.png +0 -0
  128. package/src/screens/nationalID/index.tsx +28 -4
  129. package/src/screens/nationalIDBack/index.tsx +28 -4
  130. package/src/screens/register/index.tsx +8 -2
  131. package/src/screens/schedule-payment/index.tsx +1 -1
  132. package/src/screens/terms/TermScreen.tsx +1 -1
@@ -1,14 +1,22 @@
1
1
  <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="36" height="36" rx="8" fill="url(#paint0_linear_1259_18266)" />
3
- <path
4
- d="M7 10L9.75012 15.6249L14.3601 15.6286C15.3175 15.6286 15.7898 15.979 15.7852 16.5659C15.7824 16.9398 13.9114 18.6648 13.2359 19.5883C12.0604 21.1962 12.6016 21.537 13.6 23.4999C14.6494 25.5627 15.8 28 15.8 28C15.8 28 19.1736 23.8445 21.3249 21.2296C22.8687 19.3539 23.0666 18.9999 24.6206 18.9999H29L26.8565 14.9696C26.8565 14.9696 26.5104 14.2527 25.9951 13.8807C25.2365 13.3335 24.6278 13.3756 24.6278 13.3756H22.0925C21.4424 13.3756 21.5261 13.2801 19.4416 10.8535C18.9947 10.3334 18.6302 10 18.0065 10L7 10Z"
5
- fill="#FDFDFD" />
2
+ <rect width="36" height="36" rx="8" fill="url(#paint0_linear_125_13255)" />
3
+ <g clip-path="url(#clip0_125_13255)">
4
+ <path
5
+ d="M31 18.0679C31 18.4171 30.8957 19.2192 30.8841 19.2804C30.2537 22.5305 27.1341 25.0003 23.3806 25.0003C22.792 25.0003 22.2184 24.9397 21.668 24.8244C20.4219 24.5641 19.2927 24.0259 18.3632 23.2842L21.2436 21.5514C21.8755 21.8736 22.6047 22.0569 23.3806 22.0569C25.802 22.0569 27.7651 20.2709 27.7651 18.0679C27.7651 17.9245 27.757 17.7829 27.7402 17.6434C27.5077 15.6398 25.6443 14.079 23.3806 14.079C22.5691 14.079 21.8094 14.2794 21.1576 14.6291L13.3251 19.3406C12.58 19.7888 11.5765 19.6027 11.0841 18.9247C10.5914 18.2467 10.796 17.3338 11.5412 16.8855L15.1822 14.6952L17.9841 13.0097C18.0786 12.9533 18.6365 12.6334 18.9437 12.4324L18.9452 12.4314L19.4301 12.1397L19.4312 12.1392C20.5828 11.5026 21.9346 11.1361 23.3806 11.1361C24.3641 11.1361 25.3043 11.3057 26.1681 11.6147C28.9975 12.6265 31.0003 15.1343 31.0003 18.0677L31 18.0679Z"
6
+ fill="white" />
7
+ <path
8
+ d="M24.5313 17.2952C25.024 17.9732 24.8194 18.8861 24.0742 19.3344L20.8091 21.2987L18.0087 22.9832C17.8661 23.0707 16.3911 23.9562 16.3911 23.9562C15.2792 24.5335 13.9915 24.8636 12.6197 24.8636C11.6316 24.8636 10.6873 24.6922 9.82065 24.3808C6.96425 23.3542 4.95304 20.8016 5.00115 17.8274C5.06318 14.0024 8.56563 10.9277 12.7695 11.0015C13.2185 11.0095 13.6576 11.0527 14.0845 11.1284C15.3653 11.3552 16.5308 11.8736 17.4951 12.6051L14.5755 14.3613C13.9868 14.0934 13.3222 13.9428 12.6197 13.9428C11.0936 13.9428 9.74992 14.6519 8.96474 15.7283C8.5094 16.3512 8.24217 17.0972 8.23521 17.8991C8.21608 20.0788 10.1531 21.8857 12.5486 21.9202C13.3315 21.9316 14.0686 21.7557 14.7091 21.4392L14.7117 21.4379C14.9332 21.3288 15.1427 21.2022 15.3387 21.0606L16.2493 20.5129L19.0733 18.8139L20.2358 18.1143L22.2897 16.8789C23.0348 16.4306 24.0383 16.6167 24.531 17.2947L24.5313 17.2952Z"
9
+ fill="white" />
10
+ </g>
6
11
  <defs>
7
- <linearGradient id="paint0_linear_1259_18266" x1="28.3846" y1="32.1923" x2="2.21823"
8
- y2="9.67803" gradientUnits="userSpaceOnUse">
9
- <stop stop-color="#FF7A00" />
10
- <stop offset="1" stop-color="#EF4123" />
12
+ <linearGradient id="paint0_linear_125_13255" x1="36" y1="36" x2="-4.90531" y2="29.1062"
13
+ gradientUnits="userSpaceOnUse">
14
+ <stop stop-color="#FF8E4F" />
15
+ <stop offset="1" stop-color="#EF592E" />
11
16
  </linearGradient>
17
+ <clipPath id="clip0_125_13255">
18
+ <rect width="26" height="14" fill="white" transform="translate(5 11)" />
19
+ </clipPath>
12
20
  </defs>
13
21
  </svg>
14
22
 
@@ -1,17 +1,22 @@
1
1
  <svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g filter="url(#filter0_d_1670_11432)">
2
+ <g filter="url(#filter0_d_1_19121)">
3
3
  <path
4
4
  d="M16.5 16.9091C16.5 15.5786 17.5786 14.5 18.9091 14.5H32C40.5604 14.5 47.5 21.4396 47.5 30C47.5 38.5604 40.5604 45.5 32 45.5C23.4396 45.5 16.5 38.5604 16.5 30V16.9091Z"
5
- stroke="url(#paint0_linear_1670_11432)" shape-rendering="crispEdges" />
5
+ stroke="url(#paint0_linear_1_19121)" shape-rendering="crispEdges" />
6
6
  </g>
7
7
  <path
8
8
  d="M10 16.9091C10 15.3024 11.3024 14 12.9091 14H26C34.8366 14 42 21.1634 42 30C42 38.8366 34.8366 46 26 46C17.1634 46 10 38.8366 10 30V16.9091Z"
9
- fill="url(#paint1_linear_1670_11432)" />
10
- <path
11
- d="M18 23.5L20.0001 27.5624L23.3528 27.5651C24.0491 27.5651 24.3926 27.8182 24.3893 28.242C24.3872 28.5121 23.0264 29.7579 22.5352 30.4249C21.6803 31.5862 22.0739 31.8323 22.8 33.2499C23.5632 34.7397 24.4 36.5 24.4 36.5C24.4 36.5 26.8536 33.4988 28.4181 31.6103C29.5409 30.2556 29.6848 29.9999 30.815 29.9999H34L32.4411 27.0891C32.4411 27.0891 32.1894 26.5714 31.8146 26.3028C31.2629 25.9075 30.8202 25.9379 30.8202 25.9379H28.9763C28.5036 25.9379 28.5644 25.869 27.0484 24.1164C26.7234 23.7408 26.4584 23.5 26.0048 23.5L18 23.5Z"
12
- fill="url(#paint2_linear_1670_11432)" />
9
+ fill="url(#paint1_linear_1_19121)" />
10
+ <g clip-path="url(#clip0_1_19121)">
11
+ <path
12
+ d="M33.9998 30.0436C33.9998 30.268 33.9356 30.7837 33.9284 30.823C33.5405 32.9124 31.6208 34.5001 29.3109 34.5001C28.9487 34.5001 28.5957 34.4611 28.257 34.387C27.4902 34.2197 26.7953 33.8737 26.2233 33.3969L27.9959 32.2829C28.3847 32.4901 28.8335 32.6079 29.3109 32.6079C30.801 32.6079 32.0091 31.4598 32.0091 30.0436C32.0091 29.9514 32.0041 29.8603 31.9937 29.7707C31.8507 28.4826 30.704 27.4792 29.3109 27.4792C28.8115 27.4792 28.344 27.6081 27.9429 27.8329L23.1229 30.8617C22.6644 31.1499 22.0469 31.0302 21.7438 30.5944C21.4406 30.1585 21.5665 29.5716 22.0251 29.2835L24.2657 27.8754L25.99 26.7918C26.0481 26.7556 26.3915 26.5499 26.5805 26.4208L26.5814 26.4201L26.8798 26.2326L26.8805 26.2323C27.5892 25.823 28.4211 25.5874 29.3109 25.5874C29.9161 25.5874 30.4947 25.6964 31.0263 25.8951C32.7675 26.5455 34 28.1577 34 30.0434L33.9998 30.0436Z"
13
+ fill="url(#paint2_linear_1_19121)" />
14
+ <path
15
+ d="M30.0196 29.547C30.3228 29.9829 30.1969 30.5697 29.7383 30.8579L27.729 32.1207L26.0056 33.2036C25.9179 33.2599 25.0102 33.8291 25.0102 33.8291C24.326 34.2002 23.5335 34.4124 22.6893 34.4124C22.0813 34.4124 21.5002 34.3022 20.9669 34.102C19.2091 33.4421 17.9714 31.8011 18.001 29.8891C18.0392 27.4302 20.1945 25.4536 22.7815 25.5011C23.0578 25.5062 23.328 25.534 23.5908 25.5826C24.379 25.7284 25.0962 26.0617 25.6896 26.5319L23.8929 27.6609C23.5307 27.4887 23.1217 27.3919 22.6893 27.3919C21.7502 27.3919 20.9233 27.8478 20.4401 28.5397C20.1599 28.9401 19.9955 29.4197 19.9912 29.9352C19.9794 31.3365 21.1714 32.498 22.6456 32.5202C23.1274 32.5275 23.581 32.4145 23.9751 32.211L23.9768 32.2102C24.113 32.14 24.242 32.0586 24.3626 31.9676L24.923 31.6155L26.6608 30.5233L27.3762 30.0736L28.6401 29.2793C29.0987 28.9912 29.7162 29.1108 30.0194 29.5467L30.0196 29.547Z"
16
+ fill="url(#paint3_linear_1_19121)" />
17
+ </g>
13
18
  <defs>
14
- <filter id="filter0_d_1670_11432" x="0" y="0" width="64" height="64"
19
+ <filter id="filter0_d_1_19121" x="0" y="0" width="64" height="64"
15
20
  filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
16
21
  <feFlood flood-opacity="0" result="BackgroundImageFix" />
17
22
  <feColorMatrix in="SourceAlpha" type="matrix"
@@ -20,25 +25,33 @@
20
25
  <feGaussianBlur stdDeviation="8" />
21
26
  <feComposite in2="hardAlpha" operator="out" />
22
27
  <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" />
23
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1670_11432" />
24
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1670_11432"
28
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_19121" />
29
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1_19121"
25
30
  result="shape" />
26
31
  </filter>
27
- <linearGradient id="paint0_linear_1670_11432" x1="23" y1="42.5" x2="48" y2="25"
32
+ <linearGradient id="paint0_linear_1_19121" x1="23" y1="42.5" x2="48" y2="25"
28
33
  gradientUnits="userSpaceOnUse">
29
34
  <stop stop-color="white" stop-opacity="0" />
30
35
  <stop offset="1" stop-color="white" />
31
36
  </linearGradient>
32
- <linearGradient id="paint1_linear_1670_11432" x1="10" y1="14" x2="42" y2="46"
37
+ <linearGradient id="paint1_linear_1_19121" x1="10" y1="14" x2="42" y2="46"
33
38
  gradientUnits="userSpaceOnUse">
34
39
  <stop stop-color="white" />
35
40
  <stop offset="1" stop-color="white" stop-opacity="0.79" />
36
41
  </linearGradient>
37
- <linearGradient id="paint2_linear_1670_11432" x1="34" y1="36.5" x2="16.0747" y2="32.7819"
42
+ <linearGradient id="paint2_linear_1_19121" x1="34" y1="34.5001" x2="20.2441" y2="31.2692"
38
43
  gradientUnits="userSpaceOnUse">
39
44
  <stop stop-color="#FF8E4F" />
40
45
  <stop offset="1" stop-color="#EF592E" />
41
46
  </linearGradient>
47
+ <linearGradient id="paint3_linear_1_19121" x1="30.1848" y1="34.4124" x2="16.6648"
48
+ y2="31.2973" gradientUnits="userSpaceOnUse">
49
+ <stop stop-color="#FF8E4F" />
50
+ <stop offset="1" stop-color="#EF592E" />
51
+ </linearGradient>
52
+ <clipPath id="clip0_1_19121">
53
+ <rect width="16" height="9" fill="white" transform="translate(18 25.5)" />
54
+ </clipPath>
42
55
  </defs>
43
56
  </svg>
44
57
 
@@ -1,7 +1,7 @@
1
1
  //@ts-nocheck
2
2
  import React from 'react';
3
3
  import { Dimensions, Modal, StyleSheet, View } from 'react-native';
4
- import { LoadingCimb, LoadingTima } from '../assets/icons';
4
+ import { Loading, LoadingCimb, LoadingTima } from '../assets/icons';
5
5
  import { commonStyles } from '../screens/CommonStyles';
6
6
  import { MText } from './MText';
7
7
  import Lottie from 'lottie-react-native';
@@ -16,7 +16,7 @@ export default function CIMBLoading({ isLoading }: IProps) {
16
16
  <View style={styles.modalBackground}>
17
17
  <View style={styles.activityIndicatorWrapper}>
18
18
  <LinearGradient
19
- colors={['#FDFDFD', '#FDFDFD']}
19
+ colors={['rgba(255, 255, 255, 1)', 'rgba(255, 255, 255, 1)']}
20
20
  style={{
21
21
  width: Dimensions.get('window').width - 50,
22
22
  borderRadius: 6,
@@ -30,12 +30,12 @@ export default function CIMBLoading({ isLoading }: IProps) {
30
30
  flexDirection: 'row',
31
31
  marginBottom: 24,
32
32
  justifyContent: 'space-between',
33
+ alignItems: 'center',
33
34
  }}
34
35
  >
35
- <View>
36
- <LoadingTima />
37
- </View>
38
- <Lottie source={require('./loading.json')} autoPlay loop />
36
+ <LoadingTima />
37
+ {/* <Lottie source={require('./loading.json')} autoPlay loop /> */}
38
+ <Loading />
39
39
  <LoadingCimb />
40
40
  </View>
41
41
  <MText
@@ -201,7 +201,7 @@ export const Info = observer(function Info({ loan }: IProps) {
201
201
  }}
202
202
  >
203
203
  <MText style={[commonStyles.textNormal, { color: '#828282' }]}>
204
- Nghĩa vụ phải trả Tima
204
+ Nghĩa vụ phải trả Glink
205
205
  </MText>
206
206
  <MText style={[commonStyles.textNormal, { color: '#828282' }]}>
207
207
  {formatMoney(data?.totalMoneyTima)} VNĐ
@@ -110,7 +110,7 @@ export const Payment = observer(function Payment({ data }: IProps) {
110
110
  { color: '#828282', paddingLeft: 15 },
111
111
  ]}
112
112
  >
113
- Nghĩa vụ phải trả Tima
113
+ Nghĩa vụ phải trả Glink
114
114
  </MText>
115
115
  </View>
116
116
  <MText style={[commonStyles.textNormal, { color: '#828282' }]}>
@@ -83,7 +83,7 @@ export const PaymentAll = observer(function PaymentAll(props: any) {
83
83
  style={{ flexDirection: 'row', justifyContent: 'space-between' }}
84
84
  >
85
85
  <MText style={[commonStyles.textNormal, { color: '#333333' }]}>
86
- Nghĩa vụ phải trả Tima
86
+ Nghĩa vụ phải trả Glink
87
87
  </MText>
88
88
  <MText
89
89
  style={[commonStyles.textNormalBold, { color: '#F05123' }]}
@@ -39,7 +39,7 @@ const logoView: ImageStyle = {
39
39
  export const CIMBxTima = observer(function CIMBxTima(props) {
40
40
  const navigation = useNavigation();
41
41
  const [loading, setLoading] = useState(false);
42
- const loan = props.route.params.loan;
42
+ const loan = props.route.params?.loan;
43
43
 
44
44
  const onSubmit = (values: any) => {
45
45
  setLoading(true);
@@ -91,9 +91,23 @@ export const CIMBxTima = observer(function CIMBxTima(props) {
91
91
  >
92
92
  {({ values, setFieldValue, isValid, handleSubmit }) => (
93
93
  <ScrollView style={{ flex: 1, marginBottom: 16 }}>
94
+ <View
95
+ style={{
96
+ padding: 16,
97
+ }}
98
+ >
99
+ <Image
100
+ source={require('./glink.png')}
101
+ resizeMode="cover"
102
+ style={{
103
+ height: 60,
104
+ width: 280,
105
+ }}
106
+ />
107
+ </View>
94
108
  <Image
95
109
  source={require('./bg.png')}
96
- resizeMode="contain"
110
+ resizeMode="cover"
97
111
  style={{
98
112
  width: Dimensions.get('window').width,
99
113
  height: Dimensions.get('window').height / 2 - 120,
Binary file
Binary file
@@ -812,7 +812,7 @@ export const Home = observer(function Home() {
812
812
  <MText
813
813
  style={commonStyles.textNormalBold}
814
814
  >
815
- Đơn vay {item?.id}
815
+ Đơn vay-{item?.id}
816
816
  </MText>
817
817
  <MText style={commonStyles.textNormal}>
818
818
  Số tiền vay (VND):{' '}
@@ -1694,7 +1694,7 @@ export const Home = observer(function Home() {
1694
1694
  <Contract />
1695
1695
  <View style={{ flex: 1, paddingLeft: 8 }}>
1696
1696
  <MText style={commonStyles.textNormalBold}>
1697
- Đơn vay {item?.id}
1697
+ Đơn vay-{item?.id}
1698
1698
  </MText>
1699
1699
  <MText style={commonStyles.textNormal}>
1700
1700
  Số tiền vay (VND):{' '}
@@ -1988,7 +1988,7 @@ export const Home = observer(function Home() {
1988
1988
  <ContractActive />
1989
1989
  <View style={{ flex: 1, paddingLeft: 8 }}>
1990
1990
  <MText style={commonStyles.textNormalBold}>
1991
- Đơn vay-{loan?.id}
1991
+ Đơn vay-{loan?.id}
1992
1992
  </MText>
1993
1993
  <MText style={commonStyles.textNormal}>
1994
1994
  Số tiền vay (VND): {formatMoney(loan?.loanAmount)}
@@ -2185,10 +2185,11 @@ export const Home = observer(function Home() {
2185
2185
  ? require('./accept.png')
2186
2186
  : require('./reject.png')
2187
2187
  }
2188
- resizeMode="stretch"
2188
+ resizeMode="cover"
2189
2189
  style={{
2190
2190
  width: '100%',
2191
2191
  height: (Dimensions.get('window').height / 2) * 0.8,
2192
+ borderRadius: 8,
2192
2193
  }}
2193
2194
  />
2194
2195
  {loanCimb?.isCimbApproveFull === true ? (
Binary file
@@ -2,7 +2,13 @@
2
2
  import { StackActions, useNavigation } from '@react-navigation/native';
3
3
  import { observer } from 'mobx-react-lite';
4
4
  import React, { useEffect } from 'react';
5
- import { SafeAreaView, ScrollView, TouchableOpacity, View } from 'react-native';
5
+ import {
6
+ Image,
7
+ SafeAreaView,
8
+ ScrollView,
9
+ TouchableOpacity,
10
+ View,
11
+ } from 'react-native';
6
12
  import {
7
13
  CIMBBank,
8
14
  IconBack,
@@ -99,13 +105,26 @@ export const Introduction = observer(function Introduction(props: any) {
99
105
  alignItems: 'center',
100
106
  }}
101
107
  >
102
- <TimaSmall />
108
+ {/* <TimaSmall /> */}
109
+ <Image
110
+ source={require('./glink_logo.png')}
111
+ style={{
112
+ width: 16,
113
+ height: 16,
114
+ }}
115
+ />
103
116
  <MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
104
117
  {item?.h1}
105
118
  </MText>
106
119
  </View>
107
120
  <View style={{ flexDirection: 'row', marginTop: 8 }}>
108
- <TimaSmall style={{ marginTop: 5 }} />
121
+ <Image
122
+ source={require('./glink_logo.png')}
123
+ style={{
124
+ width: 16,
125
+ height: 16,
126
+ }}
127
+ />
109
128
  <MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
110
129
  {item?.h2}
111
130
  </MText>
@@ -113,7 +132,13 @@ export const Introduction = observer(function Introduction(props: any) {
113
132
  <View
114
133
  style={{ flexDirection: 'row', marginTop: 8, alignItems: 'center' }}
115
134
  >
116
- <TimaSmall />
135
+ <Image
136
+ source={require('./glink_logo.png')}
137
+ style={{
138
+ width: 16,
139
+ height: 16,
140
+ }}
141
+ />
117
142
  <MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
118
143
  {item?.h3}
119
144
  </MText>
@@ -184,7 +209,7 @@ export const Introduction = observer(function Introduction(props: any) {
184
209
  borderColor: '#EF4123',
185
210
  borderRadius: 30,
186
211
  marginHorizontal: 16,
187
- marginTop: 8,
212
+ marginTop: 16,
188
213
  }}
189
214
  >
190
215
  <LinearGradient
@@ -112,7 +112,7 @@ export const LoginWithPassword = observer(function LoginWithPassword(
112
112
  setFieldValue,
113
113
  isValid,
114
114
  }) => (
115
- <View style={{ flex: 1 }}>
115
+ <View style={{ flex: 1, marginTop: 16 }}>
116
116
  <TextInput
117
117
  secureTextEntry
118
118
  style={{
@@ -123,7 +123,13 @@ export const NationalID = observer(function NationalID(props: any) {
123
123
  marginTop: 16,
124
124
  }}
125
125
  >
126
- <TimaSmallWhite />
126
+ <Image
127
+ source={require('../../assets/img/glink_logo_White.png')}
128
+ style={{
129
+ width: 24,
130
+ height: 24,
131
+ }}
132
+ />
127
133
  <MText
128
134
  style={[
129
135
  commonStyles.textNormalBold,
@@ -159,7 +165,13 @@ export const NationalID = observer(function NationalID(props: any) {
159
165
  alignItems: 'center',
160
166
  }}
161
167
  >
162
- <TimaSmall />
168
+ <Image
169
+ source={require('./glink_logo.png')}
170
+ style={{
171
+ width: 16,
172
+ height: 16,
173
+ }}
174
+ />
163
175
  <MText
164
176
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
165
177
  >
@@ -167,7 +179,13 @@ export const NationalID = observer(function NationalID(props: any) {
167
179
  </MText>
168
180
  </View>
169
181
  <View style={{ flexDirection: 'row', marginTop: 8 }}>
170
- <TimaSmall style={{ marginTop: 5 }} />
182
+ <Image
183
+ source={require('./glink_logo.png')}
184
+ style={{
185
+ width: 16,
186
+ height: 16,
187
+ }}
188
+ />
171
189
  <MText
172
190
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
173
191
  >
@@ -182,7 +200,13 @@ export const NationalID = observer(function NationalID(props: any) {
182
200
  alignItems: 'center',
183
201
  }}
184
202
  >
185
- <TimaSmall />
203
+ <Image
204
+ source={require('./glink_logo.png')}
205
+ style={{
206
+ width: 16,
207
+ height: 16,
208
+ }}
209
+ />
186
210
  <MText
187
211
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
188
212
  >
@@ -102,7 +102,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
102
102
  marginTop: 16,
103
103
  }}
104
104
  >
105
- <TimaSmallWhite />
105
+ <Image
106
+ source={require('../../assets/img/glink_logo_White.png')}
107
+ style={{
108
+ width: 24,
109
+ height: 24,
110
+ }}
111
+ />
106
112
  <MText
107
113
  style={[
108
114
  commonStyles.textNormalBold,
@@ -139,7 +145,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
139
145
  alignItems: 'center',
140
146
  }}
141
147
  >
142
- <TimaSmall />
148
+ <Image
149
+ source={require('../nationalID/glink_logo.png')}
150
+ style={{
151
+ width: 16,
152
+ height: 16,
153
+ }}
154
+ />
143
155
  <MText
144
156
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
145
157
  >
@@ -147,7 +159,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
147
159
  </MText>
148
160
  </View>
149
161
  <View style={{ flexDirection: 'row', marginTop: 8 }}>
150
- <TimaSmall style={{ marginTop: 5 }} />
162
+ <Image
163
+ source={require('../nationalID/glink_logo.png')}
164
+ style={{
165
+ width: 16,
166
+ height: 16,
167
+ }}
168
+ />
151
169
  <MText
152
170
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
153
171
  >
@@ -162,7 +180,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
162
180
  alignItems: 'center',
163
181
  }}
164
182
  >
165
- <TimaSmall />
183
+ <Image
184
+ source={require('../nationalID/glink_logo.png')}
185
+ style={{
186
+ width: 16,
187
+ height: 16,
188
+ }}
189
+ />
166
190
  <MText
167
191
  style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
168
192
  >
@@ -179,7 +179,13 @@ export const Register = observer(function Register() {
179
179
  <SafeAreaView style={{ flex: 1 }}>
180
180
  <ScrollView style={{ flex: 1 }}>
181
181
  <View style={{ alignItems: 'center', marginTop: 40 }}>
182
- <LogoWhite />
182
+ <Image
183
+ source={require('../../assets/img/glink_logo_Primary.png')}
184
+ style={{
185
+ width: 140,
186
+ height: 140,
187
+ }}
188
+ />
183
189
  </View>
184
190
  <View style={{ marginTop: 50 }}>
185
191
  <Formik
@@ -327,7 +333,7 @@ export const Register = observer(function Register() {
327
333
  fontWeight: '400',
328
334
  }}
329
335
  >
330
- của Tima
336
+ của Glink
331
337
  </MText>
332
338
  </MButton>
333
339
  </View>
@@ -127,7 +127,7 @@ export const SchedulePayment = observer(function SchedulePayment(props: any) {
127
127
  >
128
128
  <View style={{ flex: 1, paddingRight: 15 }}>
129
129
  <MText style={commonStyles.textNormal}>
130
- Nghĩa vụ phải trả Tima
130
+ Nghĩa vụ phải trả Glink
131
131
  </MText>
132
132
  </View>
133
133
  <MText style={commonStyles.textNormal}>
@@ -103,7 +103,7 @@ export const TermScreen = observer(function TermScreen(props) {
103
103
  fontWeight: '400',
104
104
  }}
105
105
  >
106
- của Tima
106
+ của Glink
107
107
  </MText>
108
108
  </MButton>
109
109
  </View>