@uploadcare/file-uploader 1.24.4 → 1.25.0-alpha.0
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 -0
- package/dist/env.js +1 -1
- package/dist/index.css +480 -530
- package/dist/index.d.ts +868 -539
- package/dist/index.js +7615 -6044
- package/dist/index.layered.css +2723 -0
- package/dist/index.ssr.js +533 -762
- package/dist/lit.d.ts +1 -0
- package/dist/lit.js +28 -0
- package/dist/locales/file-uploader/ar.js +1 -1
- package/dist/locales/file-uploader/az.js +1 -1
- package/dist/locales/file-uploader/ca.js +1 -1
- package/dist/locales/file-uploader/cs.js +1 -1
- package/dist/locales/file-uploader/da.js +1 -1
- package/dist/locales/file-uploader/de.js +1 -1
- package/dist/locales/file-uploader/el.js +1 -1
- package/dist/locales/file-uploader/en.js +1 -1
- package/dist/locales/file-uploader/es.js +1 -1
- package/dist/locales/file-uploader/et.js +1 -1
- package/dist/locales/file-uploader/fi.js +1 -1
- package/dist/locales/file-uploader/fr.js +1 -1
- package/dist/locales/file-uploader/he.js +1 -1
- package/dist/locales/file-uploader/hy.js +1 -1
- package/dist/locales/file-uploader/is.js +1 -1
- package/dist/locales/file-uploader/it.js +1 -1
- package/dist/locales/file-uploader/ja.js +1 -1
- package/dist/locales/file-uploader/ka.js +1 -1
- package/dist/locales/file-uploader/kk.js +1 -1
- package/dist/locales/file-uploader/ko.js +1 -1
- package/dist/locales/file-uploader/lv.js +1 -1
- package/dist/locales/file-uploader/nb.js +1 -1
- package/dist/locales/file-uploader/nl.js +2 -2
- package/dist/locales/file-uploader/pl.js +1 -1
- package/dist/locales/file-uploader/pt.js +1 -1
- package/dist/locales/file-uploader/ro.js +1 -1
- package/dist/locales/file-uploader/ru.js +1 -1
- package/dist/locales/file-uploader/sk.js +1 -1
- package/dist/locales/file-uploader/sr.js +1 -1
- package/dist/locales/file-uploader/sv.js +1 -1
- package/dist/locales/file-uploader/tr.js +1 -1
- package/dist/locales/file-uploader/uk.js +1 -1
- package/dist/locales/file-uploader/vi.js +1 -1
- package/dist/locales/file-uploader/zh-TW.js +1 -1
- package/dist/locales/file-uploader/zh.js +1 -1
- package/package.json +35 -25
- package/web/file-uploader.iife.min.d.ts +872 -543
- package/web/file-uploader.iife.min.js +8 -4
- package/web/file-uploader.min.d.ts +872 -543
- package/web/file-uploader.min.js +7 -4
- package/web/uc-basic.layered.min.css +26 -0
- package/web/uc-basic.min.css +2 -3
- package/web/uc-cloud-image-editor.layered.min.css +26 -0
- package/web/uc-cloud-image-editor.min.css +1 -2
- package/web/uc-cloud-image-editor.min.d.ts +440 -235
- package/web/uc-cloud-image-editor.min.js +7 -4
- package/web/uc-file-uploader-inline.layered.min.css +26 -0
- package/web/uc-file-uploader-inline.min.css +2 -3
- package/web/uc-file-uploader-inline.min.d.ts +872 -543
- package/web/uc-file-uploader-inline.min.js +7 -4
- package/web/uc-file-uploader-minimal.layered.min.css +26 -0
- package/web/uc-file-uploader-minimal.min.css +2 -3
- package/web/uc-file-uploader-minimal.min.d.ts +872 -543
- package/web/uc-file-uploader-minimal.min.js +7 -4
- package/web/uc-file-uploader-regular.layered.min.css +26 -0
- package/web/uc-file-uploader-regular.min.css +2 -3
- package/web/uc-file-uploader-regular.min.d.ts +872 -543
- package/web/uc-file-uploader-regular.min.js +7 -4
- package/web/uc-img.min.d.ts +56 -91
- package/web/uc-img.min.js +3 -3
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,157 +31,49 @@ 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 is = `sym-1`;
|
|
29
|
-
static bindAttributes = () => {};
|
|
30
|
-
};
|
|
31
|
-
export const BaseComponent = class {
|
|
32
38
|
static reg = () => {};
|
|
33
|
-
static
|
|
34
|
-
static
|
|
39
|
+
static addInitializer = () => {};
|
|
40
|
+
static createProperty = () => {};
|
|
41
|
+
static getPropertyDescriptor = () => {};
|
|
42
|
+
static getPropertyOptions = () => {};
|
|
43
|
+
static finalize = () => {};
|
|
44
|
+
static finalizeStyles = () => {};
|
|
45
|
+
static shadowRootOptions = { mode: "open" };
|
|
35
46
|
};
|
|
36
47
|
export const Block = class {
|
|
37
|
-
static reg = () => {};
|
|
38
48
|
static styleAttrs = [];
|
|
39
|
-
static
|
|
40
|
-
static
|
|
49
|
+
static finalized = {};
|
|
50
|
+
static elementProperties = {};
|
|
51
|
+
static elementStyles = [];
|
|
52
|
+
static reg = () => {};
|
|
53
|
+
static addInitializer = () => {};
|
|
54
|
+
static createProperty = () => {};
|
|
55
|
+
static getPropertyDescriptor = () => {};
|
|
56
|
+
static getPropertyOptions = () => {};
|
|
57
|
+
static finalize = () => {};
|
|
58
|
+
static finalizeStyles = () => {};
|
|
59
|
+
static shadowRootOptions = { mode: "open" };
|
|
41
60
|
};
|
|
42
61
|
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 = () => {};
|
|
62
|
+
static elementProperties = {};
|
|
55
63
|
static styleAttrs = [];
|
|
56
|
-
static
|
|
57
|
-
static
|
|
64
|
+
static finalized = {};
|
|
65
|
+
static elementStyles = [];
|
|
66
|
+
static reg = () => {};
|
|
67
|
+
static addInitializer = () => {};
|
|
68
|
+
static createProperty = () => {};
|
|
69
|
+
static getPropertyDescriptor = () => {};
|
|
70
|
+
static getPropertyOptions = () => {};
|
|
71
|
+
static finalize = () => {};
|
|
72
|
+
static finalizeStyles = () => {};
|
|
73
|
+
static shadowRootOptions = { mode: "open" };
|
|
58
74
|
};
|
|
59
75
|
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
|
-
>
|
|
114
|
-
<uc-icon name="camera"></uc-icon>
|
|
115
|
-
</button>
|
|
116
|
-
<button
|
|
117
|
-
data-id="video"
|
|
118
|
-
type="button"
|
|
119
|
-
class="uc-switch uc-mini-btn"
|
|
120
|
-
set="onclick: onClickTab; @hidden: tabVideoHidden"
|
|
121
|
-
>
|
|
122
|
-
<uc-icon name="video-camera"></uc-icon>
|
|
123
|
-
</button>
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
<button
|
|
127
|
-
class="uc-secondary-btn uc-recording-timer"
|
|
128
|
-
set="@hidden:timerHidden; onclick: onToggleRecording"
|
|
129
|
-
>
|
|
130
|
-
<uc-icon set="@name: currentTimelineIcon"></uc-icon>
|
|
131
|
-
<span ref="timer"> 00:00 </span>
|
|
132
|
-
<span ref="line" class="uc-line"></span>
|
|
133
|
-
</button>
|
|
134
|
-
|
|
135
|
-
<div
|
|
136
|
-
class="uc-camera-actions uc-camera-action"
|
|
137
|
-
set="@hidden: cameraActionsHidden"
|
|
138
|
-
>
|
|
139
|
-
<button type="button" class="uc-secondary-btn" set="onclick: onRetake">
|
|
140
|
-
Retake
|
|
141
|
-
</button>
|
|
142
|
-
<button
|
|
143
|
-
type="button"
|
|
144
|
-
class="uc-primary-btn"
|
|
145
|
-
set="onclick: onAccept"
|
|
146
|
-
data-testid="accept"
|
|
147
|
-
>
|
|
148
|
-
Accept
|
|
149
|
-
</button>
|
|
150
|
-
</div>
|
|
151
|
-
|
|
152
|
-
<button
|
|
153
|
-
type="button"
|
|
154
|
-
class="uc-shot-btn uc-camera-action"
|
|
155
|
-
data-testid="shot"
|
|
156
|
-
set="onclick: onStartCamera; @class: mutableClassButton; @hidden: cameraHidden;"
|
|
157
|
-
>
|
|
158
|
-
<uc-icon set="@name: currentIcon"></uc-icon>
|
|
159
|
-
</button>
|
|
160
|
-
|
|
161
|
-
<div class="uc-select">
|
|
162
|
-
<button
|
|
163
|
-
class="uc-mini-btn uc-btn-microphone"
|
|
164
|
-
set="onclick: onToggleAudio; @hidden: audioToggleMicrophoneHidden;"
|
|
165
|
-
>
|
|
166
|
-
<uc-icon set="@name:toggleMicrophoneIcon"></uc-icon>
|
|
167
|
-
</button>
|
|
168
|
-
|
|
169
|
-
<uc-select
|
|
170
|
-
class="uc-audio-select"
|
|
171
|
-
set="$.options: audioSelectOptions; onchange: onAudioSelectChange; @hidden: audioSelectHidden; @disabled: audioSelectDisabled"
|
|
172
|
-
>
|
|
173
|
-
</uc-select>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
`;
|
|
76
|
+
static elementProperties = {};
|
|
177
77
|
static extSrcList = {
|
|
178
78
|
FACEBOOK: "facebook",
|
|
179
79
|
DROPBOX: "dropbox",
|
|
@@ -207,6 +107,8 @@ export const CameraSource = class {
|
|
|
207
107
|
ONEDRIVE: "onedrive",
|
|
208
108
|
HUDDLE: "huddle",
|
|
209
109
|
};
|
|
110
|
+
static finalized = {};
|
|
111
|
+
static elementStyles = [];
|
|
210
112
|
static activities = {
|
|
211
113
|
START_FROM: "start-from",
|
|
212
114
|
CAMERA: "camera",
|
|
@@ -216,52 +118,32 @@ export const CameraSource = class {
|
|
|
216
118
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
217
119
|
EXTERNAL: "external",
|
|
218
120
|
};
|
|
219
|
-
static reg = () => {};
|
|
220
121
|
static styleAttrs = [];
|
|
221
|
-
static
|
|
222
|
-
static
|
|
122
|
+
static reg = () => {};
|
|
123
|
+
static addInitializer = () => {};
|
|
124
|
+
static createProperty = () => {};
|
|
125
|
+
static getPropertyDescriptor = () => {};
|
|
126
|
+
static getPropertyOptions = () => {};
|
|
127
|
+
static finalize = () => {};
|
|
128
|
+
static finalizeStyles = () => {};
|
|
129
|
+
static shadowRootOptions = { mode: "open" };
|
|
223
130
|
};
|
|
224
131
|
export const CloudImageEditor = class {
|
|
225
132
|
static styleAttrs = [];
|
|
226
|
-
static
|
|
227
|
-
<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>
|
|
228
|
-
|
|
229
|
-
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
230
|
-
<div class="uc-network_problems_content">
|
|
231
|
-
<div class="uc-network_problems_icon">
|
|
232
|
-
<uc-icon name="sad"></uc-icon>
|
|
233
|
-
</div>
|
|
234
|
-
<div class="uc-network_problems_text">Network error</div>
|
|
235
|
-
</div>
|
|
236
|
-
<div class="uc-network_problems_footer">
|
|
237
|
-
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
238
|
-
</div>
|
|
239
|
-
</uc-presence-toggle>
|
|
240
|
-
<div class="uc-viewport">
|
|
241
|
-
<div class="uc-file_type_outer">
|
|
242
|
-
<div class="uc-file_type">{{fileType}}</div>
|
|
243
|
-
</div>
|
|
244
|
-
<div class="uc-image_container" ref="img-container-el">
|
|
245
|
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" class="uc-image uc-image_visible_from_editor" ref="img-el" />
|
|
246
|
-
<uc-editor-image-cropper ref="cropper-el"></uc-editor-image-cropper>
|
|
247
|
-
<uc-editor-image-fader ref="fader-el"></uc-editor-image-fader>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="uc-info_pan">{{msg}}</div>
|
|
250
|
-
</div>
|
|
251
|
-
<div class="uc-toolbar">
|
|
252
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
253
|
-
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
254
|
-
<uc-editor-toolbar></uc-editor-toolbar>
|
|
255
|
-
</div>
|
|
256
|
-
</div>
|
|
257
|
-
</div>
|
|
258
|
-
`;
|
|
259
|
-
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
133
|
+
static elementProperties = {};
|
|
134
|
+
static finalized = {};
|
|
135
|
+
static elementStyles = [];
|
|
260
136
|
static reg = () => {};
|
|
261
|
-
static
|
|
262
|
-
static
|
|
137
|
+
static addInitializer = () => {};
|
|
138
|
+
static createProperty = () => {};
|
|
139
|
+
static getPropertyDescriptor = () => {};
|
|
140
|
+
static getPropertyOptions = () => {};
|
|
141
|
+
static finalize = () => {};
|
|
142
|
+
static finalizeStyles = () => {};
|
|
143
|
+
static shadowRootOptions = { mode: "open" };
|
|
263
144
|
};
|
|
264
145
|
export const CloudImageEditorActivity = class {
|
|
146
|
+
static elementProperties = {};
|
|
265
147
|
static extSrcList = {
|
|
266
148
|
FACEBOOK: "facebook",
|
|
267
149
|
DROPBOX: "dropbox",
|
|
@@ -295,6 +177,8 @@ export const CloudImageEditorActivity = class {
|
|
|
295
177
|
ONEDRIVE: "onedrive",
|
|
296
178
|
HUDDLE: "huddle",
|
|
297
179
|
};
|
|
180
|
+
static finalized = {};
|
|
181
|
+
static elementStyles = [];
|
|
298
182
|
static activities = {
|
|
299
183
|
START_FROM: "start-from",
|
|
300
184
|
CAMERA: "camera",
|
|
@@ -304,53 +188,33 @@ export const CloudImageEditorActivity = class {
|
|
|
304
188
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
305
189
|
EXTERNAL: "external",
|
|
306
190
|
};
|
|
307
|
-
static reg = () => {};
|
|
308
191
|
static styleAttrs = [];
|
|
309
|
-
static
|
|
310
|
-
static
|
|
192
|
+
static reg = () => {};
|
|
193
|
+
static addInitializer = () => {};
|
|
194
|
+
static createProperty = () => {};
|
|
195
|
+
static getPropertyDescriptor = () => {};
|
|
196
|
+
static getPropertyOptions = () => {};
|
|
197
|
+
static finalize = () => {};
|
|
198
|
+
static finalizeStyles = () => {};
|
|
199
|
+
static shadowRootOptions = { mode: "open" };
|
|
311
200
|
};
|
|
312
201
|
export const CloudImageEditorBlock = class {
|
|
313
202
|
static styleAttrs = [];
|
|
314
|
-
static
|
|
315
|
-
<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>
|
|
316
|
-
|
|
317
|
-
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
318
|
-
<div class="uc-network_problems_content">
|
|
319
|
-
<div class="uc-network_problems_icon">
|
|
320
|
-
<uc-icon name="sad"></uc-icon>
|
|
321
|
-
</div>
|
|
322
|
-
<div class="uc-network_problems_text">Network error</div>
|
|
323
|
-
</div>
|
|
324
|
-
<div class="uc-network_problems_footer">
|
|
325
|
-
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
326
|
-
</div>
|
|
327
|
-
</uc-presence-toggle>
|
|
328
|
-
<div class="uc-viewport">
|
|
329
|
-
<div class="uc-file_type_outer">
|
|
330
|
-
<div class="uc-file_type">{{fileType}}</div>
|
|
331
|
-
</div>
|
|
332
|
-
<div class="uc-image_container" ref="img-container-el">
|
|
333
|
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" class="uc-image uc-image_visible_from_editor" ref="img-el" />
|
|
334
|
-
<uc-editor-image-cropper ref="cropper-el"></uc-editor-image-cropper>
|
|
335
|
-
<uc-editor-image-fader ref="fader-el"></uc-editor-image-fader>
|
|
336
|
-
</div>
|
|
337
|
-
<div class="uc-info_pan">{{msg}}</div>
|
|
338
|
-
</div>
|
|
339
|
-
<div class="uc-toolbar">
|
|
340
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
341
|
-
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
342
|
-
<uc-editor-toolbar></uc-editor-toolbar>
|
|
343
|
-
</div>
|
|
344
|
-
</div>
|
|
345
|
-
</div>
|
|
346
|
-
`;
|
|
347
|
-
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
203
|
+
static elementProperties = {};
|
|
204
|
+
static finalized = {};
|
|
205
|
+
static elementStyles = [];
|
|
348
206
|
static reg = () => {};
|
|
349
|
-
static
|
|
350
|
-
static
|
|
207
|
+
static addInitializer = () => {};
|
|
208
|
+
static createProperty = () => {};
|
|
209
|
+
static getPropertyDescriptor = () => {};
|
|
210
|
+
static getPropertyOptions = () => {};
|
|
211
|
+
static finalize = () => {};
|
|
212
|
+
static finalizeStyles = () => {};
|
|
213
|
+
static shadowRootOptions = { mode: "open" };
|
|
351
214
|
};
|
|
352
215
|
export const Config = class {
|
|
353
216
|
static observedAttributes = [
|
|
217
|
+
"ctx-name",
|
|
354
218
|
"debug",
|
|
355
219
|
"pubkey",
|
|
356
220
|
"multiple",
|
|
@@ -469,35 +333,48 @@ export const Config = class {
|
|
|
469
333
|
"testmode",
|
|
470
334
|
"qualityinsights",
|
|
471
335
|
];
|
|
472
|
-
static reg = () => {};
|
|
473
336
|
static styleAttrs = [];
|
|
474
|
-
static
|
|
475
|
-
static
|
|
337
|
+
static finalized = {};
|
|
338
|
+
static elementProperties = {};
|
|
339
|
+
static elementStyles = [];
|
|
340
|
+
static reg = () => {};
|
|
341
|
+
static addInitializer = () => {};
|
|
342
|
+
static createProperty = () => {};
|
|
343
|
+
static getPropertyDescriptor = () => {};
|
|
344
|
+
static getPropertyOptions = () => {};
|
|
345
|
+
static finalize = () => {};
|
|
346
|
+
static finalizeStyles = () => {};
|
|
347
|
+
static shadowRootOptions = { mode: "open" };
|
|
476
348
|
};
|
|
477
349
|
export const Copyright = class {
|
|
478
|
-
static template = `
|
|
479
|
-
<a
|
|
480
|
-
href="https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4"
|
|
481
|
-
target="_blank noopener"
|
|
482
|
-
class="uc-credits"
|
|
483
|
-
>Powered by Uploadcare</a
|
|
484
|
-
>
|
|
485
|
-
`;
|
|
486
|
-
static reg = () => {};
|
|
487
350
|
static styleAttrs = [];
|
|
488
|
-
static
|
|
489
|
-
static
|
|
351
|
+
static finalized = {};
|
|
352
|
+
static elementProperties = {};
|
|
353
|
+
static elementStyles = [];
|
|
354
|
+
static reg = () => {};
|
|
355
|
+
static addInitializer = () => {};
|
|
356
|
+
static createProperty = () => {};
|
|
357
|
+
static getPropertyDescriptor = () => {};
|
|
358
|
+
static getPropertyOptions = () => {};
|
|
359
|
+
static finalize = () => {};
|
|
360
|
+
static finalizeStyles = () => {};
|
|
361
|
+
static shadowRootOptions = { mode: "open" };
|
|
490
362
|
};
|
|
491
363
|
export const CropFrame = class {
|
|
492
|
-
static
|
|
493
|
-
` <svg class="uc-svg" ref="svg-el" xmlns="http://www.w3.org/2000/svg"></svg> `;
|
|
494
|
-
static reg = () => {};
|
|
364
|
+
static elementProperties = {};
|
|
495
365
|
static styleAttrs = [];
|
|
496
|
-
static
|
|
497
|
-
static
|
|
366
|
+
static finalized = {};
|
|
367
|
+
static elementStyles = [];
|
|
368
|
+
static reg = () => {};
|
|
369
|
+
static addInitializer = () => {};
|
|
370
|
+
static createProperty = () => {};
|
|
371
|
+
static getPropertyDescriptor = () => {};
|
|
372
|
+
static getPropertyOptions = () => {};
|
|
373
|
+
static finalize = () => {};
|
|
374
|
+
static finalizeStyles = () => {};
|
|
375
|
+
static shadowRootOptions = { mode: "open" };
|
|
498
376
|
};
|
|
499
377
|
export const Data = class {
|
|
500
|
-
static warn = () => {};
|
|
501
378
|
static registerCtx = () => {};
|
|
502
379
|
static deleteCtx = () => {};
|
|
503
380
|
static getCtx = () => {};
|
|
@@ -514,26 +391,7 @@ export const Data = class {
|
|
|
514
391
|
};
|
|
515
392
|
export const DropArea = class {
|
|
516
393
|
static styleAttrs = [];
|
|
517
|
-
static
|
|
518
|
-
<slot>
|
|
519
|
-
<div data-default-slot hidden></div>
|
|
520
|
-
<div ref="content-wrapper" class="uc-content-wrapper" set="@hidden: !isVisible">
|
|
521
|
-
<div class="uc-icon-container" set="@hidden: !withIcon">
|
|
522
|
-
<uc-icon name="default"></uc-icon>
|
|
523
|
-
<uc-icon name="arrow-down"></uc-icon>
|
|
524
|
-
</div>
|
|
525
|
-
<span class="uc-text">{{text}}</span>
|
|
526
|
-
</div>
|
|
527
|
-
</slot>
|
|
528
|
-
`;
|
|
529
|
-
static observedAttributes = [
|
|
530
|
-
"with-icon",
|
|
531
|
-
"clickable",
|
|
532
|
-
"text",
|
|
533
|
-
"fullscreen",
|
|
534
|
-
"disabled",
|
|
535
|
-
"initflow",
|
|
536
|
-
];
|
|
394
|
+
static elementProperties = {};
|
|
537
395
|
static extSrcList = {
|
|
538
396
|
FACEBOOK: "facebook",
|
|
539
397
|
DROPBOX: "dropbox",
|
|
@@ -567,6 +425,8 @@ export const DropArea = class {
|
|
|
567
425
|
ONEDRIVE: "onedrive",
|
|
568
426
|
HUDDLE: "huddle",
|
|
569
427
|
};
|
|
428
|
+
static finalized = {};
|
|
429
|
+
static elementStyles = [];
|
|
570
430
|
static activities = {
|
|
571
431
|
START_FROM: "start-from",
|
|
572
432
|
CAMERA: "camera",
|
|
@@ -577,280 +437,156 @@ export const DropArea = class {
|
|
|
577
437
|
EXTERNAL: "external",
|
|
578
438
|
};
|
|
579
439
|
static reg = () => {};
|
|
580
|
-
static
|
|
581
|
-
static
|
|
440
|
+
static addInitializer = () => {};
|
|
441
|
+
static createProperty = () => {};
|
|
442
|
+
static getPropertyDescriptor = () => {};
|
|
443
|
+
static getPropertyOptions = () => {};
|
|
444
|
+
static finalize = () => {};
|
|
445
|
+
static finalizeStyles = () => {};
|
|
446
|
+
static shadowRootOptions = { mode: "open" };
|
|
582
447
|
};
|
|
583
448
|
export const EditorAspectRatioButtonControl = class {
|
|
584
|
-
static
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
588
|
-
</button>
|
|
589
|
-
`;
|
|
590
|
-
static reg = () => {};
|
|
449
|
+
static elementProperties = {};
|
|
450
|
+
static finalized = {};
|
|
451
|
+
static elementStyles = [];
|
|
591
452
|
static styleAttrs = [];
|
|
592
|
-
static
|
|
593
|
-
static
|
|
453
|
+
static reg = () => {};
|
|
454
|
+
static addInitializer = () => {};
|
|
455
|
+
static createProperty = () => {};
|
|
456
|
+
static getPropertyDescriptor = () => {};
|
|
457
|
+
static getPropertyOptions = () => {};
|
|
458
|
+
static finalize = () => {};
|
|
459
|
+
static finalizeStyles = () => {};
|
|
460
|
+
static shadowRootOptions = { mode: "open" };
|
|
594
461
|
};
|
|
595
462
|
export const EditorCropButtonControl = class {
|
|
596
|
-
static
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
600
|
-
</button>
|
|
601
|
-
`;
|
|
602
|
-
static reg = () => {};
|
|
463
|
+
static elementProperties = {};
|
|
464
|
+
static finalized = {};
|
|
465
|
+
static elementStyles = [];
|
|
603
466
|
static styleAttrs = [];
|
|
604
|
-
static
|
|
605
|
-
static
|
|
467
|
+
static reg = () => {};
|
|
468
|
+
static addInitializer = () => {};
|
|
469
|
+
static createProperty = () => {};
|
|
470
|
+
static getPropertyDescriptor = () => {};
|
|
471
|
+
static getPropertyOptions = () => {};
|
|
472
|
+
static finalize = () => {};
|
|
473
|
+
static finalizeStyles = () => {};
|
|
474
|
+
static shadowRootOptions = { mode: "open" };
|
|
606
475
|
};
|
|
607
476
|
export const EditorFilterControl = class {
|
|
608
|
-
static
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
612
|
-
</button>
|
|
613
|
-
`;
|
|
614
|
-
static reg = () => {};
|
|
477
|
+
static elementProperties = {};
|
|
478
|
+
static finalized = {};
|
|
479
|
+
static elementStyles = [];
|
|
615
480
|
static styleAttrs = [];
|
|
616
|
-
static
|
|
617
|
-
static
|
|
481
|
+
static reg = () => {};
|
|
482
|
+
static addInitializer = () => {};
|
|
483
|
+
static createProperty = () => {};
|
|
484
|
+
static getPropertyDescriptor = () => {};
|
|
485
|
+
static getPropertyOptions = () => {};
|
|
486
|
+
static finalize = () => {};
|
|
487
|
+
static finalizeStyles = () => {};
|
|
488
|
+
static shadowRootOptions = { mode: "open" };
|
|
618
489
|
};
|
|
619
490
|
export const EditorFreeformButtonControl = class {
|
|
620
|
-
static
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
624
|
-
</button>
|
|
625
|
-
`;
|
|
626
|
-
static reg = () => {};
|
|
491
|
+
static elementProperties = {};
|
|
492
|
+
static finalized = {};
|
|
493
|
+
static elementStyles = [];
|
|
627
494
|
static styleAttrs = [];
|
|
628
|
-
static
|
|
629
|
-
static
|
|
495
|
+
static reg = () => {};
|
|
496
|
+
static addInitializer = () => {};
|
|
497
|
+
static createProperty = () => {};
|
|
498
|
+
static getPropertyDescriptor = () => {};
|
|
499
|
+
static getPropertyOptions = () => {};
|
|
500
|
+
static finalize = () => {};
|
|
501
|
+
static finalizeStyles = () => {};
|
|
502
|
+
static shadowRootOptions = { mode: "open" };
|
|
630
503
|
};
|
|
631
504
|
export const EditorImageCropper = class {
|
|
632
|
-
static
|
|
633
|
-
<canvas class="uc-canvas" ref="canvas-el"></canvas>
|
|
634
|
-
<uc-crop-frame ref="frame-el"></uc-crop-frame>
|
|
635
|
-
`;
|
|
636
|
-
static reg = () => {};
|
|
505
|
+
static elementProperties = {};
|
|
637
506
|
static styleAttrs = [];
|
|
638
|
-
static
|
|
639
|
-
static
|
|
507
|
+
static finalized = {};
|
|
508
|
+
static elementStyles = [];
|
|
509
|
+
static reg = () => {};
|
|
510
|
+
static addInitializer = () => {};
|
|
511
|
+
static createProperty = () => {};
|
|
512
|
+
static getPropertyDescriptor = () => {};
|
|
513
|
+
static getPropertyOptions = () => {};
|
|
514
|
+
static finalize = () => {};
|
|
515
|
+
static finalizeStyles = () => {};
|
|
516
|
+
static shadowRootOptions = { mode: "open" };
|
|
640
517
|
};
|
|
641
518
|
export const EditorImageFader = class {
|
|
642
|
-
static reg = () => {};
|
|
643
519
|
static styleAttrs = [];
|
|
644
|
-
static
|
|
645
|
-
static
|
|
520
|
+
static finalized = {};
|
|
521
|
+
static elementProperties = {};
|
|
522
|
+
static elementStyles = [];
|
|
523
|
+
static reg = () => {};
|
|
524
|
+
static addInitializer = () => {};
|
|
525
|
+
static createProperty = () => {};
|
|
526
|
+
static getPropertyDescriptor = () => {};
|
|
527
|
+
static getPropertyOptions = () => {};
|
|
528
|
+
static finalize = () => {};
|
|
529
|
+
static finalizeStyles = () => {};
|
|
530
|
+
static shadowRootOptions = { mode: "open" };
|
|
646
531
|
};
|
|
647
532
|
export const EditorOperationControl = class {
|
|
648
|
-
static
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
652
|
-
</button>
|
|
653
|
-
`;
|
|
654
|
-
static reg = () => {};
|
|
533
|
+
static elementProperties = {};
|
|
534
|
+
static finalized = {};
|
|
535
|
+
static elementStyles = [];
|
|
655
536
|
static styleAttrs = [];
|
|
656
|
-
static
|
|
657
|
-
static
|
|
537
|
+
static reg = () => {};
|
|
538
|
+
static addInitializer = () => {};
|
|
539
|
+
static createProperty = () => {};
|
|
540
|
+
static getPropertyDescriptor = () => {};
|
|
541
|
+
static getPropertyOptions = () => {};
|
|
542
|
+
static finalize = () => {};
|
|
543
|
+
static finalizeStyles = () => {};
|
|
544
|
+
static shadowRootOptions = { mode: "open" };
|
|
658
545
|
};
|
|
659
546
|
export const EditorScroller = class {
|
|
660
|
-
static template = ` <slot></slot> `;
|
|
661
|
-
static reg = () => {};
|
|
662
547
|
static styleAttrs = [];
|
|
663
|
-
static
|
|
664
|
-
static
|
|
548
|
+
static finalized = {};
|
|
549
|
+
static elementProperties = {};
|
|
550
|
+
static elementStyles = [];
|
|
551
|
+
static reg = () => {};
|
|
552
|
+
static addInitializer = () => {};
|
|
553
|
+
static createProperty = () => {};
|
|
554
|
+
static getPropertyDescriptor = () => {};
|
|
555
|
+
static getPropertyOptions = () => {};
|
|
556
|
+
static finalize = () => {};
|
|
557
|
+
static finalizeStyles = () => {};
|
|
558
|
+
static shadowRootOptions = { mode: "open" };
|
|
665
559
|
};
|
|
666
560
|
export const EditorSlider = class {
|
|
667
|
-
static
|
|
668
|
-
<uc-slider-ui
|
|
669
|
-
ref="slider-el"
|
|
670
|
-
set="disabled: disabled; min: min; max: max; defaultValue: defaultValue; zero: zero; onInput: on.input;"
|
|
671
|
-
></uc-slider-ui>
|
|
672
|
-
`;
|
|
673
|
-
static reg = () => {};
|
|
561
|
+
static elementProperties = {};
|
|
674
562
|
static styleAttrs = [];
|
|
675
|
-
static
|
|
676
|
-
static
|
|
563
|
+
static finalized = {};
|
|
564
|
+
static elementStyles = [];
|
|
565
|
+
static reg = () => {};
|
|
566
|
+
static addInitializer = () => {};
|
|
567
|
+
static createProperty = () => {};
|
|
568
|
+
static getPropertyDescriptor = () => {};
|
|
569
|
+
static getPropertyOptions = () => {};
|
|
570
|
+
static finalize = () => {};
|
|
571
|
+
static finalizeStyles = () => {};
|
|
572
|
+
static shadowRootOptions = { mode: "open" };
|
|
677
573
|
};
|
|
678
574
|
export const EditorToolbar = class {
|
|
679
|
-
static
|
|
680
|
-
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
681
|
-
<div class="uc-info-tooltip_container">
|
|
682
|
-
<div class="uc-info-tooltip_wrapper">
|
|
683
|
-
<div ref="tooltip-el" class="uc-info-tooltip uc-info-tooltip_hidden">{{*operationTooltip}}</div>
|
|
684
|
-
</div>
|
|
685
|
-
</div>
|
|
686
|
-
<div class="uc-toolbar-container">
|
|
687
|
-
<uc-presence-toggle
|
|
688
|
-
role="tablist"
|
|
689
|
-
class="uc-sub-toolbar"
|
|
690
|
-
set="visible: presence.mainToolbar; styles: presence.subTopToolbarStyles"
|
|
691
|
-
>
|
|
692
|
-
<div class="uc-tab-content-row">
|
|
693
|
-
<uc-presence-toggle
|
|
694
|
-
id="tab_crop"
|
|
695
|
-
class="uc-tab-content"
|
|
696
|
-
set="visible: presence.tabContent.crop; styles: presence.tabContentStyles"
|
|
697
|
-
>
|
|
698
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
699
|
-
<div class="uc-controls-list_align">
|
|
700
|
-
<div
|
|
701
|
-
role="listbox"
|
|
702
|
-
aria-orientation="horizontal"
|
|
703
|
-
class="uc-controls-list_inner"
|
|
704
|
-
ref="controls-list-crop"
|
|
705
|
-
></div>
|
|
706
|
-
</div>
|
|
707
|
-
</uc-editor-scroller>
|
|
708
|
-
</uc-presence-toggle>
|
|
709
|
-
|
|
710
|
-
<uc-presence-toggle
|
|
711
|
-
id="tab_tuning"
|
|
712
|
-
class="uc-tab-content"
|
|
713
|
-
set="visible: presence.tabContent.tuning; styles: presence.tabContentStyles"
|
|
714
|
-
>
|
|
715
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
716
|
-
<div class="uc-controls-list_align">
|
|
717
|
-
<div
|
|
718
|
-
role="listbox"
|
|
719
|
-
aria-orientation="horizontal"
|
|
720
|
-
class="uc-controls-list_inner"
|
|
721
|
-
ref="controls-list-tuning"
|
|
722
|
-
></div>
|
|
723
|
-
</div>
|
|
724
|
-
</uc-editor-scroller>
|
|
725
|
-
</uc-presence-toggle>
|
|
726
|
-
|
|
727
|
-
<uc-presence-toggle
|
|
728
|
-
id="tab_filters"
|
|
729
|
-
class="uc-tab-content"
|
|
730
|
-
set="visible: presence.tabContent.filters; styles: presence.tabContentStyles"
|
|
731
|
-
>
|
|
732
|
-
<uc-editor-scroller hidden-scrollbar>
|
|
733
|
-
<div class="uc-controls-list_align">
|
|
734
|
-
<div
|
|
735
|
-
role="listbox"
|
|
736
|
-
aria-orientation="horizontal"
|
|
737
|
-
class="uc-controls-list_inner"
|
|
738
|
-
ref="controls-list-filters"
|
|
739
|
-
></div>
|
|
740
|
-
</div>
|
|
741
|
-
</uc-editor-scroller>
|
|
742
|
-
</uc-presence-toggle>
|
|
743
|
-
</div>
|
|
744
|
-
<div class="uc-controls-row">
|
|
745
|
-
<uc-presence-toggle
|
|
746
|
-
class="uc-tab-toggles"
|
|
747
|
-
set="visible: presence.tabToggles; styles: presence.tabTogglesStyles"
|
|
748
|
-
>
|
|
749
|
-
<div ref="tabs-indicator" class="uc-tab-toggles_indicator"></div>
|
|
750
|
-
|
|
751
|
-
<uc-presence-toggle
|
|
752
|
-
class="uc-tab-toggle"
|
|
753
|
-
set="visible: presence.tabToggle.crop; styles: presence.tabToggleStyles;"
|
|
754
|
-
>
|
|
755
|
-
<uc-btn-ui
|
|
756
|
-
theme="tab"
|
|
757
|
-
ref="tab-toggle-crop"
|
|
758
|
-
data-id="crop"
|
|
759
|
-
icon="crop"
|
|
760
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_crop; title-prop: a11y-editor-tab-crop"
|
|
761
|
-
>
|
|
762
|
-
</uc-btn-ui>
|
|
763
|
-
</uc-presence-toggle>
|
|
764
|
-
|
|
765
|
-
<uc-presence-toggle
|
|
766
|
-
class="uc-tab-toggle"
|
|
767
|
-
set="visible: presence.tabToggle.tuning; styles: presence.tabToggleStyles;"
|
|
768
|
-
>
|
|
769
|
-
<uc-btn-ui
|
|
770
|
-
theme="tab"
|
|
771
|
-
ref="tab-toggle-tuning"
|
|
772
|
-
data-id="tuning"
|
|
773
|
-
icon="tuning"
|
|
774
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_tuning; title-prop: a11y-editor-tab-tuning"
|
|
775
|
-
>
|
|
776
|
-
</uc-btn-ui>
|
|
777
|
-
</uc-presence-toggle>
|
|
778
|
-
|
|
779
|
-
<uc-presence-toggle
|
|
780
|
-
class="uc-tab-toggle"
|
|
781
|
-
set="visible: presence.tabToggle.filters; styles: presence.tabToggleStyles;"
|
|
782
|
-
>
|
|
783
|
-
<uc-btn-ui
|
|
784
|
-
theme="tab"
|
|
785
|
-
ref="tab-toggle-filters"
|
|
786
|
-
data-id="filters"
|
|
787
|
-
icon="filters"
|
|
788
|
-
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_filters; title-prop: a11y-editor-tab-filters"
|
|
789
|
-
>
|
|
790
|
-
</uc-btn-ui>
|
|
791
|
-
</uc-presence-toggle>
|
|
792
|
-
|
|
793
|
-
</uc-presence-toggle>
|
|
794
|
-
<uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" set="onclick: on.cancel; title-prop:cancel">
|
|
795
|
-
</uc-btn-ui>
|
|
796
|
-
<uc-btn-ui theme="primary-icon" icon="done" set="onclick: on.apply; title-prop:apply"> </uc-btn-ui>
|
|
797
|
-
</div>
|
|
798
|
-
</uc-presence-toggle>
|
|
799
|
-
<uc-presence-toggle
|
|
800
|
-
class="uc-sub-toolbar"
|
|
801
|
-
set="visible: presence.subToolbar; styles: presence.subBottomToolbarStyles"
|
|
802
|
-
>
|
|
803
|
-
<div class="uc-slider" set="@hidden:!hideSliderOrList">
|
|
804
|
-
<uc-editor-slider ref="slider-el"></uc-editor-slider>
|
|
805
|
-
</div>
|
|
806
|
-
|
|
807
|
-
<div set="@hidden:hideSliderOrList" class="uc-list-aspect-ratio-container">
|
|
808
|
-
<div class="uc-list-aspect-ratio" ref="list-el"></div>
|
|
809
|
-
</div>
|
|
810
|
-
<div class="uc-controls-row">
|
|
811
|
-
<uc-btn-ui theme="secondary" set="onclick: on.cancelSlider" l10n="@text:cancel"> </uc-btn-ui>
|
|
812
|
-
<uc-btn-ui theme="primary" set="onclick: on.applySlider" l10n="@text:apply"> </uc-btn-ui>
|
|
813
|
-
</div>
|
|
814
|
-
</uc-presence-toggle>
|
|
815
|
-
</div>
|
|
816
|
-
`;
|
|
817
|
-
static reg = () => {};
|
|
575
|
+
static elementProperties = {};
|
|
818
576
|
static styleAttrs = [];
|
|
819
|
-
static
|
|
820
|
-
static
|
|
577
|
+
static finalized = {};
|
|
578
|
+
static elementStyles = [];
|
|
579
|
+
static reg = () => {};
|
|
580
|
+
static addInitializer = () => {};
|
|
581
|
+
static createProperty = () => {};
|
|
582
|
+
static getPropertyDescriptor = () => {};
|
|
583
|
+
static getPropertyOptions = () => {};
|
|
584
|
+
static finalize = () => {};
|
|
585
|
+
static finalizeStyles = () => {};
|
|
586
|
+
static shadowRootOptions = { mode: "open" };
|
|
821
587
|
};
|
|
822
588
|
export const ExternalSource = class {
|
|
823
|
-
static
|
|
824
|
-
<uc-activity-header>
|
|
825
|
-
<button
|
|
826
|
-
type="button"
|
|
827
|
-
class="uc-mini-btn uc-close-btn"
|
|
828
|
-
set="onclick: *historyBack"
|
|
829
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
830
|
-
>
|
|
831
|
-
<uc-icon name="close"></uc-icon>
|
|
832
|
-
</button>
|
|
833
|
-
</uc-activity-header>
|
|
834
|
-
<div class="uc-content">
|
|
835
|
-
<div ref="iframeWrapper" class="uc-iframe-wrapper"></div>
|
|
836
|
-
<div class="uc-toolbar" set="@hidden: !toolbarVisible">
|
|
837
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel" l10n="cancel"></button>
|
|
838
|
-
<div set="@hidden: !showSelectionStatus" class="uc-selection-status-box">
|
|
839
|
-
<span>{{counterText}}</span>
|
|
840
|
-
<button type="button" set="onclick: onSelectAll; @hidden: !couldSelectAll" l10n="select-all"></button>
|
|
841
|
-
<button type="button" set="onclick: onDeselectAll; @hidden: !couldDeselectAll" l10n="deselect-all"></button>
|
|
842
|
-
</div>
|
|
843
|
-
<button
|
|
844
|
-
type="button"
|
|
845
|
-
class="uc-done-btn uc-primary-btn"
|
|
846
|
-
set="onclick: onDone; @disabled: !isDoneBtnEnabled; @hidden: !showDoneBtn"
|
|
847
|
-
>
|
|
848
|
-
<uc-spinner set="@hidden: isSelectionReady"></uc-spinner>
|
|
849
|
-
<span l10n="done" set="@class: doneBtnTextClass"></span>
|
|
850
|
-
</button>
|
|
851
|
-
</div>
|
|
852
|
-
</div>
|
|
853
|
-
`;
|
|
589
|
+
static elementProperties = {};
|
|
854
590
|
static extSrcList = {
|
|
855
591
|
FACEBOOK: "facebook",
|
|
856
592
|
DROPBOX: "dropbox",
|
|
@@ -884,6 +620,8 @@ export const ExternalSource = class {
|
|
|
884
620
|
ONEDRIVE: "onedrive",
|
|
885
621
|
HUDDLE: "huddle",
|
|
886
622
|
};
|
|
623
|
+
static finalized = {};
|
|
624
|
+
static elementStyles = [];
|
|
887
625
|
static activities = {
|
|
888
626
|
START_FROM: "start-from",
|
|
889
627
|
CAMERA: "camera",
|
|
@@ -893,10 +631,15 @@ export const ExternalSource = class {
|
|
|
893
631
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
894
632
|
EXTERNAL: "external",
|
|
895
633
|
};
|
|
896
|
-
static reg = () => {};
|
|
897
634
|
static styleAttrs = [];
|
|
898
|
-
static
|
|
899
|
-
static
|
|
635
|
+
static reg = () => {};
|
|
636
|
+
static addInitializer = () => {};
|
|
637
|
+
static createProperty = () => {};
|
|
638
|
+
static getPropertyDescriptor = () => {};
|
|
639
|
+
static getPropertyOptions = () => {};
|
|
640
|
+
static finalize = () => {};
|
|
641
|
+
static finalizeStyles = () => {};
|
|
642
|
+
static shadowRootOptions = { mode: "open" };
|
|
900
643
|
};
|
|
901
644
|
export const ExternalUploadSource = {
|
|
902
645
|
FACEBOOK: "facebook",
|
|
@@ -911,44 +654,10 @@ export const ExternalUploadSource = {
|
|
|
911
654
|
HUDDLE: "huddle",
|
|
912
655
|
};
|
|
913
656
|
export const FileItem = class {
|
|
914
|
-
static template = `
|
|
915
|
-
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
916
|
-
<uc-thumb set="uid:uid;badgeIcon:badgeIcon"></uc-thumb>
|
|
917
|
-
|
|
918
|
-
<div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
|
|
919
|
-
<span class="uc-file-name" set="@hidden: !showFileNames">{{itemName}}</span>
|
|
920
|
-
<span class="uc-file-error" set="@hidden: !errorText;">{{errorText}}</span>
|
|
921
|
-
<span class="uc-file-hint" set="@hidden: !hint">{{hint}}</span>
|
|
922
|
-
</div>
|
|
923
|
-
<div class="uc-file-actions">
|
|
924
|
-
<button
|
|
925
|
-
type="button"
|
|
926
|
-
l10n="@title:file-item-edit-button;@aria-label:file-item-edit-button"
|
|
927
|
-
class="uc-edit-btn uc-mini-btn"
|
|
928
|
-
set="onclick: onEdit; @hidden: !isEditable"
|
|
929
|
-
>
|
|
930
|
-
<uc-icon name="edit-file"></uc-icon>
|
|
931
|
-
</button>
|
|
932
|
-
<button
|
|
933
|
-
type="button"
|
|
934
|
-
l10n="@title:file-item-remove-button;@aria-label:file-item-remove-button"
|
|
935
|
-
class="uc-remove-btn uc-mini-btn"
|
|
936
|
-
set="onclick: onRemove;"
|
|
937
|
-
>
|
|
938
|
-
<uc-icon name="remove-file"></uc-icon>
|
|
939
|
-
</button>
|
|
940
|
-
<button type="button" class="uc-upload-btn uc-mini-btn" set="onclick: onUpload;">
|
|
941
|
-
<uc-icon name="upload"></uc-icon>
|
|
942
|
-
</button>
|
|
943
|
-
</div>
|
|
944
|
-
<uc-progress-bar
|
|
945
|
-
class="uc-progress-bar"
|
|
946
|
-
set="value: progressValue; visible: progressVisible; @hasFileName: showFileNames;"
|
|
947
|
-
>
|
|
948
|
-
</uc-progress-bar>
|
|
949
|
-
</div>
|
|
950
|
-
`;
|
|
951
657
|
static activeInstances = {};
|
|
658
|
+
static elementProperties = {};
|
|
659
|
+
static finalized = {};
|
|
660
|
+
static elementStyles = [];
|
|
952
661
|
static extSrcList = {
|
|
953
662
|
FACEBOOK: "facebook",
|
|
954
663
|
DROPBOX: "dropbox",
|
|
@@ -991,29 +700,57 @@ export const FileItem = class {
|
|
|
991
700
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
992
701
|
EXTERNAL: "external",
|
|
993
702
|
};
|
|
994
|
-
static reg = () => {};
|
|
995
703
|
static styleAttrs = [];
|
|
996
|
-
static
|
|
997
|
-
static
|
|
704
|
+
static reg = () => {};
|
|
705
|
+
static addInitializer = () => {};
|
|
706
|
+
static createProperty = () => {};
|
|
707
|
+
static getPropertyDescriptor = () => {};
|
|
708
|
+
static getPropertyOptions = () => {};
|
|
709
|
+
static finalize = () => {};
|
|
710
|
+
static finalizeStyles = () => {};
|
|
711
|
+
static shadowRootOptions = { mode: "open" };
|
|
998
712
|
};
|
|
999
713
|
export const FileUploaderInline = class {
|
|
1000
714
|
static styleAttrs = [];
|
|
715
|
+
static elementProperties = {};
|
|
716
|
+
static finalized = {};
|
|
717
|
+
static elementStyles = [];
|
|
1001
718
|
static reg = () => {};
|
|
1002
|
-
static
|
|
1003
|
-
static
|
|
719
|
+
static addInitializer = () => {};
|
|
720
|
+
static createProperty = () => {};
|
|
721
|
+
static getPropertyDescriptor = () => {};
|
|
722
|
+
static getPropertyOptions = () => {};
|
|
723
|
+
static finalize = () => {};
|
|
724
|
+
static finalizeStyles = () => {};
|
|
725
|
+
static shadowRootOptions = { mode: "open" };
|
|
1004
726
|
};
|
|
1005
727
|
export const FileUploaderMinimal = class {
|
|
1006
728
|
static styleAttrs = [];
|
|
729
|
+
static elementProperties = {};
|
|
730
|
+
static finalized = {};
|
|
731
|
+
static elementStyles = [];
|
|
1007
732
|
static reg = () => {};
|
|
1008
|
-
static
|
|
1009
|
-
static
|
|
733
|
+
static addInitializer = () => {};
|
|
734
|
+
static createProperty = () => {};
|
|
735
|
+
static getPropertyDescriptor = () => {};
|
|
736
|
+
static getPropertyOptions = () => {};
|
|
737
|
+
static finalize = () => {};
|
|
738
|
+
static finalizeStyles = () => {};
|
|
739
|
+
static shadowRootOptions = { mode: "open" };
|
|
1010
740
|
};
|
|
1011
741
|
export const FileUploaderRegular = class {
|
|
1012
742
|
static styleAttrs = [];
|
|
1013
|
-
static
|
|
743
|
+
static elementProperties = {};
|
|
744
|
+
static finalized = {};
|
|
745
|
+
static elementStyles = [];
|
|
1014
746
|
static reg = () => {};
|
|
1015
|
-
static
|
|
1016
|
-
static
|
|
747
|
+
static addInitializer = () => {};
|
|
748
|
+
static createProperty = () => {};
|
|
749
|
+
static getPropertyDescriptor = () => {};
|
|
750
|
+
static getPropertyOptions = () => {};
|
|
751
|
+
static finalize = () => {};
|
|
752
|
+
static finalizeStyles = () => {};
|
|
753
|
+
static shadowRootOptions = { mode: "open" };
|
|
1017
754
|
};
|
|
1018
755
|
export const FormInput = class {
|
|
1019
756
|
static extSrcList = {
|
|
@@ -1049,6 +786,9 @@ export const FormInput = class {
|
|
|
1049
786
|
ONEDRIVE: "onedrive",
|
|
1050
787
|
HUDDLE: "huddle",
|
|
1051
788
|
};
|
|
789
|
+
static finalized = {};
|
|
790
|
+
static elementProperties = {};
|
|
791
|
+
static elementStyles = [];
|
|
1052
792
|
static activities = {
|
|
1053
793
|
START_FROM: "start-from",
|
|
1054
794
|
CAMERA: "camera",
|
|
@@ -1058,22 +798,29 @@ export const FormInput = class {
|
|
|
1058
798
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1059
799
|
EXTERNAL: "external",
|
|
1060
800
|
};
|
|
1061
|
-
static reg = () => {};
|
|
1062
801
|
static styleAttrs = [];
|
|
1063
|
-
static
|
|
1064
|
-
static
|
|
802
|
+
static reg = () => {};
|
|
803
|
+
static addInitializer = () => {};
|
|
804
|
+
static createProperty = () => {};
|
|
805
|
+
static getPropertyDescriptor = () => {};
|
|
806
|
+
static getPropertyOptions = () => {};
|
|
807
|
+
static finalize = () => {};
|
|
808
|
+
static finalizeStyles = () => {};
|
|
809
|
+
static shadowRootOptions = { mode: "open" };
|
|
1065
810
|
};
|
|
1066
811
|
export const Icon = class {
|
|
1067
|
-
static
|
|
1068
|
-
<svg ref="svg" xmlns="http://www.w3.org/2000/svg">
|
|
1069
|
-
<use set="@href: href;"></use>
|
|
1070
|
-
</svg>
|
|
1071
|
-
`;
|
|
1072
|
-
static observedAttributes = ["name"];
|
|
1073
|
-
static reg = () => {};
|
|
812
|
+
static elementProperties = {};
|
|
1074
813
|
static styleAttrs = [];
|
|
1075
|
-
static
|
|
1076
|
-
static
|
|
814
|
+
static finalized = {};
|
|
815
|
+
static elementStyles = [];
|
|
816
|
+
static reg = () => {};
|
|
817
|
+
static addInitializer = () => {};
|
|
818
|
+
static createProperty = () => {};
|
|
819
|
+
static getPropertyDescriptor = () => {};
|
|
820
|
+
static getPropertyOptions = () => {};
|
|
821
|
+
static finalize = () => {};
|
|
822
|
+
static finalizeStyles = () => {};
|
|
823
|
+
static shadowRootOptions = { mode: "open" };
|
|
1077
824
|
};
|
|
1078
825
|
export const Img = class {
|
|
1079
826
|
static observedAttributes = [
|
|
@@ -1097,31 +844,44 @@ export const Img = class {
|
|
|
1097
844
|
"is-preview-blur",
|
|
1098
845
|
];
|
|
1099
846
|
static reg = () => {};
|
|
1100
|
-
static
|
|
1101
|
-
static
|
|
847
|
+
static finalized = {};
|
|
848
|
+
static addInitializer = () => {};
|
|
849
|
+
static createProperty = () => {};
|
|
850
|
+
static getPropertyDescriptor = () => {};
|
|
851
|
+
static getPropertyOptions = () => {};
|
|
852
|
+
static finalize = () => {};
|
|
853
|
+
static finalizeStyles = () => {};
|
|
854
|
+
static elementStyles = [];
|
|
855
|
+
static shadowRootOptions = { mode: "open" };
|
|
856
|
+
static elementProperties = {};
|
|
1102
857
|
};
|
|
1103
858
|
export const LineLoaderUi = class {
|
|
1104
|
-
static
|
|
1105
|
-
<div class="uc-inner">
|
|
1106
|
-
<div class="uc-line" ref="line-el"></div>
|
|
1107
|
-
</div>
|
|
1108
|
-
`;
|
|
1109
|
-
static reg = () => {};
|
|
859
|
+
static elementProperties = {};
|
|
1110
860
|
static styleAttrs = [];
|
|
1111
|
-
static
|
|
1112
|
-
static
|
|
861
|
+
static finalized = {};
|
|
862
|
+
static elementStyles = [];
|
|
863
|
+
static reg = () => {};
|
|
864
|
+
static addInitializer = () => {};
|
|
865
|
+
static createProperty = () => {};
|
|
866
|
+
static getPropertyDescriptor = () => {};
|
|
867
|
+
static getPropertyOptions = () => {};
|
|
868
|
+
static finalize = () => {};
|
|
869
|
+
static finalizeStyles = () => {};
|
|
870
|
+
static shadowRootOptions = { mode: "open" };
|
|
1113
871
|
};
|
|
1114
872
|
export const Modal = class {
|
|
1115
873
|
static styleAttrs = [];
|
|
1116
|
-
static
|
|
1117
|
-
static
|
|
1118
|
-
|
|
1119
|
-
<slot></slot>
|
|
1120
|
-
</dialog>
|
|
1121
|
-
`;
|
|
874
|
+
static finalized = {};
|
|
875
|
+
static elementProperties = {};
|
|
876
|
+
static elementStyles = [];
|
|
1122
877
|
static reg = () => {};
|
|
1123
|
-
static
|
|
1124
|
-
static
|
|
878
|
+
static addInitializer = () => {};
|
|
879
|
+
static createProperty = () => {};
|
|
880
|
+
static getPropertyDescriptor = () => {};
|
|
881
|
+
static getPropertyOptions = () => {};
|
|
882
|
+
static finalize = () => {};
|
|
883
|
+
static finalizeStyles = () => {};
|
|
884
|
+
static shadowRootOptions = { mode: "open" };
|
|
1125
885
|
};
|
|
1126
886
|
export const ModalEvents = {
|
|
1127
887
|
ADD: "modal:add",
|
|
@@ -1132,27 +892,37 @@ export const ModalEvents = {
|
|
|
1132
892
|
DESTROY: "modal:destroy",
|
|
1133
893
|
};
|
|
1134
894
|
export const PACKAGE_NAME = `blocks`;
|
|
1135
|
-
export const PACKAGE_VERSION = `1.
|
|
895
|
+
export const PACKAGE_VERSION = `1.25.0-alpha.0`;
|
|
1136
896
|
export const PresenceToggle = class {
|
|
1137
|
-
static
|
|
1138
|
-
static reg = () => {};
|
|
897
|
+
static elementProperties = {};
|
|
1139
898
|
static styleAttrs = [];
|
|
1140
|
-
static
|
|
1141
|
-
static
|
|
899
|
+
static finalized = {};
|
|
900
|
+
static elementStyles = [];
|
|
901
|
+
static reg = () => {};
|
|
902
|
+
static addInitializer = () => {};
|
|
903
|
+
static createProperty = () => {};
|
|
904
|
+
static getPropertyDescriptor = () => {};
|
|
905
|
+
static getPropertyOptions = () => {};
|
|
906
|
+
static finalize = () => {};
|
|
907
|
+
static finalizeStyles = () => {};
|
|
908
|
+
static shadowRootOptions = { mode: "open" };
|
|
1142
909
|
};
|
|
1143
910
|
export const ProgressBar = class {
|
|
1144
|
-
static
|
|
1145
|
-
<div ref="fakeProgressLine" class="uc-fake-progress"></div>
|
|
1146
|
-
<div ref="realProgressLine" class="uc-progress"></div>
|
|
1147
|
-
`;
|
|
1148
|
-
static reg = () => {};
|
|
911
|
+
static elementProperties = {};
|
|
1149
912
|
static styleAttrs = [];
|
|
1150
|
-
static
|
|
1151
|
-
static
|
|
913
|
+
static finalized = {};
|
|
914
|
+
static elementStyles = [];
|
|
915
|
+
static reg = () => {};
|
|
916
|
+
static addInitializer = () => {};
|
|
917
|
+
static createProperty = () => {};
|
|
918
|
+
static getPropertyDescriptor = () => {};
|
|
919
|
+
static getPropertyOptions = () => {};
|
|
920
|
+
static finalize = () => {};
|
|
921
|
+
static finalizeStyles = () => {};
|
|
922
|
+
static shadowRootOptions = { mode: "open" };
|
|
1152
923
|
};
|
|
1153
924
|
export const ProgressBarCommon = class {
|
|
1154
|
-
static
|
|
1155
|
-
` <uc-progress-bar set="visible: visible; value: value"></uc-progress-bar> `;
|
|
925
|
+
static elementProperties = {};
|
|
1156
926
|
static extSrcList = {
|
|
1157
927
|
FACEBOOK: "facebook",
|
|
1158
928
|
DROPBOX: "dropbox",
|
|
@@ -1186,6 +956,8 @@ export const ProgressBarCommon = class {
|
|
|
1186
956
|
ONEDRIVE: "onedrive",
|
|
1187
957
|
HUDDLE: "huddle",
|
|
1188
958
|
};
|
|
959
|
+
static finalized = {};
|
|
960
|
+
static elementStyles = [];
|
|
1189
961
|
static activities = {
|
|
1190
962
|
START_FROM: "start-from",
|
|
1191
963
|
CAMERA: "camera",
|
|
@@ -1195,32 +967,48 @@ export const ProgressBarCommon = class {
|
|
|
1195
967
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1196
968
|
EXTERNAL: "external",
|
|
1197
969
|
};
|
|
1198
|
-
static reg = () => {};
|
|
1199
970
|
static styleAttrs = [];
|
|
1200
|
-
static
|
|
1201
|
-
static
|
|
971
|
+
static reg = () => {};
|
|
972
|
+
static addInitializer = () => {};
|
|
973
|
+
static createProperty = () => {};
|
|
974
|
+
static getPropertyDescriptor = () => {};
|
|
975
|
+
static getPropertyOptions = () => {};
|
|
976
|
+
static finalize = () => {};
|
|
977
|
+
static finalizeStyles = () => {};
|
|
978
|
+
static shadowRootOptions = { mode: "open" };
|
|
979
|
+
};
|
|
980
|
+
export const PubSub = class {
|
|
981
|
+
static registerCtx = () => {};
|
|
982
|
+
static deleteCtx = () => {};
|
|
983
|
+
static getCtx = () => {};
|
|
984
|
+
static globalStore = {};
|
|
985
|
+
static apply = () => {};
|
|
986
|
+
static bind = () => {};
|
|
987
|
+
static call = () => {};
|
|
988
|
+
static toString = () => {};
|
|
989
|
+
static hasOwnProperty = () => {};
|
|
990
|
+
static isPrototypeOf = () => {};
|
|
991
|
+
static propertyIsEnumerable = () => {};
|
|
992
|
+
static valueOf = () => {};
|
|
993
|
+
static toLocaleString = () => {};
|
|
1202
994
|
};
|
|
1203
995
|
export const Select = class {
|
|
1204
|
-
static
|
|
1205
|
-
` <select ref="select" set="innerHTML: selectHtml; onchange: onSelect"></select> `;
|
|
1206
|
-
static reg = () => {};
|
|
996
|
+
static elementProperties = {};
|
|
1207
997
|
static styleAttrs = [];
|
|
1208
|
-
static
|
|
1209
|
-
static
|
|
998
|
+
static finalized = {};
|
|
999
|
+
static elementStyles = [];
|
|
1000
|
+
static reg = () => {};
|
|
1001
|
+
static addInitializer = () => {};
|
|
1002
|
+
static createProperty = () => {};
|
|
1003
|
+
static getPropertyDescriptor = () => {};
|
|
1004
|
+
static getPropertyOptions = () => {};
|
|
1005
|
+
static finalize = () => {};
|
|
1006
|
+
static finalizeStyles = () => {};
|
|
1007
|
+
static shadowRootOptions = { mode: "open" };
|
|
1210
1008
|
};
|
|
1211
1009
|
export const SimpleBtn = class {
|
|
1212
1010
|
static styleAttrs = [];
|
|
1213
|
-
static
|
|
1214
|
-
<uc-drop-area set="@disabled: !withDropZone">
|
|
1215
|
-
<button type="button" set="onclick: onClick">
|
|
1216
|
-
<uc-icon name="upload"></uc-icon>
|
|
1217
|
-
<span l10n="button-text"></span>
|
|
1218
|
-
<slot></slot>
|
|
1219
|
-
<div class="uc-visual-drop-area" l10n="drop-files-here"></div>
|
|
1220
|
-
</button>
|
|
1221
|
-
</uc-drop-area>
|
|
1222
|
-
`;
|
|
1223
|
-
static observedAttributes = ["dropzone"];
|
|
1011
|
+
static elementProperties = {};
|
|
1224
1012
|
static extSrcList = {
|
|
1225
1013
|
FACEBOOK: "facebook",
|
|
1226
1014
|
DROPBOX: "dropbox",
|
|
@@ -1254,6 +1042,8 @@ export const SimpleBtn = class {
|
|
|
1254
1042
|
ONEDRIVE: "onedrive",
|
|
1255
1043
|
HUDDLE: "huddle",
|
|
1256
1044
|
};
|
|
1045
|
+
static finalized = {};
|
|
1046
|
+
static elementStyles = [];
|
|
1257
1047
|
static activities = {
|
|
1258
1048
|
START_FROM: "start-from",
|
|
1259
1049
|
CAMERA: "camera",
|
|
@@ -1264,39 +1054,44 @@ export const SimpleBtn = class {
|
|
|
1264
1054
|
EXTERNAL: "external",
|
|
1265
1055
|
};
|
|
1266
1056
|
static reg = () => {};
|
|
1267
|
-
static
|
|
1268
|
-
static
|
|
1057
|
+
static addInitializer = () => {};
|
|
1058
|
+
static createProperty = () => {};
|
|
1059
|
+
static getPropertyDescriptor = () => {};
|
|
1060
|
+
static getPropertyOptions = () => {};
|
|
1061
|
+
static finalize = () => {};
|
|
1062
|
+
static finalizeStyles = () => {};
|
|
1063
|
+
static shadowRootOptions = { mode: "open" };
|
|
1269
1064
|
};
|
|
1270
1065
|
export const SliderUi = class {
|
|
1271
|
-
static
|
|
1272
|
-
<div class="uc-steps" ref="steps-el"></div>
|
|
1273
|
-
<div ref="thumb-el" class="uc-thumb"></div>
|
|
1274
|
-
<input
|
|
1275
|
-
class="uc-input"
|
|
1276
|
-
type="range"
|
|
1277
|
-
ref="input-el"
|
|
1278
|
-
set="oninput: on.sliderInput; onchange: on.sliderChange; @min: min; @max: max; @value: defaultValue;"
|
|
1279
|
-
/>
|
|
1280
|
-
`;
|
|
1281
|
-
static reg = () => {};
|
|
1066
|
+
static elementProperties = {};
|
|
1282
1067
|
static styleAttrs = [];
|
|
1283
|
-
static
|
|
1284
|
-
static
|
|
1068
|
+
static finalized = {};
|
|
1069
|
+
static elementStyles = [];
|
|
1070
|
+
static reg = () => {};
|
|
1071
|
+
static addInitializer = () => {};
|
|
1072
|
+
static createProperty = () => {};
|
|
1073
|
+
static getPropertyDescriptor = () => {};
|
|
1074
|
+
static getPropertyOptions = () => {};
|
|
1075
|
+
static finalize = () => {};
|
|
1076
|
+
static finalizeStyles = () => {};
|
|
1077
|
+
static shadowRootOptions = { mode: "open" };
|
|
1285
1078
|
};
|
|
1286
1079
|
export const SolutionBlock = class {
|
|
1287
1080
|
static styleAttrs = [];
|
|
1081
|
+
static finalized = {};
|
|
1082
|
+
static elementProperties = {};
|
|
1083
|
+
static elementStyles = [];
|
|
1288
1084
|
static reg = () => {};
|
|
1289
|
-
static
|
|
1290
|
-
static
|
|
1085
|
+
static addInitializer = () => {};
|
|
1086
|
+
static createProperty = () => {};
|
|
1087
|
+
static getPropertyDescriptor = () => {};
|
|
1088
|
+
static getPropertyOptions = () => {};
|
|
1089
|
+
static finalize = () => {};
|
|
1090
|
+
static finalizeStyles = () => {};
|
|
1091
|
+
static shadowRootOptions = { mode: "open" };
|
|
1291
1092
|
};
|
|
1292
1093
|
export const SourceBtn = class {
|
|
1293
|
-
static
|
|
1294
|
-
<button type="button">
|
|
1295
|
-
<uc-icon set="@name: iconName"></uc-icon>
|
|
1296
|
-
<div class="uc-txt" l10n="src-type"></div>
|
|
1297
|
-
</button>
|
|
1298
|
-
`;
|
|
1299
|
-
static observedAttributes = ["type"];
|
|
1094
|
+
static elementProperties = {};
|
|
1300
1095
|
static extSrcList = {
|
|
1301
1096
|
FACEBOOK: "facebook",
|
|
1302
1097
|
DROPBOX: "dropbox",
|
|
@@ -1330,6 +1125,8 @@ export const SourceBtn = class {
|
|
|
1330
1125
|
ONEDRIVE: "onedrive",
|
|
1331
1126
|
HUDDLE: "huddle",
|
|
1332
1127
|
};
|
|
1128
|
+
static finalized = {};
|
|
1129
|
+
static elementStyles = [];
|
|
1333
1130
|
static activities = {
|
|
1334
1131
|
START_FROM: "start-from",
|
|
1335
1132
|
CAMERA: "camera",
|
|
@@ -1339,25 +1136,45 @@ export const SourceBtn = class {
|
|
|
1339
1136
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1340
1137
|
EXTERNAL: "external",
|
|
1341
1138
|
};
|
|
1342
|
-
static reg = () => {};
|
|
1343
1139
|
static styleAttrs = [];
|
|
1344
|
-
static
|
|
1345
|
-
static
|
|
1140
|
+
static reg = () => {};
|
|
1141
|
+
static addInitializer = () => {};
|
|
1142
|
+
static createProperty = () => {};
|
|
1143
|
+
static getPropertyDescriptor = () => {};
|
|
1144
|
+
static getPropertyOptions = () => {};
|
|
1145
|
+
static finalize = () => {};
|
|
1146
|
+
static finalizeStyles = () => {};
|
|
1147
|
+
static shadowRootOptions = { mode: "open" };
|
|
1346
1148
|
};
|
|
1347
1149
|
export const SourceList = class {
|
|
1348
|
-
static
|
|
1150
|
+
static elementProperties = {};
|
|
1349
1151
|
static styleAttrs = [];
|
|
1350
|
-
static
|
|
1351
|
-
static
|
|
1152
|
+
static finalized = {};
|
|
1153
|
+
static elementStyles = [];
|
|
1154
|
+
static reg = () => {};
|
|
1155
|
+
static addInitializer = () => {};
|
|
1156
|
+
static createProperty = () => {};
|
|
1157
|
+
static getPropertyDescriptor = () => {};
|
|
1158
|
+
static getPropertyOptions = () => {};
|
|
1159
|
+
static finalize = () => {};
|
|
1160
|
+
static finalizeStyles = () => {};
|
|
1161
|
+
static shadowRootOptions = { mode: "open" };
|
|
1352
1162
|
};
|
|
1353
1163
|
export const Spinner = class {
|
|
1354
|
-
static
|
|
1164
|
+
static styleAttrs = [];
|
|
1165
|
+
static finalized = {};
|
|
1166
|
+
static elementProperties = {};
|
|
1167
|
+
static elementStyles = [];
|
|
1355
1168
|
static reg = () => {};
|
|
1356
|
-
static
|
|
1357
|
-
static
|
|
1169
|
+
static addInitializer = () => {};
|
|
1170
|
+
static createProperty = () => {};
|
|
1171
|
+
static getPropertyDescriptor = () => {};
|
|
1172
|
+
static getPropertyOptions = () => {};
|
|
1173
|
+
static finalize = () => {};
|
|
1174
|
+
static finalizeStyles = () => {};
|
|
1175
|
+
static shadowRootOptions = { mode: "open" };
|
|
1358
1176
|
};
|
|
1359
1177
|
export const StartFrom = class {
|
|
1360
|
-
static template = ` <div class="uc-content"><slot></slot></div> `;
|
|
1361
1178
|
static activities = {
|
|
1362
1179
|
START_FROM: "start-from",
|
|
1363
1180
|
CAMERA: "camera",
|
|
@@ -1367,20 +1184,23 @@ export const StartFrom = class {
|
|
|
1367
1184
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1368
1185
|
EXTERNAL: "external",
|
|
1369
1186
|
};
|
|
1370
|
-
static
|
|
1187
|
+
static finalized = {};
|
|
1188
|
+
static elementProperties = {};
|
|
1189
|
+
static elementStyles = [];
|
|
1371
1190
|
static styleAttrs = [];
|
|
1372
|
-
static
|
|
1373
|
-
static
|
|
1191
|
+
static reg = () => {};
|
|
1192
|
+
static addInitializer = () => {};
|
|
1193
|
+
static createProperty = () => {};
|
|
1194
|
+
static getPropertyDescriptor = () => {};
|
|
1195
|
+
static getPropertyOptions = () => {};
|
|
1196
|
+
static finalize = () => {};
|
|
1197
|
+
static finalizeStyles = () => {};
|
|
1198
|
+
static shadowRootOptions = { mode: "open" };
|
|
1374
1199
|
};
|
|
1375
1200
|
export const Thumb = class {
|
|
1376
|
-
static
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
1380
|
-
</div>
|
|
1381
|
-
</div>
|
|
1382
|
-
`;
|
|
1383
|
-
static observedAttributes = ["badgeIcon", "uid"];
|
|
1201
|
+
static elementProperties = {};
|
|
1202
|
+
static finalized = {};
|
|
1203
|
+
static elementStyles = [];
|
|
1384
1204
|
static extSrcList = {
|
|
1385
1205
|
FACEBOOK: "facebook",
|
|
1386
1206
|
DROPBOX: "dropbox",
|
|
@@ -1423,10 +1243,15 @@ export const Thumb = class {
|
|
|
1423
1243
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1424
1244
|
EXTERNAL: "external",
|
|
1425
1245
|
};
|
|
1426
|
-
static reg = () => {};
|
|
1427
1246
|
static styleAttrs = [];
|
|
1428
|
-
static
|
|
1429
|
-
static
|
|
1247
|
+
static reg = () => {};
|
|
1248
|
+
static addInitializer = () => {};
|
|
1249
|
+
static createProperty = () => {};
|
|
1250
|
+
static getPropertyDescriptor = () => {};
|
|
1251
|
+
static getPropertyOptions = () => {};
|
|
1252
|
+
static finalize = () => {};
|
|
1253
|
+
static finalizeStyles = () => {};
|
|
1254
|
+
static shadowRootOptions = { mode: "open" };
|
|
1430
1255
|
};
|
|
1431
1256
|
export const UID = class {
|
|
1432
1257
|
static generate = () => {};
|
|
@@ -1495,6 +1320,9 @@ export const UploadCtxProvider = class {
|
|
|
1495
1320
|
ONEDRIVE: "onedrive",
|
|
1496
1321
|
HUDDLE: "huddle",
|
|
1497
1322
|
};
|
|
1323
|
+
static finalized = {};
|
|
1324
|
+
static elementProperties = {};
|
|
1325
|
+
static elementStyles = [];
|
|
1498
1326
|
static activities = {
|
|
1499
1327
|
START_FROM: "start-from",
|
|
1500
1328
|
CAMERA: "camera",
|
|
@@ -1505,66 +1333,16 @@ export const UploadCtxProvider = class {
|
|
|
1505
1333
|
EXTERNAL: "external",
|
|
1506
1334
|
};
|
|
1507
1335
|
static reg = () => {};
|
|
1508
|
-
static
|
|
1509
|
-
static
|
|
1336
|
+
static addInitializer = () => {};
|
|
1337
|
+
static createProperty = () => {};
|
|
1338
|
+
static getPropertyDescriptor = () => {};
|
|
1339
|
+
static getPropertyOptions = () => {};
|
|
1340
|
+
static finalize = () => {};
|
|
1341
|
+
static finalizeStyles = () => {};
|
|
1342
|
+
static shadowRootOptions = { mode: "open" };
|
|
1510
1343
|
};
|
|
1511
1344
|
export const UploadList = class {
|
|
1512
|
-
static
|
|
1513
|
-
<uc-activity-header>
|
|
1514
|
-
<span aria-live="polite" class="uc-header-text">{{headerText}}</span>
|
|
1515
|
-
<button
|
|
1516
|
-
type="button"
|
|
1517
|
-
class="uc-mini-btn uc-close-btn"
|
|
1518
|
-
set="onclick: *closeModal"
|
|
1519
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
1520
|
-
>
|
|
1521
|
-
<uc-icon name="close"></uc-icon>
|
|
1522
|
-
</button>
|
|
1523
|
-
</uc-activity-header>
|
|
1524
|
-
|
|
1525
|
-
<div class="uc-no-files" set="@hidden: hasFiles">
|
|
1526
|
-
<slot name="empty"><span l10n="no-files"></span></slot>
|
|
1527
|
-
</div>
|
|
1528
|
-
|
|
1529
|
-
<div class="uc-files">
|
|
1530
|
-
<div class="uc-files-wrapper" repeat="*uploadList" repeat-item-tag="uc-file-item"></div>
|
|
1531
|
-
<button
|
|
1532
|
-
type="button"
|
|
1533
|
-
class="uc-add-more-btn uc-secondary-btn"
|
|
1534
|
-
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1535
|
-
>
|
|
1536
|
-
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1537
|
-
</button>
|
|
1538
|
-
</div>
|
|
1539
|
-
|
|
1540
|
-
<div class="uc-common-error" set="@hidden: !commonErrorMessage; textContent: commonErrorMessage;"></div>
|
|
1541
|
-
|
|
1542
|
-
<div class="uc-toolbar">
|
|
1543
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel;" l10n="clear"></button>
|
|
1544
|
-
<div class="uc-toolbar-spacer"></div>
|
|
1545
|
-
<button
|
|
1546
|
-
type="button"
|
|
1547
|
-
class="uc-add-more-btn uc-secondary-btn"
|
|
1548
|
-
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1549
|
-
>
|
|
1550
|
-
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1551
|
-
</button>
|
|
1552
|
-
<button
|
|
1553
|
-
type="button"
|
|
1554
|
-
class="uc-upload-btn uc-primary-btn"
|
|
1555
|
-
set="@hidden: !uploadBtnVisible; onclick: onUpload;"
|
|
1556
|
-
l10n="upload"
|
|
1557
|
-
></button>
|
|
1558
|
-
<button
|
|
1559
|
-
type="button"
|
|
1560
|
-
class="uc-done-btn uc-primary-btn"
|
|
1561
|
-
set="@hidden: !doneBtnVisible; onclick: onDone; @disabled: !doneBtnEnabled"
|
|
1562
|
-
l10n="done"
|
|
1563
|
-
></button>
|
|
1564
|
-
</div>
|
|
1565
|
-
|
|
1566
|
-
<uc-drop-area ghost></uc-drop-area>
|
|
1567
|
-
`;
|
|
1345
|
+
static elementProperties = {};
|
|
1568
1346
|
static extSrcList = {
|
|
1569
1347
|
FACEBOOK: "facebook",
|
|
1570
1348
|
DROPBOX: "dropbox",
|
|
@@ -1598,6 +1376,8 @@ export const UploadList = class {
|
|
|
1598
1376
|
ONEDRIVE: "onedrive",
|
|
1599
1377
|
HUDDLE: "huddle",
|
|
1600
1378
|
};
|
|
1379
|
+
static finalized = {};
|
|
1380
|
+
static elementStyles = [];
|
|
1601
1381
|
static activities = {
|
|
1602
1382
|
START_FROM: "start-from",
|
|
1603
1383
|
CAMERA: "camera",
|
|
@@ -1607,10 +1387,15 @@ export const UploadList = class {
|
|
|
1607
1387
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1608
1388
|
EXTERNAL: "external",
|
|
1609
1389
|
};
|
|
1610
|
-
static reg = () => {};
|
|
1611
1390
|
static styleAttrs = [];
|
|
1612
|
-
static
|
|
1613
|
-
static
|
|
1391
|
+
static reg = () => {};
|
|
1392
|
+
static addInitializer = () => {};
|
|
1393
|
+
static createProperty = () => {};
|
|
1394
|
+
static getPropertyDescriptor = () => {};
|
|
1395
|
+
static getPropertyOptions = () => {};
|
|
1396
|
+
static finalize = () => {};
|
|
1397
|
+
static finalizeStyles = () => {};
|
|
1398
|
+
static shadowRootOptions = { mode: "open" };
|
|
1614
1399
|
};
|
|
1615
1400
|
export const UploadSource = {
|
|
1616
1401
|
LOCAL: "local",
|
|
@@ -1667,6 +1452,9 @@ export const UploaderBlock = class {
|
|
|
1667
1452
|
ONEDRIVE: "onedrive",
|
|
1668
1453
|
HUDDLE: "huddle",
|
|
1669
1454
|
};
|
|
1455
|
+
static finalized = {};
|
|
1456
|
+
static elementProperties = {};
|
|
1457
|
+
static elementStyles = [];
|
|
1670
1458
|
static activities = {
|
|
1671
1459
|
START_FROM: "start-from",
|
|
1672
1460
|
CAMERA: "camera",
|
|
@@ -1676,42 +1464,18 @@ export const UploaderBlock = class {
|
|
|
1676
1464
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1677
1465
|
EXTERNAL: "external",
|
|
1678
1466
|
};
|
|
1679
|
-
static reg = () => {};
|
|
1680
1467
|
static styleAttrs = [];
|
|
1681
|
-
static
|
|
1682
|
-
static
|
|
1468
|
+
static reg = () => {};
|
|
1469
|
+
static addInitializer = () => {};
|
|
1470
|
+
static createProperty = () => {};
|
|
1471
|
+
static getPropertyDescriptor = () => {};
|
|
1472
|
+
static getPropertyOptions = () => {};
|
|
1473
|
+
static finalize = () => {};
|
|
1474
|
+
static finalizeStyles = () => {};
|
|
1475
|
+
static shadowRootOptions = { mode: "open" };
|
|
1683
1476
|
};
|
|
1684
1477
|
export const UrlSource = class {
|
|
1685
|
-
static
|
|
1686
|
-
<uc-activity-header>
|
|
1687
|
-
<button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back;@aria-label:back">
|
|
1688
|
-
<uc-icon name="back"></uc-icon>
|
|
1689
|
-
</button>
|
|
1690
|
-
<div>
|
|
1691
|
-
<uc-icon name="url"></uc-icon>
|
|
1692
|
-
<span l10n="caption-from-url"></span>
|
|
1693
|
-
</div>
|
|
1694
|
-
<button
|
|
1695
|
-
type="button"
|
|
1696
|
-
class="uc-mini-btn uc-close-btn"
|
|
1697
|
-
set="onclick: *closeModal"
|
|
1698
|
-
l10n="@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close"
|
|
1699
|
-
>
|
|
1700
|
-
<uc-icon name="close"></uc-icon>
|
|
1701
|
-
</button>
|
|
1702
|
-
</uc-activity-header>
|
|
1703
|
-
<form class="uc-content">
|
|
1704
|
-
<label>
|
|
1705
|
-
<input placeholder="https://" class="uc-url-input" type="text" ref="input" set="oninput: onInput" />
|
|
1706
|
-
</label>
|
|
1707
|
-
<button
|
|
1708
|
-
type="submit"
|
|
1709
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
1710
|
-
set="onclick: onUpload; @disabled: importDisabled"
|
|
1711
|
-
l10n="upload-url"
|
|
1712
|
-
></button>
|
|
1713
|
-
</form>
|
|
1714
|
-
`;
|
|
1478
|
+
static elementProperties = {};
|
|
1715
1479
|
static extSrcList = {
|
|
1716
1480
|
FACEBOOK: "facebook",
|
|
1717
1481
|
DROPBOX: "dropbox",
|
|
@@ -1745,6 +1509,8 @@ export const UrlSource = class {
|
|
|
1745
1509
|
ONEDRIVE: "onedrive",
|
|
1746
1510
|
HUDDLE: "huddle",
|
|
1747
1511
|
};
|
|
1512
|
+
static finalized = {};
|
|
1513
|
+
static elementStyles = [];
|
|
1748
1514
|
static activities = {
|
|
1749
1515
|
START_FROM: "start-from",
|
|
1750
1516
|
CAMERA: "camera",
|
|
@@ -1754,10 +1520,15 @@ export const UrlSource = class {
|
|
|
1754
1520
|
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1755
1521
|
EXTERNAL: "external",
|
|
1756
1522
|
};
|
|
1757
|
-
static reg = () => {};
|
|
1758
1523
|
static styleAttrs = [];
|
|
1759
|
-
static
|
|
1760
|
-
static
|
|
1524
|
+
static reg = () => {};
|
|
1525
|
+
static addInitializer = () => {};
|
|
1526
|
+
static createProperty = () => {};
|
|
1527
|
+
static getPropertyDescriptor = () => {};
|
|
1528
|
+
static getPropertyOptions = () => {};
|
|
1529
|
+
static finalize = () => {};
|
|
1530
|
+
static finalizeStyles = () => {};
|
|
1531
|
+
static shadowRootOptions = { mode: "open" };
|
|
1761
1532
|
};
|
|
1762
1533
|
export const defineComponents = () => {};
|
|
1763
1534
|
export const defineLocale = () => {};
|