@ha_tecno/live-id-sdk 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +20 -0
- package/README.md +323 -0
- package/android/build.gradle +94 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +4 -0
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/com/liveidsdk/LiveIdSdkModule.kt +25 -0
- package/android/src/main/java/com/liveidsdk/LiveIdSdkPackage.kt +17 -0
- package/ios/LiveIdSdk-Bridging-Header.h +2 -0
- package/ios/LiveIdSdk.mm +14 -0
- package/ios/LiveIdSdk.swift +8 -0
- package/lib/commonjs/assets/arrow.png +0 -0
- package/lib/commonjs/assets/exampleInstructionWithBorder.jpeg +0 -0
- package/lib/commonjs/assets/exampleInstructionWithoutFinger.jpeg +0 -0
- package/lib/commonjs/assets/ic_redness_capture_tip.png +0 -0
- package/lib/commonjs/assets/logo.png +0 -0
- package/lib/commonjs/components/CameraConfigInfos/index.js +21 -0
- package/lib/commonjs/components/CameraConfigInfos/index.js.map +1 -0
- package/lib/commonjs/components/CameraConfigInfos/styles.js +19 -0
- package/lib/commonjs/components/CameraConfigInfos/styles.js.map +1 -0
- package/lib/commonjs/components/DeviceNullDisplay/index.js +59 -0
- package/lib/commonjs/components/DeviceNullDisplay/index.js.map +1 -0
- package/lib/commonjs/components/ErrorDisplay/index.js +59 -0
- package/lib/commonjs/components/ErrorDisplay/index.js.map +1 -0
- package/lib/commonjs/components/Gabarito/index.js +19 -0
- package/lib/commonjs/components/Gabarito/index.js.map +1 -0
- package/lib/commonjs/components/Gabarito/styles.js +30 -0
- package/lib/commonjs/components/Gabarito/styles.js.map +1 -0
- package/lib/commonjs/components/Toast/Toast.js +66 -0
- package/lib/commonjs/components/Toast/Toast.js.map +1 -0
- package/lib/commonjs/components/WaitingForResult/index.js +24 -0
- package/lib/commonjs/components/WaitingForResult/index.js.map +1 -0
- package/lib/commonjs/components/WaitingForResult/styles.js +32 -0
- package/lib/commonjs/components/WaitingForResult/styles.js.map +1 -0
- package/lib/commonjs/index.js +34 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js +49 -0
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/index.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/styles.js +62 -0
- package/lib/commonjs/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js +298 -0
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/index.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js +54 -0
- package/lib/commonjs/screens/CadastroFinger/components/CameraCadastro/styles.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js +44 -0
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +65 -0
- package/lib/commonjs/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +1 -0
- package/lib/commonjs/screens/CadastroFinger/index.js +50 -0
- package/lib/commonjs/screens/CadastroFinger/index.js.map +1 -0
- package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js +186 -0
- package/lib/commonjs/screens/CadastroScreen/CadastroScreen.js.map +1 -0
- package/lib/commonjs/screens/ProvaVidas/index.js +246 -0
- package/lib/commonjs/screens/ProvaVidas/index.js.map +1 -0
- package/lib/commonjs/screens/ProvaVidas/styles.js +93 -0
- package/lib/commonjs/screens/ProvaVidas/styles.js.map +1 -0
- package/lib/commonjs/screens/ValidadeFinger/index.js +216 -0
- package/lib/commonjs/screens/ValidadeFinger/index.js.map +1 -0
- package/lib/commonjs/screens/ValidadeFinger/styles.js +54 -0
- package/lib/commonjs/screens/ValidadeFinger/styles.js.map +1 -0
- package/lib/commonjs/services/index.js +145 -0
- package/lib/commonjs/services/index.js.map +1 -0
- package/lib/commonjs/types/screen.js +2 -0
- package/lib/commonjs/types/screen.js.map +1 -0
- package/lib/commonjs/utils/file.js +38 -0
- package/lib/commonjs/utils/file.js.map +1 -0
- package/lib/commonjs/utils/getConfigCamera.js +25 -0
- package/lib/commonjs/utils/getConfigCamera.js.map +1 -0
- package/lib/commonjs/utils/index.js +14 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/module/assets/arrow.png +0 -0
- package/lib/module/assets/exampleInstructionWithBorder.jpeg +0 -0
- package/lib/module/assets/exampleInstructionWithoutFinger.jpeg +0 -0
- package/lib/module/assets/ic_redness_capture_tip.png +0 -0
- package/lib/module/assets/logo.png +0 -0
- package/lib/module/components/CameraConfigInfos/index.js +13 -0
- package/lib/module/components/CameraConfigInfos/index.js.map +1 -0
- package/lib/module/components/CameraConfigInfos/styles.js +13 -0
- package/lib/module/components/CameraConfigInfos/styles.js.map +1 -0
- package/lib/module/components/DeviceNullDisplay/index.js +51 -0
- package/lib/module/components/DeviceNullDisplay/index.js.map +1 -0
- package/lib/module/components/ErrorDisplay/index.js +51 -0
- package/lib/module/components/ErrorDisplay/index.js.map +1 -0
- package/lib/module/components/Gabarito/index.js +11 -0
- package/lib/module/components/Gabarito/index.js.map +1 -0
- package/lib/module/components/Gabarito/styles.js +24 -0
- package/lib/module/components/Gabarito/styles.js.map +1 -0
- package/lib/module/components/Toast/Toast.js +58 -0
- package/lib/module/components/Toast/Toast.js.map +1 -0
- package/lib/module/components/WaitingForResult/index.js +17 -0
- package/lib/module/components/WaitingForResult/index.js.map +1 -0
- package/lib/module/components/WaitingForResult/styles.js +26 -0
- package/lib/module/components/WaitingForResult/styles.js.map +1 -0
- package/lib/module/index.js +7 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/index.js +41 -0
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/index.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js +56 -0
- package/lib/module/screens/CadastroFinger/components/AjudaCadastro/styles.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js +288 -0
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/index.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js +48 -0
- package/lib/module/screens/CadastroFinger/components/CameraCadastro/styles.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js +36 -0
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/index.js.map +1 -0
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js +59 -0
- package/lib/module/screens/CadastroFinger/components/ImageDisplayScreen/styles.js.map +1 -0
- package/lib/module/screens/CadastroFinger/index.js +42 -0
- package/lib/module/screens/CadastroFinger/index.js.map +1 -0
- package/lib/module/screens/CadastroScreen/CadastroScreen.js +177 -0
- package/lib/module/screens/CadastroScreen/CadastroScreen.js.map +1 -0
- package/lib/module/screens/ProvaVidas/index.js +239 -0
- package/lib/module/screens/ProvaVidas/index.js.map +1 -0
- package/lib/module/screens/ProvaVidas/styles.js +87 -0
- package/lib/module/screens/ProvaVidas/styles.js.map +1 -0
- package/lib/module/screens/ValidadeFinger/index.js +206 -0
- package/lib/module/screens/ValidadeFinger/index.js.map +1 -0
- package/lib/module/screens/ValidadeFinger/styles.js +48 -0
- package/lib/module/screens/ValidadeFinger/styles.js.map +1 -0
- package/lib/module/services/index.js +131 -0
- package/lib/module/services/index.js.map +1 -0
- package/lib/module/types/screen.js +2 -0
- package/lib/module/types/screen.js.map +1 -0
- package/lib/module/utils/file.js +29 -0
- package/lib/module/utils/file.js.map +1 -0
- package/lib/module/utils/getConfigCamera.js +19 -0
- package/lib/module/utils/getConfigCamera.js.map +1 -0
- package/lib/module/utils/index.js +3 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/typescript/src/components/CameraConfigInfos/index.d.ts +9 -0
- package/lib/typescript/src/components/CameraConfigInfos/index.d.ts.map +1 -0
- package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts +11 -0
- package/lib/typescript/src/components/CameraConfigInfos/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts +11 -0
- package/lib/typescript/src/components/DeviceNullDisplay/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ErrorDisplay/index.d.ts +11 -0
- package/lib/typescript/src/components/ErrorDisplay/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Gabarito/index.d.ts +3 -0
- package/lib/typescript/src/components/Gabarito/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Gabarito/styles.d.ts +21 -0
- package/lib/typescript/src/components/Gabarito/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/Toast/Toast.d.ts +42 -0
- package/lib/typescript/src/components/Toast/Toast.d.ts.map +1 -0
- package/lib/typescript/src/components/WaitingForResult/index.d.ts +7 -0
- package/lib/typescript/src/components/WaitingForResult/index.d.ts.map +1 -0
- package/lib/typescript/src/components/WaitingForResult/styles.d.ts +24 -0
- package/lib/typescript/src/components/WaitingForResult/styles.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +5 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts +7 -0
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/styles.d.ts +55 -0
- package/lib/typescript/src/screens/CadastroFinger/components/AjudaCadastro/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts +16 -0
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts +44 -0
- package/lib/typescript/src/screens/CadastroFinger/components/CameraCadastro/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts +12 -0
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts +54 -0
- package/lib/typescript/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroFinger/index.d.ts +16 -0
- package/lib/typescript/src/screens/CadastroFinger/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts +14 -0
- package/lib/typescript/src/screens/CadastroScreen/CadastroScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProvaVidas/index.d.ts +14 -0
- package/lib/typescript/src/screens/ProvaVidas/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProvaVidas/styles.d.ts +85 -0
- package/lib/typescript/src/screens/ProvaVidas/styles.d.ts.map +1 -0
- package/lib/typescript/src/screens/ValidadeFinger/index.d.ts +14 -0
- package/lib/typescript/src/screens/ValidadeFinger/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts +44 -0
- package/lib/typescript/src/screens/ValidadeFinger/styles.d.ts.map +1 -0
- package/lib/typescript/src/services/index.d.ts +21 -0
- package/lib/typescript/src/services/index.d.ts.map +1 -0
- package/lib/typescript/src/types/screen.d.ts +6 -0
- package/lib/typescript/src/types/screen.d.ts.map +1 -0
- package/lib/typescript/src/utils/file.d.ts +3 -0
- package/lib/typescript/src/utils/file.d.ts.map +1 -0
- package/lib/typescript/src/utils/getConfigCamera.d.ts +14 -0
- package/lib/typescript/src/utils/getConfigCamera.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +3 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/live-id-sdk.podspec +41 -0
- package/package.json +184 -0
- package/src/assets/arrow.png +0 -0
- package/src/assets/exampleInstructionWithBorder.jpeg +0 -0
- package/src/assets/exampleInstructionWithoutFinger.jpeg +0 -0
- package/src/assets/ic_redness_capture_tip.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/components/CameraConfigInfos/index.tsx +25 -0
- package/src/components/CameraConfigInfos/styles.ts +13 -0
- package/src/components/DeviceNullDisplay/index.tsx +59 -0
- package/src/components/ErrorDisplay/index.tsx +60 -0
- package/src/components/Gabarito/index.tsx +11 -0
- package/src/components/Gabarito/styles.ts +23 -0
- package/src/components/Toast/Toast.tsx +61 -0
- package/src/components/WaitingForResult/index.tsx +22 -0
- package/src/components/WaitingForResult/styles.ts +27 -0
- package/src/index.tsx +6 -0
- package/src/screens/CadastroFinger/components/AjudaCadastro/index.tsx +49 -0
- package/src/screens/CadastroFinger/components/AjudaCadastro/styles.ts +56 -0
- package/src/screens/CadastroFinger/components/CameraCadastro/index.tsx +356 -0
- package/src/screens/CadastroFinger/components/CameraCadastro/styles.ts +47 -0
- package/src/screens/CadastroFinger/components/ImageDisplayScreen/index.tsx +45 -0
- package/src/screens/CadastroFinger/components/ImageDisplayScreen/styles.ts +55 -0
- package/src/screens/CadastroFinger/index.tsx +56 -0
- package/src/screens/CadastroScreen/CadastroScreen.tsx +212 -0
- package/src/screens/ProvaVidas/index.tsx +308 -0
- package/src/screens/ProvaVidas/styles.ts +99 -0
- package/src/screens/ValidadeFinger/index.tsx +263 -0
- package/src/screens/ValidadeFinger/styles.ts +47 -0
- package/src/services/index.ts +143 -0
- package/src/types/screen.ts +5 -0
- package/src/utils/file.ts +30 -0
- package/src/utils/getConfigCamera.ts +45 -0
- package/src/utils/index.ts +3 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const styles: {
|
2
|
+
flexi: {
|
3
|
+
flex: number;
|
4
|
+
};
|
5
|
+
overlay: {
|
6
|
+
zIndex: number;
|
7
|
+
flex: number;
|
8
|
+
height: "100%";
|
9
|
+
width: "100%";
|
10
|
+
backgroundColor: string;
|
11
|
+
alignItems: "center";
|
12
|
+
justifyContent: "center";
|
13
|
+
position: "absolute";
|
14
|
+
};
|
15
|
+
textOverlay: {
|
16
|
+
fontSize: number;
|
17
|
+
fontWeight: "500";
|
18
|
+
color: string;
|
19
|
+
textAlign: "center";
|
20
|
+
width: number;
|
21
|
+
marginBottom: number;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/WaitingForResult/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { ValidaFinger } from './screens/ValidadeFinger';
|
2
|
+
export { CameraProvaVidas } from './screens/ProvaVidas';
|
3
|
+
export { CadastroFinger } from './screens/CadastroFinger';
|
4
|
+
export { CadastroScreen } from './screens/CadastroScreen/CadastroScreen';
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC"}
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
export declare const styles: {
|
2
|
+
container: {
|
3
|
+
flex: number;
|
4
|
+
justifyContent: "center";
|
5
|
+
backgroundColor: string;
|
6
|
+
gap: number;
|
7
|
+
};
|
8
|
+
containerImages: {
|
9
|
+
justifyContent: "center";
|
10
|
+
};
|
11
|
+
image: {
|
12
|
+
width: number;
|
13
|
+
height: number;
|
14
|
+
alignSelf: "center";
|
15
|
+
borderRadius: number;
|
16
|
+
};
|
17
|
+
arrow: {
|
18
|
+
position: "absolute";
|
19
|
+
width: number;
|
20
|
+
height: number;
|
21
|
+
marginHorizontal: number;
|
22
|
+
};
|
23
|
+
content: {
|
24
|
+
marginVertical: number;
|
25
|
+
marginHorizontal: number;
|
26
|
+
gap: number;
|
27
|
+
};
|
28
|
+
title: {
|
29
|
+
alignSelf: "center";
|
30
|
+
fontSize: number;
|
31
|
+
fontWeight: "bold";
|
32
|
+
marginVertical: number;
|
33
|
+
color: string;
|
34
|
+
};
|
35
|
+
text: {
|
36
|
+
fontSize: number;
|
37
|
+
textAlign: "center";
|
38
|
+
fontWeight: "normal" | "300";
|
39
|
+
marginVertical: number;
|
40
|
+
color: string;
|
41
|
+
};
|
42
|
+
button: {
|
43
|
+
width: "100%";
|
44
|
+
alignItems: "center";
|
45
|
+
marginTop: number;
|
46
|
+
padding: number;
|
47
|
+
borderRadius: number;
|
48
|
+
backgroundColor: string;
|
49
|
+
};
|
50
|
+
textButton: {
|
51
|
+
fontSize: number;
|
52
|
+
color: string;
|
53
|
+
};
|
54
|
+
};
|
55
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/AjudaCadastro/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,44 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/CameraCadastro/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
|
@@ -0,0 +1,12 @@
|
|
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
ADDED
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,54 @@
|
|
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
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/CadastroFinger/components/ImageDisplayScreen/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjB,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { type ModalProps } from 'react-native-modal';
|
3
|
+
import type { ScreenProps } from '../../types/screen';
|
4
|
+
interface CadastroScreenProps {
|
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 CadastroScreen: React.FC<CadastroScreenProps>;
|
13
|
+
export {};
|
14
|
+
//# sourceMappingURL=CadastroScreen.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CadastroScreen.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CadastroScreen/CadastroScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE5D,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;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgJxD,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,85 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ProvaVidas/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FjB,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { type ModalProps } from 'react-native-modal';
|
3
|
+
import type { ScreenProps } from '../../types/screen';
|
4
|
+
interface ValidaFingerProps {
|
5
|
+
isVisible: boolean;
|
6
|
+
ModalParams?: ModalProps;
|
7
|
+
screenProps?: ScreenProps;
|
8
|
+
onCloseModal?: () => void;
|
9
|
+
onError?: (response?: any) => void;
|
10
|
+
onSuccess?: (response?: any) => void;
|
11
|
+
}
|
12
|
+
export declare const ValidaFinger: React.FC<ValidaFingerProps>;
|
13
|
+
export {};
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ValidadeFinger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAW5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAStD,UAAU,iBAAiB;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CACtC;AAaD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsNpD,CAAC"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
export declare const styles: {
|
2
|
+
container: {
|
3
|
+
flex: number;
|
4
|
+
};
|
5
|
+
root: {
|
6
|
+
flex: number;
|
7
|
+
};
|
8
|
+
cameraContainer: {
|
9
|
+
flex: number;
|
10
|
+
};
|
11
|
+
camera: {
|
12
|
+
flex: number;
|
13
|
+
justifyContent: "flex-end";
|
14
|
+
paddingBottom: number;
|
15
|
+
};
|
16
|
+
containerCapture: {
|
17
|
+
height: number;
|
18
|
+
alignItems: "center";
|
19
|
+
justifyContent: "center";
|
20
|
+
};
|
21
|
+
containerButton: {
|
22
|
+
width: number;
|
23
|
+
height: number;
|
24
|
+
borderRadius: number;
|
25
|
+
backgroundColor: string;
|
26
|
+
alignItems: "center";
|
27
|
+
justifyContent: "center";
|
28
|
+
};
|
29
|
+
textButton: {
|
30
|
+
fontSize: number;
|
31
|
+
fontWeight: "500";
|
32
|
+
color: string;
|
33
|
+
};
|
34
|
+
modal: {
|
35
|
+
margin: number;
|
36
|
+
};
|
37
|
+
containerButtonClose: {
|
38
|
+
marginBottom: number;
|
39
|
+
};
|
40
|
+
cameraConfigs: {
|
41
|
+
alignItems: "center";
|
42
|
+
};
|
43
|
+
};
|
44
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ValidadeFinger/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CjB,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const login: (cpf: any, senha: any) => Promise<any>;
|
2
|
+
export declare const cadastro: (cpf: string, name: string, senha: string) => Promise<any>;
|
3
|
+
export declare const sendImages: (UID: any, finger: any, images: any) => Promise<any>;
|
4
|
+
export declare const verifyDigital: (UID: any, finger: any, image: any) => Promise<any>;
|
5
|
+
type GetConfigApi = {
|
6
|
+
id: number;
|
7
|
+
deviceModels: string[];
|
8
|
+
deviceType: string;
|
9
|
+
fps: number;
|
10
|
+
exposure: number;
|
11
|
+
zoom: number;
|
12
|
+
serviceType: string;
|
13
|
+
showButtonInfo: boolean;
|
14
|
+
}[];
|
15
|
+
export declare const getConfigsApi: () => Promise<GetConfigApi>;
|
16
|
+
export declare const verificaCPF: (cpf: any) => Promise<any>;
|
17
|
+
export declare const provaVida: (video: {
|
18
|
+
path: any;
|
19
|
+
}, UID: string, vlexposure: any) => Promise<any>;
|
20
|
+
export {};
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/index.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,QAAe,GAAG,SAAS,GAAG,iBAQ/C,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAe,MAAM,QAAQ,MAAM,SAAS,MAAM,iBAQtE,CAAC;AAEF,eAAO,MAAM,UAAU,QAAe,GAAG,UAAU,GAAG,UAAU,GAAG,iBAQlE,CAAC;AAEF,eAAO,MAAM,aAAa,QAAe,GAAG,UAAU,GAAG,SAAS,GAAG,iBAQpE,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;CACzB,EAAE,CAAC;AAEJ,eAAO,MAAM,aAAa,QAAa,QAAQ,YAAY,CAQ1D,CAAC;AAEF,eAAO,MAAM,WAAW,QAAe,GAAG,iBAQzC,CAAC;AAEF,eAAO,MAAM,SAAS,UACb;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,OACf,MAAM,cACC,GAAG,iBAqChB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../src/types/screen.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../src/utils/file.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,cAAqB,MAAM,2BAO1D,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,MAAM,GAAG,GAAG,EAAE,YAkBlD,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
type ServiceType = 'finger' | 'liveness';
|
2
|
+
type GetConfigCameraReturn = {
|
3
|
+
id: number;
|
4
|
+
deviceModels: string[];
|
5
|
+
deviceType: string;
|
6
|
+
fps: number;
|
7
|
+
exposure: number;
|
8
|
+
zoom: number;
|
9
|
+
serviceType: string;
|
10
|
+
showButtonInfo: boolean;
|
11
|
+
} | undefined;
|
12
|
+
declare const getConfigCamera: (serviceType: ServiceType) => Promise<GetConfigCameraReturn>;
|
13
|
+
export default getConfigCamera;
|
14
|
+
//# sourceMappingURL=getConfigCamera.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getConfigCamera.d.ts","sourceRoot":"","sources":["../../../../src/utils/getConfigCamera.ts"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzC,KAAK,qBAAqB,GACtB;IACE,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;CACzB,GACD,SAAS,CAAC;AAEd,QAAA,MAAM,eAAe,gBACN,WAAW,KACvB,QAAQ,qBAAqB,CAqB/B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require "json"
|
2
|
+
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
4
|
+
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
5
|
+
|
6
|
+
Pod::Spec.new do |s|
|
7
|
+
s.name = package["name"]
|
8
|
+
s.version = package["version"]
|
9
|
+
s.summary = package["description"]
|
10
|
+
s.homepage = package["homepage"]
|
11
|
+
s.license = package["license"]
|
12
|
+
s.authors = package["author"]
|
13
|
+
|
14
|
+
s.platforms = { :ios => "11.0" }
|
15
|
+
s.source = { :git => package["repository"], :tag => "v#{s.version}" }
|
16
|
+
|
17
|
+
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
18
|
+
|
19
|
+
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
20
|
+
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
21
|
+
if respond_to?(:install_modules_dependencies, true)
|
22
|
+
install_modules_dependencies(s)
|
23
|
+
else
|
24
|
+
s.dependency "React-Core"
|
25
|
+
|
26
|
+
# Don't install the dependencies when we run `pod install` in the old architecture.
|
27
|
+
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
28
|
+
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
29
|
+
s.pod_target_xcconfig = {
|
30
|
+
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
|
31
|
+
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
|
32
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
33
|
+
}
|
34
|
+
s.dependency "React-Codegen"
|
35
|
+
s.dependency "RCT-Folly"
|
36
|
+
s.dependency "RCTRequired"
|
37
|
+
s.dependency "RCTTypeSafety"
|
38
|
+
s.dependency "ReactCommon/turbomodule/core"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|