@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
@@ -1,14 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ModalProps } from 'react-native-modal';
|
3
|
-
import type { ScreenProps } from '../../types/screen';
|
4
|
-
interface ValidaFingerProps {
|
5
|
-
isVisible: boolean;
|
6
|
-
ModalParams?: ModalProps;
|
7
|
-
screenProps?: ScreenProps;
|
8
|
-
onCloseModal?: () => void;
|
9
|
-
onError?: (response?: any) => void;
|
10
|
-
onSuccess?: (response?: any) => void;
|
11
|
-
}
|
12
|
-
export declare const ValidaFinger: React.FC<ValidaFingerProps>;
|
13
|
-
export {};
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ValidadeFinger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAW5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAStD,UAAU,iBAAiB;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CACtC;AAaD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsNpD,CAAC"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
export declare const styles: {
|
2
|
-
container: {
|
3
|
-
flex: number;
|
4
|
-
};
|
5
|
-
root: {
|
6
|
-
flex: number;
|
7
|
-
};
|
8
|
-
cameraContainer: {
|
9
|
-
flex: number;
|
10
|
-
};
|
11
|
-
camera: {
|
12
|
-
flex: number;
|
13
|
-
justifyContent: "flex-end";
|
14
|
-
paddingBottom: number;
|
15
|
-
};
|
16
|
-
containerCapture: {
|
17
|
-
height: number;
|
18
|
-
alignItems: "center";
|
19
|
-
justifyContent: "center";
|
20
|
-
};
|
21
|
-
containerButton: {
|
22
|
-
width: number;
|
23
|
-
height: number;
|
24
|
-
borderRadius: number;
|
25
|
-
backgroundColor: string;
|
26
|
-
alignItems: "center";
|
27
|
-
justifyContent: "center";
|
28
|
-
};
|
29
|
-
textButton: {
|
30
|
-
fontSize: number;
|
31
|
-
fontWeight: "500";
|
32
|
-
color: string;
|
33
|
-
};
|
34
|
-
modal: {
|
35
|
-
margin: number;
|
36
|
-
};
|
37
|
-
containerButtonClose: {
|
38
|
-
marginBottom: number;
|
39
|
-
};
|
40
|
-
cameraConfigs: {
|
41
|
-
alignItems: "center";
|
42
|
-
};
|
43
|
-
};
|
44
|
-
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ValidadeFinger/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../src/types/screen.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
package/live-id-sdk.podspec
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
require "json"
|
2
|
-
|
3
|
-
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
4
|
-
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
5
|
-
|
6
|
-
Pod::Spec.new do |s|
|
7
|
-
s.name = package["name"]
|
8
|
-
s.version = package["version"]
|
9
|
-
s.summary = package["description"]
|
10
|
-
s.homepage = package["homepage"]
|
11
|
-
s.license = package["license"]
|
12
|
-
s.authors = package["author"]
|
13
|
-
|
14
|
-
s.platforms = { :ios => "11.0" }
|
15
|
-
s.source = { :git => package["repository"], :tag => "v#{s.version}" }
|
16
|
-
|
17
|
-
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
18
|
-
|
19
|
-
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
20
|
-
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
21
|
-
if respond_to?(:install_modules_dependencies, true)
|
22
|
-
install_modules_dependencies(s)
|
23
|
-
else
|
24
|
-
s.dependency "React-Core"
|
25
|
-
|
26
|
-
# Don't install the dependencies when we run `pod install` in the old architecture.
|
27
|
-
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
28
|
-
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
29
|
-
s.pod_target_xcconfig = {
|
30
|
-
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
|
31
|
-
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
|
32
|
-
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
33
|
-
}
|
34
|
-
s.dependency "React-Codegen"
|
35
|
-
s.dependency "RCT-Folly"
|
36
|
-
s.dependency "RCTRequired"
|
37
|
-
s.dependency "RCTTypeSafety"
|
38
|
-
s.dependency "ReactCommon/turbomodule/core"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Text } from 'react-native';
|
3
|
-
import { styles } from './styles';
|
4
|
-
|
5
|
-
type Props = {
|
6
|
-
exposure?: number;
|
7
|
-
zoom?: number;
|
8
|
-
showButtonInfo?: boolean;
|
9
|
-
};
|
10
|
-
|
11
|
-
export const CameraConfigInfos = ({
|
12
|
-
exposure,
|
13
|
-
zoom,
|
14
|
-
showButtonInfo,
|
15
|
-
}: Props) => {
|
16
|
-
return (
|
17
|
-
<>
|
18
|
-
{showButtonInfo ? (
|
19
|
-
<Text style={styles.text}>
|
20
|
-
Exposição: {exposure} | Zoom: {zoom}
|
21
|
-
</Text>
|
22
|
-
) : null}
|
23
|
-
</>
|
24
|
-
);
|
25
|
-
};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
2
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
3
|
-
|
4
|
-
export const styles = StyleSheet.create({
|
5
|
-
text: {
|
6
|
-
fontSize: 18,
|
7
|
-
fontWeight: '500',
|
8
|
-
color: '#fff',
|
9
|
-
textAlign: 'center',
|
10
|
-
width: RFValue(300),
|
11
|
-
marginBottom: RFValue(20),
|
12
|
-
},
|
13
|
-
});
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { View, Text, Button, StyleSheet } from 'react-native';
|
3
|
-
import Modal, { type ModalProps } from 'react-native-modal';
|
4
|
-
|
5
|
-
interface DeviceNullDisplayProps {
|
6
|
-
isVisible: boolean;
|
7
|
-
modalParams?: ModalProps;
|
8
|
-
onCloseModalHandler: () => void;
|
9
|
-
requestCameraPermission: () => void;
|
10
|
-
}
|
11
|
-
|
12
|
-
export const DeviceNullDisplay: React.FC<DeviceNullDisplayProps> = ({
|
13
|
-
isVisible,
|
14
|
-
onCloseModalHandler,
|
15
|
-
requestCameraPermission,
|
16
|
-
...modalParams
|
17
|
-
}) => {
|
18
|
-
return (
|
19
|
-
<Modal
|
20
|
-
style={styles.modal}
|
21
|
-
isVisible={isVisible}
|
22
|
-
swipeDirection="down"
|
23
|
-
propagateSwipe={true}
|
24
|
-
onSwipeComplete={onCloseModalHandler}
|
25
|
-
{...modalParams}
|
26
|
-
>
|
27
|
-
<View style={styles.container}>
|
28
|
-
<Text style={styles.errorText}>
|
29
|
-
O dispositivo não possui camera ou não foi possivel acessar a camera !
|
30
|
-
</Text>
|
31
|
-
<View style={styles.buttonContainer}>
|
32
|
-
<Button title="Fechar Camera" onPress={onCloseModalHandler} />
|
33
|
-
</View>
|
34
|
-
<Button title="Tentar novamente" onPress={requestCameraPermission} />
|
35
|
-
</View>
|
36
|
-
</Modal>
|
37
|
-
);
|
38
|
-
};
|
39
|
-
|
40
|
-
const styles = StyleSheet.create({
|
41
|
-
modal: {
|
42
|
-
margin: 0,
|
43
|
-
},
|
44
|
-
container: {
|
45
|
-
flex: 1,
|
46
|
-
alignItems: 'center',
|
47
|
-
justifyContent: 'center',
|
48
|
-
backgroundColor: 'white',
|
49
|
-
},
|
50
|
-
errorText: {
|
51
|
-
color: 'black',
|
52
|
-
fontWeight: 'bold',
|
53
|
-
fontSize: 20,
|
54
|
-
marginBottom: 16,
|
55
|
-
},
|
56
|
-
buttonContainer: {
|
57
|
-
marginBottom: 16,
|
58
|
-
},
|
59
|
-
});
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { View, Text, Button, StyleSheet } from 'react-native';
|
3
|
-
import Modal, { type ModalProps } from 'react-native-modal';
|
4
|
-
|
5
|
-
interface ErrorDisplayProps {
|
6
|
-
isVisible: boolean;
|
7
|
-
modalParams?: ModalProps;
|
8
|
-
onCloseModalHandler: () => void;
|
9
|
-
requestCameraPermission: () => void;
|
10
|
-
}
|
11
|
-
|
12
|
-
export const ErrorDisplay: React.FC<ErrorDisplayProps> = ({
|
13
|
-
isVisible,
|
14
|
-
onCloseModalHandler,
|
15
|
-
requestCameraPermission,
|
16
|
-
...modalParams
|
17
|
-
}) => {
|
18
|
-
return (
|
19
|
-
<Modal
|
20
|
-
style={styles.modal}
|
21
|
-
isVisible={isVisible}
|
22
|
-
swipeDirection="down"
|
23
|
-
propagateSwipe={true}
|
24
|
-
onSwipeComplete={onCloseModalHandler}
|
25
|
-
{...modalParams}
|
26
|
-
>
|
27
|
-
<View style={styles.container}>
|
28
|
-
<Text style={styles.errorText}>
|
29
|
-
Ocorreu um erro ao tentar acessar o dispositivo! Você deve passar o id
|
30
|
-
do usuário para validar a digital.
|
31
|
-
</Text>
|
32
|
-
<View style={styles.buttonContainer}>
|
33
|
-
<Button title="Fechar Camera" onPress={onCloseModalHandler} />
|
34
|
-
</View>
|
35
|
-
<Button title="Tentar novamente" onPress={requestCameraPermission} />
|
36
|
-
</View>
|
37
|
-
</Modal>
|
38
|
-
);
|
39
|
-
};
|
40
|
-
|
41
|
-
const styles = StyleSheet.create({
|
42
|
-
modal: {
|
43
|
-
margin: 0,
|
44
|
-
},
|
45
|
-
container: {
|
46
|
-
flex: 1,
|
47
|
-
alignItems: 'center',
|
48
|
-
justifyContent: 'center',
|
49
|
-
backgroundColor: 'white',
|
50
|
-
},
|
51
|
-
errorText: {
|
52
|
-
color: 'black',
|
53
|
-
fontWeight: 'bold',
|
54
|
-
fontSize: 20,
|
55
|
-
marginBottom: 16,
|
56
|
-
},
|
57
|
-
buttonContainer: {
|
58
|
-
marginBottom: 16,
|
59
|
-
},
|
60
|
-
});
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { View, Text } from 'react-native';
|
3
|
-
import { styles } from './styles';
|
4
|
-
import { TouchableWithoutFeedback } from 'react-native';
|
5
|
-
|
6
|
-
interface WaitingForResultProps {
|
7
|
-
onPress?: () => void;
|
8
|
-
}
|
9
|
-
|
10
|
-
export const WaitingForResult: React.FC<WaitingForResultProps> = ({
|
11
|
-
onPress,
|
12
|
-
}) => {
|
13
|
-
return (
|
14
|
-
<TouchableWithoutFeedback onPress={onPress} style={styles.flexi}>
|
15
|
-
<View style={styles.overlay}>
|
16
|
-
<Text style={styles.textOverlay}>
|
17
|
-
Você já pode retirar o dedo da tela, aguarde o resultado.
|
18
|
-
</Text>
|
19
|
-
</View>
|
20
|
-
</TouchableWithoutFeedback>
|
21
|
-
);
|
22
|
-
};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
2
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
3
|
-
|
4
|
-
export const styles = StyleSheet.create({
|
5
|
-
flexi: {
|
6
|
-
flex: 1,
|
7
|
-
},
|
8
|
-
overlay: {
|
9
|
-
zIndex: 2,
|
10
|
-
flex: 1,
|
11
|
-
height: '100%',
|
12
|
-
width: '100%',
|
13
|
-
backgroundColor: `rgba(44, 45, 46, 0.5)`,
|
14
|
-
alignItems: `center`,
|
15
|
-
justifyContent: `center`,
|
16
|
-
position: `absolute`,
|
17
|
-
},
|
18
|
-
|
19
|
-
textOverlay: {
|
20
|
-
fontSize: RFValue(18),
|
21
|
-
fontWeight: `500`,
|
22
|
-
color: `#fff`,
|
23
|
-
textAlign: `center`,
|
24
|
-
width: RFValue(300),
|
25
|
-
marginBottom: RFValue(20),
|
26
|
-
},
|
27
|
-
});
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { View, Image, Text, TouchableOpacity } from 'react-native';
|
3
|
-
import { styles } from './styles';
|
4
|
-
|
5
|
-
type AjudaCadastroProps = {
|
6
|
-
handleProximaTela: () => void;
|
7
|
-
};
|
8
|
-
|
9
|
-
export const AjudaCadastro = ({ handleProximaTela }: AjudaCadastroProps) => {
|
10
|
-
return (
|
11
|
-
<View style={styles.container}>
|
12
|
-
<View style={styles.content}>
|
13
|
-
<Text style={styles.title}>Instruções da Captura</Text>
|
14
|
-
<Text style={styles.text}>
|
15
|
-
1. Para cadastrar sua digital, escolha um fundo neutro {`\n`}
|
16
|
-
ex: folha de papel branca ou parede lisa
|
17
|
-
</Text>
|
18
|
-
<Image
|
19
|
-
source={require('../../../../assets/exampleInstructionWithoutFinger.jpeg')}
|
20
|
-
style={styles.image}
|
21
|
-
resizeMode="stretch"
|
22
|
-
/>
|
23
|
-
<Text style={styles.text}>
|
24
|
-
2. Posicione o dedo dentro do marcação indicada na tela
|
25
|
-
</Text>
|
26
|
-
<View style={styles.containerImages}>
|
27
|
-
<Image
|
28
|
-
source={require('../../../../assets/arrow.png')}
|
29
|
-
style={styles.arrow}
|
30
|
-
resizeMode="center"
|
31
|
-
/>
|
32
|
-
<Image
|
33
|
-
source={require('../../../../assets/exampleInstructionWithBorder.jpeg')}
|
34
|
-
style={styles.image}
|
35
|
-
resizeMode="contain"
|
36
|
-
/>
|
37
|
-
</View>
|
38
|
-
<Text style={styles.text}>3. Clique em "Tirar Foto" e aguarde.</Text>
|
39
|
-
<TouchableOpacity
|
40
|
-
onPress={handleProximaTela}
|
41
|
-
style={styles.button}
|
42
|
-
activeOpacity={0.5}
|
43
|
-
>
|
44
|
-
<Text style={styles.textButton}>Ir para captura</Text>
|
45
|
-
</TouchableOpacity>
|
46
|
-
</View>
|
47
|
-
</View>
|
48
|
-
);
|
49
|
-
};
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import { StyleSheet, Platform } from 'react-native';
|
2
|
-
|
3
|
-
export const styles = StyleSheet.create({
|
4
|
-
container: {
|
5
|
-
flex: 1,
|
6
|
-
justifyContent: 'center',
|
7
|
-
backgroundColor: '#f5f5f5',
|
8
|
-
gap: 10,
|
9
|
-
},
|
10
|
-
containerImages: {
|
11
|
-
justifyContent: 'center',
|
12
|
-
},
|
13
|
-
image: {
|
14
|
-
width: 150,
|
15
|
-
height: 150,
|
16
|
-
alignSelf: 'center',
|
17
|
-
borderRadius: 15,
|
18
|
-
},
|
19
|
-
arrow: {
|
20
|
-
position: 'absolute',
|
21
|
-
width: 50,
|
22
|
-
height: 50,
|
23
|
-
marginHorizontal: 32,
|
24
|
-
},
|
25
|
-
content: {
|
26
|
-
marginVertical: 10,
|
27
|
-
marginHorizontal: 20,
|
28
|
-
gap: 10,
|
29
|
-
},
|
30
|
-
title: {
|
31
|
-
alignSelf: 'center',
|
32
|
-
fontSize: 22,
|
33
|
-
fontWeight: 'bold',
|
34
|
-
marginVertical: 10,
|
35
|
-
color: '#000',
|
36
|
-
},
|
37
|
-
text: {
|
38
|
-
fontSize: 18,
|
39
|
-
textAlign: 'center',
|
40
|
-
fontWeight: Platform.OS === 'ios' ? '300' : 'normal',
|
41
|
-
marginVertical: 10,
|
42
|
-
color: '#000',
|
43
|
-
},
|
44
|
-
button: {
|
45
|
-
width: '100%',
|
46
|
-
alignItems: 'center',
|
47
|
-
marginTop: 20,
|
48
|
-
padding: 12,
|
49
|
-
borderRadius: 10,
|
50
|
-
backgroundColor: '#3652AD',
|
51
|
-
},
|
52
|
-
textButton: {
|
53
|
-
fontSize: 18,
|
54
|
-
color: '#fff',
|
55
|
-
},
|
56
|
-
});
|