@unissey-web/web-components 5.0.0-beta.4 → 5.0.0-beta.6

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,13 +1,13 @@
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';
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-83035a6f.js';
2
2
  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-71ddb113.js';
7
- import { E as EN } from './en-e76ed5a0.js';
8
- import { c as referenceCaptureVars } from './variables-b4a2d316.js';
9
- import './direction-card-df682b7a.js';
10
- import './_commonjsHelpers-cef27602.js';
6
+ import { b as buildPacked } from './video-recorder-46c15f8e.js';
7
+ import { E as EN } from './en-066d960b.js';
8
+ import { a as referenceCaptureVars } from './variables-c07a8719.js';
9
+ import './direction-card-5904f865.js';
10
+ import './_commonjsHelpers-02146103.js';
11
11
 
12
12
  var _templateObject$1;
13
13
  var UploadIcon = /*#__PURE__*/function (_LitElement) {
@@ -198,7 +198,8 @@ var ReferenceCapture = /*#__PURE__*/function (_LitElement) {
198
198
  recorderElmt: pictureRecorderElmt,
199
199
  mediaType: e.detail.mediaType,
200
200
  contentKind: "reference",
201
- acquisitionTime: e.detail.acquisitionTime
201
+ acquisitionTime: e.detail.acquisitionTime,
202
+ activeChallengeNumActions: e.detail.activeChallengeNumActions
202
203
  }
203
204
  }));
204
205
  }
@@ -224,6 +225,13 @@ var ReferenceCapture = /*#__PURE__*/function (_LitElement) {
224
225
  value: function handleRecordInterrupted(e) {
225
226
  this.dispatchEvent(new CustomEvent("recordInterrupted"));
226
227
  }
228
+ }, {
229
+ key: "handleActiveChallenge",
230
+ value: function handleActiveChallenge(e) {
231
+ this.dispatchEvent(new CustomEvent("activeChallenge", {
232
+ detail: e.detail
233
+ }));
234
+ }
227
235
  }, {
228
236
  key: "renderDirections",
229
237
  value: function renderDirections() {
@@ -246,7 +254,7 @@ var ReferenceCapture = /*#__PURE__*/function (_LitElement) {
246
254
  key: "renderPictureRecord",
247
255
  value: function renderPictureRecord() {
248
256
  var _this$strings$title2, _this$strings$picture2, _this$strings$picture3, _this$recorderOptions, _this$strings$back2;
249
- return x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n <span class=\"subtitle\">\n ", "\n </span>\n\n <div class=\"recorder v-space\">\n <uni-picture-recorder\n id=\"uni-picture-recorder\"\n @picture=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n strings=\"", "\"\n log-level=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>\n </uni-picture-recorder>\n </div>\n </div>\n "])), (_this$strings$title2 = this.strings.title) !== null && _this$strings$title2 !== void 0 ? _this$strings$title2 : referenceCaptureStrings.title, (_this$strings$picture2 = this.strings.pictureRecordSubtitle) !== null && _this$strings$picture2 !== void 0 ? _this$strings$picture2 : referenceCaptureStrings.pictureRecordSubtitle, this.handlePictureCapture, this.handlePictureRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, JSON.stringify((_this$strings$picture3 = this.strings.pictureRecorder) !== null && _this$strings$picture3 !== void 0 ? _this$strings$picture3 : referenceCaptureStrings.pictureRecorder), (_this$recorderOptions = this.recorderOptions) === null || _this$recorderOptions === void 0 ? void 0 : _this$recorderOptions.logLevel, this.hideCaptureBtn, this.disableDebugMode, this.displayDirectionsStep, (_this$strings$back2 = this.strings.back) !== null && _this$strings$back2 !== void 0 ? _this$strings$back2 : referenceCaptureStrings.back);
257
+ return x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n <span class=\"subtitle\">\n ", "\n </span>\n\n <div class=\"recorder v-space\">\n <uni-picture-recorder\n id=\"uni-picture-recorder\"\n @picture=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n log-level=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n <div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>\n </uni-picture-recorder>\n </div>\n </div>\n "])), (_this$strings$title2 = this.strings.title) !== null && _this$strings$title2 !== void 0 ? _this$strings$title2 : referenceCaptureStrings.title, (_this$strings$picture2 = this.strings.pictureRecordSubtitle) !== null && _this$strings$picture2 !== void 0 ? _this$strings$picture2 : referenceCaptureStrings.pictureRecordSubtitle, this.handlePictureCapture, this.handlePictureRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, this.handleActiveChallenge, JSON.stringify((_this$strings$picture3 = this.strings.pictureRecorder) !== null && _this$strings$picture3 !== void 0 ? _this$strings$picture3 : referenceCaptureStrings.pictureRecorder), (_this$recorderOptions = this.recorderOptions) === null || _this$recorderOptions === void 0 ? void 0 : _this$recorderOptions.logLevel, this.hideCaptureBtn, this.disableDebugMode, this.displayDirectionsStep, (_this$strings$back2 = this.strings.back) !== null && _this$strings$back2 !== void 0 ? _this$strings$back2 : referenceCaptureStrings.back);
250
258
  }
