@unissey-web/web-components 4.0.0-beta.2 → 4.0.1-rc.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/full-capture.js +1 -1
- package/dist/index.d.ts +17 -6
- 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-fa3c5d86.js +1131 -0
- package/dist/video-recorder.js +1 -1
- package/package.json +2 -2
- package/dist/video-recorder-2f00e0eb.js +0 -1129
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-fa3c5d86.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
8
|
import './variables-55f57e89.js';
|
|
9
9
|
import './video-record-directions.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1092,10 +1092,27 @@ type VideoLength = {
|
|
|
1092
1092
|
type: "frame-count";
|
|
1093
1093
|
frameCount: number;
|
|
1094
1094
|
};
|
|
1095
|
+
type FaceRect = FaceCenter & FaceSize;
|
|
1096
|
+
interface FaceCenter {
|
|
1097
|
+
x: number;
|
|
1098
|
+
y: number;
|
|
1099
|
+
}
|
|
1100
|
+
interface FaceSize {
|
|
1101
|
+
w: number;
|
|
1102
|
+
h: number;
|
|
1103
|
+
}
|
|
1104
|
+
type FaceCheckerConfig = {
|
|
1105
|
+
check: "disabled";
|
|
1106
|
+
} | {
|
|
1107
|
+
check: "beforeRecording" | "whileRecording";
|
|
1108
|
+
customFaceArea?: FaceRect;
|
|
1109
|
+
noFaceIssueDelayMs?: number;
|
|
1110
|
+
};
|
|
1095
1111
|
interface RecordingConfig {
|
|
1096
1112
|
audio: boolean;
|
|
1097
1113
|
bitRateKbps: number;
|
|
1098
1114
|
length: VideoLength;
|
|
1115
|
+
faceCheckerConfig: FaceCheckerConfig;
|
|
1099
1116
|
}
|
|
1100
1117
|
type ColorRGBA = [number, number, number, number];
|
|
1101
1118
|
type OverlayColors = Record<"background" | "innerBorder" | "progressColor", ColorRGBA>;
|
|
@@ -1135,12 +1152,6 @@ declare enum FacingMode {
|
|
|
1135
1152
|
FRONT = "user",
|
|
1136
1153
|
BACK = "environment"
|
|
1137
1154
|
}
|
|
1138
|
-
interface CameraConfig {
|
|
1139
|
-
preferredFps: number;
|
|
1140
|
-
preferredResolution: VideoResolutionPreset;
|
|
1141
|
-
preferredOrientation: VideoOrientation;
|
|
1142
|
-
facingMode: FacingMode;
|
|
1143
|
-
}
|
|
1144
1155
|
interface CameraConfig {
|
|
1145
1156
|
preferredFps: number;
|
|
1146
1157
|
preferredResolution: 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-fa3c5d86.js';
|
|
3
|
+
export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-fa3c5d86.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-fa3c5d86.js';
|
|
4
4
|
import './_commonjsHelpers-cef27602.js';
|
|
5
5
|
import './variables-55f57e89.js';
|
|
6
6
|
import './button.js';
|
|
@@ -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-fa3c5d86.js';
|
|
7
7
|
import { E as EN } from './en-e76ed5a0.js';
|
|
8
8
|
import { c as referenceCaptureVars } from './variables-55f57e89.js';
|
|
9
9
|
import './direction-card-277681c3.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-fa3c5d86.js';
|
|
4
4
|
import './video-record-directions.js';
|
|
5
5
|
import './button.js';
|
|
6
6
|
import { s as selfieCaptureVars } from './variables-55f57e89.js';
|