@unissey-web/web-components 4.4.1-pa.1 → 5.0.0-alpha.10
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 +46 -13
- package/dist/index.js +10 -9
- 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-9527aaeb.js +1197 -0
- package/dist/video-recorder.js +2 -2
- package/package.json +3 -2
- package/dist/video-recorder-48d860a3.js +0 -1147
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-9527aaeb.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[];
|
|
@@ -328,10 +348,11 @@ declare class Recorder extends LitElement {
|
|
|
328
348
|
error: string;
|
|
329
349
|
sdkJsStatus: StatusEvent;
|
|
330
350
|
willRetryCapture: boolean;
|
|
331
|
-
retryCount: number;
|
|
332
351
|
isCameraFlipped: boolean;
|
|
333
352
|
faceDetectionFails: boolean;
|
|
334
353
|
disableDebugMode: boolean;
|
|
354
|
+
actionToDisplay: string | undefined;
|
|
355
|
+
actionState: "success" | "error" | undefined;
|
|
335
356
|
static properties: {
|
|
336
357
|
preset: {
|
|
337
358
|
attribute: string;
|
|
@@ -361,10 +382,6 @@ declare class Recorder extends LitElement {
|
|
|
361
382
|
attribute: string;
|
|
362
383
|
type: NumberConstructor;
|
|
363
384
|
};
|
|
364
|
-
instructionMessages: {
|
|
365
|
-
attribute: string;
|
|
366
|
-
type: ArrayConstructor;
|
|
367
|
-
};
|
|
368
385
|
disableDebugMode: {
|
|
369
386
|
attribute: string;
|
|
370
387
|
type: BooleanConstructor;
|
|
@@ -398,6 +415,12 @@ declare class Recorder extends LitElement {
|
|
|
398
415
|
instructionTimer: {
|
|
399
416
|
state: boolean;
|
|
400
417
|
};
|
|
418
|
+
actionToDisplay: {
|
|
419
|
+
state: boolean;
|
|
420
|
+
};
|
|
421
|
+
isActionSuccessful: {
|
|
422
|
+
state: boolean;
|
|
423
|
+
};
|
|
401
424
|
};
|
|
402
425
|
constructor();
|
|
403
426
|
retryCapture(): Promise<void>;
|
|
@@ -1079,21 +1102,31 @@ declare enum AcquisitionPreset {
|
|
|
1079
1102
|
}
|
|
1080
1103
|
declare enum IadMode {
|
|
1081
1104
|
DISABLED = "disabled",
|
|
1105
|
+
INTEGRITY = "integrity",
|
|
1106
|
+
BASELINE = "baseline",
|
|
1082
1107
|
PASSIVE = "passive",
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
MEDIA_INTEGRITY = "media-integrity"
|
|
1108
|
+
SUBSTANTIAL = "substantial",
|
|
1109
|
+
MEDIA_INTEGRITY = "integrity",
|
|
1110
|
+
PASSIVE_LT = "baseline"
|
|
1087
1111
|
}
|
|
1088
1112
|
type IadConfig = {
|
|
1089
1113
|
mode: IadMode;
|
|
1090
1114
|
data?: string;
|
|
1091
|
-
retryCount?: number;
|
|
1092
1115
|
activeChallengeConfig?: ActiveChallengeConfig;
|
|
1093
1116
|
};
|
|
1094
1117
|
type ActiveChallengeConfig = {
|
|
1095
|
-
numberOfActions?: number;
|
|
1096
1118
|
maxSecondsBetweenActions?: number;
|
|
1119
|
+
numberOfInstructions?: number;
|
|
1120
|
+
disableAutomaticDetection?: boolean;
|
|
1121
|
+
additionalRecord?: boolean;
|
|
1122
|
+
selfieBeforeAction?: number;
|
|
1123
|
+
customActions?: CustomAction[];
|
|
1124
|
+
};
|
|
1125
|
+
type CustomAction = {
|
|
1126
|
+
durationSec: number;
|
|
1127
|
+
position: number;
|
|
1128
|
+
label: string;
|
|
1129
|
+
message: string;
|
|
1097
1130
|
};
|
|
1098
1131
|
type VideoLength = {
|
|
1099
1132
|
type: "duration";
|
|
@@ -1179,4 +1212,4 @@ interface SessionConfig {
|
|
|
1179
1212
|
};
|
|
1180
1213
|
}
|
|
1181
1214
|
|
|
1182
|
-
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 };
|
|
1215
|
+
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-9527aaeb.js';
|
|
3
|
+
export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-9527aaeb.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
|
|
@@ -152,13 +152,14 @@ var AcquisitionPreset = /*#__PURE__*/function (AcquisitionPreset) {
|
|
|
152
152
|
}({});
|
|
153
153
|
var IadMode = /*#__PURE__*/function (IadMode) {
|
|
154
154
|
IadMode["DISABLED"] = "disabled";
|
|
155
|
+
IadMode["INTEGRITY"] = "integrity";
|
|
156
|
+
IadMode["BASELINE"] = "baseline";
|
|
155
157
|
IadMode["PASSIVE"] = "passive";
|
|
156
|
-
IadMode["
|
|
157
|
-
IadMode["
|
|
158
|
-
IadMode["
|
|
159
|
-
IadMode["MEDIA_INTEGRITY"] = "media-integrity";
|
|
158
|
+
IadMode["SUBSTANTIAL"] = "substantial";
|
|
159
|
+
IadMode["MEDIA_INTEGRITY"] = "integrity";
|
|
160
|
+
IadMode["PASSIVE_LT"] = "baseline";
|
|
160
161
|
return IadMode;
|
|
161
|
-
}({});
|
|
162
|
+
}({});
|
|
162
163
|
|
|
163
164
|
// This is actually a public subset of the actual type defined in sdk.js
|
|
164
165
|
|
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-9527aaeb.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-9527aaeb.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-9527aaeb.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;
|