@transfergratis/react-native-sdk 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/axios.d.ts +30 -0
- package/build/api/axios.d.ts.map +1 -0
- package/build/api/axios.js +92 -0
- package/build/api/axios.js.map +1 -0
- package/build/components/EnhancedCameraView.d.ts +1 -41
- package/build/components/EnhancedCameraView.d.ts.map +1 -1
- package/build/components/EnhancedCameraView.js +75 -34
- package/build/components/EnhancedCameraView.js.map +1 -1
- package/build/components/EnhancedCameraView.web.d.ts +1 -41
- package/build/components/EnhancedCameraView.web.d.ts.map +1 -1
- package/build/components/EnhancedCameraView.web.js +28 -4
- package/build/components/EnhancedCameraView.web.js.map +1 -1
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts +2 -2
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts.map +1 -1
- package/build/components/KYCElements/CountrySelectionTemplate.js +71 -114
- package/build/components/KYCElements/CountrySelectionTemplate.js.map +1 -1
- package/build/components/KYCElements/FileUploadTemplate.d.ts.map +1 -1
- package/build/components/KYCElements/FileUploadTemplate.js +7 -3
- package/build/components/KYCElements/FileUploadTemplate.js.map +1 -1
- package/build/components/KYCElements/IDCardCapture.d.ts +7 -2
- package/build/components/KYCElements/IDCardCapture.d.ts.map +1 -1
- package/build/components/KYCElements/IDCardCapture.js +253 -104
- package/build/components/KYCElements/IDCardCapture.js.map +1 -1
- package/build/components/KYCElements/InitializationStep.d.ts +5 -0
- package/build/components/KYCElements/InitializationStep.d.ts.map +1 -0
- package/build/components/KYCElements/InitializationStep.js +41 -0
- package/build/components/KYCElements/InitializationStep.js.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts.map +1 -1
- package/build/components/KYCElements/LocationCaptureTemplate.js +15 -13
- package/build/components/KYCElements/LocationCaptureTemplate.js.map +1 -1
- package/build/components/KYCElements/OrientationVideoCapture.d.ts +2 -2
- package/build/components/KYCElements/OrientationVideoCapture.d.ts.map +1 -1
- package/build/components/KYCElements/OrientationVideoCapture.js.map +1 -1
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts +2 -2
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts.map +1 -1
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js.map +1 -1
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts +2 -2
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts.map +1 -1
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js.map +1 -1
- package/build/components/KYCElements/ReviewSubmitTemplate.d.ts +12 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.js +171 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.js.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts +6 -2
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts.map +1 -1
- package/build/components/KYCElements/SelfieCaptureTemplate.js +105 -35
- package/build/components/KYCElements/SelfieCaptureTemplate.js.map +1 -1
- package/build/components/KYCElements/VerificationProgressTemplate.d.ts +12 -0
- package/build/components/KYCElements/VerificationProgressTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/VerificationProgressTemplate.js +93 -0
- package/build/components/KYCElements/VerificationProgressTemplate.js.map +1 -0
- package/build/components/OverLay/IdCard.d.ts +1 -1
- package/build/components/OverLay/IdCard.d.ts.map +1 -1
- package/build/components/OverLay/IdCard.js +10 -6
- package/build/components/OverLay/IdCard.js.map +1 -1
- package/build/components/OverLay/SelfieOverlay.d.ts +1 -1
- package/build/components/OverLay/SelfieOverlay.d.ts.map +1 -1
- package/build/components/OverLay/SelfieOverlay.js +5 -4
- package/build/components/OverLay/SelfieOverlay.js.map +1 -1
- package/build/components/OverLay/type.d.ts +71 -1
- package/build/components/OverLay/type.d.ts.map +1 -1
- package/build/components/OverLay/type.js.map +1 -1
- package/build/components/TemplateKYCExample.d.ts.map +1 -1
- package/build/components/TemplateKYCExample.js +72 -197
- package/build/components/TemplateKYCExample.js.map +1 -1
- package/build/components/TemplateKYCFlowRefactored.d.ts.map +1 -1
- package/build/components/TemplateKYCFlowRefactored.js +63 -39
- package/build/components/TemplateKYCFlowRefactored.js.map +1 -1
- package/build/components/example/OrientationVideoExample.d.ts.map +1 -1
- package/build/components/example/OrientationVideoExample.js +1 -5
- package/build/components/example/OrientationVideoExample.js.map +1 -1
- package/build/config/countriesData.d.ts +3 -0
- package/build/config/countriesData.d.ts.map +1 -0
- package/build/config/countriesData.js +79 -0
- package/build/config/countriesData.js.map +1 -0
- package/build/config/region_mapping.d.ts +3 -0
- package/build/config/region_mapping.d.ts.map +1 -0
- package/build/config/region_mapping.js +687 -0
- package/build/config/region_mapping.js.map +1 -0
- package/build/hooks/useI18n.d.ts +11 -0
- package/build/hooks/useI18n.d.ts.map +1 -0
- package/build/hooks/useI18n.js +37 -0
- package/build/hooks/useI18n.js.map +1 -0
- package/build/hooks/useOrientationVideo.d.ts +1 -2
- package/build/hooks/useOrientationVideo.d.ts.map +1 -1
- package/build/hooks/useOrientationVideo.js +2 -1
- package/build/hooks/useOrientationVideo.js.map +1 -1
- package/build/hooks/useRealtimeVerifier.d.ts +28 -0
- package/build/hooks/useRealtimeVerifier.d.ts.map +1 -0
- package/build/hooks/useRealtimeVerifier.js +91 -0
- package/build/hooks/useRealtimeVerifier.js.map +1 -0
- package/build/hooks/useTemplateKYCFlow.d.ts +1 -0
- package/build/hooks/useTemplateKYCFlow.d.ts.map +1 -1
- package/build/hooks/useTemplateKYCFlow.js +337 -38
- package/build/hooks/useTemplateKYCFlow.js.map +1 -1
- package/build/i18n/en/index.d.ts +168 -0
- package/build/i18n/en/index.d.ts.map +1 -0
- package/build/i18n/en/index.js +195 -0
- package/build/i18n/en/index.js.map +1 -0
- package/build/i18n/fr/index.d.ts +168 -0
- package/build/i18n/fr/index.d.ts.map +1 -0
- package/build/i18n/fr/index.js +194 -0
- package/build/i18n/fr/index.js.map +1 -0
- package/build/i18n/index.d.ts +10 -0
- package/build/i18n/index.d.ts.map +1 -0
- package/build/i18n/index.js +56 -0
- package/build/i18n/index.js.map +1 -0
- package/build/i18n/types.d.ts +153 -0
- package/build/i18n/types.d.ts.map +1 -0
- package/build/i18n/types.js +3 -0
- package/build/i18n/types.js.map +1 -0
- package/build/i18n/usage-example.d.ts +4 -0
- package/build/i18n/usage-example.d.ts.map +1 -0
- package/build/i18n/usage-example.js +189 -0
- package/build/i18n/usage-example.js.map +1 -0
- package/build/modules/api/CardAuthentification.d.ts +22 -0
- package/build/modules/api/CardAuthentification.d.ts.map +1 -0
- package/build/modules/api/CardAuthentification.js +107 -0
- package/build/modules/api/CardAuthentification.js.map +1 -0
- package/build/modules/api/KYCService.d.ts +57 -1
- package/build/modules/api/KYCService.d.ts.map +1 -1
- package/build/modules/api/KYCService.js +348 -27
- package/build/modules/api/KYCService.js.map +1 -1
- package/build/modules/api/SelfieVerification.d.ts +3 -0
- package/build/modules/api/SelfieVerification.d.ts.map +1 -0
- package/build/modules/api/SelfieVerification.js +9 -0
- package/build/modules/api/SelfieVerification.js.map +1 -0
- package/build/modules/api/backendApi.d.ts +2 -0
- package/build/modules/api/backendApi.d.ts.map +1 -0
- package/build/modules/api/backendApi.js +6 -0
- package/build/modules/api/backendApi.js.map +1 -0
- package/build/modules/api/types.d.ts +20 -0
- package/build/modules/api/types.d.ts.map +1 -0
- package/build/modules/api/types.js +2 -0
- package/build/modules/api/types.js.map +1 -0
- package/build/types/KYC.types.d.ts +59 -7
- package/build/types/KYC.types.d.ts.map +1 -1
- package/build/types/KYC.types.js +9 -1
- package/build/types/KYC.types.js.map +1 -1
- package/build/utils/cropByObb.d.ts +11 -0
- package/build/utils/cropByObb.d.ts.map +1 -0
- package/build/utils/cropByObb.js +78 -0
- package/build/utils/cropByObb.js.map +1 -0
- package/build/utils/get-document-type-info.d.ts +13 -0
- package/build/utils/get-document-type-info.d.ts.map +1 -0
- package/build/utils/get-document-type-info.js +59 -0
- package/build/utils/get-document-type-info.js.map +1 -0
- package/build/utils/pathToBase64.d.ts +3 -0
- package/build/utils/pathToBase64.d.ts.map +1 -0
- package/build/utils/pathToBase64.js +47 -0
- package/build/utils/pathToBase64.js.map +1 -0
- package/build/utils/remove-duplicate.d.ts +2 -0
- package/build/utils/remove-duplicate.d.ts.map +1 -0
- package/build/utils/remove-duplicate.js +4 -0
- package/build/utils/remove-duplicate.js.map +1 -0
- package/package.json +3 -1
- package/src/api/axios.ts +144 -0
- package/src/components/EnhancedCameraView.tsx +96 -78
- package/src/components/EnhancedCameraView.web.tsx +41 -40
- package/src/components/KYCElements/CountrySelectionTemplate.tsx +104 -136
- package/src/components/KYCElements/FileUploadTemplate.tsx +14 -8
- package/src/components/KYCElements/IDCardCapture.tsx +311 -115
- package/src/components/KYCElements/InitializationStep.tsx +53 -0
- package/src/components/KYCElements/LocationCaptureTemplate.tsx +17 -15
- package/src/components/KYCElements/OrientationVideoCapture.tsx +2 -2
- package/src/components/KYCElements/OrientationVideoCaptureEnhanced.tsx +2 -2
- package/src/components/KYCElements/OrientationVideoCaptureFinal.tsx +2 -2
- package/src/components/KYCElements/ReviewSubmitTemplate.tsx +201 -0
- package/src/components/KYCElements/SelfieCaptureTemplate.tsx +140 -53
- package/src/components/KYCElements/VerificationProgressTemplate.tsx +123 -0
- package/src/components/OverLay/IdCard.tsx +17 -9
- package/src/components/OverLay/SelfieOverlay.tsx +6 -5
- package/src/components/OverLay/type.ts +64 -2
- package/src/components/TemplateKYCExample.tsx +76 -197
- package/src/components/TemplateKYCFlowRefactored.tsx +74 -46
- package/src/components/example/OrientationVideoExample.tsx +3 -7
- package/src/config/countriesData.ts +84 -0
- package/src/config/region_mapping.ts +688 -0
- package/src/hooks/useI18n.ts +53 -0
- package/src/hooks/useOrientationVideo.ts +2 -2
- package/src/hooks/useRealtimeVerifier.ts +128 -0
- package/src/hooks/useTemplateKYCFlow.tsx +375 -53
- package/src/i18n/README.md +288 -0
- package/src/i18n/en/index.ts +206 -0
- package/src/i18n/fr/index.ts +205 -0
- package/src/i18n/index.ts +65 -0
- package/src/i18n/types.ts +172 -0
- package/src/i18n/usage-example.tsx +202 -0
- package/src/modules/api/CardAuthentification.ts +114 -0
- package/src/modules/api/KYCService.ts +403 -30
- package/src/modules/api/SelfieVerification.ts +11 -0
- package/src/modules/api/backendApi.ts +8 -0
- package/src/modules/api/types.ts +24 -0
- package/src/types/KYC.types.ts +83 -14
- package/src/utils/cropByObb.ts +99 -0
- package/src/utils/get-document-type-info.ts +62 -0
- package/src/utils/pathToBase64.ts +47 -0
- package/src/utils/remove-duplicate.ts +3 -0
- package/src/types/nativewind.d.ts +0 -2
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
common: {
|
|
3
|
+
next: string;
|
|
4
|
+
previous: string;
|
|
5
|
+
continue: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
submit: string;
|
|
9
|
+
retry: string;
|
|
10
|
+
close: string;
|
|
11
|
+
back: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
error: string;
|
|
14
|
+
success: string;
|
|
15
|
+
warning: string;
|
|
16
|
+
info: string;
|
|
17
|
+
};
|
|
18
|
+
kyc: {
|
|
19
|
+
title: string;
|
|
20
|
+
subtitle: string;
|
|
21
|
+
step: string;
|
|
22
|
+
initialization: {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
startButton: string;
|
|
26
|
+
requirements: string;
|
|
27
|
+
requirementsList: string[];
|
|
28
|
+
};
|
|
29
|
+
locationCapture: {
|
|
30
|
+
title: string;
|
|
31
|
+
description: string;
|
|
32
|
+
howThisHelps: string;
|
|
33
|
+
howThisHelpsList: string;
|
|
34
|
+
permissionDeniedTitle: string;
|
|
35
|
+
permissionDeniedMessage: string;
|
|
36
|
+
locationDisabledTitle: string;
|
|
37
|
+
locationDisabledMessage: string;
|
|
38
|
+
errorTitle: string;
|
|
39
|
+
errorMessage: string;
|
|
40
|
+
obtained: string;
|
|
41
|
+
latitudeLabel: string;
|
|
42
|
+
longitudeLabel: string;
|
|
43
|
+
accuracyLabel: string;
|
|
44
|
+
resetButton: string;
|
|
45
|
+
enableButton: string;
|
|
46
|
+
fetching: string;
|
|
47
|
+
};
|
|
48
|
+
countrySelection: {
|
|
49
|
+
title: string;
|
|
50
|
+
subtitle: string;
|
|
51
|
+
searchPlaceholder: string;
|
|
52
|
+
noResults: string;
|
|
53
|
+
selectCountry: string;
|
|
54
|
+
};
|
|
55
|
+
idCardCapture: {
|
|
56
|
+
title: string;
|
|
57
|
+
subtitle: string;
|
|
58
|
+
frontSide: string;
|
|
59
|
+
backSide: string;
|
|
60
|
+
instructions: {
|
|
61
|
+
title: string;
|
|
62
|
+
list: string[];
|
|
63
|
+
};
|
|
64
|
+
captureButton: string;
|
|
65
|
+
retakeButton: string;
|
|
66
|
+
usePhotoButton: string;
|
|
67
|
+
processing: string;
|
|
68
|
+
success: string;
|
|
69
|
+
error: string;
|
|
70
|
+
};
|
|
71
|
+
selfieCapture: {
|
|
72
|
+
title: string;
|
|
73
|
+
subtitle: string;
|
|
74
|
+
instructions: {
|
|
75
|
+
title: string;
|
|
76
|
+
list: string[];
|
|
77
|
+
};
|
|
78
|
+
captureButton: string;
|
|
79
|
+
retakeButton: string;
|
|
80
|
+
usePhotoButton: string;
|
|
81
|
+
processing: string;
|
|
82
|
+
success: string;
|
|
83
|
+
error: string;
|
|
84
|
+
};
|
|
85
|
+
fileUpload: {
|
|
86
|
+
title: string;
|
|
87
|
+
subtitle: string;
|
|
88
|
+
selectFile: string;
|
|
89
|
+
uploadButton: string;
|
|
90
|
+
dragDropText: string;
|
|
91
|
+
supportedFormats: string;
|
|
92
|
+
maxSize: string;
|
|
93
|
+
processing: string;
|
|
94
|
+
success: string;
|
|
95
|
+
error: string;
|
|
96
|
+
};
|
|
97
|
+
verificationProgress: {
|
|
98
|
+
title: string;
|
|
99
|
+
subtitle: string;
|
|
100
|
+
steps: {
|
|
101
|
+
analyzing: string;
|
|
102
|
+
extracting: string;
|
|
103
|
+
verifying: string;
|
|
104
|
+
complete: string;
|
|
105
|
+
};
|
|
106
|
+
estimatedTime: string;
|
|
107
|
+
status: {
|
|
108
|
+
pending: string;
|
|
109
|
+
processing: string;
|
|
110
|
+
completed: string;
|
|
111
|
+
failed: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
reviewSubmit: {
|
|
115
|
+
title: string;
|
|
116
|
+
subtitle: string;
|
|
117
|
+
personalInfo: string;
|
|
118
|
+
documentInfo: string;
|
|
119
|
+
editButton: string;
|
|
120
|
+
submitButton: string;
|
|
121
|
+
confirmMessage: string;
|
|
122
|
+
processing: string;
|
|
123
|
+
success: string;
|
|
124
|
+
error: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
camera: {
|
|
128
|
+
permissionTitle: string;
|
|
129
|
+
permissionMessage: string;
|
|
130
|
+
permissionButton: string;
|
|
131
|
+
settingsButton: string;
|
|
132
|
+
notAvailable: string;
|
|
133
|
+
switchCamera: string;
|
|
134
|
+
flashOn: string;
|
|
135
|
+
flashOff: string;
|
|
136
|
+
capturePhoto: string;
|
|
137
|
+
processing: string;
|
|
138
|
+
permissionRequired: string;
|
|
139
|
+
deviceNotAvailable: string;
|
|
140
|
+
notReady: string;
|
|
141
|
+
analyzing: string;
|
|
142
|
+
errorOccurred: string;
|
|
143
|
+
failedToCapture: string;
|
|
144
|
+
failedToStartRecording: string;
|
|
145
|
+
failedToStopRecording: string;
|
|
146
|
+
};
|
|
147
|
+
errors: {
|
|
148
|
+
networkError: string;
|
|
149
|
+
serverError: string;
|
|
150
|
+
validationError: string;
|
|
151
|
+
cameraError: string;
|
|
152
|
+
fileError: string;
|
|
153
|
+
timeoutError: string;
|
|
154
|
+
unknownError: string;
|
|
155
|
+
};
|
|
156
|
+
validation: {
|
|
157
|
+
required: string;
|
|
158
|
+
invalidEmail: string;
|
|
159
|
+
invalidPhone: string;
|
|
160
|
+
invalidDate: string;
|
|
161
|
+
minLength: string;
|
|
162
|
+
maxLength: string;
|
|
163
|
+
invalidFormat: string;
|
|
164
|
+
fileTooLarge: string;
|
|
165
|
+
fileTypeNotSupported: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Md,CAAC"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
export const en = {
|
|
2
|
+
// Common UI elements
|
|
3
|
+
common: {
|
|
4
|
+
next: 'Next',
|
|
5
|
+
previous: 'Previous',
|
|
6
|
+
continue: 'Continue',
|
|
7
|
+
cancel: 'Cancel',
|
|
8
|
+
confirm: 'Confirm',
|
|
9
|
+
submit: 'Submit',
|
|
10
|
+
retry: 'Retry',
|
|
11
|
+
close: 'Close',
|
|
12
|
+
back: 'Back',
|
|
13
|
+
loading: 'Loading...',
|
|
14
|
+
error: 'Error',
|
|
15
|
+
success: 'Success',
|
|
16
|
+
warning: 'Warning',
|
|
17
|
+
info: 'Information',
|
|
18
|
+
},
|
|
19
|
+
// KYC Flow
|
|
20
|
+
kyc: {
|
|
21
|
+
title: 'Identity Verification',
|
|
22
|
+
subtitle: 'Complete your identity verification to continue',
|
|
23
|
+
step: 'Step %{current} of %{total}',
|
|
24
|
+
// Initialization
|
|
25
|
+
initialization: {
|
|
26
|
+
title: 'Welcome to Identity Verification',
|
|
27
|
+
description: 'We need to verify your identity to comply with regulations and ensure security.',
|
|
28
|
+
startButton: 'Start Verification',
|
|
29
|
+
requirements: 'What you\'ll need:',
|
|
30
|
+
requirementsList: [
|
|
31
|
+
'Valid government-issued ID',
|
|
32
|
+
'Good lighting for photos',
|
|
33
|
+
'Stable internet connection'
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
// Location Capture
|
|
37
|
+
locationCapture: {
|
|
38
|
+
title: 'Secure Your Verification',
|
|
39
|
+
description: 'Allow location access to help us protect your account and prevent fraudulent activity during verification.',
|
|
40
|
+
howThisHelps: 'How this helps:',
|
|
41
|
+
howThisHelpsList: '• Verifies your device location matches your identity\n• Detects and prevents unauthorized access\n• Ensures compliance with security regulations',
|
|
42
|
+
permissionDeniedTitle: 'Permission denied',
|
|
43
|
+
permissionDeniedMessage: 'Location permission is required to continue.',
|
|
44
|
+
locationDisabledTitle: 'Location disabled',
|
|
45
|
+
locationDisabledMessage: 'Please enable location services on your device to continue.',
|
|
46
|
+
errorTitle: 'Error',
|
|
47
|
+
errorMessage: 'Unable to retrieve your location. Please try again.',
|
|
48
|
+
obtained: 'Location obtained',
|
|
49
|
+
latitudeLabel: 'Latitude',
|
|
50
|
+
longitudeLabel: 'Longitude',
|
|
51
|
+
accuracyLabel: 'Accuracy',
|
|
52
|
+
resetButton: 'Reset',
|
|
53
|
+
enableButton: 'Enable Location Access',
|
|
54
|
+
fetching: 'Fetching...'
|
|
55
|
+
},
|
|
56
|
+
// Country Selection
|
|
57
|
+
countrySelection: {
|
|
58
|
+
title: 'Select Your Country',
|
|
59
|
+
subtitle: 'Choose the country that issued your ID document',
|
|
60
|
+
searchPlaceholder: 'Search for your country...',
|
|
61
|
+
noResults: 'No countries found',
|
|
62
|
+
selectCountry: 'Select Country'
|
|
63
|
+
},
|
|
64
|
+
// ID Card Capture
|
|
65
|
+
idCardCapture: {
|
|
66
|
+
title: 'Capture Your ID Document',
|
|
67
|
+
subtitle: 'Take a clear photo of your ID document',
|
|
68
|
+
frontSide: 'Front Side',
|
|
69
|
+
backSide: 'Back Side',
|
|
70
|
+
instructions: {
|
|
71
|
+
title: 'Instructions:',
|
|
72
|
+
list: [
|
|
73
|
+
'Place your ID on a flat surface',
|
|
74
|
+
'Ensure good lighting',
|
|
75
|
+
'Keep the entire document in frame',
|
|
76
|
+
'Avoid glare and shadows'
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
captureButton: 'Capture Photo',
|
|
80
|
+
retakeButton: 'Retake',
|
|
81
|
+
usePhotoButton: 'Use This Photo',
|
|
82
|
+
processing: 'Processing image...',
|
|
83
|
+
success: 'ID captured successfully',
|
|
84
|
+
error: 'Failed to capture ID. Please try again.'
|
|
85
|
+
},
|
|
86
|
+
// Selfie Capture
|
|
87
|
+
selfieCapture: {
|
|
88
|
+
title: 'Take a Selfie',
|
|
89
|
+
subtitle: 'Take a clear selfie for identity verification',
|
|
90
|
+
instructions: {
|
|
91
|
+
title: 'Instructions:',
|
|
92
|
+
list: [
|
|
93
|
+
'Look directly at the camera',
|
|
94
|
+
'Ensure good lighting on your face',
|
|
95
|
+
'Remove glasses and hats',
|
|
96
|
+
'Keep a neutral expression'
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
captureButton: 'Take Selfie',
|
|
100
|
+
retakeButton: 'Retake',
|
|
101
|
+
usePhotoButton: 'Use This Photo',
|
|
102
|
+
processing: 'Processing selfie...',
|
|
103
|
+
success: 'Selfie captured successfully',
|
|
104
|
+
error: 'Failed to capture selfie. Please try again.'
|
|
105
|
+
},
|
|
106
|
+
// File Upload
|
|
107
|
+
fileUpload: {
|
|
108
|
+
title: 'Upload Document',
|
|
109
|
+
subtitle: 'Upload a clear photo of your document',
|
|
110
|
+
selectFile: 'Select File',
|
|
111
|
+
uploadButton: 'Upload',
|
|
112
|
+
dragDropText: 'Drag and drop your file here, or click to select',
|
|
113
|
+
supportedFormats: 'Supported formats: JPG, PNG, PDF',
|
|
114
|
+
maxSize: 'Max file size: 10MB',
|
|
115
|
+
processing: 'Processing file...',
|
|
116
|
+
success: 'File uploaded successfully',
|
|
117
|
+
error: 'Failed to upload file. Please try again.'
|
|
118
|
+
},
|
|
119
|
+
// Verification Progress
|
|
120
|
+
verificationProgress: {
|
|
121
|
+
title: 'Verifying Your Identity',
|
|
122
|
+
subtitle: 'Please wait while we verify your information',
|
|
123
|
+
steps: {
|
|
124
|
+
analyzing: 'Analyzing documents...',
|
|
125
|
+
extracting: 'Extracting information...',
|
|
126
|
+
verifying: 'Verifying identity...',
|
|
127
|
+
complete: 'Verification complete'
|
|
128
|
+
},
|
|
129
|
+
estimatedTime: 'Estimated time: 2-3 minutes',
|
|
130
|
+
status: {
|
|
131
|
+
pending: 'Pending',
|
|
132
|
+
processing: 'Processing',
|
|
133
|
+
completed: 'Completed',
|
|
134
|
+
failed: 'Failed'
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
// Review and Submit
|
|
138
|
+
reviewSubmit: {
|
|
139
|
+
title: 'Review Your Information',
|
|
140
|
+
subtitle: 'Please review the information we extracted',
|
|
141
|
+
personalInfo: 'Personal Information',
|
|
142
|
+
documentInfo: 'Document Information',
|
|
143
|
+
editButton: 'Edit',
|
|
144
|
+
submitButton: 'Submit for Verification',
|
|
145
|
+
confirmMessage: 'Are you sure you want to submit this information?',
|
|
146
|
+
processing: 'Submitting...',
|
|
147
|
+
success: 'Information submitted successfully',
|
|
148
|
+
error: 'Failed to submit information. Please try again.'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
// Camera and Media
|
|
152
|
+
camera: {
|
|
153
|
+
permissionTitle: 'Camera Permission Required',
|
|
154
|
+
permissionMessage: 'We need access to your camera to capture your ID and selfie.',
|
|
155
|
+
permissionButton: 'Grant Permission',
|
|
156
|
+
settingsButton: 'Open Settings',
|
|
157
|
+
notAvailable: 'Camera not available',
|
|
158
|
+
switchCamera: 'Switch Camera',
|
|
159
|
+
flashOn: 'Flash On',
|
|
160
|
+
flashOff: 'Flash Off',
|
|
161
|
+
capturePhoto: 'Capture Photo',
|
|
162
|
+
processing: 'Processing...',
|
|
163
|
+
permissionRequired: 'Camera permission required. Please grant permission to continue.',
|
|
164
|
+
deviceNotAvailable: 'Camera device not available',
|
|
165
|
+
notReady: 'Camera not ready',
|
|
166
|
+
analyzing: 'Analyzing...',
|
|
167
|
+
errorOccurred: 'Camera error occurred',
|
|
168
|
+
failedToCapture: 'Failed to capture photo',
|
|
169
|
+
failedToStartRecording: 'Failed to start video recording',
|
|
170
|
+
failedToStopRecording: 'Failed to stop video recording'
|
|
171
|
+
},
|
|
172
|
+
// Errors
|
|
173
|
+
errors: {
|
|
174
|
+
networkError: 'Network error. Please check your connection.',
|
|
175
|
+
serverError: 'Server error. Please try again later.',
|
|
176
|
+
validationError: 'Please check your information and try again.',
|
|
177
|
+
cameraError: 'Camera error. Please try again.',
|
|
178
|
+
fileError: 'File error. Please try again.',
|
|
179
|
+
timeoutError: 'Request timeout. Please try again.',
|
|
180
|
+
unknownError: 'An unknown error occurred. Please try again.'
|
|
181
|
+
},
|
|
182
|
+
// Validation messages
|
|
183
|
+
validation: {
|
|
184
|
+
required: 'This field is required',
|
|
185
|
+
invalidEmail: 'Please enter a valid email address',
|
|
186
|
+
invalidPhone: 'Please enter a valid phone number',
|
|
187
|
+
invalidDate: 'Please enter a valid date',
|
|
188
|
+
minLength: 'Must be at least %{min} characters',
|
|
189
|
+
maxLength: 'Must be no more than %{max} characters',
|
|
190
|
+
invalidFormat: 'Invalid format',
|
|
191
|
+
fileTooLarge: 'File is too large',
|
|
192
|
+
fileTypeNotSupported: 'File type not supported'
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/i18n/en/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,qBAAqB;IACrB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM;Q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QAC5D,WAAW,EAAE,uCAAuC;QACpD,eAAe,EAAE,8CAA8C;QAC/D,WAAW,EAAE,iCAAiC;QAC9C,SAAS,EAAE,+BAA+B;QAC1C,YAAY,EAAE,oCAAoC;QAClD,YAAY,EAAE,8CAA8C;KAC7D;IAED,sBAAsB;IACtB,UAAU,EAAE;QACV,QAAQ,EAAE,wBAAwB;QAClC,YAAY,EAAE,oCAAoC;QAClD,YAAY,EAAE,mCAAmC;QACjD,WAAW,EAAE,2BAA2B;QACxC,SAAS,EAAE,oCAAoC;QAC/C,SAAS,EAAE,wCAAwC;QACnD,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,mBAAmB;QACjC,oBAAoB,EAAE,yBAAyB;KAChD;CACF,CAAC","sourcesContent":["export const en = {\n // Common UI elements\n common: {\n next: 'Next',\n previous: 'Previous',\n continue: 'Continue',\n cancel: 'Cancel',\n confirm: 'Confirm',\n submit: 'Submit',\n retry: 'Retry',\n close: 'Close',\n back: 'Back',\n loading: 'Loading...',\n error: 'Error',\n success: 'Success',\n warning: 'Warning',\n info: 'Information',\n },\n\n // KYC Flow\n kyc: {\n title: 'Identity Verification',\n subtitle: 'Complete your identity verification to continue',\n step: 'Step %{current} of %{total}',\n \n // Initialization\n initialization: {\n title: 'Welcome to Identity Verification',\n description: 'We need to verify your identity to comply with regulations and ensure security.',\n startButton: 'Start Verification',\n requirements: 'What you\\'ll need:',\n requirementsList: [\n 'Valid government-issued ID',\n 'Good lighting for photos',\n 'Stable internet connection'\n ]\n },\n\n // Location Capture\n locationCapture: {\n title: 'Secure Your Verification',\n description: 'Allow location access to help us protect your account and prevent fraudulent activity during verification.',\n howThisHelps: 'How this helps:',\n howThisHelpsList: '• Verifies your device location matches your identity\\n• Detects and prevents unauthorized access\\n• Ensures compliance with security regulations',\n permissionDeniedTitle: 'Permission denied',\n permissionDeniedMessage: 'Location permission is required to continue.',\n locationDisabledTitle: 'Location disabled',\n locationDisabledMessage: 'Please enable location services on your device to continue.',\n errorTitle: 'Error',\n errorMessage: 'Unable to retrieve your location. Please try again.',\n obtained: 'Location obtained',\n latitudeLabel: 'Latitude',\n longitudeLabel: 'Longitude',\n accuracyLabel: 'Accuracy',\n resetButton: 'Reset',\n enableButton: 'Enable Location Access',\n fetching: 'Fetching...'\n },\n\n // Country Selection\n countrySelection: {\n title: 'Select Your Country',\n subtitle: 'Choose the country that issued your ID document',\n searchPlaceholder: 'Search for your country...',\n noResults: 'No countries found',\n selectCountry: 'Select Country'\n },\n\n // ID Card Capture\n idCardCapture: {\n title: 'Capture Your ID Document',\n subtitle: 'Take a clear photo of your ID document',\n frontSide: 'Front Side',\n backSide: 'Back Side',\n instructions: {\n title: 'Instructions:',\n list: [\n 'Place your ID on a flat surface',\n 'Ensure good lighting',\n 'Keep the entire document in frame',\n 'Avoid glare and shadows'\n ]\n },\n captureButton: 'Capture Photo',\n retakeButton: 'Retake',\n usePhotoButton: 'Use This Photo',\n processing: 'Processing image...',\n success: 'ID captured successfully',\n error: 'Failed to capture ID. Please try again.'\n },\n\n // Selfie Capture\n selfieCapture: {\n title: 'Take a Selfie',\n subtitle: 'Take a clear selfie for identity verification',\n instructions: {\n title: 'Instructions:',\n list: [\n 'Look directly at the camera',\n 'Ensure good lighting on your face',\n 'Remove glasses and hats',\n 'Keep a neutral expression'\n ]\n },\n captureButton: 'Take Selfie',\n retakeButton: 'Retake',\n usePhotoButton: 'Use This Photo',\n processing: 'Processing selfie...',\n success: 'Selfie captured successfully',\n error: 'Failed to capture selfie. Please try again.'\n },\n\n // File Upload\n fileUpload: {\n title: 'Upload Document',\n subtitle: 'Upload a clear photo of your document',\n selectFile: 'Select File',\n uploadButton: 'Upload',\n dragDropText: 'Drag and drop your file here, or click to select',\n supportedFormats: 'Supported formats: JPG, PNG, PDF',\n maxSize: 'Max file size: 10MB',\n processing: 'Processing file...',\n success: 'File uploaded successfully',\n error: 'Failed to upload file. Please try again.'\n },\n\n // Verification Progress\n verificationProgress: {\n title: 'Verifying Your Identity',\n subtitle: 'Please wait while we verify your information',\n steps: {\n analyzing: 'Analyzing documents...',\n extracting: 'Extracting information...',\n verifying: 'Verifying identity...',\n complete: 'Verification complete'\n },\n estimatedTime: 'Estimated time: 2-3 minutes',\n status: {\n pending: 'Pending',\n processing: 'Processing',\n completed: 'Completed',\n failed: 'Failed'\n }\n },\n\n // Review and Submit\n reviewSubmit: {\n title: 'Review Your Information',\n subtitle: 'Please review the information we extracted',\n personalInfo: 'Personal Information',\n documentInfo: 'Document Information',\n editButton: 'Edit',\n submitButton: 'Submit for Verification',\n confirmMessage: 'Are you sure you want to submit this information?',\n processing: 'Submitting...',\n success: 'Information submitted successfully',\n error: 'Failed to submit information. Please try again.'\n }\n },\n\n // Camera and Media\n camera: {\n permissionTitle: 'Camera Permission Required',\n permissionMessage: 'We need access to your camera to capture your ID and selfie.',\n permissionButton: 'Grant Permission',\n settingsButton: 'Open Settings',\n notAvailable: 'Camera not available',\n switchCamera: 'Switch Camera',\n flashOn: 'Flash On',\n flashOff: 'Flash Off',\n capturePhoto: 'Capture Photo',\n processing: 'Processing...',\n permissionRequired: 'Camera permission required. Please grant permission to continue.',\n deviceNotAvailable: 'Camera device not available',\n notReady: 'Camera not ready',\n analyzing: 'Analyzing...',\n errorOccurred: 'Camera error occurred',\n failedToCapture: 'Failed to capture photo',\n failedToStartRecording: 'Failed to start video recording',\n failedToStopRecording: 'Failed to stop video recording'\n },\n\n // Errors\n errors: {\n networkError: 'Network error. Please check your connection.',\n serverError: 'Server error. Please try again later.',\n validationError: 'Please check your information and try again.',\n cameraError: 'Camera error. Please try again.',\n fileError: 'File error. Please try again.',\n timeoutError: 'Request timeout. Please try again.',\n unknownError: 'An unknown error occurred. Please try again.'\n },\n\n // Validation messages\n validation: {\n required: 'This field is required',\n invalidEmail: 'Please enter a valid email address',\n invalidPhone: 'Please enter a valid phone number',\n invalidDate: 'Please enter a valid date',\n minLength: 'Must be at least %{min} characters',\n maxLength: 'Must be no more than %{max} characters',\n invalidFormat: 'Invalid format',\n fileTooLarge: 'File is too large',\n fileTypeNotSupported: 'File type not supported'\n }\n};\n"]}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export declare const fr: {
|
|
2
|
+
common: {
|
|
3
|
+
next: string;
|
|
4
|
+
previous: string;
|
|
5
|
+
continue: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
submit: string;
|
|
9
|
+
retry: string;
|
|
10
|
+
close: string;
|
|
11
|
+
back: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
error: string;
|
|
14
|
+
success: string;
|
|
15
|
+
warning: string;
|
|
16
|
+
info: string;
|
|
17
|
+
};
|
|
18
|
+
kyc: {
|
|
19
|
+
title: string;
|
|
20
|
+
subtitle: string;
|
|
21
|
+
step: string;
|
|
22
|
+
initialization: {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
startButton: string;
|
|
26
|
+
requirements: string;
|
|
27
|
+
requirementsList: string[];
|
|
28
|
+
};
|
|
29
|
+
locationCapture: {
|
|
30
|
+
title: string;
|
|
31
|
+
description: string;
|
|
32
|
+
howThisHelps: string;
|
|
33
|
+
howThisHelpsList: string;
|
|
34
|
+
permissionDeniedTitle: string;
|
|
35
|
+
permissionDeniedMessage: string;
|
|
36
|
+
locationDisabledTitle: string;
|
|
37
|
+
locationDisabledMessage: string;
|
|
38
|
+
errorTitle: string;
|
|
39
|
+
errorMessage: string;
|
|
40
|
+
obtained: string;
|
|
41
|
+
latitudeLabel: string;
|
|
42
|
+
longitudeLabel: string;
|
|
43
|
+
accuracyLabel: string;
|
|
44
|
+
resetButton: string;
|
|
45
|
+
enableButton: string;
|
|
46
|
+
fetching: string;
|
|
47
|
+
};
|
|
48
|
+
countrySelection: {
|
|
49
|
+
title: string;
|
|
50
|
+
subtitle: string;
|
|
51
|
+
searchPlaceholder: string;
|
|
52
|
+
noResults: string;
|
|
53
|
+
selectCountry: string;
|
|
54
|
+
};
|
|
55
|
+
idCardCapture: {
|
|
56
|
+
title: string;
|
|
57
|
+
subtitle: string;
|
|
58
|
+
frontSide: string;
|
|
59
|
+
backSide: string;
|
|
60
|
+
instructions: {
|
|
61
|
+
title: string;
|
|
62
|
+
list: string[];
|
|
63
|
+
};
|
|
64
|
+
captureButton: string;
|
|
65
|
+
retakeButton: string;
|
|
66
|
+
usePhotoButton: string;
|
|
67
|
+
processing: string;
|
|
68
|
+
success: string;
|
|
69
|
+
error: string;
|
|
70
|
+
};
|
|
71
|
+
selfieCapture: {
|
|
72
|
+
title: string;
|
|
73
|
+
subtitle: string;
|
|
74
|
+
instructions: {
|
|
75
|
+
title: string;
|
|
76
|
+
list: string[];
|
|
77
|
+
};
|
|
78
|
+
captureButton: string;
|
|
79
|
+
retakeButton: string;
|
|
80
|
+
usePhotoButton: string;
|
|
81
|
+
processing: string;
|
|
82
|
+
success: string;
|
|
83
|
+
error: string;
|
|
84
|
+
};
|
|
85
|
+
fileUpload: {
|
|
86
|
+
title: string;
|
|
87
|
+
subtitle: string;
|
|
88
|
+
selectFile: string;
|
|
89
|
+
uploadButton: string;
|
|
90
|
+
dragDropText: string;
|
|
91
|
+
supportedFormats: string;
|
|
92
|
+
maxSize: string;
|
|
93
|
+
processing: string;
|
|
94
|
+
success: string;
|
|
95
|
+
error: string;
|
|
96
|
+
};
|
|
97
|
+
verificationProgress: {
|
|
98
|
+
title: string;
|
|
99
|
+
subtitle: string;
|
|
100
|
+
steps: {
|
|
101
|
+
analyzing: string;
|
|
102
|
+
extracting: string;
|
|
103
|
+
verifying: string;
|
|
104
|
+
complete: string;
|
|
105
|
+
};
|
|
106
|
+
estimatedTime: string;
|
|
107
|
+
status: {
|
|
108
|
+
pending: string;
|
|
109
|
+
processing: string;
|
|
110
|
+
completed: string;
|
|
111
|
+
failed: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
reviewSubmit: {
|
|
115
|
+
title: string;
|
|
116
|
+
subtitle: string;
|
|
117
|
+
personalInfo: string;
|
|
118
|
+
documentInfo: string;
|
|
119
|
+
editButton: string;
|
|
120
|
+
submitButton: string;
|
|
121
|
+
confirmMessage: string;
|
|
122
|
+
processing: string;
|
|
123
|
+
success: string;
|
|
124
|
+
error: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
camera: {
|
|
128
|
+
permissionTitle: string;
|
|
129
|
+
permissionMessage: string;
|
|
130
|
+
permissionButton: string;
|
|
131
|
+
settingsButton: string;
|
|
132
|
+
notAvailable: string;
|
|
133
|
+
switchCamera: string;
|
|
134
|
+
flashOn: string;
|
|
135
|
+
flashOff: string;
|
|
136
|
+
capturePhoto: string;
|
|
137
|
+
processing: string;
|
|
138
|
+
permissionRequired: string;
|
|
139
|
+
deviceNotAvailable: string;
|
|
140
|
+
notReady: string;
|
|
141
|
+
analyzing: string;
|
|
142
|
+
errorOccurred: string;
|
|
143
|
+
failedToCapture: string;
|
|
144
|
+
failedToStartRecording: string;
|
|
145
|
+
failedToStopRecording: string;
|
|
146
|
+
};
|
|
147
|
+
errors: {
|
|
148
|
+
networkError: string;
|
|
149
|
+
serverError: string;
|
|
150
|
+
validationError: string;
|
|
151
|
+
cameraError: string;
|
|
152
|
+
fileError: string;
|
|
153
|
+
timeoutError: string;
|
|
154
|
+
unknownError: string;
|
|
155
|
+
};
|
|
156
|
+
validation: {
|
|
157
|
+
required: string;
|
|
158
|
+
invalidEmail: string;
|
|
159
|
+
invalidPhone: string;
|
|
160
|
+
invalidDate: string;
|
|
161
|
+
minLength: string;
|
|
162
|
+
maxLength: string;
|
|
163
|
+
invalidFormat: string;
|
|
164
|
+
fileTooLarge: string;
|
|
165
|
+
fileTypeNotSupported: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/fr/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Md,CAAC"}
|