@unissey-web/web-components 4.4.0 → 4.4.1-pa.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.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-a1efe8dc.js → video-recorder-48d860a3.js} +15 -13
- package/dist/video-recorder.js +1 -1
- package/package.json +1 -1
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-48d860a3.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
8
|
import './variables-55f57e89.js';
|
|
9
9
|
import './video-record-directions.js';
|
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-48d860a3.js';
|
|
3
|
+
export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-48d860a3.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-48d860a3.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-48d860a3.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-48d860a3.js';
|
|
4
4
|
import './video-record-directions.js';
|
|
5
5
|
import './button.js';
|
|
6
6
|
import { s as selfieCaptureVars } from './variables-55f57e89.js';
|
|
@@ -5,7 +5,7 @@ import { E as EN } from './en-e76ed5a0.js';
|
|
|
5
5
|
import './button.js';
|
|
6
6
|
|
|
7
7
|
var name = "@unissey-web/web-components";
|
|
8
|
-
var version = "4.4.
|
|
8
|
+
var version = "4.4.1-pa.1";
|
|
9
9
|
var description = "";
|
|
10
10
|
var module = "./dist/index.js";
|
|
11
11
|
var typings = "./dist/index.d.ts";
|
|
@@ -849,7 +849,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
849
849
|
var _this$shadowRoot6,
|
|
850
850
|
_this$shadowRoot7,
|
|
851
851
|
_this3 = this;
|
|
852
|
-
var cvs, video, _this$session3, sessionConfig, _this$session4, acquisitionTime, recorderReadyEvent;
|
|
852
|
+
var cvs, video, _this$session3, sessionConfig, sessionPromise, _this$session4, acquisitionTime, recorderReadyEvent;
|
|
853
853
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
854
854
|
while (1) switch (_context6.prev = _context6.next) {
|
|
855
855
|
case 0:
|
|
@@ -863,7 +863,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
863
863
|
return _context6.abrupt("return");
|
|
864
864
|
case 5:
|
|
865
865
|
if (!(video && cvs)) {
|
|
866
|
-
_context6.next =
|
|
866
|
+
_context6.next = 28;
|
|
867
867
|
break;
|
|
868
868
|
}
|
|
869
869
|
this.displaySpinner();
|
|
@@ -880,31 +880,33 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
880
880
|
this.session = null; // Note: Should be already set to null by sdkJsListener_status()
|
|
881
881
|
case 12:
|
|
882
882
|
sessionConfig = this.buildSessionConfig();
|
|
883
|
-
|
|
884
|
-
|
|
883
|
+
sessionPromise = buildPacked.exports.UnisseySdk.createSession(video, this.preset, cvs, sessionConfig); //@ts-ignore
|
|
884
|
+
buildPacked.exports.UnisseySdk.unisseySession.wasm.extraMeasures = true;
|
|
885
|
+
_context6.next = 17;
|
|
886
|
+
return sessionPromise["catch"](function (e) {
|
|
885
887
|
_this3.resetHints();
|
|
886
888
|
return null;
|
|
887
889
|
})["finally"](function () {
|
|
888
890
|
_this3.hideSpinner();
|
|
889
891
|
});
|
|
890
|
-
case
|
|
892
|
+
case 17:
|
|
891
893
|
this.session = _context6.sent;
|
|
892
894
|
this.initSessionInprogress = false;
|
|
893
895
|
if (!this.disconnected) {
|
|
894
|
-
_context6.next =
|
|
896
|
+
_context6.next = 23;
|
|
895
897
|
break;
|
|
896
898
|
}
|
|
897
|
-
_context6.next =
|
|
899
|
+
_context6.next = 22;
|
|
898
900
|
return (_this$session4 = this.session) === null || _this$session4 === void 0 ? void 0 : _this$session4.release();
|
|
899
|
-
case
|
|
901
|
+
case 22:
|
|
900
902
|
this.session = null; // Note: Should be already set to null by sdkJsListener_status()
|
|
901
|
-
case
|
|
903
|
+
case 23:
|
|
902
904
|
if (this.session) {
|
|
903
|
-
_context6.next =
|
|
905
|
+
_context6.next = 25;
|
|
904
906
|
break;
|
|
905
907
|
}
|
|
906
908
|
return _context6.abrupt("return");
|
|
907
|
-
case
|
|
909
|
+
case 25:
|
|
908
910
|
acquisitionTime = this.session.getInfo().acquisition_length;
|
|
909
911
|
recorderReadyEvent = new CustomEvent("recorderReady", {
|
|
910
912
|
detail: {
|
|
@@ -914,7 +916,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
914
916
|
}
|
|
915
917
|
});
|
|
916
918
|
this.dispatchEvent(recorderReadyEvent);
|
|
917
|
-
case
|
|
919
|
+
case 28:
|
|
918
920
|
case "end":
|
|
919
921
|
return _context6.stop();
|
|
920
922
|
}
|
package/dist/video-recorder.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './lit-element-ac3d3a27.js';
|
|
2
|
-
export { R as Recorder, V as VideoRecorder } from './video-recorder-
|
|
2
|
+
export { R as Recorder, V as VideoRecorder } from './video-recorder-48d860a3.js';
|
|
3
3
|
import './button.js';
|
|
4
4
|
import './en-e76ed5a0.js';
|
|
5
5
|
import './_commonjsHelpers-cef27602.js';
|