@unissey-web/web-components 3.8.2 → 3.8.3-rc.2
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/full-capture.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/picture-recorder.js +1 -1
- package/dist/reference-capture.js +1 -1
- package/dist/selfie-capture.js +1 -1
- package/dist/{video-recorder-a19b72d9.js → video-recorder-80590598.js} +11 -2
- package/dist/video-recorder.js +1 -1
- package/package.json +1 -1
package/dist/full-capture.js
CHANGED
|
@@ -3,7 +3,7 @@ import { selfieCaptureStrings } from './selfie-capture.js';
|
|
|
3
3
|
import { referenceCaptureStrings } from './reference-capture.js';
|
|
4
4
|
import './button.js';
|
|
5
5
|
import './en-e76ed5a0.js';
|
|
6
|
-
import './video-recorder-
|
|
6
|
+
import './video-recorder-80590598.js';
|
|
7
7
|
import './variables-09a3e162.js';
|
|
8
8
|
import './video-record-directions.js';
|
|
9
9
|
import './direction-card-f55e1936.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -329,6 +329,7 @@ declare class Recorder extends LitElement {
|
|
|
329
329
|
retryCount: number;
|
|
330
330
|
isCameraFlipped: boolean;
|
|
331
331
|
faceDetectionFails: boolean;
|
|
332
|
+
disableDebugMode: boolean;
|
|
332
333
|
static properties: {
|
|
333
334
|
preset: {
|
|
334
335
|
attribute: string;
|
|
@@ -362,6 +363,10 @@ declare class Recorder extends LitElement {
|
|
|
362
363
|
attribute: string;
|
|
363
364
|
type: ArrayConstructor;
|
|
364
365
|
};
|
|
366
|
+
disableDebugMode: {
|
|
367
|
+
attribute: string;
|
|
368
|
+
type: BooleanConstructor;
|
|
369
|
+
};
|
|
365
370
|
hints: {
|
|
366
371
|
state: boolean;
|
|
367
372
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Button } from './button.js';
|
|
2
|
-
import { R as Recorder } from './video-recorder-
|
|
3
|
-
export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-
|
|
2
|
+
import { R as Recorder } from './video-recorder-80590598.js';
|
|
3
|
+
export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-80590598.js';
|
|
4
4
|
export { VideoRecordDirections } from './video-record-directions.js';
|
|
5
5
|
export { PictureRecorder } from './picture-recorder.js';
|
|
6
6
|
export { PictureEditor } from './picture-editor.js';
|
package/dist/picture-recorder.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-ac3d3a27.js';
|
|
2
2
|
import { E as EN } from './en-e76ed5a0.js';
|
|
3
|
-
import { R as Recorder, b as buildPacked } from './video-recorder-
|
|
3
|
+
import { R as Recorder, b as buildPacked } from './video-recorder-80590598.js';
|
|
4
4
|
import './variables-09a3e162.js';
|
|
5
5
|
import './button.js';
|
|
6
6
|
|
|
@@ -3,7 +3,7 @@ import './button.js';
|
|
|
3
3
|
import './image-capture-directions.js';
|
|
4
4
|
import './file-upload.js';
|
|
5
5
|
import './picture-recorder.js';
|
|
6
|
-
import { b as buildPacked } from './video-recorder-
|
|
6
|
+
import { b as buildPacked } from './video-recorder-80590598.js';
|
|
7
7
|
import { E as EN } from './en-e76ed5a0.js';
|
|
8
8
|
import { c as referenceCaptureVars } from './variables-09a3e162.js';
|
|
9
9
|
import './direction-card-f55e1936.js';
|
package/dist/selfie-capture.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-ac3d3a27.js';
|
|
2
2
|
import { E as EN } from './en-e76ed5a0.js';
|
|
3
|
-
import { b as buildPacked } from './video-recorder-
|
|
3
|
+
import { b as buildPacked } from './video-recorder-80590598.js';
|
|
4
4
|
import './video-record-directions.js';
|
|
5
5
|
import './button.js';
|
|
6
6
|
import { s as selfieCaptureVars } from './variables-09a3e162.js';
|
|
@@ -4,7 +4,7 @@ import { E as EN } from './en-e76ed5a0.js';
|
|
|
4
4
|
import './button.js';
|
|
5
5
|
|
|
6
6
|
var name = "@unissey-web/web-components";
|
|
7
|
-
var version = "3.8.2";
|
|
7
|
+
var version = "3.8.3-rc.2";
|
|
8
8
|
var description = "";
|
|
9
9
|
var module = "./dist/index.js";
|
|
10
10
|
var typings = "./dist/index.d.ts";
|
|
@@ -374,6 +374,8 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
374
374
|
_this.isCameraFlipped = false;
|
|
375
375
|
// Does the latest session fails to find a face ? Used to disable the face detection on retry (depending on 'faceChecker' property value')
|
|
376
376
|
_this.faceDetectionFails = false;
|
|
377
|
+
// Enable or disable the debugger hook of the sdk js
|
|
378
|
+
_this.disableDebugMode = false;
|
|
377
379
|
_this.sdkJsListener_status = function (status) {
|
|
378
380
|
var _this$shadowRoot, _this$shadowRoot2;
|
|
379
381
|
_this.sdkJsStatus = status;
|
|
@@ -655,6 +657,8 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
655
657
|
var configChanged = _changedProperties.has("config");
|
|
656
658
|
var faceCheckerChanged = _changedProperties.has("faceChecker");
|
|
657
659
|
var instructionsChanged = _changedProperties.has("instructionMessages");
|
|
660
|
+
var debuggerChanged = _changedProperties.has("debugger");
|
|
661
|
+
if (debuggerChanged) buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
|
|
658
662
|
|
|
659
663
|
// The sdk is initialized only if it is the first rendering or if one of the following attributes changes: preset or config
|
|
660
664
|
var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged;
|
|
@@ -699,7 +703,8 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
699
703
|
value: function initSdkJs() {
|
|
700
704
|
buildPacked.exports.UnisseySdk.setLogLevel(this.logLevel);
|
|
701
705
|
// This property is used to disable the debugger
|
|
702
|
-
|
|
706
|
+
console.log(this.disableDebugMode);
|
|
707
|
+
buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
|
|
703
708
|
var sdkEmitter = buildPacked.exports.UnisseySdk.getReferenceToEventEmitter();
|
|
704
709
|
sdkEmitter.on(buildPacked.exports.AcquisitionEvent.ISSUE, this.sdkJsListener_issue);
|
|
705
710
|
sdkEmitter.on(buildPacked.exports.AcquisitionEvent.FACE_INFO, this.sdkJsListener_faceInfo);
|
|
@@ -1092,6 +1097,10 @@ Recorder.properties = {
|
|
|
1092
1097
|
attribute: "instruction-messages",
|
|
1093
1098
|
type: Array
|
|
1094
1099
|
},
|
|
1100
|
+
disableDebugMode: {
|
|
1101
|
+
attribute: "disable-debug-mode",
|
|
1102
|
+
type: Boolean
|
|
1103
|
+
},
|
|
1095
1104
|
// Internal state
|
|
1096
1105
|
hints: {
|
|
1097
1106
|
state: true
|
package/dist/video-recorder.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './lit-element-ac3d3a27.js';
|
|
2
|
-
export { R as Recorder, V as VideoRecorder } from './video-recorder-
|
|
2
|
+
export { R as Recorder, V as VideoRecorder } from './video-recorder-80590598.js';
|
|
3
3
|
import './button.js';
|
|
4
4
|
import './en-e76ed5a0.js';
|
|
5
5
|
import './variables-09a3e162.js';
|