251
259
  }, {
252
260
  key: "renderVideoRecord",
@@ -1,7 +1,7 @@
1
- import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-ac3d3a27.js';
1
+ import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-83035a6f.js';
2
2
  import './button.js';
3
- import { d as defaultVars, a as retryResultVars } from './variables-b4a2d316.js';
4
- import { E as EN } from './en-e76ed5a0.js';
3
+ import { d as defaultVars, r as retryResultVars } from './variables-c07a8719.js';
4
+ import { E as EN } from './en-066d960b.js';
5
5
 
6
6
  var _templateObject$3;
7
7
  var GenericHintIcon = /*#__PURE__*/function (_LitElement) {
@@ -87,7 +87,7 @@ CovidMaskIcon.properties = {
87
87
  };
88
88
  customElements.define("uni-covid-mask-icon", CovidMaskIcon);
89
89
 
90
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
90
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1;
91
91
  var defaultStrings = EN.retryResult;
92
92
  var RetryResult = /*#__PURE__*/function (_LitElement) {
93
93
  function RetryResult() {
@@ -130,7 +130,7 @@ var RetryResult = /*#__PURE__*/function (_LitElement) {
130
130
  mask: x(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["<div>", " ", " ", "</div>"])), title, vSpace, maskHint),
131
131
  "mask-brightness": x(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["<div>", " ", " ", "</div>"])), title, vSpace, maskAndBrightnessHint)
132
132
  };
133
- return x(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n <div class=\"container\">\n <div>", "</div>\n <div style=\"height: 80px\"></div>\n <div class=\"actions-btn\">\n <div>\n <span class=\"retries-txt\"\n >", " ", "\n ", "</span\n >\n </div>\n <br />\n <div>\n <div class=\"btn-item\">\n <uni-button variant=\"outlined\" @click=\"", "\" width=\"250px\"\n >", "</uni-button\n >\n </div>\n <div class=\"btn-item\">\n <uni-button @click=\"", "\" width=\"250px\">", "</uni-button>\n </div>\n </div>\n </div>\n </div>\n "])), hintToDisplay[this.hintKind], this.strings.retriesLeft._1, this.retriesLeft, this.retriesLeft > 1 ? this.strings.retriesLeft._2 : this.strings.retriesLeft._3, this.handleFinish, this.strings.finishBtn, this.handleRetry, this.strings.retryBtn);
133
+ return x(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n <div class=\"container\">\n <div>", "</div>\n <div style=\"height: 80px\"></div>\n <div class=\"actions-btn\">\n <div>\n <span class=\"retries-txt\"\n >", " ", "\n ", "</span\n >\n </div>\n <br />\n <div>\n <div class=\"btn-item\">\n <uni-button variant=\"outlined\" @click=\"", "\" width=\"250px\"\n >", "</uni-button\n >\n </div>\n <div class=\"btn-item\">\n <uni-button @click=\"", "\" width=\"250px\">", "</uni-button>\n </div>\n </div>\n </div>\n </div>\n "])), hintToDisplay[this.hintKind], this.strings.retriesLeft._1, this.retriesLeft, this.retriesLeft > 1 ? this.strings.retriesLeft._2 : this.strings.retriesLeft._3, this.handleFinish, this.strings.finishBtn, this.handleRetry, this.strings.retryBtn);
134
134
  }
135
135
  }]);
136
136
  }(s);
