@regulaforensics/vp-frontend-document-components 8.3.2436-rc → 8.3.2437-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 +5 -2
- package/dist/main.iife.js +25 -25
- package/dist/main.js +11324 -11129
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,8 @@ declare enum DocumentReaderAttributes {
|
|
|
120
120
|
cameraId = "camera-id",
|
|
121
121
|
changeCamera = "change-camera",
|
|
122
122
|
closeButton = "close-button",
|
|
123
|
-
captureButton = "capture-button"
|
|
123
|
+
captureButton = "capture-button",
|
|
124
|
+
newLayout = "new-layout"
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
export declare class DocumentReaderCaptureWebComponent extends HTMLElement {
|
|
@@ -292,6 +293,7 @@ export declare interface DocumentReaderSettings extends CameraSnapshotSettings {
|
|
|
292
293
|
finalizeOnTimeout?: boolean;
|
|
293
294
|
maxImageSize?: number;
|
|
294
295
|
maxResolutionSize?: number;
|
|
296
|
+
newLayout?: boolean;
|
|
295
297
|
}
|
|
296
298
|
|
|
297
299
|
export declare class DocumentReaderWebComponent extends HTMLElement {
|
|
@@ -352,6 +354,7 @@ export declare enum EventActions {
|
|
|
352
354
|
VIDEO_STOPPED = "VIDEO_STOPPED",
|
|
353
355
|
FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED",
|
|
354
356
|
PROCESS_FINISHED = "PROCESS_FINISHED",
|
|
357
|
+
PROCESS_LIVENESS = "PROCESS_LIVENESS",
|
|
355
358
|
SERVICE_INITIALIZED = "SERVICE_INITIALIZED",
|
|
356
359
|
REMOTE_TRANSACTION_UPLOADED = "REMOTE_TRANSACTION_UPLOADED",
|
|
357
360
|
REMOTE_PROCESS_FINISHED = "REMOTE_PROCESS_FINISHED"
|
|
@@ -441,7 +444,7 @@ declare interface IOptions {
|
|
|
441
444
|
color?: string;
|
|
442
445
|
}
|
|
443
446
|
|
|
444
|
-
declare type Labels = 'preparingCamera' | 'timeout' | 'noFocus' | 'somethingWentWrong' | 'incorrectCameraId' | 'done' | 'cameraUnavailable' | 'versionNotSupported' | 'httpNotSupported' | 'insecurePageContext' | 'badLicense' | 'fileCorrupt' | 'largeFile' | 'placeDocumentIntoFrame' | 'holdDocumentStraight' | 'glaresOnDocument' | 'tryAgain' | 'noCameraAvailable' | 'positionDocumentCenter' | 'uploadPhoto' | 'moveCloser' | 'keepDeviceStill' | 'camera' | 'switchToMobile' | 'openPhoneCamera' | 'pleaseWait' | 'mobileDevice' | 'verifyYourIdentity' | 'fromCameraFilesMobileDesktop' | 'fromCameraFilesDesktop' | 'fromCameraMobileDesktop' | 'fromFilesMobileDesktop' | 'fromCameraDesktop' | 'fromFilesDesktop' | 'fromMobileDesktop' | 'fromCameraGalleryMobile' | 'fromGalleryMobile' | 'gallery' | 'files' | 'returnToComputer' | 'documentCaptured' | 'or' | 'continueInBrowser';
|
|
447
|
+
declare type Labels = 'preparingCamera' | 'timeout' | 'noFocus' | 'somethingWentWrong' | 'incorrectCameraId' | 'done' | 'cameraUnavailable' | 'versionNotSupported' | 'httpNotSupported' | 'insecurePageContext' | 'badLicense' | 'fileCorrupt' | 'largeFile' | 'placeDocumentIntoFrame' | 'holdDocumentStraight' | 'glaresOnDocument' | 'tryAgain' | 'noCameraAvailable' | 'positionDocumentCenter' | 'uploadPhoto' | 'moveCloser' | 'keepDeviceStill' | 'camera' | 'switchToMobile' | 'openPhoneCamera' | 'pleaseWait' | 'mobileDevice' | 'verifyYourIdentity' | 'fromCameraFilesMobileDesktop' | 'fromCameraFilesDesktop' | 'fromCameraMobileDesktop' | 'fromFilesMobileDesktop' | 'fromCameraDesktop' | 'fromFilesDesktop' | 'fromMobileDesktop' | 'fromCameraGalleryMobile' | 'fromGalleryMobile' | 'gallery' | 'files' | 'returnToComputer' | 'documentCaptured' | 'or' | 'continueInBrowser' | 'skip' | 'flipTheDocument' | 'tiltTheDocument';
|
|
445
448
|
|
|
446
449
|
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' | 'uz' | 'hy' | 'ky';
|
|
447
450
|
|