@ha_tecno/live-id-sdk 1.0.0 → 2.2.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 +138 -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 +129 -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 +9 -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 +141 -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
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","height","Dimensions","get","styles","exports","StyleSheet","create","container","flex","root","cameraContainer","camera","justifyContent","paddingBottom","containerCapture","alignItems","containerButton","width","borderRadius","backgroundColor","textButton","fontSize","fontWeight","color","modal","margin","containerButtonClose","marginBottom","Platform","OS","cameraConfigs"],"sourceRoot":"../../../../src","sources":["screens/ValidadeFinger/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAM;EAAEC;AAAO,CAAC,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC;AAEpC,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE;EACR,CAAC;EACDC,IAAI,EAAE;IACJD,IAAI,EAAE;EACR,CAAC;EACDE,eAAe,EAAE;IACfF,IAAI,EAAE;EACR,CAAC;EACDG,MAAM,EAAE;IACNH,IAAI,EAAE,CAAC;IACPI,cAAc,EAAE,UAAU;IAC1BC,aAAa,EAAEb,MAAM,GAAG;EAC1B,CAAC;EACDc,gBAAgB,EAAE;IAChBd,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBe,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDI,eAAe,EAAE;IACfC,KAAK,EAAE,GAAG;IACVjB,MAAM,EAAE,GAAG;IACXkB,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE,MAAM;IACvBJ,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDQ,UAAU,EAAE;IACVC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT,CAAC;EACDC,KAAK,EAAE;IACLC,MAAM,EAAE;EACV,CAAC;EACDC,oBAAoB,EAAE;IACpBC,YAAY,EAAEC,qBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,EAAE,GAAG;EAC7C,CAAC;EACDC,aAAa,EAAE;IACbf,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=screen.js.map
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { Text } from 'react-native';
3
- import { styles } from './styles';
4
- export const CameraConfigInfos = ({
5
- exposure,
6
- zoom,
7
- showButtonInfo
8
- }) => {
9
- return /*#__PURE__*/React.createElement(React.Fragment, null, showButtonInfo ? /*#__PURE__*/React.createElement(Text, {
10
- style: styles.text
11
- }, "Exposi\xE7\xE3o: ", exposure, " | Zoom: ", zoom) : null);
12
- };
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","styles","CameraConfigInfos","exposure","zoom","showButtonInfo","createElement","Fragment","style","text"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfos/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAQjC,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,QAAQ;EACRC,IAAI;EACJC;AACK,CAAC,KAAK;EACX,oBACEN,KAAA,CAAAO,aAAA,CAAAP,KAAA,CAAAQ,QAAA,QACGF,cAAc,gBACbN,KAAA,CAAAO,aAAA,CAACN,IAAI;IAACQ,KAAK,EAAEP,MAAM,CAACQ;EAAK,GAAC,mBACb,EAACN,QAAQ,EAAC,WAAS,EAACC,IAC3B,CAAC,GACL,IACJ,CAAC;AAEP,CAAC"}
@@ -1,13 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
- import { RFValue } from 'react-native-responsive-fontsize';
3
- export const styles = StyleSheet.create({
4
- text: {
5
- fontSize: 18,
6
- fontWeight: '500',
7
- color: '#fff',
8
- textAlign: 'center',
9
- width: RFValue(300),
10
- marginBottom: RFValue(20)
11
- }
12
- });
13
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","RFValue","styles","create","text","fontSize","fontWeight","color","textAlign","width","marginBottom"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfos/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,OAAO,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EACtCC,IAAI,EAAE;IACJC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,QAAQ;IACnBC,KAAK,EAAER,OAAO,CAAC,GAAG,CAAC;IACnBS,YAAY,EAAET,OAAO,CAAC,EAAE;EAC1B;AACF,CAAC,CAAC"}
@@ -1,51 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from 'react';
3
- import { View, Text, Button, StyleSheet } from 'react-native';
4
- import Modal from 'react-native-modal';
5
- export const DeviceNullDisplay = ({
6
- isVisible,
7
- onCloseModalHandler,
8
- requestCameraPermission,
9
- ...modalParams
10
- }) => {
11
- return /*#__PURE__*/React.createElement(Modal, _extends({
12
- style: styles.modal,
13
- isVisible: isVisible,
14
- swipeDirection: "down",
15
- propagateSwipe: true,
16
- onSwipeComplete: onCloseModalHandler
17
- }, modalParams), /*#__PURE__*/React.createElement(View, {
18
- style: styles.container
19
- }, /*#__PURE__*/React.createElement(Text, {
20
- style: styles.errorText
21
- }, "O dispositivo n\xE3o possui camera ou n\xE3o foi possivel acessar a camera !"), /*#__PURE__*/React.createElement(View, {
22
- style: styles.buttonContainer
23
- }, /*#__PURE__*/React.createElement(Button, {
24
- title: "Fechar Camera",
25
- onPress: onCloseModalHandler
26
- })), /*#__PURE__*/React.createElement(Button, {
27
- title: "Tentar novamente",
28
- onPress: requestCameraPermission
29
- })));
30
- };
31
- const styles = StyleSheet.create({
32
- modal: {
33
- margin: 0
34
- },
35
- container: {
36
- flex: 1,
37
- alignItems: 'center',
38
- justifyContent: 'center',
39
- backgroundColor: 'white'
40
- },
41
- errorText: {
42
- color: 'black',
43
- fontWeight: 'bold',
44
- fontSize: 20,
45
- marginBottom: 16
46
- },
47
- buttonContainer: {
48
- marginBottom: 16
49
- }
50
- });
51
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","Button","StyleSheet","Modal","DeviceNullDisplay","isVisible","onCloseModalHandler","requestCameraPermission","modalParams","createElement","_extends","style","styles","modal","swipeDirection","propagateSwipe","onSwipeComplete","container","errorText","buttonContainer","title","onPress","create","margin","flex","alignItems","justifyContent","backgroundColor","color","fontWeight","fontSize","marginBottom"],"sourceRoot":"../../../../src","sources":["components/DeviceNullDisplay/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,UAAU,QAAQ,cAAc;AAC7D,OAAOC,KAAK,MAA2B,oBAAoB;AAS3D,OAAO,MAAMC,iBAAmD,GAAGA,CAAC;EAClEC,SAAS;EACTC,mBAAmB;EACnBC,uBAAuB;EACvB,GAAGC;AACL,CAAC,KAAK;EACJ,oBACEV,KAAA,CAAAW,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,KAAK,EAAEC,MAAM,CAACC,KAAM;IACpBR,SAAS,EAAEA,SAAU;IACrBS,cAAc,EAAC,MAAM;IACrBC,cAAc,EAAE,IAAK;IACrBC,eAAe,EAAEV;EAAoB,GACjCE,WAAW,gBAEfV,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACY,KAAK,EAAEC,MAAM,CAACK;EAAU,gBAC5BnB,KAAA,CAAAW,aAAA,CAACT,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACM;EAAU,GAAC,8EAEzB,CAAC,eACPpB,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACY,KAAK,EAAEC,MAAM,CAACO;EAAgB,gBAClCrB,KAAA,CAAAW,aAAA,CAACR,MAAM;IAACmB,KAAK,EAAC,eAAe;IAACC,OAAO,EAAEf;EAAoB,CAAE,CACzD,CAAC,eACPR,KAAA,CAAAW,aAAA,CAACR,MAAM;IAACmB,KAAK,EAAC,kBAAkB;IAACC,OAAO,EAAEd;EAAwB,CAAE,CAChE,CACD,CAAC;AAEZ,CAAC;AAED,MAAMK,MAAM,GAAGV,UAAU,CAACoB,MAAM,CAAC;EAC/BT,KAAK,EAAE;IACLU,MAAM,EAAE;EACV,CAAC;EACDN,SAAS,EAAE;IACTO,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE;EACnB,CAAC;EACDT,SAAS,EAAE;IACTU,KAAK,EAAE,OAAO;IACdC,UAAU,EAAE,MAAM;IAClBC,QAAQ,EAAE,EAAE;IACZC,YAAY,EAAE;EAChB,CAAC;EACDZ,eAAe,EAAE;IACfY,YAAY,EAAE;EAChB;AACF,CAAC,CAAC"}
@@ -1,51 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from 'react';
3
- import { View, Text, Button, StyleSheet } from 'react-native';
4
- import Modal from 'react-native-modal';
5
- export const ErrorDisplay = ({
6
- isVisible,
7
- onCloseModalHandler,
8
- requestCameraPermission,
9
- ...modalParams
10
- }) => {
11
- return /*#__PURE__*/React.createElement(Modal, _extends({
12
- style: styles.modal,
13
- isVisible: isVisible,
14
- swipeDirection: "down",
15
- propagateSwipe: true,
16
- onSwipeComplete: onCloseModalHandler
17
- }, modalParams), /*#__PURE__*/React.createElement(View, {
18
- style: styles.container
19
- }, /*#__PURE__*/React.createElement(Text, {
20
- style: styles.errorText
21
- }, "Ocorreu um erro ao tentar acessar o dispositivo! Voc\xEA deve passar o id do usu\xE1rio para validar a digital."), /*#__PURE__*/React.createElement(View, {
22
- style: styles.buttonContainer
23
- }, /*#__PURE__*/React.createElement(Button, {
24
- title: "Fechar Camera",
25
- onPress: onCloseModalHandler
26
- })), /*#__PURE__*/React.createElement(Button, {
27
- title: "Tentar novamente",
28
- onPress: requestCameraPermission
29
- })));
30
- };
31
- const styles = StyleSheet.create({
32
- modal: {
33
- margin: 0
34
- },
35
- container: {
36
- flex: 1,
37
- alignItems: 'center',
38
- justifyContent: 'center',
39
- backgroundColor: 'white'
40
- },
41
- errorText: {
42
- color: 'black',
43
- fontWeight: 'bold',
44
- fontSize: 20,
45
- marginBottom: 16
46
- },
47
- buttonContainer: {
48
- marginBottom: 16
49
- }
50
- });
51
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","Button","StyleSheet","Modal","ErrorDisplay","isVisible","onCloseModalHandler","requestCameraPermission","modalParams","createElement","_extends","style","styles","modal","swipeDirection","propagateSwipe","onSwipeComplete","container","errorText","buttonContainer","title","onPress","create","margin","flex","alignItems","justifyContent","backgroundColor","color","fontWeight","fontSize","marginBottom"],"sourceRoot":"../../../../src","sources":["components/ErrorDisplay/index.tsx"],"mappings":";AAAA,OAAO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MAAM;IAClBC,QAAQ,EAAE,EAAE;IACZC,YAAY,EAAE;EAChB,CAAC;EACDZ,eAAe,EAAE;IACfY,YAAY,EAAE;EAChB;AACF,CAAC,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { View, Text } from 'react-native';
3
- import { styles } from './styles';
4
- import { TouchableWithoutFeedback } from 'react-native';
5
- export const WaitingForResult = ({
6
- onPress
7
- }) => {
8
- return /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
9
- onPress: onPress,
10
- style: styles.flexi
11
- }, /*#__PURE__*/React.createElement(View, {
12
- style: styles.overlay
13
- }, /*#__PURE__*/React.createElement(Text, {
14
- style: styles.textOverlay
15
- }, "Voc\xEA j\xE1 pode retirar o dedo da tela, aguarde o resultado.")));
16
- };
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","styles","TouchableWithoutFeedback","WaitingForResult","onPress","createElement","style","flexi","overlay","textOverlay"],"sourceRoot":"../../../../src","sources":["components/WaitingForResult/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,wBAAwB,QAAQ,cAAc;AAMvD,OAAO,MAAMC,gBAAiD,GAAGA,CAAC;EAChEC;AACF,CAAC,KAAK;EACJ,oBACEN,KAAA,CAAAO,aAAA,CAACH,wBAAwB;IAACE,OAAO,EAAEA,OAAQ;IAACE,KAAK,EAAEL,MAAM,CAACM;EAAM,gBAC9DT,KAAA,CAAAO,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACO;EAAQ,gBAC1BV,KAAA,CAAAO,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEL,MAAM,CAACQ;EAAY,GAAC,iEAE3B,CACF,CACkB,CAAC;AAE/B,CAAC"}
@@ -1,26 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
- import { RFValue } from 'react-native-responsive-fontsize';
3
- export const styles = StyleSheet.create({
4
- flexi: {
5
- flex: 1
6
- },
7
- overlay: {
8
- zIndex: 2,
9
- flex: 1,
10
- height: '100%',
11
- width: '100%',
12
- backgroundColor: `rgba(44, 45, 46, 0.5)`,
13
- alignItems: `center`,
14
- justifyContent: `center`,
15
- position: `absolute`
16
- },
17
- textOverlay: {
18
- fontSize: RFValue(18),
19
- fontWeight: `500`,
20
- color: `#fff`,
21
- textAlign: `center`,
22
- width: RFValue(300),
23
- marginBottom: RFValue(20)
24
- }
25
- });
26
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","RFValue","styles","create","flexi","flex","overlay","zIndex","height","width","backgroundColor","alignItems","justifyContent","position","textOverlay","fontSize","fontWeight","color","textAlign","marginBottom"],"sourceRoot":"../../../../src","sources":["components/WaitingForResult/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,OAAO,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EACtCC,KAAK,EAAE;IACLC,IAAI,EAAE;EACR,CAAC;EACDC,OAAO,EAAE;IACPC,MAAM,EAAE,CAAC;IACTF,IAAI,EAAE,CAAC;IACPG,MAAM,EAAE,MAAM;IACdC,KAAK,EAAE,MAAM;IACbC,eAAe,EAAG,uBAAsB;IACxCC,UAAU,EAAG,QAAO;IACpBC,cAAc,EAAG,QAAO;IACxBC,QAAQ,EAAG;EACb,CAAC;EAEDC,WAAW,EAAE;IACXC,QAAQ,EAAEd,OAAO,CAAC,EAAE,CAAC;IACrBe,UAAU,EAAG,KAAI;IACjBC,KAAK,EAAG,MAAK;IACbC,SAAS,EAAG,QAAO;IACnBT,KAAK,EAAER,OAAO,CAAC,GAAG,CAAC;IACnBkB,YAAY,EAAElB,OAAO,CAAC,EAAE;EAC1B;AACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Image","Text","TouchableOpacity","styles","AjudaCadastro","handleProximaTela","createElement","style","container","content","title","text","source","require","image","resizeMode","containerImages","arrow","onPress","button","activeOpacity","textButton"],"sourceRoot":"../../../../../../src","sources":["screens/CadastroFinger/components/AjudaCadastro/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AAClE,SAASC,MAAM,QAAQ,UAAU;AAMjC,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAAsC,CAAC,KAAK;EAC1E,oBACEP,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEJ,MAAM,CAACK;EAAU,gBAC5BV,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEJ,MAAM,CAACM;EAAQ,gBAC1BX,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEJ,MAAM,CAACO;EAAM,GAAC,6BAA2B,CAAC,eACvDZ,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEJ,MAAM,CAACQ;EAAK,GAAC,yDAC+B,EAAE,IAAG,EAAC,0CAEzD,CAAC,eACPb,KAAA,CAAAQ,aAAA,CAACN,KAAK;IACJY,MAAM,EAAEC,OAAO,CAAC,yDAAyD,CAAE;IAC3EN,KAAK,EAAEJ,MAAM,CAACW,KAAM;IACpBC,UAAU,EAAC;EAAS,CACrB,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEJ,MAAM,CAACQ;EAAK,GAAC,+DAEpB,CAAC,eACPb,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEJ,MAAM,CAACa;EAAgB,gBAClClB,KAAA,CAAAQ,aAAA,CAACN,KAAK;IACJY,MAAM,EAAEC,OAAO,CAAC,8BAA8B,CAAE;IAChDN,KAAK,EAAEJ,MAAM,CAACc,KAAM;IACpBF,UAAU,EAAC;EAAQ,CACpB,CAAC,eACFjB,KAAA,CAAAQ,aAAA,CAACN,KAAK;IACJY,MAAM,EAAEC,OAAO,CAAC,sDAAsD,CAAE;IACxEN,KAAK,EAAEJ,MAAM,CAACW,KAAM;IACpBC,UAAU,EAAC;EAAS,CACrB,CACG,CAAC,eACPjB,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEJ,MAAM,CAACQ;EAAK,GAAC,wCAA0C,CAAC,eACrEb,KAAA,CAAAQ,aAAA,CAACJ,gBAAgB;IACfgB,OAAO,EAAEb,iBAAkB;IAC3BE,KAAK,EAAEJ,MAAM,CAACgB,MAAO;IACrBC,aAAa,EAAE;EAAI,gBAEnBtB,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEJ,MAAM,CAACkB;EAAW,GAAC,iBAAqB,CACrC,CACd,CACF,CAAC;AAEX,CAAC"}
@@ -1,56 +0,0 @@
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
- gap: 10
8
- },
9
- containerImages: {
10
- justifyContent: 'center'
11
- },
12
- image: {
13
- width: 150,
14
- height: 150,
15
- alignSelf: 'center',
16
- borderRadius: 15
17
- },
18
- arrow: {
19
- position: 'absolute',
20
- width: 50,
21
- height: 50,
22
- marginHorizontal: 32
23
- },
24
- content: {
25
- marginVertical: 10,
26
- marginHorizontal: 20,
27
- gap: 10
28
- },
29
- title: {
30
- alignSelf: 'center',
31
- fontSize: 22,
32
- fontWeight: 'bold',
33
- marginVertical: 10,
34
- color: '#000'
35
- },
36
- text: {
37
- fontSize: 18,
38
- textAlign: 'center',
39
- fontWeight: Platform.OS === 'ios' ? '300' : 'normal',
40
- marginVertical: 10,
41
- color: '#000'
42
- },
43
- button: {
44
- width: '100%',
45
- alignItems: 'center',
46
- marginTop: 20,
47
- padding: 12,
48
- borderRadius: 10,
49
- backgroundColor: '#3652AD'
50
- },
51
- textButton: {
52
- fontSize: 18,
53
- color: '#fff'
54
- }
55
- });
56
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Platform","styles","create","container","flex","justifyContent","backgroundColor","gap","containerImages","image","width","height","alignSelf","borderRadius","arrow","position","marginHorizontal","content","marginVertical","title","fontSize","fontWeight","color","text","textAlign","OS","button","alignItems","marginTop","padding","textButton"],"sourceRoot":"../../../../../../src","sources":["screens/CadastroFinger/components/AjudaCadastro/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,GAAG,EAAE;EACP,CAAC;EACDC,eAAe,EAAE;IACfH,cAAc,EAAE;EAClB,CAAC;EACDI,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;EACDC,OAAO,EAAE;IACPC,cAAc,EAAE,EAAE;IAClBF,gBAAgB,EAAE,EAAE;IACpBT,GAAG,EAAE;EACP,CAAC;EACDY,KAAK,EAAE;IACLP,SAAS,EAAE,QAAQ;IACnBQ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBH,cAAc,EAAE,EAAE;IAClBI,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJH,QAAQ,EAAE,EAAE;IACZI,SAAS,EAAE,QAAQ;IACnBH,UAAU,EAAErB,QAAQ,CAACyB,EAAE,KAAK,KAAK,GAAG,KAAK,GAAG,QAAQ;IACpDP,cAAc,EAAE,EAAE;IAClBI,KAAK,EAAE;EACT,CAAC;EACDI,MAAM,EAAE;IACNhB,KAAK,EAAE,MAAM;IACbiB,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,EAAE;IACXhB,YAAY,EAAE,EAAE;IAChBP,eAAe,EAAE;EACnB,CAAC;EACDwB,UAAU,EAAE;IACVV,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
@@ -1,288 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React, { useCallback, useEffect, useRef, useState } from 'react';
3
- import { Alert, Text, View, TouchableOpacity, Button } from 'react-native';
4
- import { Camera, useCameraFormat, useCameraDevice } from 'react-native-vision-camera';
5
- import Modal from 'react-native-modal';
6
- import Orientation from 'react-native-orientation-locker';
7
- import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
8
- import { runOnJS } from 'react-native-reanimated';
9
- import { AjudaCadastro } from '../AjudaCadastro';
10
- import { ImageDisplayScreen } from '../ImageDisplayScreen';
11
- import { sendImages } from '../../../../services';
12
- import { getConfigCamera } from '../../../../utils';
13
- import { encodeImageToBase64, validarBase64 } from '../../../../utils/file';
14
- import { CameraConfigInfos } from '../../../../components/CameraConfigInfos';
15
- import { DeviceNullDisplay } from '../../../../components/DeviceNullDisplay';
16
- import { ErrorDisplay } from '../../../../components/ErrorDisplay';
17
- import { Gabarito } from '../../../../components/Gabarito';
18
- import { WaitingForResult } from '../../../../components/WaitingForResult';
19
- import { styles } from './styles';
20
- let vezesQualidadeDigitalCount = 0;
21
- export const CameraCadastro = ({
22
- isVisible = false,
23
- onCloseModal,
24
- onError,
25
- onSuccess,
26
- screenProps,
27
- onMaxAttempts,
28
- maxAttempts = 3,
29
- ModalParams
30
- }) => {
31
- const id = screenProps === null || screenProps === void 0 ? void 0 : screenProps.id;
32
- const camera = useRef(null);
33
- let base64Image = [];
34
- const [showCamera, setShowCamera] = useState(false);
35
- const [showOverlay, setShowOverlay] = useState(false);
36
- const [arrayImages, setArrayImages] = useState([]);
37
- const [load, setLoad] = useState(false);
38
- const [fingerErro, setFingerErro] = useState(false);
39
- const [badImageModal, setBadImageModal] = useState(false);
40
- const [cameraConfigs, setCameraConfigs] = useState();
41
-
42
- // mantem a tela em modo portrait
43
- useEffect(() => {
44
- Orientation.lockToPortrait();
45
- return () => {
46
- Orientation.unlockAllOrientations();
47
- };
48
- }, []);
49
-
50
- // Pega a permissão da camera do dispositivo
51
- const requestCameraPermission = useCallback(async () => {
52
- try {
53
- await Camera.requestCameraPermission();
54
- } catch (error) {}
55
- }, []);
56
-
57
- // pra garantir que a permissão da camera seja solicitada
58
- useEffect(() => {
59
- requestCameraPermission();
60
- }, [requestCameraPermission]);
61
- useEffect(() => {
62
- getConfigCamera('finger').then(config => {
63
- setCameraConfigs(config);
64
- }).catch(error => {
65
- console.error(error);
66
- });
67
- }, []);
68
- const device = useCameraDevice('back', {
69
- physicalDevices: ['wide-angle-camera']
70
- });
71
- const cameraFormat = useCameraFormat(device, [{
72
- photoResolution: {
73
- height: 1280,
74
- width: 720
75
- }
76
- }]);
77
- useEffect(() => {
78
- if (fingerErro) {
79
- Alert.alert('Erro', 'Tentavias excedidas !');
80
- onMaxAttempts && onMaxAttempts();
81
- }
82
- }, [fingerErro, onMaxAttempts]);
83
- const handleProximaTela = () => {
84
- setShowCamera(true);
85
- };
86
- useEffect(() => {
87
- return () => {
88
- // clean up
89
- if (vezesQualidadeDigitalCount >= 3) {
90
- vezesQualidadeDigitalCount = 0;
91
- }
92
- setLoad(false);
93
- setArrayImages([]);
94
- setFingerErro(false);
95
- setBadImageModal(false);
96
- setShowCamera(false);
97
- };
98
- }, []);
99
-
100
- // captura a foto da camera
101
- useEffect(() => {
102
- requestCameraPermission();
103
- }, [requestCameraPermission]);
104
- const capturedPhoto = async () => {
105
- var _camera$current;
106
- const photo = await ((_camera$current = camera.current) === null || _camera$current === void 0 ? void 0 : _camera$current.takePhoto({
107
- qualityPrioritization: 'speed',
108
- flash: 'off'
109
- }));
110
- if (photo == null) return;
111
- const base64 = await encodeImageToBase64(photo.path);
112
- base64Image.push(base64 ?? '');
113
- setArrayImages(prevArray => [...prevArray, ...base64Image]);
114
- };
115
-
116
- // Fecha o modal
117
- const onCloseModalHandler = useCallback(() => {
118
- ResetScreenAndStates();
119
- onCloseModal && onCloseModal();
120
- }, [onCloseModal]);
121
-
122
- // Envia a imagem para a validação da digital
123
- const sendFile = useCallback(async () => {
124
- try {
125
- let UID = id;
126
- let finger = 'DI';
127
- let images = arrayImages;
128
- if (validarBase64(images) === false) return;
129
- let req = images.length === 3 ? await sendImages(UID, finger, images) : null;
130
- if (req.code === 0) {
131
- Alert.alert('Sucesso !');
132
- onSuccess && onSuccess(req);
133
- setLoad(false);
134
- setArrayImages([]);
135
- onCloseModalHandler();
136
- setShowOverlay(false);
137
- } else if (req.code === 1) {
138
- Alert.alert('Já cadastrada !');
139
- onCloseModalHandler();
140
- setShowOverlay(false);
141
- } else {
142
- //alert("Erro, por favor, verifique e tente novamente !")
143
- vezesQualidadeDigitalCount += 1; // Incrementa a contagem
144
- if (arrayImages.length > 0) {
145
- setBadImageModal(true);
146
- }
147
- setLoad(false);
148
- setShowOverlay(false);
149
- setArrayImages([]);
150
- }
151
- setLoad(false);
152
- setShowOverlay(false);
153
- } catch (error) {
154
- console.log('Erro ao enviar imagens: ' + error);
155
- setLoad(false);
156
- setArrayImages([]);
157
- onError && onError();
158
- Alert.alert('Erro ao enviar imagem !');
159
- vezesQualidadeDigitalCount += 1;
160
- setShowOverlay(false);
161
- }
162
- }, [arrayImages, id, onError, onSuccess, onCloseModalHandler]);
163
-
164
- // Envia a imagem para a validação da digital
165
- useEffect(() => {
166
- if (arrayImages.length === 3) {
167
- setLoad(true);
168
- setShowOverlay(true);
169
- sendFile();
170
- }
171
- if (vezesQualidadeDigitalCount >= maxAttempts) {
172
- setFingerErro(true); // Define fingerErro como true após 2 acessos
173
- vezesQualidadeDigitalCount = 0;
174
- }
175
- }, [arrayImages, id, maxAttempts, sendFile]);
176
-
177
- // Função para resetar os estados da tela
178
- const ResetScreenAndStates = () => {
179
- setLoad(false);
180
- setArrayImages([]);
181
- setFingerErro(false);
182
- setBadImageModal(false);
183
- setShowCamera(false);
184
- };
185
-
186
- // Função para focar a camera
187
- const focus = useCallback(point => {
188
- const c = camera.current;
189
- if (c == null) return;
190
- c.focus(point);
191
- }, []);
192
-
193
- // Função para focar a camera
194
- const gesture = Gesture.Tap().onBegin(({
195
- x,
196
- y
197
- }) => {
198
- runOnJS(focus)({
199
- x,
200
- y
201
- });
202
- });
203
- if (!showCamera) {
204
- return /*#__PURE__*/React.createElement(AjudaCadastro, {
205
- handleProximaTela: handleProximaTela
206
- });
207
- }
208
- if (!screenProps && isVisible) {
209
- return /*#__PURE__*/React.createElement(ErrorDisplay, {
210
- isVisible: isVisible,
211
- onCloseModalHandler: onCloseModalHandler,
212
- requestCameraPermission: requestCameraPermission
213
- });
214
- }
215
- if (device == null) {
216
- return /*#__PURE__*/React.createElement(DeviceNullDisplay, {
217
- isVisible: isVisible,
218
- onCloseModalHandler: onCloseModalHandler,
219
- requestCameraPermission: requestCameraPermission
220
- });
221
- }
222
- if (showCamera && screenProps && cameraConfigs !== null) {
223
- return /*#__PURE__*/React.createElement(Modal, _extends({
224
- style: styles.modal,
225
- isVisible: isVisible,
226
- swipeDirection: "down",
227
- propagateSwipe: true,
228
- onSwipeComplete: onCloseModalHandler
229
- }, ModalParams), /*#__PURE__*/React.createElement(GestureHandlerRootView, {
230
- style: styles.root
231
- }, /*#__PURE__*/React.createElement(View, {
232
- style: styles.container
233
- }, showOverlay && /*#__PURE__*/React.createElement(WaitingForResult, {
234
- onPress: () => {
235
- setShowOverlay(false);
236
- }
237
- }), !badImageModal ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(GestureDetector, {
238
- gesture: gesture
239
- }, /*#__PURE__*/React.createElement(View, {
240
- style: styles.cameraContainer
241
- }, /*#__PURE__*/React.createElement(Camera, {
242
- ref: camera,
243
- style: styles.camera,
244
- isActive: true,
245
- device: device,
246
- format: cameraFormat,
247
- torch: 'on',
248
- focusable: true,
249
- exposure: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.exposure,
250
- zoom: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.zoom,
251
- photo: true,
252
- enableHighQualityPhotos: true
253
- }), !showOverlay && /*#__PURE__*/React.createElement(Gabarito, null))), /*#__PURE__*/React.createElement(View, {
254
- style: styles.containerCapture
255
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
256
- disabled: load,
257
- onPress: capturedPhoto
258
- }, /*#__PURE__*/React.createElement(View, {
259
- style: styles.containerButton
260
- }, !load ? /*#__PURE__*/React.createElement(Text, {
261
- style: styles.textButton
262
- }, "Tirar Foto (", arrayImages === null || arrayImages === void 0 ? void 0 : arrayImages.length, "/3)") : /*#__PURE__*/React.createElement(Text, {
263
- style: styles.textButton
264
- }, "Verificando Digital...")))), /*#__PURE__*/React.createElement(View, {
265
- style: styles.containerButtonClose
266
- }, /*#__PURE__*/React.createElement(Button, {
267
- disabled: load,
268
- title: "Fechar Camera",
269
- onPress: onCloseModalHandler
270
- })), /*#__PURE__*/React.createElement(View, {
271
- style: styles.cameraConfigs
272
- }, /*#__PURE__*/React.createElement(CameraConfigInfos, {
273
- exposure: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.exposure,
274
- zoom: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.zoom,
275
- showButtonInfo: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.showButtonInfo
276
- }))) : /*#__PURE__*/React.createElement(ImageDisplayScreen, {
277
- onCloseModal: () => {
278
- setBadImageModal(false);
279
- setArrayImages([]);
280
- },
281
- screenProps: {
282
- base64Image: arrayImages[0]
283
- }
284
- }))));
285
- }
286
- return null;
287
- };
288
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","useEffect","useRef","useState","Alert","Text","View","TouchableOpacity","Button","Camera","useCameraFormat","useCameraDevice","Modal","Orientation","Gesture","GestureDetector","GestureHandlerRootView","runOnJS","AjudaCadastro","ImageDisplayScreen","sendImages","getConfigCamera","encodeImageToBase64","validarBase64","CameraConfigInfos","DeviceNullDisplay","ErrorDisplay","Gabarito","WaitingForResult","styles","vezesQualidadeDigitalCount","CameraCadastro","isVisible","onCloseModal","onError","onSuccess","screenProps","onMaxAttempts","maxAttempts","ModalParams","id","camera","base64Image","showCamera","setShowCamera","showOverlay","setShowOverlay","arrayImages","setArrayImages","load","setLoad","fingerErro","setFingerErro","badImageModal","setBadImageModal","cameraConfigs","setCameraConfigs","lockToPortrait","unlockAllOrientations","requestCameraPermission","error","then","config","catch","console","device","physicalDevices","cameraFormat","photoResolution","height","width","alert","handleProximaTela","capturedPhoto","_camera$current","photo","current","takePhoto","qualityPrioritization","flash","base64","path","push","prevArray","onCloseModalHandler","ResetScreenAndStates","sendFile","UID","finger","images","req","length","code","log","focus","point","c","gesture","Tap","onBegin","x","y","createElement","_extends","style","modal","swipeDirection","propagateSwipe","onSwipeComplete","root","container","onPress","Fragment","cameraContainer","ref","isActive","format","torch","focusable","exposure","zoom","enableHighQualityPhotos","containerCapture","disabled","containerButton","textButton","containerButtonClose","title","showButtonInfo"],"sourceRoot":"../../../../../../src","sources":["screens/CadastroFinger/components/CameraCadastro/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ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CAAC;MACpB,CAAE;MACFZ,WAAW,EAAE;QAAEM,WAAW,EAAEK,WAAW,CAAC,CAAC;MAAE;IAAE,CAC9C,CAEC,CACgB,CACnB,CAAC;EAEZ;EACA,OAAO,IAAI;AACb,CAAC"}
@@ -1,48 +0,0 @@
1
- import { StyleSheet, Dimensions, Platform } from 'react-native';
2
- const {
3
- height
4
- } = Dimensions.get('window');
5
- export const styles = StyleSheet.create({
6
- container: {
7
- flex: 1
8
- },
9
- root: {
10
- flex: 1
11
- },
12
- cameraContainer: {
13
- flex: 1
14
- },
15
- camera: {
16
- flex: 1,
17
- justifyContent: 'flex-end',
18
- paddingBottom: height * 0.2
19
- },
20
- containerCapture: {
21
- height: height * 0.2,
22
- alignItems: 'center',
23
- justifyContent: 'center'
24
- },
25
- modal: {
26
- margin: 0
27
- },
28
- containerButton: {
29
- width: 350,
30
- height: 100,
31
- borderRadius: 80,
32
- backgroundColor: 'blue',
33
- alignItems: 'center',
34
- justifyContent: 'center'
35
- },
36
- textButton: {
37
- fontSize: 18,
38
- fontWeight: '500',
39
- color: '#fff'
40
- },
41
- containerButtonClose: {
42
- marginBottom: Platform.OS === 'ios' ? 48 : 0
43
- },
44
- cameraConfigs: {
45
- alignItems: 'center'
46
- }
47
- });
48
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Dimensions","Platform","height","get","styles","create","container","flex","root","cameraContainer","camera","justifyContent","paddingBottom","containerCapture","alignItems","modal","margin","containerButton","width","borderRadius","backgroundColor","textButton","fontSize","fontWeight","color","containerButtonClose","marginBottom","OS","cameraConfigs"],"sourceRoot":"../../../../../../src","sources":["screens/CadastroFinger/components/CameraCadastro/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAE/D,MAAM;EAAEC;AAAO,CAAC,GAAGF,UAAU,CAACG,GAAG,CAAC,QAAQ,CAAC;AAE3C,OAAO,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE;EACR,CAAC;EACDC,IAAI,EAAE;IACJD,IAAI,EAAE;EACR,CAAC;EACDE,eAAe,EAAE;IACfF,IAAI,EAAE;EACR,CAAC;EACDG,MAAM,EAAE;IACNH,IAAI,EAAE,CAAC;IACPI,cAAc,EAAE,UAAU;IAC1BC,aAAa,EAAEV,MAAM,GAAG;EAC1B,CAAC;EACDW,gBAAgB,EAAE;IAChBX,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBY,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDI,KAAK,EAAE;IACLC,MAAM,EAAE;EACV,CAAC;EACDC,eAAe,EAAE;IACfC,KAAK,EAAE,GAAG;IACVhB,MAAM,EAAE,GAAG;IACXiB,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE,MAAM;IACvBN,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDU,UAAU,EAAE;IACVC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT,CAAC;EACDC,oBAAoB,EAAE;IACpBC,YAAY,EAAEzB,QAAQ,CAAC0B,EAAE,KAAK,KAAK,GAAG,EAAE,GAAG;EAC7C,CAAC;EACDC,aAAa,EAAE;IACbd,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}