@ha_tecno/live-id-sdk 1.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (429) hide show
  1. package/android/build.gradle +4 -0
  2. package/lib/commonjs/components/{WaitingForResult → CameraConfigInfo}/index.js +9 -11
  3. package/lib/commonjs/components/CameraConfigInfo/index.js.map +1 -0
  4. package/lib/commonjs/components/CameraConfigInfo/styles.js +20 -0
  5. package/lib/commonjs/components/CameraConfigInfo/styles.js.map +1 -0
  6. package/lib/commonjs/components/CaptureButton/index.js +88 -0
  7. package/lib/commonjs/components/CaptureButton/index.js.map +1 -0
  8. package/lib/commonjs/components/CaptureButton/styles.js +22 -0
  9. package/lib/commonjs/components/CaptureButton/styles.js.map +1 -0
  10. package/lib/commonjs/components/Gabarito/index.js +2 -2
  11. package/lib/commonjs/components/Gabarito/index.js.map +1 -1
  12. package/lib/commonjs/components/Gabarito/styles.js +10 -11
  13. package/lib/commonjs/components/Gabarito/styles.js.map +1 -1
  14. package/lib/commonjs/components/HelpRegister/index.js +51 -0
  15. package/lib/commonjs/components/HelpRegister/index.js.map +1 -0
  16. package/lib/commonjs/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/styles.js +17 -20
  17. package/lib/commonjs/components/HelpRegister/styles.js.map +1 -0
  18. package/lib/commonjs/components/Toast/Toast.js +12 -12
  19. package/lib/commonjs/components/Toast/Toast.js.map +1 -1
  20. package/lib/commonjs/components/deviceNotFound/deviceNotFound.js +27 -0
  21. package/lib/commonjs/components/deviceNotFound/deviceNotFound.js.map +1 -0
  22. package/lib/commonjs/components/deviceNotFound/styles.js +36 -0
  23. package/lib/commonjs/components/deviceNotFound/styles.js.map +1 -0
  24. package/lib/commonjs/components/icon/icon.js +22 -0
  25. package/lib/commonjs/components/icon/icon.js.map +1 -0
  26. package/lib/commonjs/components/index.js +56 -0
  27. package/lib/commonjs/components/index.js.map +1 -0
  28. package/lib/commonjs/components/modalMessage/modalMessage.js +63 -0
  29. package/lib/commonjs/components/modalMessage/modalMessage.js.map +1 -0
  30. package/lib/commonjs/components/modalMessage/styles.js +51 -0
  31. package/lib/commonjs/components/modalMessage/styles.js.map +1 -0
  32. package/lib/commonjs/components/recordButton/recordButton.js +83 -0
  33. package/lib/commonjs/components/recordButton/recordButton.js.map +1 -0
  34. package/lib/commonjs/components/recordButton/styles.js +21 -0
  35. package/lib/commonjs/components/recordButton/styles.js.map +1 -0
  36. package/lib/commonjs/index.js +9 -11
  37. package/lib/commonjs/index.js.map +1 -1
  38. package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js +29 -29
  39. package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js.map +1 -1
  40. package/lib/commonjs/screens/FingerAuth/FingerAuth.js +128 -0
  41. package/lib/commonjs/screens/FingerAuth/FingerAuth.js.map +1 -0
  42. package/lib/commonjs/screens/FingerAuth/styles.js +35 -0
  43. package/lib/commonjs/screens/FingerAuth/styles.js.map +1 -0
  44. package/lib/commonjs/screens/FingerRegister/index.js +136 -0
  45. package/lib/commonjs/screens/FingerRegister/index.js.map +1 -0
  46. package/lib/commonjs/screens/FingerRegister/styles.js +35 -0
  47. package/lib/commonjs/screens/FingerRegister/styles.js.map +1 -0
  48. package/lib/commonjs/screens/LifeCertificate/index.js +145 -0
  49. package/lib/commonjs/screens/LifeCertificate/index.js.map +1 -0
  50. package/lib/commonjs/screens/LifeCertificate/styles.js +27 -0
  51. package/lib/commonjs/screens/LifeCertificate/styles.js.map +1 -0
  52. package/lib/commonjs/screens/index.js +28 -0
  53. package/lib/commonjs/screens/index.js.map +1 -0
  54. package/lib/commonjs/services/index.js +35 -101
  55. package/lib/commonjs/services/index.js.map +1 -1
  56. package/lib/commonjs/services/services.js +134 -0
  57. package/lib/commonjs/services/services.js.map +1 -0
  58. package/lib/commonjs/services/types.js +2 -0
  59. package/lib/commonjs/{types/screen.js.map → services/types.js.map} +1 -1
  60. package/lib/commonjs/store/createSelectors.js +16 -0
  61. package/lib/commonjs/store/createSelectors.js.map +1 -0
  62. package/lib/commonjs/store/modules/fingerAuth/index.js +19 -0
  63. package/lib/commonjs/store/modules/fingerAuth/index.js.map +1 -0
  64. package/lib/commonjs/store/modules/fingerAuth/selectors.js +13 -0
  65. package/lib/commonjs/store/modules/fingerAuth/selectors.js.map +1 -0
  66. package/lib/commonjs/store/modules/fingerAuth/slice.js +92 -0
  67. package/lib/commonjs/store/modules/fingerAuth/slice.js.map +1 -0
  68. package/lib/commonjs/store/modules/fingerAuth/type.js +2 -0
  69. package/lib/commonjs/store/modules/fingerAuth/type.js.map +1 -0
  70. package/lib/commonjs/store/modules/fingerRegister/index.js +19 -0
  71. package/lib/commonjs/store/modules/fingerRegister/index.js.map +1 -0
  72. package/lib/commonjs/store/modules/fingerRegister/selectors.js +13 -0
  73. package/lib/commonjs/store/modules/fingerRegister/selectors.js.map +1 -0
  74. package/lib/commonjs/store/modules/fingerRegister/slice.js +101 -0
  75. package/lib/commonjs/store/modules/fingerRegister/slice.js.map +1 -0
  76. package/lib/commonjs/store/modules/fingerRegister/types.js +2 -0
  77. package/lib/commonjs/store/modules/fingerRegister/types.js.map +1 -0
  78. package/lib/commonjs/store/modules/lifeCertificate/index.js +19 -0
  79. package/lib/commonjs/store/modules/lifeCertificate/index.js.map +1 -0
  80. package/lib/commonjs/store/modules/lifeCertificate/selectors.js +13 -0
  81. package/lib/commonjs/store/modules/lifeCertificate/selectors.js.map +1 -0
  82. package/lib/commonjs/store/modules/lifeCertificate/slice.js +101 -0
  83. package/lib/commonjs/store/modules/lifeCertificate/slice.js.map +1 -0
  84. package/lib/commonjs/store/modules/lifeCertificate/types.js +6 -0
  85. package/lib/commonjs/store/modules/lifeCertificate/types.js.map +1 -0
  86. package/lib/commonjs/utils/file.js +2 -2
  87. package/lib/commonjs/utils/getConfigCamera.js +1 -1
  88. package/lib/commonjs/utils/getConfigCamera.js.map +1 -1
  89. package/lib/module/components/CameraConfigInfo/index.js +15 -0
  90. package/lib/module/components/CameraConfigInfo/index.js.map +1 -0
  91. package/lib/module/components/CameraConfigInfo/styles.js +14 -0
  92. package/lib/module/components/CameraConfigInfo/styles.js.map +1 -0
  93. package/lib/module/components/CaptureButton/index.js +79 -0
  94. package/lib/module/components/CaptureButton/index.js.map +1 -0
  95. package/lib/module/components/CaptureButton/styles.js +16 -0
  96. package/lib/module/components/CaptureButton/styles.js.map +1 -0
  97. package/lib/module/components/Gabarito/index.js +5 -4
  98. package/lib/module/components/Gabarito/index.js.map +1 -1
  99. package/lib/module/components/Gabarito/styles.js +11 -12
  100. package/lib/module/components/Gabarito/styles.js.map +1 -1
  101. package/lib/module/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/index.js +17 -15
  102. package/lib/module/components/HelpRegister/index.js.map +1 -0
  103. package/lib/module/components/HelpRegister/styles.js +53 -0
  104. package/lib/module/components/HelpRegister/styles.js.map +1 -0
  105. package/lib/module/components/Toast/Toast.js +14 -14
  106. package/lib/module/components/Toast/Toast.js.map +1 -1
  107. package/lib/module/components/deviceNotFound/deviceNotFound.js +20 -0
  108. package/lib/module/components/deviceNotFound/deviceNotFound.js.map +1 -0
  109. package/lib/module/components/deviceNotFound/styles.js +30 -0
  110. package/lib/module/components/deviceNotFound/styles.js.map +1 -0
  111. package/lib/module/components/icon/icon.js +15 -0
  112. package/lib/module/components/icon/icon.js.map +1 -0
  113. package/lib/module/components/index.js +9 -0
  114. package/lib/module/components/index.js.map +1 -0
  115. package/lib/module/components/modalMessage/modalMessage.js +54 -0
  116. package/lib/module/components/modalMessage/modalMessage.js.map +1 -0
  117. package/lib/module/components/modalMessage/styles.js +45 -0
  118. package/lib/module/components/modalMessage/styles.js.map +1 -0
  119. package/lib/module/components/recordButton/recordButton.js +74 -0
  120. package/lib/module/components/recordButton/recordButton.js.map +1 -0
  121. package/lib/module/components/recordButton/styles.js +15 -0
  122. package/lib/module/components/recordButton/styles.js.map +1 -0
  123. package/lib/module/index.js +4 -4
  124. package/lib/module/index.js.map +1 -1
  125. package/lib/module/screens/CadastroScreen/CadastroScreen.js +33 -33
  126. package/lib/module/screens/CadastroScreen/CadastroScreen.js.map +1 -1
  127. package/lib/module/screens/FingerAuth/FingerAuth.js +119 -0
  128. package/lib/module/screens/FingerAuth/FingerAuth.js.map +1 -0
  129. package/lib/module/screens/FingerAuth/styles.js +29 -0
  130. package/lib/module/screens/FingerAuth/styles.js.map +1 -0
  131. package/lib/module/screens/FingerRegister/index.js +127 -0
  132. package/lib/module/screens/FingerRegister/index.js.map +1 -0
  133. package/lib/module/screens/FingerRegister/styles.js +29 -0
  134. package/lib/module/screens/FingerRegister/styles.js.map +1 -0
  135. package/lib/module/screens/LifeCertificate/index.js +136 -0
  136. package/lib/module/screens/LifeCertificate/index.js.map +1 -0
  137. package/lib/module/screens/LifeCertificate/styles.js +21 -0
  138. package/lib/module/screens/LifeCertificate/styles.js.map +1 -0
  139. package/lib/module/screens/index.js +5 -0
  140. package/lib/module/screens/index.js.map +1 -0
  141. package/lib/module/services/index.js +9 -95
  142. package/lib/module/services/index.js.map +1 -1
  143. package/lib/module/services/services.js +123 -0
  144. package/lib/module/services/services.js.map +1 -0
  145. package/lib/module/services/types.js +2 -0
  146. package/lib/module/{types/screen.js.map → services/types.js.map} +1 -1
  147. package/lib/module/store/createSelectors.js +10 -0
  148. package/lib/module/store/createSelectors.js.map +1 -0
  149. package/lib/module/store/modules/fingerAuth/index.js +3 -0
  150. package/lib/module/store/modules/fingerAuth/index.js.map +1 -0
  151. package/lib/module/store/modules/fingerAuth/selectors.js +6 -0
  152. package/lib/module/store/modules/fingerAuth/selectors.js.map +1 -0
  153. package/lib/module/store/modules/fingerAuth/slice.js +86 -0
  154. package/lib/module/store/modules/fingerAuth/slice.js.map +1 -0
  155. package/lib/module/store/modules/fingerAuth/type.js +2 -0
  156. package/lib/module/store/modules/fingerAuth/type.js.map +1 -0
  157. package/lib/module/store/modules/fingerRegister/index.js +3 -0
  158. package/lib/module/store/modules/fingerRegister/index.js.map +1 -0
  159. package/lib/module/store/modules/fingerRegister/selectors.js +6 -0
  160. package/lib/module/store/modules/fingerRegister/selectors.js.map +1 -0
  161. package/lib/module/store/modules/fingerRegister/slice.js +95 -0
  162. package/lib/module/store/modules/fingerRegister/slice.js.map +1 -0
  163. package/lib/module/store/modules/fingerRegister/types.js +2 -0
  164. package/lib/module/store/modules/fingerRegister/types.js.map +1 -0
  165. package/lib/module/store/modules/lifeCertificate/index.js +3 -0
  166. package/lib/module/store/modules/lifeCertificate/index.js.map +1 -0
  167. package/lib/module/store/modules/lifeCertificate/selectors.js +6 -0
  168. package/lib/module/store/modules/lifeCertificate/selectors.js.map +1 -0
  169. package/lib/module/store/modules/lifeCertificate/slice.js +95 -0
  170. package/lib/module/store/modules/lifeCertificate/slice.js.map +1 -0
  171. package/lib/module/store/modules/lifeCertificate/types.js +2 -0
  172. package/lib/module/store/modules/lifeCertificate/types.js.map +1 -0
  173. package/lib/module/utils/file.js +3 -3
  174. package/lib/module/utils/getConfigCamera.js +4 -4
  175. package/lib/module/utils/getConfigCamera.js.map +1 -1
  176. package/lib/module/utils/index.js +1 -1
  177. package/lib/typescript/src/components/CameraConfigInfo/index.d.ts +8 -0
  178. package/lib/typescript/src/components/CameraConfigInfo/index.d.ts.map +1 -0
  179. package/lib/typescript/src/components/CameraConfigInfo/styles.d.ts +13 -0
  180. package/lib/typescript/src/components/CameraConfigInfo/styles.d.ts.map +1 -0
  181. package/lib/typescript/src/components/CaptureButton/index.d.ts +10 -0
  182. package/lib/typescript/src/components/CaptureButton/index.d.ts.map +1 -0
  183. package/lib/typescript/src/components/CaptureButton/styles.d.ts +15 -0
  184. package/lib/typescript/src/components/CaptureButton/styles.d.ts.map +1 -0
  185. package/lib/typescript/src/components/Gabarito/index.d.ts +2 -1
  186. package/lib/typescript/src/components/Gabarito/index.d.ts.map +1 -1
  187. package/lib/typescript/src/components/Gabarito/styles.d.ts +1 -2
  188. package/lib/typescript/src/components/Gabarito/styles.d.ts.map +1 -1
  189. package/lib/typescript/src/components/HelpRegister/index.d.ts +4 -0
  190. package/lib/typescript/src/components/HelpRegister/index.d.ts.map +1 -0
  191. package/lib/typescript/src/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/styles.d.ts +2 -5
  192. package/lib/typescript/src/components/HelpRegister/styles.d.ts.map +1 -0
  193. package/lib/typescript/src/components/Toast/Toast.d.ts +1 -1
  194. package/lib/typescript/src/components/Toast/Toast.d.ts.map +1 -1
  195. package/lib/typescript/src/components/deviceNotFound/deviceNotFound.d.ts +8 -0
  196. package/lib/typescript/src/components/deviceNotFound/deviceNotFound.d.ts.map +1 -0
  197. package/lib/typescript/src/components/deviceNotFound/styles.d.ts +29 -0
  198. package/lib/typescript/src/components/deviceNotFound/styles.d.ts.map +1 -0
  199. package/lib/typescript/src/components/icon/icon.d.ts +9 -0
  200. package/lib/typescript/src/components/icon/icon.d.ts.map +1 -0
  201. package/lib/typescript/src/components/index.d.ts +9 -0
  202. package/lib/typescript/src/components/index.d.ts.map +1 -0
  203. package/lib/typescript/src/components/modalMessage/modalMessage.d.ts +11 -0
  204. package/lib/typescript/src/components/modalMessage/modalMessage.d.ts.map +1 -0
  205. package/lib/typescript/src/components/modalMessage/styles.d.ts +44 -0
  206. package/lib/typescript/src/components/modalMessage/styles.d.ts.map +1 -0
  207. package/lib/typescript/src/components/recordButton/recordButton.d.ts +10 -0
  208. package/lib/typescript/src/components/recordButton/recordButton.d.ts.map +1 -0
  209. package/lib/typescript/src/components/recordButton/styles.d.ts +14 -0
  210. package/lib/typescript/src/components/recordButton/styles.d.ts.map +1 -0
  211. package/lib/typescript/src/index.d.ts +3 -4
  212. package/lib/typescript/src/index.d.ts.map +1 -1
  213. package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts +2 -4
  214. package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts.map +1 -1
  215. package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts +9 -0
  216. package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts.map +1 -0
  217. package/lib/typescript/src/screens/FingerAuth/styles.d.ts +25 -0
  218. package/lib/typescript/src/screens/FingerAuth/styles.d.ts.map +1 -0
  219. package/lib/typescript/src/screens/FingerRegister/index.d.ts +8 -0
  220. package/lib/typescript/src/screens/FingerRegister/index.d.ts.map +1 -0
  221. package/lib/typescript/src/screens/FingerRegister/styles.d.ts +25 -0
  222. package/lib/typescript/src/screens/FingerRegister/styles.d.ts.map +1 -0
  223. package/lib/typescript/src/screens/LifeCertificate/index.d.ts +7 -0
  224. package/lib/typescript/src/screens/LifeCertificate/index.d.ts.map +1 -0
  225. package/lib/typescript/src/{components/WaitingForResult → screens/LifeCertificate}/styles.d.ts +7 -11
  226. package/lib/typescript/src/screens/LifeCertificate/styles.d.ts.map +1 -0
  227. package/lib/typescript/src/screens/index.d.ts +5 -0
  228. package/lib/typescript/src/screens/index.d.ts.map +1 -0
  229. package/lib/typescript/src/services/index.d.ts +2 -17
  230. package/lib/typescript/src/services/index.d.ts.map +1 -1
  231. package/lib/typescript/src/services/services.d.ts +6 -0
  232. package/lib/typescript/src/services/services.d.ts.map +1 -0
  233. package/lib/typescript/src/services/types.d.ts +37 -0
  234. package/lib/typescript/src/services/types.d.ts.map +1 -0
  235. package/lib/typescript/src/store/createSelectors.d.ts +11 -0
  236. package/lib/typescript/src/store/createSelectors.d.ts.map +1 -0
  237. package/lib/typescript/src/store/modules/fingerAuth/index.d.ts +3 -0
  238. package/lib/typescript/src/store/modules/fingerAuth/index.d.ts.map +1 -0
  239. package/lib/typescript/src/store/modules/fingerAuth/selectors.d.ts +20 -0
  240. package/lib/typescript/src/store/modules/fingerAuth/selectors.d.ts.map +1 -0
  241. package/lib/typescript/src/store/modules/fingerAuth/slice.d.ts +4 -0
  242. package/lib/typescript/src/store/modules/fingerAuth/slice.d.ts.map +1 -0
  243. package/lib/typescript/src/store/modules/fingerAuth/type.d.ts +28 -0
  244. package/lib/typescript/src/store/modules/fingerAuth/type.d.ts.map +1 -0
  245. package/lib/typescript/src/store/modules/fingerRegister/index.d.ts +3 -0
  246. package/lib/typescript/src/store/modules/fingerRegister/index.d.ts.map +1 -0
  247. package/lib/typescript/src/store/modules/fingerRegister/selectors.d.ts +22 -0
  248. package/lib/typescript/src/store/modules/fingerRegister/selectors.d.ts.map +1 -0
  249. package/lib/typescript/src/store/modules/fingerRegister/slice.d.ts +4 -0
  250. package/lib/typescript/src/store/modules/fingerRegister/slice.d.ts.map +1 -0
  251. package/lib/typescript/src/store/modules/fingerRegister/types.d.ts +30 -0
  252. package/lib/typescript/src/store/modules/fingerRegister/types.d.ts.map +1 -0
  253. package/lib/typescript/src/store/modules/lifeCertificate/index.d.ts +3 -0
  254. package/lib/typescript/src/store/modules/lifeCertificate/index.d.ts.map +1 -0
  255. package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts +23 -0
  256. package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts.map +1 -0
  257. package/lib/typescript/src/store/modules/lifeCertificate/slice.d.ts +4 -0
  258. package/lib/typescript/src/store/modules/lifeCertificate/slice.d.ts.map +1 -0
  259. package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts +37 -0
  260. package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts.map +1 -0
  261. package/lib/typescript/src/utils/getConfigCamera.d.ts +1 -1
  262. package/lib/typescript/src/utils/getConfigCamera.d.ts.map +1 -1
  263. package/lib/typescript/src/utils/index.d.ts +1 -1
  264. package/package.json +24 -42
  265. package/src/components/CameraConfigInfo/index.tsx +20 -0
  266. package/src/components/CameraConfigInfo/styles.ts +14 -0
  267. package/src/components/CaptureButton/index.tsx +74 -0
  268. package/src/components/CaptureButton/styles.ts +16 -0
  269. package/src/components/Gabarito/index.tsx +6 -4
  270. package/src/components/Gabarito/styles.ts +13 -14
  271. package/src/components/HelpRegister/index.tsx +40 -0
  272. package/src/components/HelpRegister/styles.ts +54 -0
  273. package/src/components/Toast/Toast.tsx +18 -22
  274. package/src/components/deviceNotFound/deviceNotFound.tsx +23 -0
  275. package/src/components/deviceNotFound/styles.ts +30 -0
  276. package/src/components/icon/icon.tsx +14 -0
  277. package/src/components/index.ts +9 -0
  278. package/src/components/modalMessage/modalMessage.tsx +73 -0
  279. package/src/components/modalMessage/styles.ts +45 -0
  280. package/src/components/recordButton/recordButton.tsx +75 -0
  281. package/src/components/recordButton/styles.ts +15 -0
  282. package/src/index.tsx +5 -4
  283. package/src/screens/CadastroScreen/CadastroScreen.tsx +35 -52
  284. package/src/screens/FingerAuth/FingerAuth.tsx +121 -0
  285. package/src/screens/FingerAuth/styles.ts +28 -0
  286. package/src/screens/FingerRegister/index.tsx +139 -0
  287. package/src/screens/FingerRegister/styles.ts +28 -0
  288. package/src/screens/LifeCertificate/index.tsx +152 -0
  289. package/src/screens/LifeCertificate/styles.ts +21 -0
  290. package/src/screens/index.ts +5 -0
  291. package/src/services/index.ts +12 -113
  292. package/src/services/services.ts +129 -0
  293. package/src/services/types.ts +42 -0
  294. package/src/store/createSelectors.ts +15 -0
  295. package/src/store/modules/fingerAuth/index.ts +3 -0
  296. package/src/store/modules/fingerAuth/selectors.ts +7 -0
  297. package/src/store/modules/fingerAuth/slice.ts +91 -0
  298. package/src/store/modules/fingerAuth/type.ts +29 -0
  299. package/src/store/modules/fingerRegister/index.ts +3 -0
  300. package/src/store/modules/fingerRegister/selectors.ts +7 -0
  301. package/src/store/modules/fingerRegister/slice.ts +101 -0
  302. package/src/store/modules/fingerRegister/types.ts +30 -0
  303. package/src/store/modules/lifeCertificate/index.ts +3 -0
  304. package/src/store/modules/lifeCertificate/selectors.ts +7 -0
  305. package/src/store/modules/lifeCertificate/slice.ts +100 -0
  306. package/src/store/modules/lifeCertificate/types.ts +40 -0
  307. package/src/utils/file.ts +3 -3
  308. package/src/utils/getConfigCamera.ts +7 -12
  309. package/src/utils/index.ts +1 -1
  310. package/lib/commonjs/components/CameraConfigInfos/index.js +0 -21
  311. package/lib/commonjs/components/CameraConfigInfos/index.js.map +0 -1
  312. package/lib/commonjs/components/CameraConfigInfos/styles.js +0 -19
  313. package/lib/commonjs/components/CameraConfigInfos/styles.js.map +0 -1
  314. package/lib/commonjs/components/DeviceNullDisplay/index.js +0 -59
  315. package/lib/commonjs/components/DeviceNullDisplay/index.js.map +0 -1
  316. package/lib/commonjs/components/ErrorDisplay/index.js +0 -59
  317. package/lib/commonjs/components/ErrorDisplay/index.js.map +0 -1
  318. package/lib/commonjs/components/WaitingForResult/index.js.map +0 -1
  319. package/lib/commonjs/components/WaitingForResult/styles.js +0 -32
  320. package/lib/commonjs/components/WaitingForResult/styles.js.map +0 -1
  321. package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js +0 -49
  322. package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js.map +0 -1
  323. package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +0 -1
  324. package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js +0 -298
  325. package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js.map +0 -1
  326. package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js +0 -54
  327. package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js.map +0 -1
  328. package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js +0 -44
  329. package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +0 -1
  330. package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +0 -65
  331. package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +0 -1
  332. package/lib/commonjs/screens/CadastroFinger/index.js +0 -50
  333. package/lib/commonjs/screens/CadastroFinger/index.js.map +0 -1
  334. package/lib/commonjs/screens/ProvaVidas/index.js +0 -246
  335. package/lib/commonjs/screens/ProvaVidas/index.js.map +0 -1
  336. package/lib/commonjs/screens/ProvaVidas/styles.js +0 -93
  337. package/lib/commonjs/screens/ProvaVidas/styles.js.map +0 -1
  338. package/lib/commonjs/screens/ValidadeFinger/index.js +0 -216
  339. package/lib/commonjs/screens/ValidadeFinger/index.js.map +0 -1
  340. package/lib/commonjs/screens/ValidadeFinger/styles.js +0 -54
  341. package/lib/commonjs/screens/ValidadeFinger/styles.js.map +0 -1
  342. package/lib/commonjs/types/screen.js +0 -2
  343. package/lib/module/components/CameraConfigInfos/index.js +0 -13
  344. package/lib/module/components/CameraConfigInfos/index.js.map +0 -1
  345. package/lib/module/components/CameraConfigInfos/styles.js +0 -13
  346. package/lib/module/components/CameraConfigInfos/styles.js.map +0 -1
  347. package/lib/module/components/DeviceNullDisplay/index.js +0 -51
  348. package/lib/module/components/DeviceNullDisplay/index.js.map +0 -1
  349. package/lib/module/components/ErrorDisplay/index.js +0 -51
  350. package/lib/module/components/ErrorDisplay/index.js.map +0 -1
  351. package/lib/module/components/WaitingForResult/index.js +0 -17
  352. package/lib/module/components/WaitingForResult/index.js.map +0 -1
  353. package/lib/module/components/WaitingForResult/styles.js +0 -26
  354. package/lib/module/components/WaitingForResult/styles.js.map +0 -1
  355. package/lib/module/screens/CadastroFinger/components/AjudaCadastro/index.js.map +0 -1
  356. package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js +0 -56
  357. package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +0 -1
  358. package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js +0 -288
  359. package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js.map +0 -1
  360. package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js +0 -48
  361. package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js.map +0 -1
  362. package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js +0 -36
  363. package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +0 -1
  364. package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +0 -59
  365. package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +0 -1
  366. package/lib/module/screens/CadastroFinger/index.js +0 -42
  367. package/lib/module/screens/CadastroFinger/index.js.map +0 -1
  368. package/lib/module/screens/ProvaVidas/index.js +0 -239
  369. package/lib/module/screens/ProvaVidas/index.js.map +0 -1
  370. package/lib/module/screens/ProvaVidas/styles.js +0 -87
  371. package/lib/module/screens/ProvaVidas/styles.js.map +0 -1
  372. package/lib/module/screens/ValidadeFinger/index.js +0 -206
  373. package/lib/module/screens/ValidadeFinger/index.js.map +0 -1
  374. package/lib/module/screens/ValidadeFinger/styles.js +0 -48
  375. package/lib/module/screens/ValidadeFinger/styles.js.map +0 -1
  376. package/lib/module/types/screen.js +0 -2
  377. package/lib/typescript/src/components/CameraConfigInfos/index.d.ts +0 -9
  378. package/lib/typescript/src/components/CameraConfigInfos/index.d.ts.map +0 -1
  379. package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts +0 -11
  380. package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts.map +0 -1
  381. package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts +0 -11
  382. package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts.map +0 -1
  383. package/lib/typescript/src/components/ErrorDisplay/index.d.ts +0 -11
  384. package/lib/typescript/src/components/ErrorDisplay/index.d.ts.map +0 -1
  385. package/lib/typescript/src/components/WaitingForResult/index.d.ts +0 -7
  386. package/lib/typescript/src/components/WaitingForResult/index.d.ts.map +0 -1
  387. package/lib/typescript/src/components/WaitingForResult/styles.d.ts.map +0 -1
  388. package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts +0 -7
  389. package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts.map +0 -1
  390. package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/styles.d.ts.map +0 -1
  391. package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts +0 -16
  392. package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts.map +0 -1
  393. package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts +0 -44
  394. package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts.map +0 -1
  395. package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts +0 -12
  396. package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts.map +0 -1
  397. package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts +0 -54
  398. package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts.map +0 -1
  399. package/lib/typescript/src/screens/CadastroFinger/index.d.ts +0 -16
  400. package/lib/typescript/src/screens/CadastroFinger/index.d.ts.map +0 -1
  401. package/lib/typescript/src/screens/ProvaVidas/index.d.ts +0 -14
  402. package/lib/typescript/src/screens/ProvaVidas/index.d.ts.map +0 -1
  403. package/lib/typescript/src/screens/ProvaVidas/styles.d.ts +0 -85
  404. package/lib/typescript/src/screens/ProvaVidas/styles.d.ts.map +0 -1
  405. package/lib/typescript/src/screens/ValidadeFinger/index.d.ts +0 -14
  406. package/lib/typescript/src/screens/ValidadeFinger/index.d.ts.map +0 -1
  407. package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts +0 -44
  408. package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts.map +0 -1
  409. package/lib/typescript/src/types/screen.d.ts +0 -6
  410. package/lib/typescript/src/types/screen.d.ts.map +0 -1
  411. package/live-id-sdk.podspec +0 -41
  412. package/src/components/CameraConfigInfos/index.tsx +0 -25
  413. package/src/components/CameraConfigInfos/styles.ts +0 -13
  414. package/src/components/DeviceNullDisplay/index.tsx +0 -59
  415. package/src/components/ErrorDisplay/index.tsx +0 -60
  416. package/src/components/WaitingForResult/index.tsx +0 -22
  417. package/src/components/WaitingForResult/styles.ts +0 -27
  418. package/src/screens/CadastroFinger/components/AjudaCadastro/index.tsx +0 -49
  419. package/src/screens/CadastroFinger/components/AjudaCadastro/styles.ts +0 -56
  420. package/src/screens/CadastroFinger/components/CameraCadastro/index.tsx +0 -356
  421. package/src/screens/CadastroFinger/components/CameraCadastro/styles.ts +0 -47
  422. package/src/screens/CadastroFinger/components/ImageDisplayScreen/index.tsx +0 -45
  423. package/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.ts +0 -55
  424. package/src/screens/CadastroFinger/index.tsx +0 -56
  425. package/src/screens/ProvaVidas/index.tsx +0 -308
  426. package/src/screens/ProvaVidas/styles.ts +0 -99
  427. package/src/screens/ValidadeFinger/index.tsx +0 -263
  428. package/src/screens/ValidadeFinger/styles.ts +0 -47
  429. package/src/types/screen.ts +0 -5
