@unissey-web/web-components 5.5.0-rc.2 → 6.0.0-alpha.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.
@@ -1,7 +1,9 @@
1
1
  import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, h as _superPropGet, x, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2, f as _asyncToGenerator, g as _regenerator } from './lit-element-c42ac26e.js';
2
2
  import { E as EN } from './en-27ff3a75.js';
3
3
  import { f as fileUploadVars } from './variables-513bd26a.js';
4
- import { c as commonjsGlobal, K as KEY_ENTER, a as KEY_SPACE } from './utils-474188c7.js';
4
+ import { K as KEY_ENTER, a as KEY_SPACE } from './utils-1f156bdf.js';
5
+
6
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
5
7
 
6
8
  var heic2any$1 = {exports: {}};
7
9
 
@@ -3,9 +3,9 @@ import { selfieCaptureStrings } from './selfie-capture.js';
3
3
  import { referenceCaptureStrings } from './reference-capture.js';
4
4
  import './button.js';
5
5
  import './en-27ff3a75.js';
6
- import './video-recorder-238ad267.js';
7
- import './utils-474188c7.js';
6
+ import './video-recorder-c4fd102c.js';
8
7
  import './variables-513bd26a.js';
8
+ import './utils-1f156bdf.js';
9
9
  import './video-record-directions.js';
10
10
  import './direction-card-88c5d34f.js';
11
11
  import './image-capture-directions.js';
package/dist/index.d.ts CHANGED
@@ -1246,17 +1246,7 @@ declare enum AcquisitionPreset {
1246
1246
  DOC_VIDEO = "doc-video",
1247
1247
  DOC_IMAGE = "doc-image"
1248
1248
  }
1249
- declare enum IadMode {
1250
- DISABLED = "disabled",
1251
- INTEGRITY = "integrity",
1252
- BASIC = "basic",
1253
- PASSIVE = "passive",
1254
- SUBSTANTIAL = "substantial",
1255
- MEDIA_INTEGRITY = "integrity",
1256
- PASSIVE_LT = "basic"
1257
- }
1258
1249
  type IadConfig = {
1259
- mode: IadMode;
1260
1250
  data?: string;
1261
1251
  activeChallengeConfig?: ActiveChallengeConfig;
1262
1252
  };
@@ -1358,4 +1348,4 @@ interface SessionConfig {
1358
1348
  };
1359
1349
  }
1360
1350
 
