@ha_tecno/live-id-sdk 2.14.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (294) hide show
  1. package/lib/commonjs/assets/svg/btn.svg +4 -0
  2. package/lib/commonjs/assets/svg/fingers/LI.svg +5 -0
  3. package/lib/commonjs/assets/svg/fingers/LM.svg +5 -0
  4. package/lib/commonjs/assets/svg/fingers/LP.svg +5 -0
  5. package/lib/commonjs/assets/svg/fingers/LR.svg +5 -0
  6. package/lib/commonjs/assets/svg/fingers/LT.svg +5 -0
  7. package/lib/commonjs/assets/svg/fingers/RI.svg +5 -0
  8. package/lib/commonjs/assets/svg/fingers/RM.svg +5 -0
  9. package/lib/commonjs/assets/svg/fingers/RP.svg +5 -0
  10. package/lib/commonjs/assets/svg/fingers/RR.svg +5 -0
  11. package/lib/commonjs/assets/svg/fingers/RT.svg +5 -0
  12. package/lib/commonjs/assets/svg/hand.svg +15 -0
  13. package/lib/commonjs/assets/svg/phone.svg +39 -0
  14. package/lib/commonjs/assets/svg/recordButton.svg +4 -0
  15. package/lib/commonjs/assets/svg/rectangle.svg +3 -0
  16. package/lib/commonjs/components/Gabarito/gabarito.js +56 -0
  17. package/lib/commonjs/components/Gabarito/gabarito.js.map +1 -0
  18. package/lib/commonjs/components/Gabarito/styles.js +2 -16
  19. package/lib/commonjs/components/Gabarito/styles.js.map +1 -1
  20. package/lib/commonjs/components/{Gabarito/index.js → HAButton/HAButton.js} +11 -7
  21. package/lib/commonjs/components/HAButton/HAButton.js.map +1 -0
  22. package/lib/commonjs/components/HAButton/styles.js +28 -0
  23. package/lib/commonjs/components/HAButton/styles.js.map +1 -0
  24. package/lib/commonjs/components/HACaptureButton/HACaptureButton.js +21 -0
  25. package/lib/commonjs/components/HACaptureButton/HACaptureButton.js.map +1 -0
  26. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js +4 -1
  27. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js.map +1 -1
  28. package/lib/commonjs/components/HACaptureInstructions/style.js +9 -3
  29. package/lib/commonjs/components/HACaptureInstructions/style.js.map +1 -1
  30. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +3 -5
  31. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -1
  32. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js +2 -1
  33. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js.map +1 -1
  34. package/lib/commonjs/components/{modalMessage/modalMessage.js → HAModalMessage/HAModalMessage.js} +26 -14
  35. package/lib/commonjs/components/HAModalMessage/HAModalMessage.js.map +1 -0
  36. package/lib/commonjs/components/{modalMessage → HAModalMessage}/styles.js +15 -9
  37. package/lib/commonjs/components/HAModalMessage/styles.js.map +1 -0
  38. package/lib/commonjs/components/HARecordButton/HARecordButton.js +21 -0
  39. package/lib/commonjs/components/HARecordButton/HARecordButton.js.map +1 -0
  40. package/lib/commonjs/components/HARecordButton/styles.js +2 -0
  41. package/lib/commonjs/components/HARecordButton/styles.js.map +1 -0
  42. package/lib/commonjs/components/HARecordInstructions/HARecordInstructions.js +101 -0
  43. package/lib/commonjs/components/HARecordInstructions/HARecordInstructions.js.map +1 -0
  44. package/lib/commonjs/components/HARecordInstructions/data.js +14 -0
  45. package/lib/commonjs/components/HARecordInstructions/data.js.map +1 -0
  46. package/lib/commonjs/components/HARecordInstructions/styles.js +65 -0
  47. package/lib/commonjs/components/HARecordInstructions/styles.js.map +1 -0
  48. package/lib/commonjs/components/HAStepIndicator/HAStepIndicator.js +39 -0
  49. package/lib/commonjs/components/HAStepIndicator/HAStepIndicator.js.map +1 -0
  50. package/lib/commonjs/components/HAStepIndicator/styles.js +48 -0
  51. package/lib/commonjs/components/HAStepIndicator/styles.js.map +1 -0
  52. package/lib/commonjs/components/index.js +44 -9
  53. package/lib/commonjs/components/index.js.map +1 -1
  54. package/lib/commonjs/index.js +6 -0
  55. package/lib/commonjs/index.js.map +1 -1
  56. package/lib/commonjs/screens/FingerAuth/FingerAuth.js +15 -20
  57. package/lib/commonjs/screens/FingerAuth/FingerAuth.js.map +1 -1
  58. package/lib/commonjs/screens/FingerAuth/styles.js +18 -11
  59. package/lib/commonjs/screens/FingerAuth/styles.js.map +1 -1
  60. package/lib/commonjs/screens/FingerRegister/FingerRegister.js +96 -62
  61. package/lib/commonjs/screens/FingerRegister/FingerRegister.js.map +1 -1
  62. package/lib/commonjs/screens/FingerRegister/data.js +60 -0
  63. package/lib/commonjs/screens/FingerRegister/data.js.map +1 -0
  64. package/lib/commonjs/screens/FingerRegister/styles.js +71 -34
  65. package/lib/commonjs/screens/FingerRegister/styles.js.map +1 -1
  66. package/lib/commonjs/screens/LifeCertificate/LifeCertificate.js +19 -22
  67. package/lib/commonjs/screens/LifeCertificate/LifeCertificate.js.map +1 -1
  68. package/lib/commonjs/screens/LifeCertificate/styles.js +23 -4
  69. package/lib/commonjs/screens/LifeCertificate/styles.js.map +1 -1
  70. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js +76 -49
  71. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -1
  72. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +73 -34
  73. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -1
  74. package/lib/commonjs/screens/RegisterOperations/styles.js +74 -21
  75. package/lib/commonjs/screens/RegisterOperations/styles.js.map +1 -1
  76. package/lib/commonjs/services/services.js +1 -1
  77. package/lib/commonjs/services/services.js.map +1 -1
  78. package/lib/commonjs/store/modules/lifeCertificate/slice.js +5 -3
  79. package/lib/commonjs/store/modules/lifeCertificate/slice.js.map +1 -1
  80. package/lib/commonjs/store/modules/operationPoints/slice.js +48 -18
  81. package/lib/commonjs/store/modules/operationPoints/slice.js.map +1 -1
  82. package/lib/module/assets/svg/btn.svg +4 -0
  83. package/lib/module/assets/svg/fingers/LI.svg +5 -0
  84. package/lib/module/assets/svg/fingers/LM.svg +5 -0
  85. package/lib/module/assets/svg/fingers/LP.svg +5 -0
  86. package/lib/module/assets/svg/fingers/LR.svg +5 -0
  87. package/lib/module/assets/svg/fingers/LT.svg +5 -0
  88. package/lib/module/assets/svg/fingers/RI.svg +5 -0
  89. package/lib/module/assets/svg/fingers/RM.svg +5 -0
  90. package/lib/module/assets/svg/fingers/RP.svg +5 -0
  91. package/lib/module/assets/svg/fingers/RR.svg +5 -0
  92. package/lib/module/assets/svg/fingers/RT.svg +5 -0
  93. package/lib/module/assets/svg/hand.svg +15 -0
  94. package/lib/module/assets/svg/phone.svg +39 -0
  95. package/lib/module/assets/svg/recordButton.svg +4 -0
  96. package/lib/module/assets/svg/rectangle.svg +3 -0
  97. package/lib/module/components/Gabarito/gabarito.js +49 -0
  98. package/lib/module/components/Gabarito/gabarito.js.map +1 -0
  99. package/lib/module/components/Gabarito/styles.js +3 -17
  100. package/lib/module/components/Gabarito/styles.js.map +1 -1
  101. package/lib/module/components/HAButton/HAButton.js +16 -0
  102. package/lib/module/components/HAButton/HAButton.js.map +1 -0
  103. package/lib/module/components/HAButton/styles.js +22 -0
  104. package/lib/module/components/HAButton/styles.js.map +1 -0
  105. package/lib/module/components/HACaptureButton/HACaptureButton.js +14 -0
  106. package/lib/module/components/HACaptureButton/HACaptureButton.js.map +1 -0
  107. package/lib/module/components/HACaptureInstructions/HACard/styles.js +5 -2
  108. package/lib/module/components/HACaptureInstructions/HACard/styles.js.map +1 -1
  109. package/lib/module/components/HACaptureInstructions/style.js +10 -4
  110. package/lib/module/components/HACaptureInstructions/style.js.map +1 -1
  111. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +3 -5
  112. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -1
  113. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js +2 -1
  114. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js.map +1 -1
  115. package/lib/module/components/{modalMessage/modalMessage.js → HAModalMessage/HAModalMessage.js} +26 -14
  116. package/lib/module/components/HAModalMessage/HAModalMessage.js.map +1 -0
  117. package/lib/module/components/{modalMessage → HAModalMessage}/styles.js +15 -9
  118. package/lib/module/components/HAModalMessage/styles.js.map +1 -0
  119. package/lib/module/components/HARecordButton/HARecordButton.js +14 -0
  120. package/lib/module/components/HARecordButton/HARecordButton.js.map +1 -0
  121. package/lib/module/components/HARecordButton/styles.js +2 -0
  122. package/lib/module/components/HARecordButton/styles.js.map +1 -0
  123. package/lib/module/components/HARecordInstructions/HARecordInstructions.js +92 -0
  124. package/lib/module/components/HARecordInstructions/HARecordInstructions.js.map +1 -0
  125. package/lib/module/components/HARecordInstructions/data.js +8 -0
  126. package/lib/module/components/HARecordInstructions/data.js.map +1 -0
  127. package/lib/module/components/HARecordInstructions/styles.js +59 -0
  128. package/lib/module/components/HARecordInstructions/styles.js.map +1 -0
  129. package/lib/module/components/HAStepIndicator/HAStepIndicator.js +32 -0
  130. package/lib/module/components/HAStepIndicator/HAStepIndicator.js.map +1 -0
  131. package/lib/module/components/HAStepIndicator/styles.js +42 -0
  132. package/lib/module/components/HAStepIndicator/styles.js.map +1 -0
  133. package/lib/module/components/index.js +8 -3
  134. package/lib/module/components/index.js.map +1 -1
  135. package/lib/module/index.js +2 -2
  136. package/lib/module/index.js.map +1 -1
  137. package/lib/module/screens/FingerAuth/FingerAuth.js +17 -22
  138. package/lib/module/screens/FingerAuth/FingerAuth.js.map +1 -1
  139. package/lib/module/screens/FingerAuth/styles.js +19 -12
  140. package/lib/module/screens/FingerAuth/styles.js.map +1 -1
  141. package/lib/module/screens/FingerRegister/FingerRegister.js +100 -66
  142. package/lib/module/screens/FingerRegister/FingerRegister.js.map +1 -1
  143. package/lib/module/screens/FingerRegister/data.js +53 -0
  144. package/lib/module/screens/FingerRegister/data.js.map +1 -0
  145. package/lib/module/screens/FingerRegister/styles.js +72 -35
  146. package/lib/module/screens/FingerRegister/styles.js.map +1 -1
  147. package/lib/module/screens/LifeCertificate/LifeCertificate.js +22 -25
  148. package/lib/module/screens/LifeCertificate/LifeCertificate.js.map +1 -1
  149. package/lib/module/screens/LifeCertificate/styles.js +24 -5
  150. package/lib/module/screens/LifeCertificate/styles.js.map +1 -1
  151. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js +78 -52
  152. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -1
  153. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +73 -36
  154. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -1
  155. package/lib/module/screens/RegisterOperations/styles.js +74 -21
  156. package/lib/module/screens/RegisterOperations/styles.js.map +1 -1
  157. package/lib/module/services/services.js +1 -1
  158. package/lib/module/services/services.js.map +1 -1
  159. package/lib/module/store/modules/lifeCertificate/slice.js +5 -3
  160. package/lib/module/store/modules/lifeCertificate/slice.js.map +1 -1
  161. package/lib/module/store/modules/operationPoints/slice.js +48 -18
  162. package/lib/module/store/modules/operationPoints/slice.js.map +1 -1
  163. package/lib/typescript/src/components/Gabarito/gabarito.d.ts +19 -0
  164. package/lib/typescript/src/components/Gabarito/gabarito.d.ts.map +1 -0
  165. package/lib/typescript/src/components/Gabarito/styles.d.ts +1 -13
  166. package/lib/typescript/src/components/Gabarito/styles.d.ts.map +1 -1
  167. package/lib/typescript/src/components/HAButton/HAButton.d.ts +8 -0
  168. package/lib/typescript/src/components/HAButton/HAButton.d.ts.map +1 -0
  169. package/lib/typescript/src/components/HAButton/styles.d.ts +15 -0
  170. package/lib/typescript/src/components/HAButton/styles.d.ts.map +1 -0
  171. package/lib/typescript/src/components/HACaptureButton/HACaptureButton.d.ts +7 -0
  172. package/lib/typescript/src/components/HACaptureButton/HACaptureButton.d.ts.map +1 -0
  173. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts +1 -1
  174. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts.map +1 -1
  175. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts +3 -3
  176. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts.map +1 -1
  177. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.d.ts.map +1 -1
  178. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts +1 -1
  179. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts.map +1 -1
  180. package/lib/typescript/src/components/HAModalMessage/HAModalMessage.d.ts +13 -0
  181. package/lib/typescript/src/components/HAModalMessage/HAModalMessage.d.ts.map +1 -0
  182. package/lib/typescript/src/components/{modalMessage → HAModalMessage}/styles.d.ts +12 -6
  183. package/lib/typescript/src/components/HAModalMessage/styles.d.ts.map +1 -0
  184. package/lib/typescript/src/components/HARecordButton/HARecordButton.d.ts +8 -0
  185. package/lib/typescript/src/components/HARecordButton/HARecordButton.d.ts.map +1 -0
  186. package/lib/typescript/src/components/HARecordButton/styles.d.ts +1 -0
  187. package/lib/typescript/src/components/HARecordButton/styles.d.ts.map +1 -0
  188. package/lib/typescript/src/components/HARecordInstructions/HARecordInstructions.d.ts +7 -0
  189. package/lib/typescript/src/components/HARecordInstructions/HARecordInstructions.d.ts.map +1 -0
  190. package/lib/typescript/src/components/HARecordInstructions/data.d.ts +5 -0
  191. package/lib/typescript/src/components/HARecordInstructions/data.d.ts.map +1 -0
  192. package/lib/typescript/src/components/HARecordInstructions/styles.d.ts +52 -0
  193. package/lib/typescript/src/components/HARecordInstructions/styles.d.ts.map +1 -0
  194. package/lib/typescript/src/components/HAStepIndicator/HAStepIndicator.d.ts +8 -0
  195. package/lib/typescript/src/components/HAStepIndicator/HAStepIndicator.d.ts.map +1 -0
  196. package/lib/typescript/src/components/HAStepIndicator/styles.d.ts +41 -0
  197. package/lib/typescript/src/components/HAStepIndicator/styles.d.ts.map +1 -0
  198. package/lib/typescript/src/components/index.d.ts +8 -3
  199. package/lib/typescript/src/components/index.d.ts.map +1 -1
  200. package/lib/typescript/src/index.d.ts +2 -2
  201. package/lib/typescript/src/index.d.ts.map +1 -1
  202. package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts +1 -2
  203. package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts.map +1 -1
  204. package/lib/typescript/src/screens/FingerAuth/styles.d.ts +17 -7
  205. package/lib/typescript/src/screens/FingerAuth/styles.d.ts.map +1 -1
  206. package/lib/typescript/src/screens/FingerRegister/FingerRegister.d.ts +1 -2
  207. package/lib/typescript/src/screens/FingerRegister/FingerRegister.d.ts.map +1 -1
  208. package/lib/typescript/src/screens/FingerRegister/data.d.ts +9 -0
  209. package/lib/typescript/src/screens/FingerRegister/data.d.ts.map +1 -0
  210. package/lib/typescript/src/screens/FingerRegister/styles.d.ts +64 -27
  211. package/lib/typescript/src/screens/FingerRegister/styles.d.ts.map +1 -1
  212. package/lib/typescript/src/screens/LifeCertificate/LifeCertificate.d.ts +1 -2
  213. package/lib/typescript/src/screens/LifeCertificate/LifeCertificate.d.ts.map +1 -1
  214. package/lib/typescript/src/screens/LifeCertificate/styles.d.ts +18 -2
  215. package/lib/typescript/src/screens/LifeCertificate/styles.d.ts.map +1 -1
  216. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsBiometrics.d.ts.map +1 -1
  217. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.d.ts.map +1 -1
  218. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts +59 -18
  219. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts.map +1 -1
  220. package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts +2 -1
  221. package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts.map +1 -1
  222. package/lib/typescript/src/store/modules/lifeCertificate/slice.d.ts.map +1 -1
  223. package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts +2 -1
  224. package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts.map +1 -1
  225. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts +12 -4
  226. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts.map +1 -1
  227. package/lib/typescript/src/store/modules/operationPoints/slice.d.ts.map +1 -1
  228. package/lib/typescript/src/store/modules/operationPoints/types.d.ts +12 -4
  229. package/lib/typescript/src/store/modules/operationPoints/types.d.ts.map +1 -1
  230. package/package.json +5 -1
  231. package/src/assets/svg/btn.svg +4 -0
  232. package/src/assets/svg/fingers/LI.svg +5 -0
  233. package/src/assets/svg/fingers/LM.svg +5 -0
  234. package/src/assets/svg/fingers/LP.svg +5 -0
  235. package/src/assets/svg/fingers/LR.svg +5 -0
  236. package/src/assets/svg/fingers/LT.svg +5 -0
  237. package/src/assets/svg/fingers/RI.svg +5 -0
  238. package/src/assets/svg/fingers/RM.svg +5 -0
  239. package/src/assets/svg/fingers/RP.svg +5 -0
  240. package/src/assets/svg/fingers/RR.svg +5 -0
  241. package/src/assets/svg/fingers/RT.svg +5 -0
  242. package/src/assets/svg/hand.svg +15 -0
  243. package/src/assets/svg/phone.svg +39 -0
  244. package/src/assets/svg/recordButton.svg +4 -0
  245. package/src/assets/svg/rectangle.svg +3 -0
  246. package/src/components/Gabarito/gabarito.tsx +38 -0
  247. package/src/components/Gabarito/styles.ts +3 -16
  248. package/src/components/HAButton/HAButton.tsx +18 -0
  249. package/src/components/HAButton/styles.ts +22 -0
  250. package/src/components/HACaptureButton/HACaptureButton.tsx +17 -0
  251. package/src/components/HACaptureInstructions/HACard/styles.ts +5 -2
  252. package/src/components/HACaptureInstructions/style.ts +16 -4
  253. package/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.tsx +2 -4
  254. package/src/components/HACarouselCalibration/HAPagination/styles.ts +2 -1
  255. package/src/components/HAModalMessage/HAModalMessage.tsx +72 -0
  256. package/src/components/{modalMessage → HAModalMessage}/styles.ts +12 -9
  257. package/src/components/HARecordButton/HARecordButton.tsx +18 -0
  258. package/src/components/HARecordButton/styles.ts +0 -0
  259. package/src/components/HARecordInstructions/HARecordInstructions.tsx +73 -0
  260. package/src/components/HARecordInstructions/data.ts +10 -0
  261. package/src/components/HARecordInstructions/styles.ts +50 -0
  262. package/src/components/HAStepIndicator/HAStepIndicator.tsx +34 -0
  263. package/src/components/HAStepIndicator/styles.ts +42 -0
  264. package/src/components/index.ts +14 -4
  265. package/src/index.tsx +3 -2
  266. package/src/screens/FingerAuth/FingerAuth.tsx +20 -14
  267. package/src/screens/FingerAuth/styles.ts +19 -11
  268. package/src/screens/FingerRegister/FingerRegister.tsx +107 -63
  269. package/src/screens/FingerRegister/data.ts +65 -0
  270. package/src/screens/FingerRegister/styles.ts +67 -34
  271. package/src/screens/LifeCertificate/LifeCertificate.tsx +31 -25
  272. package/src/screens/LifeCertificate/styles.ts +17 -5
  273. package/src/screens/RegisterOperations/registerOperationPointsBiometrics.tsx +68 -35
  274. package/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.tsx +74 -46
  275. package/src/screens/RegisterOperations/styles.ts +65 -22
  276. package/src/services/services.ts +2 -2
  277. package/src/store/modules/lifeCertificate/slice.ts +5 -3
  278. package/src/store/modules/lifeCertificate/types.ts +2 -1
  279. package/src/store/modules/operationPoints/slice.ts +52 -17
  280. package/src/store/modules/operationPoints/types.ts +12 -4
  281. package/lib/commonjs/components/Gabarito/index.js.map +0 -1
  282. package/lib/commonjs/components/modalMessage/modalMessage.js.map +0 -1
  283. package/lib/commonjs/components/modalMessage/styles.js.map +0 -1
  284. package/lib/module/components/Gabarito/index.js +0 -12
  285. package/lib/module/components/Gabarito/index.js.map +0 -1
  286. package/lib/module/components/modalMessage/modalMessage.js.map +0 -1
  287. package/lib/module/components/modalMessage/styles.js.map +0 -1
  288. package/lib/typescript/src/components/Gabarito/index.d.ts +0 -4
  289. package/lib/typescript/src/components/Gabarito/index.d.ts.map +0 -1
  290. package/lib/typescript/src/components/modalMessage/modalMessage.d.ts +0 -11
  291. package/lib/typescript/src/components/modalMessage/modalMessage.d.ts.map +0 -1
  292. package/lib/typescript/src/components/modalMessage/styles.d.ts.map +0 -1
  293. package/src/components/Gabarito/index.tsx +0 -13
  294. package/src/components/modalMessage/modalMessage.tsx +0 -73
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","styles","exports","StyleSheet","create","container","flex","justifyContent","alignItems","modal","maxWidth","maxHeight","gap","borderRadius","padding","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","title","fontSize","fontWeight","color","text","textAlign","button","backgroundColor","paddingHorizontal","paddingVertical","textButton"],"sourceRoot":"../../../../src","sources":["components/modalMessage/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,GAAG;IACbC,SAAS,EAAE,GAAG;IACdC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,EAAE;IACXN,UAAU,EAAE,QAAQ;IACpBO,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MACZC,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE;IACV,CAAC;IACDC,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACb,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBC,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJH,QAAQ,EAAE,EAAE;IACZI,SAAS,EAAE,QAAQ;IACnBF,KAAK,EAAE;EACT,CAAC;EACDG,MAAM,EAAE;IACNC,eAAe,EAAE,SAAS;IAC1BC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBlB,YAAY,EAAE;EAChB,CAAC;EACDmB,UAAU,EAAE;IACVP,KAAK,EAAE,MAAM;IACbF,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import { View } from "react-native";
3
- import { styles } from "./styles";
4
- const Gabarito = () => {
5
- return /*#__PURE__*/React.createElement(View, {
6
- style: styles.container
7
- }, /*#__PURE__*/React.createElement(View, {
8
- style: styles.gabarito
9
- }));
10
- };
11
- export default Gabarito;
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","styles","Gabarito","createElement","style","container","gabarito"],"sourceRoot":"../../../../src","sources":["components/Gabarito/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAEjC,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EACrB,oBACEH,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACI;EAAU,gBAC5BN,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACK;EAAS,CAAE,CAC3B,CAAC;AAEX,CAAC;AAED,eAAeJ,QAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useEffect","useMemo","useState","ActivityIndicator","Modal","Text","TouchableOpacity","View","useColorScheme","styles","ModalMessage","isLoading","modal","visible","setVisible","isDark","backgroundColor","textColor","color","handleModal","createElement","animationType","transparent","style","container","Fragment","size","title","text","message","button","onPress","textButton"],"sourceRoot":"../../../../src","sources":["components/modalMessage/modalMessage.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SACEC,iBAAiB,EACjBC,KAAK,EACLC,IAAI,EAEJC,gBAAgB,EAChBC,IAAI,EAEJC,cAAc,QACT,cAAc;AACrB,SAASC,MAAM,QAAQ,UAAU;AAUjC,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAAEC,SAAS;EAAEC;AAAa,CAAC,KAAK;EAC3D,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGZ,QAAQ,CAAC,KAAK,CAAC;EAC7C,MAAMa,MAAM,GAAGP,cAAc,CAAC,CAAC,KAAK,MAAM;EAE1C,MAAMQ,eAAe,GAAGf,OAAO,CAAY,MAAM;IAC/C,OAAO;MACL,GAAGQ,MAAM,CAACG,KAAK;MACfI,eAAe,EAAED,MAAM,GAAG,SAAS,GAAG;IACxC,CAAC;EACH,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC;EAEZ,MAAME,SAAS,GAAGhB,OAAO,CAAY,MAAM;IACzC,OAAO;MACLiB,KAAK,EAAEH,MAAM,GAAG,MAAM,GAAG;IAC3B,CAAC;EACH,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC;EAEZ,MAAMI,WAAW,GAAGA,CAAA,KAAM;IACxBL,UAAU,CAAC,KAAK,CAAC;EACnB,CAAC;EAEDd,SAAS,CAAC,MAAM;IACd,IAAIW,SAAS,KAAK,IAAI,EAAEG,UAAU,CAAC,IAAI,CAAC;EAC1C,CAAC,EAAE,CAACH,SAAS,CAAC,CAAC;EAEf,oBACEZ,KAAA,CAAAqB,aAAA,CAAChB,KAAK;IAACiB,aAAa,EAAC,MAAM;IAACR,OAAO,EAAEA,OAAQ;IAACS,WAAW;EAAA,gBACvDvB,KAAA,CAAAqB,aAAA,CAACb,IAAI;IAACgB,KAAK,EAAEd,MAAM,CAACe;EAAU,gBAC5BzB,KAAA,CAAAqB,aAAA,CAACb,IAAI;IAACgB,KAAK,EAAEP;EAAgB,GAC1BL,SAAS,gBACRZ,KAAA,CAAAqB,aAAA,CAAArB,KAAA,CAAA0B,QAAA,qBACE1B,KAAA,CAAAqB,aAAA,CAACjB,iBAAiB;IAACuB,IAAI,EAAC,OAAO;IAACR,KAAK,EAAC;EAAS,CAAE,CAAC,eAClDnB,KAAA,CAAAqB,aAAA,CAACf,IAAI;IAACkB,KAAK,EAAE,CAACd,MAAM,CAACkB,KAAK,EAAEV,SAAS;EAAE,GAAC,gBAAoB,CAC5D,CAAC,gBAEHlB,KAAA,CAAAqB,aAAA,CAAArB,KAAA,CAAA0B,QAAA,qBACE1B,KAAA,CAAAqB,aAAA,CAACf,IAAI;IAACkB,KAAK,EAAE,CAACd,MAAM,CAACkB,KAAK,EAAEV,SAAS;EAAE,GAAEL,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEe,KAAY,CAAC,eAC7D5B,KAAA,CAAAqB,aAAA,CAACf,IAAI;IAACkB,KAAK,EAAE,CAACd,MAAM,CAACmB,IAAI,EAAEX,SAAS;EAAE,GAAEL,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEiB,OAAc,CAAC,eAC9D9B,KAAA,CAAAqB,aAAA,CAACb,IAAI;IAACgB,KAAK,EAAEd,MAAM,CAACqB;EAAO,gBACzB/B,KAAA,CAAAqB,aAAA,CAACd,gBAAgB;IAACiB,KAAK,EAAEd,MAAM,CAACqB,MAAO;IAACC,OAAO,EAAEZ;EAAY,gBAC3DpB,KAAA,CAAAqB,aAAA,CAACf,IAAI;IAACkB,KAAK,EAAEd,MAAM,CAACuB;EAAW,GAAC,QAAY,CAC5B,CACd,CACN,CAEA,CACF,CACD,CAAC;AAEZ,CAAC;AAED,eAAetB,YAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","styles","create","container","flex","justifyContent","alignItems","modal","maxWidth","maxHeight","gap","borderRadius","padding","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","title","fontSize","fontWeight","color","text","textAlign","button","backgroundColor","paddingHorizontal","paddingVertical","textButton"],"sourceRoot":"../../../../src","sources":["components/modalMessage/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,GAAG;IACbC,SAAS,EAAE,GAAG;IACdC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,EAAE;IACXN,UAAU,EAAE,QAAQ;IACpBO,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MACZC,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE;IACV,CAAC;IACDC,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACb,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBC,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJH,QAAQ,EAAE,EAAE;IACZI,SAAS,EAAE,QAAQ;IACnBF,KAAK,EAAE;EACT,CAAC;EACDG,MAAM,EAAE;IACNC,eAAe,EAAE,SAAS;IAC1BC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBlB,YAAY,EAAE;EAChB,CAAC;EACDmB,UAAU,EAAE;IACVP,KAAK,EAAE,MAAM;IACbF,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Gabarito: () => JSX.Element;
3
- export default Gabarito;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/modalMessage/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { View } from "react-native";
3
- import { styles } from "./styles";
4
-
5
- const Gabarito = () => {
6
- return (
7
- <View style={styles.container}>
8
- <View style={styles.gabarito} />
9
- </View>
10
- );
11
- };
12
-
13
- export default Gabarito;
@@ -1,73 +0,0 @@
1
- import React, { useEffect, useMemo, useState } from "react";
2
- import {
3
- ActivityIndicator,
4
- Modal,
5
- Text,
6
- TextStyle,
7
- TouchableOpacity,
8
- View,
9
- ViewStyle,
10
- useColorScheme
11
- } from "react-native";
12
- import { styles } from "./styles";
13
-
14
- type Props = {
15
- isLoading: boolean;
16
- modal?: {
17
- title: string;
18
- message: string;
19
- };
20
- };
21
-
22
- export const ModalMessage = ({ isLoading, modal }: Props) => {
23
- const [visible, setVisible] = useState(false);
24
- const isDark = useColorScheme() === "dark";
25
-
26
- const backgroundColor = useMemo<ViewStyle>(() => {
27
- return {
28
- ...styles.modal,
29
- backgroundColor: isDark ? "#0f0f0f" : "#fff"
30
- };
31
- }, [isDark]);
32
-
33
- const textColor = useMemo<TextStyle>(() => {
34
- return {
35
- color: isDark ? "#fff" : "#000"
36
- };
37
- }, [isDark]);
38
-
39
- const handleModal = () => {
40
- setVisible(false);
41
- };
42
-
43
- useEffect(() => {
44
- if (isLoading === true) setVisible(true);
45
- }, [isLoading]);
46
-
47
- return (
48
- <Modal animationType="fade" visible={visible} transparent>
49
- <View style={styles.container}>
50
- <View style={backgroundColor}>
51
- {isLoading ? (
52
- <>
53
- <ActivityIndicator size="large" color="#0000ff" />
54
- <Text style={[styles.title, textColor]}>Processando...</Text>
55
- </>
56
- ) : (
57
- <>
58
- <Text style={[styles.title, textColor]}>{modal?.title}</Text>
59
- <Text style={[styles.text, textColor]}>{modal?.message}</Text>
60
- <View style={styles.button}>
61
- <TouchableOpacity style={styles.button} onPress={handleModal}>
62
- <Text style={styles.textButton}>Fechar</Text>
63
- </TouchableOpacity>
64
- </View>
65
- </>
66
- )}
67
- </View>
68
- </View>
69
- </Modal>
70
- );
71
- };
72
-
73
- export default ModalMessage;