@@ -13,7 +13,7 @@ const getConfigCamera = async serviceType => {
13
13
  try {
14
14
  const configs = await (0, _services.getConfigsApi)();
15
15
  const configsDeviceType = configs.filter(config => config.deviceType === deviceType && config.serviceType === serviceType);
16
- const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes('default'));
16
+ const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes("default"));
17
17
  return configDeviceModel;
18
18
  } catch (error) {
19
19
  console.error(error);
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_reactNativeDeviceInfo","_services","getConfigCamera","serviceType","deviceModel","getModel","deviceType","Platform","OS","configs","getConfigsApi","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console","_default","exports","default"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAiBA,MAAMG,eAAe,GAAG,MACtBC,WAAwB,IACW;EACnC,MAAMC,WAAW,GAAG,IAAAC,+BAAQ,EAAC,CAAC;EAC9B,MAAMC,UAAU,GAAGC,qBAAQ,CAACC,EAAE;EAC9B,IAAI;IACF,MAAMC,OAAO,GAAG,MAAM,IAAAC,uBAAa,EAAC,CAAC;IACrC,MAAMC,iBAAiB,GAAGF,OAAO,CAACG,MAAM,CACrCC,MAAM,IACLA,MAAM,CAACP,UAAU,KAAKA,UAAU,IAAIO,MAAM,CAACV,WAAW,KAAKA,WAC/D,CAAC;IACD,MAAMW,iBAAiB,GAAGH,iBAAiB,CAACI,IAAI,CAC7CF,MAAM,IACLA,MAAM,CAACG,YAAY,CAACC,QAAQ,CAACb,WAAW,CAAC,IACzCS,MAAM,CAACG,YAAY,CAACC,QAAQ,CAAC,SAAS,CAC1C,CAAC;IAED,OAAOH,iBAAiB;EAC1B,CAAC,CAAC,OAAOI,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;IACpB;IACA;EACF;AACF,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEapB,eAAe"}
1
+ {"version":3,"names":["_reactNative","require","_reactNativeDeviceInfo","_services","getConfigCamera","serviceType","deviceModel","getModel","deviceType","Platform","OS","configs","getConfigsApi","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console","_default","exports","default"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAiBA,MAAMG,eAAe,GAAG,MAAOC,WAAwB,IAAqC;EAC1F,MAAMC,WAAW,GAAG,IAAAC,+BAAQ,EAAC,CAAC;EAC9B,MAAMC,UAAU,GAAGC,qBAAQ,CAACC,EAAE;EAC9B,IAAI;IACF,MAAMC,OAAO,GAAG,MAAM,IAAAC,uBAAa,EAAC,CAAC;IACrC,MAAMC,iBAAiB,GAAGF,OAAO,CAACG,MAAM,CACrCC,MAAM,IAAKA,MAAM,CAACP,UAAU,KAAKA,UAAU,IAAIO,MAAM,CAACV,WAAW,KAAKA,WACzE,CAAC;IACD,MAAMW,iBAAiB,GAAGH,iBAAiB,CAACI,IAAI,CAC7CF,MAAM,IAAKA,MAAM,CAACG,YAAY,CAACC,QAAQ,CAACb,WAAW,CAAC,IAAIS,MAAM,CAACG,YAAY,CAACC,QAAQ,CAAC,SAAS,CACjG,CAAC;IAED,OAAOH,iBAAiB;EAC1B,CAAC,CAAC,OAAOI,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;IACpB;IACA;EACF;AACF,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEapB,eAAe"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { Text, View } from "react-native";
3
+ import { styles } from "./styles";
4
+ const CameraConfigInfo = ({
5
+ exposure,
6
+ zoom
7
+ }) => {
8
+ return /*#__PURE__*/React.createElement(View, {
9
+ style: styles.container
10
+ }, /*#__PURE__*/React.createElement(Text, {
11
+ style: styles.text
12
+ }, "Exposure: ", exposure, " | Zoom: ", zoom));
13
+ };
14
+ export default CameraConfigInfo;
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Text","View","styles","CameraConfigInfo","exposure","zoom","createElement","style","container","text"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfo/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,MAAM,QAAQ,UAAU;AAOjC,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,QAAQ;EAAEC;AAAY,CAAC,KAAK;EACtD,oBACEN,KAAA,CAAAO,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEL,MAAM,CAACM;EAAU,gBAC5BT,KAAA,CAAAO,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACO;EAAK,GAAC,YACd,EAACL,QAAQ,EAAC,WAAS,EAACC,IAC1B,CACF,CAAC;AAEX,CAAC;AAED,eAAeF,gBAAgB"}
@@ -0,0 +1,14 @@
1
+ import { StyleSheet } from "react-native";
2
+ export const styles = StyleSheet.create({
3
+ container: {
4
+ alignItems: "center",
5
+ padding: 10,
6
+ backgroundColor: "#0d0d0d"
7
+ },
8
+ text: {
9
+ fontSize: 18,
10
+ fontWeight: "500",
11
+ color: "#fff"
12
+ }
13
+ });
14
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","styles","create","container","alignItems","padding","backgroundColor","text","fontSize","fontWeight","color"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfo/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,EAAE;IACXC,eAAe,EAAE;EACnB,CAAC;EACDC,IAAI,EAAE;IACJC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
@@ -0,0 +1,79 @@
1
+ import React, { useEffect } from "react";
2
+ import { Pressable } from "react-native";
3
+ import Animated, { useAnimatedStyle, useSharedValue, withSpring, withTiming } from "react-native-reanimated";
4
+ import Icon from "../icon/icon";
5
+ import { styles } from "./styles";
6
+ const CaptureButton = ({
7
+ onPress,
8
+ imagesCount,
9
+ authFinger,
10
+ loading
11
+ }) => {
12
+ const width = useSharedValue(75);
13
+ const translateX = useSharedValue(0);
14
+ const opacity = useSharedValue(0);
15
+ const animatedView = useAnimatedStyle(() => ({
16
+ width: width.value
17
+ }));
18
+ const animatedIcon = useAnimatedStyle(() => ({
19
+ transform: [{
20
+ translateX: -translateX.value
21
+ }]
22
+ }));
23
+ const animatedText = useAnimatedStyle(() => ({
24
+ opacity: opacity.value,
25
+ color: "#fff",
26
+ transform: [{
27
+ translateX: translateX.value
28
+ }]
29
+ }));
30
+ useEffect(() => {
31
+ if (imagesCount === 3) {
32
+ setTimeout(() => {
33
+ width.value = withSpring(75);
34
+ translateX.value = withSpring(0);
35
+ opacity.value = withTiming(0, {
36
+ duration: 250
37
+ });
38
+ }, 500);
39
+ }
40
+ }, [width, opacity, translateX, imagesCount]);
41
+ const handlePress = () => {
42
+ onPress();
43
+ width.value = withSpring(150);
44
+ translateX.value = withSpring(25);
45
+ opacity.value = withTiming(1, {
46
+ duration: 250
47
+ });
48
+ };
49
+ if (authFinger) {
50
+ return /*#__PURE__*/React.createElement(Pressable, {
51
+ onPress: handlePress,
52
+ disabled: loading
53
+ }, /*#__PURE__*/React.createElement(Animated.View, {
54
+ style: [styles.box, {
55
+ width: 75
56
+ }]
57
+ }, /*#__PURE__*/React.createElement(Icon, {
58
+ name: "camera-outline",
59
+ size: 40,
60
+ color: "white"
61
+ })));
62
+ }
63
+ return /*#__PURE__*/React.createElement(Pressable, {
64
+ onPress: handlePress,
65
+ disabled: imagesCount === 3 ? true : false
66
+ }, /*#__PURE__*/React.createElement(Animated.View, {
67
+ style: [styles.box, animatedView]
68
+ }, /*#__PURE__*/React.createElement(Animated.View, {
69
+ style: animatedIcon
70
+ }, /*#__PURE__*/React.createElement(Icon, {
71
+ name: "camera-outline",
72
+ size: 40,
73
+ color: "white"
74
+ })), (imagesCount ?? 0) > 0 ? /*#__PURE__*/React.createElement(Animated.Text, {
75
+ style: [styles.text, animatedText]
76
+ }, imagesCount, "/3") : undefined));
77
+ };
78
+ export default CaptureButton;
79
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","Pressable","Animated","useAnimatedStyle","useSharedValue","withSpring","withTiming","Icon","styles","CaptureButton","onPress","imagesCount","authFinger","loading","width","translateX","opacity","animatedView","value","animatedIcon","transform","animatedText","color","setTimeout","duration","handlePress","createElement","disabled","View","style","box","name","size","Text","text","undefined"],"sourceRoot":"../../../../src","sources":["components/CaptureButton/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,SAAS,QAAQ,cAAc;AACxC,OAAOC,QAAQ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ACX,WAAW,IAAI,CAAC,IAAI,CAAC,gBACrBZ,KAAA,CAAA2B,aAAA,CAACxB,QAAQ,CAAC+B,IAAI;IAACJ,KAAK,EAAE,CAACrB,MAAM,CAAC0B,IAAI,EAAEb,YAAY;EAAE,GAAEV,WAAW,EAAC,IAAiB,CAAC,GAChFwB,SACS,CACN,CAAC;AAEhB,CAAC;AAED,eAAe1B,aAAa"}
@@ -0,0 +1,16 @@
1
+ import { StyleSheet } from "react-native";
2
+ export const styles = StyleSheet.create({
3
+ box: {
4
+ flexDirection: "row",
5
+ height: 50,
6
+ justifyContent: "center",
7
+ alignItems: "center",
8
+ borderRadius: 50,
9
+ backgroundColor: "#1F75FF"
10
+ },
11
+ text: {
12
+ position: "absolute",
13
+ color: "#fff"
14
+ }
15
+ });
16
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","styles","create","box","flexDirection","height","justifyContent","alignItems","borderRadius","backgroundColor","text","position","color"],"sourceRoot":"../../../../src","sources":["components/CaptureButton/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACtCC,GAAG,EAAE;IACHC,aAAa,EAAE,KAAK;IACpBC,MAAM,EAAE,EAAE;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE;EACnB,CAAC;EACDC,IAAI,EAAE;IACJC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
@@ -1,11 +1,12 @@
1
- import React from 'react';
2
- import { View } from 'react-native';
3
- import { styles } from './styles';
4
- export const Gabarito = () => {
1
+ import React from "react";
2
+ import { View } from "react-native";
3
+ import { styles } from "./styles";
4
+ const Gabarito = () => {
5
5
  return /*#__PURE__*/React.createElement(View, {
6
6
  style: styles.container
7
7
  }, /*#__PURE__*/React.createElement(View, {
8
8
  style: styles.gabarito
9
9
  }));
10
10
  };
11
+ export default Gabarito;
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","styles","Gabarito","createElement","style","container","gabarito"],"sourceRoot":"../../../../src","sources":["components/Gabarito/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAEjC,OAAO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC5B,oBACEH,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACI;EAAU,gBAC5BN,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACK;EAAS,CAAE,CAC3B,CAAC;AAEX,CAAC"}
1
+ {"version":3,"names":["React","View","styles","Gabarito","createElement","style","container","gabarito"],"sourceRoot":"../../../../src","sources":["components/Gabarito/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAEjC,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EACrB,oBACEH,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACI;EAAU,gBAC5BN,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACK;EAAS,CAAE,CAC3B,CAAC;AAEX,CAAC;AAED,eAAeJ,QAAQ"}
@@ -1,21 +1,20 @@
1
- import { StyleSheet, Dimensions } from 'react-native';
2
- const width = Dimensions.get('window').width;
3
- const height = Dimensions.get('window').height;
1
+ import { StyleSheet, Dimensions } from "react-native";
2
+ const width = Dimensions.get("window").width;
3
+ const height = Dimensions.get("window").height;
4
4
  export const styles = StyleSheet.create({
5
5
  container: {
6
- justifyContent: 'center',
7
- alignSelf: 'center',
8
- position: `absolute`,
9
- marginTop: '50%'
6
+ position: "absolute",
7
+ justifyContent: "center",
8
+ alignSelf: "center"
10
9
  },
11
10
  gabarito: {
12
11
  width: width * 0.5,
13
- height: height * 0.3,
12
+ height: height * 0.4,
14
13
  borderWidth: 3,
15
- borderColor: 'red',
16
- marginLeft: '15%',
17
- borderTopLeftRadius: 125,
18
- borderBottomLeftRadius: 125,
14
+ borderColor: "red",
15
+ marginLeft: "15%",
16
+ borderTopLeftRadius: 75,
17
+ borderBottomLeftRadius: 75,
19
18
  transform: [{
20
19
  scaleX: 2
21
20
  }]
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","Dimensions","width","get","height","styles","create","container","justifyContent","alignSelf","position","marginTop","gabarito","borderWidth","borderColor","marginLeft","borderTopLeftRadius","borderBottomLeftRadius","transform","scaleX"],"sourceRoot":"../../../../src","sources":["components/Gabarito/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,MAAMC,KAAK,GAAGD,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACD,KAAK;AAC5C,MAAME,MAAM,GAAGH,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AAE9C,OAAO,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAG,UAAS;IACpBC,SAAS,EAAE;EACb,CAAC;EACDC,QAAQ,EAAE;IACRV,KAAK,EAAEA,KAAK,GAAG,GAAG;IAClBE,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBS,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE,KAAK;IAClBC,UAAU,EAAE,KAAK;IACjBC,mBAAmB,EAAE,GAAG;IACxBC,sBAAsB,EAAE,GAAG;IAC3BC,SAAS,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;EAC3B;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["StyleSheet","Dimensions","width","get","height","styles","create","container","position","justifyContent","alignSelf","gabarito","borderWidth","borderColor","marginLeft","borderTopLeftRadius","borderBottomLeftRadius","transform","scaleX"],"sourceRoot":"../../../../src","sources":["components/Gabarito/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,MAAMC,KAAK,GAAGD,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACD,KAAK;AAC5C,MAAME,MAAM,GAAGH,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AAE9C,OAAO,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE;EACb,CAAC;EACDC,QAAQ,EAAE;IACRT,KAAK,EAAEA,KAAK,GAAG,GAAG;IAClBE,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBQ,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE,KAAK;IAClBC,UAAU,EAAE,KAAK;IACjBC,mBAAmB,EAAE,EAAE;IACvBC,sBAAsB,EAAE,EAAE;IAC1BC,SAAS,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;EAC3B;AACF,CAAC,CAAC"}
@@ -1,41 +1,43 @@
1
- import React from 'react';
2
- import { View, Image, Text, TouchableOpacity } from 'react-native';
3
- import { styles } from './styles';
4
- export const AjudaCadastro = ({
5
- handleProximaTela
6
- }) => {
7
- return /*#__PURE__*/React.createElement(View, {
8
- style: styles.container
1
+ import React, { useState } from "react";
2
+ import { View, Image, Text, TouchableOpacity, Modal } from "react-native";
3
+ import { styles } from "./styles";
4
+ const HelpRegister = () => {
5
+ const [visible, setVisible] = useState(true);
6
+ const handleVisible = () => setVisible(false);
7
+ return /*#__PURE__*/React.createElement(Modal, {
8
+ animationType: "fade",
9
+ visible: visible
9
10
  }, /*#__PURE__*/React.createElement(View, {
10
- style: styles.content
11
+ style: styles.container
11
12
  }, /*#__PURE__*/React.createElement(Text, {
12
13
  style: styles.title
13
14
  }, "Instru\xE7\xF5es da Captura"), /*#__PURE__*/React.createElement(Text, {
14
15
  style: styles.text
15
- }, "1. Para cadastrar sua digital, escolha um fundo neutro ", `\n`, "ex: folha de papel branca ou parede lisa"), /*#__PURE__*/React.createElement(Image, {
16
- source: require('../../../../assets/exampleInstructionWithoutFinger.jpeg'),
16
+ }, "1. Para cadastrar sua digital, escolha um fundo neutro. ", `\n`, "ex: folha de papel ou parede lisa"), /*#__PURE__*/React.createElement(Image, {
17
+ source: require("../../assets/exampleInstructionWithoutFinger.jpeg"),
17
18
  style: styles.image,
18
19
  resizeMode: "stretch"
19
20
  }), /*#__PURE__*/React.createElement(Text, {
20
21
  style: styles.text
21
- }, "2. Posicione o dedo dentro do marca\xE7\xE3o indicada na tela"), /*#__PURE__*/React.createElement(View, {
22
+ }, "2. Posicione o dedo dentro da marca\xE7\xE3o indicada na tela"), /*#__PURE__*/React.createElement(View, {
22
23
  style: styles.containerImages
23
24
  }, /*#__PURE__*/React.createElement(Image, {
24
- source: require('../../../../assets/arrow.png'),
25
+ source: require("../../assets/arrow.png"),
25
26
  style: styles.arrow,
26
27
  resizeMode: "center"
27
28
  }), /*#__PURE__*/React.createElement(Image, {
28
- source: require('../../../../assets/exampleInstructionWithBorder.jpeg'),
29
+ source: require("../../assets/exampleInstructionWithBorder.jpeg"),
29
30
  style: styles.image,
30
31
  resizeMode: "contain"
31
32
  })), /*#__PURE__*/React.createElement(Text, {
32
33
  style: styles.text
33
34
  }, "3. Clique em \"Tirar Foto\" e aguarde."), /*#__PURE__*/React.createElement(TouchableOpacity, {
34
- onPress: handleProximaTela,
35
+ onPress: handleVisible,
35
36
  style: styles.button,
36
37
  activeOpacity: 0.5
37
38
  }, /*#__PURE__*/React.createElement(Text, {
38
39
  style: styles.textButton
39
40
  }, "Ir para captura"))));
40
41
  };
42
+ export default HelpRegister;
41
43
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","View","Image","Text","TouchableOpacity","Modal","styles","HelpRegister","visible","setVisible","handleVisible","createElement","animationType","style","container","title","text","source","require","image","resizeMode","containerImages","arrow","onPress","button","activeOpacity","textButton"],"sourceRoot":"../../../../src","sources":["components/HelpRegister/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,KAAK,QAAQ,cAAc;AACzE,SAASC,MAAM,QAAQ,UAAU;AAEjC,MAAMC,YAAY,GAAGA,CAAA,KAAM;EACzB,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGT,QAAQ,CAAC,IAAI,CAAC;EAE5C,MAAMU,aAAa,GAAGA,CAAA,KAAMD,UAAU,CAAC,KAAK,CAAC;EAC7C,oBACEV,KAAA,CAAAY,aAAA,CAACN,KAAK;IAACO,aAAa,EAAC,MAAM;IAACJ,OAAO,EAAEA;EAAQ,gBAC3CT,KAAA,CAAAY,aAAA,CAACV,IAAI;IAACY,KAAK,EAAEP,MAAM,CAACQ;EAAU,gBAC5Bf,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACS;EAAM,GAAC,6BAA2B,CAAC,eACvDhB,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACU;EAAK,GAAC,0DACgC,EAAE,IAAG,EAAC,mCAE1D,CAAC,eACPjB,KAAA,CAAAY,aAAA,CAACT,KAAK;IACJe,MAAM,EAAEC,OAAO,CAAC,mDAAmD,CAAE;IACrEL,KAAK,EAAEP,MAAM,CAACa,KAAM;IACpBC,UAAU,EAAC;EAAS,CACrB,CAAC,eACFrB,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACU;EAAK,GAAC,+DAA6D,CAAC,eACxFjB,KAAA,CAAAY,aAAA,CAACV,IAAI;IAACY,KAAK,EAAEP,MAAM,CAACe;EAAgB,gBAClCtB,KAAA,CAAAY,aAAA,CAACT,KAAK;IAACe,MAAM,EAAEC,OAAO,CAAC,wBAAwB,CAAE;IAACL,KAAK,EAAEP,MAAM,CAACgB,KAAM;IAACF,UAAU,EAAC;EAAQ,CAAE,CAAC,eAC7FrB,KAAA,CAAAY,aAAA,CAACT,KAAK;IACJe,MAAM,EAAEC,OAAO,CAAC,gDAAgD,CAAE;IAClEL,KAAK,EAAEP,MAAM,CAACa,KAAM;IACpBC,UAAU,EAAC;EAAS,CACrB,CACG,CAAC,eACPrB,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACU;EAAK,GAAC,wCAA0C,CAAC,eACrEjB,KAAA,CAAAY,aAAA,CAACP,gBAAgB;IAACmB,OAAO,EAAEb,aAAc;IAACG,KAAK,EAAEP,MAAM,CAACkB,MAAO;IAACC,aAAa,EAAE;EAAI,gBACjF1B,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACoB;EAAW,GAAC,iBAAqB,CACrC,CACd,CACD,CAAC;AAEZ,CAAC;AAED,eAAenB,YAAY"}
@@ -0,0 +1,53 @@
1
+ import { StyleSheet, Platform } from "react-native";
2
+ export const styles = StyleSheet.create({
3
+ container: {
4
+ flex: 1,
5
+ justifyContent: "center",
6
+ backgroundColor: "#f5f5f5",
7
+ paddingVertical: 10,
8
+ paddingHorizontal: 20,
9
+ gap: 10
10
+ },
11
+ containerImages: {
12
+ justifyContent: "center"
13
+ },
14
+ image: {
15
+ width: 150,
16
+ height: 150,
17
+ alignSelf: "center",
18
+ borderRadius: 15
19
+ },
20
+ arrow: {
21
+ position: "absolute",
22
+ width: 50,
23
+ height: 50,
24
+ marginHorizontal: 32
25
+ },
26
+ title: {
27
+ alignSelf: "center",
28
+ fontSize: 22,
29
+ fontWeight: "bold",
30
+ marginVertical: 10,
31
+ color: "#000"
32
+ },
33
+ text: {
34
+ fontSize: 18,
35
+ textAlign: "center",
36
+ fontWeight: Platform.OS === "ios" ? "300" : "normal",
37
+ marginVertical: 10,
38
+ color: "#000"
39
+ },
40
+ button: {
41
+ width: "100%",
42
+ alignItems: "center",
43
+ marginTop: 20,
44
+ padding: 12,
45
+ borderRadius: 10,
46
+ backgroundColor: "#3652AD"
47
+ },
48
+ textButton: {
49
+ fontSize: 18,
50
+ color: "#fff"
51
+ }
52
+ });
53
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Platform","styles","create","container","flex","justifyContent","backgroundColor","paddingVertical","paddingHorizontal","gap","containerImages","image","width","height","alignSelf","borderRadius","arrow","position","marginHorizontal","title","fontSize","fontWeight","marginVertical","color","text","textAlign","OS","button","alignItems","marginTop","padding","textButton"],"sourceRoot":"../../../../src","sources":["components/HelpRegister/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAEnD,OAAO,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE,SAAS;IAC1BC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,EAAE;IACrBC,GAAG,EAAE;EACP,CAAC;EACDC,eAAe,EAAE;IACfL,cAAc,EAAE;EAClB,CAAC;EACDM,KAAK,EAAE;IACLC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,GAAG;IACXC,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBL,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVK,gBAAgB,EAAE;EACpB,CAAC;EAEDC,KAAK,EAAE;IACLL,SAAS,EAAE,QAAQ;IACnBM,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBC,cAAc,EAAE,EAAE;IAClBC,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJJ,QAAQ,EAAE,EAAE;IACZK,SAAS,EAAE,QAAQ;IACnBJ,UAAU,EAAErB,QAAQ,CAAC0B,EAAE,KAAK,KAAK,GAAG,KAAK,GAAG,QAAQ;IACpDJ,cAAc,EAAE,EAAE;IAClBC,KAAK,EAAE;EACT,CAAC;EACDI,MAAM,EAAE;IACNf,KAAK,EAAE,MAAM;IACbgB,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,EAAE;IACXf,YAAY,EAAE,EAAE;IAChBT,eAAe,EAAE;EACnB,CAAC;EACDyB,UAAU,EAAE;IACVX,QAAQ,EAAE,EAAE;IACZG,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { View, Modal, Text, StyleSheet, TouchableOpacity } from 'react-native';
1
+ import React from "react";
2
+ import { View, Modal, Text, StyleSheet, TouchableOpacity } from "react-native";
3
3
  export const Toast = ({
4
4
  isVisible,
5
5
  message,
@@ -25,34 +25,34 @@ export const Toast = ({
25
25
  export const styles = StyleSheet.create({
26
26
  modalContainer: {
27
27
  flex: 1,
28
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
29
- justifyContent: 'center',
30
- alignItems: 'center',
28
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
29
+ justifyContent: "center",
30
+ alignItems: "center",
31
31
  zIndex: 999
32
32
  },
33
33
  modalCard: {
34
- backgroundColor: 'white',
34
+ backgroundColor: "white",
35
35
  padding: 16,
36
36
  borderRadius: 8,
37
- width: '80%',
38
- alignItems: 'center'
37
+ width: "80%",
38
+ alignItems: "center"
39
39
  },
40
40
  messageText: {
41
41
  fontSize: 18,
42
42
  marginBottom: 16,
43
- textAlign: 'center',
44
- color: '#333'
43
+ textAlign: "center",
44
+ color: "#333"
45
45
  },
46
46
  closeButton: {
47
47
  marginTop: 8,
48
- backgroundColor: '#ccc',
48
+ backgroundColor: "#ccc",
49
49
  padding: 8,
50
50
  borderRadius: 4
51
51
  },
52
52
  closeButtonText: {
53
- color: 'white',
54
- fontWeight: 'bold',
55
- textAlign: 'center'
53
+ color: "white",
54
+ fontWeight: "bold",
55
+ textAlign: "center"
56
56
  }
57
57
  });
58
58
  //# sourceMappingURL=Toast.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","Modal","Text","StyleSheet","TouchableOpacity","Toast","isVisible","message","onClose","createElement","transparent","visible","onRequestClose","style","styles","modalContainer","modalCard","messageText","closeButton","onPress","closeButtonText","create","flex","backgroundColor","justifyContent","alignItems","zIndex","padding","borderRadius","width","fontSize","marginBottom","textAlign","color","marginTop","fontWeight"],"sourceRoot":"../../../../src","sources":["components/Toast/Toast.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAQ9E,OAAO,MAAMC,KAA2B,GAAGA,CAAC;EAC1CC,SAAS;EACTC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,oBACET,KAAA,CAAAU,aAAA,CAACR,KAAK;IAACS,WAAW;IAACC,OAAO,EAAEL,SAAU;IAACM,cAAc,EAAEJ;EAAQ,gBAC7DT,KAAA,CAAAU,aAAA,CAACT,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACC;EAAe,gBACjChB,KAAA,CAAAU,aAAA,CAACT,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACE;EAAU,gBAC5BjB,KAAA,CAAAU,aAAA,CAACP,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACG;EAAY,GAAEV,OAAc,CAAC,eACjDR,KAAA,CAAAU,aAAA,CAACL,gBAAgB;IAACS,KAAK,EAAEC,MAAM,CAACI,WAAY;IAACC,OAAO,EAAEX;EAAQ,gBAC5DT,KAAA,CAAAU,aAAA,CAACP,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACM;EAAgB,GAAC,QAAY,CACjC,CACd,CACF,CACD,CAAC;AAEZ,CAAC;AAED,OAAO,MAAMN,MAAM,GAAGX,UAAU,CAACkB,MAAM,CAAC;EACtCN,cAAc,EAAE;IACdO,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE,oBAAoB;IACrCC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,MAAM,EAAE;EACV,CAAC;EACDV,SAAS,EAAE;IACTO,eAAe,EAAE,OAAO;IACxBI,OAAO,EAAE,EAAE;IACXC,YAAY,EAAE,CAAC;IACfC,KAAK,EAAE,KAAK;IACZJ,UAAU,EAAE;EACd,CAAC;EACDR,WAAW,EAAE;IACXa,QAAQ,EAAE,EAAE;IACZC,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE,QAAQ;IACnBC,KAAK,EAAE;EACT,CAAC;EACDf,WAAW,EAAE;IACXgB,SAAS,EAAE,CAAC;IACZX,eAAe,EAAE,MAAM;IACvBI,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDR,eAAe,EAAE;IACfa,KAAK,EAAE,OAAO;IACdE,UAAU,EAAE,MAAM;IAClBH,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","View","Modal","Text","StyleSheet","TouchableOpacity","Toast","isVisible","message","onClose","createElement","transparent","visible","onRequestClose","style","styles","modalContainer","modalCard","messageText","closeButton","onPress","closeButtonText","create","flex","backgroundColor","justifyContent","alignItems","zIndex","padding","borderRadius","width","fontSize","marginBottom","textAlign","color","marginTop","fontWeight"],"sourceRoot":"../../../../src","sources":["components/Toast/Toast.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,UAA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AS,EAAE,CAAC;IACZX,eAAe,EAAE,MAAM;IACvBI,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDR,eAAe,EAAE;IACfa,KAAK,EAAE,OAAO;IACdE,UAAU,EAAE,MAAM;IAClBH,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import { Pressable, Text, View } from "react-native";
3
+ import { styles } from "./styles";
4
+ const DeviceNotFound = ({
5
+ hasPermission,
6
+ cameraPermission
7
+ }) => {
8
+ return /*#__PURE__*/React.createElement(View, {
9
+ style: styles.container
10
+ }, /*#__PURE__*/React.createElement(Text, {
11
+ style: styles.text
12
+ }, "Device not found"), /*#__PURE__*/React.createElement(Pressable, {
13
+ style: styles.button,
14
+ onPress: cameraPermission
15
+ }, /*#__PURE__*/React.createElement(Text, {
16
+ style: styles.textButton
17
+ }, hasPermission ? "Permission granted" : "Request permission")));
18
+ };
19
+ export default DeviceNotFound;
20
+ //# sourceMappingURL=deviceNotFound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Pressable","Text","View","styles","DeviceNotFound","hasPermission","cameraPermission","createElement","style","container","text","button","onPress","textButton"],"sourceRoot":"../../../../src","sources":["components/deviceNotFound/deviceNotFound.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACpD,SAASC,MAAM,QAAQ,UAAU;AAOjC,MAAMC,cAAc,GAAGA,CAAC;EAAEC,aAAa;EAAEC;AAAwB,CAAC,KAAK;EACtE,oBACCP,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEL,MAAM,CAACM;EAAU,gBAC7BV,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACO;EAAK,GAAC,kBAAsB,CAAC,eACjDX,KAAA,CAAAQ,aAAA,CAACP,SAAS;IAACQ,KAAK,EAAEL,MAAM,CAACQ,MAAO;IAACC,OAAO,EAAEN;EAAiB,gBAC1DP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACU;EAAW,GAC7BR,aAAa,GAAG,oBAAoB,GAAG,oBACnC,CACI,CACN,CAAC;AAET,CAAC;AAED,eAAeD,cAAc"}
@@ -0,0 +1,30 @@
1
+ import { StyleSheet } from "react-native";
2
+ export const styles = StyleSheet.create({
3
+ container: {
4
+ flex: 1,
5
+ justifyContent: "center",
6
+ alignItems: "center",
7
+ gap: 20
8
+ },
9
+ text: {
10
+ color: "#000",
11
+ fontSize: 20
12
+ },
13
+ button: {
14
+ alignItems: "center",
15
+ justifyContent: "center",
16
+ paddingVertical: 12,
17
+ paddingHorizontal: 32,
18
+ borderRadius: 4,
19
+ elevation: 3,
20
+ backgroundColor: "black"
21
+ },
22
+ textButton: {
23
+ fontSize: 16,
24
+ lineHeight: 21,
25
+ fontWeight: "bold",
26
+ letterSpacing: 0.25,
27
+ color: "white"
28
+ }
29
+ });
30
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","styles","create","container","flex","justifyContent","alignItems","gap","text","color","fontSize","button","paddingVertical","paddingHorizontal","borderRadius","elevation","backgroundColor","textButton","lineHeight","fontWeight","letterSpacing"],"sourceRoot":"../../../../src","sources":["components/deviceNotFound/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACvCC,SAAS,EAAE;IACVC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE;EACN,CAAC;EACDC,IAAI,EAAE;IACLC,KAAK,EAAE,MAAM;IACbC,QAAQ,EAAE;EACX,CAAC;EACDC,MAAM,EAAE;IACPL,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBO,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,EAAE;IACrBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,eAAe,EAAE;EAClB,CAAC;EACDC,UAAU,EAAE;IACXP,QAAQ,EAAE,EAAE;IACZQ,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE,MAAM;IAClBC,aAAa,EAAE,IAAI;IACnBX,KAAK,EAAE;EACR;AACD,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import Ionicons from "react-native-vector-icons/Ionicons";
3
+ const Icon = ({
4
+ name,
5
+ size,
6
+ color
7
+ }) => {
8
+ return /*#__PURE__*/React.createElement(Ionicons, {
9
+ name: name,
10
+ size: size,
11
+ color: color
12
+ });
13
+ };
14
+ export default Icon;
15
+ //# sourceMappingURL=icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Ionicons","Icon","name","size","color","createElement"],"sourceRoot":"../../../../src","sources":["components/icon/icon.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,oCAAoC;AAQzD,MAAMC,IAAI,GAAGA,CAAC;EAAEC,IAAI;EAAEC,IAAI;EAAEC;AAAa,CAAC,KAAK;EAC7C,oBAAOL,KAAA,CAAAM,aAAA,CAACL,QAAQ;IAACE,IAAI,EAAEA,IAAK;IAACC,IAAI,EAAEA,IAAK;IAACC,KAAK,EAAEA;EAAM,CAAE,CAAC;AAC3D,CAAC;AAED,eAAeH,IAAI"}
@@ -0,0 +1,9 @@
1
+ import DeviceNotFound from "./deviceNotFound/deviceNotFound";
2
+ import ModalMessage from "./modalMessage/modalMessage";
3
+ import RecordButton from "./recordButton/recordButton";
4
+ import HelpRegister from "./HelpRegister";
5
+ import CaptureButton from "./CaptureButton";
6
+ import CameraConfigInfo from "./CameraConfigInfo";
7
+ import Gabarito from "./Gabarito";
8
+ export { DeviceNotFound, ModalMessage, RecordButton, HelpRegister, CaptureButton, CameraConfigInfo, Gabarito };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DeviceNotFound","ModalMessage","RecordButton","HelpRegister","CaptureButton","CameraConfigInfo","Gabarito"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":"AAAA,OAAOA,cAAc,MAAM,iCAAiC;AAC5D,OAAOC,YAAY,MAAM,6BAA6B;AACtD,OAAOC,YAAY,MAAM,6BAA6B;AACtD,OAAOC,YAAY,MAAM,gBAAgB;AACzC,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,OAAOC,QAAQ,MAAM,YAAY;AAEjC,SAASN,cAAc,EAAEC,YAAY,EAAEC,YAAY,EAAEC,YAAY,EAAEC,aAAa,EAAEC,gBAAgB,EAAEC,QAAQ"}
@@ -0,0 +1,54 @@
1
+ import React, { useEffect, useMemo, useState } from "react";
2
+ import { ActivityIndicator, Modal, Text, TouchableOpacity, View, useColorScheme } from "react-native";
3
+ import { styles } from "./styles";
4
+ export const ModalMessage = ({
5
+ isLoading,
6
+ modal
7
+ }) => {
8
+ const [visible, setVisible] = useState(false);
9
+ const isDark = useColorScheme() === "dark";
10
+ const backgroundColor = useMemo(() => {
11
+ return {
12
+ ...styles.modal,
13
+ backgroundColor: isDark ? "#0f0f0f" : "#fff"
14
+ };
15
+ }, [isDark]);
16
+ const textColor = useMemo(() => {
17
+ return {
18
+ color: isDark ? "#fff" : "#000"
19
+ };
20
+ }, [isDark]);
21
+ const handleModal = () => {
22
+ setVisible(false);
23
+ };
24
+ useEffect(() => {
25
+ if (isLoading === true) setVisible(true);
26
+ }, [isLoading]);
27
+ return /*#__PURE__*/React.createElement(Modal, {
28
+ animationType: "fade",
29
+ visible: visible,
30
+ transparent: true
31
+ }, /*#__PURE__*/React.createElement(View, {
32
+ style: styles.container
33
+ }, /*#__PURE__*/React.createElement(View, {
34
+ style: backgroundColor
35
+ }, isLoading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ActivityIndicator, {
36
+ size: "large",
37
+ color: "#0000ff"
38
+ }), /*#__PURE__*/React.createElement(Text, {
39
+ style: [styles.title, textColor]
40
+ }, "Processando...")) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
41
+ style: [styles.title, textColor]
42
+ }, modal === null || modal === void 0 ? void 0 : modal.title), /*#__PURE__*/React.createElement(Text, {
43
+ style: [styles.text, textColor]
44
+ }, modal === null || modal === void 0 ? void 0 : modal.message), /*#__PURE__*/React.createElement(View, {
45
+ style: styles.button
46
+ }, /*#__PURE__*/React.createElement(TouchableOpacity, {
47
+ style: styles.button,
48
+ onPress: handleModal
49
+ }, /*#__PURE__*/React.createElement(Text, {
50
+ style: styles.textButton
51
+ }, "Fechar")))))));
52
+ };
53
+ export default ModalMessage;
54
+ //# sourceMappingURL=modalMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useMemo","useState","ActivityIndicator","Modal","Text","TouchableOpacity","View","useColorScheme","styles","ModalMessage","isLoading","modal","visible","setVisible","isDark","backgroundColor","textColor","color","handleModal","createElement","animationType","transparent","style","container","Fragment","size","title","text","message","button","onPress","textButton"],"sourceRoot":"../../../../src","sources":["components/modalMessage/modalMessage.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SACEC,iBAAiB,EACjBC,KAAK,EACLC,IAAI,EAEJC,gBAAgB,EAChBC,IAAI,EAEJC,cAAc,QACT,cAAc;AACrB,SAASC,MAAM,QAAQ,UAAU;AAUjC,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAAEC,SAAS;EAAEC;AAAa,CAAC,KAAK;EAC3D,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGZ,QAAQ,CAAC,KAAK,CAAC;EAC7C,MAAMa,MAAM,GAAG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