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