@uploadcare/file-uploader 1.25.0 → 1.26.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/abstract/loadFileUploaderFrom.js +4 -75
- package/dist/env.js +4 -33
- package/dist/index.css +5 -2660
- package/dist/index.d.ts +2326 -1670
- package/dist/index.js +6 -12012
- package/dist/index.layered.css +4 -2716
- package/dist/index.ssr.js +532 -768
- package/dist/locales/file-uploader/ar.js +4 -165
- package/dist/locales/file-uploader/az.js +4 -157
- package/dist/locales/file-uploader/ca.js +4 -159
- package/dist/locales/file-uploader/cs.js +4 -161
- package/dist/locales/file-uploader/da.js +4 -157
- package/dist/locales/file-uploader/de.js +4 -157
- package/dist/locales/file-uploader/el.js +4 -157
- package/dist/locales/file-uploader/en.js +4 -157
- package/dist/locales/file-uploader/es.js +4 -159
- package/dist/locales/file-uploader/et.js +4 -157
- package/dist/locales/file-uploader/fi.js +4 -157
- package/dist/locales/file-uploader/fr.js +4 -159
- package/dist/locales/file-uploader/he.js +4 -159
- package/dist/locales/file-uploader/hy.js +4 -157
- package/dist/locales/file-uploader/is.js +4 -157
- package/dist/locales/file-uploader/it.js +4 -159
- package/dist/locales/file-uploader/ja.js +4 -157
- package/dist/locales/file-uploader/ka.js +4 -157
- package/dist/locales/file-uploader/kk.js +4 -157
- package/dist/locales/file-uploader/ko.js +4 -157
- package/dist/locales/file-uploader/lv.js +4 -159
- package/dist/locales/file-uploader/nb.js +4 -157
- package/dist/locales/file-uploader/nl.js +4 -157
- package/dist/locales/file-uploader/pl.js +4 -161
- package/dist/locales/file-uploader/pt.js +4 -159
- package/dist/locales/file-uploader/ro.js +4 -159
- package/dist/locales/file-uploader/ru.js +4 -161
- package/dist/locales/file-uploader/sk.js +4 -161
- package/dist/locales/file-uploader/sr.js +4 -159
- package/dist/locales/file-uploader/sv.js +4 -157
- package/dist/locales/file-uploader/tr.js +4 -157
- package/dist/locales/file-uploader/uk.js +4 -161
- package/dist/locales/file-uploader/vi.js +4 -157
- package/dist/locales/file-uploader/zh-TW.js +4 -157
- package/dist/locales/file-uploader/zh.js +4 -157
- package/package.json +44 -32
- package/types/jsx.d.ts +75 -48
- package/web/file-uploader.iife.min.d.ts +2619 -1833
- package/web/file-uploader.iife.min.js +6 -27
- package/web/file-uploader.iife.min.js.LEGAL.txt +71 -0
- package/web/file-uploader.min.d.ts +2619 -1833
- package/web/file-uploader.min.js +5 -26
- package/web/file-uploader.min.js.LEGAL.txt +71 -0
- package/web/uc-basic.layered.min.css +4 -23
- package/web/uc-basic.min.css +4 -23
- package/web/uc-cloud-image-editor.layered.min.css +4 -23
- package/web/uc-cloud-image-editor.min.css +4 -23
- package/web/uc-cloud-image-editor.min.d.ts +1835 -580
- package/web/uc-cloud-image-editor.min.js +5 -26
- package/web/uc-cloud-image-editor.min.js.LEGAL.txt +70 -0
- package/web/uc-file-uploader-inline.layered.min.css +4 -23
- package/web/uc-file-uploader-inline.min.css +4 -23
- package/web/uc-file-uploader-inline.min.d.ts +2619 -1833
- package/web/uc-file-uploader-inline.min.js +5 -26
- package/web/uc-file-uploader-inline.min.js.LEGAL.txt +71 -0
- package/web/uc-file-uploader-minimal.layered.min.css +4 -23
- package/web/uc-file-uploader-minimal.min.css +4 -23
- package/web/uc-file-uploader-minimal.min.d.ts +2619 -1833
- package/web/uc-file-uploader-minimal.min.js +5 -26
- package/web/uc-file-uploader-minimal.min.js.LEGAL.txt +71 -0
- package/web/uc-file-uploader-regular.layered.min.css +4 -23
- package/web/uc-file-uploader-regular.min.css +4 -23
- package/web/uc-file-uploader-regular.min.d.ts +2619 -1833
- package/web/uc-file-uploader-regular.min.js +5 -26
- package/web/uc-file-uploader-regular.min.js.LEGAL.txt +71 -0
- package/web/uc-img.min.d.ts +60 -100
- package/web/uc-img.min.js +5 -25
- package/web/uc-img.min.js.LEGAL.txt +24 -0
package/dist/index.ssr.js
CHANGED
|
@@ -8,10 +8,18 @@ export const ActivityBlock = class {
|
|
|
8
8
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
9
9
|
EXTERNAL: "external",
|
|
10
10
|
};
|
|
11
|
-
static
|
|
11
|
+
static finalized = {};
|
|
12
|
+
static elementProperties = {};
|
|
13
|
+
static elementStyles = [];
|
|
12
14
|
static styleAttrs = [];
|
|
13
|
-
static
|
|
14
|
-
static
|
|
15
|
+
static reg = () => {};
|
|
16
|
+
static addInitializer = () => {};
|
|
17
|
+
static createProperty = () => {};
|
|
18
|
+
static getPropertyDescriptor = () => {};
|
|
19
|
+
static getPropertyOptions = () => {};
|
|
20
|
+
static finalize = () => {};
|
|
21
|
+
static finalizeStyles = () => {};
|
|
22
|
+
static shadowRootOptions = { mode: "open" };
|
|
15
23
|
};
|
|
16
24
|
export const ActivityHeader = class {
|
|
17
25
|
static activities = {
|
|
@@ -23,162 +31,62 @@ export const ActivityHeader = class {
|
|
|
23
31
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
24
32
|
EXTERNAL: "external",
|
|
25
33
|
};
|
|
26
|
-
static
|
|
34
|
+
static finalized = {};
|
|
35
|
+
static elementProperties = {};
|
|
36
|
+
static elementStyles = [];
|
|
27
37
|
static styleAttrs = [];
|
|
28
|
-
static
|
|
29
|
-
static
|
|
38
|
+
static reg = () => {};
|
|
39
|
+
static addInitializer = () => {};
|
|
40
|
+
static createProperty = () => {};
|
|
41
|
+
static getPropertyDescriptor = () => {};
|
|
42
|
+
static getPropertyOptions = () => {};
|
|
43
|
+
static finalize = () => {};
|
|
44
|
+
static finalizeStyles = () => {};
|
|
45
|
+
static shadowRootOptions = { mode: "open" };
|
|
30
46
|
};
|
|
31
47
|
export const BaseComponent = class {
|
|
32
48
|
static reg = () => {};
|
|
33
|
-
static
|
|
34
|
-
static
|
|
49
|
+
static elementProperties = {};
|
|
50
|
+
static finalized = {};
|
|
51
|
+
static elementStyles = [];
|
|
52
|
+
static addInitializer = () => {};
|
|
53
|
+
static createProperty = () => {};
|
|
54
|
+
static getPropertyDescriptor = () => {};
|
|
55
|
+
static getPropertyOptions = () => {};
|
|
56
|
+
static finalize = () => {};
|
|
57
|
+
static finalizeStyles = () => {};
|
|
58
|
+
static shadowRootOptions = { mode: "open" };
|
|
35
59
|
};
|
|
36
60
|
export const Block = class {
|
|
37
|
-
static reg = () => {};
|
|
38
61
|
static styleAttrs = [];
|
|
39
|
-
static
|
|
40
|
-
static
|
|
62
|
+
static finalized = {};
|
|
63
|
+
static elementProperties = {};
|
|
64
|
+
static elementStyles = [];
|
|
65
|
+
static reg = () => {};
|
|
66
|
+
static addInitializer = () => {};
|
|
67
|
+
static createProperty = () => {};
|
|
68
|
+
static getPropertyDescriptor = () => {};
|
|
69
|
+
static getPropertyOptions = () => {};
|
|
70
|
+
static finalize = () => {};
|
|
71
|
+
static finalizeStyles = () => {};
|
|
72
|
+
static shadowRootOptions = { mode: "open" };
|
|
41
73
|
};
|
|
42
74
|
export const BtnUi = class {
|
|
43
|
-
static
|
|
44
|
-
static template = `
|
|
45
|
-
<button
|
|
46
|
-
type="button"
|
|
47
|
-
set="@role:aria-role; @aria-controls: aria-controls; @aria-label:title-prop"
|
|
48
|
-
l10n="@title:title-prop;"
|
|
49
|
-
>
|
|
50
|
-
<uc-icon set="className: iconCss; @name: icon; @hidden: !icon"></uc-icon>
|
|
51
|
-
<div class="uc-text">{{text}}</div>
|
|
52
|
-
</button>
|
|
53
|
-
`;
|
|
54
|
-
static reg = () => {};
|
|
75
|
+
static elementProperties = {};
|
|
55
76
|
static styleAttrs = [];
|
|
56
|
-
static
|
|
57
|
-
static
|
|
77
|
+
static finalized = {};
|
|
78
|
+
static elementStyles = [];
|
|
79
|
+
static reg = () => {};
|
|
80
|
+
static addInitializer = () => {};
|
|
81
|
+
static createProperty = () => {};
|
|
82
|
+
static getPropertyDescriptor = () => {};
|
|
83
|
+
static getPropertyOptions = () => {};
|
|
84
|
+
static finalize = () => {};
|
|
85
|
+
static finalizeStyles = () => {};
|
|
86
|
+
static shadowRootOptions = { mode: "open" };
|
|
58
87
|
};
|
|
59
88
|
export const CameraSource = class {
|
|
60
|
-
static
|
|
61
|
-
<uc-activity-header>
|
|
62
|
-
<button
|
|
63
|
-
type="button"
|
|
64
|
-
class="uc-mini-btn"
|
|
65
|
-
set="onclick: *historyBack"
|
|
66
|
-
l10n="@title:back"
|
|
67
|
-
>
|
|
68
|
-
<uc-icon name="back"></uc-icon>
|
|
69
|
-
</button>
|
|
70
|
-
<div set="@hidden: !cameraSelectHidden">
|
|
71
|
-
<uc-icon name="camera"></uc-icon>
|
|
72
|
-
<span l10n="caption-camera"></span>
|
|
73
|
-
</div>
|
|
74
|
-
<uc-select
|
|
75
|
-
class="uc-camera-select"
|
|
76
|
-
set="$.options: cameraSelectOptions; @hidden: cameraSelectHidden; onchange: onCameraSelectChange"
|
|
77
|
-
>
|
|
78
|
-
</uc-select>
|
|
79
|
-
<button
|
|
80
|
-
type="button"
|
|
81
|
-
class="uc-mini-btn uc-close-btn"
|
|
82
|
-
set="onclick: *closeModal"
|
|
83
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
84
|
-
>
|
|
85
|
-
<uc-icon name="close"></uc-icon>
|
|
86
|
-
</button>
|
|
87
|
-
</uc-activity-header>
|
|
88
|
-
<div class="uc-content">
|
|
89
|
-
<video
|
|
90
|
-
muted
|
|
91
|
-
autoplay
|
|
92
|
-
playsinline
|
|
93
|
-
set="srcObject: video; style.transform: videoTransformCss; @hidden: videoHidden"
|
|
94
|
-
ref="video"
|
|
95
|
-
></video>
|
|
96
|
-
<div class="uc-message-box" set="@hidden: messageHidden">
|
|
97
|
-
<span l10n="l10nMessage"></span>
|
|
98
|
-
<button
|
|
99
|
-
type="button"
|
|
100
|
-
set="onclick: onRequestPermissions; @hidden: requestBtnHidden"
|
|
101
|
-
l10n="camera-permissions-request"
|
|
102
|
-
></button>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
<div class="uc-controls">
|
|
107
|
-
<div ref="switcher" class="uc-switcher" set="@hidden:!timerHidden">
|
|
108
|
-
<button
|
|
109
|
-
data-id="photo"
|
|
110
|
-
type="button"
|
|
111
|
-
class="uc-switch uc-mini-btn"
|
|
112
|
-
set="onclick: onClickTab; @hidden: tabCameraHidden"
|
|
113
|
-
data-testid="tab-photo"
|
|
114
|
-
>
|
|
115
|
-
<uc-icon name="camera"></uc-icon>
|
|
116
|
-
</button>
|
|
117
|
-
<button
|
|
118
|
-
data-id="video"
|
|
119
|
-
type="button"
|
|
120
|
-
class="uc-switch uc-mini-btn"
|
|
121
|
-
set="onclick: onClickTab; @hidden: tabVideoHidden"
|
|
122
|
-
data-testid="tab-video"
|
|
123
|
-
>
|
|
124
|
-
<uc-icon name="video-camera"></uc-icon>
|
|
125
|
-
</button>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
<button
|
|
129
|
-
class="uc-secondary-btn uc-recording-timer"
|
|
130
|
-
set="@hidden:timerHidden; onclick: onToggleRecording"
|
|
131
|
-
data-testid="recording-timer"
|
|
132
|
-
>
|
|
133
|
-
<uc-icon set="@name: currentTimelineIcon"></uc-icon>
|
|
134
|
-
<span ref="timer"> 00:00 </span>
|
|
135
|
-
<span ref="line" class="uc-line"></span>
|
|
136
|
-
</button>
|
|
137
|
-
|
|
138
|
-
<div
|
|
139
|
-
class="uc-camera-actions uc-camera-action"
|
|
140
|
-
set="@hidden: cameraActionsHidden"
|
|
141
|
-
>
|
|
142
|
-
<button type="button" class="uc-secondary-btn" set="onclick: onRetake" data-testid="retake">
|
|
143
|
-
Retake
|
|
144
|
-
</button>
|
|
145
|
-
<button
|
|
146
|
-
type="button"
|
|
147
|
-
class="uc-primary-btn"
|
|
148
|
-
set="onclick: onAccept"
|
|
149
|
-
data-testid="accept"
|
|
150
|
-
>
|
|
151
|
-
Accept
|
|
152
|
-
</button>
|
|
153
|
-
</div>
|
|
154
|
-
|
|
155
|
-
<button
|
|
156
|
-
type="button"
|
|
157
|
-
class="uc-shot-btn uc-camera-action"
|
|
158
|
-
data-testid="shot"
|
|
159
|
-
set="onclick: onStartCamera; @class: mutableClassButton; @hidden: cameraHidden;"
|
|
160
|
-
>
|
|
161
|
-
<uc-icon set="@name: currentIcon"></uc-icon>
|
|
162
|
-
</button>
|
|
163
|
-
|
|
164
|
-
<div class="uc-select">
|
|
165
|
-
<button
|
|
166
|
-
class="uc-mini-btn uc-btn-microphone"
|
|
167
|
-
set="onclick: onToggleAudio; @hidden: audioToggleMicrophoneHidden;"
|
|
168
|
-
data-testid="toggle-microphone"
|
|
169
|
-
>
|
|
170
|
-
<uc-icon set="@name:toggleMicrophoneIcon"></uc-icon>
|
|
171
|
-
</button>
|
|
172
|
-
|
|
173
|
-
<uc-select
|
|
174
|
-
class="uc-audio-select"
|
|
175
|
-
set="$.options: audioSelectOptions; onchange: onAudioSelectChange; @hidden: audioSelectHidden; @disabled: audioSelectDisabled"
|
|
176
|
-
data-testid="audio-select"
|
|
177
|
-
>
|
|
178
|
-
</uc-select>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
`;
|
|
89
|
+
static elementProperties = {};
|
|
182
90
|
static extSrcList = {
|
|
183
91
|
FACEBOOK: "facebook",
|
|
184
92
|
DROPBOX: "dropbox",
|
|
@@ -212,6 +120,8 @@ export const CameraSource = class {
|
|
|
212
120
|
ONEDRIVE: "onedrive",
|
|
213
121
|
HUDDLE: "huddle",
|
|
214
122
|
};
|
|
123
|
+
static finalized = {};
|
|
124
|
+
static elementStyles = [];
|
|
215
125
|
static activities = {
|
|
216
126
|
START_FROM: "start-from",
|
|
217
127
|
CAMERA: "camera",
|
|
@@ -221,52 +131,32 @@ export const CameraSource = class {
|
|
|
221
131
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
222
132
|
EXTERNAL: "external",
|
|
223
133
|
};
|
|
224
|
-
static reg = () => {};
|
|
225
134
|
static styleAttrs = [];
|
|
226
|
-
static
|
|
227
|
-
static
|
|
135
|
+
static reg = () => {};
|
|
136
|
+
static addInitializer = () => {};
|
|
137
|
+
static createProperty = () => {};
|
|
138
|
+
static getPropertyDescriptor = () => {};
|
|
139
|
+
static getPropertyOptions = () => {};
|
|
140
|
+
static finalize = () => {};
|
|
141
|
+
static finalizeStyles = () => {};
|
|
142
|
+
static shadowRootOptions = { mode: "open" };
|
|
228
143
|
};
|
|
229
144
|
export const CloudImageEditor = class {
|
|
230
145
|
static styleAttrs = [];
|
|
231
|
-
static
|
|
232
|
-
<svg width='0' height='0' style='position:absolute'><symbol fill='none' viewBox='0 0 9 6' id='uc-icon-arrow-dropdown' xmlns='http://www.w3.org/2000/svg'><path stroke='currentColor' d='m1.5 1.667 3 2.666 3-2.666' opacity='.5'/></symbol><symbol viewBox='0 0 24 24' id='uc-icon-aspect-ratio' xmlns='http://www.w3.org/2000/svg'/><symbol viewBox='0 0 20 20' id='uc-icon-brightness' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M15 10a5 5 0 0 1-5 5m5-5a5 5 0 0 0-5-5m5 5h-5m0 5a5 5 0 0 1 0-10m0 10V5m0 15v-3M2.93 2.929 5.05 5.05M0 10h3m-.07 7.071 2.12-2.121M10 0v3m7.07 14.071-2.12-2.121M20 10h-3m.07-7.071L14.95 5.05m-.626 2.45H10m4.324 5H10'/></symbol><symbol fill='currentColor' viewBox='0 0 20 20' id='uc-icon-closeMax' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8.232 10 3.585 5.353l1.768-1.768L10 8.232l4.648-4.647 1.767 1.768L11.768 10l4.647 4.648-1.767 1.767L10 11.768l-4.647 4.647-1.768-1.767L8.232 10Z' clip-rule='evenodd'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-contrast' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M2 10a8 8 0 1 0 16 0 8 8 0 1 0-16 0m8-8v16m8-8h-8m7.598 2.5H10m6.24 2.5H10m7.6-7.5H10M16.242 5H10'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-crop' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M20 14H7.005C6.45 14 6 13.55 6 12.995V0M0 6h13.067c.515 0 .933.418.933.933V20M14.5.4 13 2l1.5 1.6M13 2h2a3 3 0 0 1 3 3v2M5.5 19.6 7 18l-1.5-1.6M7 18H5a3 3 0 0 1-3-3v-2'/></symbol><symbol fill='currentColor' viewBox='0 0 20 20' id='uc-icon-done' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='m18.057 6.333-9.365 9.125a1.25 1.25 0 0 1-1.768-.023L1.92 10.296l1.791-1.744 4.132 4.243 8.47-8.253 1.744 1.79Z' clip-rule='evenodd'/></symbol><symbol fill='currentColor' viewBox='0 0 25 24' id='uc-icon-edit-file' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M18.558 2.804a.78.78 0 0 0-.557.235l-.008.007-2.472 2.46 3.847 3.848 2.46-2.473.004-.003a.78.78 0 0 0 0-1.108l-.004-.003-2.712-2.728a.78.78 0 0 0-.558-.235Zm-.248 7.613-3.852-3.852-8.93 8.887-1.516 5.41 5.41-1.515 8.888-8.93Zm-.636-8.934a2.28 2.28 0 0 1 2.512.505l2.702 2.717.002.002a2.278 2.278 0 0 1 0 3.234l-.002.002-12.541 12.602a.75.75 0 0 1-.33.193l-6.884 1.928a.75.75 0 0 1-.925-.924l1.928-6.885a.75.75 0 0 1 .193-.33l12.603-12.54a2.28 2.28 0 0 1 .742-.504Z' clip-rule='evenodd'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-enhance' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M19 13h-2m0 0a4 4 0 0 1-4-4m4 4a4 4 0 0 0-4 4m0-8V7m0 2a4 4 0 0 1-4 4m-2 0h2m0 0a4 4 0 0 1 4 4m0 0v2M8 8.5H6.5m0 0a2 2 0 0 1-2-2m2 2a2 2 0 0 0-2 2m0-4V5m0 1.5a2 2 0 0 1-2 2M1 8.5h1.5m0 0a2 2 0 0 1 2 2m0 0V12M12 3h-1m0 0a1 1 0 0 1-1-1m1 1a1 1 0 0 0-1 1m0-2V1m0 1a1 1 0 0 1-1 1M8 3h1m0 0a1 1 0 0 1 1 1m0 0v1'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-exposure' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M10 20v-3M2.93 2.929 5.05 5.05M0 10h3m-.07 7.071 2.12-2.121M10 0v3m7.07 14.071-2.12-2.121M20 10h-3m.07-7.071L14.95 5.05M5 10a5 5 0 1 0 10 0 5 5 0 1 0-10 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-filters' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M4.5 6.5a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0m-3.5 6a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0m7 0a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-flip' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M19.6 5 18 3.5 16.4 5m3.2 10L18 16.5 16.4 15M18 3.523v12.954M3.3 8.5h10.654c.301 0 .415-.395.159-.554L3.459 1.286A.3.3 0 0 0 3 1.542V8.2a.3.3 0 0 0 .3.3zm0 3h10.654c.301 0 .415.395.159.554l-10.654 6.66A.3.3 0 0 1 3 18.458v-6.66a.3.3 0 0 1 .3-.3z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-gamma' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M17 3C9 6 2.5 11.5 2.5 17.5m0 0h1m-1 0v-1m14 1h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3-14v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-mirror' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M5 .4 3.5 2 5 3.6M15 .4 16.5 2 15 3.6M3.52 2h12.957M8.5 16.7V6.046c0-.301-.394-.415-.554-.159L1.287 16.541a.3.3 0 0 0 .255.459H8.2a.3.3 0 0 0 .3-.3zm3 0V6.046c0-.301.395-.415.555-.159l6.659 10.654a.3.3 0 0 1-.255.459H11.8a.3.3 0 0 1-.3-.3z'/></symbol><symbol viewBox='0 0 40 40' id='uc-icon-original' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.5' d='M0 40 40 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-rotate' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M13.5.4 12 2l1.5 1.6M12.023 2H14.4A3.6 3.6 0 0 1 18 5.6V8M4 17h9a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-sad' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M2 17c4.418-4 11.582-4 16 0M16.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-11 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-saturation' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='ruc-icon-id__a' x1='10.001' y1='1' x2='10.001' y2='19' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient></defs><circle cx='10.001' cy='10' r='9' transform='rotate(90 10 10)' fill='url(#ruc-icon-id__a)'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-slider' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M0 10h11m0 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m0 0h5'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-tuning' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M8 10h11M1 10h4M1 4.5h11m3 0h4m-18 11h11m3 0h4m-7-11a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0M5 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0m7 5.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-vibrance' xmlns='http://www.w3.org/2000/svg'><path d='M2.125 5.64A8.96 8.96 0 0 0 1.001 10a8.96 8.96 0 0 0 1.124 4.36V5.64z' fill='url(#uuc-icon-id__a)'/><path d='M2.875 15.499V4.502a9.053 9.053 0 0 1 1.75-1.72v14.437a9.05 9.05 0 0 1-1.75-1.72z' fill='url(#uuc-icon-id__b)'/><path d='M5.375 17.722c.548.33 1.134.601 1.75.809V1.469a8.956 8.956 0 0 0-1.75.81v15.443z' fill='url(#uuc-icon-id__c)'/><path d='M7.875 1.253v17.495c.564.136 1.15.22 1.75.244V1.008a9 9 0 0 0-1.75.245z' fill='url(#uuc-icon-id__d)'/><path d='M10.375 1.008v17.984a9 9 0 0 0 1.75-.244V1.252a9 9 0 0 0-1.75-.244z' fill='url(#uuc-icon-id__e)'/><path d='M12.875 1.469V18.53a8.957 8.957 0 0 0 1.75-.808V2.277a8.957 8.957 0 0 0-1.75-.808z' fill='url(#uuc-icon-id__f)'/><path d='M15.375 2.78v14.44a9.053 9.053 0 0 0 1.75-1.72v-11a9.054 9.054 0 0 0-1.75-1.72z' fill='url(#uuc-icon-id__g)'/><path d='M17.875 5.638v8.724A8.959 8.959 0 0 0 19.001 10a8.96 8.96 0 0 0-1.126-4.362z' fill='url(#uuc-icon-id__h)'/><defs><linearGradient id='uuc-icon-id__a' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__b' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__c' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__d' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__e' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__f' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__g' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__h' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient></defs></symbol><symbol viewBox='0 0 20 20' id='uc-icon-warmth' xmlns='http://www.w3.org/2000/svg'><path d='m7.5 13.05.429.42.171-.175v-.244h-.6zm5 0h-.6v.245l.172.175.428-.42zM8.1 3.5c0-1.05.85-1.9 1.9-1.9V.4a3.1 3.1 0 0 0-3.1 3.1h1.2zm0 9.55V3.5H6.9v9.55h1.2zm-1 2.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088 4.088 0 0 0 5.9 15.5h1.2zm2.9 2.9a2.9 2.9 0 0 1-2.9-2.9H5.9a4.1 4.1 0 0 0 4.1 4.1v-1.2zm2.9-2.9a2.9 2.9 0 0 1-2.9 2.9v1.2a4.1 4.1 0 0 0 4.1-4.1h-1.2zm-.829-2.03c.514.524.829 1.24.829 2.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9 3.5v9.55h1.2V3.5h-1.2zM10 1.6c1.05 0 1.9.85 1.9 1.9h1.2A3.1 3.1 0 0 0 10 .4v1.2z' fill='currentColor'/><path d='M10 14V8' stroke='currentColor' stroke-width='1.2' stroke-linecap='round'/><path d='M14 3h3m-3 3h3m-3 3h3m-8 6.5a1 1 0 1 0 2 0 1 1 0 1 0-2 0' stroke='currentColor' stroke-width='1.2'/></symbol></svg>
|
|
233
|
-
|
|
234
|
-
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
235
|
-
<div class="uc-network_problems_content">
|
|
236
|
-
<div class="uc-network_problems_icon">
|
|
237
|
-
<uc-icon name="sad"></uc-icon>
|
|
238
|
-
</div>
|
|
239
|
-
<div class="uc-network_problems_text">Network error</div>
|
|
240
|
-
</div>
|
|
241
|
-
<div class="uc-network_problems_footer">
|
|
242
|
-
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
243
|
-
</div>
|
|
244
|
-
</uc-presence-toggle>
|
|
245
|
-
<div class="uc-viewport">
|
|
246
|
-
<div class="uc-file_type_outer">
|
|
247
|
-
<div class="uc-file_type">{{fileType}}</div>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="uc-image_container" ref="img-container-el">
|
|
250
|
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" class="uc-image uc-image_visible_from_editor" ref="img-el" />
|
|
251
|
-
<uc-editor-image-cropper ref="cropper-el"></uc-editor-image-cropper>
|
|
252
|
-
<uc-editor-image-fader ref="fader-el"></uc-editor-image-fader>
|
|
253
|
-
</div>
|
|
254
|
-
<div class="uc-info_pan">{{msg}}</div>
|
|
255
|
-
</div>
|
|
256
|
-
<div class="uc-toolbar">
|
|
257
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
258
|
-
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
259
|
-
<uc-editor-toolbar></uc-editor-toolbar>
|
|
260
|
-
</div>
|
|
261
|
-
</div>
|
|
262
|
-
</div>
|
|
263
|
-
`;
|
|
264
|
-
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
146
|
+
static elementProperties = {};
|
|
147
|
+
static finalized = {};
|
|
148
|
+
static elementStyles = [];
|
|
265
149
|
static reg = () => {};
|
|
266
|
-
static
|
|
267
|
-
static
|
|
150
|
+
static addInitializer = () => {};
|
|
151
|
+
static createProperty = () => {};
|
|
152
|
+
static getPropertyDescriptor = () => {};
|
|
153
|
+
static getPropertyOptions = () => {};
|
|
154
|
+
static finalize = () => {};
|
|
155
|
+
static finalizeStyles = () => {};
|
|
156
|
+
static shadowRootOptions = { mode: "open" };
|
|
268
157
|
};
|
|
269
158
|
export const CloudImageEditorActivity = class {
|
|
159
|
+
static elementProperties = {};
|
|
270
160
|
static extSrcList = {
|
|
271
161
|
FACEBOOK: "facebook",
|
|
272
162
|
DROPBOX: "dropbox",
|
|
@@ -300,6 +190,8 @@ export const CloudImageEditorActivity = class {
|
|
|
300
190
|
ONEDRIVE: "onedrive",
|
|
301
191
|
HUDDLE: "huddle",
|
|
302
192
|
};
|
|
193
|
+
static finalized = {};
|
|
194
|
+
static elementStyles = [];
|
|
303
195
|
static activities = {
|
|
304
196
|
START_FROM: "start-from",
|
|
305
197
|
CAMERA: "camera",
|
|
@@ -309,53 +201,33 @@ export const CloudImageEditorActivity = class {
|
|
|
309
201
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
310
202
|
EXTERNAL: "external",
|
|
311
203
|
};
|
|
312
|
-
static reg = () => {};
|
|
313
204
|
static styleAttrs = [];
|
|
314
|
-
static
|
|
315
|
-
static
|
|
205
|
+
static reg = () => {};
|
|
206
|
+
static addInitializer = () => {};
|
|
207
|
+
static createProperty = () => {};
|
|
208
|
+
static getPropertyDescriptor = () => {};
|
|
209
|
+
static getPropertyOptions = () => {};
|
|
210
|
+
static finalize = () => {};
|
|
211
|
+
static finalizeStyles = () => {};
|
|
212
|
+
static shadowRootOptions = { mode: "open" };
|
|
316
213
|
};
|
|
317
214
|
export const CloudImageEditorBlock = class {
|
|
318
215
|
static styleAttrs = [];
|
|
319
|
-
static
|
|
320
|
-
<svg width='0' height='0' style='position:absolute'><symbol fill='none' viewBox='0 0 9 6' id='uc-icon-arrow-dropdown' xmlns='http://www.w3.org/2000/svg'><path stroke='currentColor' d='m1.5 1.667 3 2.666 3-2.666' opacity='.5'/></symbol><symbol viewBox='0 0 24 24' id='uc-icon-aspect-ratio' xmlns='http://www.w3.org/2000/svg'/><symbol viewBox='0 0 20 20' id='uc-icon-brightness' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M15 10a5 5 0 0 1-5 5m5-5a5 5 0 0 0-5-5m5 5h-5m0 5a5 5 0 0 1 0-10m0 10V5m0 15v-3M2.93 2.929 5.05 5.05M0 10h3m-.07 7.071 2.12-2.121M10 0v3m7.07 14.071-2.12-2.121M20 10h-3m.07-7.071L14.95 5.05m-.626 2.45H10m4.324 5H10'/></symbol><symbol fill='currentColor' viewBox='0 0 20 20' id='uc-icon-closeMax' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8.232 10 3.585 5.353l1.768-1.768L10 8.232l4.648-4.647 1.767 1.768L11.768 10l4.647 4.648-1.767 1.767L10 11.768l-4.647 4.647-1.768-1.767L8.232 10Z' clip-rule='evenodd'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-contrast' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M2 10a8 8 0 1 0 16 0 8 8 0 1 0-16 0m8-8v16m8-8h-8m7.598 2.5H10m6.24 2.5H10m7.6-7.5H10M16.242 5H10'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-crop' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M20 14H7.005C6.45 14 6 13.55 6 12.995V0M0 6h13.067c.515 0 .933.418.933.933V20M14.5.4 13 2l1.5 1.6M13 2h2a3 3 0 0 1 3 3v2M5.5 19.6 7 18l-1.5-1.6M7 18H5a3 3 0 0 1-3-3v-2'/></symbol><symbol fill='currentColor' viewBox='0 0 20 20' id='uc-icon-done' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='m18.057 6.333-9.365 9.125a1.25 1.25 0 0 1-1.768-.023L1.92 10.296l1.791-1.744 4.132 4.243 8.47-8.253 1.744 1.79Z' clip-rule='evenodd'/></symbol><symbol fill='currentColor' viewBox='0 0 25 24' id='uc-icon-edit-file' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M18.558 2.804a.78.78 0 0 0-.557.235l-.008.007-2.472 2.46 3.847 3.848 2.46-2.473.004-.003a.78.78 0 0 0 0-1.108l-.004-.003-2.712-2.728a.78.78 0 0 0-.558-.235Zm-.248 7.613-3.852-3.852-8.93 8.887-1.516 5.41 5.41-1.515 8.888-8.93Zm-.636-8.934a2.28 2.28 0 0 1 2.512.505l2.702 2.717.002.002a2.278 2.278 0 0 1 0 3.234l-.002.002-12.541 12.602a.75.75 0 0 1-.33.193l-6.884 1.928a.75.75 0 0 1-.925-.924l1.928-6.885a.75.75 0 0 1 .193-.33l12.603-12.54a2.28 2.28 0 0 1 .742-.504Z' clip-rule='evenodd'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-enhance' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M19 13h-2m0 0a4 4 0 0 1-4-4m4 4a4 4 0 0 0-4 4m0-8V7m0 2a4 4 0 0 1-4 4m-2 0h2m0 0a4 4 0 0 1 4 4m0 0v2M8 8.5H6.5m0 0a2 2 0 0 1-2-2m2 2a2 2 0 0 0-2 2m0-4V5m0 1.5a2 2 0 0 1-2 2M1 8.5h1.5m0 0a2 2 0 0 1 2 2m0 0V12M12 3h-1m0 0a1 1 0 0 1-1-1m1 1a1 1 0 0 0-1 1m0-2V1m0 1a1 1 0 0 1-1 1M8 3h1m0 0a1 1 0 0 1 1 1m0 0v1'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-exposure' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M10 20v-3M2.93 2.929 5.05 5.05M0 10h3m-.07 7.071 2.12-2.121M10 0v3m7.07 14.071-2.12-2.121M20 10h-3m.07-7.071L14.95 5.05M5 10a5 5 0 1 0 10 0 5 5 0 1 0-10 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-filters' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M4.5 6.5a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0m-3.5 6a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0m7 0a5.5 5.5 0 1 0 11 0 5.5 5.5 0 1 0-11 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-flip' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M19.6 5 18 3.5 16.4 5m3.2 10L18 16.5 16.4 15M18 3.523v12.954M3.3 8.5h10.654c.301 0 .415-.395.159-.554L3.459 1.286A.3.3 0 0 0 3 1.542V8.2a.3.3 0 0 0 .3.3zm0 3h10.654c.301 0 .415.395.159.554l-10.654 6.66A.3.3 0 0 1 3 18.458v-6.66a.3.3 0 0 1 .3-.3z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-gamma' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M17 3C9 6 2.5 11.5 2.5 17.5m0 0h1m-1 0v-1m14 1h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3-14v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-mirror' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M5 .4 3.5 2 5 3.6M15 .4 16.5 2 15 3.6M3.52 2h12.957M8.5 16.7V6.046c0-.301-.394-.415-.554-.159L1.287 16.541a.3.3 0 0 0 .255.459H8.2a.3.3 0 0 0 .3-.3zm3 0V6.046c0-.301.395-.415.555-.159l6.659 10.654a.3.3 0 0 1-.255.459H11.8a.3.3 0 0 1-.3-.3z'/></symbol><symbol viewBox='0 0 40 40' id='uc-icon-original' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.5' d='M0 40 40 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-rotate' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M13.5.4 12 2l1.5 1.6M12.023 2H14.4A3.6 3.6 0 0 1 18 5.6V8M4 17h9a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-sad' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M2 17c4.418-4 11.582-4 16 0M16.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-11 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-saturation' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='ruc-icon-id__a' x1='10.001' y1='1' x2='10.001' y2='19' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient></defs><circle cx='10.001' cy='10' r='9' transform='rotate(90 10 10)' fill='url(#ruc-icon-id__a)'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-slider' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M0 10h11m0 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m0 0h5'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-tuning' xmlns='http://www.w3.org/2000/svg'><path stroke-linejoin='round' fill='none' stroke='currentColor' stroke-width='1.2' d='M8 10h11M1 10h4M1 4.5h11m3 0h4m-18 11h11m3 0h4m-7-11a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0M5 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0m7 5.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0'/></symbol><symbol viewBox='0 0 20 20' id='uc-icon-vibrance' xmlns='http://www.w3.org/2000/svg'><path d='M2.125 5.64A8.96 8.96 0 0 0 1.001 10a8.96 8.96 0 0 0 1.124 4.36V5.64z' fill='url(#uuc-icon-id__a)'/><path d='M2.875 15.499V4.502a9.053 9.053 0 0 1 1.75-1.72v14.437a9.05 9.05 0 0 1-1.75-1.72z' fill='url(#uuc-icon-id__b)'/><path d='M5.375 17.722c.548.33 1.134.601 1.75.809V1.469a8.956 8.956 0 0 0-1.75.81v15.443z' fill='url(#uuc-icon-id__c)'/><path d='M7.875 1.253v17.495c.564.136 1.15.22 1.75.244V1.008a9 9 0 0 0-1.75.245z' fill='url(#uuc-icon-id__d)'/><path d='M10.375 1.008v17.984a9 9 0 0 0 1.75-.244V1.252a9 9 0 0 0-1.75-.244z' fill='url(#uuc-icon-id__e)'/><path d='M12.875 1.469V18.53a8.957 8.957 0 0 0 1.75-.808V2.277a8.957 8.957 0 0 0-1.75-.808z' fill='url(#uuc-icon-id__f)'/><path d='M15.375 2.78v14.44a9.053 9.053 0 0 0 1.75-1.72v-11a9.054 9.054 0 0 0-1.75-1.72z' fill='url(#uuc-icon-id__g)'/><path d='M17.875 5.638v8.724A8.959 8.959 0 0 0 19.001 10a8.96 8.96 0 0 0-1.126-4.362z' fill='url(#uuc-icon-id__h)'/><defs><linearGradient id='uuc-icon-id__a' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__b' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__c' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__d' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__e' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__f' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__g' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient><linearGradient id='uuc-icon-id__h' x1='19.001' y1='10' x2='1.001' y2='10' gradientUnits='userSpaceOnUse'><stop stop-color='#DE15FF'/><stop offset='.203' stop-color='#0029FF'/><stop offset='.479' stop-color='#2AE4F0'/><stop offset='.604' stop-color='#15EF11'/><stop offset='.75' stop-color='#FAE528'/><stop offset='1' stop-color='#EB2A2A'/></linearGradient></defs></symbol><symbol viewBox='0 0 20 20' id='uc-icon-warmth' xmlns='http://www.w3.org/2000/svg'><path d='m7.5 13.05.429.42.171-.175v-.244h-.6zm5 0h-.6v.245l.172.175.428-.42zM8.1 3.5c0-1.05.85-1.9 1.9-1.9V.4a3.1 3.1 0 0 0-3.1 3.1h1.2zm0 9.55V3.5H6.9v9.55h1.2zm-1 2.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088 4.088 0 0 0 5.9 15.5h1.2zm2.9 2.9a2.9 2.9 0 0 1-2.9-2.9H5.9a4.1 4.1 0 0 0 4.1 4.1v-1.2zm2.9-2.9a2.9 2.9 0 0 1-2.9 2.9v1.2a4.1 4.1 0 0 0 4.1-4.1h-1.2zm-.829-2.03c.514.524.829 1.24.829 2.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9 3.5v9.55h1.2V3.5h-1.2zM10 1.6c1.05 0 1.9.85 1.9 1.9h1.2A3.1 3.1 0 0 0 10 .4v1.2z' fill='currentColor'/><path d='M10 14V8' stroke='currentColor' stroke-width='1.2' stroke-linecap='round'/><path d='M14 3h3m-3 3h3m-3 3h3m-8 6.5a1 1 0 1 0 2 0 1 1 0 1 0-2 0' stroke='currentColor' stroke-width='1.2'/></symbol></svg>
|
|
321
|
-
|
|
322
|
-
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
323
|
-
<div class="uc-network_problems_content">
|
|
324
|
-
<div class="uc-network_problems_icon">
|
|
325
|
-
<uc-icon name="sad"></uc-icon>
|
|
326
|
-
</div>
|
|
327
|
-
<div class="uc-network_problems_text">Network error</div>
|
|
328
|
-
</div>
|
|
329
|
-
<div class="uc-network_problems_footer">
|
|
330
|
-
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
331
|
-
</div>
|
|
332
|
-
</uc-presence-toggle>
|
|
333
|
-
<div class="uc-viewport">
|
|
334
|
-
<div class="uc-file_type_outer">
|
|
335
|
-
<div class="uc-file_type">{{fileType}}</div>
|
|
336
|
-
</div>
|
|
337
|
-
<div class="uc-image_container" ref="img-container-el">
|
|
338
|
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" class="uc-image uc-image_visible_from_editor" ref="img-el" />
|
|
339
|
-
<uc-editor-image-cropper ref="cropper-el"></uc-editor-image-cropper>
|
|
340
|
-
<uc-editor-image-fader ref="fader-el"></uc-editor-image-fader>
|
|
341
|
-
</div>
|
|
342
|
-
<div class="uc-info_pan">{{msg}}</div>
|
|
343
|
-
</div>
|
|
344
|
-
<div class="uc-toolbar">
|
|
345
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
346
|
-
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
347
|
-
<uc-editor-toolbar></uc-editor-toolbar>
|
|
348
|
-
</div>
|
|
349
|
-
</div>
|
|
350
|
-
</div>
|
|
351
|
-
`;
|
|
352
|
-
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
216
|
+
static elementProperties = {};
|
|
217
|
+
static finalized = {};
|
|
218
|
+
static elementStyles = [];
|
|
353
219
|
static reg = () => {};
|
|
354
|
-
static
|
|
355
|
-
static
|
|
220
|
+
static addInitializer = () => {};
|
|
221
|
+
static createProperty = () => {};
|
|
222
|
+
static getPropertyDescriptor = () => {};
|
|
223
|
+
static getPropertyOptions = () => {};
|
|
224
|
+
static finalize = () => {};
|
|
225
|
+
static finalizeStyles = () => {};
|
|
226
|
+
static shadowRootOptions = { mode: "open" };
|
|
356
227
|
};
|
|
357
228
|
export const Config = class {
|
|
358
229
|
static observedAttributes = [
|
|
230
|
+
"ctx-name",
|
|
359
231
|
"debug",
|
|
360
232
|
"pubkey",
|
|
361
233
|
"multiple",
|
|
@@ -474,39 +346,52 @@ export const Config = class {
|
|
|
474
346
|
"testmode",
|
|
475
347
|
"qualityinsights",
|
|
476
348
|
];
|
|
477
|
-
static reg = () => {};
|
|
478
349
|
static styleAttrs = [];
|
|
479
|
-
static
|
|
480
|
-
static
|
|
350
|
+
static finalized = {};
|
|
351
|
+
static elementProperties = {};
|
|
352
|
+
static elementStyles = [];
|
|
353
|
+
static reg = () => {};
|
|
354
|
+
static addInitializer = () => {};
|
|
355
|
+
static createProperty = () => {};
|
|
356
|
+
static getPropertyDescriptor = () => {};
|
|
357
|
+
static getPropertyOptions = () => {};
|
|
358
|
+
static finalize = () => {};
|
|
359
|
+
static finalizeStyles = () => {};
|
|
360
|
+
static shadowRootOptions = { mode: "open" };
|
|
481
361
|
};
|
|
482
362
|
export const Copyright = class {
|
|
483
|
-
static template = `
|
|
484
|
-
<a
|
|
485
|
-
href="https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4"
|
|
486
|
-
target="_blank noopener"
|
|
487
|
-
class="uc-credits"
|
|
488
|
-
>Powered by Uploadcare</a
|
|
489
|
-
>
|
|
490
|
-
`;
|
|
491
|
-
static reg = () => {};
|
|
492
363
|
static styleAttrs = [];
|
|
493
|
-
static
|
|
494
|
-
static
|
|
364
|
+
static finalized = {};
|
|
365
|
+
static elementProperties = {};
|
|
366
|
+
static elementStyles = [];
|
|
367
|
+
static reg = () => {};
|
|
368
|
+
static addInitializer = () => {};
|
|
369
|
+
static createProperty = () => {};
|
|
370
|
+
static getPropertyDescriptor = () => {};
|
|
371
|
+
static getPropertyOptions = () => {};
|
|
372
|
+
static finalize = () => {};
|
|
373
|
+
static finalizeStyles = () => {};
|
|
374
|
+
static shadowRootOptions = { mode: "open" };
|
|
495
375
|
};
|
|
496
376
|
export const CropFrame = class {
|
|
497
|
-
static
|
|
498
|
-
` <svg class="uc-svg" ref="svg-el" xmlns="http://www.w3.org/2000/svg"></svg> `;
|
|
499
|
-
static reg = () => {};
|
|
377
|
+
static elementProperties = {};
|
|
500
378
|
static styleAttrs = [];
|
|
501
|
-
static
|
|
502
|
-
static
|
|
379
|
+
static finalized = {};
|
|
380
|
+
static elementStyles = [];
|
|
381
|
+
static reg = () => {};
|
|
382
|
+
static addInitializer = () => {};
|
|
383
|
+
static createProperty = () => {};
|
|
384
|
+
static getPropertyDescriptor = () => {};
|
|
385
|
+
static getPropertyOptions = () => {};
|
|
386
|
+
static finalize = () => {};
|
|
387
|
+
static finalizeStyles = () => {};
|
|
388
|
+
static shadowRootOptions = { mode: "open" };
|
|
503
389
|
};
|
|
504
390
|
export const Data = class {
|
|
505
|
-
static warn = () => {};
|
|
506
391
|
static registerCtx = () => {};
|
|
507
392
|
static deleteCtx = () => {};
|
|
508
393
|
static getCtx = () => {};
|
|
509
|
-
static
|
|
394
|
+
static hasCtx = () => {};
|
|
510
395
|
static apply = () => {};
|
|
511
396
|
static bind = () => {};
|
|
512
397
|
static call = () => {};
|
|
@@ -519,26 +404,7 @@ export const Data = class {
|
|
|
519
404
|
};
|
|
520
405
|
export const DropArea = class {
|
|
521
406
|
static styleAttrs = [];
|
|
522
|
-
static
|
|
523
|
-
<slot>
|
|
524
|
-
<div data-default-slot hidden></div>
|
|
525
|
-
<div ref="content-wrapper" class="uc-content-wrapper" set="@hidden: !isVisible">
|
|
526
|
-
<div class="uc-icon-container" set="@hidden: !withIcon">
|
|
527
|
-
<uc-icon name="default"></uc-icon>
|
|
528
|
-
<uc-icon name="arrow-down"></uc-icon>
|
|
529
|
-
</div>
|
|
530
|
-
<span class="uc-text">{{text}}</span>
|
|
531
|
-
</div>
|
|
532
|
-
</slot>
|
|
533
|
-
`;
|
|
534
|
-
static observedAttributes = [
|
|
535
|
-
"with-icon",
|
|
536
|
-
"clickable",
|
|
537
|
-
"text",
|
|
538
|
-
"fullscreen",
|
|
539
|
-
"disabled",
|
|
540
|
-
"initflow",
|
|
541
|
-
];
|
|
407
|
+
static elementProperties = {};
|
|
542
408
|
static extSrcList = {
|
|
543
409
|
FACEBOOK: "facebook",
|
|
544
410
|
DROPBOX: "dropbox",
|
|
@@ -572,6 +438,8 @@ export const DropArea = class {
|
|
|
572
438
|
ONEDRIVE: "onedrive",
|
|
573
439
|
HUDDLE: "huddle",
|
|
574
440
|
};
|
|
441
|
+
static finalized = {};
|
|
442
|
+
static elementStyles = [];
|
|
575
443
|
static activities = {
|
|
576
444
|
START_FROM: "start-from",
|
|
577
445
|
CAMERA: "camera",
|
|
@@ -582,280 +450,156 @@ export const DropArea = class {
|
|
|
582
450
|
EXTERNAL: "external",
|
|
583
451
|
};
|
|
584
452
|
static reg = () => {};
|
|
585
|
-
static
|
|
586
|
-
static
|
|
453
|
+
static addInitializer = () => {};
|
|
454
|
+
static createProperty = () => {};
|
|
455
|
+
static getPropertyDescriptor = () => {};
|
|
456
|
+
static getPropertyOptions = () => {};
|
|
457
|
+
static finalize = () => {};
|
|
458
|
+
static finalizeStyles = () => {};
|
|
459
|
+
static shadowRootOptions = { mode: "open" };
|
|
587
460
|
};
|
|
588
461
|
export const EditorAspectRatioButtonControl = class {
|
|
589
|
-
static
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
593
|
-
</button>
|
|
594
|
-
`;
|
|
595
|
-
static reg = () => {};
|
|
462
|
+
static elementProperties = {};
|
|
463
|
+
static finalized = {};
|
|
464
|
+
static elementStyles = [];
|
|
596
465
|
static styleAttrs = [];
|
|
597
|
-
static
|
|
598
|
-
static
|
|
466
|
+
static reg = () => {};
|
|
467
|
+
static addInitializer = () => {};
|
|
468
|
+
static createProperty = () => {};
|
|
469
|
+
static getPropertyDescriptor = () => {};
|
|
470
|
+
static getPropertyOptions = () => {};
|
|
471
|
+
static finalize = () => {};
|
|
472
|
+
static finalizeStyles = () => {};
|
|
473
|
+
static shadowRootOptions = { mode: "open" };
|
|
599
474
|
};
|
|
600
475
|
export const EditorCropButtonControl = class {
|
|
601
|
-
static
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
605
|
-
</button>
|
|
606
|
-
`;
|
|
607
|
-
static reg = () => {};
|
|
476
|
+
static elementProperties = {};
|
|
477
|
+
static finalized = {};
|
|
478
|
+
static elementStyles = [];
|
|
608
479
|
static styleAttrs = [];
|
|
609
|
-
static
|
|
610
|
-
static
|
|
480
|
+
static reg = () => {};
|
|
481
|
+
static addInitializer = () => {};
|
|
482
|
+
static createProperty = () => {};
|
|
483
|
+
static getPropertyDescriptor = () => {};
|
|
484
|
+
static getPropertyOptions = () => {};
|
|
485
|
+
static finalize = () => {};
|
|
486
|
+
static finalizeStyles = () => {};
|
|
487
|
+
static shadowRootOptions = { mode: "open" };
|
|
611
488
|
};
|
|
612
489
|
export const EditorFilterControl = class {
|
|
613
|
-
static
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
617
|
-
</button>
|
|
618
|
-
`;
|
|
619
|
-
static reg = () => {};
|
|
490
|
+
static elementProperties = {};
|
|
491
|
+
static finalized = {};
|
|
492
|
+
static elementStyles = [];
|
|
620
493
|
static styleAttrs = [];
|
|
621
|
-
static
|
|
622
|
-
static
|
|
494
|
+
static reg = () => {};
|
|
495
|
+
static addInitializer = () => {};
|
|
496
|
+
static createProperty = () => {};
|
|
497
|
+
static getPropertyDescriptor = () => {};
|
|
498
|
+
static getPropertyOptions = () => {};
|
|
499
|
+
static finalize = () => {};
|
|
500
|
+
static finalizeStyles = () => {};
|
|
501
|
+
static shadowRootOptions = { mode: "open" };
|
|
623
502
|
};
|
|
624
503
|
export const EditorFreeformButtonControl = class {
|
|
625
|
-
static
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
629
|
-
</button>
|
|
630
|
-
`;
|
|
631
|
-
static reg = () => {};
|
|
504
|
+
static elementProperties = {};
|
|
505
|
+
static finalized = {};
|
|
506
|
+
static elementStyles = [];
|
|
632
507
|
static styleAttrs = [];
|
|
633
|
-
static
|
|
634
|
-
static
|
|
508
|
+
static reg = () => {};
|
|
509
|
+
static addInitializer = () => {};
|
|
510
|
+
static createProperty = () => {};
|
|
511
|
+
static getPropertyDescriptor = () => {};
|
|
512
|
+
static getPropertyOptions = () => {};
|
|
513
|
+
static finalize = () => {};
|
|
514
|
+
static finalizeStyles = () => {};
|
|
515
|
+
static shadowRootOptions = { mode: "open" };
|
|
635
516
|
};
|
|
636
517
|
export const EditorImageCropper = class {
|
|
637
|
-
static
|
|
638
|
-
<canvas class="uc-canvas" ref="canvas-el"></canvas>
|
|
639
|
-
<uc-crop-frame ref="frame-el"></uc-crop-frame>
|
|
640
|
-
`;
|
|
641
|
-
static reg = () => {};
|
|
518
|
+
static elementProperties = {};
|
|
642
519
|
static styleAttrs = [];
|
|
643
|
-
static
|
|
644
|
-
static
|
|
520
|
+
static finalized = {};
|
|
521
|
+
static elementStyles = [];
|
|
522
|
+
static reg = () => {};
|
|
523
|
+
static addInitializer = () => {};
|
|
524
|
+
static createProperty = () => {};
|
|
525
|
+
static getPropertyDescriptor = () => {};
|
|
526
|
+
static getPropertyOptions = () => {};
|
|
527
|
+
static finalize = () => {};
|
|
528
|
+
static finalizeStyles = () => {};
|
|
529
|
+
static shadowRootOptions = { mode: "open" };
|
|
645
530
|
};
|
|
646
531
|
export const EditorImageFader = class {
|
|
647
|
-
static reg = () => {};
|
|
648
532
|
static styleAttrs = [];
|
|
649
|
-
static
|
|
650
|
-
static
|
|
533
|
+
static finalized = {};
|
|
534
|
+
static elementProperties = {};
|
|
535
|
+
static elementStyles = [];
|
|
536
|
+
static reg = () => {};
|
|
537
|
+
static addInitializer = () => {};
|
|
538
|
+
static createProperty = () => {};
|
|
539
|
+
static getPropertyDescriptor = () => {};
|
|
540
|
+
static getPropertyOptions = () => {};
|
|
541
|
+
static finalize = () => {};
|
|
542
|
+
static finalizeStyles = () => {};
|
|
543
|
+
static shadowRootOptions = { mode: "open" };
|
|
651
544
|
};
|
|
652
545
|
export const EditorOperationControl = class {
|
|
653
|
-
static
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
657
|
-
</button>
|
|
658
|
-
`;
|
|
659
|
-
static reg = () => {};
|
|
546
|
+
static elementProperties = {};
|
|
547
|
+
static finalized = {};
|
|
548
|
+
static elementStyles = [];
|
|
660
549
|
static styleAttrs = [];
|
|
661
|
-
static
|
|
662
|
-
static
|
|
550
|
+
static reg = () => {};
|
|
551
|
+
static addInitializer = () => {};
|
|
552
|
+
static createProperty = () => {};
|
|
553
|
+
static getPropertyDescriptor = () => {};
|
|
554
|
+
static getPropertyOptions = () => {};
|
|
555
|
+
static finalize = () => {};
|
|
556
|
+
static finalizeStyles = () => {};
|
|
557
|
+
static shadowRootOptions = { mode: "open" };
|
|
663
558
|
};
|
|
664
559
|
export const EditorScroller = class {
|
|
665
|
-
static
|
|
666
|
-
static reg = () => {};
|
|
560
|
+
static elementProperties = {};
|
|
667
561
|
static styleAttrs = [];
|
|
668
|
-
static
|
|
669
|
-
static
|
|
562
|
+
static finalized = {};
|
|
563
|
+
static elementStyles = [];
|
|
564
|
+
static reg = () => {};
|
|
565
|
+
static addInitializer = () => {};
|
|
566
|
+
static createProperty = () => {};
|
|
567
|
+
static getPropertyDescriptor = () => {};
|
|
568
|
+
static getPropertyOptions = () => {};
|
|
569
|
+
static finalize = () => {};
|
|
570
|
+
static finalizeStyles = () => {};
|
|
571
|
+
static shadowRootOptions = { mode: "open" };
|
|
670
572
|
};
|
|
671
573
|
export const EditorSlider = class {
|
|
672
|
-
static
|
|
673
|
-
<uc-slider-ui
|
|
674
|
-
ref="slider-el"
|
|
675
|
-
set="disabled: disabled; min: min; max: max; defaultValue: defaultValue; zero: zero; onInput: on.input;"
|
|
676
|
-
></uc-slider-ui>
|
|
677
|
-
`;
|
|
678
|
-
static reg = () => {};
|
|
574
|
+
static elementProperties = {};
|
|
679
575
|
static styleAttrs = [];
|
|
680
|
-
static
|
|
681
|
-
static
|
|
576
|
+
static finalized = {};
|
|
577
|
+
static elementStyles = [];
|
|
578
|
+
static reg = () => {};
|
|
579
|
+
static addInitializer = () => {};
|
|
580
|
+
static createProperty = () => {};
|
|
581
|
+
static getPropertyDescriptor = () => {};
|
|
582
|
+
static getPropertyOptions = () => {};
|
|
583
|
+
static finalize = () => {};
|
|
584
|
+
static finalizeStyles = () => {};
|
|
585
|
+
static shadowRootOptions = { mode: "open" };
|
|
682
586
|
};
|
|
683
587
|
export const EditorToolbar = class {
|
|
684
|
-
static
|
|
685
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
686
|
-
<div class="uc-info-tooltip_container">
|
|
687
|
-
<div class="uc-info-tooltip_wrapper">
|
|
688
|
-
<div ref="tooltip-el" class="uc-info-tooltip uc-info-tooltip_hidden">{{*operationTooltip}}</div>
|
|
689
|
-
</div>
|
|
690
|
-
</div>
|
|
691
|
-
<div class="uc-toolbar-container">
|
|
692
|
-
<uc-presence-toggle
|
|
693
|
-
role="tablist"
|
|
694
|
-
class="uc-sub-toolbar"
|
|
695
|
-
set="visible: presence.mainToolbar; styles: presence.subTopToolbarStyles"
|
|
696
|
-
>
|
|
697
|
-
<div class="uc-tab-content-row">
|
|
698
|
-
<uc-presence-toggle
|
|
699
|
-
id="tab_crop"
|
|
700
|
-
class="uc-tab-content"
|
|
701
|
-
set="visible: presence.tabContent.crop; styles: presence.tabContentStyles"
|
|
702
|
-
>
|
|
703
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
704
|
-
<div class="uc-controls-list_align">
|
|
705
|
-
<div
|
|
706
|
-
role="listbox"
|
|
707
|
-
aria-orientation="horizontal"
|
|
708
|
-
class="uc-controls-list_inner"
|
|
709
|
-
ref="controls-list-crop"
|
|
710
|
-
></div>
|
|
711
|
-
</div>
|
|
712
|
-
</uc-editor-scroller>
|
|
713
|
-
</uc-presence-toggle>
|
|
714
|
-
|
|
715
|
-
<uc-presence-toggle
|
|
716
|
-
id="tab_tuning"
|
|
717
|
-
class="uc-tab-content"
|
|
718
|
-
set="visible: presence.tabContent.tuning; styles: presence.tabContentStyles"
|
|
719
|
-
>
|
|
720
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
721
|
-
<div class="uc-controls-list_align">
|
|
722
|
-
<div
|
|
723
|
-
role="listbox"
|
|
724
|
-
aria-orientation="horizontal"
|
|
725
|
-
class="uc-controls-list_inner"
|
|
726
|
-
ref="controls-list-tuning"
|
|
727
|
-
></div>
|
|
728
|
-
</div>
|
|
729
|
-
</uc-editor-scroller>
|
|
730
|
-
</uc-presence-toggle>
|
|
731
|
-
|
|
732
|
-
<uc-presence-toggle
|
|
733
|
-
id="tab_filters"
|
|
734
|
-
class="uc-tab-content"
|
|
735
|
-
set="visible: presence.tabContent.filters; styles: presence.tabContentStyles"
|
|
736
|
-
>
|
|
737
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
738
|
-
<div class="uc-controls-list_align">
|
|
739
|
-
<div
|
|
740
|
-
role="listbox"
|
|
741
|
-
aria-orientation="horizontal"
|
|
742
|
-
class="uc-controls-list_inner"
|
|
743
|
-
ref="controls-list-filters"
|
|
744
|
-
></div>
|
|
745
|
-
</div>
|
|
746
|
-
</uc-editor-scroller>
|
|
747
|
-
</uc-presence-toggle>
|
|
748
|
-
</div>
|
|
749
|
-
<div class="uc-controls-row">
|
|
750
|
-
<uc-presence-toggle
|
|
751
|
-
class="uc-tab-toggles"
|
|
752
|
-
set="visible: presence.tabToggles; styles: presence.tabTogglesStyles"
|
|
753
|
-
>
|
|
754
|
-
<div ref="tabs-indicator" class="uc-tab-toggles_indicator"></div>
|
|
755
|
-
|
|
756
|
-
<uc-presence-toggle
|
|
757
|
-
class="uc-tab-toggle"
|
|
758
|
-
set="visible: presence.tabToggle.crop; styles: presence.tabToggleStyles;"
|
|
759
|
-
>
|
|
760
|
-
<uc-btn-ui
|
|
761
|
-
theme="tab"
|
|
762
|
-
ref="tab-toggle-crop"
|
|
763
|
-
data-id="crop"
|
|
764
|
-
icon="crop"
|
|
765
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_crop; title-prop: a11y-editor-tab-crop"
|
|
766
|
-
>
|
|
767
|
-
</uc-btn-ui>
|
|
768
|
-
</uc-presence-toggle>
|
|
769
|
-
|
|
770
|
-
<uc-presence-toggle
|
|
771
|
-
class="uc-tab-toggle"
|
|
772
|
-
set="visible: presence.tabToggle.tuning; styles: presence.tabToggleStyles;"
|
|
773
|
-
>
|
|
774
|
-
<uc-btn-ui
|
|
775
|
-
theme="tab"
|
|
776
|
-
ref="tab-toggle-tuning"
|
|
777
|
-
data-id="tuning"
|
|
778
|
-
icon="tuning"
|
|
779
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_tuning; title-prop: a11y-editor-tab-tuning"
|
|
780
|
-
>
|
|
781
|
-
</uc-btn-ui>
|
|
782
|
-
</uc-presence-toggle>
|
|
783
|
-
|
|
784
|
-
<uc-presence-toggle
|
|
785
|
-
class="uc-tab-toggle"
|
|
786
|
-
set="visible: presence.tabToggle.filters; styles: presence.tabToggleStyles;"
|
|
787
|
-
>
|
|
788
|
-
<uc-btn-ui
|
|
789
|
-
theme="tab"
|
|
790
|
-
ref="tab-toggle-filters"
|
|
791
|
-
data-id="filters"
|
|
792
|
-
icon="filters"
|
|
793
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_filters; title-prop: a11y-editor-tab-filters"
|
|
794
|
-
>
|
|
795
|
-
</uc-btn-ui>
|
|
796
|
-
</uc-presence-toggle>
|
|
797
|
-
|
|
798
|
-
</uc-presence-toggle>
|
|
799
|
-
<uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" set="onclick: on.cancel; title-prop:cancel">
|
|
800
|
-
</uc-btn-ui>
|
|
801
|
-
<uc-btn-ui theme="primary-icon" icon="done" set="onclick: on.apply; title-prop:apply"> </uc-btn-ui>
|
|
802
|
-
</div>
|
|
803
|
-
</uc-presence-toggle>
|
|
804
|
-
<uc-presence-toggle
|
|
805
|
-
class="uc-sub-toolbar"
|
|
806
|
-
set="visible: presence.subToolbar; styles: presence.subBottomToolbarStyles"
|
|
807
|
-
>
|
|
808
|
-
<div class="uc-slider" set="@hidden:!hideSliderOrList">
|
|
809
|
-
<uc-editor-slider ref="slider-el"></uc-editor-slider>
|
|
810
|
-
</div>
|
|
811
|
-
|
|
812
|
-
<div set="@hidden:hideSliderOrList" class="uc-list-aspect-ratio-container">
|
|
813
|
-
<div class="uc-list-aspect-ratio" ref="list-el"></div>
|
|
814
|
-
</div>
|
|
815
|
-
<div class="uc-controls-row">
|
|
816
|
-
<uc-btn-ui theme="secondary" set="onclick: on.cancelSlider; title-prop:cancel" l10n="@text:cancel"> </uc-btn-ui>
|
|
817
|
-
<uc-btn-ui theme="primary" set="onclick: on.applySlider; title-prop:apply" l10n="@text:apply"> </uc-btn-ui>
|
|
818
|
-
</div>
|
|
819
|
-
</uc-presence-toggle>
|
|
820
|
-
</div>
|
|
821
|
-
`;
|
|
822
|
-
static reg = () => {};
|
|
588
|
+
static elementProperties = {};
|
|
823
589
|
static styleAttrs = [];
|
|
824
|
-
static
|
|
825
|
-
static
|
|
590
|
+
static finalized = {};
|
|
591
|
+
static elementStyles = [];
|
|
592
|
+
static reg = () => {};
|
|
593
|
+
static addInitializer = () => {};
|
|
594
|
+
static createProperty = () => {};
|
|
595
|
+
static getPropertyDescriptor = () => {};
|
|
596
|
+
static getPropertyOptions = () => {};
|
|
597
|
+
static finalize = () => {};
|
|
598
|
+
static finalizeStyles = () => {};
|
|
599
|
+
static shadowRootOptions = { mode: "open" };
|
|
826
600
|
};
|
|
827
601
|
export const ExternalSource = class {
|
|
828
|
-
static
|
|
829
|
-
<uc-activity-header>
|
|
830
|
-
<button
|
|
831
|
-
type="button"
|
|
832
|
-
class="uc-mini-btn uc-close-btn"
|
|
833
|
-
set="onclick: *historyBack"
|
|
834
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
835
|
-
>
|
|
836
|
-
<uc-icon name="close"></uc-icon>
|
|
837
|
-
</button>
|
|
838
|
-
</uc-activity-header>
|
|
839
|
-
<div class="uc-content">
|
|
840
|
-
<div ref="iframeWrapper" class="uc-iframe-wrapper"></div>
|
|
841
|
-
<div class="uc-toolbar" set="@hidden: !toolbarVisible">
|
|
842
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel" l10n="cancel"></button>
|
|
843
|
-
<div set="@hidden: !showSelectionStatus" class="uc-selection-status-box">
|
|
844
|
-
<span>{{counterText}}</span>
|
|
845
|
-
<button type="button" set="onclick: onSelectAll; @hidden: !couldSelectAll" l10n="select-all"></button>
|
|
846
|
-
<button type="button" set="onclick: onDeselectAll; @hidden: !couldDeselectAll" l10n="deselect-all"></button>
|
|
847
|
-
</div>
|
|
848
|
-
<button
|
|
849
|
-
type="button"
|
|
850
|
-
class="uc-done-btn uc-primary-btn"
|
|
851
|
-
set="onclick: onDone; @disabled: !isDoneBtnEnabled; @hidden: !showDoneBtn"
|
|
852
|
-
>
|
|
853
|
-
<uc-spinner set="@hidden: isSelectionReady"></uc-spinner>
|
|
854
|
-
<span l10n="done" set="@class: doneBtnTextClass"></span>
|
|
855
|
-
</button>
|
|
856
|
-
</div>
|
|
857
|
-
</div>
|
|
858
|
-
`;
|
|
602
|
+
static elementProperties = {};
|
|
859
603
|
static extSrcList = {
|
|
860
604
|
FACEBOOK: "facebook",
|
|
861
605
|
DROPBOX: "dropbox",
|
|
@@ -889,6 +633,8 @@ export const ExternalSource = class {
|
|
|
889
633
|
ONEDRIVE: "onedrive",
|
|
890
634
|
HUDDLE: "huddle",
|
|
891
635
|
};
|
|
636
|
+
static finalized = {};
|
|
637
|
+
static elementStyles = [];
|
|
892
638
|
static activities = {
|
|
893
639
|
START_FROM: "start-from",
|
|
894
640
|
CAMERA: "camera",
|
|
@@ -898,10 +644,15 @@ export const ExternalSource = class {
|
|
|
898
644
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
899
645
|
EXTERNAL: "external",
|
|
900
646
|
};
|
|
901
|
-
static reg = () => {};
|
|
902
647
|
static styleAttrs = [];
|
|
903
|
-
static
|
|
904
|
-
static
|
|
648
|
+
static reg = () => {};
|
|
649
|
+
static addInitializer = () => {};
|
|
650
|
+
static createProperty = () => {};
|
|
651
|
+
static getPropertyDescriptor = () => {};
|
|
652
|
+
static getPropertyOptions = () => {};
|
|
653
|
+
static finalize = () => {};
|
|
654
|
+
static finalizeStyles = () => {};
|
|
655
|
+
static shadowRootOptions = { mode: "open" };
|
|
905
656
|
};
|
|
906
657
|
export const ExternalUploadSource = {
|
|
907
658
|
FACEBOOK: "facebook",
|
|
@@ -916,45 +667,10 @@ export const ExternalUploadSource = {
|
|
|
916
667
|
HUDDLE: "huddle",
|
|
917
668
|
};
|
|
918
669
|
export const FileItem = class {
|
|
919
|
-
static template = `
|
|
920
|
-
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
921
|
-
<uc-thumb set="uid:uid;badgeIcon:badgeIcon"></uc-thumb>
|
|
922
|
-
|
|
923
|
-
<div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
|
|
924
|
-
<span class="uc-file-name" set="@hidden: !showFileNames">{{itemName}}</span>
|
|
925
|
-
<span class="uc-file-error" set="@hidden: !errorText;">{{errorText}}</span>
|
|
926
|
-
<span class="uc-file-hint" set="@hidden: !hint">{{hint}}</span>
|
|
927
|
-
</div>
|
|
928
|
-
<div class="uc-file-actions">
|
|
929
|
-
<button
|
|
930
|
-
type="button"
|
|
931
|
-
l10n="@title:file-item-edit-button;@aria-label:file-item-edit-button"
|
|
932
|
-
class="uc-edit-btn uc-mini-btn"
|
|
933
|
-
set="onclick: onEdit; @hidden: !isEditable"
|
|
934
|
-
data-testid="edit"
|
|
935
|
-
>
|
|
936
|
-
<uc-icon name="edit-file"></uc-icon>
|
|
937
|
-
</button>
|
|
938
|
-
<button
|
|
939
|
-
type="button"
|
|
940
|
-
l10n="@title:file-item-remove-button;@aria-label:file-item-remove-button"
|
|
941
|
-
class="uc-remove-btn uc-mini-btn"
|
|
942
|
-
set="onclick: onRemove;"
|
|
943
|
-
>
|
|
944
|
-
<uc-icon name="remove-file"></uc-icon>
|
|
945
|
-
</button>
|
|
946
|
-
<button type="button" class="uc-upload-btn uc-mini-btn" set="onclick: onUpload;">
|
|
947
|
-
<uc-icon name="upload"></uc-icon>
|
|
948
|
-
</button>
|
|
949
|
-
</div>
|
|
950
|
-
<uc-progress-bar
|
|
951
|
-
class="uc-progress-bar"
|
|
952
|
-
set="value: progressValue; visible: progressVisible; @hasFileName: showFileNames;"
|
|
953
|
-
>
|
|
954
|
-
</uc-progress-bar>
|
|
955
|
-
</div>
|
|
956
|
-
`;
|
|
957
670
|
static activeInstances = {};
|
|
671
|
+
static elementProperties = {};
|
|
672
|
+
static finalized = {};
|
|
673
|
+
static elementStyles = [];
|
|
958
674
|
static extSrcList = {
|
|
959
675
|
FACEBOOK: "facebook",
|
|
960
676
|
DROPBOX: "dropbox",
|
|
@@ -997,31 +713,60 @@ export const FileItem = class {
|
|
|
997
713
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
998
714
|
EXTERNAL: "external",
|
|
999
715
|
};
|
|
1000
|
-
static reg = () => {};
|
|
1001
716
|
static styleAttrs = [];
|
|
1002
|
-
static
|
|
1003
|
-
static
|
|
717
|
+
static reg = () => {};
|
|
718
|
+
static addInitializer = () => {};
|
|
719
|
+
static createProperty = () => {};
|
|
720
|
+
static getPropertyDescriptor = () => {};
|
|
721
|
+
static getPropertyOptions = () => {};
|
|
722
|
+
static finalize = () => {};
|
|
723
|
+
static finalizeStyles = () => {};
|
|
724
|
+
static shadowRootOptions = { mode: "open" };
|
|
1004
725
|
};
|
|
1005
726
|
export const FileUploaderInline = class {
|
|
1006
727
|
static styleAttrs = [];
|
|
728
|
+
static elementProperties = {};
|
|
729
|
+
static finalized = {};
|
|
730
|
+
static elementStyles = [];
|
|
1007
731
|
static reg = () => {};
|
|
1008
|
-
static
|
|
1009
|
-
static
|
|
732
|
+
static addInitializer = () => {};
|
|
733
|
+
static createProperty = () => {};
|
|
734
|
+
static getPropertyDescriptor = () => {};
|
|
735
|
+
static getPropertyOptions = () => {};
|
|
736
|
+
static finalize = () => {};
|
|
737
|
+
static finalizeStyles = () => {};
|
|
738
|
+
static shadowRootOptions = { mode: "open" };
|
|
1010
739
|
};
|
|
1011
740
|
export const FileUploaderMinimal = class {
|
|
1012
741
|
static styleAttrs = [];
|
|
742
|
+
static elementProperties = {};
|
|
743
|
+
static finalized = {};
|
|
744
|
+
static elementStyles = [];
|
|
1013
745
|
static reg = () => {};
|
|
1014
|
-
static
|
|
1015
|
-
static
|
|
746
|
+
static addInitializer = () => {};
|
|
747
|
+
static createProperty = () => {};
|
|
748
|
+
static getPropertyDescriptor = () => {};
|
|
749
|
+
static getPropertyOptions = () => {};
|
|
750
|
+
static finalize = () => {};
|
|
751
|
+
static finalizeStyles = () => {};
|
|
752
|
+
static shadowRootOptions = { mode: "open" };
|
|
1016
753
|
};
|
|
1017
754
|
export const FileUploaderRegular = class {
|
|
1018
755
|
static styleAttrs = [];
|
|
1019
|
-
static
|
|
756
|
+
static elementProperties = {};
|
|
757
|
+
static finalized = {};
|
|
758
|
+
static elementStyles = [];
|
|
1020
759
|
static reg = () => {};
|
|
1021
|
-
static
|
|
1022
|
-
static
|
|
760
|
+
static addInitializer = () => {};
|
|
761
|
+
static createProperty = () => {};
|
|
762
|
+
static getPropertyDescriptor = () => {};
|
|
763
|
+
static getPropertyOptions = () => {};
|
|
764
|
+
static finalize = () => {};
|
|
765
|
+
static finalizeStyles = () => {};
|
|
766
|
+
static shadowRootOptions = { mode: "open" };
|
|
1023
767
|
};
|
|
1024
768
|
export const FormInput = class {
|
|
769
|
+
static elementProperties = {};
|
|
1025
770
|
static extSrcList = {
|
|
1026
771
|
FACEBOOK: "facebook",
|
|
1027
772
|
DROPBOX: "dropbox",
|
|
@@ -1055,6 +800,8 @@ export const FormInput = class {
|
|
|
1055
800
|
ONEDRIVE: "onedrive",
|
|
1056
801
|
HUDDLE: "huddle",
|
|
1057
802
|
};
|
|
803
|
+
static finalized = {};
|
|
804
|
+
static elementStyles = [];
|
|
1058
805
|
static activities = {
|
|
1059
806
|
START_FROM: "start-from",
|
|
1060
807
|
CAMERA: "camera",
|
|
@@ -1064,22 +811,29 @@ export const FormInput = class {
|
|
|
1064
811
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1065
812
|
EXTERNAL: "external",
|
|
1066
813
|
};
|
|
1067
|
-
static reg = () => {};
|
|
1068
814
|
static styleAttrs = [];
|
|
1069
|
-
static
|
|
1070
|
-
static
|
|
815
|
+
static reg = () => {};
|
|
816
|
+
static addInitializer = () => {};
|
|
817
|
+
static createProperty = () => {};
|
|
818
|
+
static getPropertyDescriptor = () => {};
|
|
819
|
+
static getPropertyOptions = () => {};
|
|
820
|
+
static finalize = () => {};
|
|
821
|
+
static finalizeStyles = () => {};
|
|
822
|
+
static shadowRootOptions = { mode: "open" };
|
|
1071
823
|
};
|
|
1072
824
|
export const Icon = class {
|
|
1073
|
-
static
|
|
1074
|
-
<svg ref="svg" xmlns="http://www.w3.org/2000/svg">
|
|
1075
|
-
<use set="@href: href;"></use>
|
|
1076
|
-
</svg>
|
|
1077
|
-
`;
|
|
1078
|
-
static observedAttributes = ["name"];
|
|
1079
|
-
static reg = () => {};
|
|
825
|
+
static elementProperties = {};
|
|
1080
826
|
static styleAttrs = [];
|
|
1081
|
-
static
|
|
1082
|
-
static
|
|
827
|
+
static finalized = {};
|
|
828
|
+
static elementStyles = [];
|
|
829
|
+
static reg = () => {};
|
|
830
|
+
static addInitializer = () => {};
|
|
831
|
+
static createProperty = () => {};
|
|
832
|
+
static getPropertyDescriptor = () => {};
|
|
833
|
+
static getPropertyOptions = () => {};
|
|
834
|
+
static finalize = () => {};
|
|
835
|
+
static finalizeStyles = () => {};
|
|
836
|
+
static shadowRootOptions = { mode: "open" };
|
|
1083
837
|
};
|
|
1084
838
|
export const Img = class {
|
|
1085
839
|
static observedAttributes = [
|
|
@@ -1103,31 +857,44 @@ export const Img = class {
|
|
|
1103
857
|
"is-preview-blur",
|
|
1104
858
|
];
|
|
1105
859
|
static reg = () => {};
|
|
1106
|
-
static
|
|
1107
|
-
static
|
|
860
|
+
static finalized = {};
|
|
861
|
+
static addInitializer = () => {};
|
|
862
|
+
static createProperty = () => {};
|
|
863
|
+
static getPropertyDescriptor = () => {};
|
|
864
|
+
static getPropertyOptions = () => {};
|
|
865
|
+
static finalize = () => {};
|
|
866
|
+
static finalizeStyles = () => {};
|
|
867
|
+
static elementStyles = [];
|
|
868
|
+
static shadowRootOptions = { mode: "open" };
|
|
869
|
+
static elementProperties = {};
|
|
1108
870
|
};
|
|
1109
871
|
export const LineLoaderUi = class {
|
|
1110
|
-
static
|
|
1111
|
-
<div class="uc-inner">
|
|
1112
|
-
<div class="uc-line" ref="line-el"></div>
|
|
1113
|
-
</div>
|
|
1114
|
-
`;
|
|
1115
|
-
static reg = () => {};
|
|
872
|
+
static elementProperties = {};
|
|
1116
873
|
static styleAttrs = [];
|
|
1117
|
-
static
|
|
1118
|
-
static
|
|
874
|
+
static finalized = {};
|
|
875
|
+
static elementStyles = [];
|
|
876
|
+
static reg = () => {};
|
|
877
|
+
static addInitializer = () => {};
|
|
878
|
+
static createProperty = () => {};
|
|
879
|
+
static getPropertyDescriptor = () => {};
|
|
880
|
+
static getPropertyOptions = () => {};
|
|
881
|
+
static finalize = () => {};
|
|
882
|
+
static finalizeStyles = () => {};
|
|
883
|
+
static shadowRootOptions = { mode: "open" };
|
|
1119
884
|
};
|
|
1120
885
|
export const Modal = class {
|
|
1121
886
|
static styleAttrs = [];
|
|
1122
|
-
static
|
|
1123
|
-
static
|
|
1124
|
-
|
|
1125
|
-
<slot></slot>
|
|
1126
|
-
</dialog>
|
|
1127
|
-
`;
|
|
887
|
+
static elementProperties = {};
|
|
888
|
+
static finalized = {};
|
|
889
|
+
static elementStyles = [];
|
|
1128
890
|
static reg = () => {};
|
|
1129
|
-
static
|
|
1130
|
-
static
|
|
891
|
+
static addInitializer = () => {};
|
|
892
|
+
static createProperty = () => {};
|
|
893
|
+
static getPropertyDescriptor = () => {};
|
|
894
|
+
static getPropertyOptions = () => {};
|
|
895
|
+
static finalize = () => {};
|
|
896
|
+
static finalizeStyles = () => {};
|
|
897
|
+
static shadowRootOptions = { mode: "open" };
|
|
1131
898
|
};
|
|
1132
899
|
export const ModalEvents = {
|
|
1133
900
|
ADD: "modal:add",
|
|
@@ -1138,27 +905,37 @@ export const ModalEvents = {
|
|
|
1138
905
|
DESTROY: "modal:destroy",
|
|
1139
906
|
};
|
|
1140
907
|
export const PACKAGE_NAME = `blocks`;
|
|
1141
|
-
export const PACKAGE_VERSION = `1.
|
|
908
|
+
export const PACKAGE_VERSION = `1.26.1`;
|
|
1142
909
|
export const PresenceToggle = class {
|
|
1143
|
-
static
|
|
1144
|
-
static reg = () => {};
|
|
910
|
+
static elementProperties = {};
|
|
1145
911
|
static styleAttrs = [];
|
|
1146
|
-
static
|
|
1147
|
-
static
|
|
912
|
+
static finalized = {};
|
|
913
|
+
static elementStyles = [];
|
|
914
|
+
static reg = () => {};
|
|
915
|
+
static addInitializer = () => {};
|
|
916
|
+
static createProperty = () => {};
|
|
917
|
+
static getPropertyDescriptor = () => {};
|
|
918
|
+
static getPropertyOptions = () => {};
|
|
919
|
+
static finalize = () => {};
|
|
920
|
+
static finalizeStyles = () => {};
|
|
921
|
+
static shadowRootOptions = { mode: "open" };
|
|
1148
922
|
};
|
|
1149
923
|
export const ProgressBar = class {
|
|
1150
|
-
static
|
|
1151
|
-
<div ref="fakeProgressLine" class="uc-fake-progress"></div>
|
|
1152
|
-
<div ref="realProgressLine" class="uc-progress"></div>
|
|
1153
|
-
`;
|
|
1154
|
-
static reg = () => {};
|
|
924
|
+
static elementProperties = {};
|
|
1155
925
|
static styleAttrs = [];
|
|
1156
|
-
static
|
|
1157
|
-
static
|
|
926
|
+
static finalized = {};
|
|
927
|
+
static elementStyles = [];
|
|
928
|
+
static reg = () => {};
|
|
929
|
+
static addInitializer = () => {};
|
|
930
|
+
static createProperty = () => {};
|
|
931
|
+
static getPropertyDescriptor = () => {};
|
|
932
|
+
static getPropertyOptions = () => {};
|
|
933
|
+
static finalize = () => {};
|
|
934
|
+
static finalizeStyles = () => {};
|
|
935
|
+
static shadowRootOptions = { mode: "open" };
|
|
1158
936
|
};
|
|
1159
937
|
export const ProgressBarCommon = class {
|
|
1160
|
-
static
|
|
1161
|
-
` <uc-progress-bar set="visible: visible; value: value"></uc-progress-bar> `;
|
|
938
|
+
static elementProperties = {};
|
|
1162
939
|
static extSrcList = {
|
|
1163
940
|
FACEBOOK: "facebook",
|
|
1164
941
|
DROPBOX: "dropbox",
|
|
@@ -1192,6 +969,8 @@ export const ProgressBarCommon = class {
|
|
|
1192
969
|
ONEDRIVE: "onedrive",
|
|
1193
970
|
HUDDLE: "huddle",
|
|
1194
971
|
};
|
|
972
|
+
static finalized = {};
|
|
973
|
+
static elementStyles = [];
|
|
1195
974
|
static activities = {
|
|
1196
975
|
START_FROM: "start-from",
|
|
1197
976
|
CAMERA: "camera",
|
|
@@ -1201,32 +980,33 @@ export const ProgressBarCommon = class {
|
|
|
1201
980
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1202
981
|
EXTERNAL: "external",
|
|
1203
982
|
};
|
|
1204
|
-
static reg = () => {};
|
|
1205
983
|
static styleAttrs = [];
|
|
1206
|
-
static
|
|
1207
|
-
static
|
|
984
|
+
static reg = () => {};
|
|
985
|
+
static addInitializer = () => {};
|
|
986
|
+
static createProperty = () => {};
|
|
987
|
+
static getPropertyDescriptor = () => {};
|
|
988
|
+
static getPropertyOptions = () => {};
|
|
989
|
+
static finalize = () => {};
|
|
990
|
+
static finalizeStyles = () => {};
|
|
991
|
+
static shadowRootOptions = { mode: "open" };
|
|
1208
992
|
};
|
|
1209
993
|
export const Select = class {
|
|
1210
|
-
static
|
|
1211
|
-
` <select ref="select" set="innerHTML: selectHtml; onchange: onSelect"></select> `;
|
|
1212
|
-
static reg = () => {};
|
|
994
|
+
static elementProperties = {};
|
|
1213
995
|
static styleAttrs = [];
|
|
1214
|
-
static
|
|
1215
|
-
static
|
|
996
|
+
static finalized = {};
|
|
997
|
+
static elementStyles = [];
|
|
998
|
+
static reg = () => {};
|
|
999
|
+
static addInitializer = () => {};
|
|
1000
|
+
static createProperty = () => {};
|
|
1001
|
+
static getPropertyDescriptor = () => {};
|
|
1002
|
+
static getPropertyOptions = () => {};
|
|
1003
|
+
static finalize = () => {};
|
|
1004
|
+
static finalizeStyles = () => {};
|
|
1005
|
+
static shadowRootOptions = { mode: "open" };
|
|
1216
1006
|
};
|
|
1217
1007
|
export const SimpleBtn = class {
|
|
1218
1008
|
static styleAttrs = [];
|
|
1219
|
-
static
|
|
1220
|
-
<uc-drop-area set="@disabled: !withDropZone">
|
|
1221
|
-
<button type="button" set="onclick: onClick">
|
|
1222
|
-
<uc-icon name="upload"></uc-icon>
|
|
1223
|
-
<span l10n="button-text"></span>
|
|
1224
|
-
<slot></slot>
|
|
1225
|
-
<div class="uc-visual-drop-area" l10n="drop-files-here"></div>
|
|
1226
|
-
</button>
|
|
1227
|
-
</uc-drop-area>
|
|
1228
|
-
`;
|
|
1229
|
-
static observedAttributes = ["dropzone"];
|
|
1009
|
+
static elementProperties = {};
|
|
1230
1010
|
static extSrcList = {
|
|
1231
1011
|
FACEBOOK: "facebook",
|
|
1232
1012
|
DROPBOX: "dropbox",
|
|
@@ -1260,6 +1040,8 @@ export const SimpleBtn = class {
|
|
|
1260
1040
|
ONEDRIVE: "onedrive",
|
|
1261
1041
|
HUDDLE: "huddle",
|
|
1262
1042
|
};
|
|
1043
|
+
static finalized = {};
|
|
1044
|
+
static elementStyles = [];
|
|
1263
1045
|
static activities = {
|
|
1264
1046
|
START_FROM: "start-from",
|
|
1265
1047
|
CAMERA: "camera",
|
|
@@ -1270,39 +1052,44 @@ export const SimpleBtn = class {
|
|
|
1270
1052
|
EXTERNAL: "external",
|
|
1271
1053
|
};
|
|
1272
1054
|
static reg = () => {};
|
|
1273
|
-
static
|
|
1274
|
-
static
|
|
1055
|
+
static addInitializer = () => {};
|
|
1056
|
+
static createProperty = () => {};
|
|
1057
|
+
static getPropertyDescriptor = () => {};
|
|
1058
|
+
static getPropertyOptions = () => {};
|
|
1059
|
+
static finalize = () => {};
|
|
1060
|
+
static finalizeStyles = () => {};
|
|
1061
|
+
static shadowRootOptions = { mode: "open" };
|
|
1275
1062
|
};
|
|
1276
1063
|
export const SliderUi = class {
|
|
1277
|
-
static
|
|
1278
|
-
<div class="uc-steps" ref="steps-el"></div>
|
|
1279
|
-
<div ref="thumb-el" class="uc-thumb"></div>
|
|
1280
|
-
<input
|
|
1281
|
-
class="uc-input"
|
|
1282
|
-
type="range"
|
|
1283
|
-
ref="input-el"
|
|
1284
|
-
set="oninput: on.sliderInput; onchange: on.sliderChange; @min: min; @max: max; @value: defaultValue;"
|
|
1285
|
-
/>
|
|
1286
|
-
`;
|
|
1287
|
-
static reg = () => {};
|
|
1064
|
+
static elementProperties = {};
|
|
1288
1065
|
static styleAttrs = [];
|
|
1289
|
-
static
|
|
1290
|
-
static
|
|
1066
|
+
static finalized = {};
|
|
1067
|
+
static elementStyles = [];
|
|
1068
|
+
static reg = () => {};
|
|
1069
|
+
static addInitializer = () => {};
|
|
1070
|
+
static createProperty = () => {};
|
|
1071
|
+
static getPropertyDescriptor = () => {};
|
|
1072
|
+
static getPropertyOptions = () => {};
|
|
1073
|
+
static finalize = () => {};
|
|
1074
|
+
static finalizeStyles = () => {};
|
|
1075
|
+
static shadowRootOptions = { mode: "open" };
|
|
1291
1076
|
};
|
|
1292
1077
|
export const SolutionBlock = class {
|
|
1293
1078
|
static styleAttrs = [];
|
|
1079
|
+
static finalized = {};
|
|
1080
|
+
static elementProperties = {};
|
|
1081
|
+
static elementStyles = [];
|
|
1294
1082
|
static reg = () => {};
|
|
1295
|
-
static
|
|
1296
|
-
static
|
|
1083
|
+
static addInitializer = () => {};
|
|
1084
|
+
static createProperty = () => {};
|
|
1085
|
+
static getPropertyDescriptor = () => {};
|
|
1086
|
+
static getPropertyOptions = () => {};
|
|
1087
|
+
static finalize = () => {};
|
|
1088
|
+
static finalizeStyles = () => {};
|
|
1089
|
+
static shadowRootOptions = { mode: "open" };
|
|
1297
1090
|
};
|
|
1298
1091
|
export const SourceBtn = class {
|
|
1299
|
-
static
|
|
1300
|
-
<button type="button">
|
|
1301
|
-
<uc-icon set="@name: iconName"></uc-icon>
|
|
1302
|
-
<div class="uc-txt" l10n="src-type"></div>
|
|
1303
|
-
</button>
|
|
1304
|
-
`;
|
|
1305
|
-
static observedAttributes = ["type"];
|
|
1092
|
+
static elementProperties = {};
|
|
1306
1093
|
static extSrcList = {
|
|
1307
1094
|
FACEBOOK: "facebook",
|
|
1308
1095
|
DROPBOX: "dropbox",
|
|
@@ -1336,6 +1123,8 @@ export const SourceBtn = class {
|
|
|
1336
1123
|
ONEDRIVE: "onedrive",
|
|
1337
1124
|
HUDDLE: "huddle",
|
|
1338
1125
|
};
|
|
1126
|
+
static finalized = {};
|
|
1127
|
+
static elementStyles = [];
|
|
1339
1128
|
static activities = {
|
|
1340
1129
|
START_FROM: "start-from",
|
|
1341
1130
|
CAMERA: "camera",
|
|
@@ -1345,25 +1134,45 @@ export const SourceBtn = class {
|
|
|
1345
1134
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1346
1135
|
EXTERNAL: "external",
|
|
1347
1136
|
};
|
|
1348
|
-
static reg = () => {};
|
|
1349
1137
|
static styleAttrs = [];
|
|
1350
|
-
static
|
|
1351
|
-
static
|
|
1138
|
+
static reg = () => {};
|
|
1139
|
+
static addInitializer = () => {};
|
|
1140
|
+
static createProperty = () => {};
|
|
1141
|
+
static getPropertyDescriptor = () => {};
|
|
1142
|
+
static getPropertyOptions = () => {};
|
|
1143
|
+
static finalize = () => {};
|
|
1144
|
+
static finalizeStyles = () => {};
|
|
1145
|
+
static shadowRootOptions = { mode: "open" };
|
|
1352
1146
|
};
|
|
1353
1147
|
export const SourceList = class {
|
|
1354
|
-
static
|
|
1148
|
+
static elementProperties = {};
|
|
1355
1149
|
static styleAttrs = [];
|
|
1356
|
-
static
|
|
1357
|
-
static
|
|
1150
|
+
static finalized = {};
|
|
1151
|
+
static elementStyles = [];
|
|
1152
|
+
static reg = () => {};
|
|
1153
|
+
static addInitializer = () => {};
|
|
1154
|
+
static createProperty = () => {};
|
|
1155
|
+
static getPropertyDescriptor = () => {};
|
|
1156
|
+
static getPropertyOptions = () => {};
|
|
1157
|
+
static finalize = () => {};
|
|
1158
|
+
static finalizeStyles = () => {};
|
|
1159
|
+
static shadowRootOptions = { mode: "open" };
|
|
1358
1160
|
};
|
|
1359
1161
|
export const Spinner = class {
|
|
1360
|
-
static
|
|
1162
|
+
static styleAttrs = [];
|
|
1163
|
+
static finalized = {};
|
|
1164
|
+
static elementProperties = {};
|
|
1165
|
+
static elementStyles = [];
|
|
1361
1166
|
static reg = () => {};
|
|
1362
|
-
static
|
|
1363
|
-
static
|
|
1167
|
+
static addInitializer = () => {};
|
|
1168
|
+
static createProperty = () => {};
|
|
1169
|
+
static getPropertyDescriptor = () => {};
|
|
1170
|
+
static getPropertyOptions = () => {};
|
|
1171
|
+
static finalize = () => {};
|
|
1172
|
+
static finalizeStyles = () => {};
|
|
1173
|
+
static shadowRootOptions = { mode: "open" };
|
|
1364
1174
|
};
|
|
1365
1175
|
export const StartFrom = class {
|
|
1366
|
-
static template = ` <div class="uc-content"><slot></slot></div> `;
|
|
1367
1176
|
static activities = {
|
|
1368
1177
|
START_FROM: "start-from",
|
|
1369
1178
|
CAMERA: "camera",
|
|
@@ -1373,20 +1182,23 @@ export const StartFrom = class {
|
|
|
1373
1182
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1374
1183
|
EXTERNAL: "external",
|
|
1375
1184
|
};
|
|
1376
|
-
static
|
|
1185
|
+
static finalized = {};
|
|
1186
|
+
static elementProperties = {};
|
|
1187
|
+
static elementStyles = [];
|
|
1377
1188
|
static styleAttrs = [];
|
|
1378
|
-
static
|
|
1379
|
-
static
|
|
1189
|
+
static reg = () => {};
|
|
1190
|
+
static addInitializer = () => {};
|
|
1191
|
+
static createProperty = () => {};
|
|
1192
|
+
static getPropertyDescriptor = () => {};
|
|
1193
|
+
static getPropertyOptions = () => {};
|
|
1194
|
+
static finalize = () => {};
|
|
1195
|
+
static finalizeStyles = () => {};
|
|
1196
|
+
static shadowRootOptions = { mode: "open" };
|
|
1380
1197
|
};
|
|
1381
1198
|
export const Thumb = class {
|
|
1382
|
-
static
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
1386
|
-
</div>
|
|
1387
|
-
</div>
|
|
1388
|
-
`;
|
|
1389
|
-
static observedAttributes = ["badgeIcon", "uid"];
|
|
1199
|
+
static elementProperties = {};
|
|
1200
|
+
static finalized = {};
|
|
1201
|
+
static elementStyles = [];
|
|
1390
1202
|
static extSrcList = {
|
|
1391
1203
|
FACEBOOK: "facebook",
|
|
1392
1204
|
DROPBOX: "dropbox",
|
|
@@ -1429,13 +1241,19 @@ export const Thumb = class {
|
|
|
1429
1241
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1430
1242
|
EXTERNAL: "external",
|
|
1431
1243
|
};
|
|
1432
|
-
static reg = () => {};
|
|
1433
1244
|
static styleAttrs = [];
|
|
1434
|
-
static
|
|
1435
|
-
static
|
|
1245
|
+
static reg = () => {};
|
|
1246
|
+
static addInitializer = () => {};
|
|
1247
|
+
static createProperty = () => {};
|
|
1248
|
+
static getPropertyDescriptor = () => {};
|
|
1249
|
+
static getPropertyOptions = () => {};
|
|
1250
|
+
static finalize = () => {};
|
|
1251
|
+
static finalizeStyles = () => {};
|
|
1252
|
+
static shadowRootOptions = { mode: "open" };
|
|
1436
1253
|
};
|
|
1437
1254
|
export const UID = class {
|
|
1438
|
-
static
|
|
1255
|
+
static generateFastUid = () => {};
|
|
1256
|
+
static generateRandomUUID = () => {};
|
|
1439
1257
|
static apply = () => {};
|
|
1440
1258
|
static bind = () => {};
|
|
1441
1259
|
static call = () => {};
|
|
@@ -1501,6 +1319,9 @@ export const UploadCtxProvider = class {
|
|
|
1501
1319
|
ONEDRIVE: "onedrive",
|
|
1502
1320
|
HUDDLE: "huddle",
|
|
1503
1321
|
};
|
|
1322
|
+
static finalized = {};
|
|
1323
|
+
static elementProperties = {};
|
|
1324
|
+
static elementStyles = [];
|
|
1504
1325
|
static activities = {
|
|
1505
1326
|
START_FROM: "start-from",
|
|
1506
1327
|
CAMERA: "camera",
|
|
@@ -1511,66 +1332,16 @@ export const UploadCtxProvider = class {
|
|
|
1511
1332
|
EXTERNAL: "external",
|
|
1512
1333
|
};
|
|
1513
1334
|
static reg = () => {};
|
|
1514
|
-
static
|
|
1515
|
-
static
|
|
1335
|
+
static addInitializer = () => {};
|
|
1336
|
+
static createProperty = () => {};
|
|
1337
|
+
static getPropertyDescriptor = () => {};
|
|
1338
|
+
static getPropertyOptions = () => {};
|
|
1339
|
+
static finalize = () => {};
|
|
1340
|
+
static finalizeStyles = () => {};
|
|
1341
|
+
static shadowRootOptions = { mode: "open" };
|
|
1516
1342
|
};
|
|
1517
1343
|
export const UploadList = class {
|
|
1518
|
-
static
|
|
1519
|
-
<uc-activity-header>
|
|
1520
|
-
<span aria-live="polite" class="uc-header-text">{{headerText}}</span>
|
|
1521
|
-
<button
|
|
1522
|
-
type="button"
|
|
1523
|
-
class="uc-mini-btn uc-close-btn"
|
|
1524
|
-
set="onclick: *closeModal"
|
|
1525
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
1526
|
-
>
|
|
1527
|
-
<uc-icon name="close"></uc-icon>
|
|
1528
|
-
</button>
|
|
1529
|
-
</uc-activity-header>
|
|
1530
|
-
|
|
1531
|
-
<div class="uc-no-files" set="@hidden: hasFiles">
|
|
1532
|
-
<slot name="empty"><span l10n="no-files"></span></slot>
|
|
1533
|
-
</div>
|
|
1534
|
-
|
|
1535
|
-
<div class="uc-files">
|
|
1536
|
-
<div class="uc-files-wrapper" repeat="*uploadList" repeat-item-tag="uc-file-item"></div>
|
|
1537
|
-
<button
|
|
1538
|
-
type="button"
|
|
1539
|
-
class="uc-add-more-btn uc-secondary-btn"
|
|
1540
|
-
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1541
|
-
>
|
|
1542
|
-
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1543
|
-
</button>
|
|
1544
|
-
</div>
|
|
1545
|
-
|
|
1546
|
-
<div class="uc-common-error" set="@hidden: !commonErrorMessage; textContent: commonErrorMessage;"></div>
|
|
1547
|
-
|
|
1548
|
-
<div class="uc-toolbar">
|
|
1549
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel;" l10n="clear"></button>
|
|
1550
|
-
<div class="uc-toolbar-spacer"></div>
|
|
1551
|
-
<button
|
|
1552
|
-
type="button"
|
|
1553
|
-
class="uc-add-more-btn uc-secondary-btn"
|
|
1554
|
-
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1555
|
-
>
|
|
1556
|
-
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1557
|
-
</button>
|
|
1558
|
-
<button
|
|
1559
|
-
type="button"
|
|
1560
|
-
class="uc-upload-btn uc-primary-btn"
|
|
1561
|
-
set="@hidden: !uploadBtnVisible; onclick: onUpload;"
|
|
1562
|
-
l10n="upload"
|
|
1563
|
-
></button>
|
|
1564
|
-
<button
|
|
1565
|
-
type="button"
|
|
1566
|
-
class="uc-done-btn uc-primary-btn"
|
|
1567
|
-
set="@hidden: !doneBtnVisible; onclick: onDone; @disabled: !doneBtnEnabled"
|
|
1568
|
-
l10n="done"
|
|
1569
|
-
></button>
|
|
1570
|
-
</div>
|
|
1571
|
-
|
|
1572
|
-
<uc-drop-area ghost></uc-drop-area>
|
|
1573
|
-
`;
|
|
1344
|
+
static elementProperties = {};
|
|
1574
1345
|
static extSrcList = {
|
|
1575
1346
|
FACEBOOK: "facebook",
|
|
1576
1347
|
DROPBOX: "dropbox",
|
|
@@ -1604,6 +1375,8 @@ export const UploadList = class {
|
|
|
1604
1375
|
ONEDRIVE: "onedrive",
|
|
1605
1376
|
HUDDLE: "huddle",
|
|
1606
1377
|
};
|
|
1378
|
+
static finalized = {};
|
|
1379
|
+
static elementStyles = [];
|
|
1607
1380
|
static activities = {
|
|
1608
1381
|
START_FROM: "start-from",
|
|
1609
1382
|
CAMERA: "camera",
|
|
@@ -1613,10 +1386,15 @@ export const UploadList = class {
|
|
|
1613
1386
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1614
1387
|
EXTERNAL: "external",
|
|
1615
1388
|
};
|
|
1616
|
-
static reg = () => {};
|
|
1617
1389
|
static styleAttrs = [];
|
|
1618
|
-
static
|
|
1619
|
-
static
|
|
1390
|
+
static reg = () => {};
|
|
1391
|
+
static addInitializer = () => {};
|
|
1392
|
+
static createProperty = () => {};
|
|
1393
|
+
static getPropertyDescriptor = () => {};
|
|
1394
|
+
static getPropertyOptions = () => {};
|
|
1395
|
+
static finalize = () => {};
|
|
1396
|
+
static finalizeStyles = () => {};
|
|
1397
|
+
static shadowRootOptions = { mode: "open" };
|
|
1620
1398
|
};
|
|
1621
1399
|
export const UploadSource = {
|
|
1622
1400
|
LOCAL: "local",
|
|
@@ -1673,6 +1451,9 @@ export const UploaderBlock = class {
|
|
|
1673
1451
|
ONEDRIVE: "onedrive",
|
|
1674
1452
|
HUDDLE: "huddle",
|
|
1675
1453
|
};
|
|
1454
|
+
static finalized = {};
|
|
1455
|
+
static elementProperties = {};
|
|
1456
|
+
static elementStyles = [];
|
|
1676
1457
|
static activities = {
|
|
1677
1458
|
START_FROM: "start-from",
|
|
1678
1459
|
CAMERA: "camera",
|
|
@@ -1682,42 +1463,18 @@ export const UploaderBlock = class {
|
|
|
1682
1463
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1683
1464
|
EXTERNAL: "external",
|
|
1684
1465
|
};
|
|
1685
|
-
static reg = () => {};
|
|
1686
1466
|
static styleAttrs = [];
|
|
1687
|
-
static
|
|
1688
|
-
static
|
|
1467
|
+
static reg = () => {};
|
|
1468
|
+
static addInitializer = () => {};
|
|
1469
|
+
static createProperty = () => {};
|
|
1470
|
+
static getPropertyDescriptor = () => {};
|
|
1471
|
+
static getPropertyOptions = () => {};
|
|
1472
|
+
static finalize = () => {};
|
|
1473
|
+
static finalizeStyles = () => {};
|
|
1474
|
+
static shadowRootOptions = { mode: "open" };
|
|
1689
1475
|
};
|
|
1690
1476
|
export const UrlSource = class {
|
|
1691
|
-
static
|
|
1692
|
-
<uc-activity-header>
|
|
1693
|
-
<button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back;@aria-label:back">
|
|
1694
|
-
<uc-icon name="back"></uc-icon>
|
|
1695
|
-
</button>
|
|
1696
|
-
<div>
|
|
1697
|
-
<uc-icon name="url"></uc-icon>
|
|
1698
|
-
<span l10n="caption-from-url"></span>
|
|
1699
|
-
</div>
|
|
1700
|
-
<button
|
|
1701
|
-
type="button"
|
|
1702
|
-
class="uc-mini-btn uc-close-btn"
|
|
1703
|
-
set="onclick: *closeModal"
|
|
1704
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
1705
|
-
>
|
|
1706
|
-
<uc-icon name="close"></uc-icon>
|
|
1707
|
-
</button>
|
|
1708
|
-
</uc-activity-header>
|
|
1709
|
-
<form class="uc-content">
|
|
1710
|
-
<label>
|
|
1711
|
-
<input placeholder="https://" class="uc-url-input" type="text" ref="input" set="oninput: onInput" />
|
|
1712
|
-
</label>
|
|
1713
|
-
<button
|
|
1714
|
-
type="submit"
|
|
1715
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
1716
|
-
set="onclick: onUpload; @disabled: importDisabled"
|
|
1717
|
-
l10n="upload-url"
|
|
1718
|
-
></button>
|
|
1719
|
-
</form>
|
|
1720
|
-
`;
|
|
1477
|
+
static elementProperties = {};
|
|
1721
1478
|
static extSrcList = {
|
|
1722
1479
|
FACEBOOK: "facebook",
|
|
1723
1480
|
DROPBOX: "dropbox",
|
|
@@ -1751,6 +1508,8 @@ export const UrlSource = class {
|
|
|
1751
1508
|
ONEDRIVE: "onedrive",
|
|
1752
1509
|
HUDDLE: "huddle",
|
|
1753
1510
|
};
|
|
1511
|
+
static finalized = {};
|
|
1512
|
+
static elementStyles = [];
|
|
1754
1513
|
static activities = {
|
|
1755
1514
|
START_FROM: "start-from",
|
|
1756
1515
|
CAMERA: "camera",
|
|
@@ -1760,10 +1519,15 @@ export const UrlSource = class {
|
|
|
1760
1519
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1761
1520
|
EXTERNAL: "external",
|
|
1762
1521
|
};
|
|
1763
|
-
static reg = () => {};
|
|
1764
1522
|
static styleAttrs = [];
|
|
1765
|
-
static
|
|
1766
|
-
static
|
|
1523
|
+
static reg = () => {};
|
|
1524
|
+
static addInitializer = () => {};
|
|
1525
|
+
static createProperty = () => {};
|
|
1526
|
+
static getPropertyDescriptor = () => {};
|
|
1527
|
+
static getPropertyOptions = () => {};
|
|
1528
|
+
static finalize = () => {};
|
|
1529
|
+
static finalizeStyles = () => {};
|
|
1530
|
+
static shadowRootOptions = { mode: "open" };
|
|
1767
1531
|
};
|
|
1768
1532
|
export const defineComponents = () => {};
|
|
1769
1533
|
export const defineLocale = () => {};
|