@unissey-web/sdk-angular 5.0.0-beta.4 → 5.0.0-beta.7
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/esm2015/public-api.js +1 -1
- 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
- package/public-api.d.ts +1 -1
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
this.recordCapturing = new i0.EventEmitter();
|
|
99
99
|
this.recordInterrupted = new i0.EventEmitter();
|
|
100
100
|
this.recordCompleted = new i0.EventEmitter();
|
|
101
|
+
this.activeChallenge = new i0.EventEmitter();
|
|
101
102
|
}
|
|
102
103
|
/**
|
|
103
104
|
* @internal
|
|
@@ -151,6 +152,12 @@
|
|
|
151
152
|
ReferenceCaptureComponent.prototype.onRecordCompleted = function (event) {
|
|
152
153
|
this.recordCompleted.emit(event.detail);
|
|
153
154
|
};
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
ReferenceCaptureComponent.prototype.onActiveChallenge = function (event) {
|
|
159
|
+
this.activeChallenge.emit(event.detail);
|
|
160
|
+
};
|
|
154
161
|
/**
|
|
155
162
|
* @internal
|
|
156
163
|
*/
|
|
@@ -161,6 +168,7 @@
|
|
|
161
168
|
this.recordCapturingUnlistenFct = this.renderer.listen(this.referenceRef.nativeElement, "recordCapturing", this.onRecordCapturing.bind(this));
|
|
162
169
|
this.recordInterruptedUnlistenFct = this.renderer.listen(this.referenceRef.nativeElement, "recordInterrupted", this.onRecordInterrupted.bind(this));
|
|
163
170
|
this.recordCompletedUnlistenFct = this.renderer.listen(this.referenceRef.nativeElement, "recordCompleted", this.onRecordCompleted.bind(this));
|
|
171
|
+
this.activeChallengeUnlistenFct = this.renderer.listen(this.referenceRef.nativeElement, "activeChallenge", this.onActiveChallenge.bind(this));
|
|
164
172
|
};
|
|
165
173
|
/**
|
|
166
174
|
* @internal
|
|
@@ -184,11 +192,14 @@
|
|
|
184
192
|
if (this.recordCompletedUnlistenFct) {
|
|
185
193
|
this.recordCompletedUnlistenFct();
|
|
186
194
|
}
|
|
195
|
+
if (this.activeChallengeUnlistenFct) {
|
|
196
|
+
this.activeChallengeUnlistenFct();
|
|
197
|
+
}
|
|
187
198
|
};
|
|
188
199
|
return ReferenceCaptureComponent;
|
|
189
200
|
}());
|
|
190
201
|
ReferenceCaptureComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ReferenceCaptureComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
191
|
-
ReferenceCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ReferenceCaptureComponent, selector: "unissey-reference-capture", inputs: { recorderOptions: "recorderOptions", strings: "strings", hideCaptureBtn: "hideCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { reference: "reference", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted" }, viewQueries: [{ propertyName: "referenceRef", first: true, predicate: ["reference"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-reference-capture\n #reference\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-reference-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
202
|
+
ReferenceCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ReferenceCaptureComponent, selector: "unissey-reference-capture", inputs: { recorderOptions: "recorderOptions", strings: "strings", hideCaptureBtn: "hideCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { reference: "reference", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted", activeChallenge: "activeChallenge" }, viewQueries: [{ propertyName: "referenceRef", first: true, predicate: ["reference"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-reference-capture\n #reference\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-reference-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
192
203
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ReferenceCaptureComponent, decorators: [{
|
|
193
204
|
type: i0.Component,
|
|
194
205
|
args: [{
|
|
@@ -216,6 +227,8 @@
|
|
|
216
227
|
type: i0.Output
|
|
217
228
|
}], recordCompleted: [{
|
|
218
229
|
type: i0.Output
|
|
230
|
+
}], activeChallenge: [{
|
|
231
|
+
type: i0.Output
|
|
219
232
|
}], referenceRef: [{
|
|
220
233
|
type: i0.ViewChild,
|
|
221
234
|
args: ["reference"]
|
|
@@ -231,6 +244,8 @@
|
|
|
231
244
|
this.disableDebugMode = false;
|
|
232
245
|
this.data = new i0.EventEmitter();
|
|
233
246
|
this.recorderReady = new i0.EventEmitter();
|
|
247
|
+
this.referenceActiveChallenge = new i0.EventEmitter();
|
|
248
|
+
this.selfieActiveChallenge = new i0.EventEmitter();
|
|
234
249
|
}
|
|
235
250
|
/**
|
|
236
251
|
* @internal
|
|
@@ -259,12 +274,26 @@
|
|
|
259
274
|
FullCaptureComponent.prototype.onRecorderReady = function (event) {
|
|
260
275
|
this.recorderReady.emit(event.detail);
|
|
261
276
|
};
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
FullCaptureComponent.prototype.onReferenceActiveChallenge = function (event) {
|
|
281
|
+
this.referenceActiveChallenge.emit(event.detail);
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
FullCaptureComponent.prototype.onSelfieActiveChallenge = function (event) {
|
|
287
|
+
this.selfieActiveChallenge.emit(event.detail);
|
|
288
|
+
};
|
|
262
289
|
/**
|
|
263
290
|
* @internal
|
|
264
291
|
*/
|
|
265
292
|
FullCaptureComponent.prototype.ngAfterViewInit = function () {
|
|
266
293
|
this.fullCaptureUnlistenFct = this.renderer.listen(this.fullCaptureRef.nativeElement, "data", this.onData.bind(this));
|
|
267
294
|
this.recorderReadyUnlistenFct = this.renderer.listen(this.fullCaptureRef.nativeElement, "recorderReady", this.onRecorderReady.bind(this));
|
|
295
|
+
this.referenceActiveChallengeUnlistenFct = this.renderer.listen(this.fullCaptureRef.nativeElement, "referenceActiveChallenge", this.onReferenceActiveChallenge.bind(this));
|
|
296
|
+
this.selfieActiveChallengeUnlistenFct = this.renderer.listen(this.fullCaptureRef.nativeElement, "selfieActiveChallenge", this.onSelfieActiveChallenge.bind(this));
|
|
268
297
|
};
|
|
269
298
|
/**
|
|
270
299
|
* @internal
|
|
@@ -276,11 +305,17 @@
|
|
|
276
305
|
if (this.recorderReadyUnlistenFct) {
|
|
277
306
|
this.recorderReadyUnlistenFct();
|
|
278
307
|
}
|
|
308
|
+
if (this.referenceActiveChallengeUnlistenFct) {
|
|
309
|
+
this.referenceActiveChallengeUnlistenFct();
|
|
310
|
+
}
|
|
311
|
+
if (this.selfieActiveChallengeUnlistenFct) {
|
|
312
|
+
this.selfieActiveChallengeUnlistenFct();
|
|
313
|
+
}
|
|
279
314
|
};
|
|
280
315
|
return FullCaptureComponent;
|
|
281
316
|
}());
|
|
282
317
|
FullCaptureComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FullCaptureComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
283
|
-
FullCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FullCaptureComponent, selector: "unissey-full-capture", inputs: { strings: "strings", recorderOptions: "recorderOptions", hideReferenceCaptureBtn: "hideReferenceCaptureBtn", hideSelfieCaptureBtn: "hideSelfieCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { data: "data", recorderReady: "recorderReady" }, viewQueries: [{ propertyName: "fullCaptureRef", first: true, predicate: ["fullCapture"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-full-capture\n #fullCapture\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-selfie-capture-btn]=\"hideSelfieCaptureBtn === true ? true : null\"\n [attr.hide-reference-capture-btn]=\"hideReferenceCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-full-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
318
|
+
FullCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FullCaptureComponent, selector: "unissey-full-capture", inputs: { strings: "strings", recorderOptions: "recorderOptions", hideReferenceCaptureBtn: "hideReferenceCaptureBtn", hideSelfieCaptureBtn: "hideSelfieCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { data: "data", recorderReady: "recorderReady", referenceActiveChallenge: "referenceActiveChallenge", selfieActiveChallenge: "selfieActiveChallenge" }, viewQueries: [{ propertyName: "fullCaptureRef", first: true, predicate: ["fullCapture"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-full-capture\n #fullCapture\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-selfie-capture-btn]=\"hideSelfieCaptureBtn === true ? true : null\"\n [attr.hide-reference-capture-btn]=\"hideReferenceCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-full-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
284
319
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FullCaptureComponent, decorators: [{
|
|
285
320
|
type: i0.Component,
|
|
286
321
|
args: [{
|
|
@@ -302,6 +337,10 @@
|
|
|
302
337
|
type: i0.Output
|
|
303
338
|
}], recorderReady: [{
|
|
304
339
|
type: i0.Output
|
|
340
|
+
}], referenceActiveChallenge: [{
|
|
341
|
+
type: i0.Output
|
|
342
|
+
}], selfieActiveChallenge: [{
|
|
343
|
+
type: i0.Output
|
|
305
344
|
}], fullCaptureRef: [{
|
|
306
345
|
type: i0.ViewChild,
|
|
307
346
|
args: ["fullCapture"]
|
|
@@ -321,6 +360,7 @@
|
|
|
321
360
|
this.recordCapturing = new i0.EventEmitter();
|
|
322
361
|
this.recordInterrupted = new i0.EventEmitter();
|
|
323
362
|
this.recordCompleted = new i0.EventEmitter();
|
|
363
|
+
this.activeChallenge = new i0.EventEmitter();
|
|
324
364
|
}
|
|
325
365
|
/**
|
|
326
366
|
* @internal
|
|
@@ -374,6 +414,12 @@
|
|
|
374
414
|
SelfieCaptureComponent.prototype.onRecordCompleted = function (event) {
|
|
375
415
|
this.recordCompleted.emit(event.detail);
|
|
376
416
|
};
|
|
417
|
+
/**
|
|
418
|
+
* @internal
|
|
419
|
+
*/
|
|
420
|
+
SelfieCaptureComponent.prototype.onActiveChallenge = function (event) {
|
|
421
|
+
this.activeChallenge.emit(event.detail);
|
|
422
|
+
};
|
|
377
423
|
/**
|
|
378
424
|
* @internal
|
|
379
425
|
*/
|
|
@@ -384,6 +430,7 @@
|
|
|
384
430
|
this.recordCapturingUnlistenFct = this.renderer.listen(this.selfieRef.nativeElement, "recordCapturing", this.onRecordCapturing.bind(this));
|
|
385
431
|
this.recordInterruptedUnlistenFct = this.renderer.listen(this.selfieRef.nativeElement, "recordInterrupted", this.onRecordInterrupted.bind(this));
|
|
386
432
|
this.recordCompletedUnlistenFct = this.renderer.listen(this.selfieRef.nativeElement, "recordCompleted", this.onRecordCompleted.bind(this));
|
|
433
|
+
this.activeChallengeUnlistenFct = this.renderer.listen(this.selfieRef.nativeElement, "activeChallenge", this.onActiveChallenge.bind(this));
|
|
387
434
|
};
|
|
388
435
|
/**
|
|
389
436
|
* @internal
|
|
@@ -407,11 +454,14 @@
|
|
|
407
454
|
if (this.recordCompletedUnlistenFct) {
|
|
408
455
|
this.recordCompletedUnlistenFct();
|
|
409
456
|
}
|
|
457
|
+
if (this.activeChallengeUnlistenFct) {
|
|
458
|
+
this.activeChallengeUnlistenFct();
|
|
459
|
+
}
|
|
410
460
|
};
|
|
411
461
|
return SelfieCaptureComponent;
|
|
412
462
|
}());
|
|
413
463
|
SelfieCaptureComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SelfieCaptureComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
414
|
-
SelfieCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SelfieCaptureComponent, selector: "unissey-selfie-capture", inputs: { strings: "strings", recorderOptions: "recorderOptions", hideCapturePrevBtn: "hideCapturePrevBtn", hideCaptureBtn: "hideCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { selfie: "selfie", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted" }, viewQueries: [{ propertyName: "selfieRef", first: true, predicate: ["selfie"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-selfie-capture\n #selfie\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-capture-prev-btn]=\"hideCapturePrevBtn === true ? true : null\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-selfie-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
464
|
+
SelfieCaptureComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SelfieCaptureComponent, selector: "unissey-selfie-capture", inputs: { strings: "strings", recorderOptions: "recorderOptions", hideCapturePrevBtn: "hideCapturePrevBtn", hideCaptureBtn: "hideCaptureBtn", disableDebugMode: "disableDebugMode" }, outputs: { selfie: "selfie", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted", activeChallenge: "activeChallenge" }, viewQueries: [{ propertyName: "selfieRef", first: true, predicate: ["selfie"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-selfie-capture\n #selfie\n [attr.strings]=\"stringifiedStrings\"\n [attr.recorder-options]=\"stringifiedRecorderOptions\"\n [attr.hide-capture-prev-btn]=\"hideCapturePrevBtn === true ? true : null\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n>\n <ng-content></ng-content>\n</uni-selfie-capture>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
415
465
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SelfieCaptureComponent, decorators: [{
|
|
416
466
|
type: i0.Component,
|
|
417
467
|
args: [{
|
|
@@ -441,6 +491,8 @@
|
|
|
441
491
|
type: i0.Output
|
|
442
492
|
}], recordCompleted: [{
|
|
443
493
|
type: i0.Output
|
|
494
|
+
}], activeChallenge: [{
|
|
495
|
+
type: i0.Output
|
|
444
496
|
}], selfieRef: [{
|
|
445
497
|
type: i0.ViewChild,
|
|
446
498
|
args: ["selfie"]
|
|
@@ -839,13 +891,13 @@
|
|
|
839
891
|
}] } });
|
|
840
892
|
|
|
841
893
|
// AUTO-GENERATED FILE - DO NOT EDIT
|
|
842
|
-
var SDK_VERSION = '5.0.0-beta.
|
|
894
|
+
var SDK_VERSION = '5.0.0-beta.7';
|
|
843
895
|
|
|
844
896
|
var VideoRecorderComponent = /** @class */ (function () {
|
|
845
897
|
function VideoRecorderComponent(renderer) {
|
|
846
898
|
this.renderer = renderer;
|
|
847
899
|
this.strings = EN.videoRecorder;
|
|
848
|
-
this.preset = webComponents.AcquisitionPreset.
|
|
900
|
+
this.preset = webComponents.AcquisitionPreset.SELFIE_MJPEG;
|
|
849
901
|
this.config = {};
|
|
850
902
|
this.faceChecker = "disabled-on-retry";
|
|
851
903
|
this.displayFlipCameraBtn = false;
|
|
@@ -859,6 +911,7 @@
|
|
|
859
911
|
this.recordInterrupted = new i0.EventEmitter();
|
|
860
912
|
this.recordCompleted = new i0.EventEmitter();
|
|
861
913
|
this.issue = new i0.EventEmitter();
|
|
914
|
+
this.activeChallenge = new i0.EventEmitter();
|
|
862
915
|
this.sdkVersion = SDK_VERSION;
|
|
863
916
|
}
|
|
864
917
|
/**
|
|
@@ -918,6 +971,12 @@
|
|
|
918
971
|
VideoRecorderComponent.prototype.onRecordIssue = function (event) {
|
|
919
972
|
this.issue.emit(event.detail.issueType);
|
|
920
973
|
};
|
|
974
|
+
/**
|
|
975
|
+
* @internal
|
|
976
|
+
*/
|
|
977
|
+
VideoRecorderComponent.prototype.onActiveChallenge = function (event) {
|
|
978
|
+
this.activeChallenge.emit(event.detail);
|
|
979
|
+
};
|
|
921
980
|
/**
|
|
922
981
|
* @internal
|
|
923
982
|
*/
|
|
@@ -929,6 +988,7 @@
|
|
|
929
988
|
this.recordCapturingUnlistenFct = this.renderer.listen(this.recorderRef.nativeElement, "recordCapturing", this.onRecordCapturing.bind(this));
|
|
930
989
|
this.recordInterruptedUnlistenFct = this.renderer.listen(this.recorderRef.nativeElement, "recordInterrupted", this.onRecordInterrupted.bind(this));
|
|
931
990
|
this.recordCompletedUnlistenFct = this.renderer.listen(this.recorderRef.nativeElement, "recordCompleted", this.onRecordCompleted.bind(this));
|
|
991
|
+
this.activeChallengeUnlistenFct = this.renderer.listen(this.recorderRef.nativeElement, "activeChallenge", this.onActiveChallenge.bind(this));
|
|
932
992
|
};
|
|
933
993
|
/**
|
|
934
994
|
* @internal
|
|
@@ -955,11 +1015,14 @@
|
|
|
955
1015
|
if (this.recordCompletedUnlistenFct) {
|
|
956
1016
|
this.recordCompletedUnlistenFct();
|
|
957
1017
|
}
|
|
1018
|
+
if (this.activeChallengeUnlistenFct) {
|
|
1019
|
+
this.activeChallengeUnlistenFct();
|
|
1020
|
+
}
|
|
958
1021
|
};
|
|
959
1022
|
return VideoRecorderComponent;
|
|
960
1023
|
}());
|
|
961
1024
|
VideoRecorderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VideoRecorderComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
962
|
-
VideoRecorderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VideoRecorderComponent, selector: "unissey-video-recorder", inputs: { strings: "strings", preset: "preset", config: "config", faceChecker: "faceChecker", displayFlipCameraBtn: "displayFlipCameraBtn", hideCaptureBtn: "hideCaptureBtn", logLevel: "logLevel", disableDebugMode: "disableDebugMode" }, outputs: { record: "record", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted", issue: "issue" }, viewQueries: [{ propertyName: "recorderRef", first: true, predicate: ["camera"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-video-recorder\n #camera\n [attr.preset]=\"preset\"\n [attr.strings]=\"stringifiedStrings\"\n [attr.face-checker]=\"faceChecker\"\n [attr.config]=\"stringifiedConfig\"\n [attr.display-flip-camera-btn]=\"displayFlipCameraBtn === true ? true : null\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.log-level]=\"logLevel\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n [attr.sdk-angular-version]=\"sdkVersion\"\n>\n <div slot=\"left\">\n <ng-content select=\"[slot=actions]\"></ng-content>\n </div>\n</uni-video-recorder>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1025
|
+
VideoRecorderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VideoRecorderComponent, selector: "unissey-video-recorder", inputs: { strings: "strings", preset: "preset", config: "config", faceChecker: "faceChecker", displayFlipCameraBtn: "displayFlipCameraBtn", hideCaptureBtn: "hideCaptureBtn", logLevel: "logLevel", disableDebugMode: "disableDebugMode" }, outputs: { record: "record", recorderReady: "recorderReady", recordStarting: "recordStarting", recordCapturing: "recordCapturing", recordInterrupted: "recordInterrupted", recordCompleted: "recordCompleted", issue: "issue", activeChallenge: "activeChallenge" }, viewQueries: [{ propertyName: "recorderRef", first: true, predicate: ["camera"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<uni-video-recorder\n #camera\n [attr.preset]=\"preset\"\n [attr.strings]=\"stringifiedStrings\"\n [attr.face-checker]=\"faceChecker\"\n [attr.config]=\"stringifiedConfig\"\n [attr.display-flip-camera-btn]=\"displayFlipCameraBtn === true ? true : null\"\n [attr.hide-capture-btn]=\"hideCaptureBtn === true ? true : null\"\n [attr.log-level]=\"logLevel\"\n [attr.disable-debug-mode]=\"disableDebugMode === true ? true : null\"\n [attr.sdk-angular-version]=\"sdkVersion\"\n>\n <div slot=\"left\">\n <ng-content select=\"[slot=actions]\"></ng-content>\n </div>\n</uni-video-recorder>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
963
1026
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VideoRecorderComponent, decorators: [{
|
|
964
1027
|
type: i0.Component,
|
|
965
1028
|
args: [{
|
|
@@ -997,6 +1060,8 @@
|
|
|
997
1060
|
type: i0.Output
|
|
998
1061
|
}], issue: [{
|
|
999
1062
|
type: i0.Output
|
|
1063
|
+
}], activeChallenge: [{
|
|
1064
|
+
type: i0.Output
|
|
1000
1065
|
}], recorderRef: [{
|
|
1001
1066
|
type: i0.ViewChild,
|
|
1002
1067
|
args: ["camera"]
|