@unissey-web/web-components 5.2.1 → 5.3.0-beta.1
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/button.js +2 -2
- package/dist/{direction-card-5904f865.js → direction-card-fd8d8d8b.js} +2 -2
- package/dist/{en-bf73ad7f.js → en-57f1198e.js} +4 -4
- package/dist/file-upload.js +3 -3
- package/dist/full-capture.js +7 -7
- package/dist/image-capture-directions.js +4 -4
- package/dist/index.d.ts +31 -0
- package/dist/index.js +10 -10
- package/dist/{lit-element-83035a6f.js → lit-element-c42ac26e.js} +25 -1
- package/dist/picture-editor.js +2 -2
- package/dist/picture-recorder.js +4 -4
- package/dist/reference-capture.js +6 -6
- package/dist/retry-result.js +3 -3
- package/dist/selfie-capture.js +6 -6
- package/dist/{variables-c07a8719.js → variables-0db5ef1b.js} +1 -1
- package/dist/video-record-directions.js +4 -4
- package/dist/video-recorder-90ae4475.js +1482 -0
- package/dist/video-recorder.js +4 -4
- package/package.json +2 -2
- package/dist/video-recorder-1caa8e72.js +0 -1182
package/dist/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-
|
|
2
|
-
import { e as buttonsVars, d as defaultVars } from './variables-
|
|
1
|
+
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { e as buttonsVars, d as defaultVars } from './variables-0db5ef1b.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
5
5
|
var Button = /*#__PURE__*/function (_LitElement) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-
|
|
2
|
-
import { d as defaultVars, c as directionCardsVars } from './variables-
|
|
1
|
+
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { d as defaultVars, c as directionCardsVars } from './variables-0db5ef1b.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject$1;
|
|
5
5
|
var directionsStyle = i(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n .layout {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .item {\n margin-top: 15px;\n width: 100%;\n }\n"])));
|
|
@@ -49,10 +49,10 @@ var videoRecorder = {
|
|
|
49
49
|
},
|
|
50
50
|
rotationWhileCapturingErrorMessage: "Please don't rotate the device during acquisition.",
|
|
51
51
|
activeChallengeMessages: {
|
|
52
|
-
rotateLeft: 'Turn head to the <strong
|
|
53
|
-
rotateRight: 'Turn head to the <strong
|
|
54
|
-
rotateUp: 'Turn head <strong
|
|
55
|
-
rotateDown: 'Turn head <strong
|
|
52
|
+
rotateLeft: 'Turn head to the <strong font-size: 18px">left</strong>',
|
|
53
|
+
rotateRight: 'Turn head to the <strong font-size: 18px">right</strong>',
|
|
54
|
+
rotateUp: 'Turn head <strong font-size: 18px">up</strong>',
|
|
55
|
+
rotateDown: 'Turn head <strong font-size: 18px">down</strong>'
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
var pictureRecorder = {
|
package/dist/file-upload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2, f as _asyncToGenerator, g as _regenerator } from './lit-element-
|
|
2
|
-
import { E as EN } from './en-
|
|
3
|
-
import { f as fileUploadVars } from './variables-
|
|
1
|
+
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2, f as _asyncToGenerator, g as _regenerator } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { E as EN } from './en-57f1198e.js';
|
|
3
|
+
import { f as fileUploadVars } from './variables-0db5ef1b.js';
|
|
4
4
|
import { c as commonjsGlobal } from './_commonjsHelpers-02146103.js';
|
|
5
5
|
|
|
6
6
|
var heic2any$1 = {exports: {}};
|
package/dist/full-capture.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper } from './lit-element-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper } from './lit-element-c42ac26e.js';
|
|
2
2
|
import { selfieCaptureStrings } from './selfie-capture.js';
|
|
3
3
|
import { referenceCaptureStrings } from './reference-capture.js';
|
|
4
4
|
import './button.js';
|
|
5
|
-
import './en-
|
|
6
|
-
import './video-recorder-
|
|
5
|
+
import './en-57f1198e.js';
|
|
6
|
+
import './video-recorder-90ae4475.js';
|
|
7
7
|
import './_commonjsHelpers-02146103.js';
|
|
8
|
-
import './variables-
|
|
8
|
+
import './variables-0db5ef1b.js';
|
|
9
9
|
import './video-record-directions.js';
|
|
10
|
-
import './direction-card-
|
|
10
|
+
import './direction-card-fd8d8d8b.js';
|
|
11
11
|
import './image-capture-directions.js';
|
|
12
12
|
import './file-upload.js';
|
|
13
13
|
import './picture-recorder.js';
|
|
@@ -82,13 +82,13 @@ var FullCapture = /*#__PURE__*/function (_LitElement) {
|
|
|
82
82
|
key: "renderReferenceStep",
|
|
83
83
|
value: function renderReferenceStep() {
|
|
84
84
|
var _this$strings$referen, _this$strings$referen2, _this$strings$referen3;
|
|
85
|
-
return x(_templateObject || (_templateObject = _taggedTemplateLiteral([" <uni-reference-capture\n @reference=\"", "\"\n @recorderReady=\"", "\"\n @activeChallenge=\"", "\"\n recorder-options=\"", "\"\n strings=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <slot name=\"
|
|
85
|
+
return x(_templateObject || (_templateObject = _taggedTemplateLiteral([" <uni-reference-capture\n @reference=\"", "\"\n @recorderReady=\"", "\"\n @activeChallenge=\"", "\"\n recorder-options=\"", "\"\n strings=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <slot name=\"reference-directions\" slot=\"directions\">\n <uni-image-capture-directions\n strings=\"", "\"\n ></uni-image-capture-directions>\n </slot>\n\n <slot name=\"reference-action-button\" slot=\"action-button\"></slot>\n\n <slot name=\"ac-top-hints\" slot=\"ac-top-hints\"></slot>\n <slot name=\"ac-face-hints\" slot=\"ac-face-hints\"></slot>\n <slot name=\"ac-bottom-hints\" slot=\"ac-bottom-hints\"></slot>\n </uni-reference-capture>"])), this.handleReference, this.handleRecoderReady, this.handleReferenceActiveChallenge, JSON.stringify(this.recorderOptions), JSON.stringify((_this$strings$referen = this.strings.reference) !== null && _this$strings$referen !== void 0 ? _this$strings$referen : referenceCaptureStrings), this.hideReferenceCaptureBtn, this.disableDebugMode, JSON.stringify((_this$strings$referen2 = (_this$strings$referen3 = this.strings.reference) === null || _this$strings$referen3 === void 0 ? void 0 : _this$strings$referen3.directions) !== null && _this$strings$referen2 !== void 0 ? _this$strings$referen2 : referenceCaptureStrings.directions));
|
|
86
86
|
}
|
|
87
87
|
}, {
|
|
88
88
|
key: "renderSelfieStep",
|
|
89
89
|
value: function renderSelfieStep() {
|
|
90
90
|
var _this$strings$selfie, _this$strings$selfie$, _this$strings$selfie2, _this$strings$selfie$2, _this$strings$selfie3;
|
|
91
|
-
return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["<uni-selfie-capture\n @selfie=\"", "\"\n @recorderReady=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n recorder-options=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <slot name=\"
|
|
91
|
+
return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["<uni-selfie-capture\n @selfie=\"", "\"\n @recorderReady=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n recorder-options=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <slot name=\"selfie-directions\" slot=\"directions\">\n <uni-video-record-directions\n strings=\"", "\"\n >\n </uni-video-record-directions>\n </slot>\n <uni-button slot=\"action-button\" variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n <slot name=\"ac-top-hints\" slot=\"ac-top-hints\"></slot>\n <slot name=\"ac-face-hints\" slot=\"ac-face-hints\"></slot>\n <slot name=\"ac-bottom-hints\" slot=\"ac-bottom-hints\"></slot>\n </uni-selfie-capture>"])), this.handleSelfie, this.handleRecoderReady, this.handleSelfieActiveChallenge, JSON.stringify((_this$strings$selfie = this.strings.selfie) !== null && _this$strings$selfie !== void 0 ? _this$strings$selfie : selfieCaptureStrings), JSON.stringify(this.recorderOptions), this.hideSelfieCaptureBtn, this.disableDebugMode, JSON.stringify((_this$strings$selfie$ = (_this$strings$selfie2 = this.strings.selfie) === null || _this$strings$selfie2 === void 0 ? void 0 : _this$strings$selfie2.directions) !== null && _this$strings$selfie$ !== void 0 ? _this$strings$selfie$ : selfieCaptureStrings.directions), this.handleBack, (_this$strings$selfie$2 = (_this$strings$selfie3 = this.strings.selfie) === null || _this$strings$selfie3 === void 0 ? void 0 : _this$strings$selfie3.back) !== null && _this$strings$selfie$2 !== void 0 ? _this$strings$selfie$2 : selfieCaptureStrings.back);
|
|
92
92
|
}
|
|
93
93
|
}, {
|
|
94
94
|
key: "render",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2 } from './lit-element-
|
|
2
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
4
|
-
import { E as EN } from './en-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2 } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { d as directionsStyle } from './direction-card-fd8d8d8b.js';
|
|
3
|
+
import { d as defaultVars } from './variables-0db5ef1b.js';
|
|
4
|
+
import { E as EN } from './en-57f1198e.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
|
7
7
|
var FaceCardPicto = /*#__PURE__*/function (_LitElement) {
|
package/dist/index.d.ts
CHANGED
|
@@ -358,6 +358,14 @@ declare class Recorder extends LitElement {
|
|
|
358
358
|
activeChallengeFails: boolean;
|
|
359
359
|
disableDebugMode: boolean;
|
|
360
360
|
actionState: "success" | "error" | undefined;
|
|
361
|
+
private sequencer;
|
|
362
|
+
acSequenceStarted: boolean;
|
|
363
|
+
acActionStarted: boolean;
|
|
364
|
+
acCurrentMessage: string | undefined;
|
|
365
|
+
acCurrentAction: string | undefined;
|
|
366
|
+
acActiveActionIndex: number | null;
|
|
367
|
+
acNumberOfActions: number | undefined;
|
|
368
|
+
acProgressBarValues: number[];
|
|
361
369
|
static properties: {
|
|
362
370
|
preset: {
|
|
363
371
|
attribute: string;
|
|
@@ -417,6 +425,27 @@ declare class Recorder extends LitElement {
|
|
|
417
425
|
isActionSuccessful: {
|
|
418
426
|
state: boolean;
|
|
419
427
|
};
|
|
428
|
+
acCurrentMessage: {
|
|
429
|
+
state: boolean;
|
|
430
|
+
};
|
|
431
|
+
acCurrentAction: {
|
|
432
|
+
state: boolean;
|
|
433
|
+
};
|
|
434
|
+
acActiveActionIndex: {
|
|
435
|
+
state: boolean;
|
|
436
|
+
};
|
|
437
|
+
acNumberOfActions: {
|
|
438
|
+
state: boolean;
|
|
439
|
+
};
|
|
440
|
+
acProgressBarValues: {
|
|
441
|
+
state: boolean;
|
|
442
|
+
};
|
|
443
|
+
acActionStarted: {
|
|
444
|
+
state: boolean;
|
|
445
|
+
};
|
|
446
|
+
acSequenceStarted: {
|
|
447
|
+
state: boolean;
|
|
448
|
+
};
|
|
420
449
|
};
|
|
421
450
|
constructor();
|
|
422
451
|
retryCapture(): Promise<void>;
|
|
@@ -1195,6 +1224,8 @@ declare enum OverlayDisplayMode {
|
|
|
1195
1224
|
type OverlayConfig = {
|
|
1196
1225
|
displayMode: OverlayDisplayMode;
|
|
1197
1226
|
colors: OverlayColors;
|
|
1227
|
+
filter: string;
|
|
1228
|
+
disableCropping: boolean;
|
|
1198
1229
|
};
|
|
1199
1230
|
declare enum VideoOrientation {
|
|
1200
1231
|
LANDSCAPE = "landscape",
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export { Button } from './button.js';
|
|
2
|
-
import { R as Recorder } from './video-recorder-
|
|
3
|
-
export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-
|
|
2
|
+
import { R as Recorder } from './video-recorder-90ae4475.js';
|
|
3
|
+
export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-90ae4475.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';
|
|
7
7
|
export { FileUpload } from './file-upload.js';
|
|
8
8
|
export { ImageCaptureDirections } from './image-capture-directions.js';
|
|
9
|
-
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper } from './lit-element-
|
|
9
|
+
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper } from './lit-element-c42ac26e.js';
|
|
10
10
|
export { RetryResult } from './retry-result.js';
|
|
11
11
|
export { SelfieCapture } from './selfie-capture.js';
|
|
12
12
|
export { ReferenceCapture } from './reference-capture.js';
|
|
13
13
|
export { FullCapture } from './full-capture.js';
|
|
14
|
-
export { D as DirectionCard } from './direction-card-
|
|
15
|
-
export { E as EN } from './en-
|
|
16
|
-
import './variables-
|
|
14
|
+
export { D as DirectionCard } from './direction-card-fd8d8d8b.js';
|
|
15
|
+
export { E as EN } from './en-57f1198e.js';
|
|
16
|
+
import './variables-0db5ef1b.js';
|
|
17
17
|
import './_commonjsHelpers-02146103.js';
|
|
18
18
|
|
|
19
19
|
// @ts-ignore
|
|
@@ -60,10 +60,10 @@ var videoRecorder = {
|
|
|
60
60
|
},
|
|
61
61
|
rotationWhileCapturingErrorMessage: "Veuillez ne pas tourner l'appareil pendant l'acquisition.",
|
|
62
62
|
activeChallengeMessages: {
|
|
63
|
-
rotateLeft: 'Tournez la tête à <strong
|
|
64
|
-
rotateRight: 'Tournez la tête à <strong
|
|
65
|
-
rotateUp: 'Pivotez la tête en <strong
|
|
66
|
-
rotateDown: 'Pivotez la tête en <strong
|
|
63
|
+
rotateLeft: 'Tournez la tête à <strong font-size: 18px">gauche</strong>',
|
|
64
|
+
rotateRight: 'Tournez la tête à <strong font-size: 18px">droite</strong>',
|
|
65
|
+
rotateUp: 'Pivotez la tête en <strong font-size: 18px">haut</strong>',
|
|
66
|
+
rotateDown: 'Pivotez la tête en <strong font-size: 18px">bas</strong>'
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
var pictureRecorder = {
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function _arrayLikeToArray(r, a) {
|
|
2
|
+
(null == a || a > r.length) && (a = r.length);
|
|
3
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
4
|
+
return n;
|
|
5
|
+
}
|
|
6
|
+
function _arrayWithoutHoles(r) {
|
|
7
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
8
|
+
}
|
|
1
9
|
function _assertThisInitialized(e) {
|
|
2
10
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3
11
|
return e;
|
|
@@ -86,6 +94,12 @@ function _isNativeReflectConstruct() {
|
|
|
86
94
|
return !!t;
|
|
87
95
|
})();
|
|
88
96
|
}
|
|
97
|
+
function _iterableToArray(r) {
|
|
98
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
99
|
+
}
|
|
100
|
+
function _nonIterableSpread() {
|
|
101
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
102
|
+
}
|
|
89
103
|
function ownKeys(e, r) {
|
|
90
104
|
var t = Object.keys(e);
|
|
91
105
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -242,6 +256,9 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
242
256
|
}
|
|
243
257
|
}));
|
|
244
258
|
}
|
|
259
|
+
function _toConsumableArray(r) {
|
|
260
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
261
|
+
}
|
|
245
262
|
function _toPrimitive(t, r) {
|
|
246
263
|
if ("object" != typeof t || !t) return t;
|
|
247
264
|
var e = t[Symbol.toPrimitive];
|
|
@@ -256,6 +273,13 @@ function _toPropertyKey(t) {
|
|
|
256
273
|
var i = _toPrimitive(t, "string");
|
|
257
274
|
return "symbol" == typeof i ? i : i + "";
|
|
258
275
|
}
|
|
276
|
+
function _unsupportedIterableToArray(r, a) {
|
|
277
|
+
if (r) {
|
|
278
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
279
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
280
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
259
283
|
|
|
260
284
|
/**
|
|
261
285
|
* @license
|
|
@@ -283,4 +307,4 @@ var t;const i=window,s$1=i.trustedTypes,e=s$1?s$1.createPolicy("lit-html",{creat
|
|
|
283
307
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
308
|
*/var l,o;class s extends u$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T}}s.finalized=!0,s._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:s});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:s});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.3.3");
|
|
285
309
|
|
|
286
|
-
export { _inherits as _, _createClass as a, _classCallCheck as b, _callSuper as c, _taggedTemplateLiteral as d, _objectSpread2 as e, _asyncToGenerator as f, _regenerator as g, _superPropGet as h, i$1 as i, s, x };
|
|
310
|
+
export { _inherits as _, _createClass as a, _classCallCheck as b, _callSuper as c, _taggedTemplateLiteral as d, _objectSpread2 as e, _asyncToGenerator as f, _regenerator as g, _superPropGet as h, i$1 as i, _toConsumableArray as j, s, x };
|
package/dist/picture-editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2, f as _asyncToGenerator, g as _regenerator, h as _superPropGet } from './lit-element-
|
|
2
|
-
import { E as EN } from './en-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2, f as _asyncToGenerator, g as _regenerator, h as _superPropGet } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { E as EN } from './en-57f1198e.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject$2;
|
|
5
5
|
var RotateLeftIcon = /*#__PURE__*/function (_LitElement) {
|
package/dist/picture-recorder.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-
|
|
2
|
-
import { R as Recorder, b as buildPacked } from './video-recorder-
|
|
3
|
-
import { E as EN } from './en-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { R as Recorder, b as buildPacked } from './video-recorder-90ae4475.js';
|
|
3
|
+
import { E as EN } from './en-57f1198e.js';
|
|
4
4
|
import './_commonjsHelpers-02146103.js';
|
|
5
|
-
import './variables-
|
|
5
|
+
import './variables-0db5ef1b.js';
|
|
6
6
|
import './button.js';
|
|
7
7
|
|
|
8
8
|
var _templateObject$1;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2 } from './lit-element-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i, e as _objectSpread2 } from './lit-element-c42ac26e.js';
|
|
2
2
|
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-
|
|
7
|
-
import { E as EN } from './en-
|
|
8
|
-
import { a as referenceCaptureVars } from './variables-
|
|
9
|
-
import './direction-card-
|
|
6
|
+
import { b as buildPacked } from './video-recorder-90ae4475.js';
|
|
7
|
+
import { E as EN } from './en-57f1198e.js';
|
|
8
|
+
import { a as referenceCaptureVars } from './variables-0db5ef1b.js';
|
|
9
|
+
import './direction-card-fd8d8d8b.js';
|
|
10
10
|
import './_commonjsHelpers-02146103.js';
|
|
11
11
|
|
|
12
12
|
var _templateObject$1;
|
|
@@ -260,7 +260,7 @@ var ReferenceCapture = /*#__PURE__*/function (_LitElement) {
|
|
|
260
260
|
key: "renderVideoRecord",
|
|
261
261
|
value: function renderVideoRecord() {
|
|
262
262
|
var _this$strings$title3, _this$strings$videoRe, _this$strings$videoRe2, _this$recorderOptions2, _this$strings$back3;
|
|
263
|
-
return x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n <span class=\"subtitle\">", "</span>\n\n <div class=\"recorder v-space\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n face-checker=\"disabled\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <
|
|
263
|
+
return x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n <span class=\"subtitle\">", "</span>\n\n <div class=\"recorder v-space\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n face-checker=\"disabled\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>\n <slot name=\"ac-top-hints\" slot=\"ac-top-hints\"></slot>\n <slot name=\"ac-face-hints\" slot=\"ac-face-hints\"></slot>\n <slot name=\"ac-bottom-hints\" slot=\"ac-bottom-hints\"></slot>\n </uni-video-recorder>\n </div>\n </div>\n "])), (_this$strings$title3 = this.strings.title) !== null && _this$strings$title3 !== void 0 ? _this$strings$title3 : referenceCaptureStrings.title, (_this$strings$videoRe = this.strings.videoRecordSubtitle) !== null && _this$strings$videoRe !== void 0 ? _this$strings$videoRe : referenceCaptureStrings.videoRecordSubtitle, JSON.stringify((_this$strings$videoRe2 = this.strings.videoRecorder) !== null && _this$strings$videoRe2 !== void 0 ? _this$strings$videoRe2 : referenceCaptureStrings.videoRecorder), buildPacked.exports.AcquisitionPreset.DOC_VIDEO, (_this$recorderOptions2 = this.recorderOptions) === null || _this$recorderOptions2 === void 0 ? void 0 : _this$recorderOptions2.logLevel, this.handleVideoRecord, this.handleVideoRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, this.hideCaptureBtn, this.disableDebugMode, this.displayDirectionsStep, (_this$strings$back3 = this.strings.back) !== null && _this$strings$back3 !== void 0 ? _this$strings$back3 : referenceCaptureStrings.back);
|
|
264
264
|
}
|
|
265
265
|
}, {
|
|
266
266
|
key: "renderVideoReplay",
|
package/dist/retry-result.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-c42ac26e.js';
|
|
2
2
|
import './button.js';
|
|
3
|
-
import { d as defaultVars, r as retryResultVars } from './variables-
|
|
4
|
-
import { E as EN } from './en-
|
|
3
|
+
import { d as defaultVars, r as retryResultVars } from './variables-0db5ef1b.js';
|
|
4
|
+
import { E as EN } from './en-57f1198e.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
|
7
7
|
var GenericHintIcon = /*#__PURE__*/function (_LitElement) {
|
package/dist/selfie-capture.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-
|
|
2
|
-
import { E as EN } from './en-
|
|
3
|
-
import { b as buildPacked } from './video-recorder-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { E as EN } from './en-57f1198e.js';
|
|
3
|
+
import { b as buildPacked } from './video-recorder-90ae4475.js';
|
|
4
4
|
import './video-record-directions.js';
|
|
5
5
|
import './button.js';
|
|
6
|
-
import { s as selfieCaptureVars } from './variables-
|
|
6
|
+
import { s as selfieCaptureVars } from './variables-0db5ef1b.js';
|
|
7
7
|
import './_commonjsHelpers-02146103.js';
|
|
8
|
-
import './direction-card-
|
|
8
|
+
import './direction-card-fd8d8d8b.js';
|
|
9
9
|
|
|
10
10
|
var _templateObject$1;
|
|
11
11
|
var BackArrowIcon = /*#__PURE__*/function (_LitElement) {
|
|
@@ -112,7 +112,7 @@ var SelfieCapture = /*#__PURE__*/function (_LitElement) {
|
|
|
112
112
|
key: "renderRecorder",
|
|
113
113
|
value: function renderRecorder() {
|
|
114
114
|
var _this$strings$title2, _this$strings$acquisi, _this$strings$acquisi2, _this$strings$acquisi3, _this$strings$acquisi4, _this$strings$acquisi5, _this$strings$acquisi6, _this$strings$recorde, _this$recorderOptions, _this$recorderOptions2, _this$recorderOptions3, _this$strings$back;
|
|
115
|
-
return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n ", "\n\n <div class=\"v-space\"></div>\n\n <div class=\"recorder\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n config=\"", "\"\n face-checker=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n
|
|
115
|
+
return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n ", "\n\n <div class=\"v-space\"></div>\n\n <div class=\"recorder\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n config=\"", "\"\n face-checker=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n ", "\n <slot name=\"ac-top-hints\" slot=\"ac-top-hints\"></slot>\n <slot name=\"ac-face-hints\" slot=\"ac-face-hints\"></slot>\n <slot name=\"ac-bottom-hints\" slot=\"ac-bottom-hints\"></slot>\n </uni-video-recorder>\n </div>\n </div>\n "])), (_this$strings$title2 = this.strings.title) !== null && _this$strings$title2 !== void 0 ? _this$strings$title2 : selfieCaptureStrings.title, this.acquisitionTime !== 0 ? x(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n <span class=\"text\">\n ", "\n ", "\n ", "\n </span>\n "])), (_this$strings$acquisi = (_this$strings$acquisi2 = this.strings.acquisitionDuration) === null || _this$strings$acquisi2 === void 0 ? void 0 : _this$strings$acquisi2.base) !== null && _this$strings$acquisi !== void 0 ? _this$strings$acquisi : selfieCaptureStrings.acquisitionDuration.base, Math.ceil(this.acquisitionTime), Math.ceil(this.acquisitionTime) === 1 ? (_this$strings$acquisi3 = (_this$strings$acquisi4 = this.strings.acquisitionDuration) === null || _this$strings$acquisi4 === void 0 ? void 0 : _this$strings$acquisi4.singular) !== null && _this$strings$acquisi3 !== void 0 ? _this$strings$acquisi3 : selfieCaptureStrings.acquisitionDuration.singular : (_this$strings$acquisi5 = (_this$strings$acquisi6 = this.strings.acquisitionDuration) === null || _this$strings$acquisi6 === void 0 ? void 0 : _this$strings$acquisi6.plural) !== null && _this$strings$acquisi5 !== void 0 ? _this$strings$acquisi5 : selfieCaptureStrings.acquisitionDuration.plural) : "", this.handleRecord, this.handleRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, this.handleActiveChallenge, JSON.stringify((_this$strings$recorde = this.strings.recorder) !== null && _this$strings$recorde !== void 0 ? _this$strings$recorde : selfieCaptureStrings.recorder), (_this$recorderOptions = this.recorderOptions.preset) !== null && _this$recorderOptions !== void 0 ? _this$recorderOptions : buildPacked.exports.AcquisitionPreset.SELFIE_MJPEG, this.recorderOptions.logLevel, JSON.stringify((_this$recorderOptions2 = this.recorderOptions.config) !== null && _this$recorderOptions2 !== void 0 ? _this$recorderOptions2 : {}), (_this$recorderOptions3 = this.recorderOptions.faceChecker) !== null && _this$recorderOptions3 !== void 0 ? _this$recorderOptions3 : "disabled-on-retry", this.hideCaptureBtn, this.disableDebugMode, this.hideCapturePrevBtn ? x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral([""]))) : x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["<div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>"])), this.handleBack, (_this$strings$back = this.strings.back) !== null && _this$strings$back !== void 0 ? _this$strings$back : selfieCaptureStrings.back));
|
|
116
116
|
}
|
|
117
117
|
}, {
|
|
118
118
|
key: "render",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i, d as _taggedTemplateLiteral } from './lit-element-
|
|
1
|
+
import { i, d as _taggedTemplateLiteral } from './lit-element-c42ac26e.js';
|
|
2
2
|
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75;
|
|
4
4
|
var recorderVars = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-
|
|
2
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
4
|
-
import { E as EN } from './en-
|
|
1
|
+
import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-c42ac26e.js';
|
|
2
|
+
import { d as directionsStyle } from './direction-card-fd8d8d8b.js';
|
|
3
|
+
import { d as defaultVars } from './variables-0db5ef1b.js';
|
|
4
|
+
import { E as EN } from './en-57f1198e.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$4;
|
|
7
7
|
var LightPicto = /*#__PURE__*/function (_LitElement) {
|