@regulaforensics/vp-frontend-document-components 8.3.2456 → 8.3.2458-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 +11354 -11159
- 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 {
|
|
@@ -296,6 +297,7 @@ export declare interface DocumentReaderSettings extends CameraSnapshotSettings {
|
|
|
296
297
|
finalizeOnTimeout?: boolean;
|
|
297
298
|
maxImageSize?: number;
|
|
298
299
|
maxResolutionSize?: number;
|
|
300
|
+
newLayout?: boolean;
|
|
299
301
|
}
|
|
300
302
|
|
|
301
303
|
export declare class DocumentReaderWebComponent extends HTMLElement {
|
|
@@ -356,6 +358,7 @@ export declare enum EventActions {
|
|
|
356
358
|
VIDEO_STOPPED = "VIDEO_STOPPED",
|
|
357
359
|
FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED",
|
|
358
360
|
PROCESS_FINISHED = "PROCESS_FINISHED",
|
|
361
|
+
PROCESS_LIVENESS = "PROCESS_LIVENESS",
|
|
359
362
|
SERVICE_INITIALIZED = "SERVICE_INITIALIZED",
|
|
360
363
|
REMOTE_TRANSACTION_UPLOADED = "REMOTE_TRANSACTION_UPLOADED",
|
|
361
364
|
REMOTE_PROCESS_FINISHED = "REMOTE_PROCESS_FINISHED"
|
|
@@ -445,7 +448,7 @@ declare interface IOptions {
|
|
|
445
448
|
color?: string;
|
|
446
449
|
}
|
|
447
450
|
|
|
448
|
-
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';
|
|
451
|
+
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';
|
|
449
452
|
|
|
450
453
|
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';
|
|
451
454
|
|