@unissey-web/web-components 4.0.0-alpha.1 → 4.0.0-beta.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.
@@ -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-309bc544.js';
6
+ import './video-recorder-2f00e0eb.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
@@ -1126,8 +1126,6 @@ declare enum VideoResolutionPreset {
1126
1126
  STD_480P = "720x480",
1127
1127
  STD_720P = "1280x720",
1128
1128
  STD_1080P = "1920x1080",
1129
- STD_2160P = "3840x2160",
1130
- STD_4320P = "7680x4320",
1131
1129
  STD_VGA = "640x480",
1132
1130
  STD_SVGA = "800x600",
1133
1131
  STD_XVGA = "1024x768",
@@ -1143,6 +1141,13 @@ interface CameraConfig {
1143
1141
  preferredOrientation: VideoOrientation;
1144
1142
  facingMode: FacingMode;
1145
1143
  }
1144
+ interface CameraConfig {
1145
+ preferredFps: number;
1146
+ preferredResolution: VideoResolutionPreset;
1147
+ preferredOrientation: VideoOrientation;
1148
+ facingMode: FacingMode;
1149
+ cameraSelection: FacingMode | string;
1150
+ }
1146
1151
  interface SessionConfig {
1147
1152
  overlayConfig?: Partial<OverlayConfig>;
1148
1153
  cameraConfig?: Partial<CameraConfig>;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Button } from './button.js';
2
- import { R as Recorder } from './video-recorder-309bc544.js';
3
- export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-309bc544.js';
2
+ import { R as Recorder } from './video-recorder-2f00e0eb.js';
3
+ export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-2f00e0eb.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';
@@ -188,8 +188,6 @@ var VideoResolutionPreset = /*#__PURE__*/function (VideoResolutionPreset) {
188
188
  VideoResolutionPreset["STD_480P"] = "720x480";
189
189
  VideoResolutionPreset["STD_720P"] = "1280x720";
190
190
  VideoResolutionPreset["STD_1080P"] = "1920x1080";
191
- VideoResolutionPreset["STD_2160P"] = "3840x2160";
192
- VideoResolutionPreset["STD_4320P"] = "7680x4320";
193
191
  VideoResolutionPreset["STD_VGA"] = "640x480";
194
192
  VideoResolutionPreset["STD_SVGA"] = "800x600";
195
193
  VideoResolutionPreset["STD_XVGA"] = "1024x768";
@@ -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-309bc544.js';
3
+ import { R as Recorder, b as buildPacked } from './video-recorder-2f00e0eb.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-309bc544.js';
6
+ import { b as buildPacked } from './video-recorder-2f00e0eb.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';
@@ -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-309bc544.js';
3
+ import { b as buildPacked } from './video-recorder-2f00e0eb.js';
4
4
  import './video-record-directions.js';
5
5
  import './button.js';
6
6
  import { s as selfieCaptureVars } from './variables-55f57e89.js';