react-native-timacare 3.1.2 → 3.1.4-beta

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 (626) hide show
  1. package/lib/commonjs/assets/icons/cam2.svg +5 -0
  2. package/lib/commonjs/assets/icons/chip.svg +20 -0
  3. package/lib/commonjs/assets/icons/index.js +1 -1
  4. package/lib/commonjs/assets/icons/index.js.flow +8 -0
  5. package/lib/commonjs/assets/icons/index.js.map +1 -1
  6. package/lib/commonjs/assets/icons/ocr.svg +11 -0
  7. package/lib/commonjs/assets/icons/takePhoto.svg +20 -0
  8. package/lib/commonjs/assets/icons/tima_small.svg +12 -23
  9. package/lib/commonjs/assets/svgs/back.svg +4 -0
  10. package/lib/commonjs/assets/svgs/complete.svg +27 -0
  11. package/lib/commonjs/assets/svgs/currentStep.svg +28 -0
  12. package/lib/commonjs/assets/svgs/edit.svg +42 -0
  13. package/lib/commonjs/assets/svgs/edit_success.svg +15 -0
  14. package/lib/commonjs/assets/svgs/ekyc.svg +18 -0
  15. package/lib/commonjs/assets/svgs/ekyc_success.svg +6 -0
  16. package/lib/commonjs/assets/svgs/index.js +2 -0
  17. package/lib/commonjs/assets/svgs/index.js.flow +23 -0
  18. package/lib/commonjs/assets/svgs/index.js.map +1 -0
  19. package/lib/commonjs/assets/svgs/nextStep.svg +21 -0
  20. package/lib/commonjs/assets/svgs/notify.svg +18 -0
  21. package/lib/commonjs/assets/svgs/orc_success.svg +11 -0
  22. package/lib/commonjs/assets/tts/1000009864.png +0 -0
  23. package/lib/commonjs/assets/tts/1000009872.png +0 -0
  24. package/lib/commonjs/assets/tts/1000011964.png +0 -0
  25. package/lib/commonjs/assets/tts/Banner.png +0 -0
  26. package/lib/commonjs/assets/tts/Frame 1000011947.png +0 -0
  27. package/lib/commonjs/assets/tts/Frame1000011946.png +0 -0
  28. package/lib/commonjs/assets/tts/Frame1000011953.png +0 -0
  29. package/lib/commonjs/assets/tts/back.png +0 -0
  30. package/lib/commonjs/assets/tts/front.png +0 -0
  31. package/lib/commonjs/assets/tts/otp.png +0 -0
  32. package/lib/commonjs/assets/tts/vehicleRegistration.png +0 -0
  33. package/lib/commonjs/assets/tts/vehicleStep.png +0 -0
  34. package/lib/commonjs/components/CIMBLoading.js +1 -1
  35. package/lib/commonjs/components/CIMBLoading.js.map +1 -1
  36. package/lib/commonjs/components/CommonSelect.js +1 -1
  37. package/lib/commonjs/components/CommonSelect.js.map +1 -1
  38. package/lib/commonjs/components/Loading.js +1 -1
  39. package/lib/commonjs/components/Loading.js.map +1 -1
  40. package/lib/commonjs/components/MButton.js +1 -1
  41. package/lib/commonjs/components/MButton.js.map +1 -1
  42. package/lib/commonjs/components/MHeader.js +1 -1
  43. package/lib/commonjs/components/MHeader.js.flow +1 -1
  44. package/lib/commonjs/components/MHeader.js.map +1 -1
  45. package/lib/commonjs/components/MSelect.js +2 -0
  46. package/lib/commonjs/components/MSelect.js.flow +78 -0
  47. package/lib/commonjs/components/MSelect.js.map +1 -0
  48. package/lib/commonjs/components/MText.js +1 -1
  49. package/lib/commonjs/components/MText.js.map +1 -1
  50. package/lib/commonjs/components/MyTextInput.js +1 -1
  51. package/lib/commonjs/components/MyTextInput.js.map +1 -1
  52. package/lib/commonjs/components/StepIndicator.js +2 -0
  53. package/lib/commonjs/components/StepIndicator.js.flow +85 -0
  54. package/lib/commonjs/components/StepIndicator.js.map +1 -0
  55. package/lib/commonjs/components/keyboardspace/index.js +1 -1
  56. package/lib/commonjs/components/keyboardspace/index.js.map +1 -1
  57. package/lib/commonjs/components/logoTima/index.js +1 -1
  58. package/lib/commonjs/components/logoTima/index.js.map +1 -1
  59. package/lib/commonjs/components/select/index.js +1 -1
  60. package/lib/commonjs/components/select/index.js.flow +19 -3
  61. package/lib/commonjs/components/select/index.js.map +1 -1
  62. package/lib/commonjs/index.js +1 -1
  63. package/lib/commonjs/index.js.flow +3 -1
  64. package/lib/commonjs/index.js.map +1 -1
  65. package/lib/commonjs/navigation/primary-navigator.js +1 -1
  66. package/lib/commonjs/navigation/primary-navigator.js.flow +81 -1
  67. package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
  68. package/lib/commonjs/navigation/root-navigator.js +1 -1
  69. package/lib/commonjs/navigation/root-navigator.js.map +1 -1
  70. package/lib/commonjs/screens/Selector.js +1 -1
  71. package/lib/commonjs/screens/Selector.js.map +1 -1
  72. package/lib/commonjs/screens/camera/index.js +1 -1
  73. package/lib/commonjs/screens/camera/index.js.flow +1 -1
  74. package/lib/commonjs/screens/camera/index.js.map +1 -1
  75. package/lib/commonjs/screens/cimb-sign/index.js +1 -1
  76. package/lib/commonjs/screens/cimb-sign/index.js.map +1 -1
  77. package/lib/commonjs/screens/contract/index.js +1 -1
  78. package/lib/commonjs/screens/contract/index.js.map +1 -1
  79. package/lib/commonjs/screens/detail-loan/DetailLoanTima.js +1 -1
  80. package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.map +1 -1
  81. package/lib/commonjs/screens/detail-loan/Info.js +1 -1
  82. package/lib/commonjs/screens/detail-loan/Info.js.map +1 -1
  83. package/lib/commonjs/screens/detail-loan/Payment.js +1 -1
  84. package/lib/commonjs/screens/detail-loan/Payment.js.map +1 -1
  85. package/lib/commonjs/screens/detail-loan/PaymentAll.js +1 -1
  86. package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
  87. package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
  88. package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
  89. package/lib/commonjs/screens/detail-loan/QrPayment.js +1 -1
  90. package/lib/commonjs/screens/detail-loan/QrPayment.js.map +1 -1
  91. package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
  92. package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
  93. package/lib/commonjs/screens/detail-loan/index.js +1 -1
  94. package/lib/commonjs/screens/detail-loan/index.js.map +1 -1
  95. package/lib/commonjs/screens/digital-lending/Step1.js +1 -1
  96. package/lib/commonjs/screens/digital-lending/Step1.js.map +1 -1
  97. package/lib/commonjs/screens/digital-lending/Step2.js +1 -1
  98. package/lib/commonjs/screens/digital-lending/Step2.js.map +1 -1
  99. package/lib/commonjs/screens/digital-lending/Step3.js +1 -1
  100. package/lib/commonjs/screens/digital-lending/Step3.js.map +1 -1
  101. package/lib/commonjs/screens/digital-lending/Step4.js +1 -1
  102. package/lib/commonjs/screens/digital-lending/Step4.js.map +1 -1
  103. package/lib/commonjs/screens/digital-lending/Step5.js +1 -1
  104. package/lib/commonjs/screens/digital-lending/Step5.js.map +1 -1
  105. package/lib/commonjs/screens/digital-lending/Step6.js +1 -1
  106. package/lib/commonjs/screens/digital-lending/Step6.js.map +1 -1
  107. package/lib/commonjs/screens/digital-lending/index.js +1 -1
  108. package/lib/commonjs/screens/digital-lending/index.js.map +1 -1
  109. package/lib/commonjs/screens/eSign/PreviewContract.js +1 -1
  110. package/lib/commonjs/screens/eSign/PreviewContract.js.map +1 -1
  111. package/lib/commonjs/screens/eSign/Store.js +1 -1
  112. package/lib/commonjs/screens/eSign/Store.js.flow +9 -2
  113. package/lib/commonjs/screens/eSign/Store.js.map +1 -1
  114. package/lib/commonjs/screens/eSign/index.js +1 -1
  115. package/lib/commonjs/screens/eSign/index.js.flow +4 -1
  116. package/lib/commonjs/screens/eSign/index.js.map +1 -1
  117. package/lib/commonjs/screens/forgotPassword/index.js +1 -1
  118. package/lib/commonjs/screens/forgotPassword/index.js.map +1 -1
  119. package/lib/commonjs/screens/full-submit/accept_policy.js +1 -1
  120. package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
  121. package/lib/commonjs/screens/full-submit/index.js +1 -1
  122. package/lib/commonjs/screens/full-submit/index.js.flow +7 -7
  123. package/lib/commonjs/screens/full-submit/index.js.map +1 -1
  124. package/lib/commonjs/screens/full-submit/selfie.js +1 -1
  125. package/lib/commonjs/screens/full-submit/selfie.js.map +1 -1
  126. package/lib/commonjs/screens/full-submit/update-document.js +1 -1
  127. package/lib/commonjs/screens/full-submit/update-document.js.flow +1 -1
  128. package/lib/commonjs/screens/full-submit/update-document.js.map +1 -1
  129. package/lib/commonjs/screens/full-submit/update-info.js +1 -1
  130. package/lib/commonjs/screens/full-submit/update-info.js.flow +1 -1
  131. package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
  132. package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js +1 -1
  133. package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
  134. package/lib/commonjs/screens/guide-transfer-bank/index.js +1 -1
  135. package/lib/commonjs/screens/guide-transfer-bank/index.js.map +1 -1
  136. package/lib/commonjs/screens/home/CIMBxTima.js +1 -1
  137. package/lib/commonjs/screens/home/CIMBxTima.js.map +1 -1
  138. package/lib/commonjs/screens/home/index.js +1 -1
  139. package/lib/commonjs/screens/home/index.js.flow +1809 -1400
  140. package/lib/commonjs/screens/home/index.js.map +1 -1
  141. package/lib/commonjs/screens/intro/index.js +1 -1
  142. package/lib/commonjs/screens/intro/index.js.map +1 -1
  143. package/lib/commonjs/screens/introduction/index.js +1 -1
  144. package/lib/commonjs/screens/introduction/index.js.map +1 -1
  145. package/lib/commonjs/screens/liveness/LivenessStore.js +1 -1
  146. package/lib/commonjs/screens/liveness/LivenessStore.js.flow +87 -1
  147. package/lib/commonjs/screens/liveness/LivenessStore.js.map +1 -1
  148. package/lib/commonjs/screens/liveness/index.js +1 -1
  149. package/lib/commonjs/screens/liveness/index.js.map +1 -1
  150. package/lib/commonjs/screens/liveness-v2/index.js +1 -1
  151. package/lib/commonjs/screens/liveness-v2/index.js.flow +36 -23
  152. package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
  153. package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
  154. package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
  155. package/lib/commonjs/screens/loan/UpdateLoan.js +1 -1
  156. package/lib/commonjs/screens/loan/UpdateLoan.js.map +1 -1
  157. package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
  158. package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
  159. package/lib/commonjs/screens/main/index.js +1 -1
  160. package/lib/commonjs/screens/main/index.js.map +1 -1
  161. package/lib/commonjs/screens/mrz-scanner/index.js +1 -1
  162. package/lib/commonjs/screens/mrz-scanner/index.js.flow +2 -2
  163. package/lib/commonjs/screens/mrz-scanner/index.js.map +1 -1
  164. package/lib/commonjs/screens/nationalID/index.js +1 -1
  165. package/lib/commonjs/screens/nationalID/index.js.map +1 -1
  166. package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
  167. package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
  168. package/lib/commonjs/screens/notification/index.js +1 -1
  169. package/lib/commonjs/screens/notification/index.js.map +1 -1
  170. package/lib/commonjs/screens/otp/index.js +1 -1
  171. package/lib/commonjs/screens/otp/index.js.map +1 -1
  172. package/lib/commonjs/screens/payment-evidence/Guideline.js +1 -1
  173. package/lib/commonjs/screens/payment-evidence/Guideline.js.map +1 -1
  174. package/lib/commonjs/screens/payment-evidence/ModalGuideline.js +1 -1
  175. package/lib/commonjs/screens/payment-evidence/ModalGuideline.js.map +1 -1
  176. package/lib/commonjs/screens/payment-evidence/index.js +1 -1
  177. package/lib/commonjs/screens/payment-evidence/index.js.map +1 -1
  178. package/lib/commonjs/screens/personal/index.js +1 -1
  179. package/lib/commonjs/screens/personal/index.js.map +1 -1
  180. package/lib/commonjs/screens/qualify/index.js +1 -1
  181. package/lib/commonjs/screens/qualify/index.js.map +1 -1
  182. package/lib/commonjs/screens/quick-submit/index.js +1 -1
  183. package/lib/commonjs/screens/quick-submit/index.js.map +1 -1
  184. package/lib/commonjs/screens/register/index.js +1 -1
  185. package/lib/commonjs/screens/register/index.js.flow +3 -1
  186. package/lib/commonjs/screens/register/index.js.map +1 -1
  187. package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
  188. package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
  189. package/lib/commonjs/screens/schedule-payment/index.js +1 -1
  190. package/lib/commonjs/screens/schedule-payment/index.js.map +1 -1
  191. package/lib/commonjs/screens/schedule-payment/payment-list.js +1 -1
  192. package/lib/commonjs/screens/schedule-payment/payment-list.js.map +1 -1
  193. package/lib/commonjs/screens/selfie/index.js +1 -1
  194. package/lib/commonjs/screens/selfie/index.js.map +1 -1
  195. package/lib/commonjs/screens/setPassword/confirmPassword.js +1 -1
  196. package/lib/commonjs/screens/setPassword/confirmPassword.js.map +1 -1
  197. package/lib/commonjs/screens/setPassword/index.js +1 -1
  198. package/lib/commonjs/screens/setPassword/index.js.map +1 -1
  199. package/lib/commonjs/screens/sign-tima/ConfirmContract.js +1 -1
  200. package/lib/commonjs/screens/sign-tima/ConfirmContract.js.map +1 -1
  201. package/lib/commonjs/screens/sign-tima/ViewContract.js +1 -1
  202. package/lib/commonjs/screens/sign-tima/ViewContract.js.map +1 -1
  203. package/lib/commonjs/screens/splash/index.js +1 -1
  204. package/lib/commonjs/screens/splash/index.js.map +1 -1
  205. package/lib/commonjs/screens/terms/QuickTerm.js +1 -1
  206. package/lib/commonjs/screens/terms/QuickTerm.js.map +1 -1
  207. package/lib/commonjs/screens/terms/TermScreen.js +1 -1
  208. package/lib/commonjs/screens/terms/TermScreen.js.map +1 -1
  209. package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js +2 -0
  210. package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.flow +373 -0
  211. package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.map +1 -0
  212. package/lib/commonjs/screens/toan-trinh-so/OCR.js +2 -0
  213. package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +831 -0
  214. package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -0
  215. package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js +2 -0
  216. package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.flow +467 -0
  217. package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.map +1 -0
  218. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +2 -0
  219. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +1007 -0
  220. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -0
  221. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +2 -0
  222. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +791 -0
  223. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -0
  224. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +2 -0
  225. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +1200 -0
  226. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -0
  227. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js +2 -0
  228. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.flow +242 -0
  229. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -0
  230. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js +2 -0
  231. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.flow +247 -0
  232. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -0
  233. package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js +2 -0
  234. package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.flow +356 -0
  235. package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.map +1 -0
  236. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +2 -0
  237. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +267 -0
  238. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -0
  239. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js +2 -0
  240. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.flow +143 -0
  241. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.map +1 -0
  242. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +2 -0
  243. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +477 -0
  244. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -0
  245. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js +2 -0
  246. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.flow +197 -0
  247. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.map +1 -0
  248. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +2 -0
  249. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +239 -0
  250. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -0
  251. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js +2 -0
  252. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.flow +240 -0
  253. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -0
  254. package/lib/commonjs/screens/toan-trinh-so/store.js +2 -0
  255. package/lib/commonjs/screens/toan-trinh-so/store.js.flow +237 -0
  256. package/lib/commonjs/screens/toan-trinh-so/store.js.map +1 -0
  257. package/lib/commonjs/screens/uploadVideo/index.js +1 -1
  258. package/lib/commonjs/screens/uploadVideo/index.js.map +1 -1
  259. package/lib/commonjs/services/api/api-config.js +1 -1
  260. package/lib/commonjs/services/api/api-config.js.flow +2 -2
  261. package/lib/commonjs/services/api/api-config.js.map +1 -1
  262. package/lib/commonjs/services/api/api.js +1 -1
  263. package/lib/commonjs/services/api/api.js.flow +235 -0
  264. package/lib/commonjs/services/api/api.js.map +1 -1
  265. package/lib/commonjs/utils/index.js +1 -1
  266. package/lib/commonjs/utils/index.js.flow +67 -45
  267. package/lib/commonjs/utils/index.js.map +1 -1
  268. package/lib/commonjs/utils/storage/storage.js +1 -1
  269. package/lib/commonjs/utils/storage/storage.js.flow +4 -0
  270. package/lib/commonjs/utils/storage/storage.js.map +1 -1
  271. package/lib/module/assets/icons/cam2.svg +5 -0
  272. package/lib/module/assets/icons/chip.svg +20 -0
  273. package/lib/module/assets/icons/index.js +1 -1
  274. package/lib/module/assets/icons/index.js.map +1 -1
  275. package/lib/module/assets/icons/ocr.svg +11 -0
  276. package/lib/module/assets/icons/takePhoto.svg +20 -0
  277. package/lib/module/assets/icons/tima_small.svg +12 -23
  278. package/lib/module/assets/svgs/back.svg +4 -0
  279. package/lib/module/assets/svgs/complete.svg +27 -0
  280. package/lib/module/assets/svgs/currentStep.svg +28 -0
  281. package/lib/module/assets/svgs/edit.svg +42 -0
  282. package/lib/module/assets/svgs/edit_success.svg +15 -0
  283. package/lib/module/assets/svgs/ekyc.svg +18 -0
  284. package/lib/module/assets/svgs/ekyc_success.svg +6 -0
  285. package/lib/module/assets/svgs/index.js +2 -0
  286. package/lib/module/assets/svgs/index.js.map +1 -0
  287. package/lib/module/assets/svgs/nextStep.svg +21 -0
  288. package/lib/module/assets/svgs/notify.svg +18 -0
  289. package/lib/module/assets/svgs/orc_success.svg +11 -0
  290. package/lib/module/assets/tts/1000009864.png +0 -0
  291. package/lib/module/assets/tts/1000009872.png +0 -0
  292. package/lib/module/assets/tts/1000011964.png +0 -0
  293. package/lib/module/assets/tts/Banner.png +0 -0
  294. package/lib/module/assets/tts/Frame 1000011947.png +0 -0
  295. package/lib/module/assets/tts/Frame1000011946.png +0 -0
  296. package/lib/module/assets/tts/Frame1000011953.png +0 -0
  297. package/lib/module/assets/tts/back.png +0 -0
  298. package/lib/module/assets/tts/front.png +0 -0
  299. package/lib/module/assets/tts/otp.png +0 -0
  300. package/lib/module/assets/tts/vehicleRegistration.png +0 -0
  301. package/lib/module/assets/tts/vehicleStep.png +0 -0
  302. package/lib/module/components/CIMBLoading.js +1 -1
  303. package/lib/module/components/CIMBLoading.js.map +1 -1
  304. package/lib/module/components/CommonSelect.js +1 -1
  305. package/lib/module/components/CommonSelect.js.map +1 -1
  306. package/lib/module/components/Loading.js +1 -1
  307. package/lib/module/components/Loading.js.map +1 -1
  308. package/lib/module/components/MButton.js +1 -1
  309. package/lib/module/components/MButton.js.map +1 -1
  310. package/lib/module/components/MHeader.js +1 -1
  311. package/lib/module/components/MHeader.js.map +1 -1
  312. package/lib/module/components/MSelect.js +2 -0
  313. package/lib/module/components/MSelect.js.map +1 -0
  314. package/lib/module/components/MText.js +1 -1
  315. package/lib/module/components/MText.js.map +1 -1
  316. package/lib/module/components/MyTextInput.js +1 -1
  317. package/lib/module/components/MyTextInput.js.map +1 -1
  318. package/lib/module/components/StepIndicator.js +2 -0
  319. package/lib/module/components/StepIndicator.js.map +1 -0
  320. package/lib/module/components/keyboardspace/index.js +1 -1
  321. package/lib/module/components/keyboardspace/index.js.map +1 -1
  322. package/lib/module/components/logoTima/index.js +1 -1
  323. package/lib/module/components/logoTima/index.js.map +1 -1
  324. package/lib/module/components/select/index.js +1 -1
  325. package/lib/module/components/select/index.js.map +1 -1
  326. package/lib/module/index.js +1 -1
  327. package/lib/module/index.js.map +1 -1
  328. package/lib/module/navigation/primary-navigator.js +1 -1
  329. package/lib/module/navigation/primary-navigator.js.map +1 -1
  330. package/lib/module/navigation/root-navigator.js +1 -1
  331. package/lib/module/navigation/root-navigator.js.map +1 -1
  332. package/lib/module/screens/Selector.js +1 -1
  333. package/lib/module/screens/Selector.js.map +1 -1
  334. package/lib/module/screens/camera/index.js +1 -1
  335. package/lib/module/screens/camera/index.js.map +1 -1
  336. package/lib/module/screens/cimb-sign/index.js +1 -1
  337. package/lib/module/screens/cimb-sign/index.js.map +1 -1
  338. package/lib/module/screens/contract/index.js +1 -1
  339. package/lib/module/screens/contract/index.js.map +1 -1
  340. package/lib/module/screens/detail-loan/DetailLoanTima.js +1 -1
  341. package/lib/module/screens/detail-loan/DetailLoanTima.js.map +1 -1
  342. package/lib/module/screens/detail-loan/Info.js +1 -1
  343. package/lib/module/screens/detail-loan/Info.js.map +1 -1
  344. package/lib/module/screens/detail-loan/Payment.js +1 -1
  345. package/lib/module/screens/detail-loan/Payment.js.map +1 -1
  346. package/lib/module/screens/detail-loan/PaymentAll.js +1 -1
  347. package/lib/module/screens/detail-loan/PaymentAll.js.map +1 -1
  348. package/lib/module/screens/detail-loan/PaymentInfo.js +1 -1
  349. package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
  350. package/lib/module/screens/detail-loan/QrPayment.js +1 -1
  351. package/lib/module/screens/detail-loan/QrPayment.js.map +1 -1
  352. package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
  353. package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
  354. package/lib/module/screens/detail-loan/index.js +1 -1
  355. package/lib/module/screens/detail-loan/index.js.map +1 -1
  356. package/lib/module/screens/digital-lending/Step1.js +1 -1
  357. package/lib/module/screens/digital-lending/Step1.js.map +1 -1
  358. package/lib/module/screens/digital-lending/Step2.js +1 -1
  359. package/lib/module/screens/digital-lending/Step2.js.map +1 -1
  360. package/lib/module/screens/digital-lending/Step3.js +1 -1
  361. package/lib/module/screens/digital-lending/Step3.js.map +1 -1
  362. package/lib/module/screens/digital-lending/Step4.js +1 -1
  363. package/lib/module/screens/digital-lending/Step4.js.map +1 -1
  364. package/lib/module/screens/digital-lending/Step5.js +1 -1
  365. package/lib/module/screens/digital-lending/Step5.js.map +1 -1
  366. package/lib/module/screens/digital-lending/Step6.js +1 -1
  367. package/lib/module/screens/digital-lending/Step6.js.map +1 -1
  368. package/lib/module/screens/digital-lending/index.js +1 -1
  369. package/lib/module/screens/digital-lending/index.js.map +1 -1
  370. package/lib/module/screens/eSign/PreviewContract.js +1 -1
  371. package/lib/module/screens/eSign/PreviewContract.js.map +1 -1
  372. package/lib/module/screens/eSign/Store.js +1 -1
  373. package/lib/module/screens/eSign/Store.js.map +1 -1
  374. package/lib/module/screens/eSign/index.js +1 -1
  375. package/lib/module/screens/eSign/index.js.map +1 -1
  376. package/lib/module/screens/forgotPassword/index.js +1 -1
  377. package/lib/module/screens/forgotPassword/index.js.map +1 -1
  378. package/lib/module/screens/full-submit/accept_policy.js +1 -1
  379. package/lib/module/screens/full-submit/accept_policy.js.map +1 -1
  380. package/lib/module/screens/full-submit/index.js +1 -1
  381. package/lib/module/screens/full-submit/index.js.map +1 -1
  382. package/lib/module/screens/full-submit/selfie.js +1 -1
  383. package/lib/module/screens/full-submit/selfie.js.map +1 -1
  384. package/lib/module/screens/full-submit/update-document.js +1 -1
  385. package/lib/module/screens/full-submit/update-document.js.map +1 -1
  386. package/lib/module/screens/full-submit/update-info.js +1 -1
  387. package/lib/module/screens/full-submit/update-info.js.map +1 -1
  388. package/lib/module/screens/guide-transfer-bank/TransferDetail.js +1 -1
  389. package/lib/module/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
  390. package/lib/module/screens/guide-transfer-bank/index.js +1 -1
  391. package/lib/module/screens/guide-transfer-bank/index.js.map +1 -1
  392. package/lib/module/screens/home/CIMBxTima.js +1 -1
  393. package/lib/module/screens/home/CIMBxTima.js.map +1 -1
  394. package/lib/module/screens/home/index.js +1 -1
  395. package/lib/module/screens/home/index.js.map +1 -1
  396. package/lib/module/screens/intro/index.js +1 -1
  397. package/lib/module/screens/intro/index.js.map +1 -1
  398. package/lib/module/screens/introduction/index.js +1 -1
  399. package/lib/module/screens/introduction/index.js.map +1 -1
  400. package/lib/module/screens/liveness/LivenessStore.js +1 -1
  401. package/lib/module/screens/liveness/LivenessStore.js.map +1 -1
  402. package/lib/module/screens/liveness/index.js +1 -1
  403. package/lib/module/screens/liveness/index.js.map +1 -1
  404. package/lib/module/screens/liveness-v2/index.js +1 -1
  405. package/lib/module/screens/liveness-v2/index.js.map +1 -1
  406. package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
  407. package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
  408. package/lib/module/screens/loan/UpdateLoan.js +1 -1
  409. package/lib/module/screens/loan/UpdateLoan.js.map +1 -1
  410. package/lib/module/screens/loginWithPassword/index.js +1 -1
  411. package/lib/module/screens/loginWithPassword/index.js.map +1 -1
  412. package/lib/module/screens/main/index.js +1 -1
  413. package/lib/module/screens/main/index.js.map +1 -1
  414. package/lib/module/screens/mrz-scanner/index.js +1 -1
  415. package/lib/module/screens/mrz-scanner/index.js.map +1 -1
  416. package/lib/module/screens/nationalID/index.js +1 -1
  417. package/lib/module/screens/nationalID/index.js.map +1 -1
  418. package/lib/module/screens/nationalIDBack/index.js +1 -1
  419. package/lib/module/screens/nationalIDBack/index.js.map +1 -1
  420. package/lib/module/screens/notification/index.js +1 -1
  421. package/lib/module/screens/notification/index.js.map +1 -1
  422. package/lib/module/screens/otp/index.js +1 -1
  423. package/lib/module/screens/otp/index.js.map +1 -1
  424. package/lib/module/screens/payment-evidence/Guideline.js +1 -1
  425. package/lib/module/screens/payment-evidence/Guideline.js.map +1 -1
  426. package/lib/module/screens/payment-evidence/ModalGuideline.js +1 -1
  427. package/lib/module/screens/payment-evidence/ModalGuideline.js.map +1 -1
  428. package/lib/module/screens/payment-evidence/index.js +1 -1
  429. package/lib/module/screens/payment-evidence/index.js.map +1 -1
  430. package/lib/module/screens/personal/index.js +1 -1
  431. package/lib/module/screens/personal/index.js.map +1 -1
  432. package/lib/module/screens/qualify/index.js +1 -1
  433. package/lib/module/screens/qualify/index.js.map +1 -1
  434. package/lib/module/screens/quick-submit/index.js +1 -1
  435. package/lib/module/screens/quick-submit/index.js.map +1 -1
  436. package/lib/module/screens/register/index.js +1 -1
  437. package/lib/module/screens/register/index.js.map +1 -1
  438. package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
  439. package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
  440. package/lib/module/screens/schedule-payment/index.js +1 -1
  441. package/lib/module/screens/schedule-payment/index.js.map +1 -1
  442. package/lib/module/screens/schedule-payment/payment-list.js +1 -1
  443. package/lib/module/screens/schedule-payment/payment-list.js.map +1 -1
  444. package/lib/module/screens/selfie/index.js +1 -1
  445. package/lib/module/screens/selfie/index.js.map +1 -1
  446. package/lib/module/screens/setPassword/confirmPassword.js +1 -1
  447. package/lib/module/screens/setPassword/confirmPassword.js.map +1 -1
  448. package/lib/module/screens/setPassword/index.js +1 -1
  449. package/lib/module/screens/setPassword/index.js.map +1 -1
  450. package/lib/module/screens/sign-tima/ConfirmContract.js +1 -1
  451. package/lib/module/screens/sign-tima/ConfirmContract.js.map +1 -1
  452. package/lib/module/screens/sign-tima/ViewContract.js +1 -1
  453. package/lib/module/screens/sign-tima/ViewContract.js.map +1 -1
  454. package/lib/module/screens/splash/index.js +1 -1
  455. package/lib/module/screens/splash/index.js.map +1 -1
  456. package/lib/module/screens/terms/QuickTerm.js +1 -1
  457. package/lib/module/screens/terms/QuickTerm.js.map +1 -1
  458. package/lib/module/screens/terms/TermScreen.js +1 -1
  459. package/lib/module/screens/terms/TermScreen.js.map +1 -1
  460. package/lib/module/screens/toan-trinh-so/LoanInterestRate.js +2 -0
  461. package/lib/module/screens/toan-trinh-so/LoanInterestRate.js.map +1 -0
  462. package/lib/module/screens/toan-trinh-so/OCR.js +2 -0
  463. package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -0
  464. package/lib/module/screens/toan-trinh-so/RegisterCamera.js +2 -0
  465. package/lib/module/screens/toan-trinh-so/RegisterCamera.js.map +1 -0
  466. package/lib/module/screens/toan-trinh-so/ReviewInformation.js +2 -0
  467. package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -0
  468. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +2 -0
  469. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -0
  470. package/lib/module/screens/toan-trinh-so/ReviewLoan.js +2 -0
  471. package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -0
  472. package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js +2 -0
  473. package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -0
  474. package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js +2 -0
  475. package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -0
  476. package/lib/module/screens/toan-trinh-so/TTSOTP.js +2 -0
  477. package/lib/module/screens/toan-trinh-so/TTSOTP.js.map +1 -0
  478. package/lib/module/screens/toan-trinh-so/TTSSelfie.js +2 -0
  479. package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -0
  480. package/lib/module/screens/toan-trinh-so/TTSSignLoan.js +2 -0
  481. package/lib/module/screens/toan-trinh-so/TTSSignLoan.js.map +1 -0
  482. package/lib/module/screens/toan-trinh-so/VehicleCamera.js +2 -0
  483. package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -0
  484. package/lib/module/screens/toan-trinh-so/VehicleRegistration.js +2 -0
  485. package/lib/module/screens/toan-trinh-so/VehicleRegistration.js.map +1 -0
  486. package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +2 -0
  487. package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -0
  488. package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js +2 -0
  489. package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -0
  490. package/lib/module/screens/toan-trinh-so/store.js +2 -0
  491. package/lib/module/screens/toan-trinh-so/store.js.map +1 -0
  492. package/lib/module/screens/uploadVideo/index.js +1 -1
  493. package/lib/module/screens/uploadVideo/index.js.map +1 -1
  494. package/lib/module/services/api/api-config.js +1 -1
  495. package/lib/module/services/api/api-config.js.map +1 -1
  496. package/lib/module/services/api/api.js +1 -1
  497. package/lib/module/services/api/api.js.map +1 -1
  498. package/lib/module/utils/index.js +1 -1
  499. package/lib/module/utils/index.js.map +1 -1
  500. package/lib/module/utils/storage/storage.js +1 -1
  501. package/lib/module/utils/storage/storage.js.map +1 -1
  502. package/lib/typescript/assets/icons/index.d.ts +5 -1
  503. package/lib/typescript/assets/icons/index.d.ts.map +1 -1
  504. package/lib/typescript/assets/svgs/index.d.ts +12 -0
  505. package/lib/typescript/assets/svgs/index.d.ts.map +1 -0
  506. package/lib/typescript/components/MSelect.d.ts +2 -0
  507. package/lib/typescript/components/MSelect.d.ts.map +1 -0
  508. package/lib/typescript/components/StepIndicator.d.ts +5 -0
  509. package/lib/typescript/components/StepIndicator.d.ts.map +1 -0
  510. package/lib/typescript/components/select/index.d.ts.map +1 -1
  511. package/lib/typescript/index.d.ts.map +1 -1
  512. package/lib/typescript/navigation/primary-navigator.d.ts +16 -0
  513. package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
  514. package/lib/typescript/screens/eSign/Store.d.ts +1 -1
  515. package/lib/typescript/screens/eSign/Store.d.ts.map +1 -1
  516. package/lib/typescript/screens/eSign/index.d.ts.map +1 -1
  517. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  518. package/lib/typescript/screens/liveness/LivenessStore.d.ts +1 -0
  519. package/lib/typescript/screens/liveness/LivenessStore.d.ts.map +1 -1
  520. package/lib/typescript/screens/liveness-v2/index.d.ts.map +1 -1
  521. package/lib/typescript/screens/register/index.d.ts.map +1 -1
  522. package/lib/typescript/screens/toan-trinh-so/LoanInterestRate.d.ts +2 -0
  523. package/lib/typescript/screens/toan-trinh-so/LoanInterestRate.d.ts.map +1 -0
  524. package/lib/typescript/screens/toan-trinh-so/OCR.d.ts +2 -0
  525. package/lib/typescript/screens/toan-trinh-so/OCR.d.ts.map +1 -0
  526. package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts +2 -0
  527. package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts.map +1 -0
  528. package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts +2 -0
  529. package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts.map +1 -0
  530. package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts +2 -0
  531. package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts.map +1 -0
  532. package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts +2 -0
  533. package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -0
  534. package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts +2 -0
  535. package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts.map +1 -0
  536. package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts +2 -0
  537. package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts.map +1 -0
  538. package/lib/typescript/screens/toan-trinh-so/TTSOTP.d.ts +2 -0
  539. package/lib/typescript/screens/toan-trinh-so/TTSOTP.d.ts.map +1 -0
  540. package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts +2 -0
  541. package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -0
  542. package/lib/typescript/screens/toan-trinh-so/TTSSignLoan.d.ts +2 -0
  543. package/lib/typescript/screens/toan-trinh-so/TTSSignLoan.d.ts.map +1 -0
  544. package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts +2 -0
  545. package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -0
  546. package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts +2 -0
  547. package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts.map +1 -0
  548. package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts +2 -0
  549. package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts.map +1 -0
  550. package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts +2 -0
  551. package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts.map +1 -0
  552. package/lib/typescript/screens/toan-trinh-so/store.d.ts +26 -0
  553. package/lib/typescript/screens/toan-trinh-so/store.d.ts.map +1 -0
  554. package/lib/typescript/services/api/api.d.ts +224 -0
  555. package/lib/typescript/services/api/api.d.ts.map +1 -1
  556. package/lib/typescript/utils/index.d.ts +8 -0
  557. package/lib/typescript/utils/index.d.ts.map +1 -1
  558. package/lib/typescript/utils/storage/storage.d.ts +3 -0
  559. package/lib/typescript/utils/storage/storage.d.ts.map +1 -1
  560. package/package.json +1 -1
  561. package/src/assets/icons/cam2.svg +5 -0
  562. package/src/assets/icons/chip.svg +20 -0
  563. package/src/assets/icons/index.tsx +8 -0
  564. package/src/assets/icons/ocr.svg +11 -0
  565. package/src/assets/icons/takePhoto.svg +20 -0
  566. package/src/assets/icons/tima_small.svg +12 -23
  567. package/src/assets/svgs/back.svg +4 -0
  568. package/src/assets/svgs/complete.svg +27 -0
  569. package/src/assets/svgs/currentStep.svg +28 -0
  570. package/src/assets/svgs/edit.svg +42 -0
  571. package/src/assets/svgs/edit_success.svg +15 -0
  572. package/src/assets/svgs/ekyc.svg +18 -0
  573. package/src/assets/svgs/ekyc_success.svg +6 -0
  574. package/src/assets/svgs/index.tsx +23 -0
  575. package/src/assets/svgs/nextStep.svg +21 -0
  576. package/src/assets/svgs/notify.svg +18 -0
  577. package/src/assets/svgs/orc_success.svg +11 -0
  578. package/src/assets/tts/1000009864.png +0 -0
  579. package/src/assets/tts/1000009872.png +0 -0
  580. package/src/assets/tts/1000011964.png +0 -0
  581. package/src/assets/tts/Banner.png +0 -0
  582. package/src/assets/tts/Frame 1000011947.png +0 -0
  583. package/src/assets/tts/Frame1000011946.png +0 -0
  584. package/src/assets/tts/Frame1000011953.png +0 -0
  585. package/src/assets/tts/back.png +0 -0
  586. package/src/assets/tts/front.png +0 -0
  587. package/src/assets/tts/otp.png +0 -0
  588. package/src/assets/tts/vehicleRegistration.png +0 -0
  589. package/src/assets/tts/vehicleStep.png +0 -0
  590. package/src/components/MHeader.tsx +1 -1
  591. package/src/components/MSelect.tsx +78 -0
  592. package/src/components/StepIndicator.tsx +85 -0
  593. package/src/components/select/index.tsx +19 -3
  594. package/src/index.tsx +3 -1
  595. package/src/navigation/primary-navigator.tsx +81 -1
  596. package/src/screens/camera/index.tsx +1 -1
  597. package/src/screens/eSign/Store.tsx +9 -2
  598. package/src/screens/eSign/index.tsx +4 -1
  599. package/src/screens/full-submit/index.tsx +7 -7
  600. package/src/screens/full-submit/update-document.tsx +1 -1
  601. package/src/screens/full-submit/update-info.tsx +1 -1
  602. package/src/screens/home/index.tsx +1809 -1400
  603. package/src/screens/liveness/LivenessStore.tsx +87 -1
  604. package/src/screens/liveness-v2/index.tsx +36 -23
  605. package/src/screens/mrz-scanner/index.tsx +2 -2
  606. package/src/screens/register/index.tsx +3 -1
  607. package/src/screens/toan-trinh-so/LoanInterestRate.tsx +373 -0
  608. package/src/screens/toan-trinh-so/OCR.tsx +831 -0
  609. package/src/screens/toan-trinh-so/RegisterCamera.tsx +467 -0
  610. package/src/screens/toan-trinh-so/ReviewInformation.tsx +1007 -0
  611. package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +791 -0
  612. package/src/screens/toan-trinh-so/ReviewLoan.tsx +1200 -0
  613. package/src/screens/toan-trinh-so/TTSNationalIDBack.tsx +242 -0
  614. package/src/screens/toan-trinh-so/TTSNationalIDFront.tsx +247 -0
  615. package/src/screens/toan-trinh-so/TTSOTP.tsx +356 -0
  616. package/src/screens/toan-trinh-so/TTSSelfie.tsx +267 -0
  617. package/src/screens/toan-trinh-so/TTSSignLoan.tsx +143 -0
  618. package/src/screens/toan-trinh-so/VehicleCamera.tsx +477 -0
  619. package/src/screens/toan-trinh-so/VehicleRegistration.tsx +197 -0
  620. package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +239 -0
  621. package/src/screens/toan-trinh-so/VehicleRegistrationFront.tsx +240 -0
  622. package/src/screens/toan-trinh-so/store.ts +237 -0
  623. package/src/services/api/api-config.ts +2 -2
  624. package/src/services/api/api.ts +235 -0
  625. package/src/utils/index.tsx +67 -45
  626. package/src/utils/storage/storage.ts +4 -0
