@idscan/idvc2 2.10.2 → 2.10.4
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/README.md +11 -0
- package/dist/css/idvc.css +1 -1
- package/dist/idvc.js +1 -1
- package/dist/idvc.js.gzip +0 -0
- package/dist/index.html +134 -23
- package/dist/js/environment/cssVariables.json +1 -1
- package/dist/networks/Face-chunk.js +1 -1
- package/dist/types/loop.d.ts +1 -4
- package/dist/types/modules/App/UI.d.ts +1 -0
- package/dist/types/modules/face/MeshFace.d.ts +1 -0
- package/dist/types/modules/ui/StatusPlank/StatusPlank.d.ts +9 -0
- package/dist/types/modules/ui/VideoWrapper/VideoWrapper.d.ts +3 -0
- package/package.json +1 -1
package/dist/types/loop.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MRZLocation } from './modules/manualUploadProcessing';
|
|
2
|
-
import { Cancel } from './types/loop';
|
|
3
2
|
export interface IMrzCoords {
|
|
4
3
|
locations: MRZLocation;
|
|
5
4
|
color: 'green' | 'yellow';
|
|
@@ -8,9 +7,7 @@ export declare const loopTimeout: (ms: number) => Promise<unknown>;
|
|
|
8
7
|
export declare const unmountIDVC: () => void;
|
|
9
8
|
export declare const loop: () => Promise<false>;
|
|
10
9
|
declare const _default: {
|
|
11
|
-
|
|
12
|
-
stopProccesing: () => void;
|
|
13
|
-
cancel: Cancel;
|
|
10
|
+
cancel: (topImage: any) => Promise<void>;
|
|
14
11
|
unmountIDVC: () => void;
|
|
15
12
|
};
|
|
16
13
|
export default _default;
|
|
@@ -31,6 +31,7 @@ export declare class WeblibUI {
|
|
|
31
31
|
private setCropFace;
|
|
32
32
|
private initMainScreenComponents;
|
|
33
33
|
private initStepsList;
|
|
34
|
+
updateInitScreenDocuments(allowedTypesIds: any): void;
|
|
34
35
|
private initDocumentsList;
|
|
35
36
|
private mainScreenEditButtonClick;
|
|
36
37
|
private mainScreenControlButtonClick;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from '../Component';
|
|
2
|
+
type StatusPlankState = {
|
|
3
|
+
status: 'ready' | 'warning' | 'success' | 'disabled';
|
|
4
|
+
};
|
|
5
|
+
export declare class StatusPlank extends Component<StatusPlankState> {
|
|
6
|
+
constructor(mountElement: any, state: StatusPlankState);
|
|
7
|
+
protected addEventListeners(): void;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -5,6 +5,7 @@ import { UiHints } from './UIHints';
|
|
|
5
5
|
import Step from '../../Step';
|
|
6
6
|
import { StepPreview } from './StepPreview/StepPreview';
|
|
7
7
|
import { ControlButton } from '../ControlButton/ControlButton';
|
|
8
|
+
import { StatusPlank } from '../StatusPlank/StatusPlank';
|
|
8
9
|
export type UpdateVideoWrapParams = {
|
|
9
10
|
currentStepImg: string;
|
|
10
11
|
currentStepObj: Step;
|
|
@@ -18,6 +19,7 @@ export declare class VideoWrapper {
|
|
|
18
19
|
hints: UiHints;
|
|
19
20
|
stepPreview: StepPreview;
|
|
20
21
|
captureButton: ControlButton;
|
|
22
|
+
statusPlank: StatusPlank;
|
|
21
23
|
video: HTMLVideoElement;
|
|
22
24
|
videoWrap: HTMLDivElement;
|
|
23
25
|
stepImage: HTMLDivElement;
|
|
@@ -40,5 +42,6 @@ export declare class VideoWrapper {
|
|
|
40
42
|
setCameraErrorText(header: string, text: string): void;
|
|
41
43
|
showCameraError(): void;
|
|
42
44
|
hideCameraError(): void;
|
|
45
|
+
changeType(step: Step): void;
|
|
43
46
|
private getFakeContourWidth;
|
|
44
47
|
}
|