@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
@@ -0,0 +1 @@
1
+ {"version":3,"names":["create","getConfigCamera","readFile","authFinger","initialState","state","exposure","zoom","showButtonInfo","loading","code","message","modal","title","getConfig","serviceType","config","slice","setState","setModal","handleLoading","sendImage","imagePath","UID","convertedImage","response","image","error","console","resetState","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/fingerAuth/slice.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,SAAS;AAChC,SAASC,eAAe,QAAQ,gBAAgB;AAEhD,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,UAAU,QAAQ,mBAAmB;AAE9C,MAAMC,YAA0B,GAAG;EACjCC,KAAK,EAAE;IACLC,QAAQ,EAAE,CAAC;IACXC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,KAAK;IACrBC,OAAO,EAAE,KAAK;IACdC,IAAI,EAAE,IAAI;IACVC,OAAO,EAAE,EAAE;IACXC,KAAK,EAAE;MACLC,KAAK,EAAE,EAAE;MACTF,OAAO,EAAE;IACX;EACF;AACF,CAAC;AAED,MAAMG,SAAS,GAAG,MAAOC,WAAkC,IAAK;EAC9D,MAAMC,MAAM,GAAG,MAAMf,eAAe,CAACc,WAAW,CAAC;EACjDE,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACd,GAAGW;IACL;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMG,QAAQ,GAAGA,CAACN,KAAa,EAAEF,OAAe,KAAK;EACnDM,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdO,KAAK,EAAE;QACLC,KAAK;QACLF;MACF;IACF;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMS,aAAa,GAAGA,CAAA,KAAM;EAC1BH,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdI,OAAO,EAAE,CAACJ,KAAK,CAACA,KAAK,CAACI;IACxB;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMY,SAAS,GAAG,MAAAA,CAAOC,SAAiB,EAAEC,GAAW,KAAK;EAC1D,IAAI;IACFH,aAAa,CAAC,CAAC;IACf,MAAMI,cAAc,GAAG,MAAMtB,QAAQ,CAACoB,SAAS,EAAE,QAAQ,CAAC;IAC1D,MAAMG,QAAQ,GAAG,MAAMtB,UAAU,CAAC;MAAEoB,GAAG;MAAEG,KAAK,EAAEF;IAAe,CAAC,CAAC;IACjEP,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;MACzBA,KAAK,EAAE;QACL,GAAGA,KAAK,CAACA,KAAK;QACdM,OAAO,EAAEc,QAAQ,CAACd,OAAO,IAAI,EAAE;QAC/BD,IAAI,EAAEe,QAAQ,CAACf;MACjB;IACF,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,OAAOiB,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAAC,QAAQ,EAAEA,KAAK,CAAC;EAChC;AACF,CAAC;AAED,MAAME,UAAU,GAAGA,CAAA,KAAM;EACvBZ,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdK,IAAI,EAAE,IAAI;MACVC,OAAO,EAAE;IACX;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMM,KAAK,GAAGjB,MAAM,CAAkB,OAAO;EAC3C,GAAGI,YAAY;EACf0B,QAAQ,EAAE;IACRhB,SAAS;IACTO,SAAS;IACTQ,UAAU;IACVT,aAAa;IACbD;EACF;AACF,CAAC,CAAC,CAAC;AAEH,eAAeF,KAAK"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["store/modules/fingerAuth/type.ts"],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { useDispatch, useSelector } from "./selectors";
2
+ export { useDispatch, useSelector };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useDispatch","useSelector"],"sourceRoot":"../../../../../src","sources":["store/modules/fingerRegister/index.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,WAAW,QAAQ,aAAa;AAEtD,SAASD,WAAW,EAAEC,WAAW"}
@@ -0,0 +1,6 @@
1
+ import createSelectors from "../../createSelectors";
2
+ import FingerRegisterStore from "./slice";
3
+ const selector = createSelectors(FingerRegisterStore);
4
+ export const useSelector = selector.use.state;
5
+ export const useDispatch = selector.use.dispatch;
6
+ //# sourceMappingURL=selectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createSelectors","FingerRegisterStore","selector","useSelector","use","state","useDispatch","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/fingerRegister/selectors.ts"],"mappings":"AAAA,OAAOA,eAAe,MAAM,uBAAuB;AACnD,OAAOC,mBAAmB,MAAM,SAAS;AAEzC,MAAMC,QAAQ,GAAGF,eAAe,CAACC,mBAAmB,CAAC;AAErD,OAAO,MAAME,WAAW,GAAGD,QAAQ,CAACE,GAAG,CAACC,KAAK;AAC7C,OAAO,MAAMC,WAAW,GAAGJ,QAAQ,CAACE,GAAG,CAACG,QAAQ"}
@@ -0,0 +1,95 @@
1
+ import { create } from "zustand";
2
+ import { readFile } from "react-native-fs";
3
+ import { registerFingerImages } from "../../../services/services";
4
+ import { getConfigCamera } from "../../../utils";
5
+ const initialState = {
6
+ state: {
7
+ exposure: 0,
8
+ zoom: 0,
9
+ showButtonInfo: false,
10
+ base64Images: [],
11
+ loading: false,
12
+ code: null,
13
+ message: "",
14
+ modal: {
15
+ title: "",
16
+ message: ""
17
+ }
18
+ }
19
+ };
20
+ const setImagePath = async imagePath => {
21
+ try {
22
+ const convertedImage = await readFile(imagePath, "base64");
23
+ slice.setState(state => ({
24
+ state: {
25
+ ...state.state,
26
+ base64Images: [...state.state.base64Images, convertedImage]
27
+ }
28
+ }));
29
+ } catch (error) {
30
+ console.error("error:", error);
31
+ }
32
+ };
33
+ const sendImages = async (images, UID) => {
34
+ const response = await registerFingerImages({
35
+ images,
36
+ UID
37
+ });
38
+ slice.setState(state => ({
39
+ state: {
40
+ ...state.state,
41
+ ...response
42
+ }
43
+ }));
44
+ };
45
+ const handleLoading = () => {
46
+ slice.setState(state => ({
47
+ state: {
48
+ ...state.state,
49
+ loading: !state.state.loading
50
+ }
51
+ }));
52
+ };
53
+ const getConfig = async serviceType => {
54
+ const config = await getConfigCamera(serviceType);
55
+ slice.setState(state => ({
56
+ state: {
57
+ ...state.state,
58
+ ...config
59
+ }
60
+ }));
61
+ };
62
+ const setModal = (title, message) => {
63
+ slice.setState(state => ({
64
+ state: {
65
+ ...state.state,
66
+ modal: {
67
+ title,
68
+ message
69
+ }
70
+ }
71
+ }));
72
+ };
73
+ const resetState = () => {
74
+ slice.setState(state => ({
75
+ state: {
76
+ ...state.state,
77
+ code: null,
78
+ message: "",
79
+ base64Images: []
80
+ }
81
+ }));
82
+ };
83
+ const slice = create(() => ({
84
+ ...initialState,
85
+ dispatch: {
86
+ getConfig,
87
+ handleLoading,
88
+ setImagePath,
89
+ sendImages,
90
+ setModal,
91
+ resetState
92
+ }
93
+ }));
94
+ export default slice;
95
+ //# sourceMappingURL=slice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["create","readFile","registerFingerImages","getConfigCamera","initialState","state","exposure","zoom","showButtonInfo","base64Images","loading","code","message","modal","title","setImagePath","imagePath","convertedImage","slice","setState","error","console","sendImages","images","UID","response","handleLoading","getConfig","serviceType","config","setModal","resetState","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/fingerRegister/slice.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,SAAS;AAChC,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,oBAAoB,QAAQ,4BAA4B;AAEjE,SAASC,eAAe,QAAQ,gBAAgB;AAEhD,MAAMC,YAA0B,GAAG;EACjCC,KAAK,EAAE;IACLC,QAAQ,EAAE,CAAC;IACXC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,KAAK;IACrBC,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,KAAK;IACdC,IAAI,EAAE,IAAI;IACVC,OAAO,EAAE,EAAE;IACXC,KAAK,EAAE;MACLC,KAAK,EAAE,EAAE;MACTF,OAAO,EAAE;IACX;EACF;AACF,CAAC;AAED,MAAMG,YAAY,GAAG,MAAOC,SAAiB,IAAK;EAChD,IAAI;IACF,MAAMC,cAAc,GAAG,MAAMhB,QAAQ,CAACe,SAAS,EAAE,QAAQ,CAAC;IAC1DE,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;MACzBA,KAAK,EAAE;QACL,GAAGA,KAAK,CAACA,KAAK;QACdI,YAAY,EAAE,CAAC,GAAGJ,KAAK,CAACA,KAAK,CAACI,YAAY,EAAEQ,cAAc;MAC5D;IACF,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,OAAOG,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAAC,QAAQ,EAAEA,KAAK,CAAC;EAChC;AACF,CAAC;AAED,MAAME,UAAU,GAAG,MAAAA,CAAOC,MAAgB,EAAEC,GAAW,KAAK;EAC1D,MAAMC,QAAQ,GAAG,MAAMvB,oBAAoB,CAAC;IAAEqB,MAAM;IAAEC;EAAI,CAAC,CAAC;EAC5DN,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACd,GAAGoB;IACL;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMC,aAAa,GAAGA,CAAA,KAAM;EAC1BR,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdK,OAAO,EAAE,CAACL,KAAK,CAACA,KAAK,CAACK;IACxB;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMiB,SAAS,GAAG,MAAOC,WAAkC,IAAK;EAC9D,MAAMC,MAAM,GAAG,MAAM1B,eAAe,CAACyB,WAAW,CAAC;EACjDV,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACd,GAAGwB;IACL;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMC,QAAQ,GAAGA,CAAChB,KAAa,EAAEF,OAAe,KAAK;EACnDM,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdQ,KAAK,EAAE;QACLC,KAAK;QACLF;MACF;IACF;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMmB,UAAU,GAAGA,CAAA,KAAM;EACvBb,KAAK,CAACC,QAAQ,CAAEd,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdM,IAAI,EAAE,IAAI;MACVC,OAAO,EAAE,EAAE;MACXH,YAAY,EAAE;IAChB;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMS,KAAK,GAAGlB,MAAM,CAAsB,OAAO;EAC/C,GAAGI,YAAY;EACf4B,QAAQ,EAAE;IACRL,SAAS;IACTD,aAAa;IACbX,YAAY;IACZO,UAAU;IACVQ,QAAQ;IACRC;EACF;AACF,CAAC,CAAC,CAAC;AAEH,eAAeb,KAAK"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["store/modules/fingerRegister/types.ts"],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { useDispatch, useSelector } from "./selectors";
2
+ export { useDispatch, useSelector };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useDispatch","useSelector"],"sourceRoot":"../../../../../src","sources":["store/modules/lifeCertificate/index.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,WAAW,QAAQ,aAAa;AAEtD,SAASD,WAAW,EAAEC,WAAW"}
@@ -0,0 +1,6 @@
1
+ import createSelectors from "../../createSelectors";
2
+ import LifeCertificateStore from "./slice";
3
+ const selector = createSelectors(LifeCertificateStore);
4
+ export const useSelector = selector.use.state;
5
+ export const useDispatch = selector.use.dispatch;
6
+ //# sourceMappingURL=selectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createSelectors","LifeCertificateStore","selector","useSelector","use","state","useDispatch","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/lifeCertificate/selectors.ts"],"mappings":"AAAA,OAAOA,eAAe,MAAM,uBAAuB;AACnD,OAAOC,oBAAoB,MAAM,SAAS;AAE1C,MAAMC,QAAQ,GAAGF,eAAe,CAACC,oBAAoB,CAAC;AAEtD,OAAO,MAAME,WAAW,GAAGD,QAAQ,CAACE,GAAG,CAACC,KAAK;AAC7C,OAAO,MAAMC,WAAW,GAAGJ,QAAQ,CAACE,GAAG,CAACG,QAAQ"}
@@ -0,0 +1,95 @@
1
+ import { create } from "zustand";
2
+ import { lifeCertificate } from "../../../services";
3
+ import { getConfigCamera } from "../../../utils";
4
+ const initialState = {
5
+ state: {
6
+ exposure: 0,
7
+ zoom: 0,
8
+ showButtonInfo: false,
9
+ loading: false,
10
+ isRecording: false,
11
+ bpm: null,
12
+ code: null,
13
+ message: "",
14
+ modal: {
15
+ title: "",
16
+ message: ""
17
+ }
18
+ }
19
+ };
20
+ const handleLoading = () => {
21
+ slice.setState(state => ({
22
+ state: {
23
+ ...state.state,
24
+ loading: !state.state.loading
25
+ }
26
+ }));
27
+ };
28
+ const setIsRecording = recoding => {
29
+ slice.setState(state => ({
30
+ state: {
31
+ ...state.state,
32
+ isRecording: recoding
33
+ }
34
+ }));
35
+ };
36
+ const sendLifeCertificate = async ({
37
+ videoFile,
38
+ UID,
39
+ exposure
40
+ }) => {
41
+ const videoPath = videoFile.path;
42
+ const response = await lifeCertificate({
43
+ videoPath,
44
+ UID,
45
+ exposure
46
+ });
47
+ slice.setState(state => ({
48
+ state: {
49
+ ...state.state,
50
+ ...response
51
+ }
52
+ }));
53
+ };
54
+ const setModal = (title, message) => {
55
+ slice.setState(state => ({
56
+ state: {
57
+ ...state.state,
58
+ modal: {
59
+ title,
60
+ message
61
+ }
62
+ }
63
+ }));
64
+ };
65
+ const getConfig = async serviceType => {
66
+ const config = await getConfigCamera(serviceType);
67
+ slice.setState(state => ({
68
+ state: {
69
+ ...state.state,
70
+ ...config
71
+ }
72
+ }));
73
+ };
74
+ const resetState = () => {
75
+ slice.setState(state => ({
76
+ state: {
77
+ ...state.state,
78
+ bpm: null,
79
+ code: null
80
+ }
81
+ }));
82
+ };
83
+ const slice = create(() => ({
84
+ ...initialState,
85
+ dispatch: {
86
+ sendLifeCertificate,
87
+ handleLoading,
88
+ setIsRecording,
89
+ resetState,
90
+ setModal,
91
+ getConfig
92
+ }
93
+ }));
94
+ export default slice;
95
+ //# sourceMappingURL=slice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["create","lifeCertificate","getConfigCamera","initialState","state","exposure","zoom","showButtonInfo","loading","isRecording","bpm","code","message","modal","title","handleLoading","slice","setState","setIsRecording","recoding","sendLifeCertificate","videoFile","UID","videoPath","path","response","setModal","getConfig","serviceType","config","resetState","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/lifeCertificate/slice.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,SAAS;AAEhC,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,eAAe,QAAQ,gBAAgB;AAEhD,MAAMC,YAA0B,GAAG;EACjCC,KAAK,EAAE;IACLC,QAAQ,EAAE,CAAC;IACXC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,KAAK;IACrBC,OAAO,EAAE,KAAK;IACdC,WAAW,EAAE,KAAK;IAClBC,GAAG,EAAE,IAAI;IACTC,IAAI,EAAE,IAAI;IACVC,OAAO,EAAE,EAAE;IACXC,KAAK,EAAE;MACLC,KAAK,EAAE,EAAE;MACTF,OAAO,EAAE;IACX;EACF;AACF,CAAC;AAED,MAAMG,aAAa,GAAGA,CAAA,KAAM;EAC1BC,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdI,OAAO,EAAE,CAACJ,KAAK,CAACA,KAAK,CAACI;IACxB;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMU,cAAc,GAAIC,QAAiB,IAAK;EAC5CH,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdK,WAAW,EAAEU;IACf;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMC,mBAAmB,GAAG,MAAAA,CAAO;EAAEC,SAAS;EAAEC,GAAG;EAAEjB;AAAkC,CAAC,KAAK;EAC3F,MAAMkB,SAAS,GAAGF,SAAS,CAACG,IAAI;EAChC,MAAMC,QAAQ,GAAG,MAAMxB,eAAe,CAAC;IACrCsB,SAAS;IACTD,GAAG;IACHjB;EACF,CAAC,CAAC;EACFW,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACd,GAAGqB;IACL;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMC,QAAQ,GAAGA,CAACZ,KAAa,EAAEF,OAAe,KAAK;EACnDI,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdS,KAAK,EAAE;QACLC,KAAK;QACLF;MACF;IACF;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMe,SAAS,GAAG,MAAOC,WAAkC,IAAK;EAC9D,MAAMC,MAAM,GAAG,MAAM3B,eAAe,CAAC0B,WAAW,CAAC;EACjDZ,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACd,GAAGyB;IACL;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMC,UAAU,GAAGA,CAAA,KAAM;EACvBd,KAAK,CAACC,QAAQ,CAAEb,KAAK,KAAM;IACzBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdM,GAAG,EAAE,IAAI;MACTC,IAAI,EAAE;IACR;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMK,KAAK,GAAGhB,MAAM,CAAuB,OAAO;EAChD,GAAGG,YAAY;EACf4B,QAAQ,EAAE;IACRX,mBAAmB;IACnBL,aAAa;IACbG,cAAc;IACdY,UAAU;IACVJ,QAAQ;IACRC;EACF;AACF,CAAC,CAAC,CAAC;AAEH,eAAeX,KAAK"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["store/modules/lifeCertificate/types.ts"],"mappings":""}
@@ -1,7 +1,7 @@
1
- import RNFS from 'react-native-fs';
1
+ import RNFS from "react-native-fs";
2
2
  export const encodeImageToBase64 = async imagePath => {
3
3
  try {
4
- const imageData = await RNFS.readFile(imagePath, 'base64');
4
+ const imageData = await RNFS.readFile(imagePath, "base64");
5
5
  return imageData;
6
6
  } catch (error) {
7
7
  return null;
@@ -18,7 +18,7 @@ export const validarBase64 = array => {
18
18
 
19
19
  // Verifica se cada elemento do array é uma string válida em base64
20
20
  for (let i = 0; i < array.length; i++) {
21
- if (typeof array[i] !== 'string' || !base64Regex.test(array[i])) {
21
+ if (typeof array[i] !== "string" || !base64Regex.test(array[i])) {
22
22
  return false;
23
23
  }
24
24
  }
@@ -1,13 +1,13 @@
1
- import { Platform } from 'react-native';
2
- import { getModel } from 'react-native-device-info';
3
- import { getConfigsApi } from '../services';
1
+ import { Platform } from "react-native";
2
+ import { getModel } from "react-native-device-info";
3
+ import { getConfigsApi } from "../services";
4
4
  const getConfigCamera = async serviceType => {
5
5
  const deviceModel = getModel();
6
6
  const deviceType = Platform.OS;
7
7
  try {
8
8
  const configs = await getConfigsApi();
9
9
  const configsDeviceType = configs.filter(config => config.deviceType === deviceType && config.serviceType === serviceType);
10
- const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes('default'));
10
+ const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes("default"));
11
11
  return configDeviceModel;
12
12
  } catch (error) {
13
13
  console.error(error);
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","getModel","getConfigsApi","getConfigCamera","serviceType","deviceModel","deviceType","OS","configs","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,0BAA0B;AACnD,SAASC,aAAa,QAAQ,aAAa;AAiB3C,MAAMC,eAAe,GAAG,MACtBC,WAAwB,IACW;EACnC,MAAMC,WAAW,GAAGJ,QAAQ,CAAC,CAAC;EAC9B,MAAMK,UAAU,GAAGN,QAAQ,CAACO,EAAE;EAC9B,IAAI;IACF,MAAMC,OAAO,GAAG,MAAMN,aAAa,CAAC,CAAC;IACrC,MAAMO,iBAAiB,GAAGD,OAAO,CAACE,MAAM,CACrCC,MAAM,IACLA,MAAM,CAACL,UAAU,KAAKA,UAAU,IAAIK,MAAM,CAACP,WAAW,KAAKA,WAC/D,CAAC;IACD,MAAMQ,iBAAiB,GAAGH,iBAAiB,CAACI,IAAI,CAC7CF,MAAM,IACLA,MAAM,CAACG,YAAY,CAACC,QAAQ,CAACV,WAAW,CAAC,IACzCM,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;AAED,eAAeb,eAAe"}
1
+ {"version":3,"names":["Platform","getModel","getConfigsApi","getConfigCamera","serviceType","deviceModel","deviceType","OS","configs","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,0BAA0B;AACnD,SAASC,aAAa,QAAQ,aAAa;AAiB3C,MAAMC,eAAe,GAAG,MAAOC,WAAwB,IAAqC;EAC1F,MAAMC,WAAW,GAAGJ,QAAQ,CAAC,CAAC;EAC9B,MAAMK,UAAU,GAAGN,QAAQ,CAACO,EAAE;EAC9B,IAAI;IACF,MAAMC,OAAO,GAAG,MAAMN,aAAa,CAAC,CAAC;IACrC,MAAMO,iBAAiB,GAAGD,OAAO,CAACE,MAAM,CACrCC,MAAM,IAAKA,MAAM,CAACL,UAAU,KAAKA,UAAU,IAAIK,MAAM,CAACP,WAAW,KAAKA,WACzE,CAAC;IACD,MAAMQ,iBAAiB,GAAGH,iBAAiB,CAACI,IAAI,CAC7CF,MAAM,IAAKA,MAAM,CAACG,YAAY,CAACC,QAAQ,CAACV,WAAW,CAAC,IAAIM,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;AAED,eAAeb,eAAe"}
@@ -1,3 +1,3 @@
1
- import getConfigCamera from './getConfigCamera';
1
+ import getConfigCamera from "./getConfigCamera";
2
2
  export { getConfigCamera };
3
3
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ exposure: number;
4
+ zoom: number;
5
+ };
6
+ declare const CameraConfigInfo: ({ exposure, zoom }: Props) => JSX.Element;
7
+ export default CameraConfigInfo;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CameraConfigInfo/index.tsx"],"names":[],"mappings":";AAIA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,gBAAgB,uBAAwB,KAAK,gBAQlD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare const styles: {
2
+ container: {
3
+ alignItems: "center";
4
+ padding: number;
5
+ backgroundColor: string;
6
+ };
7
+ text: {
8
+ fontSize: number;
9
+ fontWeight: "500";
10
+ color: string;
11
+ };
12
+ };
13
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/CameraConfigInfo/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;CAWjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ onPress: () => void;
4
+ imagesCount?: number;
5
+ authFinger?: boolean;
6
+ loading?: boolean;
7
+ };
8
+ declare const CaptureButton: ({ onPress, imagesCount, authFinger, loading }: Props) => JSX.Element;
9
+ export default CaptureButton;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaptureButton/index.tsx"],"names":[],"mappings":";AAMA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,aAAa,kDAAmD,KAAK,gBA0D1E,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const styles: {
2
+ box: {
3
+ flexDirection: "row";
4
+ height: number;
5
+ justifyContent: "center";
6
+ alignItems: "center";
7
+ borderRadius: number;
8
+ backgroundColor: string;
9
+ };
10
+ text: {
11
+ position: "absolute";
12
+ color: string;
13
+ };
14
+ };
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaptureButton/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAajB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const Gabarito: () => JSX.Element;
2
+ declare const Gabarito: () => JSX.Element;
3
+ export default Gabarito;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gabarito/index.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,QAAQ,mBAMpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gabarito/index.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,QAAQ,mBAMb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,9 +1,8 @@
1
1
  export declare const styles: {
2
2
  container: {
3
+ position: "absolute";
3
4
  justifyContent: "center";
4
5
  alignSelf: "center";
5
- position: "absolute";
6
- marginTop: "50%";
7
6
  };
8
7
  gabarito: {
9
8
  width: number;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gabarito/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAiBjB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gabarito/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;CAgBjB,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ declare const HelpRegister: () => JSX.Element;
3
+ export default HelpRegister;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/HelpRegister/index.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,YAAY,mBAiCjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -3,6 +3,8 @@ export declare const styles: {
3
3
  flex: number;
4
4
  justifyContent: "center";
5
5
  backgroundColor: string;
6
+ paddingVertical: number;
7
+ paddingHorizontal: number;
6
8
  gap: number;
7
9
  };
8
10
  containerImages: {
@@ -20,11 +22,6 @@ export declare const styles: {
20
22
  height: number;
21
23
  marginHorizontal: number;
22
24
  };
23
- content: {
24
- marginVertical: number;
25
- marginHorizontal: number;
26
- gap: number;
27
- };
28
25
  title: {
29
26
  alignSelf: "center";
30
27
  fontSize: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/HelpRegister/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDjB,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React from "react";
2
2
  interface ToastProps {
3
3
  isVisible: boolean;
4
4
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,UAAU;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAiBtC,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCjB,CAAC"}
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,UAAU;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAatC,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCjB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ hasPermission: boolean;
4
+ cameraPermission: () => void;
5
+ };
6
+ declare const DeviceNotFound: ({ hasPermission, cameraPermission }: Props) => JSX.Element;
7
+ export default DeviceNotFound;
8
+ //# sourceMappingURL=deviceNotFound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deviceNotFound.d.ts","sourceRoot":"","sources":["../../../../../src/components/deviceNotFound/deviceNotFound.tsx"],"names":[],"mappings":";AAIA,KAAK,KAAK,GAAG;IACZ,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,cAAc,wCAAyC,KAAK,gBAWjE,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,29 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flex: number;
4
+ justifyContent: "center";
5
+ alignItems: "center";
6
+ gap: number;
7
+ };
8
+ text: {
9
+ color: string;
10
+ fontSize: number;
11
+ };
12
+ button: {
13
+ alignItems: "center";
14
+ justifyContent: "center";
15
+ paddingVertical: number;
16
+ paddingHorizontal: number;
17
+ borderRadius: number;
18
+ elevation: number;
19
+ backgroundColor: string;
20
+ };
21
+ textButton: {
22
+ fontSize: number;
23
+ lineHeight: number;
24
+ fontWeight: "bold";
25
+ letterSpacing: number;
26
+ color: string;
27
+ };
28
+ };
29
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/deviceNotFound/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ name: string;
4
+ size: number;
5
+ color: string;
6
+ };
7
+ declare const Icon: ({ name, size, color }: Props) => JSX.Element;
8
+ export default Icon;
9
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/icon.tsx"],"names":[],"mappings":";AAGA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,QAAA,MAAM,IAAI,0BAA2B,KAAK,gBAEzC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -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.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ isLoading: boolean;
4
+ modal?: {
5
+ title: string;
6
+ message: string;
7
+ };
8
+ };
9
+ export declare const ModalMessage: ({ isLoading, modal }: Props) => JSX.Element;
10
+ export default ModalMessage;
11
+ //# sourceMappingURL=modalMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modalMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/modalMessage/modalMessage.tsx"],"names":[],"mappings":";AAaA,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,YAAY,yBAA0B,KAAK,gBAiDvD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,44 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flex: number;
4
+ justifyContent: "center";
5
+ alignItems: "center";
6
+ };
7
+ modal: {
8
+ maxWidth: number;
9
+ maxHeight: number;
10
+ gap: number;
11
+ borderRadius: number;
12
+ padding: number;
13
+ alignItems: "center";
14
+ shadowColor: string;
15
+ shadowOffset: {
16
+ width: number;
17
+ height: number;
18
+ };
19
+ shadowOpacity: number;
20
+ shadowRadius: number;
21
+ elevation: number;
22
+ };
23
+ title: {
24
+ fontSize: number;
25
+ fontWeight: "bold";
26
+ color: string;
27
+ };
28
+ text: {
29
+ fontSize: number;
30
+ textAlign: "center";
31
+ color: string;
32
+ };
33
+ button: {
34
+ backgroundColor: string;
35
+ paddingHorizontal: number;
36
+ paddingVertical: number;
37
+ borderRadius: number;
38
+ };
39
+ textButton: {
40
+ color: string;
41
+ fontSize: number;
42
+ };
43
+ };
44
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/modalMessage/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ onPress: () => void;
4
+ disabled: boolean;
5
+ isRecording: boolean;
6
+ timer: number;
7
+ };
8
+ declare const RecordButton: ({ onPress, disabled, timer, isRecording }: Props) => JSX.Element;
9
+ export default RecordButton;
10
+ //# sourceMappingURL=recordButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/recordButton/recordButton.tsx"],"names":[],"mappings":";AAYA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,QAAA,MAAM,YAAY,8CAA+C,KAAK,gBAqDrE,CAAC;AAEF,eAAe,YAAY,CAAC"}