@unissey-web/web-components 3.10.0 → 3.11.0-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/button.js +1 -1
- package/dist/{direction-card-f55e1936.js → direction-card-277681c3.js} +1 -1
- package/dist/file-upload.js +1 -1
- package/dist/full-capture.js +3 -3
- package/dist/image-capture-directions.js +2 -2
- package/dist/index.js +4 -4
- package/dist/picture-recorder.js +2 -2
- package/dist/reference-capture.js +3 -3
- package/dist/retry-result.js +1 -1
- package/dist/selfie-capture.js +3 -3
- package/dist/{variables-09a3e162.js → variables-55f57e89.js} +64 -63
- package/dist/video-record-directions.js +2 -2
- package/dist/{video-recorder-98ffd8e5.js → video-recorder-98760419.js} +3 -3
- package/dist/video-recorder.js +2 -2
- package/package.json +1 -1
package/dist/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-ac3d3a27.js';
|
|
2
|
-
import { b as buttonsVars, d as defaultVars } from './variables-
|
|
2
|
+
import { b as buttonsVars, d as defaultVars } from './variables-55f57e89.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
5
5
|
var Button = /*#__PURE__*/function (_LitElement) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper } from './lit-element-ac3d3a27.js';
|
|
2
|
-
import { d as defaultVars, e as directionCardsVars } from './variables-
|
|
2
|
+
import { d as defaultVars, e as directionCardsVars } from './variables-55f57e89.js';
|
|
3
3
|
|
|
4
4
|
var _templateObject$1;
|
|
5
5
|
var directionsStyle = i(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n .layout {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .item {\n margin-top: 15px;\n width: 100%;\n }\n"])));
|
package/dist/file-upload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2, g as _asyncToGenerator, h as _regeneratorRuntime } from './lit-element-ac3d3a27.js';
|
|
2
2
|
import { E as EN } from './en-e76ed5a0.js';
|
|
3
|
-
import { f as fileUploadVars } from './variables-
|
|
3
|
+
import { f as fileUploadVars } from './variables-55f57e89.js';
|
|
4
4
|
import { a as commonjsGlobal } from './_commonjsHelpers-cef27602.js';
|
|
5
5
|
|
|
6
6
|
var heic2any$1 = {exports: {}};
|
package/dist/full-capture.js
CHANGED
|
@@ -3,11 +3,11 @@ 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-98760419.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
|
-
import './variables-
|
|
8
|
+
import './variables-55f57e89.js';
|
|
9
9
|
import './video-record-directions.js';
|
|
10
|
-
import './direction-card-
|
|
10
|
+
import './direction-card-277681c3.js';
|
|
11
11
|
import './image-capture-directions.js';
|
|
12
12
|
import './file-upload.js';
|
|
13
13
|
import './picture-recorder.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, e as _objectSpread2 } from './lit-element-ac3d3a27.js';
|
|
2
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
2
|
+
import { d as directionsStyle } from './direction-card-277681c3.js';
|
|
3
|
+
import { d as defaultVars } from './variables-55f57e89.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
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-98760419.js';
|
|
3
|
+
export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-98760419.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';
|
|
@@ -11,9 +11,9 @@ export { RetryResult } from './retry-result.js';
|
|
|
11
11
|
export { SelfieCapture } from './selfie-capture.js';
|
|
12
12
|
export { ReferenceCapture } from './reference-capture.js';
|
|
13
13
|
export { FullCapture } from './full-capture.js';
|
|
14
|
-
export { D as DirectionCard } from './direction-card-
|
|
14
|
+
export { D as DirectionCard } from './direction-card-277681c3.js';
|
|
15
15
|
export { E as EN } from './en-e76ed5a0.js';
|
|
16
|
-
import './variables-
|
|
16
|
+
import './variables-55f57e89.js';
|
|
17
17
|
import './_commonjsHelpers-cef27602.js';
|
|
18
18
|
|
|
19
19
|
// @ts-ignore
|
package/dist/picture-recorder.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-98760419.js';
|
|
4
4
|
import './_commonjsHelpers-cef27602.js';
|
|
5
|
-
import './variables-
|
|
5
|
+
import './variables-55f57e89.js';
|
|
6
6
|
import './button.js';
|
|
7
7
|
|
|
8
8
|
var _templateObject$1;
|
|
@@ -3,10 +3,10 @@ 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-98760419.js';
|
|
7
7
|
import { E as EN } from './en-e76ed5a0.js';
|
|
8
|
-
import { c as referenceCaptureVars } from './variables-
|
|
9
|
-
import './direction-card-
|
|
8
|
+
import { c as referenceCaptureVars } from './variables-55f57e89.js';
|
|
9
|
+
import './direction-card-277681c3.js';
|
|
10
10
|
import './_commonjsHelpers-cef27602.js';
|
|
11
11
|
|
|
12
12
|
var _templateObject$1;
|
package/dist/retry-result.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 './button.js';
|
|
3
|
-
import { d as defaultVars, a as retryResultVars } from './variables-
|
|
3
|
+
import { d as defaultVars, a as retryResultVars } from './variables-55f57e89.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$3;
|
package/dist/selfie-capture.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-98760419.js';
|
|
4
4
|
import './video-record-directions.js';
|
|
5
5
|
import './button.js';
|
|
6
|
-
import { s as selfieCaptureVars } from './variables-
|
|
6
|
+
import { s as selfieCaptureVars } from './variables-55f57e89.js';
|
|
7
7
|
import './_commonjsHelpers-cef27602.js';
|
|
8
|
-
import './direction-card-
|
|
8
|
+
import './direction-card-277681c3.js';
|
|
9
9
|
|
|
10
10
|
var _templateObject$1;
|
|
11
11
|
var BackArrowIcon = /*#__PURE__*/function (_LitElement) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral } from './lit-element-ac3d3a27.js';
|
|
2
2
|
|
|
3
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _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;
|
|
3
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _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, _templateObject76;
|
|
4
4
|
var recorderVars = {
|
|
5
5
|
borderRadius: i(_templateObject || (_templateObject = _taggedTemplateLiteral(["var(--uni-recorder-border-radius, 10px)"]))),
|
|
6
6
|
buttonsMargin: i(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["var(--uni-recorder-buttons-margin, 30px 0)"]))),
|
|
@@ -15,84 +15,85 @@ var recorderVars = {
|
|
|
15
15
|
instructionsTimerPositionTop: i(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-top, 90%)"]))),
|
|
16
16
|
instructionsTimerPositionLeft: i(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-left, 3%)"]))),
|
|
17
17
|
instructionsPositionTop: i(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-position-top, 85%)"]))),
|
|
18
|
-
instructionsPadding: i(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-padding
|
|
18
|
+
instructionsPadding: i(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-padding, 0px)"]))),
|
|
19
|
+
videoFilter: i(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["var(--uni-recorder-video-filter, none)"])))
|
|
19
20
|
};
|
|
20
21
|
var selfieCaptureVars = {
|
|
21
|
-
videoRecorderWidth: i(
|
|
22
|
-
videoRecorderSmWidth: i(
|
|
23
|
-
titleFont: i(
|
|
24
|
-
titleLineHeight: i(
|
|
25
|
-
titleColor: i(
|
|
26
|
-
subTitleFont: i(
|
|
27
|
-
subTitleLineHeight: i(
|
|
28
|
-
subTitleColor: i(
|
|
22
|
+
videoRecorderWidth: i(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["var(--uni-selfie-capture-video-recorder-width, 400px)"]))),
|
|
23
|
+
videoRecorderSmWidth: i(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["var(--uni-selfie-capture-video-recorder-sm-width, 95%)"]))),
|
|
24
|
+
titleFont: i(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-font, 24px normal)"]))),
|
|
25
|
+
titleLineHeight: i(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-line-height, 18px)"]))),
|
|
26
|
+
titleColor: i(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["var(--uni-selfie-capture-title-color, #8e8e8e)"]))),
|
|
27
|
+
subTitleFont: i(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-font, 16px normal)"]))),
|
|
28
|
+
subTitleLineHeight: i(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-line-height, 18px)"]))),
|
|
29
|
+
subTitleColor: i(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["var(--uni-selfie-capture-sub-title-color, #8e8e8e)"])))
|
|
29
30
|
};
|
|
30
31
|
var referenceCaptureVars = {
|
|
31
|
-
videoRecorderWidth: i(
|
|
32
|
-
videoRecorderSmWidth: i(
|
|
33
|
-
titleFont: i(
|
|
34
|
-
titleLineHeight: i(
|
|
35
|
-
titleColor: i(
|
|
36
|
-
subTitleFont: i(
|
|
37
|
-
subTitleLineHeight: i(
|
|
38
|
-
subTitleColor: i(
|
|
32
|
+
videoRecorderWidth: i(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["var(--uni-reference-capture-video-recorder-width, 400px)"]))),
|
|
33
|
+
videoRecorderSmWidth: i(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["var(--uni-reference-capture-video-recorder-sm-width, 95%)"]))),
|
|
34
|
+
titleFont: i(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-font, 24px normal)"]))),
|
|
35
|
+
titleLineHeight: i(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-line-height, 18px)"]))),
|
|
36
|
+
titleColor: i(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["var(--uni-reference-capture-title-color, #8e8e8e)"]))),
|
|
37
|
+
subTitleFont: i(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-font, 16px normal)"]))),
|
|
38
|
+
subTitleLineHeight: i(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-line-height, 18px)"]))),
|
|
39
|
+
subTitleColor: i(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["var(--uni-reference-capture-sub-title-color, #8e8e8e)"])))
|
|
39
40
|
};
|
|
40
41
|
var defaultVars = {
|
|
41
42
|
colors: {
|
|
42
|
-
primary: i(
|
|
43
|
-
secondary: i(
|
|
44
|
-
primaryLighter: i(
|
|
45
|
-
secondaryLighter: i(
|
|
46
|
-
alt: i(
|
|
47
|
-
altLighter: i(
|
|
48
|
-
lightVariant1: i(
|
|
49
|
-
lightVariant2: i(
|
|
50
|
-
white: i(
|
|
51
|
-
dark: i(
|
|
52
|
-
error: i(
|
|
43
|
+
primary: i(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["var(--uni-primary-color, #0a175c)"]))),
|
|
44
|
+
secondary: i(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["var(--uni-secondary-color, #05db91)"]))),
|
|
45
|
+
primaryLighter: i(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["var(--uni-primary-color-lighter, #222f6c)"]))),
|
|
46
|
+
secondaryLighter: i(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["var(--uni-secondary-color-lighter, #00df89)"]))),
|
|
47
|
+
alt: i(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["var(--uni-alt-color, #1943ba)"]))),
|
|
48
|
+
altLighter: i(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["var(--uni-alt-color-lighter, #3b54f0)"]))),
|
|
49
|
+
lightVariant1: i(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["var(--uni-light-color-variant-1, #e8edfe)"]))),
|
|
50
|
+
lightVariant2: i(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["var(--uni-light-color-variant-2, #d8e1fd)"]))),
|
|
51
|
+
white: i(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["var(--uni-light-color, #fff)"]))),
|
|
52
|
+
dark: i(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["var(--uni-dark-color, #202020)"]))),
|
|
53
|
+
error: i(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["var(--uni-error-color, #f44336)"])))
|
|
53
54
|
}
|
|
54
55
|
};
|
|
55
56
|
var fileUploadVars = {
|
|
56
|
-
padding: i(
|
|
57
|
-
width: i(
|
|
58
|
-
height: i(
|
|
59
|
-
border: i(
|
|
60
|
-
backgroundColor: i(
|
|
61
|
-
textColor: i(
|
|
62
|
-
textFontSize: i(
|
|
63
|
-
errorTextColor: i(
|
|
64
|
-
errorTextFontSize: i(
|
|
57
|
+
padding: i(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["var(--uni-file-upload-padding, 9.5%)"]))),
|
|
58
|
+
width: i(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["var(--uni-file-upload-width, 80%)"]))),
|
|
59
|
+
height: i(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["var(--uni-file-upload-height, 80%)"]))),
|
|
60
|
+
border: i(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["var(--uni-file-upload-border, dashed 2px #eee)"]))),
|
|
61
|
+
backgroundColor: i(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["var(--uni-file-upload-bg-color, #fafafa)"]))),
|
|
62
|
+
textColor: i(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["var(--uni-file-upload-txt-color, #ccc)"]))),
|
|
63
|
+
textFontSize: i(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["var(--uni-file-upload-txt-font-size, 20px)"]))),
|
|
64
|
+
errorTextColor: i(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["var(--uni-file-upload-err-txt-color, #333)"]))),
|
|
65
|
+
errorTextFontSize: i(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["var(--uni-file-upload-err-txt-font-size, 16px)"])))
|
|
65
66
|
};
|
|
66
67
|
var buttonsVars = {
|
|
67
|
-
padding: i(
|
|
68
|
-
border: i(
|
|
69
|
-
borderRadius: i(
|
|
70
|
-
fontSize: i(
|
|
71
|
-
textTransform: i(
|
|
72
|
-
outlinedBorders: i(
|
|
73
|
-
btnLabelMargin: i(
|
|
74
|
-
btnDisabledBgColor: i(
|
|
75
|
-
smWidth: i(
|
|
68
|
+
padding: i(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["var(--uni-btn-padding, 8px 15px)"]))),
|
|
69
|
+
border: i(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["var(--uni-btn-border, solid 1px)"]))),
|
|
70
|
+
borderRadius: i(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["var(--uni-btn-border-radius, 7px)"]))),
|
|
71
|
+
fontSize: i(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["var(--uni-btn-font-size, 14px)"]))),
|
|
72
|
+
textTransform: i(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["var(--uni-btn-text-transform, normal)"]))),
|
|
73
|
+
outlinedBorders: i(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["var(--uni-btn-border-outlined, solid 1px)"]))),
|
|
74
|
+
btnLabelMargin: i(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["var(--uni-btn-label-margin, 10px 0px)"]))),
|
|
75
|
+
btnDisabledBgColor: i(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["var(--uni-btn-disabled-bg-color, #eee)"]))),
|
|
76
|
+
smWidth: i(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["var(--uni-btn-sm-width, 250px)"])))
|
|
76
77
|
};
|
|
77
78
|
var directionCardsVars = {
|
|
78
|
-
padding: i(
|
|
79
|
-
margin: i(
|
|
80
|
-
width: i(
|
|
81
|
-
radius: i(
|
|
82
|
-
fontSize: i(
|
|
83
|
-
fontWeight: i(
|
|
84
|
-
textMarginLeft: i(
|
|
85
|
-
iconHeight: i(
|
|
86
|
-
iconWidth: i(
|
|
87
|
-
backgroundColor: i(
|
|
79
|
+
padding: i(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["var(--uni-card-padding, 8px 4%)"]))),
|
|
80
|
+
margin: i(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["var(--uni-card-margin, 0px)"]))),
|
|
81
|
+
width: i(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["var(--uni-card-width, 92%)"]))),
|
|
82
|
+
radius: i(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["var(--uni-card-border-radius, 20px)"]))),
|
|
83
|
+
fontSize: i(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["var(--uni-card-font-size, 16px)"]))),
|
|
84
|
+
fontWeight: i(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["var(--uni-card-font-weight, normal)"]))),
|
|
85
|
+
textMarginLeft: i(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["var(--uni-card-text-margin-left, 25px)"]))),
|
|
86
|
+
iconHeight: i(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["var(--uni-card-icon-height, 55px)"]))),
|
|
87
|
+
iconWidth: i(_templateObject69 || (_templateObject69 = _taggedTemplateLiteral(["var(--uni-card-icon-width, auto)"]))),
|
|
88
|
+
backgroundColor: i(_templateObject70 || (_templateObject70 = _taggedTemplateLiteral(["var(--uni-card-bg-color, #f2f5f8)"])))
|
|
88
89
|
};
|
|
89
90
|
var retryResultVars = {
|
|
90
|
-
retriesColor: i(
|
|
91
|
-
fontSizeMd: i(
|
|
92
|
-
lineHeightMd: i(
|
|
93
|
-
fontSizeSm: i(
|
|
94
|
-
lineHeightSm: i(
|
|
95
|
-
iconWidth: i(
|
|
91
|
+
retriesColor: i(_templateObject71 || (_templateObject71 = _taggedTemplateLiteral(["var(--uni-retry-result-retries-color, grey)"]))),
|
|
92
|
+
fontSizeMd: i(_templateObject72 || (_templateObject72 = _taggedTemplateLiteral(["var(--uni-retry-result-font-size-md, 22px)"]))),
|
|
93
|
+
lineHeightMd: i(_templateObject73 || (_templateObject73 = _taggedTemplateLiteral(["var(--uni-retry-result-line-height-md, 24px)"]))),
|
|
94
|
+
fontSizeSm: i(_templateObject74 || (_templateObject74 = _taggedTemplateLiteral(["var(--uni-retry-result-font-size-sm, 16px)"]))),
|
|
95
|
+
lineHeightSm: i(_templateObject75 || (_templateObject75 = _taggedTemplateLiteral(["var(--uni-retry-result-line-height-sm, 18px)"]))),
|
|
96
|
+
iconWidth: i(_templateObject76 || (_templateObject76 = _taggedTemplateLiteral(["var(--uni-retry-result-icon-width, 150px)"])))
|
|
96
97
|
};
|
|
97
98
|
|
|
98
99
|
export { retryResultVars as a, buttonsVars as b, referenceCaptureVars as c, defaultVars as d, directionCardsVars as e, fileUploadVars as f, recorderVars as r, selfieCaptureVars as s };
|
|
@@ -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
|
-
import { d as directionsStyle } from './direction-card-
|
|
3
|
-
import { d as defaultVars } from './variables-
|
|
2
|
+
import { d as directionsStyle } from './direction-card-277681c3.js';
|
|
3
|
+
import { d as defaultVars } from './variables-55f57e89.js';
|
|
4
4
|
import { E as EN } from './en-e76ed5a0.js';
|
|
5
5
|
|
|
6
6
|
var _templateObject$4;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i, d as _taggedTemplateLiteral, _ as _inherits, a as _createClass, x, s as s$1, b as _classCallCheck, c as _callSuper, e as _objectSpread2, f as _superPropGet, g as _asyncToGenerator, h as _regeneratorRuntime } from './lit-element-ac3d3a27.js';
|
|
2
2
|
import { c as commonjsRequire, a as commonjsGlobal } from './_commonjsHelpers-cef27602.js';
|
|
3
|
-
import { r as recorderVars, d as defaultVars } from './variables-
|
|
3
|
+
import { r as recorderVars, d as defaultVars } from './variables-55f57e89.js';
|
|
4
4
|
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 = "3.
|
|
8
|
+
var version = "3.11.0-rc.1";
|
|
9
9
|
var description = "";
|
|
10
10
|
var module = "./dist/index.js";
|
|
11
11
|
var typings = "./dist/index.d.ts";
|
|
@@ -67,7 +67,7 @@ var buildPacked = {exports: {}};
|
|
|
67
67
|
}(buildPacked, buildPacked.exports));
|
|
68
68
|
|
|
69
69
|
var _templateObject$e;
|
|
70
|
-
var cameraStyle = i(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n .container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .wrapper {\n position: relative;\n top: 0;\n left: 0;\n }\n\n .video,\n .hints,\n .instructions,\n .errors,\n .flip-icon-container,\n .canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n border-radius: ", ";\n }\n\n .spinner {\n z-index: -1;\n width: 100%;\n height: 400px;\n }\n\n .canvas {\n z-index: 2;\n }\n\n .video {\n z-index: 1;\n height: 0;\n box-shadow: ", ";\n }\n\n .flip-icon-container {\n z-index: 4;\n display: none;\n }\n\n .flip-icon {\n position: absolute;\n bottom: 5%;\n left: 5d%;\n }\n\n .hints {\n z-index: 3;\n }\n\n .instructions {\n z-index: 4;\n }\n\n .errors {\n display: none;\n justify-content: center;\n align-items: center;\n z-index: 3;\n\n border-radius: 10px;\n }\n\n .errors .message {\n display: inline-block;\n width: 70%;\n background-color: ", ";\n color: var(--uni-light-color, #fff);\n padding: 7px 15px;\n border-radius: 5px;\n text-align: center;\n }\n\n .item-center {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .buttons {\n text-align: center;\n width: 100%;\n\n margin: ", ";\n }\n\n .buttons-item {\n display: inline-block;\n padding: 7px;\n }\n\n @media screen and (max-width: 576px) {\n .buttons-item {\n width: 95%;\n }\n\n .buttons {\n margin-top: 15px;\n }\n }\n"])), recorderVars.borderRadius, recorderVars.boxShadow, defaultVars.colors.error, recorderVars.buttonsMargin);
|
|
70
|
+
var cameraStyle = i(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n .container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .wrapper {\n position: relative;\n top: 0;\n left: 0;\n }\n\n .video,\n .hints,\n .instructions,\n .errors,\n .flip-icon-container,\n .canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n border-radius: ", ";\n }\n\n .spinner {\n z-index: -1;\n width: 100%;\n height: 400px;\n }\n\n .canvas {\n z-index: 2;\n }\n\n .video {\n z-index: 1;\n height: 0;\n box-shadow: ", ";\n filter: ", ";\n }\n\n .flip-icon-container {\n z-index: 4;\n display: none;\n }\n\n .flip-icon {\n position: absolute;\n bottom: 5%;\n left: 5d%;\n }\n\n .hints {\n z-index: 3;\n }\n\n .instructions {\n z-index: 4;\n }\n\n .errors {\n display: none;\n justify-content: center;\n align-items: center;\n z-index: 3;\n\n border-radius: 10px;\n }\n\n .errors .message {\n display: inline-block;\n width: 70%;\n background-color: ", ";\n color: var(--uni-light-color, #fff);\n padding: 7px 15px;\n border-radius: 5px;\n text-align: center;\n }\n\n .item-center {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .buttons {\n text-align: center;\n width: 100%;\n\n margin: ", ";\n }\n\n .buttons-item {\n display: inline-block;\n padding: 7px;\n }\n\n @media screen and (max-width: 576px) {\n .buttons-item {\n width: 95%;\n }\n\n .buttons {\n margin-top: 15px;\n }\n }\n"])), recorderVars.borderRadius, recorderVars.boxShadow, recorderVars.videoFilter, defaultVars.colors.error, recorderVars.buttonsMargin);
|
|
71
71
|
|
|
72
72
|
var _templateObject$d;
|
|
73
73
|
var fadeAnimation = i(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n @keyframes fade {\n from {\n width: 25px;\n margin-left: 0%;\n margin-top: 0%;\n opacity: 1;\n }\n to {\n width: 30px;\n margin-left: -2%;\n margin-top: -2%;\n opacity: 0;\n }\n }\n\n .icon {\n width: 25px;\n animation-name: fade;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n }\n"])));
|
package/dist/video-recorder.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-98760419.js';
|
|
3
3
|
import './button.js';
|
|
4
4
|
import './en-e76ed5a0.js';
|
|
5
5
|
import './_commonjsHelpers-cef27602.js';
|
|
6
|
-
import './variables-
|
|
6
|
+
import './variables-55f57e89.js';
|