@unissey-web/web-components 5.0.0-beta.4 → 5.0.0-beta.5
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/{_commonjsHelpers-cef27602.js → _commonjsHelpers-02146103.js} +1 -1
- package/dist/button.js +2 -2
- package/dist/{direction-card-df682b7a.js → direction-card-143ab05d.js} +2 -2
- package/dist/{en-e76ed5a0.js → en-066d960b.js} +4 -1
- package/dist/file-upload.js +20 -21
- package/dist/full-capture.js +24 -9
- package/dist/image-capture-directions.js +4 -4
- package/dist/index.d.ts +48 -16
- package/dist/index.js +21 -11
- package/dist/{lit-element-ac3d3a27.js → lit-element-83035a6f.js} +101 -294
- package/dist/picture-editor.js +47 -54
- package/dist/picture-recorder.js +5 -5
- package/dist/reference-capture.js +17 -9
- package/dist/retry-result.js +6 -6
- package/dist/selfie-capture.js +16 -8
- package/dist/variables-be2b795f.js +99 -0
- package/dist/video-record-directions.js +4 -4
- package/dist/video-recorder-40306157.js +1222 -0
- package/dist/video-recorder.js +5 -5
- package/package.json +2 -2
- package/dist/variables-b4a2d316.js +0 -99
- package/dist/video-recorder-71ddb113.js +0 -1197
package/dist/video-recorder.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './lit-element-
|
|
2
|
-
export { R as Recorder, V as VideoRecorder } from './video-recorder-
|
|
1
|
+
import './lit-element-83035a6f.js';
|
|
2
|
+
export { R as Recorder, V as VideoRecorder } from './video-recorder-40306157.js';
|
|
3
3
|
import './button.js';
|
|
4
|
-
import './en-
|
|
5
|
-
import './_commonjsHelpers-
|
|
6
|
-
import './variables-
|
|
4
|
+
import './en-066d960b.js';
|
|
5
|
+
import './_commonjsHelpers-02146103.js';
|
|
6
|
+
import './variables-be2b795f.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unissey-web/web-components",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"storybook-stylesheet-toggle": "^0.1.3",
|
|
41
41
|
"heic2any": "^0.0.4",
|
|
42
42
|
"@lottiefiles/dotlottie-wc": "^0.5.2",
|
|
43
|
-
"@unissey/sdk-web-js": "0.5.0-beta.
|
|
43
|
+
"@unissey/sdk-web-js": "0.5.0-beta.5"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { i, d as _taggedTemplateLiteral } from './lit-element-ac3d3a27.js';
|
|
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, _templateObject76;
|
|
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(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-font-weight, bold)"]))),
|
|
15
|
-
instructionsTimerPositionTop: i(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-top, 90%)"]))),
|
|
16
|
-
instructionsTimerPositionLeft: i(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-timer-position-left, 3%)"]))),
|
|
17
|
-
instructionsPositionTop: i(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-position-top, -10%)"]))),
|
|
18
|
-
instructionsPadding: i(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["var(--uni-recorder-instructions-padding, 0px)"]))),
|
|
19
|
-
videoFilter: i(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["var(--uni-recorder-video-filter, none)"])))
|
|
20
|
-
};
|
|
21
|
-
var selfieCaptureVars = {
|
|
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)"])))
|
|
30
|
-
};
|
|
31
|
-
var referenceCaptureVars = {
|
|
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)"])))
|
|
40
|
-
};
|
|
41
|
-
var defaultVars = {
|
|
42
|
-
colors: {
|
|
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)"])))
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
var fileUploadVars = {
|
|
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)"])))
|
|
66
|
-
};
|
|
67
|
-
var buttonsVars = {
|
|
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)"])))
|
|
77
|
-
};
|
|
78
|
-
var directionCardsVars = {
|
|
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)"])))
|
|
89
|
-
};
|
|
90
|
-
var retryResultVars = {
|
|
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)"])))
|
|
97
|
-
};
|
|
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 };
|