@ha_tecno/live-id-sdk 1.0.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +138 -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 +129 -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 +9 -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 +141 -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,206 +0,0 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
|
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
3
|
-
import { Button, Text, View, Alert, TouchableOpacity } from 'react-native';
|
4
|
-
import { Camera, useCameraFormat, useCameraDevice } from 'react-native-vision-camera';
|
5
|
-
import Modal from 'react-native-modal';
|
6
|
-
import Orientation from 'react-native-orientation-locker';
|
7
|
-
import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
|
8
|
-
import { runOnJS } from 'react-native-reanimated';
|
9
|
-
import { verifyDigital } from '../../services';
|
10
|
-
import { encodeImageToBase64 } from '../../utils/file';
|
11
|
-
import { DeviceNullDisplay } from '../../components/DeviceNullDisplay';
|
12
|
-
import { ErrorDisplay } from '../../components/ErrorDisplay';
|
13
|
-
import { Gabarito } from '../../components/Gabarito';
|
14
|
-
import { WaitingForResult } from '../../components/WaitingForResult';
|
15
|
-
import { styles } from './styles';
|
16
|
-
import { CameraConfigInfos } from '../../components/CameraConfigInfos';
|
17
|
-
import { getConfigCamera } from '../../utils';
|
18
|
-
export const ValidaFinger = ({
|
19
|
-
isVisible = false,
|
20
|
-
onCloseModal,
|
21
|
-
onError,
|
22
|
-
onSuccess,
|
23
|
-
ModalParams,
|
24
|
-
screenProps
|
25
|
-
}) => {
|
26
|
-
const id = screenProps === null || screenProps === void 0 ? void 0 : screenProps.id;
|
27
|
-
const camera = useRef(null);
|
28
|
-
const [showOverlay, setShowOverlay] = useState(false);
|
29
|
-
const [load, setLoad] = useState(false);
|
30
|
-
const [cameraConfigs, setCameraConfigs] = useState();
|
31
|
-
|
32
|
-
// mantem a tela em modo portrait
|
33
|
-
useEffect(() => {
|
34
|
-
Orientation.lockToPortrait();
|
35
|
-
return () => {
|
36
|
-
Orientation.unlockAllOrientations();
|
37
|
-
};
|
38
|
-
}, []);
|
39
|
-
|
40
|
-
// Pega a permissão da camera do dispositivo
|
41
|
-
const requestCameraPermission = useCallback(async () => {
|
42
|
-
try {
|
43
|
-
await Camera.requestCameraPermission();
|
44
|
-
} catch (error) {}
|
45
|
-
}, []);
|
46
|
-
|
47
|
-
// pra garantir que a permissão da camera seja solicitada
|
48
|
-
useEffect(() => {
|
49
|
-
requestCameraPermission();
|
50
|
-
}, [requestCameraPermission]);
|
51
|
-
useEffect(() => {
|
52
|
-
getConfigCamera('finger').then(config => {
|
53
|
-
setCameraConfigs(config);
|
54
|
-
}).catch(error => {
|
55
|
-
console.error(error);
|
56
|
-
});
|
57
|
-
}, []);
|
58
|
-
const device = useCameraDevice('back', {
|
59
|
-
physicalDevices: ['wide-angle-camera']
|
60
|
-
});
|
61
|
-
const cameraFormat = useCameraFormat(device, [{
|
62
|
-
photoResolution: {
|
63
|
-
height: 1280,
|
64
|
-
width: 720
|
65
|
-
}
|
66
|
-
}]);
|
67
|
-
const capturedPhoto = async () => {
|
68
|
-
var _camera$current;
|
69
|
-
const snapshot = await ((_camera$current = camera.current) === null || _camera$current === void 0 ? void 0 : _camera$current.takePhoto({
|
70
|
-
qualityPrioritization: 'speed',
|
71
|
-
flash: 'on'
|
72
|
-
}));
|
73
|
-
if (snapshot == null) {
|
74
|
-
Alert.alert('Erro ao capturar imagem');
|
75
|
-
return false;
|
76
|
-
}
|
77
|
-
let base64 = await encodeImageToBase64(snapshot.path);
|
78
|
-
setLoad(true);
|
79
|
-
setShowOverlay(true);
|
80
|
-
sendFile(base64);
|
81
|
-
return true;
|
82
|
-
};
|
83
|
-
|
84
|
-
// Fecha o modal
|
85
|
-
const onCloseModalHandler = useCallback(() => {
|
86
|
-
onCloseModal && onCloseModal();
|
87
|
-
}, [onCloseModal]);
|
88
|
-
|
89
|
-
// Envia a imagem para a validação da digital
|
90
|
-
const sendFile = useCallback(async image => {
|
91
|
-
try {
|
92
|
-
let UID = id;
|
93
|
-
let finger = 'DI';
|
94
|
-
let req = await verifyDigital(UID, finger, image);
|
95
|
-
if (req.code === 0) {
|
96
|
-
Alert.alert('Sucesso identificado !');
|
97
|
-
onSuccess && onSuccess(req);
|
98
|
-
} else if (req.code === 1) {
|
99
|
-
Alert.alert('Não Identificado !');
|
100
|
-
onError && onError(req);
|
101
|
-
setLoad(false);
|
102
|
-
} else {
|
103
|
-
Alert.alert('Erro ao tentar validar');
|
104
|
-
onError && onError(req);
|
105
|
-
setLoad(false);
|
106
|
-
}
|
107
|
-
setLoad(false);
|
108
|
-
onCloseModalHandler();
|
109
|
-
setShowOverlay(false);
|
110
|
-
} catch (error) {
|
111
|
-
onError && onError(error);
|
112
|
-
setShowOverlay(false);
|
113
|
-
}
|
114
|
-
}, [id, onError, onSuccess, onCloseModalHandler]);
|
115
|
-
|
116
|
-
// Foca a camera na posição do toque
|
117
|
-
const focus = useCallback(point => {
|
118
|
-
const c = camera.current;
|
119
|
-
if (c == null) return;
|
120
|
-
c.focus(point);
|
121
|
-
}, []);
|
122
|
-
|
123
|
-
// Gestos para focar a camera
|
124
|
-
const gesture = Gesture.Tap().onBegin(({
|
125
|
-
x,
|
126
|
-
y
|
127
|
-
}) => {
|
128
|
-
runOnJS(focus)({
|
129
|
-
x,
|
130
|
-
y
|
131
|
-
});
|
132
|
-
});
|
133
|
-
if (!screenProps && isVisible) {
|
134
|
-
return /*#__PURE__*/React.createElement(ErrorDisplay, {
|
135
|
-
isVisible: isVisible,
|
136
|
-
modalParams: ModalParams,
|
137
|
-
onCloseModalHandler: onCloseModalHandler,
|
138
|
-
requestCameraPermission: requestCameraPermission
|
139
|
-
});
|
140
|
-
}
|
141
|
-
if (device == null) {
|
142
|
-
return /*#__PURE__*/React.createElement(DeviceNullDisplay, {
|
143
|
-
isVisible: isVisible,
|
144
|
-
modalParams: ModalParams,
|
145
|
-
onCloseModalHandler: onCloseModalHandler,
|
146
|
-
requestCameraPermission: requestCameraPermission
|
147
|
-
});
|
148
|
-
}
|
149
|
-
if (screenProps) {
|
150
|
-
return /*#__PURE__*/React.createElement(Modal, _extends({
|
151
|
-
style: styles.modal,
|
152
|
-
isVisible: isVisible,
|
153
|
-
swipeDirection: "down",
|
154
|
-
propagateSwipe: true,
|
155
|
-
onSwipeComplete: onCloseModalHandler
|
156
|
-
}, ModalParams), /*#__PURE__*/React.createElement(GestureHandlerRootView, {
|
157
|
-
style: styles.root
|
158
|
-
}, /*#__PURE__*/React.createElement(View, {
|
159
|
-
style: styles.container
|
160
|
-
}, showOverlay && /*#__PURE__*/React.createElement(WaitingForResult, {
|
161
|
-
onPress: () => {
|
162
|
-
setShowOverlay(false);
|
163
|
-
}
|
164
|
-
}), /*#__PURE__*/React.createElement(GestureDetector, {
|
165
|
-
gesture: gesture
|
166
|
-
}, /*#__PURE__*/React.createElement(View, {
|
167
|
-
style: styles.cameraContainer
|
168
|
-
}, /*#__PURE__*/React.createElement(Camera, {
|
169
|
-
ref: camera,
|
170
|
-
format: cameraFormat,
|
171
|
-
isActive: true,
|
172
|
-
device: device,
|
173
|
-
torch: 'on',
|
174
|
-
exposure: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.exposure,
|
175
|
-
zoom: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.zoom,
|
176
|
-
photo: true,
|
177
|
-
enableHighQualityPhotos: true,
|
178
|
-
style: styles.camera
|
179
|
-
}), !showOverlay && /*#__PURE__*/React.createElement(Gabarito, null))), /*#__PURE__*/React.createElement(View, {
|
180
|
-
style: styles.containerCapture
|
181
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
182
|
-
disabled: load,
|
183
|
-
onPress: () => capturedPhoto()
|
184
|
-
}, /*#__PURE__*/React.createElement(View, {
|
185
|
-
style: styles.containerButton
|
186
|
-
}, load ? /*#__PURE__*/React.createElement(Text, {
|
187
|
-
style: styles.textButton
|
188
|
-
}, "Verificando Digital...") : /*#__PURE__*/React.createElement(Text, {
|
189
|
-
style: styles.textButton
|
190
|
-
}, "Tirar Foto")))), /*#__PURE__*/React.createElement(View, {
|
191
|
-
style: styles.containerButtonClose
|
192
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
193
|
-
disabled: load,
|
194
|
-
title: "Fechar Camera",
|
195
|
-
onPress: onCloseModalHandler
|
196
|
-
}), /*#__PURE__*/React.createElement(View, {
|
197
|
-
style: styles.cameraConfigs
|
198
|
-
}, /*#__PURE__*/React.createElement(CameraConfigInfos, {
|
199
|
-
exposure: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.exposure,
|
200
|
-
zoom: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.zoom,
|
201
|
-
showButtonInfo: cameraConfigs === null || cameraConfigs === void 0 ? void 0 : cameraConfigs.showButtonInfo
|
202
|
-
}))))));
|
203
|
-
}
|
204
|
-
return null;
|
205
|
-
};
|
206
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","useCallback","useEffect","useRef","useState","Button","Text","View","Alert","TouchableOpacity","Camera","useCameraFormat","useCameraDevice","Modal","Orientation","Gesture","GestureDetector","GestureHandlerRootView","runOnJS","verifyDigital","encodeImageToBase64","DeviceNullDisplay","ErrorDisplay","Gabarito","WaitingForResult","styles","CameraConfigInfos","getConfigCamera","ValidaFinger","isVisible","onCloseModal","onError","onSuccess","ModalParams","screenProps","id","camera","showOverlay","setShowOverlay","load","setLoad","cameraConfigs","setCameraConfigs","lockToPortrait","unlockAllOrientations","requestCameraPermission","error","then","config","catch","console","device","physicalDevices","cameraFormat","photoResolution","height","width","capturedPhoto","_camera$current","snapshot","current","takePhoto","qualityPrioritization","flash","alert","base64","path","sendFile","onCloseModalHandler","image","UID","finger","req","code","focus","point","c","gesture","Tap","onBegin","x","y","createElement","modalParams","_extends","style","modal","swipeDirection","propagateSwipe","onSwipeComplete","root","container","onPress","cameraContainer","ref","format","isActive","torch","exposure","zoom","photo","enableHighQualityPhotos","containerCapture","disabled","containerButton","textButton","containerButtonClose","title","showButtonInfo"],"sourceRoot":"../../../../src","sources":["screens/ValidadeFinger/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACvE,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAEC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;AAC1E,SACEC,MAAM,EACNC,eAAe,EAEfC,eAAe,QACV,4BAA4B;AACnC,OAAOC,KAAK,MAA2B,oBAAoB;AAC3D,OAAOC,WAAW,MAAM,iCAAiC;AACzD,SACEC,OAAO,EACPC,eAAe,EACfC,sBAAsB,QACjB,8BAA8B;AACrC,SAASC,OAAO,QAAQ,yBAAyB;AAEjD,SAASC,aAAa,QAAQ,gBAAgB;AAC9C,SAASC,mBAAmB,QAAQ,kBAAkB;AAEtD,SAASC,iBAAiB,QAAQ,oCAAoC;AACtE,SAASC,YAAY,QAAQ,+BAA+B;AAC5D,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC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K,EAAC,eAAe;MACrBf,OAAO,EAAExB;IAAoB,CAC9B,CAAC,eACFpE,KAAA,CAAAkF,aAAA,CAAC3E,IAAI;MAAC8E,KAAK,EAAE5D,MAAM,CAACgB;IAAc,gBAChCzC,KAAA,CAAAkF,aAAA,CAACxD,iBAAiB;MAChBwE,QAAQ,EAAEzD,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEyD,QAAS;MAClCC,IAAI,EAAE1D,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAE0D,IAAK;MAC1BS,cAAc,EAAEnE,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEmE;IAAe,CAC/C,CACG,CACF,CACF,CACgB,CACnB,CAAC;EAEZ;EAEA,OAAO,IAAI;AACb,CAAC"}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import { StyleSheet, Dimensions, Platform } from 'react-native';
|
2
|
-
const {
|
3
|
-
height
|
4
|
-
} = Dimensions.get('window');
|
5
|
-
export const styles = StyleSheet.create({
|
6
|
-
container: {
|
7
|
-
flex: 1
|
8
|
-
},
|
9
|
-
root: {
|
10
|
-
flex: 1
|
11
|
-
},
|
12
|
-
cameraContainer: {
|
13
|
-
flex: 1
|
14
|
-
},
|
15
|
-
camera: {
|
16
|
-
flex: 1,
|
17
|
-
justifyContent: 'flex-end',
|
18
|
-
paddingBottom: height * 0.2
|
19
|
-
},
|
20
|
-
containerCapture: {
|
21
|
-
height: height * 0.2,
|
22
|
-
alignItems: 'center',
|
23
|
-
justifyContent: 'center'
|
24
|
-
},
|
25
|
-
containerButton: {
|
26
|
-
width: 350,
|
27
|
-
height: 100,
|
28
|
-
borderRadius: 80,
|
29
|
-
backgroundColor: 'blue',
|
30
|
-
alignItems: 'center',
|
31
|
-
justifyContent: 'center'
|
32
|
-
},
|
33
|
-
textButton: {
|
34
|
-
fontSize: 18,
|
35
|
-
fontWeight: '500',
|
36
|
-
color: '#fff'
|
37
|
-
},
|
38
|
-
modal: {
|
39
|
-
margin: 0
|
40
|
-
},
|
41
|
-
containerButtonClose: {
|
42
|
-
marginBottom: Platform.OS === 'ios' ? 48 : 0
|
43
|
-
},
|
44
|
-
cameraConfigs: {
|
45
|
-
alignItems: 'center'
|
46
|
-
}
|
47
|
-
});
|
48
|
-
//# sourceMappingURL=styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["StyleSheet","Dimensions","Platform","height","get","styles","create","container","flex","root","cameraContainer","camera","justifyContent","paddingBottom","containerCapture","alignItems","containerButton","width","borderRadius","backgroundColor","textButton","fontSize","fontWeight","color","modal","margin","containerButtonClose","marginBottom","OS","cameraConfigs"],"sourceRoot":"../../../../src","sources":["screens/ValidadeFinger/styles.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAE/D,MAAM;EAAEC;AAAO,CAAC,GAAGF,UAAU,CAACG,GAAG,CAAC,QAAQ,CAAC;AAE3C,OAAO,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE;EACR,CAAC;EACDC,IAAI,EAAE;IACJD,IAAI,EAAE;EACR,CAAC;EACDE,eAAe,EAAE;IACfF,IAAI,EAAE;EACR,CAAC;EACDG,MAAM,EAAE;IACNH,IAAI,EAAE,CAAC;IACPI,cAAc,EAAE,UAAU;IAC1BC,aAAa,EAAEV,MAAM,GAAG;EAC1B,CAAC;EACDW,gBAAgB,EAAE;IAChBX,MAAM,EAAEA,MAAM,GAAG,GAAG;IACpBY,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDI,eAAe,EAAE;IACfC,KAAK,EAAE,GAAG;IACVd,MAAM,EAAE,GAAG;IACXe,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE,MAAM;IACvBJ,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE;EAClB,CAAC;EACDQ,UAAU,EAAE;IACVC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT,CAAC;EACDC,KAAK,EAAE;IACLC,MAAM,EAAE;EACV,CAAC;EACDC,oBAAoB,EAAE;IACpBC,YAAY,EAAEzB,QAAQ,CAAC0B,EAAE,KAAK,KAAK,GAAG,EAAE,GAAG;EAC7C,CAAC;EACDC,aAAa,EAAE;IACbd,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
type Props = {
|
3
|
-
exposure?: number;
|
4
|
-
zoom?: number;
|
5
|
-
showButtonInfo?: boolean;
|
6
|
-
};
|
7
|
-
export declare const CameraConfigInfos: ({ exposure, zoom, showButtonInfo, }: Props) => JSX.Element;
|
8
|
-
export {};
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CameraConfigInfos/index.tsx"],"names":[],"mappings":";AAIA,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,wCAI3B,KAAK,gBAUP,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/CameraConfigInfos/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;CASjB,CAAC"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ModalProps } from 'react-native-modal';
|
3
|
-
interface DeviceNullDisplayProps {
|
4
|
-
isVisible: boolean;
|
5
|
-
modalParams?: ModalProps;
|
6
|
-
onCloseModalHandler: () => void;
|
7
|
-
requestCameraPermission: () => void;
|
8
|
-
}
|
9
|
-
export declare const DeviceNullDisplay: React.FC<DeviceNullDisplayProps>;
|
10
|
-
export {};
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeviceNullDisplay/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE5D,UAAU,sBAAsB;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA0B9D,CAAC"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ModalProps } from 'react-native-modal';
|
3
|
-
interface ErrorDisplayProps {
|
4
|
-
isVisible: boolean;
|
5
|
-
modalParams?: ModalProps;
|
6
|
-
onCloseModalHandler: () => void;
|
7
|
-
requestCameraPermission: () => void;
|
8
|
-
}
|
9
|
-
export declare const ErrorDisplay: React.FC<ErrorDisplayProps>;
|
10
|
-
export {};
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorDisplay/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE5D,UAAU,iBAAiB;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2BpD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/WaitingForResult/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAY5D,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/WaitingForResult/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/AjudaCadastro/index.tsx"],"names":[],"mappings":";AAIA,KAAK,kBAAkB,GAAG;IACxB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,aAAa,0BAA2B,kBAAkB,gBAwCtE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/AjudaCadastro/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ModalProps } from 'react-native-modal';
|
3
|
-
import type { ScreenProps } from '../../../../types/screen';
|
4
|
-
interface CameraCadastroProps {
|
5
|
-
isVisible?: boolean;
|
6
|
-
onCloseModal?: () => void;
|
7
|
-
onError?: (response?: any) => void;
|
8
|
-
onSuccess?: (response?: any) => void;
|
9
|
-
screenProps?: ScreenProps;
|
10
|
-
onMaxAttempts?: () => void;
|
11
|
-
maxAttempts?: number;
|
12
|
-
ModalParams?: ModalProps;
|
13
|
-
}
|
14
|
-
export declare const CameraCadastro: React.FC<CameraCadastroProps>;
|
15
|
-
export {};
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/CameraCadastro/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAc5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAU5D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,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;IACrC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B;AAaD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6SxD,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
|
-
modal: {
|
22
|
-
margin: number;
|
23
|
-
};
|
24
|
-
containerButton: {
|
25
|
-
width: number;
|
26
|
-
height: number;
|
27
|
-
borderRadius: number;
|
28
|
-
backgroundColor: string;
|
29
|
-
alignItems: "center";
|
30
|
-
justifyContent: "center";
|
31
|
-
};
|
32
|
-
textButton: {
|
33
|
-
fontSize: number;
|
34
|
-
fontWeight: "500";
|
35
|
-
color: string;
|
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/CadastroFinger/components/CameraCadastro/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ScreenProps } from '../../../../types/screen';
|
3
|
-
interface ImageDisplayScreenProps {
|
4
|
-
isVisible?: boolean;
|
5
|
-
onCloseModal?: () => void;
|
6
|
-
onError?: (response?: any) => void;
|
7
|
-
onSuccess?: (response?: any) => void;
|
8
|
-
screenProps?: ScreenProps;
|
9
|
-
}
|
10
|
-
export declare const ImageDisplayScreen: React.FC<ImageDisplayScreenProps>;
|
11
|
-
export {};
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/ImageDisplayScreen/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,UAAU,uBAAuB;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,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;IACrC,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA+BhE,CAAC"}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
export declare const styles: {
|
2
|
-
container: {
|
3
|
-
paddingBottom: number;
|
4
|
-
flex: number;
|
5
|
-
backgroundColor: string;
|
6
|
-
};
|
7
|
-
imageContainer: {
|
8
|
-
marginBottom: number;
|
9
|
-
alignItems: "center";
|
10
|
-
justifyContent: "center";
|
11
|
-
};
|
12
|
-
image: {
|
13
|
-
width: "100%";
|
14
|
-
height: "90%";
|
15
|
-
aspectRatio: number;
|
16
|
-
resizeMode: "contain";
|
17
|
-
};
|
18
|
-
imageText: {
|
19
|
-
marginTop: number;
|
20
|
-
fontSize: number;
|
21
|
-
fontWeight: "bold";
|
22
|
-
};
|
23
|
-
buttonContainer: {
|
24
|
-
marginBottom: number;
|
25
|
-
alignItems: "center";
|
26
|
-
};
|
27
|
-
additionalGraphics: {
|
28
|
-
width: "100%";
|
29
|
-
height: number;
|
30
|
-
backgroundColor: string;
|
31
|
-
position: "absolute";
|
32
|
-
alignSelf: "center";
|
33
|
-
marginTop: "35%";
|
34
|
-
alignItems: "center";
|
35
|
-
justifyContent: "center";
|
36
|
-
};
|
37
|
-
graphicElement1: {
|
38
|
-
width: number;
|
39
|
-
height: number;
|
40
|
-
backgroundColor: string;
|
41
|
-
borderWidth: number;
|
42
|
-
borderColor: string;
|
43
|
-
marginLeft: number;
|
44
|
-
borderTopLeftRadius: number;
|
45
|
-
borderBottomLeftRadius: number;
|
46
|
-
borderTopRightRadius: number;
|
47
|
-
borderBottomRightRadius: number;
|
48
|
-
transform: {
|
49
|
-
scaleX: number;
|
50
|
-
}[];
|
51
|
-
};
|
52
|
-
graphicElement2: {};
|
53
|
-
};
|
54
|
-
//# sourceMappingURL=styles.d.ts.map
|
package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/ImageDisplayScreen/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjB,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ModalProps } from 'react-native-modal';
|
3
|
-
import type { ScreenProps } from '../../types/screen';
|
4
|
-
interface CadastroFingerProps {
|
5
|
-
isVisible: boolean;
|
6
|
-
onCloseModal?: () => void;
|
7
|
-
onError?: (response?: any) => void;
|
8
|
-
onSuccess?: (response?: any) => void;
|
9
|
-
ModalParams?: ModalProps;
|
10
|
-
screenProps?: ScreenProps;
|
11
|
-
onMaxAttempts?: () => void;
|
12
|
-
maxAttempts?: number;
|
13
|
-
}
|
14
|
-
export declare const CadastroFinger: React.FC<CadastroFingerProps>;
|
15
|
-
export {};
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CadastroFinger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,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;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuCxD,CAAC"}
|
@@ -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 CameraProvaVidasProps {
|
5
|
-
isVisible: boolean;
|
6
|
-
onCloseModal?: () => void;
|
7
|
-
onError?: (response?: any) => void;
|
8
|
-
onSuccess?: (response?: any) => void;
|
9
|
-
ModalParams?: ModalProps;
|
10
|
-
screenProps?: ScreenProps;
|
11
|
-
}
|
12
|
-
export declare const CameraProvaVidas: React.FC<CameraProvaVidasProps>;
|
13
|
-
export {};
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ProvaVidas/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAK5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAWtD,UAAU,qBAAqB;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,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;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAaD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsQ5D,CAAC"}
|
@@ -1,85 +0,0 @@
|
|
1
|
-
export declare const styles: {
|
2
|
-
container: {
|
3
|
-
flex: number;
|
4
|
-
};
|
5
|
-
subContainer: {
|
6
|
-
flex: number;
|
7
|
-
};
|
8
|
-
image: {
|
9
|
-
width: number;
|
10
|
-
height: number;
|
11
|
-
};
|
12
|
-
modalImage: {
|
13
|
-
width: "100%";
|
14
|
-
height: "100%";
|
15
|
-
resizeMode: "contain";
|
16
|
-
};
|
17
|
-
overlay: {
|
18
|
-
zIndex: number;
|
19
|
-
flex: number;
|
20
|
-
height: "100%";
|
21
|
-
width: "100%";
|
22
|
-
backgroundColor: string;
|
23
|
-
alignItems: "center";
|
24
|
-
justifyContent: "center";
|
25
|
-
position: "absolute";
|
26
|
-
};
|
27
|
-
textOverlay: {
|
28
|
-
fontSize: number;
|
29
|
-
fontWeight: "500";
|
30
|
-
color: string;
|
31
|
-
textAlign: "center";
|
32
|
-
width: number;
|
33
|
-
marginBottom: number;
|
34
|
-
};
|
35
|
-
closeButton: {
|
36
|
-
position: "absolute";
|
37
|
-
top: number;
|
38
|
-
right: number;
|
39
|
-
};
|
40
|
-
closeIcon: {
|
41
|
-
width: number;
|
42
|
-
height: number;
|
43
|
-
};
|
44
|
-
containerCamera: {
|
45
|
-
flex: number;
|
46
|
-
};
|
47
|
-
cameraView: {
|
48
|
-
width: "100%";
|
49
|
-
height: number;
|
50
|
-
backgroundColor: string;
|
51
|
-
position: "absolute";
|
52
|
-
alignSelf: "center";
|
53
|
-
marginTop: number;
|
54
|
-
alignItems: "center";
|
55
|
-
justifyContent: "center";
|
56
|
-
};
|
57
|
-
containerTouch: {
|
58
|
-
height: number;
|
59
|
-
alignItems: "center";
|
60
|
-
};
|
61
|
-
containerText: {
|
62
|
-
width: number;
|
63
|
-
height: number;
|
64
|
-
borderRadius: number;
|
65
|
-
backgroundColor: string;
|
66
|
-
alignItems: "center";
|
67
|
-
justifyContent: "center";
|
68
|
-
marginTop: number;
|
69
|
-
};
|
70
|
-
textRecording: {
|
71
|
-
fontSize: number;
|
72
|
-
fontWeight: "500";
|
73
|
-
color: string;
|
74
|
-
};
|
75
|
-
containerTextExposureAndZoom: {};
|
76
|
-
textExposureAndZoom: {
|
77
|
-
fontSize: number;
|
78
|
-
fontWeight: "500";
|
79
|
-
color: string;
|
80
|
-
textAlign: "center";
|
81
|
-
width: number;
|
82
|
-
marginBottom: number;
|
83
|
-
};
|
84
|
-
};
|
85
|
-
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ProvaVidas/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FjB,CAAC"}
|