@@ -0,0 +1,791 @@
1
+ //@ts-nocheck
2
+ import React, { useEffect, useRef, useState } from 'react';
3
+ import {
4
+ Alert,
5
+ ScrollView,
6
+ TextInput,
7
+ TextStyle,
8
+ TouchableOpacity,
9
+ View,
10
+ ViewStyle,
11
+ } from 'react-native';
12
+ import MHeader from '../../components/MHeader';
13
+ import { CommonActions, useNavigation } from '@react-navigation/native';
14
+ import { commonStyles } from '../CommonStyles';
15
+ import StepIndicator from '../../components/StepIndicator';
16
+ import { IconBack } from '../../assets/svgs';
17
+ import { MText } from '../../components/MText';
18
+ import { Formik } from 'formik';
19
+ import { DropDown2 } from '../../assets/icons';
20
+ import ttsStore from './store';
21
+ import { ScreenNames } from '../../navigation';
22
+ import KeyboardSpacer from '../../components/keyboardspace';
23
+ import MButton from '../../components/MButton';
24
+ import LinearGradient from 'react-native-linear-gradient';
25
+ import { formatMoney } from '../../utils';
26
+ import { Api } from '../../services/api';
27
+ import Loading from '../../components/Loading';
28
+ import * as yup from 'yup';
29
+
30
+ export default function ReviewInformationOther(props) {
31
+ const navigation = useNavigation();
32
+ const [isLoading, setIsLoading] = useState(false);
33
+ const formRef = useRef();
34
+
35
+ const getData = async () => {
36
+ try {
37
+ setIsLoading(true);
38
+ const response = await Api.getInstance().getInfoJob(
39
+ props.route?.params?.loan?.id
40
+ );
41
+ setIsLoading(false);
42
+ if (response.kind === 'ok') {
43
+ if (response.data?.meta.errorCode === 200) {
44
+ formRef.current.setFieldValue(
45
+ 'jobId',
46
+ response?.data?.data?.jobId ?? null
47
+ );
48
+ formRef.current.setFieldValue(
49
+ 'jobName',
50
+ response?.data?.data?.jobName ?? ''
51
+ );
52
+ formRef.current.setFieldValue(
53
+ 'totalIncome',
54
+ response?.data?.data?.totalIncome ?? ''
55
+ );
56
+ formRef.current.setFieldValue(
57
+ 'companyName',
58
+ response?.data?.data?.companyName ?? ''
59
+ );
60
+ formRef.current.setFieldValue(
61
+ 'description',
62
+ response?.data?.data?.description ?? ''
63
+ );
64
+ formRef.current.setFieldValue(
65
+ 'provinceId',
66
+ response?.data?.data?.provinceId ?? null
67
+ );
68
+ formRef.current.setFieldValue(
69
+ 'provinceName',
70
+ response?.data?.data?.provinceName ?? ''
71
+ );
72
+ formRef.current.setFieldValue(
73
+ 'districtId',
74
+ response?.data?.data?.districtId ?? null
75
+ );
76
+ formRef.current.setFieldValue(
77
+ 'districtName',
78
+ response?.data?.data?.districtName ?? ''
79
+ );
80
+ formRef.current.setFieldValue(
81
+ 'wardId',
82
+ response?.data?.data?.wardId ?? null
83
+ );
84
+ formRef.current.setFieldValue(
85
+ 'wardName',
86
+ response?.data?.data?.wardName ?? ''
87
+ );
88
+ formRef.current.setFieldValue(
89
+ 'address',
90
+ response?.data?.data?.address ?? ''
91
+ );
92
+ formRef.current.setFieldValue(
93
+ 'fullName1',
94
+ response?.data?.data?.listRelationships[0]?.fullName ?? ''
95
+ );
96
+ formRef.current.setFieldValue(
97
+ 'phone1',
98
+ response?.data?.data?.listRelationships[0]?.phone ?? ''
99
+ );
100
+
101
+ formRef.current.setFieldValue(
102
+ 'fullName2',
103
+ response?.data?.data?.listRelationships[1]?.fullName ?? ''
104
+ );
105
+ formRef.current.setFieldValue(
106
+ 'phone2',
107
+ response?.data?.data?.listRelationships[1]?.phone ?? ''
108
+ );
109
+
110
+ if (response?.data?.data?.provinceId) {
111
+ ttsStore.getDistrict(response?.data?.data?.provinceId);
112
+ }
113
+ if (response?.data?.data?.districtId) {
114
+ ttsStore.getWard(response?.data?.data?.districtId);
115
+ }
116
+
117
+ if (response.data?.data?.listRelationships[0]?.relationshipType) {
118
+ let r = ttsStore.listRelationship.find(
119
+ (x) =>
120
+ x.id ===
121
+ response.data?.data?.listRelationships[0]?.relationshipType
122
+ );
123
+ formRef.current.setFieldValue('relationshipType1', r);
124
+ }
125
+ if (response.data?.data?.listRelationships[1]?.relationshipType) {
126
+ let r = ttsStore.listRelationship.find(
127
+ (x) =>
128
+ x.id ===
129
+ response.data?.data?.listRelationships[1]?.relationshipType
130
+ );
131
+ formRef.current.setFieldValue('relationshipType2', r);
132
+ }
133
+ } else {
134
+ }
135
+ }
136
+ } catch (error) {
137
+ setIsLoading(false);
138
+ console.log(error);
139
+ }
140
+ };
141
+
142
+ useEffect(() => {
143
+ getData();
144
+ }, []);
145
+
146
+ const onSubmit = async (values) => {
147
+ try {
148
+ setIsLoading(true);
149
+ const body = {
150
+ loanBriefId: props.route?.params?.loan?.id,
151
+ jobId: values.jobId,
152
+ totalIncome: Number(values.totalIncome),
153
+ companyName: values.companyName,
154
+ description: values.description,
155
+ provinceId: values.provinceId,
156
+ districtId: values.districtId,
157
+ wardId: values.wardId,
158
+ address: values?.address,
159
+ listRelationships: [
160
+ {
161
+ relationshipType: values.relationshipType1?.id,
162
+ fullName: values.fullName1,
163
+ phone: values.phone1,
164
+ },
165
+ {
166
+ relationshipType: values.relationshipType2?.id,
167
+ fullName: values.fullName2,
168
+ phone: values.phone2,
169
+ },
170
+ ],
171
+ };
172
+
173
+ const response = await Api.getInstance().updateInfoJob(body);
174
+ setIsLoading(false);
175
+ if (response.kind === 'ok') {
176
+ if (response.data?.meta?.errorCode === 200) {
177
+ Alert.alert('Thông báo', 'Cập nhật thông tin thành công', [
178
+ {
179
+ text: 'Đồng ý',
180
+ onPress: () => {
181
+ navigation.dispatch(
182
+ CommonActions.reset({
183
+ index: 1,
184
+ routes: [{ name: ScreenNames.Main }],
185
+ })
186
+ );
187
+ },
188
+ },
189
+ ]);
190
+ } else {
191
+ Alert.alert('Thông báo', response.data?.meta?.errorMessage);
192
+ }
193
+ } else {
194
+ Alert.alert('Thông báo', 'Có lỗi xảy ra. Vui lòng thử lại sau');
195
+ }
196
+ } catch (error) {
197
+ setIsLoading(false);
198
+ console.log(error);
199
+ }
200
+ };
201
+
202
+ return (
203
+ <View style={{ flex: 1 }}>
204
+ <MHeader title="Vay nhanh 24/7" />
205
+ <View style={commonStyles.fill}>
206
+ <View style={$h} />
207
+ <View style={$bg}>
208
+ <View
209
+ style={{
210
+ paddingVertical: 10,
211
+ flexDirection: 'row',
212
+ alignItems: 'center',
213
+ paddingHorizontal: 16,
214
+ }}
215
+ >
216
+ <TouchableOpacity
217
+ style={{
218
+ zIndex: 1000,
219
+ }}
220
+ onPress={() => {
221
+ navigation.goBack();
222
+ }}
223
+ >
224
+ <IconBack />
225
+ </TouchableOpacity>
226
+ <MText style={$title}>Thông tin chi tiết</MText>
227
+ </View>
228
+ <StepIndicator steps={3} currentStep={2} />
229
+ <Formik
230
+ onSubmit={onSubmit}
231
+ validationSchema={yup.object().shape({
232
+ jobName: yup.string().required('Vui lòng chọn nghế nghiệp'),
233
+ totalIncome: yup.string().required('Vui lòng nhập thu nhập'),
234
+ companyName: yup.string().required('Vui lòng nhập tên công ty'),
235
+ description: yup.string().required('Vui lòng nhập vị trí'),
236
+ provinceName: yup.string().required('Vui lòng nhập tỉnh/thành'),
237
+ districtName: yup.string().required('Vui lòng nhập quận/huyện'),
238
+ wardName: yup.string().required('Vui lòng nhập phường/xã'),
239
+ address: yup.string().required('Vui lòng nhập địa chỉ'),
240
+ fullName1: yup.string().required('Vui lòng nhập tên'),
241
+ phone1: yup.string().required('Vui lòng nhập số điện thoại'),
242
+ relationshipType1: yup
243
+ .object()
244
+ .required('Vui lòng chọn')
245
+ .nullable(),
246
+ fullName2: yup.string().required('Vui lòng nhập tên'),
247
+ phone2: yup.string().required('Vui lòng nhập số điện thoại'),
248
+ relationshipType2: yup
249
+ .object()
250
+ .required('Vui lòng chọn')
251
+ .nullable(),
252
+ })}
253
+ innerRef={formRef}
254
+ initialValues={{
255
+ jobId: null,
256
+ jobName: '',
257
+ totalIncome: '',
258
+ companyName: '',
259
+ description: '',
260
+ provinceId: null,
261
+ provinceName: '',
262
+ districtId: null,
263
+ districtName: '',
264
+ wardId: null,
265
+ wardName: '',
266
+ address: '',
267
+ fullName1: '',
268
+ phone1: '',
269
+ relationshipType1: null,
270
+ fullName2: '',
271
+ phone2: '',
272
+ relationshipType2: null,
273
+ }}
274
+ >
275
+ {({
276
+ values,
277
+ setFieldValue,
278
+ handleSubmit,
279
+ errors,
280
+ handleChange,
281
+ }) => (
282
+ <ScrollView
283
+ style={[commonStyles.fill, { paddingHorizontal: 16 }]}
284
+ >
285
+ <MText style={$title2}>3.1 Thông tin công việc</MText>
286
+ <View style={$row}>
287
+ <View style={{ flex: 1 }}>
288
+ <MText style={$label}>Nghề nghiệp</MText>
289
+ <TouchableOpacity style={$select}>
290
+ <MText
291
+ numberOfLines={1}
292
+ style={{
293
+ color: '#333333',
294
+ fontSize: 16,
295
+ fontWeight: '500',
296
+ flex: 1,
297
+ fontFamily: 'Be Vietnam Pro Medium',
298
+ }}
299
+ >
300
+ {values.jobName}
301
+ </MText>
302
+ <DropDown2 />
303
+ </TouchableOpacity>
304
+ {errors && errors.jobName && (
305
+ <MText style={$error}>{errors.jobName}</MText>
306
+ )}
307
+ </View>
308
+ <View style={{ flex: 1 }}>
309
+ <MText style={$label}>Thu nhập hàng tháng</MText>
310
+ <TextInput
311
+ keyboardType="number-pad"
312
+ numberOfLines={1}
313
+ style={[
314
+ $textInput,
315
+ {
316
+ color: '#333333',
317
+ fontSize: 16,
318
+ fontWeight: '500',
319
+ },
320
+ ]}
321
+ value={formatMoney(values.totalIncome)}
322
+ onChangeText={(text) => {
323
+ setFieldValue('totalIncome', text.replaceAll(',', ''));
324
+ }}
325
+ />
326
+ {errors && errors.totalIncome && (
327
+ <MText style={$error}>{errors.totalIncome}</MText>
328
+ )}
329
+ </View>
330
+ </View>
331
+
332
+ <MText style={$label}>Tên công ty</MText>
333
+ <TextInput
334
+ numberOfLines={1}
335
+ style={[
336
+ $textInput,
337
+ {
338
+ color: '#333333',
339
+ fontSize: 16,
340
+ fontWeight: '500',
341
+ },
342
+ ]}
343
+ value={values.companyName}
344
+ onChangeText={handleChange('companyName')}
345
+ />
346
+ {errors && errors.companyName && (
347
+ <MText style={$error}>{errors.companyName}</MText>
348
+ )}
349
+
350
+ <MText style={[$label, { marginTop: 16 }]}>
351
+ Vị trí/ Cấp bậc/ Chức vụ
352
+ </MText>
353
+ <TextInput
354
+ numberOfLines={1}
355
+ style={[
356
+ $textInput,
357
+ {
358
+ color: '#333333',
359
+ fontSize: 16,
360
+ fontWeight: '500',
361
+ },
362
+ ]}
363
+ value={values.description}
364
+ onChangeText={handleChange('description')}
365
+ />
366
+ {errors && errors.description && (
367
+ <MText style={$error}>{errors.description}</MText>
368
+ )}
369
+ <MText
370
+ style={{
371
+ fontWeight: 'bold',
372
+ marginTop: 16,
373
+ color: '#333333',
374
+ fontSize: 14,
375
+ }}
376
+ >
377
+ Địa chỉ nơi làm việc
378
+ </MText>
379
+ <View style={[$row, { marginTop: 10 }]}>
380
+ <View style={[commonStyles.fill]}>
381
+ <MText style={$label}>Tỉnh/ Thành phố</MText>
382
+ <TouchableOpacity
383
+ style={$select}
384
+ onPress={() => {
385
+ navigation.push(ScreenNames.CommonSelect, {
386
+ title: 'Tỉnh/ Thành phố',
387
+ data: ttsStore.listProvince,
388
+ callback: (item) => {
389
+ setFieldValue('provinceId', item.id);
390
+ setFieldValue('provinceName', item.name);
391
+ setFieldValue('districtId', null);
392
+ setFieldValue('wardId', null);
393
+ setFieldValue('districtName', '');
394
+ setFieldValue('wardName', '');
395
+ ttsStore.getDistrict(item.id);
396
+ },
397
+ });
398
+ }}
399
+ >
400
+ <MText
401
+ numberOfLines={1}
402
+ style={{
403
+ color: '#333333',
404
+ fontSize: 16,
405
+ fontWeight: '500',
406
+ flex: 1,
407
+ fontFamily: 'Be Vietnam Pro Medium',
408
+ }}
409
+ >
410
+ {values.provinceName}
411
+ </MText>
412
+ <DropDown2 />
413
+ </TouchableOpacity>
414
+ {errors && errors.provinceName && (
415
+ <MText style={$error}>{errors.provinceName}</MText>
416
+ )}
417
+ </View>
418
+ <View style={[commonStyles.fill]}>
419
+ <MText style={$label}>Quận/ Huyện</MText>
420
+ <TouchableOpacity
421
+ style={$select}
422
+ onPress={() => {
423
+ navigation.push(ScreenNames.CommonSelect, {
424
+ title: 'Phường/ Xã',
425
+ data: ttsStore.listDistrict,
426
+ callback: (item) => {
427
+ setFieldValue('districtId', item.id);
428
+ setFieldValue('districtName', item.name);
429
+ setFieldValue('wardId', null);
430
+ setFieldValue('wardName', '');
431
+ ttsStore.getWard(item.id);
432
+ },
433
+ });
434
+ }}
435
+ >
436
+ <MText
437
+ numberOfLines={1}
438
+ style={{
439
+ color: '#333333',
440
+ fontSize: 16,
441
+ fontWeight: '500',
442
+ flex: 1,
443
+ fontFamily: 'Be Vietnam Pro Medium',
444
+ }}
445
+ >
446
+ {values.districtName}
447
+ </MText>
448
+ <DropDown2 />
449
+ </TouchableOpacity>
450
+ {errors && errors.districtName && (
451
+ <MText style={$error}>{errors.districtName}</MText>
452
+ )}
453
+ </View>
454
+ </View>
455
+ <MText style={[$label]}>Phường/ Xã</MText>
456
+ <TouchableOpacity
457
+ style={$select}
458
+ onPress={() => {
459
+ navigation.push(ScreenNames.CommonSelect, {
460
+ title: 'Phường/ Xã',
461
+ data: ttsStore.listWard,
462
+ callback: (item) => {
463
+ setFieldValue('wardId', item.id);
464
+ setFieldValue('wardName', item.name);
465
+ },
466
+ });
467
+ }}
468
+ >
469
+ <MText
470
+ numberOfLines={1}
471
+ style={{
472
+ color: '#333333',
473
+ fontSize: 16,
474
+ fontWeight: '500',
475
+ flex: 1,
476
+ fontFamily: 'Be Vietnam Pro Medium',
477
+ }}
478
+ >
479
+ {values.wardName}
480
+ </MText>
481
+ <DropDown2 />
482
+ </TouchableOpacity>
483
+ {errors && errors.wardName && (
484
+ <MText style={$error}>{errors.wardName}</MText>
485
+ )}
486
+ <MText style={[$label, { marginTop: 16 }]}>
487
+ Địa chỉ chi tiết
488
+ </MText>
489
+ <TextInput
490
+ numberOfLines={1}
491
+ style={[
492
+ $textInput,
493
+ {
494
+ color: '#333333',
495
+ fontSize: 16,
496
+ fontWeight: '500',
497
+ },
498
+ ]}
499
+ value={values.address}
500
+ onChangeText={handleChange('address')}
501
+ />
502
+ {errors && errors.address && (
503
+ <MText style={$error}>{errors.address}</MText>
504
+ )}
505
+
506
+ <MText style={[$title2, { marginTop: 16 }]}>
507
+ 3.2 Tham chiếu
508
+ </MText>
509
+
510
+ <MText
511
+ style={{
512
+ color: '#999999',
513
+ }}
514
+ >
515
+ a. Người tham chiếu thứ nhất
516
+ </MText>
517
+ <View style={[$row, { marginTop: 10 }]}>
518
+ <View style={{ flex: 1 }}>
519
+ <MText style={$label}>Mối quan hệ</MText>
520
+ <TouchableOpacity
521
+ style={$select}
522
+ onPress={() => {
523
+ navigation.push(ScreenNames.MSelect, {
524
+ title: 'Mối quan hệ',
525
+ data: ttsStore.listRelationship,
526
+ callback: (item) => {
527
+ setFieldValue('relationshipType1', item);
528
+ },
529
+ });
530
+ }}
531
+ >
532
+ <MText
533
+ numberOfLines={1}
534
+ style={{
535
+ color: '#333333',
536
+ fontSize: 16,
537
+ fontWeight: '500',
538
+ flex: 1,
539
+ fontFamily: 'Be Vietnam Pro Medium',
540
+ }}
541
+ >
542
+ {values.relationshipType1?.name}
543
+ </MText>
544
+ <DropDown2 />
545
+ </TouchableOpacity>
546
+ {errors && errors.relationshipType1 && (
547
+ <MText style={$error}>{errors.relationshipType1}</MText>
548
+ )}
549
+ </View>
550
+ <View style={{ flex: 1 }}>
551
+ <MText style={$label}>Số điện thoại</MText>
552
+ <TextInput
553
+ keyboardType="number-pad"
554
+ numberOfLines={1}
555
+ style={[
556
+ $textInput,
557
+ {
558
+ color: '#333333',
559
+ fontSize: 16,
560
+ fontWeight: '500',
561
+ },
562
+ ]}
563
+ value={values.phone1}
564
+ onChangeText={handleChange('phone1')}
565
+ />
566
+ {errors && errors.phone1 && (
567
+ <MText style={$error}>{errors.phone1}</MText>
568
+ )}
569
+ </View>
570
+ </View>
571
+ <MText style={$label}>Họ và tên</MText>
572
+ <TextInput
573
+ numberOfLines={1}
574
+ style={[
575
+ $textInput,
576
+ {
577
+ color: '#333333',
578
+ fontSize: 16,
579
+ fontWeight: '500',
580
+ },
581
+ ]}
582
+ value={values.fullName1}
583
+ onChangeText={handleChange('fullName1')}
584
+ />
585
+ {errors && errors.fullName1 && (
586
+ <MText style={$error}>{errors.fullName1}</MText>
587
+ )}
588
+ <MText
589
+ ellipsizeMode="clip"
590
+ numberOfLines={1}
591
+ style={{
592
+ marginVertical: 10,
593
+ flex: 1,
594
+ color: '#D1D1D6',
595
+ textAlign: 'center',
596
+ }}
597
+ >
598
+ --------------------------------------------------------------------------------------------------------
599
+ </MText>
600
+ <MText
601
+ style={{
602
+ color: '#999999',
603
+ }}
604
+ >
605
+ b. Người tham chiếu thứ hai
606
+ </MText>
607
+ <View style={[$row, { marginTop: 10 }]}>
608
+ <View style={{ flex: 1 }}>
609
+ <MText style={$label}>Mối quan hệ</MText>
610
+
611
+ <TouchableOpacity
612
+ style={$select}
613
+ onPress={() => {
614
+ navigation.push(ScreenNames.MSelect, {
615
+ title: 'Mối quan hệ',
616
+ data: ttsStore.listRelationship,
617
+ callback: (item) => {
618
+ setFieldValue('relationshipType2', item);
619
+ },
620
+ });
621
+ }}
622
+ >
623
+ <MText
624
+ numberOfLines={1}
625
+ style={{
626
+ color: '#333333',
627
+ fontSize: 16,
628
+ fontWeight: '500',
629
+ flex: 1,
630
+ fontFamily: 'Be Vietnam Pro Medium',
631
+ }}
632
+ >
633
+ {values.relationshipType2?.name}
634
+ </MText>
635
+ <DropDown2 />
636
+ </TouchableOpacity>
637
+ {errors && errors.relationshipType2 && (
638
+ <MText style={$error}>{errors.relationshipType2}</MText>
639
+ )}
640
+ </View>
641
+ <View style={{ flex: 1 }}>
642
+ <MText style={$label}>Số điện thoại</MText>
643
+ <TextInput
644
+ keyboardType="number-pad"
645
+ numberOfLines={1}
646
+ style={[
647
+ $textInput,
648
+ {
649
+ color: '#333333',
650
+ fontSize: 16,
651
+ fontWeight: '500',
652
+ },
653
+ ]}
654
+ value={values.phone2}
655
+ onChangeText={handleChange('phone2')}
656
+ />
657
+ {errors && errors.phone2 && (
658
+ <MText style={$error}>{errors.phone2}</MText>
659
+ )}
660
+ </View>
661
+ </View>
662
+ <MText style={$label}>Họ và tên</MText>
663
+ <TextInput
664
+ numberOfLines={1}
665
+ style={[
666
+ $textInput,
667
+ {
668
+ color: '#333333',
669
+ fontSize: 16,
670
+ fontWeight: '500',
671
+ },
672
+ ]}
673
+ value={values.fullName2}
674
+ onChangeText={handleChange('fullName2')}
675
+ />
676
+ {errors && errors.fullName2 && (
677
+ <MText style={$error}>{errors.fullName2}</MText>
678
+ )}
679
+
680
+ <MButton
681
+ onPress={() => {
682
+ handleSubmit();
683
+ }}
684
+ style={{
685
+ marginVertical: 24,
686
+ }}
687
+ >
688
+ <LinearGradient
689
+ start={{ x: 1, y: 0 }}
690
+ end={{ x: 0, y: 1 }}
691
+ style={{
692
+ height: 40,
693
+ marginVertical: 16,
694
+ borderRadius: 30,
695
+ alignItems: 'center',
696
+ justifyContent: 'center',
697
+ }}
698
+ colors={['#FF7A00', '#EF4123']}
699
+ >
700
+ <MText
701
+ style={{
702
+ color: 'white',
703
+ fontSize: 16,
704
+ }}
705
+ >
706
+ Xác nhận
707
+ </MText>
708
+ </LinearGradient>
709
+ </MButton>
710
+
711
+ <KeyboardSpacer />
712
+ </ScrollView>
713
+ )}
714
+ </Formik>
715
+ </View>
716
+ </View>
717
+ <Loading isLoading={isLoading} />
718
+ </View>
719
+ );
720
+ }
721
+
722
+ const $select: ViewStyle = {
723
+ flexDirection: 'row',
724
+ height: 40,
725
+ alignItems: 'center',
726
+ paddingHorizontal: 8,
727
+ borderWidth: 1,
728
+ borderRadius: 4,
729
+ borderColor: '#E0E0E0',
730
+ };
731
+
732
+ const $row: ViewStyle = {
733
+ flexDirection: 'row',
734
+ // alignItems: 'center',
735
+ marginBottom: 16,
736
+ gap: 16,
737
+ };
738
+
739
+ const $textInput: ViewStyle = {
740
+ borderWidth: 1,
741
+ borderRadius: 4,
742
+ borderColor: '#E0E0E0',
743
+ height: 40,
744
+ paddingHorizontal: 8,
745
+ fontFamily: 'Be Vietnam Pro Medium',
746
+ };
747
+
748
+ const $label: TextStyle = {
749
+ fontSize: 14,
750
+ color: '#333333',
751
+ paddingBottom: 5,
752
+ };
753
+
754
+ const $title2: TextStyle = {
755
+ fontSize: 16,
756
+ fontWeight: 'bold',
757
+ color: '#333333',
758
+ paddingBottom: 10,
759
+ marginTop: 6,
760
+ };
761
+ const $title: TextStyle = {
762
+ fontSize: 16,
763
+ fontWeight: 'bold',
764
+ color: '#333333',
765
+ position: 'absolute',
766
+ left: 0,
767
+ right: 0,
768
+ textAlign: 'center',
769
+ };
770
+ const $h: ViewStyle = {
771
+ backgroundColor: '#EF592E',
772
+ position: 'absolute',
773
+ height: 30,
774
+ width: '100%',
775
+ };
776
+
777
+ const $bg: ViewStyle = {
778
+ borderTopLeftRadius: 30,
779
+ borderTopRightRadius: 30,
780
+ backgroundColor: 'white',
781
+ flex: 1,
782
+ };
783
+
784
+ const $error: TextStyle = {
785
+ color: '#EB5757',
786
+ fontSize: 14,
787
+ fontStyle: 'italic',
788
+ fontFamily: 'Be Vietnam Pro Thin',
789
+ fontWeight: '300',
790
+ marginTop: 5,
791
+ };