@@ -148,7 +148,7 @@ RetryResult.properties = {
148
148
  type: Object
149
149
  }
150
150
  };
151
- RetryResult.styles = i(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n .generic-hint {\n display: flex;\n align-items: center;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .retries-txt {\n color: grey;\n }\n\n .actions-btn {\n text-align: center;\n }\n\n .txt {\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n .title {\n display: flex;\n align-items: center;\n color: ", ";\n }\n\n .mask-hint,\n .brightness-hint {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: ", ";\n text-align: center;\n }\n\n .mask-brightness-hint {\n display: flex;\n align-items: center;\n justify-content: space-around;\n }\n\n .icon-text {\n width: ", ";\n }\n\n @media screen and (max-width: 896px) {\n .txt {\n font-size: ", ";\n line-height: ", ";\n }\n }\n\n .btn-item {\n display: inline-block;\n margin: 7px;\n }\n "])), retryResultVars.fontSizeMd, retryResultVars.lineHeightMd, defaultVars.colors.primary, defaultVars.colors.primary, defaultVars.colors.secondary, retryResultVars.iconWidth, retryResultVars.fontSizeSm, retryResultVars.lineHeightSm);
151
+ RetryResult.styles = i(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n .generic-hint {\n display: flex;\n align-items: center;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .retries-txt {\n color: grey;\n }\n\n .actions-btn {\n text-align: center;\n }\n\n .txt {\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n .title {\n display: flex;\n align-items: center;\n color: ", ";\n }\n\n .mask-hint,\n .brightness-hint {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: ", ";\n text-align: center;\n }\n\n .mask-brightness-hint {\n display: flex;\n align-items: center;\n justify-content: space-around;\n }\n\n .icon-text {\n width: ", ";\n }\n\n @media screen and (max-width: 896px) {\n .txt {\n font-size: ", ";\n line-height: ", ";\n }\n }\n\n .btn-item {\n display: inline-block;\n margin: 7px;\n }\n "])), retryResultVars.fontSizeMd, retryResultVars.lineHeightMd, defaultVars.colors.primary, defaultVars.colors.primary, defaultVars.colors.secondary, retryResultVars.iconWidth, retryResultVars.fontSizeSm, retryResultVars.lineHeightSm);
152
152
  customElements.define("uni-retry-result", RetryResult);
153
153
 
154
154
  export { RetryResult };
@@ -1,11 +1,11 @@
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
- import { E as EN } from './en-e76ed5a0.js';
3
- import { b as buildPacked } from './video-recorder-71ddb113.js';
1
+ import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-83035a6f.js';
2
+ import { E as EN } from './en-066d960b.js';
3
+ import { b as buildPacked } from './video-recorder-46c15f8e.js';
4
4
  import './video-record-directions.js';
5
5
  import './button.js';
6
- import { s as selfieCaptureVars } from './variables-b4a2d316.js';
7
- import './_commonjsHelpers-cef27602.js';
8
- import './direction-card-df682b7a.js';
6
+ import { s as selfieCaptureVars } from './variables-c07a8719.js';
7
+ import './_commonjsHelpers-02146103.js';
8
+ import './direction-card-5904f865.js';
9
9
 
10
10
  var _templateObject$1;
11
11
  var BackArrowIcon = /*#__PURE__*/function (_LitElement) {
@@ -68,7 +68,8 @@ var SelfieCapture = /*#__PURE__*/function (_LitElement) {
68
68
  recorderElmt: videoRecorderElmt,
69
69
  mediaType: e.detail.mediaType,
70
70
  contentKind: "selfie",
71
- acquisitionTime: e.detail.acquisitionTime
71
+ acquisitionTime: e.detail.acquisitionTime,
72
+ activeChallengeNumActions: e.detail.activeChallengeNumActions
72
73
  }
73
74
  }));
74
75
  }
@@ -94,6 +95,13 @@ var SelfieCapture = /*#__PURE__*/function (_LitElement) {
94
95
  value: function handleRecordInterrupted(e) {
95
96
  this.dispatchEvent(new CustomEvent("recordInterrupted"));
96
97
  }
98
+ }, {
99
+ key: "handleActiveChallenge",
100
+ value: function handleActiveChallenge(e) {
101
+ this.dispatchEvent(new CustomEvent("activeChallenge", {
102
+ detail: e.detail
103
+ }));
104
+ }
97
105
  }, {
98
106
  key: "renderDirections",
99
107
  value: function renderDirections() {
@@ -103,8 +111,8 @@ var SelfieCapture = /*#__PURE__*/function (_LitElement) {
103
111
  }, {
104
112
  key: "renderRecorder",
105
113
  value: function renderRecorder() {
106
- var _this$strings$title2, _this$strings$acquisi, _this$strings$acquisi2, _this$strings$acquisi3, _this$strings$acquisi4, _this$strings$acquisi5, _this$strings$acquisi6, _this$strings$recorde, _this$recorderOptions, _this$recorderOptions2, _this$recorderOptions3, _this$recorderOptions4, _this$strings$back;
107
- return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n ", "\n\n <div class=\"v-space\"></div>\n\n <div class=\"recorder\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n config=\"", "\"\n face-checker=\"", "\"\n instruction-messages=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n ", "\n </uni-video-recorder>\n </div>\n </div>\n "])), (_this$strings$title2 = this.strings.title) !== null && _this$strings$title2 !== void 0 ? _this$strings$title2 : selfieCaptureStrings.title, this.acquisitionTime !== 0 ? x(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n <span class=\"text\">\n ", "\n ", "\n ", "\n </span>\n "])), (_this$strings$acquisi = (_this$strings$acquisi2 = this.strings.acquisitionDuration) === null || _this$strings$acquisi2 === void 0 ? void 0 : _this$strings$acquisi2.base) !== null && _this$strings$acquisi !== void 0 ? _this$strings$acquisi : selfieCaptureStrings.acquisitionDuration.base, Math.ceil(this.acquisitionTime), Math.ceil(this.acquisitionTime) === 1 ? (_this$strings$acquisi3 = (_this$strings$acquisi4 = this.strings.acquisitionDuration) === null || _this$strings$acquisi4 === void 0 ? void 0 : _this$strings$acquisi4.singular) !== null && _this$strings$acquisi3 !== void 0 ? _this$strings$acquisi3 : selfieCaptureStrings.acquisitionDuration.singular : (_this$strings$acquisi5 = (_this$strings$acquisi6 = this.strings.acquisitionDuration) === null || _this$strings$acquisi6 === void 0 ? void 0 : _this$strings$acquisi6.plural) !== null && _this$strings$acquisi5 !== void 0 ? _this$strings$acquisi5 : selfieCaptureStrings.acquisitionDuration.plural) : "", this.handleRecord, this.handleRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, JSON.stringify((_this$strings$recorde = this.strings.recorder) !== null && _this$strings$recorde !== void 0 ? _this$strings$recorde : selfieCaptureStrings.recorder), (_this$recorderOptions = this.recorderOptions.preset) !== null && _this$recorderOptions !== void 0 ? _this$recorderOptions : buildPacked.exports.AcquisitionPreset.SELFIE_FAST, this.recorderOptions.logLevel, JSON.stringify((_this$recorderOptions2 = this.recorderOptions.config) !== null && _this$recorderOptions2 !== void 0 ? _this$recorderOptions2 : {}), (_this$recorderOptions3 = this.recorderOptions.faceChecker) !== null && _this$recorderOptions3 !== void 0 ? _this$recorderOptions3 : "disabled-on-retry", JSON.stringify((_this$recorderOptions4 = this.recorderOptions.instructionMessages) !== null && _this$recorderOptions4 !== void 0 ? _this$recorderOptions4 : []), this.hideCaptureBtn, this.disableDebugMode, this.hideCapturePrevBtn ? x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral([""]))) : x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["<div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>"])), this.handleBack, (_this$strings$back = this.strings.back) !== null && _this$strings$back !== void 0 ? _this$strings$back : selfieCaptureStrings.back));
114
+ var _this$strings$title2, _this$strings$acquisi, _this$strings$acquisi2, _this$strings$acquisi3, _this$strings$acquisi4, _this$strings$acquisi5, _this$strings$acquisi6, _this$strings$recorde, _this$recorderOptions, _this$recorderOptions2, _this$recorderOptions3, _this$strings$back;
115
+ return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n <div class=\"box\">\n <h1 class=\"title\">", "</h1>\n ", "\n\n <div class=\"v-space\"></div>\n\n <div class=\"recorder\">\n <uni-video-recorder\n id=\"uni-video-recorder\"\n @record=\"", "\"\n @recorderReady=\"", "\"\n @recordCompleted=\"", "\"\n @recordStarting=\"", "\"\n @recordCapturing=\"", "\"\n @recordInterrupted=\"", "\"\n @activeChallenge=\"", "\"\n strings=\"", "\"\n preset=\"", "\"\n log-level=\"", "\"\n config=\"", "\"\n face-checker=\"", "\"\n ?hide-capture-btn=", "\n ?disable-debug-mode=", "\n >\n ", "\n </uni-video-recorder>\n </div>\n </div>\n "])), (_this$strings$title2 = this.strings.title) !== null && _this$strings$title2 !== void 0 ? _this$strings$title2 : selfieCaptureStrings.title, this.acquisitionTime !== 0 ? x(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n <span class=\"text\">\n ", "\n ", "\n ", "\n </span>\n "])), (_this$strings$acquisi = (_this$strings$acquisi2 = this.strings.acquisitionDuration) === null || _this$strings$acquisi2 === void 0 ? void 0 : _this$strings$acquisi2.base) !== null && _this$strings$acquisi !== void 0 ? _this$strings$acquisi : selfieCaptureStrings.acquisitionDuration.base, Math.ceil(this.acquisitionTime), Math.ceil(this.acquisitionTime) === 1 ? (_this$strings$acquisi3 = (_this$strings$acquisi4 = this.strings.acquisitionDuration) === null || _this$strings$acquisi4 === void 0 ? void 0 : _this$strings$acquisi4.singular) !== null && _this$strings$acquisi3 !== void 0 ? _this$strings$acquisi3 : selfieCaptureStrings.acquisitionDuration.singular : (_this$strings$acquisi5 = (_this$strings$acquisi6 = this.strings.acquisitionDuration) === null || _this$strings$acquisi6 === void 0 ? void 0 : _this$strings$acquisi6.plural) !== null && _this$strings$acquisi5 !== void 0 ? _this$strings$acquisi5 : selfieCaptureStrings.acquisitionDuration.plural) : "", this.handleRecord, this.handleRecoderReady, this.handleRecordCompleted, this.handleRecordStarting, this.handleRecordCapturing, this.handleRecordInterrupted, this.handleActiveChallenge, JSON.stringify((_this$strings$recorde = this.strings.recorder) !== null && _this$strings$recorde !== void 0 ? _this$strings$recorde : selfieCaptureStrings.recorder), (_this$recorderOptions = this.recorderOptions.preset) !== null && _this$recorderOptions !== void 0 ? _this$recorderOptions : buildPacked.exports.AcquisitionPreset.SELFIE_MJPEG, this.recorderOptions.logLevel, JSON.stringify((_this$recorderOptions2 = this.recorderOptions.config) !== null && _this$recorderOptions2 !== void 0 ? _this$recorderOptions2 : {}), (_this$recorderOptions3 = this.recorderOptions.faceChecker) !== null && _this$recorderOptions3 !== void 0 ? _this$recorderOptions3 : "disabled-on-retry", this.hideCaptureBtn, this.disableDebugMode, this.hideCapturePrevBtn ? x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral([""]))) : x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["<div slot=\"left\">\n <uni-button variant=\"outlined\" @click=\"", "\">\n <uni-back-arrow-icon slot=\"icon\"></uni-back-arrow-icon>\n ", "\n </uni-button>\n </div>"])), this.handleBack, (_this$strings$back = this.strings.back) !== null && _this$strings$back !== void 0 ? _this$strings$back : selfieCaptureStrings.back));
108
116
  }
