@regulaforensics/vp-frontend-face-components 7.1.1707-rc → 7.1.1708-nightly
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/dist/index.d.ts +6 -43
- package/dist/main.iife.js +11 -11
- package/dist/main.js +951 -952
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -180,48 +180,7 @@ export declare class FaceLivenessWebComponent extends HTMLElement {
|
|
180
180
|
disconnectedCallback(): void;
|
181
181
|
}
|
182
182
|
|
183
|
-
export declare
|
184
|
-
showOnlyOneFace?: string;
|
185
|
-
preparingCamera?: string;
|
186
|
-
allowAccessCamera?: string;
|
187
|
-
somethingWentWrong?: string;
|
188
|
-
incorrectCameraId?: string;
|
189
|
-
checkCameraId?: string;
|
190
|
-
preparingService?: string;
|
191
|
-
allowAccessToCamera?: string;
|
192
|
-
error?: string;
|
193
|
-
versionNotSupported?: string;
|
194
|
-
updateBrowser?: string;
|
195
|
-
licenseError?: string;
|
196
|
-
licenseExpired?: string;
|
197
|
-
onlyPortraitOrientation?: string;
|
198
|
-
turnDeviceIntoPortrait?: string;
|
199
|
-
tryAgain?: string;
|
200
|
-
noCameraAvailable?: string;
|
201
|
-
checkCameraConnection?: string;
|
202
|
-
noMaskSunglassesHeaddress?: string;
|
203
|
-
ambientLighting?: string;
|
204
|
-
lookStraight?: string;
|
205
|
-
fitYourFace?: string;
|
206
|
-
moveCloser?: string;
|
207
|
-
moveAway?: string;
|
208
|
-
holdSteady?: string;
|
209
|
-
turnHead?: string;
|
210
|
-
processing?: string;
|
211
|
-
retryButtonText?: string;
|
212
|
-
followGuidelinesText?: string;
|
213
|
-
letsTryAgainTitle?: string;
|
214
|
-
noCameraPermission?: string;
|
215
|
-
goButton?: string;
|
216
|
-
centerFaceTurnHead?: string;
|
217
|
-
centerFace?: string;
|
218
|
-
selfieTime?: string;
|
219
|
-
errorCode?: string;
|
220
|
-
illumination?: string;
|
221
|
-
cameraLevel?: string;
|
222
|
-
noAccessories?: string;
|
223
|
-
getReady?: string;
|
224
|
-
}
|
183
|
+
export declare type FaceTranslations = Partial<Record<Labels, string>>;
|
225
184
|
|
226
185
|
export declare class FullScreenContainer extends HTMLElement {
|
227
186
|
private _root;
|
@@ -243,7 +202,11 @@ export declare interface IFaceLiveness extends IFaceDetection {
|
|
243
202
|
'device-orientation'?: boolean;
|
244
203
|
}
|
245
204
|
|
246
|
-
|
205
|
+
declare type Labels = 'showOnlyOneFace' | 'preparingCamera' | 'allowAccessCamera' | 'somethingWentWrong' | 'incorrectCameraId' | 'checkCameraId' | 'preparingService' | 'allowAccessToCamera' | 'error' | 'versionNotSupported' | 'updateBrowser' | 'licenseError' | 'licenseExpired' | 'onlyPortraitOrientation' | 'turnDeviceIntoPortrait' | 'tryAgain' | 'noCameraAvailable' | 'checkCameraConnection' | 'noMaskSunglassesHeaddress' | 'ambientLighting' | 'lookStraight' | 'fitYourFace' | 'moveCloser' | 'moveAway' | 'holdSteady' | 'turnHead' | 'removeOcclusion' | 'turnHeadUp' | 'turnHeadDown' | 'turnHeadLeft' | 'turnHeadRight' | 'blinkYourEyes' | 'processing' | 'retryButtonText' | 'followGuidelinesText' | 'letsTryAgainTitle' | 'noCameraPermission' | 'goButton' | 'centerFaceTurnHead' | 'centerFace' | 'selfieTime' | 'errorCode' | 'illumination' | 'cameraLevel' | 'noAccessories' | 'getReady' | 'httpNotSupported' | 'webServerNotCompatible' | 'processCompleted';
|
206
|
+
|
207
|
+
declare type Languages = 'ru' | 'en' | 'de' | 'pl' | 'it' | 'hu' | 'zh' | 'sk' | 'uk' | 'fr' | 'es' | 'pt' | 'ar' | 'nl' | 'id' | 'vi' | 'ko' | 'ms' | 'ro' | 'el' | 'tr' | 'ja' | 'cs' | 'th' | 'hi' | 'bn' | 'he' | 'fi' | 'sv' | 'da' | 'hr' | 'no';
|
208
|
+
|
209
|
+
export declare type Locales = Languages | string;
|
247
210
|
|
248
211
|
export declare const RecordingProcess: {
|
249
212
|
readonly ASYNCHRONOUS_UPLOAD: 0;
|