@unissey-web/web-components 5.0.0-alpha.8 → 5.0.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 +1 -1
- package/dist/{direction-card-277681c3.js → direction-card-df682b7a.js} +1 -1
- package/dist/file-upload.js +1 -1
- package/dist/full-capture.js +3 -3
- package/dist/image-capture-directions.js +2 -2
- package/dist/index.d.ts +37 -6
- package/dist/index.js +4 -4
- package/dist/picture-recorder.js +2 -2
- package/dist/reference-capture.js +3 -3
- package/dist/retry-result.js +1 -1
- package/dist/selfie-capture.js +3 -3
- package/dist/{variables-55f57e89.js → variables-b4a2d316.js} +1 -1
- package/dist/video-record-directions.js +2 -2
- package/dist/video-recorder-1c6c128e.js +1197 -0
- package/dist/video-recorder.js +2 -2
- package/package.json +3 -2
- package/dist/video-recorder-14345052.js +0 -1133
package/dist/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-ac3d3a27.js';
|
|
2
|
-
import { b as buttonsVars, d as defaultVars } from './variables-
|
|
2
|
+
import { b as buttonsVars, d as defaultVars } from './variables-b4a2d316.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
5
5
|
var Button = /*#__PURE__*/function (_LitElement) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-ac3d3a27.js';
|
|
2
|
-
import { d as defaultVars, e as directionCardsVars } from './variables-
|
|
2
|
+
import { d as defaultVars, e as directionCardsVars } from './variables-b4a2d316.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"])));
|
package/dist/file-upload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2, g as _asyncToGenerator, h as _regeneratorRuntime } from './lit-element-ac3d3a27.js';
|
|
2
2
|
import { E as EN } from './en-e76ed5a0.js';
|
|
3
|
-
import { f as fileUploadVars } from './variables-
|
|
3
|
+
import { f as fileUploadVars } from './variables-b4a2d316.js';
|
|
4
4
|
import { a as commonjsGlobal } from './_commonjsHelpers-cef27602.js';
|
|
5
5
|
|
|
6
6
|
var heic2any$1 = {exports: {}};
|
package/dist/full-capture.js
CHANGED
|
@@ -3,11 +3,11 @@ 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-1c6c128e.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
|
-
import './variables-
|
|
8
|
+
import './variables-b4a2d316.js';
|
|
9
9
|
import './video-record-directions.js';
|
|
10
|
-
import './direction-card-
|
|
10
|
+
import './direction-card-df682b7a.js';
|
|
11
11
|
import './image-capture-directions.js';
|
|
12
12
|
import './file-upload.js';
|
|
13
13
|
import './picture-recorder.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-ac3d3a27.js';
|
|
2
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
2
|
+
import { d as directionsStyle } from './direction-card-df682b7a.js';
|
|
3
|
+
import { d as defaultVars } from './variables-b4a2d316.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,27 @@ declare class OverlayHints extends LitElement {
|
|
|
61
61
|
render(): lit_html.TemplateResult<1>;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
declare class Animation extends LitElement {
|
|
65
|
+
animationPath: string | undefined;
|
|
66
|
+
loop: boolean;
|
|
67
|
+
autoplay: boolean;
|
|
68
|
+
static properties: {
|
|
69
|
+
animationPath: {
|
|
70
|
+
attribute: string;
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
};
|
|
73
|
+
loop: {
|
|
74
|
+
attribute: string;
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
autoplay: {
|
|
78
|
+
attribute: string;
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
render(): lit_html.TemplateResult<1>;
|
|
83
|
+
}
|
|
84
|
+
|
|
64
85
|
declare class CameraVideoOutlinedIcon extends LitElement {
|
|
65
86
|
static styles: lit.CSSResult;
|
|
66
87
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -277,7 +298,6 @@ declare class Recorder extends LitElement {
|
|
|
277
298
|
};
|
|
278
299
|
mediaType: string;
|
|
279
300
|
faceChecker: FaceChecker;
|
|
280
|
-
instructionMessages: InstructionMessage[];
|
|
281
301
|
instructionMessage: string;
|
|
282
302
|
instructionTimer: number;
|
|
283
303
|
instructions: string[];
|
|
@@ -331,6 +351,8 @@ declare class Recorder extends LitElement {
|
|
|
331
351
|
isCameraFlipped: boolean;
|
|
332
352
|
faceDetectionFails: boolean;
|
|
333
353
|
disableDebugMode: boolean;
|
|
354
|
+
actionToDisplay: string | undefined;
|
|
355
|
+
actionState: "success" | "error" | undefined;
|
|
334
356
|
static properties: {
|
|
335
357
|
preset: {
|
|
336
358
|
attribute: string;
|
|
@@ -360,10 +382,6 @@ declare class Recorder extends LitElement {
|
|
|
360
382
|
attribute: string;
|
|
361
383
|
type: NumberConstructor;
|
|
362
384
|
};
|
|
363
|
-
instructionMessages: {
|
|
364
|
-
attribute: string;
|
|
365
|
-
type: ArrayConstructor;
|
|
366
|
-
};
|
|
367
385
|
disableDebugMode: {
|
|
368
386
|
attribute: string;
|
|
369
387
|
type: BooleanConstructor;
|
|
@@ -397,6 +415,12 @@ declare class Recorder extends LitElement {
|
|
|
397
415
|
instructionTimer: {
|
|
398
416
|
state: boolean;
|
|
399
417
|
};
|
|
418
|
+
actionToDisplay: {
|
|
419
|
+
state: boolean;
|
|
420
|
+
};
|
|
421
|
+
isActionSuccessful: {
|
|
422
|
+
state: boolean;
|
|
423
|
+
};
|
|
400
424
|
};
|
|
401
425
|
constructor();
|
|
402
426
|
retryCapture(): Promise<void>;
|
|
@@ -1092,6 +1116,13 @@ type IadConfig = {
|
|
|
1092
1116
|
};
|
|
1093
1117
|
type ActiveChallengeConfig = {
|
|
1094
1118
|
maxSecondsBetweenActions?: number;
|
|
1119
|
+
customActions?: CustomAction[];
|
|
1120
|
+
};
|
|
1121
|
+
type CustomAction = {
|
|
1122
|
+
durationSec: number;
|
|
1123
|
+
position: number;
|
|
1124
|
+
label: string;
|
|
1125
|
+
message: string;
|
|
1095
1126
|
};
|
|
1096
1127
|
type VideoLength = {
|
|
1097
1128
|
type: "duration";
|
|
@@ -1177,4 +1208,4 @@ interface SessionConfig {
|
|
|
1177
1208
|
};
|
|
1178
1209
|
}
|
|
1179
1210
|
|
|
1180
|
-
export { AcquisitionPreset, ActiveChallengeConfig, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, IadMode, ImageCaptureDirections, InstructionMessage, LogLevel, OverlayColors, OverlayConfig, OverlayDisplayMode, OverlayHints, PictureEditor, PictureRecorder, Recorder, RecorderExt, RecorderOptions$1 as RecorderOptions, RecordingConfig, ReferenceCapture, RetryResult, SelfieCapture, SessionConfig, VideoLength, VideoOrientation, VideoRecordDirections, VideoResolutionPreset };
|
|
1211
|
+
export { AcquisitionPreset, ActiveChallengeConfig, Animation, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, IadMode, ImageCaptureDirections, InstructionMessage, LogLevel, OverlayColors, OverlayConfig, OverlayDisplayMode, OverlayHints, PictureEditor, PictureRecorder, Recorder, RecorderExt, RecorderOptions$1 as RecorderOptions, RecordingConfig, ReferenceCapture, RetryResult, SelfieCapture, SessionConfig, VideoLength, VideoOrientation, VideoRecordDirections, VideoResolutionPreset };
|
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-1c6c128e.js';
|
|
3
|
+
export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-1c6c128e.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';
|
|
@@ -11,9 +11,9 @@ 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-
|
|
14
|
+
export { D as DirectionCard } from './direction-card-df682b7a.js';
|
|
15
15
|
export { E as EN } from './en-e76ed5a0.js';
|
|
16
|
-
import './variables-
|
|
16
|
+
import './variables-b4a2d316.js';
|
|
17
17
|
import './_commonjsHelpers-cef27602.js';
|
|
18
18
|
|
|
19
19
|
// @ts-ignore
|
package/dist/picture-recorder.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-1c6c128e.js';
|
|
4
4
|
import './_commonjsHelpers-cef27602.js';
|
|
5
|
-
import './variables-
|
|
5
|
+
import './variables-b4a2d316.js';
|
|
6
6
|
import './button.js';
|
|
7
7
|
|
|
8
8
|
var _templateObject$1;
|
|
@@ -3,10 +3,10 @@ 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-1c6c128e.js';
|
|
7
7
|
import { E as EN } from './en-e76ed5a0.js';
|
|
8
|
-
import { c as referenceCaptureVars } from './variables-
|
|
9
|
-
import './direction-card-
|
|
8
|
+
import { c as referenceCaptureVars } from './variables-b4a2d316.js';
|
|
9
|
+
import './direction-card-df682b7a.js';
|
|
10
10
|
import './_commonjsHelpers-cef27602.js';
|
|
11
11
|
|
|
12
12
|
var _templateObject$1;
|
package/dist/retry-result.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 './button.js';
|
|
3
|
-
import { d as defaultVars, a as retryResultVars } from './variables-
|
|
3
|
+
import { d as defaultVars, a as retryResultVars } from './variables-b4a2d316.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
package/dist/selfie-capture.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-1c6c128e.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-b4a2d316.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
|
-
import './direction-card-
|
|
8
|
+
import './direction-card-df682b7a.js';
|
|
9
9
|
|
|
10
10
|
var _templateObject$1;
|
|
11
11
|
var BackArrowIcon = /*#__PURE__*/function (_LitElement) {
|
|
@@ -14,7 +14,7 @@ var recorderVars = {
|
|
|
14
14
|
instructionsTimerFontWeight: i(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-font-weight, bold)"]))),
|
|
15
15
|
instructionsTimerPositionTop: i(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-top, 90%)"]))),
|
|
16
16
|
instructionsTimerPositionLeft: i(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-left, 3%)"]))),
|
|
17
|
-
instructionsPositionTop: i(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-position-top,
|
|
17
|
+
instructionsPositionTop: i(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-position-top, -10%)"]))),
|
|
18
18
|
instructionsPadding: i(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-padding, 0px)"]))),
|
|
19
19
|
videoFilter: i(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["var(--uni-recorder-video-filter, none)"])))
|
|
20
20
|
};
|
|
@@ -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
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
2
|
+
import { d as directionsStyle } from './direction-card-df682b7a.js';
|
|
3
|
+
import { d as defaultVars } from './variables-b4a2d316.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$4;
|