@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.
- package/android/build.gradle +4 -0
- package/lib/commonjs/components/{WaitingForResult → CameraConfigInfo}/index.js +9 -11
- package/lib/commonjs/components/CameraConfigInfo/index.js.map +1 -0
- package/lib/commonjs/components/CameraConfigInfo/styles.js +20 -0
- package/lib/commonjs/components/CameraConfigInfo/styles.js.map +1 -0
- package/lib/commonjs/components/CaptureButton/index.js +88 -0
- package/lib/commonjs/components/CaptureButton/index.js.map +1 -0
- package/lib/commonjs/components/CaptureButton/styles.js +22 -0
- package/lib/commonjs/components/CaptureButton/styles.js.map +1 -0
- package/lib/commonjs/components/Gabarito/index.js +2 -2
- package/lib/commonjs/components/Gabarito/index.js.map +1 -1
- package/lib/commonjs/components/Gabarito/styles.js +10 -11
- package/lib/commonjs/components/Gabarito/styles.js.map +1 -1
- package/lib/commonjs/components/HelpRegister/index.js +51 -0
- package/lib/commonjs/components/HelpRegister/index.js.map +1 -0
- package/lib/commonjs/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/styles.js +17 -20
- package/lib/commonjs/components/HelpRegister/styles.js.map +1 -0
- package/lib/commonjs/components/Toast/Toast.js +12 -12
- package/lib/commonjs/components/Toast/Toast.js.map +1 -1
- package/lib/commonjs/components/deviceNotFound/deviceNotFound.js +27 -0
- package/lib/commonjs/components/deviceNotFound/deviceNotFound.js.map +1 -0
- package/lib/commonjs/components/deviceNotFound/styles.js +36 -0
- package/lib/commonjs/components/deviceNotFound/styles.js.map +1 -0
- package/lib/commonjs/components/icon/icon.js +22 -0
- package/lib/commonjs/components/icon/icon.js.map +1 -0
- package/lib/commonjs/components/index.js +56 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/modalMessage/modalMessage.js +63 -0
- package/lib/commonjs/components/modalMessage/modalMessage.js.map +1 -0
- package/lib/commonjs/components/modalMessage/styles.js +51 -0
- package/lib/commonjs/components/modalMessage/styles.js.map +1 -0
- package/lib/commonjs/components/recordButton/recordButton.js +83 -0
- package/lib/commonjs/components/recordButton/recordButton.js.map +1 -0
- package/lib/commonjs/components/recordButton/styles.js +21 -0
- package/lib/commonjs/components/recordButton/styles.js.map +1 -0
- package/lib/commonjs/index.js +9 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js +29 -29
- package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js.map +1 -1
- package/lib/commonjs/screens/FingerAuth/FingerAuth.js +128 -0
- package/lib/commonjs/screens/FingerAuth/FingerAuth.js.map +1 -0
- package/lib/commonjs/screens/FingerAuth/styles.js +35 -0
- package/lib/commonjs/screens/FingerAuth/styles.js.map +1 -0
- package/lib/commonjs/screens/FingerRegister/index.js +136 -0
- package/lib/commonjs/screens/FingerRegister/index.js.map +1 -0
- package/lib/commonjs/screens/FingerRegister/styles.js +35 -0
- package/lib/commonjs/screens/FingerRegister/styles.js.map +1 -0
- package/lib/commonjs/screens/LifeCertificate/index.js +145 -0
- package/lib/commonjs/screens/LifeCertificate/index.js.map +1 -0
- package/lib/commonjs/screens/LifeCertificate/styles.js +27 -0
- package/lib/commonjs/screens/LifeCertificate/styles.js.map +1 -0
- package/lib/commonjs/screens/index.js +28 -0
- package/lib/commonjs/screens/index.js.map +1 -0
- package/lib/commonjs/services/index.js +35 -101
- package/lib/commonjs/services/index.js.map +1 -1
- package/lib/commonjs/services/services.js +134 -0
- package/lib/commonjs/services/services.js.map +1 -0
- package/lib/commonjs/services/types.js +2 -0
- package/lib/commonjs/{types/screen.js.map → services/types.js.map} +1 -1
- package/lib/commonjs/store/createSelectors.js +16 -0
- package/lib/commonjs/store/createSelectors.js.map +1 -0
- package/lib/commonjs/store/modules/fingerAuth/index.js +19 -0
- package/lib/commonjs/store/modules/fingerAuth/index.js.map +1 -0
- package/lib/commonjs/store/modules/fingerAuth/selectors.js +13 -0
- package/lib/commonjs/store/modules/fingerAuth/selectors.js.map +1 -0
- package/lib/commonjs/store/modules/fingerAuth/slice.js +92 -0
- package/lib/commonjs/store/modules/fingerAuth/slice.js.map +1 -0
- package/lib/commonjs/store/modules/fingerAuth/type.js +2 -0
- package/lib/commonjs/store/modules/fingerAuth/type.js.map +1 -0
- package/lib/commonjs/store/modules/fingerRegister/index.js +19 -0
- package/lib/commonjs/store/modules/fingerRegister/index.js.map +1 -0
- package/lib/commonjs/store/modules/fingerRegister/selectors.js +13 -0
- package/lib/commonjs/store/modules/fingerRegister/selectors.js.map +1 -0
- package/lib/commonjs/store/modules/fingerRegister/slice.js +101 -0
- package/lib/commonjs/store/modules/fingerRegister/slice.js.map +1 -0
- package/lib/commonjs/store/modules/fingerRegister/types.js +2 -0
- package/lib/commonjs/store/modules/fingerRegister/types.js.map +1 -0
- package/lib/commonjs/store/modules/lifeCertificate/index.js +19 -0
- package/lib/commonjs/store/modules/lifeCertificate/index.js.map +1 -0
- package/lib/commonjs/store/modules/lifeCertificate/selectors.js +13 -0
- package/lib/commonjs/store/modules/lifeCertificate/selectors.js.map +1 -0
- package/lib/commonjs/store/modules/lifeCertificate/slice.js +101 -0
- package/lib/commonjs/store/modules/lifeCertificate/slice.js.map +1 -0
- package/lib/commonjs/store/modules/lifeCertificate/types.js +6 -0
- package/lib/commonjs/store/modules/lifeCertificate/types.js.map +1 -0
- package/lib/commonjs/utils/file.js +2 -2
- package/lib/commonjs/utils/getConfigCamera.js +1 -1
- package/lib/commonjs/utils/getConfigCamera.js.map +1 -1
- package/lib/module/components/CameraConfigInfo/index.js +15 -0
- package/lib/module/components/CameraConfigInfo/index.js.map +1 -0
- package/lib/module/components/CameraConfigInfo/styles.js +14 -0
- package/lib/module/components/CameraConfigInfo/styles.js.map +1 -0
- package/lib/module/components/CaptureButton/index.js +79 -0
- package/lib/module/components/CaptureButton/index.js.map +1 -0
- package/lib/module/components/CaptureButton/styles.js +16 -0
- package/lib/module/components/CaptureButton/styles.js.map +1 -0
- package/lib/module/components/Gabarito/index.js +5 -4
- package/lib/module/components/Gabarito/index.js.map +1 -1
- package/lib/module/components/Gabarito/styles.js +11 -12
- package/lib/module/components/Gabarito/styles.js.map +1 -1
- package/lib/module/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/index.js +17 -15
- package/lib/module/components/HelpRegister/index.js.map +1 -0
- package/lib/module/components/HelpRegister/styles.js +53 -0
- package/lib/module/components/HelpRegister/styles.js.map +1 -0
- package/lib/module/components/Toast/Toast.js +14 -14
- package/lib/module/components/Toast/Toast.js.map +1 -1
- package/lib/module/components/deviceNotFound/deviceNotFound.js +20 -0
- package/lib/module/components/deviceNotFound/deviceNotFound.js.map +1 -0
- package/lib/module/components/deviceNotFound/styles.js +30 -0
- package/lib/module/components/deviceNotFound/styles.js.map +1 -0
- package/lib/module/components/icon/icon.js +15 -0
- package/lib/module/components/icon/icon.js.map +1 -0
- package/lib/module/components/index.js +9 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/modalMessage/modalMessage.js +54 -0
- package/lib/module/components/modalMessage/modalMessage.js.map +1 -0
- package/lib/module/components/modalMessage/styles.js +45 -0
- package/lib/module/components/modalMessage/styles.js.map +1 -0
- package/lib/module/components/recordButton/recordButton.js +74 -0
- package/lib/module/components/recordButton/recordButton.js.map +1 -0
- package/lib/module/components/recordButton/styles.js +15 -0
- package/lib/module/components/recordButton/styles.js.map +1 -0
- package/lib/module/index.js +4 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/screens/CadastroScreen/CadastroScreen.js +33 -33
- package/lib/module/screens/CadastroScreen/CadastroScreen.js.map +1 -1
- package/lib/module/screens/FingerAuth/FingerAuth.js +119 -0
- package/lib/module/screens/FingerAuth/FingerAuth.js.map +1 -0
- package/lib/module/screens/FingerAuth/styles.js +29 -0
- package/lib/module/screens/FingerAuth/styles.js.map +1 -0
- package/lib/module/screens/FingerRegister/index.js +127 -0
- package/lib/module/screens/FingerRegister/index.js.map +1 -0
- package/lib/module/screens/FingerRegister/styles.js +29 -0
- package/lib/module/screens/FingerRegister/styles.js.map +1 -0
- package/lib/module/screens/LifeCertificate/index.js +136 -0
- package/lib/module/screens/LifeCertificate/index.js.map +1 -0
- package/lib/module/screens/LifeCertificate/styles.js +21 -0
- package/lib/module/screens/LifeCertificate/styles.js.map +1 -0
- package/lib/module/screens/index.js +5 -0
- package/lib/module/screens/index.js.map +1 -0
- package/lib/module/services/index.js +9 -95
- package/lib/module/services/index.js.map +1 -1
- package/lib/module/services/services.js +123 -0
- package/lib/module/services/services.js.map +1 -0
- package/lib/module/services/types.js +2 -0
- package/lib/module/{types/screen.js.map → services/types.js.map} +1 -1
- package/lib/module/store/createSelectors.js +10 -0
- package/lib/module/store/createSelectors.js.map +1 -0
- package/lib/module/store/modules/fingerAuth/index.js +3 -0
- package/lib/module/store/modules/fingerAuth/index.js.map +1 -0
- package/lib/module/store/modules/fingerAuth/selectors.js +6 -0
- package/lib/module/store/modules/fingerAuth/selectors.js.map +1 -0
- package/lib/module/store/modules/fingerAuth/slice.js +86 -0
- package/lib/module/store/modules/fingerAuth/slice.js.map +1 -0
- package/lib/module/store/modules/fingerAuth/type.js +2 -0
- package/lib/module/store/modules/fingerAuth/type.js.map +1 -0
- package/lib/module/store/modules/fingerRegister/index.js +3 -0
- package/lib/module/store/modules/fingerRegister/index.js.map +1 -0
- package/lib/module/store/modules/fingerRegister/selectors.js +6 -0
- package/lib/module/store/modules/fingerRegister/selectors.js.map +1 -0
- package/lib/module/store/modules/fingerRegister/slice.js +95 -0
- package/lib/module/store/modules/fingerRegister/slice.js.map +1 -0
- package/lib/module/store/modules/fingerRegister/types.js +2 -0
- package/lib/module/store/modules/fingerRegister/types.js.map +1 -0
- package/lib/module/store/modules/lifeCertificate/index.js +3 -0
- package/lib/module/store/modules/lifeCertificate/index.js.map +1 -0
- package/lib/module/store/modules/lifeCertificate/selectors.js +6 -0
- package/lib/module/store/modules/lifeCertificate/selectors.js.map +1 -0
- package/lib/module/store/modules/lifeCertificate/slice.js +95 -0
- package/lib/module/store/modules/lifeCertificate/slice.js.map +1 -0
- package/lib/module/store/modules/lifeCertificate/types.js +2 -0
- package/lib/module/store/modules/lifeCertificate/types.js.map +1 -0
- package/lib/module/utils/file.js +3 -3
- package/lib/module/utils/getConfigCamera.js +4 -4
- package/lib/module/utils/getConfigCamera.js.map +1 -1
- package/lib/module/utils/index.js +1 -1
- package/lib/typescript/src/components/CameraConfigInfo/index.d.ts +8 -0
- package/lib/typescript/src/components/CameraConfigInfo/index.d.ts.map +1 -0
- package/lib/typescript/src/components/CameraConfigInfo/styles.d.ts +13 -0
- package/lib/typescript/src/components/CameraConfigInfo/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/CaptureButton/index.d.ts +10 -0
- package/lib/typescript/src/components/CaptureButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/CaptureButton/styles.d.ts +15 -0
- package/lib/typescript/src/components/CaptureButton/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/Gabarito/index.d.ts +2 -1
- package/lib/typescript/src/components/Gabarito/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Gabarito/styles.d.ts +1 -2
- package/lib/typescript/src/components/Gabarito/styles.d.ts.map +1 -1
- package/lib/typescript/src/components/HelpRegister/index.d.ts +4 -0
- package/lib/typescript/src/components/HelpRegister/index.d.ts.map +1 -0
- package/lib/typescript/src/{screens/CadastroFinger/components/AjudaCadastro → components/HelpRegister}/styles.d.ts +2 -5
- package/lib/typescript/src/components/HelpRegister/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/Toast/Toast.d.ts +1 -1
- package/lib/typescript/src/components/Toast/Toast.d.ts.map +1 -1
- package/lib/typescript/src/components/deviceNotFound/deviceNotFound.d.ts +8 -0
- package/lib/typescript/src/components/deviceNotFound/deviceNotFound.d.ts.map +1 -0
- package/lib/typescript/src/components/deviceNotFound/styles.d.ts +29 -0
- package/lib/typescript/src/components/deviceNotFound/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/icon/icon.d.ts +9 -0
- package/lib/typescript/src/components/icon/icon.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +9 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/modalMessage/modalMessage.d.ts +11 -0
- package/lib/typescript/src/components/modalMessage/modalMessage.d.ts.map +1 -0
- package/lib/typescript/src/components/modalMessage/styles.d.ts +44 -0
- package/lib/typescript/src/components/modalMessage/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/recordButton/recordButton.d.ts +10 -0
- package/lib/typescript/src/components/recordButton/recordButton.d.ts.map +1 -0
- package/lib/typescript/src/components/recordButton/styles.d.ts +14 -0
- package/lib/typescript/src/components/recordButton/styles.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts +2 -4
- package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts +9 -0
- package/lib/typescript/src/screens/FingerAuth/FingerAuth.d.ts.map +1 -0
- package/lib/typescript/src/screens/FingerAuth/styles.d.ts +25 -0
- package/lib/typescript/src/screens/FingerAuth/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/FingerRegister/index.d.ts +8 -0
- package/lib/typescript/src/screens/FingerRegister/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/FingerRegister/styles.d.ts +25 -0
- package/lib/typescript/src/screens/FingerRegister/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/LifeCertificate/index.d.ts +7 -0
- package/lib/typescript/src/screens/LifeCertificate/index.d.ts.map +1 -0
- package/lib/typescript/src/{components/WaitingForResult → screens/LifeCertificate}/styles.d.ts +7 -11
- package/lib/typescript/src/screens/LifeCertificate/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/index.d.ts +5 -0
- package/lib/typescript/src/screens/index.d.ts.map +1 -0
- package/lib/typescript/src/services/index.d.ts +2 -17
- package/lib/typescript/src/services/index.d.ts.map +1 -1
- package/lib/typescript/src/services/services.d.ts +6 -0
- package/lib/typescript/src/services/services.d.ts.map +1 -0
- package/lib/typescript/src/services/types.d.ts +37 -0
- package/lib/typescript/src/services/types.d.ts.map +1 -0
- package/lib/typescript/src/store/createSelectors.d.ts +11 -0
- package/lib/typescript/src/store/createSelectors.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerAuth/index.d.ts +3 -0
- package/lib/typescript/src/store/modules/fingerAuth/index.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerAuth/selectors.d.ts +20 -0
- package/lib/typescript/src/store/modules/fingerAuth/selectors.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerAuth/slice.d.ts +4 -0
- package/lib/typescript/src/store/modules/fingerAuth/slice.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerAuth/type.d.ts +28 -0
- package/lib/typescript/src/store/modules/fingerAuth/type.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerRegister/index.d.ts +3 -0
- package/lib/typescript/src/store/modules/fingerRegister/index.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerRegister/selectors.d.ts +22 -0
- package/lib/typescript/src/store/modules/fingerRegister/selectors.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerRegister/slice.d.ts +4 -0
- package/lib/typescript/src/store/modules/fingerRegister/slice.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/fingerRegister/types.d.ts +30 -0
- package/lib/typescript/src/store/modules/fingerRegister/types.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/lifeCertificate/index.d.ts +3 -0
- package/lib/typescript/src/store/modules/lifeCertificate/index.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts +23 -0
- package/lib/typescript/src/store/modules/lifeCertificate/selectors.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/lifeCertificate/slice.d.ts +4 -0
- package/lib/typescript/src/store/modules/lifeCertificate/slice.d.ts.map +1 -0
- package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts +37 -0
- package/lib/typescript/src/store/modules/lifeCertificate/types.d.ts.map +1 -0
- package/lib/typescript/src/utils/getConfigCamera.d.ts +1 -1
- package/lib/typescript/src/utils/getConfigCamera.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts +1 -1
- package/package.json +24 -42
- package/src/components/CameraConfigInfo/index.tsx +20 -0
- package/src/components/CameraConfigInfo/styles.ts +14 -0
- package/src/components/CaptureButton/index.tsx +74 -0
- package/src/components/CaptureButton/styles.ts +16 -0
- package/src/components/Gabarito/index.tsx +6 -4
- package/src/components/Gabarito/styles.ts +13 -14
- package/src/components/HelpRegister/index.tsx +40 -0
- package/src/components/HelpRegister/styles.ts +54 -0
- package/src/components/Toast/Toast.tsx +18 -22
- package/src/components/deviceNotFound/deviceNotFound.tsx +23 -0
- package/src/components/deviceNotFound/styles.ts +30 -0
- package/src/components/icon/icon.tsx +14 -0
- package/src/components/index.ts +9 -0
- package/src/components/modalMessage/modalMessage.tsx +73 -0
- package/src/components/modalMessage/styles.ts +45 -0
- package/src/components/recordButton/recordButton.tsx +75 -0
- package/src/components/recordButton/styles.ts +15 -0
- package/src/index.tsx +5 -4
- package/src/screens/CadastroScreen/CadastroScreen.tsx +35 -52
- package/src/screens/FingerAuth/FingerAuth.tsx +121 -0
- package/src/screens/FingerAuth/styles.ts +28 -0
- package/src/screens/FingerRegister/index.tsx +139 -0
- package/src/screens/FingerRegister/styles.ts +28 -0
- package/src/screens/LifeCertificate/index.tsx +152 -0
- package/src/screens/LifeCertificate/styles.ts +21 -0
- package/src/screens/index.ts +5 -0
- package/src/services/index.ts +12 -113
- package/src/services/services.ts +129 -0
- package/src/services/types.ts +42 -0
- package/src/store/createSelectors.ts +15 -0
- package/src/store/modules/fingerAuth/index.ts +3 -0
- package/src/store/modules/fingerAuth/selectors.ts +7 -0
- package/src/store/modules/fingerAuth/slice.ts +91 -0
- package/src/store/modules/fingerAuth/type.ts +29 -0
- package/src/store/modules/fingerRegister/index.ts +3 -0
- package/src/store/modules/fingerRegister/selectors.ts +7 -0
- package/src/store/modules/fingerRegister/slice.ts +101 -0
- package/src/store/modules/fingerRegister/types.ts +30 -0
- package/src/store/modules/lifeCertificate/index.ts +3 -0
- package/src/store/modules/lifeCertificate/selectors.ts +7 -0
- package/src/store/modules/lifeCertificate/slice.ts +100 -0
- package/src/store/modules/lifeCertificate/types.ts +40 -0
- package/src/utils/file.ts +3 -3
- package/src/utils/getConfigCamera.ts +7 -12
- package/src/utils/index.ts +1 -1
- package/lib/commonjs/components/CameraConfigInfos/index.js +0 -21
- package/lib/commonjs/components/CameraConfigInfos/index.js.map +0 -1
- package/lib/commonjs/components/CameraConfigInfos/styles.js +0 -19
- package/lib/commonjs/components/CameraConfigInfos/styles.js.map +0 -1
- package/lib/commonjs/components/DeviceNullDisplay/index.js +0 -59
- package/lib/commonjs/components/DeviceNullDisplay/index.js.map +0 -1
- package/lib/commonjs/components/ErrorDisplay/index.js +0 -59
- package/lib/commonjs/components/ErrorDisplay/index.js.map +0 -1
- package/lib/commonjs/components/WaitingForResult/index.js.map +0 -1
- package/lib/commonjs/components/WaitingForResult/styles.js +0 -32
- package/lib/commonjs/components/WaitingForResult/styles.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js +0 -49
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js +0 -298
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js +0 -54
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js +0 -44
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +0 -65
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +0 -1
- package/lib/commonjs/screens/CadastroFinger/index.js +0 -50
- package/lib/commonjs/screens/CadastroFinger/index.js.map +0 -1
- package/lib/commonjs/screens/ProvaVidas/index.js +0 -246
- package/lib/commonjs/screens/ProvaVidas/index.js.map +0 -1
- package/lib/commonjs/screens/ProvaVidas/styles.js +0 -93
- package/lib/commonjs/screens/ProvaVidas/styles.js.map +0 -1
- package/lib/commonjs/screens/ValidadeFinger/index.js +0 -216
- package/lib/commonjs/screens/ValidadeFinger/index.js.map +0 -1
- package/lib/commonjs/screens/ValidadeFinger/styles.js +0 -54
- package/lib/commonjs/screens/ValidadeFinger/styles.js.map +0 -1
- package/lib/commonjs/types/screen.js +0 -2
- package/lib/module/components/CameraConfigInfos/index.js +0 -13
- package/lib/module/components/CameraConfigInfos/index.js.map +0 -1
- package/lib/module/components/CameraConfigInfos/styles.js +0 -13
- package/lib/module/components/CameraConfigInfos/styles.js.map +0 -1
- package/lib/module/components/DeviceNullDisplay/index.js +0 -51
- package/lib/module/components/DeviceNullDisplay/index.js.map +0 -1
- package/lib/module/components/ErrorDisplay/index.js +0 -51
- package/lib/module/components/ErrorDisplay/index.js.map +0 -1
- package/lib/module/components/WaitingForResult/index.js +0 -17
- package/lib/module/components/WaitingForResult/index.js.map +0 -1
- package/lib/module/components/WaitingForResult/styles.js +0 -26
- package/lib/module/components/WaitingForResult/styles.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/index.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js +0 -56
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js +0 -288
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js +0 -48
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js +0 -36
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +0 -1
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +0 -59
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +0 -1
- package/lib/module/screens/CadastroFinger/index.js +0 -42
- package/lib/module/screens/CadastroFinger/index.js.map +0 -1
- package/lib/module/screens/ProvaVidas/index.js +0 -239
- package/lib/module/screens/ProvaVidas/index.js.map +0 -1
- package/lib/module/screens/ProvaVidas/styles.js +0 -87
- package/lib/module/screens/ProvaVidas/styles.js.map +0 -1
- package/lib/module/screens/ValidadeFinger/index.js +0 -206
- package/lib/module/screens/ValidadeFinger/index.js.map +0 -1
- package/lib/module/screens/ValidadeFinger/styles.js +0 -48
- package/lib/module/screens/ValidadeFinger/styles.js.map +0 -1
- package/lib/module/types/screen.js +0 -2
- package/lib/typescript/src/components/CameraConfigInfos/index.d.ts +0 -9
- package/lib/typescript/src/components/CameraConfigInfos/index.d.ts.map +0 -1
- package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts +0 -11
- package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts.map +0 -1
- package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts +0 -11
- package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ErrorDisplay/index.d.ts +0 -11
- package/lib/typescript/src/components/ErrorDisplay/index.d.ts.map +0 -1
- package/lib/typescript/src/components/WaitingForResult/index.d.ts +0 -7
- package/lib/typescript/src/components/WaitingForResult/index.d.ts.map +0 -1
- package/lib/typescript/src/components/WaitingForResult/styles.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts +0 -7
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/styles.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts +0 -16
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts +0 -44
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts +0 -12
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts +0 -54
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts.map +0 -1
- package/lib/typescript/src/screens/CadastroFinger/index.d.ts +0 -16
- package/lib/typescript/src/screens/CadastroFinger/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/ProvaVidas/index.d.ts +0 -14
- package/lib/typescript/src/screens/ProvaVidas/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/ProvaVidas/styles.d.ts +0 -85
- package/lib/typescript/src/screens/ProvaVidas/styles.d.ts.map +0 -1
- package/lib/typescript/src/screens/ValidadeFinger/index.d.ts +0 -14
- package/lib/typescript/src/screens/ValidadeFinger/index.d.ts.map +0 -1
- package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts +0 -44
- package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts.map +0 -1
- package/lib/typescript/src/types/screen.d.ts +0 -6
- package/lib/typescript/src/types/screen.d.ts.map +0 -1
- package/live-id-sdk.podspec +0 -41
- package/src/components/CameraConfigInfos/index.tsx +0 -25
- package/src/components/CameraConfigInfos/styles.ts +0 -13
- package/src/components/DeviceNullDisplay/index.tsx +0 -59
- package/src/components/ErrorDisplay/index.tsx +0 -60
- package/src/components/WaitingForResult/index.tsx +0 -22
- package/src/components/WaitingForResult/styles.ts +0 -27
- package/src/screens/CadastroFinger/components/AjudaCadastro/index.tsx +0 -49
- package/src/screens/CadastroFinger/components/AjudaCadastro/styles.ts +0 -56
- package/src/screens/CadastroFinger/components/CameraCadastro/index.tsx +0 -356
- package/src/screens/CadastroFinger/components/CameraCadastro/styles.ts +0 -47
- package/src/screens/CadastroFinger/components/ImageDisplayScreen/index.tsx +0 -45
- package/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.ts +0 -55
- package/src/screens/CadastroFinger/index.tsx +0 -56
- package/src/screens/ProvaVidas/index.tsx +0 -308
- package/src/screens/ProvaVidas/styles.ts +0 -99
- package/src/screens/ValidadeFinger/index.tsx +0 -263
- package/src/screens/ValidadeFinger/styles.ts +0 -47
- package/src/types/screen.ts +0 -5
@@ -13,7 +13,7 @@ const getConfigCamera = async serviceType => {
|
|
13
13
|
try {
|
14
14
|
const configs = await (0, _services.getConfigsApi)();
|
15
15
|
const configsDeviceType = configs.filter(config => config.deviceType === deviceType && config.serviceType === serviceType);
|
16
|
-
const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes(
|
16
|
+
const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel) || config.deviceModels.includes("default"));
|
17
17
|
return configDeviceModel;
|
18
18
|
} catch (error) {
|
19
19
|
console.error(error);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_reactNativeDeviceInfo","_services","getConfigCamera","serviceType","deviceModel","getModel","deviceType","Platform","OS","configs","getConfigsApi","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console","_default","exports","default"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAiBA,MAAMG,eAAe,GAAG,
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeDeviceInfo","_services","getConfigCamera","serviceType","deviceModel","getModel","deviceType","Platform","OS","configs","getConfigsApi","configsDeviceType","filter","config","configDeviceModel","find","deviceModels","includes","error","console","_default","exports","default"],"sourceRoot":"../../../src","sources":["utils/getConfigCamera.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAiBA,MAAMG,eAAe,GAAG,MAAOC,WAAwB,IAAqC;EAC1F,MAAMC,WAAW,GAAG,IAAAC,+BAAQ,EAAC,CAAC;EAC9B,MAAMC,UAAU,GAAGC,qBAAQ,CAACC,EAAE;EAC9B,IAAI;IACF,MAAMC,OAAO,GAAG,MAAM,IAAAC,uBAAa,EAAC,CAAC;IACrC,MAAMC,iBAAiB,GAAGF,OAAO,CAACG,MAAM,CACrCC,MAAM,IAAKA,MAAM,CAACP,UAAU,KAAKA,UAAU,IAAIO,MAAM,CAACV,WAAW,KAAKA,WACzE,CAAC;IACD,MAAMW,iBAAiB,GAAGH,iBAAiB,CAACI,IAAI,CAC7CF,MAAM,IAAKA,MAAM,CAACG,YAAY,CAACC,QAAQ,CAACb,WAAW,CAAC,IAAIS,MAAM,CAACG,YAAY,CAACC,QAAQ,CAAC,SAAS,CACjG,CAAC;IAED,OAAOH,iBAAiB;EAC1B,CAAC,CAAC,OAAOI,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;IACpB;IACA;EACF;AACF,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEapB,eAAe"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Text, View } from "react-native";
|
3
|
+
import { styles } from "./styles";
|
4
|
+
const CameraConfigInfo = ({
|
5
|
+
exposure,
|
6
|
+
zoom
|
7
|
+
}) => {
|
8
|
+
return /*#__PURE__*/React.createElement(View, {
|
9
|
+
style: styles.container
|
10
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
11
|
+
style: styles.text
|
12
|
+
}, "Exposure: ", exposure, " | Zoom: ", zoom));
|
13
|
+
};
|
14
|
+
export default CameraConfigInfo;
|
15
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","Text","View","styles","CameraConfigInfo","exposure","zoom","createElement","style","container","text"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfo/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,MAAM,QAAQ,UAAU;AAOjC,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,QAAQ;EAAEC;AAAY,CAAC,KAAK;EACtD,oBACEN,KAAA,CAAAO,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEL,MAAM,CAACM;EAAU,gBAC5BT,KAAA,CAAAO,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACO;EAAK,GAAC,YACd,EAACL,QAAQ,EAAC,WAAS,EAACC,IAC1B,CACF,CAAC;AAEX,CAAC;AAED,eAAeF,gBAAgB"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { StyleSheet } from "react-native";
|
2
|
+
export const styles = StyleSheet.create({
|
3
|
+
container: {
|
4
|
+
alignItems: "center",
|
5
|
+
padding: 10,
|
6
|
+
backgroundColor: "#0d0d0d"
|
7
|
+
},
|
8
|
+
text: {
|
9
|
+
fontSize: 18,
|
10
|
+
fontWeight: "500",
|
11
|
+
color: "#fff"
|
12
|
+
}
|
13
|
+
});
|
14
|
+
//# sourceMappingURL=styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["StyleSheet","styles","create","container","alignItems","padding","backgroundColor","text","fontSize","fontWeight","color"],"sourceRoot":"../../../../src","sources":["components/CameraConfigInfo/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,EAAE;IACXC,eAAe,EAAE;EACnB,CAAC;EACDC,IAAI,EAAE;IACJC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import React, { useEffect } from "react";
|
2
|
+
import { Pressable } from "react-native";
|
3
|
+
import Animated, { useAnimatedStyle, useSharedValue, withSpring, withTiming } from "react-native-reanimated";
|
4
|
+
import Icon from "../icon/icon";
|
5
|
+
import { styles } from "./styles";
|
6
|
+
const CaptureButton = ({
|
7
|
+
onPress,
|
8
|
+
imagesCount,
|
9
|
+
authFinger,
|
10
|
+
loading
|
11
|
+
}) => {
|
12
|
+
const width = useSharedValue(75);
|
13
|
+
const translateX = useSharedValue(0);
|
14
|
+
const opacity = useSharedValue(0);
|
15
|
+
const animatedView = useAnimatedStyle(() => ({
|
16
|
+
width: width.value
|
17
|
+
}));
|
18
|
+
const animatedIcon = useAnimatedStyle(() => ({
|
19
|
+
transform: [{
|
20
|
+
translateX: -translateX.value
|
21
|
+
}]
|
22
|
+
}));
|
23
|
+
const animatedText = useAnimatedStyle(() => ({
|
24
|
+
opacity: opacity.value,
|
25
|
+
color: "#fff",
|
26
|
+
transform: [{
|
27
|
+
translateX: translateX.value
|
28
|
+
}]
|
29
|
+
}));
|
30
|
+
useEffect(() => {
|
31
|
+
if (imagesCount === 3) {
|
32
|
+
setTimeout(() => {
|
33
|
+
width.value = withSpring(75);
|
34
|
+
translateX.value = withSpring(0);
|
35
|
+
opacity.value = withTiming(0, {
|
36
|
+
duration: 250
|
37
|
+
});
|
38
|
+
}, 500);
|
39
|
+
}
|
40
|
+
}, [width, opacity, translateX, imagesCount]);
|
41
|
+
const handlePress = () => {
|
42
|
+
onPress();
|
43
|
+
width.value = withSpring(150);
|
44
|
+
translateX.value = withSpring(25);
|
45
|
+
opacity.value = withTiming(1, {
|
46
|
+
duration: 250
|
47
|
+
});
|
48
|
+
};
|
49
|
+
if (authFinger) {
|
50
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
51
|
+
onPress: handlePress,
|
52
|
+
disabled: loading
|
53
|
+
}, /*#__PURE__*/React.createElement(Animated.View, {
|
54
|
+
style: [styles.box, {
|
55
|
+
width: 75
|
56
|
+
}]
|
57
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
58
|
+
name: "camera-outline",
|
59
|
+
size: 40,
|
60
|
+
color: "white"
|
61
|
+
})));
|
62
|
+
}
|
63
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
64
|
+
onPress: handlePress,
|
65
|
+
disabled: imagesCount === 3 ? true : false
|
66
|
+
}, /*#__PURE__*/React.createElement(Animated.View, {
|
67
|
+
style: [styles.box, animatedView]
|
68
|
+
}, /*#__PURE__*/React.createElement(Animated.View, {
|
69
|
+
style: animatedIcon
|
70
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
71
|
+
name: "camera-outline",
|
72
|
+
size: 40,
|
73
|
+
color: "white"
|
74
|
+
})), (imagesCount ?? 0) > 0 ? /*#__PURE__*/React.createElement(Animated.Text, {
|
75
|
+
style: [styles.text, animatedText]
|
76
|
+
}, imagesCount, "/3") : undefined));
|
77
|
+
};
|
78
|
+
export default CaptureButton;
|
79
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","useEffect","Pressable","Animated","useAnimatedStyle","useSharedValue","withSpring","withTiming","Icon","styles","CaptureButton","onPress","imagesCount","authFinger","loading","width","translateX","opacity","animatedView","value","animatedIcon","transform","animatedText","color","setTimeout","duration","handlePress","createElement","disabled","View","style","box","name","size","Text","text","undefined"],"sourceRoot":"../../../../src","sources":["components/CaptureButton/index.tsx"],"mappings":"A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IAAI,EAAC,gBAAgB;IAACC,IAAI,EAAE,EAAG;IAACV,KAAK,EAAC;EAAO,CAAE,CACxC,CAAC,EACf,CAACX,WAAW,IAAI,CAAC,IAAI,CAAC,gBACrBZ,KAAA,CAAA2B,aAAA,CAACxB,QAAQ,CAAC+B,IAAI;IAACJ,KAAK,EAAE,CAACrB,MAAM,CAAC0B,IAAI,EAAEb,YAAY;EAAE,GAAEV,WAAW,EAAC,IAAiB,CAAC,GAChFwB,SACS,CACN,CAAC;AAEhB,CAAC;AAED,eAAe1B,aAAa"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { StyleSheet } from "react-native";
|
2
|
+
export const styles = StyleSheet.create({
|
3
|
+
box: {
|
4
|
+
flexDirection: "row",
|
5
|
+
height: 50,
|
6
|
+
justifyContent: "center",
|
7
|
+
alignItems: "center",
|
8
|
+
borderRadius: 50,
|
9
|
+
backgroundColor: "#1F75FF"
|
10
|
+
},
|
11
|
+
text: {
|
12
|
+
position: "absolute",
|
13
|
+
color: "#fff"
|
14
|
+
}
|
15
|
+
});
|
16
|
+
//# sourceMappingURL=styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["StyleSheet","styles","create","box","flexDirection","height","justifyContent","alignItems","borderRadius","backgroundColor","text","position","color"],"sourceRoot":"../../../../src","sources":["components/CaptureButton/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACtCC,GAAG,EAAE;IACHC,aAAa,EAAE,KAAK;IACpBC,MAAM,EAAE,EAAE;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE;EACnB,CAAC;EACDC,IAAI,EAAE;IACJC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
|
@@ -1,11 +1,12 @@
|
|
1
|
-
import React from
|
2
|
-
import { View } from
|
3
|
-
import { styles } from
|
4
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { View } from "react-native";
|
3
|
+
import { styles } from "./styles";
|
4
|
+
const Gabarito = () => {
|
5
5
|
return /*#__PURE__*/React.createElement(View, {
|
6
6
|
style: styles.container
|
7
7
|
}, /*#__PURE__*/React.createElement(View, {
|
8
8
|
style: styles.gabarito
|
9
9
|
}));
|
10
10
|
};
|
11
|
+
export default Gabarito;
|
11
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","View","styles","Gabarito","createElement","style","container","gabarito"],"sourceRoot":"../../../../src","sources":["components/Gabarito/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAEjC,
|
1
|
+
{"version":3,"names":["React","View","styles","Gabarito","createElement","style","container","gabarito"],"sourceRoot":"../../../../src","sources":["components/Gabarito/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,UAAU;AAEjC,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EACrB,oBACEH,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACI;EAAU,gBAC5BN,KAAA,CAAAI,aAAA,CAACH,IAAI;IAACI,KAAK,EAAEH,MAAM,CAACK;EAAS,CAAE,CAC3B,CAAC;AAEX,CAAC;AAED,eAAeJ,QAAQ"}
|
@@ -1,21 +1,20 @@
|
|
1
|
-
import { StyleSheet, Dimensions } from
|
2
|
-
const width = Dimensions.get(
|
3
|
-
const height = Dimensions.get(
|
1
|
+
import { StyleSheet, Dimensions } from "react-native";
|
2
|
+
const width = Dimensions.get("window").width;
|
3
|
+
const height = Dimensions.get("window").height;
|
4
4
|
export const styles = StyleSheet.create({
|
5
5
|
container: {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
marginTop: '50%'
|
6
|
+
position: "absolute",
|
7
|
+
justifyContent: "center",
|
8
|
+
alignSelf: "center"
|
10
9
|
},
|
11
10
|
gabarito: {
|
12
11
|
width: width * 0.5,
|
13
|
-
height: height * 0.
|
12
|
+
height: height * 0.4,
|
14
13
|
borderWidth: 3,
|
15
|
-
borderColor:
|
16
|
-
marginLeft:
|
17
|
-
borderTopLeftRadius:
|
18
|
-
borderBottomLeftRadius:
|
14
|
+
borderColor: "red",
|
15
|
+
marginLeft: "15%",
|
16
|
+
borderTopLeftRadius: 75,
|
17
|
+
borderBottomLeftRadius: 75,
|
19
18
|
transform: [{
|
20
19
|
scaleX: 2
|
21
20
|
}]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["StyleSheet","Dimensions","width","get","height","styles","create","container","
|
1
|
+
{"version":3,"names":["StyleSheet","Dimensions","width","get","height","styles","create","container","position","justifyContent","alignSelf","gabarito","borderWidth","borderColor","marginLeft","borderTopLeftRadius","borderBottomLeftRadius","transform","scaleX"],"sourceRoot":"../../../../src","sources":["components/Gabarito/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,MAAMC,KAAK,GAAGD,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACD,KAAK;AAC5C,MAAME,MAAM,GAAGH,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AAE9C,OAAO,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE;EACb,CAAC;EACDC,QAAQ,EAAE;IACRT,KAAK,EAAEA,KAAK,GAAG,GAAG;IAClBE,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBQ,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE,KAAK;IAClBC,UAAU,EAAE,KAAK;IACjBC,mBAAmB,EAAE,EAAE;IACvBC,sBAAsB,EAAE,EAAE;IAC1BC,SAAS,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;EAC3B;AACF,CAAC,CAAC"}
|
@@ -1,41 +1,43 @@
|
|
1
|
-
import React from
|
2
|
-
import { View, Image, Text, TouchableOpacity } from
|
3
|
-
import { styles } from
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
return /*#__PURE__*/React.createElement(
|
8
|
-
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import { View, Image, Text, TouchableOpacity, Modal } from "react-native";
|
3
|
+
import { styles } from "./styles";
|
4
|
+
const HelpRegister = () => {
|
5
|
+
const [visible, setVisible] = useState(true);
|
6
|
+
const handleVisible = () => setVisible(false);
|
7
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
8
|
+
animationType: "fade",
|
9
|
+
visible: visible
|
9
10
|
}, /*#__PURE__*/React.createElement(View, {
|
10
|
-
style: styles.
|
11
|
+
style: styles.container
|
11
12
|
}, /*#__PURE__*/React.createElement(Text, {
|
12
13
|
style: styles.title
|
13
14
|
}, "Instru\xE7\xF5es da Captura"), /*#__PURE__*/React.createElement(Text, {
|
14
15
|
style: styles.text
|
15
|
-
}, "1. Para cadastrar sua digital, escolha um fundo neutro ", `\n`, "ex: folha de papel
|
16
|
-
source: require(
|
16
|
+
}, "1. Para cadastrar sua digital, escolha um fundo neutro. ", `\n`, "ex: folha de papel ou parede lisa"), /*#__PURE__*/React.createElement(Image, {
|
17
|
+
source: require("../../assets/exampleInstructionWithoutFinger.jpeg"),
|
17
18
|
style: styles.image,
|
18
19
|
resizeMode: "stretch"
|
19
20
|
}), /*#__PURE__*/React.createElement(Text, {
|
20
21
|
style: styles.text
|
21
|
-
}, "2. Posicione o dedo dentro
|
22
|
+
}, "2. Posicione o dedo dentro da marca\xE7\xE3o indicada na tela"), /*#__PURE__*/React.createElement(View, {
|
22
23
|
style: styles.containerImages
|
23
24
|
}, /*#__PURE__*/React.createElement(Image, {
|
24
|
-
source: require(
|
25
|
+
source: require("../../assets/arrow.png"),
|
25
26
|
style: styles.arrow,
|
26
27
|
resizeMode: "center"
|
27
28
|
}), /*#__PURE__*/React.createElement(Image, {
|
28
|
-
source: require(
|
29
|
+
source: require("../../assets/exampleInstructionWithBorder.jpeg"),
|
29
30
|
style: styles.image,
|
30
31
|
resizeMode: "contain"
|
31
32
|
})), /*#__PURE__*/React.createElement(Text, {
|
32
33
|
style: styles.text
|
33
34
|
}, "3. Clique em \"Tirar Foto\" e aguarde."), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
34
|
-
onPress:
|
35
|
+
onPress: handleVisible,
|
35
36
|
style: styles.button,
|
36
37
|
activeOpacity: 0.5
|
37
38
|
}, /*#__PURE__*/React.createElement(Text, {
|
38
39
|
style: styles.textButton
|
39
40
|
}, "Ir para captura"))));
|
40
41
|
};
|
42
|
+
export default HelpRegister;
|
41
43
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","useState","View","Image","Text","TouchableOpacity","Modal","styles","HelpRegister","visible","setVisible","handleVisible","createElement","animationType","style","container","title","text","source","require","image","resizeMode","containerImages","arrow","onPress","button","activeOpacity","textButton"],"sourceRoot":"../../../../src","sources":["components/HelpRegister/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,KAAK,QAAQ,cAAc;AACzE,SAASC,MAAM,QAAQ,UAAU;AAEjC,MAAMC,YAAY,GAAGA,CAAA,KAAM;EACzB,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGT,QAAQ,CAAC,IAAI,CAAC;EAE5C,MAAMU,aAAa,GAAGA,CAAA,KAAMD,UAAU,CAAC,KAAK,CAAC;EAC7C,oBACEV,KAAA,CAAAY,aAAA,CAACN,KAAK;IAAC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AE;EAAI,gBACjF1B,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,KAAK,EAAEP,MAAM,CAACoB;EAAW,GAAC,iBAAqB,CACrC,CACd,CACD,CAAC;AAEZ,CAAC;AAED,eAAenB,YAAY"}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { StyleSheet, Platform } from "react-native";
|
2
|
+
export const styles = StyleSheet.create({
|
3
|
+
container: {
|
4
|
+
flex: 1,
|
5
|
+
justifyContent: "center",
|
6
|
+
backgroundColor: "#f5f5f5",
|
7
|
+
paddingVertical: 10,
|
8
|
+
paddingHorizontal: 20,
|
9
|
+
gap: 10
|
10
|
+
},
|
11
|
+
containerImages: {
|
12
|
+
justifyContent: "center"
|
13
|
+
},
|
14
|
+
image: {
|
15
|
+
width: 150,
|
16
|
+
height: 150,
|
17
|
+
alignSelf: "center",
|
18
|
+
borderRadius: 15
|
19
|
+
},
|
20
|
+
arrow: {
|
21
|
+
position: "absolute",
|
22
|
+
width: 50,
|
23
|
+
height: 50,
|
24
|
+
marginHorizontal: 32
|
25
|
+
},
|
26
|
+
title: {
|
27
|
+
alignSelf: "center",
|
28
|
+
fontSize: 22,
|
29
|
+
fontWeight: "bold",
|
30
|
+
marginVertical: 10,
|
31
|
+
color: "#000"
|
32
|
+
},
|
33
|
+
text: {
|
34
|
+
fontSize: 18,
|
35
|
+
textAlign: "center",
|
36
|
+
fontWeight: Platform.OS === "ios" ? "300" : "normal",
|
37
|
+
marginVertical: 10,
|
38
|
+
color: "#000"
|
39
|
+
},
|
40
|
+
button: {
|
41
|
+
width: "100%",
|
42
|
+
alignItems: "center",
|
43
|
+
marginTop: 20,
|
44
|
+
padding: 12,
|
45
|
+
borderRadius: 10,
|
46
|
+
backgroundColor: "#3652AD"
|
47
|
+
},
|
48
|
+
textButton: {
|
49
|
+
fontSize: 18,
|
50
|
+
color: "#fff"
|
51
|
+
}
|
52
|
+
});
|
53
|
+
//# sourceMappingURL=styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["StyleSheet","Platform","styles","create","container","flex","justifyContent","backgroundColor","paddingVertical","paddingHorizontal","gap","containerImages","image","width","height","alignSelf","borderRadius","arrow","position","marginHorizontal","title","fontSize","fontWeight","marginVertical","color","text","textAlign","OS","button","alignItems","marginTop","padding","textButton"],"sourceRoot":"../../../../src","sources":["components/HelpRegister/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAEnD,OAAO,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE,SAAS;IAC1BC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,EAAE;IACrBC,GAAG,EAAE;EACP,CAAC;EACDC,eAAe,EAAE;IACfL,cAAc,EAAE;EAClB,CAAC;EACDM,KAAK,EAAE;IACLC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,GAAG;IACXC,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBL,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVK,gBAAgB,EAAE;EACpB,CAAC;EAEDC,KAAK,EAAE;IACLL,SAAS,EAAE,QAAQ;IACnBM,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBC,cAAc,EAAE,EAAE;IAClBC,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJJ,QAAQ,EAAE,EAAE;IACZK,SAAS,EAAE,QAAQ;IACnBJ,UAAU,EAAErB,QAAQ,CAAC0B,EAAE,KAAK,KAAK,GAAG,KAAK,GAAG,QAAQ;IACpDJ,cAAc,EAAE,EAAE;IAClBC,KAAK,EAAE;EACT,CAAC;EACDI,MAAM,EAAE;IACNf,KAAK,EAAE,MAAM;IACbgB,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,EAAE;IACXf,YAAY,EAAE,EAAE;IAChBT,eAAe,EAAE;EACnB,CAAC;EACDyB,UAAU,EAAE;IACVX,QAAQ,EAAE,EAAE;IACZG,KAAK,EAAE;EACT;AACF,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from
|
2
|
-
import { View, Modal, Text, StyleSheet, TouchableOpacity } from
|
1
|
+
import React from "react";
|
2
|
+
import { View, Modal, Text, StyleSheet, TouchableOpacity } from "react-native";
|
3
3
|
export const Toast = ({
|
4
4
|
isVisible,
|
5
5
|
message,
|
@@ -25,34 +25,34 @@ export const Toast = ({
|
|
25
25
|
export const styles = StyleSheet.create({
|
26
26
|
modalContainer: {
|
27
27
|
flex: 1,
|
28
|
-
backgroundColor:
|
29
|
-
justifyContent:
|
30
|
-
alignItems:
|
28
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
29
|
+
justifyContent: "center",
|
30
|
+
alignItems: "center",
|
31
31
|
zIndex: 999
|
32
32
|
},
|
33
33
|
modalCard: {
|
34
|
-
backgroundColor:
|
34
|
+
backgroundColor: "white",
|
35
35
|
padding: 16,
|
36
36
|
borderRadius: 8,
|
37
|
-
width:
|
38
|
-
alignItems:
|
37
|
+
width: "80%",
|
38
|
+
alignItems: "center"
|
39
39
|
},
|
40
40
|
messageText: {
|
41
41
|
fontSize: 18,
|
42
42
|
marginBottom: 16,
|
43
|
-
textAlign:
|
44
|
-
color:
|
43
|
+
textAlign: "center",
|
44
|
+
color: "#333"
|
45
45
|
},
|
46
46
|
closeButton: {
|
47
47
|
marginTop: 8,
|
48
|
-
backgroundColor:
|
48
|
+
backgroundColor: "#ccc",
|
49
49
|
padding: 8,
|
50
50
|
borderRadius: 4
|
51
51
|
},
|
52
52
|
closeButtonText: {
|
53
|
-
color:
|
54
|
-
fontWeight:
|
55
|
-
textAlign:
|
53
|
+
color: "white",
|
54
|
+
fontWeight: "bold",
|
55
|
+
textAlign: "center"
|
56
56
|
}
|
57
57
|
});
|
58
58
|
//# sourceMappingURL=Toast.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","View","Modal","Text","StyleSheet","TouchableOpacity","Toast","isVisible","message","onClose","createElement","transparent","visible","onRequestClose","style","styles","modalContainer","modalCard","messageText","closeButton","onPress","closeButtonText","create","flex","backgroundColor","justifyContent","alignItems","zIndex","padding","borderRadius","width","fontSize","marginBottom","textAlign","color","marginTop","fontWeight"],"sourceRoot":"../../../../src","sources":["components/Toast/Toast.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAQ9E,OAAO,MAAMC,KAA2B,GAAGA,CAAC;
|
1
|
+
{"version":3,"names":["React","View","Modal","Text","StyleSheet","TouchableOpacity","Toast","isVisible","message","onClose","createElement","transparent","visible","onRequestClose","style","styles","modalContainer","modalCard","messageText","closeButton","onPress","closeButtonText","create","flex","backgroundColor","justifyContent","alignItems","zIndex","padding","borderRadius","width","fontSize","marginBottom","textAlign","color","marginTop","fontWeight"],"sourceRoot":"../../../../src","sources":["components/Toast/Toast.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAQ9E,OAAO,MAAMC,KAA2B,GAAGA,CAAC;EAAEC,SAAS;EAAEC,OAAO;EAAEC;AAAQ,CAAC,KAAK;EAC9E,oBACET,KAAA,CAAAU,aAAA,CAACR,KAAK;IAACS,WAAW;IAACC,OAAO,EAAEL,SAAU;IAACM,cAAc,EAAEJ;EAAQ,gBAC7DT,KAAA,CAAAU,aAAA,CAACT,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACC;EAAe,gBACjChB,KAAA,CAAAU,aAAA,CAACT,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACE;EAAU,gBAC5BjB,KAAA,CAAAU,aAAA,CAACP,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACG;EAAY,GAAEV,OAAc,CAAC,eACjDR,KAAA,CAAAU,aAAA,CAACL,gBAAgB;IAACS,KAAK,EAAEC,MAAM,CAACI,WAAY;IAACC,OAAO,EAAEX;EAAQ,gBAC5DT,KAAA,CAAAU,aAAA,CAACP,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACM;EAAgB,GAAC,QAAY,CACjC,CACd,CACF,CACD,CAAC;AAEZ,CAAC;AAED,OAAO,MAAMN,MAAM,GAAGX,UAAU,CAACkB,MAAM,CAAC;EACtCN,cAAc,EAAE;IACdO,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE,oBAAoB;IACrCC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,MAAM,EAAE;EACV,CAAC;EACDV,SAAS,EAAE;IACTO,eAAe,EAAE,OAAO;IACxBI,OAAO,EAAE,EAAE;IACXC,YAAY,EAAE,CAAC;IACfC,KAAK,EAAE,KAAK;IACZJ,UAAU,EAAE;EACd,CAAC;EACDR,WAAW,EAAE;IACXa,QAAQ,EAAE,EAAE;IACZC,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE,QAAQ;IACnBC,KAAK,EAAE;EACT,CAAC;EACDf,WAAW,EAAE;IACXgB,SAAS,EAAE,CAAC;IACZX,eAAe,EAAE,MAAM;IACvBI,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDR,eAAe,EAAE;IACfa,KAAK,EAAE,OAAO;IACdE,UAAU,EAAE,MAAM;IAClBH,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Pressable, Text, View } from "react-native";
|
3
|
+
import { styles } from "./styles";
|
4
|
+
const DeviceNotFound = ({
|
5
|
+
hasPermission,
|
6
|
+
cameraPermission
|
7
|
+
}) => {
|
8
|
+
return /*#__PURE__*/React.createElement(View, {
|
9
|
+
style: styles.container
|
10
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
11
|
+
style: styles.text
|
12
|
+
}, "Device not found"), /*#__PURE__*/React.createElement(Pressable, {
|
13
|
+
style: styles.button,
|
14
|
+
onPress: cameraPermission
|
15
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
16
|
+
style: styles.textButton
|
17
|
+
}, hasPermission ? "Permission granted" : "Request permission")));
|
18
|
+
};
|
19
|
+
export default DeviceNotFound;
|
20
|
+
//# sourceMappingURL=deviceNotFound.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","Pressable","Text","View","styles","DeviceNotFound","hasPermission","cameraPermission","createElement","style","container","text","button","onPress","textButton"],"sourceRoot":"../../../../src","sources":["components/deviceNotFound/deviceNotFound.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACpD,SAASC,MAAM,QAAQ,UAAU;AAOjC,MAAMC,cAAc,GAAGA,CAAC;EAAEC,aAAa;EAAEC;AAAwB,CAAC,KAAK;EACtE,oBACCP,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEL,MAAM,CAACM;EAAU,gBAC7BV,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACO;EAAK,GAAC,kBAAsB,CAAC,eACjDX,KAAA,CAAAQ,aAAA,CAACP,SAAS;IAACQ,KAAK,EAAEL,MAAM,CAACQ,MAAO;IAACC,OAAO,EAAEN;EAAiB,gBAC1DP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEL,MAAM,CAACU;EAAW,GAC7BR,aAAa,GAAG,oBAAoB,GAAG,oBACnC,CACI,CACN,CAAC;AAET,CAAC;AAED,eAAeD,cAAc"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { StyleSheet } from "react-native";
|
2
|
+
export const styles = StyleSheet.create({
|
3
|
+
container: {
|
4
|
+
flex: 1,
|
5
|
+
justifyContent: "center",
|
6
|
+
alignItems: "center",
|
7
|
+
gap: 20
|
8
|
+
},
|
9
|
+
text: {
|
10
|
+
color: "#000",
|
11
|
+
fontSize: 20
|
12
|
+
},
|
13
|
+
button: {
|
14
|
+
alignItems: "center",
|
15
|
+
justifyContent: "center",
|
16
|
+
paddingVertical: 12,
|
17
|
+
paddingHorizontal: 32,
|
18
|
+
borderRadius: 4,
|
19
|
+
elevation: 3,
|
20
|
+
backgroundColor: "black"
|
21
|
+
},
|
22
|
+
textButton: {
|
23
|
+
fontSize: 16,
|
24
|
+
lineHeight: 21,
|
25
|
+
fontWeight: "bold",
|
26
|
+
letterSpacing: 0.25,
|
27
|
+
color: "white"
|
28
|
+
}
|
29
|
+
});
|
30
|
+
//# sourceMappingURL=styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["StyleSheet","styles","create","container","flex","justifyContent","alignItems","gap","text","color","fontSize","button","paddingVertical","paddingHorizontal","borderRadius","elevation","backgroundColor","textButton","lineHeight","fontWeight","letterSpacing"],"sourceRoot":"../../../../src","sources":["components/deviceNotFound/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,MAAM,GAAGD,UAAU,CAACE,MAAM,CAAC;EACvCC,SAAS,EAAE;IACVC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE;EACN,CAAC;EACDC,IAAI,EAAE;IACLC,KAAK,EAAE,MAAM;IACbC,QAAQ,EAAE;EACX,CAAC;EACDC,MAAM,EAAE;IACPL,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBO,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,EAAE;IACrBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,eAAe,EAAE;EAClB,CAAC;EACDC,UAAU,EAAE;IACXP,QAAQ,EAAE,EAAE;IACZQ,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE,MAAM;IAClBC,aAAa,EAAE,IAAI;IACnBX,KAAK,EAAE;EACR;AACD,CAAC,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import Ionicons from "react-native-vector-icons/Ionicons";
|
3
|
+
const Icon = ({
|
4
|
+
name,
|
5
|
+
size,
|
6
|
+
color
|
7
|
+
}) => {
|
8
|
+
return /*#__PURE__*/React.createElement(Ionicons, {
|
9
|
+
name: name,
|
10
|
+
size: size,
|
11
|
+
color: color
|
12
|
+
});
|
13
|
+
};
|
14
|
+
export default Icon;
|
15
|
+
//# sourceMappingURL=icon.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","Ionicons","Icon","name","size","color","createElement"],"sourceRoot":"../../../../src","sources":["components/icon/icon.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,oCAAoC;AAQzD,MAAMC,IAAI,GAAGA,CAAC;EAAEC,IAAI;EAAEC,IAAI;EAAEC;AAAa,CAAC,KAAK;EAC7C,oBAAOL,KAAA,CAAAM,aAAA,CAACL,QAAQ;IAACE,IAAI,EAAEA,IAAK;IAACC,IAAI,EAAEA,IAAK;IAACC,KAAK,EAAEA;EAAM,CAAE,CAAC;AAC3D,CAAC;AAED,eAAeH,IAAI"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import DeviceNotFound from "./deviceNotFound/deviceNotFound";
|
2
|
+
import ModalMessage from "./modalMessage/modalMessage";
|
3
|
+
import RecordButton from "./recordButton/recordButton";
|
4
|
+
import HelpRegister from "./HelpRegister";
|
5
|
+
import CaptureButton from "./CaptureButton";
|
6
|
+
import CameraConfigInfo from "./CameraConfigInfo";
|
7
|
+
import Gabarito from "./Gabarito";
|
8
|
+
export { DeviceNotFound, ModalMessage, RecordButton, HelpRegister, CaptureButton, CameraConfigInfo, Gabarito };
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["DeviceNotFound","ModalMessage","RecordButton","HelpRegister","CaptureButton","CameraConfigInfo","Gabarito"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":"AAAA,OAAOA,cAAc,MAAM,iCAAiC;AAC5D,OAAOC,YAAY,MAAM,6BAA6B;AACtD,OAAOC,YAAY,MAAM,6BAA6B;AACtD,OAAOC,YAAY,MAAM,gBAAgB;AACzC,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,OAAOC,QAAQ,MAAM,YAAY;AAEjC,SAASN,cAAc,EAAEC,YAAY,EAAEC,YAAY,EAAEC,YAAY,EAAEC,aAAa,EAAEC,gBAAgB,EAAEC,QAAQ"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import React, { useEffect, useMemo, useState } from "react";
|
2
|
+
import { ActivityIndicator, Modal, Text, TouchableOpacity, View, useColorScheme } from "react-native";
|
3
|
+
import { styles } from "./styles";
|
4
|
+
export const ModalMessage = ({
|
5
|
+
isLoading,
|
6
|
+
modal
|
7
|
+
}) => {
|
8
|
+
const [visible, setVisible] = useState(false);
|
9
|
+
const isDark = useColorScheme() === "dark";
|
10
|
+
const backgroundColor = useMemo(() => {
|
11
|
+
return {
|
12
|
+
...styles.modal,
|
13
|
+
backgroundColor: isDark ? "#0f0f0f" : "#fff"
|
14
|
+
};
|
15
|
+
}, [isDark]);
|
16
|
+
const textColor = useMemo(() => {
|
17
|
+
return {
|
18
|
+
color: isDark ? "#fff" : "#000"
|
19
|
+
};
|
20
|
+
}, [isDark]);
|
21
|
+
const handleModal = () => {
|
22
|
+
setVisible(false);
|
23
|
+
};
|
24
|
+
useEffect(() => {
|
25
|
+
if (isLoading === true) setVisible(true);
|
26
|
+
}, [isLoading]);
|
27
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
28
|
+
animationType: "fade",
|
29
|
+
visible: visible,
|
30
|
+
transparent: true
|
31
|
+
}, /*#__PURE__*/React.createElement(View, {
|
32
|
+
style: styles.container
|
33
|
+
}, /*#__PURE__*/React.createElement(View, {
|
34
|
+
style: backgroundColor
|
35
|
+
}, isLoading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ActivityIndicator, {
|
36
|
+
size: "large",
|
37
|
+
color: "#0000ff"
|
38
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
39
|
+
style: [styles.title, textColor]
|
40
|
+
}, "Processando...")) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
|
41
|
+
style: [styles.title, textColor]
|
42
|
+
}, modal === null || modal === void 0 ? void 0 : modal.title), /*#__PURE__*/React.createElement(Text, {
|
43
|
+
style: [styles.text, textColor]
|
44
|
+
}, modal === null || modal === void 0 ? void 0 : modal.message), /*#__PURE__*/React.createElement(View, {
|
45
|
+
style: styles.button
|
46
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
47
|
+
style: styles.button,
|
48
|
+
onPress: handleModal
|
49
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
50
|
+
style: styles.textButton
|
51
|
+
}, "Fechar")))))));
|
52
|
+
};
|
53
|
+
export default ModalMessage;
|
54
|
+
//# sourceMappingURL=modalMessage.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","useState","ActivityIndicator","Modal","Text","TouchableOpacity","View","useColorScheme","styles","ModalMessage","isLoading","modal","visible","setVisible","isDark","backgroundColor","textColor","color","handleModal","createElement","animationType","transparent","style","container","Fragment","size","title","text","message","button","onPress","textButton"],"sourceRoot":"../../../../src","sources":["components/modalMessage/modalMessage.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO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