1361
- export { AcquisitionPreset, ActiveChallengeConfig, Animation, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, CustomAction, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, IadMode, ImageCaptureDirections, LogLevel, OverlayColors, OverlayConfig, OverlayDisplayMode, OverlayHints, PictureEditor, PictureRecorder, Recorder, RecorderExt, RecorderOptions$1 as RecorderOptions, RecordingConfig, ReferenceCapture, RetryResult, SelfieCapture, SessionConfig, VideoLength, VideoOrientation, VideoRecordDirections, VideoResolutionPreset };
1351
+ export { AcquisitionPreset, ActiveChallengeConfig, Animation, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, CustomAction, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, ImageCaptureDirections, 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-238ad267.js';
3
- export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-238ad267.js';
2
+ import { R as Recorder } from './video-recorder-c4fd102c.js';
3
+ export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-c4fd102c.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';
@@ -14,7 +14,7 @@ export { FullCapture } from './full-capture.js';
14
14
  export { D as DirectionCard } from './direction-card-88c5d34f.js';
15
15
  export { E as EN } from './en-27ff3a75.js';
16
16
  import './variables-513bd26a.js';
17
- import './utils-474188c7.js';
17
+ import './utils-1f156bdf.js';
18
18
 
19
19
  // @ts-ignore
20
20
 
@@ -161,23 +161,6 @@ var AcquisitionPreset = /*#__PURE__*/function (AcquisitionPreset) {
161
161
  AcquisitionPreset["DOC_IMAGE"] = "doc-image";
162
162
  return AcquisitionPreset;
163
163
  }({});
164
- var IadMode = /*#__PURE__*/function (IadMode) {
165
- IadMode["DISABLED"] = "disabled";
166
- // No IAD (equivalent to keep 'iadConfig' undefined)
167
- IadMode["INTEGRITY"] = "integrity";
168
- // No IAD measures as such, but compute a hash to ensure that the media is not corrupted after capture
169
- IadMode["BASIC"] = "basic";
170
- // IadMode.MEDIA_INTEGRITY + Basic IAD check (Virtual Camera and Emulators detection). No Randomness.
171
- IadMode["PASSIVE"] = "passive";
172
- // IadMode.BASIC + passive randomness when applicable = All passive countermeasures: Substantial passive (with randomness) countermeasures when applicable, otherwise Baseline (passive) countermeasures
173
- IadMode["SUBSTANTIAL"] = "substantial";
174
- // IadMode.PASSIVE + Active Challenge when passive randomness is not applicable
175
- /** @deprecated Use 'INTEGRITY' instead */
176
- IadMode["MEDIA_INTEGRITY"] = "integrity";
177
- /** @deprecated Use 'BASIC' instead - but it requires preparation 'data'*/
178
- IadMode["PASSIVE_LT"] = "basic";
179
- return IadMode;
180
- }({});
181
164
 
182
165
  // This is actually a public subset of the actual type defined in sdk.js
183
166
 
@@ -219,4 +202,4 @@ var FacingMode = /*#__PURE__*/function (FacingMode) {
219
202
  return FacingMode;
220
203
  }({});
221
204
 
222
- export { AcquisitionPreset, FR, FacingMode, IadMode, LogLevel, OverlayDisplayMode, Recorder, RecorderExt, VideoOrientation, VideoResolutionPreset };
205
+ export { AcquisitionPreset, FR, FacingMode, LogLevel, OverlayDisplayMode, Recorder, RecorderExt, VideoOrientation, VideoResolutionPreset };
@@ -1,9 +1,9 @@
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-c42ac26e.js';
2
- import { R as Recorder, b as buildPacked } from './video-recorder-238ad267.js';
2
+ import { R as Recorder, b as buildPacked } from './video-recorder-c4fd102c.js';
3
3
  import { E as EN } from './en-27ff3a75.js';
4
- import './utils-474188c7.js';
5
4
  import './variables-513bd26a.js';
6
5
  import './button.js';
6
+ import './utils-1f156bdf.js';
7
7
 
8
8
  var _templateObject$1;
9
9
  var PhotoCameraIcon = /*#__PURE__*/function (_LitElement) {
@@ -3,11 +3,11 @@ 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-238ad267.js';
6
+ import { b as buildPacked } from './video-recorder-c4fd102c.js';
7
7
  import { E as EN } from './en-27ff3a75.js';
8
8
  import { a as referenceCaptureVars } from './variables-513bd26a.js';
9
9
  import './direction-card-88c5d34f.js';
10
- import './utils-474188c7.js';
10
+ import './utils-1f156bdf.js';
11
11
 
12
12
  var _templateObject$1;
13
13
  var UploadIcon = /*#__PURE__*/function (_LitElement) {
@@ -1,10 +1,10 @@
1
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 { E as EN } from './en-27ff3a75.js';
3
- import { b as buildPacked } from './video-recorder-238ad267.js';
3
+ import { b as buildPacked } from './video-recorder-c4fd102c.js';
4
4
  import './video-record-directions.js';
5
5
  import './button.js';
6
6
  import { s as selfieCaptureVars } from './variables-513bd26a.js';
7
- import './utils-474188c7.js';
7
+ import './utils-1f156bdf.js';
8
8
  import './direction-card-88c5d34f.js';
9
9
 
10
10
  var _templateObject$1;
@@ -1,9 +1,3 @@
1
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
- function commonjsRequire (path) {
4
- throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
- }
6
-
7
1
  var KEY_ENTER = "Enter";
8
2
  var KEY_SPACE = "Space";
9
3
 
@@ -18,4 +12,4 @@ function isMobileDevice() {
18
12
  return check;
19
13
  }
20
14
 
21
- export { KEY_ENTER as K, KEY_SPACE as a, commonjsRequire as b, commonjsGlobal as c, isMobileDevice as i };
15
+ export { KEY_ENTER as K, KEY_SPACE as a, isMobileDevice as i };