109
117
  }, {
110
118
  key: "render",
@@ -0,0 +1,100 @@
1
+ import { i, d as _taggedTemplateLiteral } from './lit-element-83035a6f.js';
2
+
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75;
4
+ var recorderVars = {
5
+ borderRadius: i(_templateObject || (_templateObject = _taggedTemplateLiteral(["var(--uni-recorder-border-radius, 10px)"]))),
6
+ buttonsMargin: i(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["var(--uni-recorder-buttons-margin, 30px 0)"]))),
7
+ boxShadow: i(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["var(--uni-recorder-box-shadow, 0 4px 4px rgba(0, 0, 0, 0.12))"]))),
8
+ hintsFontSize: i(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["var(--uni-recorder-hints-font-size, 16px)"]))),
9
+ hintsFontColor: i(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["var(--uni-recorder-hints-color, #202020)"]))),
10
+ instructionsFontSize: i(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-font-size, 16px)"]))),
11
+ instructionsColor: i(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-color, #202020)"]))),
12
+ instructionsTimerFontSize: i(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-font-size, 24px)"]))),
13
+ instructionsTimerColor: i(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-color, #333333)"]))),
14
+ instructionsTimerFontWeight: i(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-font-weight, bold)"]))),
15
+ instructionsTimerPositionTop: i(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-top, 90%)"]))),
16
+ instructionsTimerPositionLeft: i(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-left, 3%)"]))),
17
+ instructionsPositionTop: i(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-position-top, -10%)"]))),
18
+ instructionsPadding: i(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-padding, 0px)"]))),
19
+ videoFilter: i(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["var(--uni-recorder-video-filter, none)"]))),
20
+ videoWidth: i(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["var(--uni-recorder-video-width, 300px)"])))
21
+ };
22
+ var selfieCaptureVars = {
23
+ videoRecorderWidth: i(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["var(--uni-selfie-capture-video-recorder-width, 400px)"]))),
24
+ videoRecorderSmWidth: i(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["var(--uni-selfie-capture-video-recorder-sm-width, 95%)"]))),
25
+ titleFont: i(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-font, 24px normal)"]))),
26
+ titleLineHeight: i(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-line-height, 18px)"]))),
27
+ titleColor: i(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-color, #8e8e8e)"]))),
28
+ subTitleFont: i(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-font, 16px normal)"]))),
29
+ subTitleLineHeight: i(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-line-height, 18px)"]))),
30
+ subTitleColor: i(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-color, #8e8e8e)"])))
31
+ };
32
+ var referenceCaptureVars = {
33
+ videoRecorderWidth: i(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["var(--uni-reference-capture-video-recorder-width, 400px)"]))),
34
+ videoRecorderSmWidth: i(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["var(--uni-reference-capture-video-recorder-sm-width, 95%)"]))),
35
+ titleFont: i(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-font, 24px normal)"]))),
36
+ titleLineHeight: i(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-line-height, 18px)"]))),
37
+ titleColor: i(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-color, #8e8e8e)"]))),
38
+ subTitleFont: i(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-font, 16px normal)"]))),
39
+ subTitleLineHeight: i(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-line-height, 18px)"]))),
40
+ subTitleColor: i(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-color, #8e8e8e)"])))
41
+ };
42
+ var defaultVars = {
43
+ colors: {
44
+ primary: i(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["var(--uni-primary-color, #0a175c)"]))),
45
+ secondary: i(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["var(--uni-secondary-color, #05db91)"]))),
46
+ primaryLighter: i(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["var(--uni-primary-color-lighter, #222f6c)"]))),
47
+ secondaryLighter: i(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["var(--uni-secondary-color-lighter, #00df89)"]))),
48
+ alt: i(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["var(--uni-alt-color, #1943ba)"]))),
49
+ altLighter: i(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["var(--uni-alt-color-lighter, #3b54f0)"]))),
50
+ lightVariant1: i(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["var(--uni-light-color-variant-1, #e8edfe)"]))),
51
+ lightVariant2: i(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["var(--uni-light-color-variant-2, #d8e1fd)"]))),
52
+ white: i(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["var(--uni-light-color, #fff)"]))),
53
+ dark: i(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["var(--uni-dark-color, #202020)"]))),
54
+ error: i(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["var(--uni-error-color, #f44336)"])))
55
+ }
56
+ };
57
+ var fileUploadVars = {
58
+ padding: i(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["var(--uni-file-upload-padding, 9.5%)"]))),
59
+ width: i(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["var(--uni-file-upload-width, 80%)"]))),
60
+ height: i(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["var(--uni-file-upload-height, 80%)"]))),
61
+ border: i(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["var(--uni-file-upload-border, dashed 2px #eee)"]))),
62
+ backgroundColor: i(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["var(--uni-file-upload-bg-color, #fafafa)"]))),
63
+ textColor: i(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["var(--uni-file-upload-txt-color, #ccc)"]))),
64
+ textFontSize: i(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["var(--uni-file-upload-txt-font-size, 20px)"]))),
65
+ errorTextColor: i(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["var(--uni-file-upload-err-txt-color, #333)"]))),
66
+ errorTextFontSize: i(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["var(--uni-file-upload-err-txt-font-size, 16px)"])))
67
+ };
68
+ var buttonsVars = {
69
+ padding: i(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["var(--uni-btn-padding, 8px 15px)"]))),
70
+ border: i(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["var(--uni-btn-border, solid 1px)"]))),
71
+ borderRadius: i(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["var(--uni-btn-border-radius, 7px)"]))),
72
+ fontSize: i(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["var(--uni-btn-font-size, 14px)"]))),
73
+ textTransform: i(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["var(--uni-btn-text-transform, normal)"]))),
74
+ outlinedBorders: i(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["var(--uni-btn-border-outlined, solid 1px)"]))),
75
+ btnLabelMargin: i(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["var(--uni-btn-label-margin, 10px 0px)"]))),
76
+ btnDisabledBgColor: i(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["var(--uni-btn-disabled-bg-color, #eee)"]))),
77
+ smWidth: i(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["var(--uni-btn-sm-width, 250px)"])))
78
+ };
79
+ var directionCardsVars = {
80
+ padding: i(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["var(--uni-card-padding, 8px 4%)"]))),
81
+ margin: i(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["var(--uni-card-margin, 0px)"]))),
82
+ width: i(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["var(--uni-card-width, 92%)"]))),
83
+ radius: i(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["var(--uni-card-border-radius, 20px)"]))),
84
+ fontSize: i(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["var(--uni-card-font-size, 16px)"]))),
85
+ fontWeight: i(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["var(--uni-card-font-weight, normal)"]))),
86
+ textMarginLeft: i(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["var(--uni-card-text-margin-left, 25px)"]))),
87
+ iconHeight: i(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["var(--uni-card-icon-height, 55px)"]))),
88
+ iconWidth: i(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["var(--uni-card-icon-width, auto)"]))),
89
+ backgroundColor: i(_templateObject69 || (_templateObject69 = _taggedTemplateLiteral(["var(--uni-card-bg-color, #f2f5f8)"])))
90
+ };
91
+ var retryResultVars = {
92
+ retriesColor: i(_templateObject70 || (_templateObject70 = _taggedTemplateLiteral(["var(--uni-retry-result-retries-color, grey)"]))),
93
+ fontSizeMd: i(_templateObject71 || (_templateObject71 = _taggedTemplateLiteral(["var(--uni-retry-result-font-size-md, 22px)"]))),
94
+ lineHeightMd: i(_templateObject72 || (_templateObject72 = _taggedTemplateLiteral(["var(--uni-retry-result-line-height-md, 24px)"]))),
95
+ fontSizeSm: i(_templateObject73 || (_templateObject73 = _taggedTemplateLiteral(["var(--uni-retry-result-font-size-sm, 16px)"]))),
96
+ lineHeightSm: i(_templateObject74 || (_templateObject74 = _taggedTemplateLiteral(["var(--uni-retry-result-line-height-sm, 18px)"]))),
97
+ iconWidth: i(_templateObject75 || (_templateObject75 = _taggedTemplateLiteral(["var(--uni-retry-result-icon-width, 150px)"])))
98
+ };
99
+
100
+ export { referenceCaptureVars as a, recorderVars as b, directionCardsVars as c, defaultVars as d, buttonsVars as e, fileUploadVars as f, retryResultVars as r, selfieCaptureVars as s };
@@ -1,7 +1,7 @@
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-df682b7a.js';
3
- import { d as defaultVars } from './variables-b4a2d316.js';
4
- import { E as EN } from './en-e76ed5a0.js';
1
+ import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-83035a6f.js';
2
+ import { d as directionsStyle } from './direction-card-5904f865.js';
3
+ import { d as defaultVars } from './variables-c07a8719.js';
4
+ import { E as EN } from './en-066d960b.js';
5
5
 
6
6
  var _templateObject$4;
7
7
  var LightPicto = /*#__PURE__*/function (_LitElement) {