@unissey-web/sdk-angular 5.0.0-beta.3 → 5.0.0-beta.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/bundles/unissey-web-sdk-angular.umd.js +71 -6
- package/bundles/unissey-web-sdk-angular.umd.js.map +1 -1
- package/esm2015/lib/components/full-capture/full-capture.component.js +28 -2
- package/esm2015/lib/components/reference-capture/reference-capture.component.js +15 -2
- package/esm2015/lib/components/selfie-capture/selfie.component.js +15 -2
- package/esm2015/lib/components/video-recorder/video-recorder.component.js +16 -3
- package/esm2015/lib/utils/types.js +1 -1
- package/esm2015/lib/version.js +2 -2
- package/fesm2015/unissey-web-sdk-angular.js +71 -6
- package/fesm2015/unissey-web-sdk-angular.js.map +1 -1
- package/lib/components/full-capture/full-capture.component.d.ts +31 -1
- package/lib/components/reference-capture/reference-capture.component.d.ts +16 -1
- package/lib/components/selfie-capture/selfie.component.d.ts +16 -1
- package/lib/components/video-recorder/video-recorder.component.d.ts +34 -12
- package/lib/translations/en.d.ts +12 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -7,31 +7,38 @@ export declare class VideoRecorderComponent implements OnChanges, OnInit, AfterV
|
|
|
7
7
|
private renderer;
|
|
8
8
|
strings?: {
|
|
9
9
|
capture: string;
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
10
|
retry: string;
|
|
14
11
|
errors: {
|
|
15
12
|
noFace: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
activeChallenge: string; /**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
sdkError: string;
|
|
17
|
+
unsupportedFaceDetector: string;
|
|
18
|
+
};
|
|
19
19
|
hints: {
|
|
20
20
|
up: string;
|
|
21
21
|
down: string;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
22
25
|
perfect: string;
|
|
23
26
|
right: string;
|
|
24
|
-
left: string;
|
|
27
|
+
left: string; /**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
25
30
|
closer: string;
|
|
26
31
|
record: string;
|
|
27
|
-
nil: string;
|
|
32
|
+
nil: string; /**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
28
35
|
};
|
|
29
36
|
forbiddenActionMessages: {
|
|
30
|
-
visibility: string;
|
|
31
|
-
focus: string;
|
|
32
|
-
keyboard: string; /**
|
|
37
|
+
visibility: string; /**
|
|
33
38
|
* @internal
|
|
34
39
|
*/
|
|
40
|
+
focus: string;
|
|
41
|
+
keyboard: string;
|
|
35
42
|
default: string;
|
|
36
43
|
};
|
|
37
44
|
cameraErrorMessages: {
|
|
@@ -61,6 +68,10 @@ export declare class VideoRecorderComponent implements OnChanges, OnInit, AfterV
|
|
|
61
68
|
recordInterrupted: EventEmitter<void>;
|
|
62
69
|
recordCompleted: EventEmitter<Capture>;
|
|
63
70
|
issue: EventEmitter<string>;
|
|
71
|
+
activeChallenge: EventEmitter<{
|
|
72
|
+
action?: string;
|
|
73
|
+
status?: string;
|
|
74
|
+
}>;
|
|
64
75
|
sdkVersion: string;
|
|
65
76
|
/**
|
|
66
77
|
* @internal
|
|
@@ -106,6 +117,10 @@ export declare class VideoRecorderComponent implements OnChanges, OnInit, AfterV
|
|
|
106
117
|
* @internal
|
|
107
118
|
*/
|
|
108
119
|
private recordCompletedUnlistenFct?;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
private activeChallengeUnlistenFct?;
|
|
109
124
|
constructor(renderer: Renderer2);
|
|
110
125
|
/**
|
|
111
126
|
* @internal
|
|
@@ -147,6 +162,13 @@ export declare class VideoRecorderComponent implements OnChanges, OnInit, AfterV
|
|
|
147
162
|
issueType: string;
|
|
148
163
|
value: string;
|
|
149
164
|
}>): void;
|
|
165
|
+
/**
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
onActiveChallenge(event: CustomEvent<{
|
|
169
|
+
action?: string;
|
|
170
|
+
status?: string;
|
|
171
|
+
}>): void;
|
|
150
172
|
/**
|
|
151
173
|
* @internal
|
|
152
174
|
*/
|
|
@@ -156,5 +178,5 @@ export declare class VideoRecorderComponent implements OnChanges, OnInit, AfterV
|
|
|
156
178
|
*/
|
|
157
179
|
ngOnDestroy(): void;
|
|
158
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<VideoRecorderComponent, never>;
|
|
159
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VideoRecorderComponent, "unissey-video-recorder", never, { "strings": "strings"; "preset": "preset"; "config": "config"; "faceChecker": "faceChecker"; "displayFlipCameraBtn": "displayFlipCameraBtn"; "hideCaptureBtn": "hideCaptureBtn"; "logLevel": "logLevel"; "disableDebugMode": "disableDebugMode"; }, { "record": "record"; "recorderReady": "recorderReady"; "recordStarting": "recordStarting"; "recordCapturing": "recordCapturing"; "recordInterrupted": "recordInterrupted"; "recordCompleted": "recordCompleted"; "issue": "issue"; }, never, ["[slot=actions]"]>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VideoRecorderComponent, "unissey-video-recorder", never, { "strings": "strings"; "preset": "preset"; "config": "config"; "faceChecker": "faceChecker"; "displayFlipCameraBtn": "displayFlipCameraBtn"; "hideCaptureBtn": "hideCaptureBtn"; "logLevel": "logLevel"; "disableDebugMode": "disableDebugMode"; }, { "record": "record"; "recorderReady": "recorderReady"; "recordStarting": "recordStarting"; "recordCapturing": "recordCapturing"; "recordInterrupted": "recordInterrupted"; "recordCompleted": "recordCompleted"; "issue": "issue"; "activeChallenge": "activeChallenge"; }, never, ["[slot=actions]"]>;
|
|
160
182
|
}
|
package/lib/translations/en.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const EN: {
|
|
|
4
4
|
retry: string;
|
|
5
5
|
errors: {
|
|
6
6
|
noFace: string;
|
|
7
|
+
activeChallenge: string;
|
|
8
|
+
sdkError: string;
|
|
9
|
+
unsupportedFaceDetector: string;
|
|
7
10
|
};
|
|
8
11
|
hints: {
|
|
9
12
|
up: string;
|
|
@@ -91,6 +94,9 @@ export declare const EN: {
|
|
|
91
94
|
retry: string;
|
|
92
95
|
errors: {
|
|
93
96
|
noFace: string;
|
|
97
|
+
activeChallenge: string;
|
|
98
|
+
sdkError: string;
|
|
99
|
+
unsupportedFaceDetector: string;
|
|
94
100
|
};
|
|
95
101
|
hints: {
|
|
96
102
|
up: string;
|
|
@@ -149,6 +155,9 @@ export declare const EN: {
|
|
|
149
155
|
retry: string;
|
|
150
156
|
errors: {
|
|
151
157
|
noFace: string;
|
|
158
|
+
activeChallenge: string;
|
|
159
|
+
sdkError: string;
|
|
160
|
+
unsupportedFaceDetector: string;
|
|
152
161
|
};
|
|
153
162
|
hints: {
|
|
154
163
|
up: string;
|
|
@@ -205,6 +214,9 @@ export declare const EN: {
|
|
|
205
214
|
retry: string;
|
|
206
215
|
errors: {
|
|
207
216
|
noFace: string;
|
|
217
|
+
activeChallenge: string;
|
|
218
|
+
sdkError: string;
|
|
219
|
+
unsupportedFaceDetector: string;
|
|
208
220
|
};
|
|
209
221
|
hints: {
|
|
210
222
|
up: string;
|
package/lib/utils/types.d.ts
CHANGED
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.0.0-beta.
|
|
1
|
+
export declare const SDK_VERSION = "5.0.0-beta.5";
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unissey-web/sdk-angular",
|
|
3
3
|
"description": "Unissey's Angular SDK",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.5",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^12.1.1 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
7
7
|
"@angular/core": "^12.1.1 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.0.0",
|
|
11
|
-
"@unissey-web/web-components": "5.0.0-beta.
|
|
11
|
+
"@unissey-web/web-components": "5.0.0-beta.5"
|
|
12
12
|
},
|
|
13
13
|
"main": "bundles/unissey-web-sdk-angular.umd.js",
|
|
14
14
|
"module": "fesm2015/unissey-web-sdk-angular.js",
|