@uploadcare/file-uploader 1.3.0-alpha.4 → 1.3.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/README.md +4 -4
- package/abstract/ActivityBlock.d.ts +1 -1
- package/abstract/ActivityBlock.d.ts.map +1 -1
- package/abstract/ActivityBlock.js +0 -2
- package/abstract/Block.d.ts +11 -4
- package/abstract/Block.d.ts.map +1 -1
- package/abstract/Block.js +16 -26
- package/abstract/CTX.d.ts +7 -7
- package/abstract/CTX.d.ts.map +1 -1
- package/abstract/CTX.js +1 -1
- package/abstract/LocaleManager.d.ts +3 -3
- package/abstract/SecureUploadsManager.d.ts +2 -2
- package/abstract/SecureUploadsManager.d.ts.map +1 -1
- package/abstract/SolutionBlock.d.ts +2 -2
- package/abstract/SolutionBlock.d.ts.map +1 -1
- package/abstract/TypedCollection.d.ts +1 -1
- package/abstract/TypedCollection.d.ts.map +1 -1
- package/abstract/TypedCollection.js +4 -4
- package/abstract/TypedData.d.ts +2 -2
- package/abstract/TypedData.d.ts.map +1 -1
- package/abstract/TypedData.js +4 -4
- package/abstract/UploaderBlock.d.ts +5 -5
- package/abstract/UploaderBlock.d.ts.map +1 -1
- package/abstract/UploaderBlock.js +5 -5
- package/abstract/UploaderPublicApi.d.ts +21 -22
- package/abstract/UploaderPublicApi.d.ts.map +1 -1
- package/abstract/UploaderPublicApi.js +3 -3
- package/abstract/ValidationManager.d.ts +3 -3
- package/abstract/ValidationManager.d.ts.map +1 -1
- package/abstract/a11y.d.ts +2 -2
- package/abstract/a11y.d.ts.map +1 -1
- package/abstract/buildOutputCollectionState.d.ts +1 -1
- package/abstract/buildOutputCollectionState.d.ts.map +1 -1
- package/abstract/defineComponents.d.ts.map +1 -1
- package/abstract/defineComponents.js +0 -5
- package/abstract/l10nProcessor.d.ts.map +1 -1
- package/abstract/l10nProcessor.js +3 -3
- package/abstract/loadFileUploaderFrom.d.ts.map +1 -1
- package/abstract/localeRegistry.d.ts.map +1 -1
- package/abstract/sharedConfigKey.d.ts.map +1 -1
- package/abstract/uploadEntrySchema.d.ts +2 -2
- package/abstract/uploadEntrySchema.d.ts.map +1 -1
- package/abstract/uploadEntrySchema.js +1 -1
- package/blocks/CameraSource/CameraSource.d.ts.map +1 -1
- package/blocks/CameraSource/CameraSource.js +11 -12
- package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/CropFrame.d.ts +11 -11
- package/blocks/CloudImageEditor/src/CropFrame.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/CropFrame.js +1 -2
- package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorButtonControl.js +2 -3
- package/blocks/CloudImageEditor/src/EditorCropButtonControl.js +1 -1
- package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorFilterControl.js +8 -4
- package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +3 -3
- package/blocks/CloudImageEditor/src/EditorImageCropper.js +2 -2
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts +1 -1
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorOperationControl.js +1 -1
- package/blocks/CloudImageEditor/src/EditorScroller.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorScroller.js +1 -2
- package/blocks/CloudImageEditor/src/EditorSlider.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorSlider.js +2 -3
- package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +1 -1
- package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorToolbar.js +14 -15
- package/blocks/CloudImageEditor/src/crop-utils.d.ts +14 -14
- package/blocks/CloudImageEditor/src/crop-utils.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/css/common.css +2 -2
- package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/elements/button/BtnUi.js +5 -5
- package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.js +1 -2
- package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.js +2 -3
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +2 -3
- package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts +15 -0
- package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts.map +1 -0
- package/blocks/CloudImageEditor/src/lib/FocusVisible.js +33 -0
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts +10 -0
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts.map +1 -0
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.js +256 -0
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +1 -1
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +3 -3
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/state.d.ts +4 -4
- package/blocks/CloudImageEditor/src/template.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/template.js +4 -5
- package/blocks/CloudImageEditor/src/types.d.ts +2 -2
- package/blocks/CloudImageEditor/src/types.d.ts.map +1 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +3 -3
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +1 -2
- package/blocks/Config/Config.d.ts +11 -3
- package/blocks/Config/Config.d.ts.map +1 -1
- package/blocks/Config/initialConfig.d.ts +1 -1
- package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
- package/blocks/Copyright/Copyright.d.ts.map +1 -1
- package/blocks/Copyright/Copyright.js +1 -2
- package/blocks/DropArea/DropArea.d.ts +2 -2
- package/blocks/DropArea/DropArea.d.ts.map +1 -1
- package/blocks/DropArea/DropArea.js +5 -5
- package/blocks/DropArea/addDropzone.d.ts.map +1 -1
- package/blocks/DropArea/getDropItems.d.ts +2 -2
- package/blocks/DropArea/getDropItems.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.d.ts +5 -5
- package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.js +9 -9
- package/blocks/ExternalSource/buildStyles.js +2 -2
- package/blocks/ExternalSource/query-string.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.d.ts +3 -3
- package/blocks/FileItem/FileItem.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.js +11 -12
- package/blocks/Icon/Icon.d.ts +1 -0
- package/blocks/Icon/Icon.d.ts.map +1 -1
- package/blocks/Icon/Icon.js +5 -3
- package/blocks/Img/ImgBase.js +9 -9
- package/blocks/Img/ImgConfig.d.ts +2 -2
- package/blocks/Img/ImgConfig.d.ts.map +1 -1
- package/blocks/Img/ImgConfig.js +3 -3
- package/blocks/Img/utils/parseObjectToString.js +1 -1
- package/blocks/Modal/Modal.d.ts.map +1 -1
- package/blocks/Modal/Modal.js +1 -2
- package/blocks/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/blocks/ProgressBar/ProgressBar.js +1 -2
- package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts.map +1 -1
- package/blocks/ProgressBarCommon/ProgressBarCommon.js +1 -2
- package/blocks/Range/Range.d.ts +16 -0
- package/blocks/Range/Range.d.ts.map +1 -0
- package/blocks/Range/Range.js +44 -0
- package/blocks/Range/range.css +65 -0
- package/blocks/Select/Select.d.ts.map +1 -1
- package/blocks/Select/Select.js +9 -14
- package/blocks/SimpleBtn/SimpleBtn.d.ts +2 -2
- package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -1
- package/blocks/SimpleBtn/SimpleBtn.js +3 -4
- package/blocks/SourceBtn/SourceBtn.d.ts +2 -2
- package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
- package/blocks/SourceBtn/SourceBtn.js +4 -4
- package/blocks/SourceList/SourceList.d.ts.map +1 -1
- package/blocks/SourceList/SourceList.js +4 -5
- package/blocks/StartFrom/StartFrom.d.ts.map +1 -1
- package/blocks/StartFrom/StartFrom.js +1 -2
- package/blocks/UploadCtxProvider/EventEmitter.d.ts +19 -19
- package/blocks/UploadCtxProvider/EventEmitter.d.ts.map +1 -1
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +4 -4
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +1 -1
- package/blocks/UploadList/UploadList.d.ts +2 -2
- package/blocks/UploadList/UploadList.d.ts.map +1 -1
- package/blocks/UploadList/UploadList.js +11 -10
- package/blocks/UrlSource/UrlSource.d.ts.map +1 -1
- package/blocks/UrlSource/UrlSource.js +6 -7
- package/blocks/themes/uc-basic/index.css +1 -0
- package/blocks/utils/debounce.d.ts +1 -3
- package/blocks/utils/debounce.d.ts.map +1 -1
- package/blocks/utils/throttle.d.ts +1 -3
- package/blocks/utils/throttle.d.ts.map +1 -1
- package/blocks/utils/userAgent.d.ts +1 -1
- package/blocks/utils/userAgent.d.ts.map +1 -1
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.ssr.d.ts +2 -116
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +79 -190
- package/package.json +8 -10
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts +2 -2
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -1
- package/solutions/file-uploader/inline/FileUploaderInline.js +5 -5
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.js +1 -2
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +2 -2
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
- package/solutions/file-uploader/regular/FileUploaderRegular.js +3 -6
- package/types/jsx.d.ts +3 -9
- package/utils/getPluralForm.d.ts.map +1 -1
- package/utils/isSecureTokenExpired.d.ts +1 -1
- package/utils/memoize.d.ts.map +1 -1
- package/utils/mixinClass.d.ts +1 -3
- package/utils/mixinClass.d.ts.map +1 -1
- package/utils/prettyBytes.d.ts.map +1 -1
- package/utils/template-utils.d.ts.map +1 -1
- package/utils/toKebabCase.d.ts.map +1 -1
- package/utils/uniqueArray.d.ts.map +1 -1
- package/utils/validators/collection/validateCollectionUploadError.d.ts +1 -1
- package/utils/validators/collection/validateMultiple.d.ts +1 -1
- package/utils/validators/file/validateFileType.d.ts +1 -1
- package/utils/validators/file/validateIsImage.d.ts +1 -1
- package/utils/validators/file/validateMaxSizeLimit.d.ts +1 -1
- package/utils/validators/file/validateUploadError.d.ts +1 -1
- package/utils/waitForAttribute.d.ts +6 -12
- package/utils/waitForAttribute.d.ts.map +1 -1
- package/utils/waitForAttribute.js +8 -38
- package/utils/waitForAttribute.test.js +47 -10
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +4 -4
- package/web/uc-basic.min.css +1 -1
- package/web/uc-cloud-image-editor.min.css +1 -1
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.css +1 -1
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.js +3 -3
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +3 -3
- package/abstract/bindCompatibilityFallbackProcessor.d.ts +0 -3
- package/abstract/bindCompatibilityFallbackProcessor.d.ts.map +0 -1
- package/abstract/bindCompatibilityFallbackProcessor.js +0 -16
- package/utils/withResolvers.d.ts +0 -7
- package/utils/withResolvers.d.ts.map +0 -1
- package/utils/withResolvers.js +0 -17
- package/utils/withResolvers.test.d.ts +0 -2
- package/utils/withResolvers.test.d.ts.map +0 -1
- package/utils/withResolvers.test.js +0 -27
package/index.ssr.js
CHANGED
|
@@ -13,8 +13,6 @@ export const ActivityBlock = class {
|
|
|
13
13
|
static styleAttrs = [];
|
|
14
14
|
static is = `sym-1`;
|
|
15
15
|
static bindAttributes = () => {};
|
|
16
|
-
static addRootStyles = () => {};
|
|
17
|
-
static addShadowStyles = () => {};
|
|
18
16
|
};
|
|
19
17
|
export const ActivityHeader = class {
|
|
20
18
|
static activities = {
|
|
@@ -31,29 +29,23 @@ export const ActivityHeader = class {
|
|
|
31
29
|
static styleAttrs = [];
|
|
32
30
|
static is = `sym-1`;
|
|
33
31
|
static bindAttributes = () => {};
|
|
34
|
-
static addRootStyles = () => {};
|
|
35
|
-
static addShadowStyles = () => {};
|
|
36
32
|
};
|
|
37
33
|
export const BaseComponent = class {
|
|
38
34
|
static reg = () => {};
|
|
39
35
|
static is = `sym-1`;
|
|
40
36
|
static bindAttributes = () => {};
|
|
41
|
-
static addRootStyles = () => {};
|
|
42
|
-
static addShadowStyles = () => {};
|
|
43
37
|
};
|
|
44
38
|
export const Block = class {
|
|
45
39
|
static reg = () => {};
|
|
46
40
|
static styleAttrs = [];
|
|
47
41
|
static is = `sym-1`;
|
|
48
42
|
static bindAttributes = () => {};
|
|
49
|
-
static addRootStyles = () => {};
|
|
50
|
-
static addShadowStyles = () => {};
|
|
51
43
|
};
|
|
52
44
|
export const BtnUi = class {
|
|
53
45
|
static observedAttributes = ["text", "icon", "reverse", "theme"];
|
|
54
46
|
static template = `
|
|
55
|
-
<button type="button"
|
|
56
|
-
<uc-icon
|
|
47
|
+
<button type="button" set="@role:aria-role; @aria-controls: aria-controls">
|
|
48
|
+
<uc-icon set="className: iconCss; @name: icon; @hidden: !icon"></uc-icon>
|
|
57
49
|
<div class="uc-text">{{text}}</div>
|
|
58
50
|
</button>
|
|
59
51
|
`;
|
|
@@ -61,25 +53,23 @@ export const BtnUi = class {
|
|
|
61
53
|
static styleAttrs = [];
|
|
62
54
|
static is = `sym-1`;
|
|
63
55
|
static bindAttributes = () => {};
|
|
64
|
-
static addRootStyles = () => {};
|
|
65
|
-
static addShadowStyles = () => {};
|
|
66
56
|
};
|
|
67
57
|
export const CameraSource = class {
|
|
68
58
|
static template = `
|
|
69
59
|
<uc-activity-header>
|
|
70
|
-
<button type="button" class="uc-mini-btn"
|
|
60
|
+
<button type="button" class="uc-mini-btn" set="onclick: *historyBack">
|
|
71
61
|
<uc-icon name="back"></uc-icon>
|
|
72
62
|
</button>
|
|
73
|
-
<div
|
|
63
|
+
<div set="@hidden: !cameraSelectHidden">
|
|
74
64
|
<uc-icon name="camera"></uc-icon>
|
|
75
65
|
<span l10n="caption-camera"></span>
|
|
76
66
|
</div>
|
|
77
67
|
<uc-select
|
|
78
68
|
class="uc-camera-select"
|
|
79
|
-
|
|
69
|
+
set="$.options: cameraSelectOptions; @hidden: cameraSelectHidden; onchange: onCameraSelectChange"
|
|
80
70
|
>
|
|
81
71
|
</uc-select>
|
|
82
|
-
<button type="button" class="uc-mini-btn uc-close-btn"
|
|
72
|
+
<button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
|
|
83
73
|
<uc-icon name="close"></uc-icon>
|
|
84
74
|
</button>
|
|
85
75
|
</uc-activity-header>
|
|
@@ -87,18 +77,18 @@ export const CameraSource = class {
|
|
|
87
77
|
<video
|
|
88
78
|
autoplay
|
|
89
79
|
playsinline
|
|
90
|
-
|
|
80
|
+
set="srcObject: video; style.transform: videoTransformCss; @hidden: videoHidden"
|
|
91
81
|
ref="video"
|
|
92
82
|
></video>
|
|
93
|
-
<div class="uc-message-box"
|
|
83
|
+
<div class="uc-message-box" set="@hidden: messageHidden">
|
|
94
84
|
<span l10n="l10nMessage"></span>
|
|
95
85
|
<button
|
|
96
86
|
type="button"
|
|
97
|
-
|
|
87
|
+
set="onclick: onRequestPermissions; @hidden: requestBtnHidden"
|
|
98
88
|
l10n="camera-permissions-request"
|
|
99
89
|
></button>
|
|
100
90
|
</div>
|
|
101
|
-
<button type="button" class="uc-shot-btn"
|
|
91
|
+
<button type="button" class="uc-shot-btn" set="onclick: onShot; @disabled: shotBtnDisabled">
|
|
102
92
|
<uc-icon name="camera"></uc-icon>
|
|
103
93
|
</button>
|
|
104
94
|
</div>
|
|
@@ -147,15 +137,13 @@ export const CameraSource = class {
|
|
|
147
137
|
static styleAttrs = [];
|
|
148
138
|
static is = `sym-1`;
|
|
149
139
|
static bindAttributes = () => {};
|
|
150
|
-
static addRootStyles = () => {};
|
|
151
|
-
static addShadowStyles = () => {};
|
|
152
140
|
};
|
|
153
141
|
export const CloudImageEditor = class {
|
|
154
142
|
static styleAttrs = [];
|
|
155
143
|
static template = `
|
|
156
144
|
<svg width='0' height='0' style='position:absolute'><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='puc-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(#puc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-icon-id__h)'/><defs><linearGradient id='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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>
|
|
157
145
|
<div class="uc-wrapper uc-wrapper_desktop">
|
|
158
|
-
<uc-presence-toggle class="uc-network_problems_splash"
|
|
146
|
+
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
159
147
|
<div class="uc-network_problems_content">
|
|
160
148
|
<div class="uc-network_problems_icon">
|
|
161
149
|
<uc-icon name="sad"></uc-icon>
|
|
@@ -163,7 +151,7 @@ export const CloudImageEditor = class {
|
|
|
163
151
|
<div class="uc-network_problems_text">Network error</div>
|
|
164
152
|
</div>
|
|
165
153
|
<div class="uc-network_problems_footer">
|
|
166
|
-
<uc-btn-ui theme="primary" text="Retry"
|
|
154
|
+
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
167
155
|
</div>
|
|
168
156
|
</uc-presence-toggle>
|
|
169
157
|
<div class="uc-viewport">
|
|
@@ -178,7 +166,7 @@ export const CloudImageEditor = class {
|
|
|
178
166
|
<div class="uc-info_pan">{{msg}}</div>
|
|
179
167
|
</div>
|
|
180
168
|
<div class="uc-toolbar">
|
|
181
|
-
<uc-line-loader-ui
|
|
169
|
+
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
182
170
|
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
183
171
|
<uc-editor-toolbar></uc-editor-toolbar>
|
|
184
172
|
</div>
|
|
@@ -189,8 +177,6 @@ export const CloudImageEditor = class {
|
|
|
189
177
|
static reg = () => {};
|
|
190
178
|
static is = `sym-1`;
|
|
191
179
|
static bindAttributes = () => {};
|
|
192
|
-
static addRootStyles = () => {};
|
|
193
|
-
static addShadowStyles = () => {};
|
|
194
180
|
};
|
|
195
181
|
export const CloudImageEditorActivity = class {
|
|
196
182
|
static extSrcList = {
|
|
@@ -237,15 +223,13 @@ export const CloudImageEditorActivity = class {
|
|
|
237
223
|
static styleAttrs = [];
|
|
238
224
|
static is = `sym-1`;
|
|
239
225
|
static bindAttributes = () => {};
|
|
240
|
-
static addRootStyles = () => {};
|
|
241
|
-
static addShadowStyles = () => {};
|
|
242
226
|
};
|
|
243
227
|
export const CloudImageEditorBlock = class {
|
|
244
228
|
static styleAttrs = [];
|
|
245
229
|
static template = `
|
|
246
230
|
<svg width='0' height='0' style='position:absolute'><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='puc-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(#puc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-icon-id__h)'/><defs><linearGradient id='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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='suc-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>
|
|
247
231
|
<div class="uc-wrapper uc-wrapper_desktop">
|
|
248
|
-
<uc-presence-toggle class="uc-network_problems_splash"
|
|
232
|
+
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
249
233
|
<div class="uc-network_problems_content">
|
|
250
234
|
<div class="uc-network_problems_icon">
|
|
251
235
|
<uc-icon name="sad"></uc-icon>
|
|
@@ -253,7 +237,7 @@ export const CloudImageEditorBlock = class {
|
|
|
253
237
|
<div class="uc-network_problems_text">Network error</div>
|
|
254
238
|
</div>
|
|
255
239
|
<div class="uc-network_problems_footer">
|
|
256
|
-
<uc-btn-ui theme="primary" text="Retry"
|
|
240
|
+
<uc-btn-ui theme="primary" text="Retry" set="onclick: *on.retryNetwork"></uc-btn-ui>
|
|
257
241
|
</div>
|
|
258
242
|
</uc-presence-toggle>
|
|
259
243
|
<div class="uc-viewport">
|
|
@@ -268,7 +252,7 @@ export const CloudImageEditorBlock = class {
|
|
|
268
252
|
<div class="uc-info_pan">{{msg}}</div>
|
|
269
253
|
</div>
|
|
270
254
|
<div class="uc-toolbar">
|
|
271
|
-
<uc-line-loader-ui
|
|
255
|
+
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
272
256
|
<div class="uc-toolbar_content uc-toolbar_content__editor">
|
|
273
257
|
<uc-editor-toolbar></uc-editor-toolbar>
|
|
274
258
|
</div>
|
|
@@ -279,8 +263,6 @@ export const CloudImageEditorBlock = class {
|
|
|
279
263
|
static reg = () => {};
|
|
280
264
|
static is = `sym-1`;
|
|
281
265
|
static bindAttributes = () => {};
|
|
282
|
-
static addRootStyles = () => {};
|
|
283
|
-
static addShadowStyles = () => {};
|
|
284
266
|
};
|
|
285
267
|
export const Config = class {
|
|
286
268
|
static observedAttributes = [
|
|
@@ -372,8 +354,6 @@ export const Config = class {
|
|
|
372
354
|
static styleAttrs = [];
|
|
373
355
|
static is = `sym-1`;
|
|
374
356
|
static bindAttributes = () => {};
|
|
375
|
-
static addRootStyles = () => {};
|
|
376
|
-
static addShadowStyles = () => {};
|
|
377
357
|
};
|
|
378
358
|
export const Copyright = class {
|
|
379
359
|
static template = `
|
|
@@ -388,19 +368,16 @@ export const Copyright = class {
|
|
|
388
368
|
static styleAttrs = [];
|
|
389
369
|
static is = `sym-1`;
|
|
390
370
|
static bindAttributes = () => {};
|
|
391
|
-
static addRootStyles = () => {};
|
|
392
|
-
static addShadowStyles = () => {};
|
|
393
371
|
};
|
|
394
372
|
export const CropFrame = class {
|
|
395
|
-
static template =
|
|
373
|
+
static template = ` <svg class="uc-svg" ref="svg-el" xmlns="http://www.w3.org/2000/svg"></svg> `;
|
|
396
374
|
static reg = () => {};
|
|
397
375
|
static styleAttrs = [];
|
|
398
376
|
static is = `sym-1`;
|
|
399
377
|
static bindAttributes = () => {};
|
|
400
|
-
static addRootStyles = () => {};
|
|
401
|
-
static addShadowStyles = () => {};
|
|
402
378
|
};
|
|
403
379
|
export const Data = class {
|
|
380
|
+
static warn = () => {};
|
|
404
381
|
static registerCtx = () => {};
|
|
405
382
|
static deleteCtx = () => {};
|
|
406
383
|
static getCtx = () => {};
|
|
@@ -420,8 +397,8 @@ export const DropArea = class {
|
|
|
420
397
|
static template = `
|
|
421
398
|
<slot>
|
|
422
399
|
<div data-default-slot hidden></div>
|
|
423
|
-
<div ref="content-wrapper" class="uc-content-wrapper"
|
|
424
|
-
<div class="uc-icon-container"
|
|
400
|
+
<div ref="content-wrapper" class="uc-content-wrapper" set="@hidden: !isVisible">
|
|
401
|
+
<div class="uc-icon-container" set="@hidden: !withIcon">
|
|
425
402
|
<uc-icon name="default"></uc-icon>
|
|
426
403
|
<uc-icon name="arrow-down"></uc-icon>
|
|
427
404
|
</div>
|
|
@@ -479,13 +456,11 @@ export const DropArea = class {
|
|
|
479
456
|
static reg = () => {};
|
|
480
457
|
static is = `sym-1`;
|
|
481
458
|
static bindAttributes = () => {};
|
|
482
|
-
static addRootStyles = () => {};
|
|
483
|
-
static addShadowStyles = () => {};
|
|
484
459
|
};
|
|
485
460
|
export const EditorCropButtonControl = class {
|
|
486
461
|
static template = `
|
|
487
462
|
<button type="button" role="option">
|
|
488
|
-
<uc-icon
|
|
463
|
+
<uc-icon set="@name: icon;"></uc-icon>
|
|
489
464
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
490
465
|
</button>
|
|
491
466
|
`;
|
|
@@ -493,13 +468,11 @@ export const EditorCropButtonControl = class {
|
|
|
493
468
|
static styleAttrs = [];
|
|
494
469
|
static is = `sym-1`;
|
|
495
470
|
static bindAttributes = () => {};
|
|
496
|
-
static addRootStyles = () => {};
|
|
497
|
-
static addShadowStyles = () => {};
|
|
498
471
|
};
|
|
499
472
|
export const EditorFilterControl = class {
|
|
500
473
|
static template = `
|
|
501
474
|
<button type="button" role="option">
|
|
502
|
-
<uc-icon
|
|
475
|
+
<uc-icon set="@name: icon;"></uc-icon>
|
|
503
476
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
504
477
|
</button>
|
|
505
478
|
`;
|
|
@@ -507,8 +480,6 @@ export const EditorFilterControl = class {
|
|
|
507
480
|
static styleAttrs = [];
|
|
508
481
|
static is = `sym-1`;
|
|
509
482
|
static bindAttributes = () => {};
|
|
510
|
-
static addRootStyles = () => {};
|
|
511
|
-
static addShadowStyles = () => {};
|
|
512
483
|
};
|
|
513
484
|
export const EditorImageCropper = class {
|
|
514
485
|
static template = `
|
|
@@ -519,21 +490,17 @@ export const EditorImageCropper = class {
|
|
|
519
490
|
static styleAttrs = [];
|
|
520
491
|
static is = `sym-1`;
|
|
521
492
|
static bindAttributes = () => {};
|
|
522
|
-
static addRootStyles = () => {};
|
|
523
|
-
static addShadowStyles = () => {};
|
|
524
493
|
};
|
|
525
494
|
export const EditorImageFader = class {
|
|
526
495
|
static reg = () => {};
|
|
527
496
|
static styleAttrs = [];
|
|
528
497
|
static is = `sym-1`;
|
|
529
498
|
static bindAttributes = () => {};
|
|
530
|
-
static addRootStyles = () => {};
|
|
531
|
-
static addShadowStyles = () => {};
|
|
532
499
|
};
|
|
533
500
|
export const EditorOperationControl = class {
|
|
534
501
|
static template = `
|
|
535
502
|
<button type="button" role="option">
|
|
536
|
-
<uc-icon
|
|
503
|
+
<uc-icon set="@name: icon;"></uc-icon>
|
|
537
504
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
538
505
|
</button>
|
|
539
506
|
`;
|
|
@@ -541,8 +508,6 @@ export const EditorOperationControl = class {
|
|
|
541
508
|
static styleAttrs = [];
|
|
542
509
|
static is = `sym-1`;
|
|
543
510
|
static bindAttributes = () => {};
|
|
544
|
-
static addRootStyles = () => {};
|
|
545
|
-
static addShadowStyles = () => {};
|
|
546
511
|
};
|
|
547
512
|
export const EditorScroller = class {
|
|
548
513
|
static template = ` <slot></slot> `;
|
|
@@ -550,26 +515,22 @@ export const EditorScroller = class {
|
|
|
550
515
|
static styleAttrs = [];
|
|
551
516
|
static is = `sym-1`;
|
|
552
517
|
static bindAttributes = () => {};
|
|
553
|
-
static addRootStyles = () => {};
|
|
554
|
-
static addShadowStyles = () => {};
|
|
555
518
|
};
|
|
556
519
|
export const EditorSlider = class {
|
|
557
520
|
static template = `
|
|
558
521
|
<uc-slider-ui
|
|
559
522
|
ref="slider-el"
|
|
560
|
-
|
|
523
|
+
set="disabled: disabled; min: min; max: max; defaultValue: defaultValue; zero: zero; onInput: on.input;"
|
|
561
524
|
></uc-slider-ui>
|
|
562
525
|
`;
|
|
563
526
|
static reg = () => {};
|
|
564
527
|
static styleAttrs = [];
|
|
565
528
|
static is = `sym-1`;
|
|
566
529
|
static bindAttributes = () => {};
|
|
567
|
-
static addRootStyles = () => {};
|
|
568
|
-
static addShadowStyles = () => {};
|
|
569
530
|
};
|
|
570
531
|
export const EditorToolbar = class {
|
|
571
532
|
static template = `
|
|
572
|
-
<uc-line-loader-ui
|
|
533
|
+
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
573
534
|
<div class="uc-info-tooltip_container">
|
|
574
535
|
<div class="uc-info-tooltip_wrapper">
|
|
575
536
|
<div ref="tooltip-el" class="uc-info-tooltip uc-info-tooltip_hidden">{{*operationTooltip}}</div>
|
|
@@ -579,13 +540,13 @@ export const EditorToolbar = class {
|
|
|
579
540
|
<uc-presence-toggle
|
|
580
541
|
role="tablist"
|
|
581
542
|
class="uc-sub-toolbar"
|
|
582
|
-
|
|
543
|
+
set="visible: presence.mainToolbar; styles: presence.subTopToolbarStyles"
|
|
583
544
|
>
|
|
584
545
|
<div class="uc-tab-content-row">
|
|
585
546
|
<uc-presence-toggle
|
|
586
547
|
id="tab_crop"
|
|
587
548
|
class="uc-tab-content"
|
|
588
|
-
|
|
549
|
+
set="visible: presence.tabContent.crop; styles: presence.tabContentStyles"
|
|
589
550
|
>
|
|
590
551
|
<uc-editor-scroller hidden-scrollbar>
|
|
591
552
|
<div class="uc-controls-list_align">
|
|
@@ -602,7 +563,7 @@ export const EditorToolbar = class {
|
|
|
602
563
|
<uc-presence-toggle
|
|
603
564
|
id="tab_tuning"
|
|
604
565
|
class="uc-tab-content"
|
|
605
|
-
|
|
566
|
+
set="visible: presence.tabContent.tuning; styles: presence.tabContentStyles"
|
|
606
567
|
>
|
|
607
568
|
<uc-editor-scroller hidden-scrollbar>
|
|
608
569
|
<div class="uc-controls-list_align">
|
|
@@ -619,7 +580,7 @@ export const EditorToolbar = class {
|
|
|
619
580
|
<uc-presence-toggle
|
|
620
581
|
id="tab_filters"
|
|
621
582
|
class="uc-tab-content"
|
|
622
|
-
|
|
583
|
+
set="visible: presence.tabContent.filters; styles: presence.tabContentStyles"
|
|
623
584
|
>
|
|
624
585
|
<uc-editor-scroller hidden-scrollbar>
|
|
625
586
|
<div class="uc-controls-list_align">
|
|
@@ -636,67 +597,67 @@ export const EditorToolbar = class {
|
|
|
636
597
|
<div class="uc-controls-row">
|
|
637
598
|
<uc-presence-toggle
|
|
638
599
|
class="uc-tab-toggles"
|
|
639
|
-
|
|
600
|
+
set="visible: presence.tabToggles; styles: presence.tabTogglesStyles"
|
|
640
601
|
>
|
|
641
602
|
<div ref="tabs-indicator" class="uc-tab-toggles_indicator"></div>
|
|
642
603
|
|
|
643
604
|
<uc-presence-toggle
|
|
644
605
|
class="uc-tab-toggle"
|
|
645
|
-
|
|
606
|
+
set="visible: presence.tabToggle.crop; styles: presence.tabToggleStyles;"
|
|
646
607
|
>
|
|
647
608
|
<uc-btn-ui
|
|
648
609
|
theme="tab"
|
|
649
610
|
ref="tab-toggle-crop"
|
|
650
611
|
data-id="crop"
|
|
651
612
|
icon="crop"
|
|
652
|
-
|
|
613
|
+
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_crop"
|
|
653
614
|
>
|
|
654
615
|
</uc-btn-ui>
|
|
655
616
|
</uc-presence-toggle>
|
|
656
617
|
|
|
657
618
|
<uc-presence-toggle
|
|
658
619
|
class="uc-tab-toggle"
|
|
659
|
-
|
|
620
|
+
set="visible: presence.tabToggle.tuning; styles: presence.tabToggleStyles;"
|
|
660
621
|
>
|
|
661
622
|
<uc-btn-ui
|
|
662
623
|
theme="tab"
|
|
663
624
|
ref="tab-toggle-tuning"
|
|
664
625
|
data-id="tuning"
|
|
665
626
|
icon="tuning"
|
|
666
|
-
|
|
627
|
+
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_tuning"
|
|
667
628
|
>
|
|
668
629
|
</uc-btn-ui>
|
|
669
630
|
</uc-presence-toggle>
|
|
670
631
|
|
|
671
632
|
<uc-presence-toggle
|
|
672
633
|
class="uc-tab-toggle"
|
|
673
|
-
|
|
634
|
+
set="visible: presence.tabToggle.filters; styles: presence.tabToggleStyles;"
|
|
674
635
|
>
|
|
675
636
|
<uc-btn-ui
|
|
676
637
|
theme="tab"
|
|
677
638
|
ref="tab-toggle-filters"
|
|
678
639
|
data-id="filters"
|
|
679
640
|
icon="filters"
|
|
680
|
-
|
|
641
|
+
set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_filters"
|
|
681
642
|
>
|
|
682
643
|
</uc-btn-ui>
|
|
683
644
|
</uc-presence-toggle>
|
|
684
645
|
|
|
685
646
|
</uc-presence-toggle>
|
|
686
|
-
<uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax"
|
|
687
|
-
<uc-btn-ui theme="primary-icon" icon="done"
|
|
647
|
+
<uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" set="onclick: on.cancel"> </uc-btn-ui>
|
|
648
|
+
<uc-btn-ui theme="primary-icon" icon="done" set="onclick: on.apply"> </uc-btn-ui>
|
|
688
649
|
</div>
|
|
689
650
|
</uc-presence-toggle>
|
|
690
651
|
<uc-presence-toggle
|
|
691
652
|
class="uc-sub-toolbar"
|
|
692
|
-
|
|
653
|
+
set="visible: presence.subToolbar; styles: presence.subBottomToolbarStyles"
|
|
693
654
|
>
|
|
694
655
|
<div class="uc-slider">
|
|
695
656
|
<uc-editor-slider ref="slider-el"></uc-editor-slider>
|
|
696
657
|
</div>
|
|
697
658
|
<div class="uc-controls-row">
|
|
698
|
-
<uc-btn-ui theme="secondary"
|
|
699
|
-
<uc-btn-ui theme="primary"
|
|
659
|
+
<uc-btn-ui theme="secondary" set="onclick: on.cancelSlider;" l10n="@text:cancel"> </uc-btn-ui>
|
|
660
|
+
<uc-btn-ui theme="primary" set="onclick: on.applySlider;" l10n="@text:apply"> </uc-btn-ui>
|
|
700
661
|
</div>
|
|
701
662
|
</uc-presence-toggle>
|
|
702
663
|
</div>
|
|
@@ -705,33 +666,31 @@ export const EditorToolbar = class {
|
|
|
705
666
|
static styleAttrs = [];
|
|
706
667
|
static is = `sym-1`;
|
|
707
668
|
static bindAttributes = () => {};
|
|
708
|
-
static addRootStyles = () => {};
|
|
709
|
-
static addShadowStyles = () => {};
|
|
710
669
|
};
|
|
711
670
|
export const ExternalSource = class {
|
|
712
671
|
static template = `
|
|
713
672
|
<uc-activity-header>
|
|
714
|
-
<button type="button" class="uc-mini-btn"
|
|
673
|
+
<button type="button" class="uc-mini-btn" set="onclick: *historyBack">
|
|
715
674
|
<uc-icon name="back"></uc-icon>
|
|
716
675
|
</button>
|
|
717
676
|
<div>
|
|
718
|
-
<uc-icon
|
|
677
|
+
<uc-icon set="@name: activityIcon"></uc-icon>
|
|
719
678
|
<span>{{activityCaption}}</span>
|
|
720
679
|
</div>
|
|
721
|
-
<button type="button" class="uc-mini-btn uc-close-btn"
|
|
680
|
+
<button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *historyBack">
|
|
722
681
|
<uc-icon name="close"></uc-icon>
|
|
723
682
|
</button>
|
|
724
683
|
</uc-activity-header>
|
|
725
684
|
<div class="uc-content">
|
|
726
685
|
<div ref="iframeWrapper" class="uc-iframe-wrapper"></div>
|
|
727
686
|
<div class="uc-toolbar">
|
|
728
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn"
|
|
687
|
+
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel" l10n="cancel"></button>
|
|
729
688
|
<div></div>
|
|
730
|
-
<div
|
|
689
|
+
<div set="@hidden: !multiple" class="uc-selected-counter"><span l10n="selected-count"></span>{{counter}}</div>
|
|
731
690
|
<button
|
|
732
691
|
type="button"
|
|
733
692
|
class="uc-done-btn uc-primary-btn"
|
|
734
|
-
|
|
693
|
+
set="onclick: onDone; @disabled: !counter"
|
|
735
694
|
l10n="done"
|
|
736
695
|
></button>
|
|
737
696
|
</div>
|
|
@@ -781,27 +740,25 @@ export const ExternalSource = class {
|
|
|
781
740
|
static styleAttrs = [];
|
|
782
741
|
static is = `sym-1`;
|
|
783
742
|
static bindAttributes = () => {};
|
|
784
|
-
static addRootStyles = () => {};
|
|
785
|
-
static addShadowStyles = () => {};
|
|
786
743
|
};
|
|
787
744
|
export const FileItem = class {
|
|
788
745
|
static template = `
|
|
789
|
-
<div class="uc-inner"
|
|
790
|
-
<div class="uc-thumb"
|
|
746
|
+
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
747
|
+
<div class="uc-thumb" set="style.backgroundImage: thumbUrl">
|
|
791
748
|
<div class="uc-badge">
|
|
792
|
-
<uc-icon
|
|
749
|
+
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
793
750
|
</div>
|
|
794
751
|
</div>
|
|
795
752
|
<div class="uc-file-name-wrapper">
|
|
796
|
-
<span class="uc-file-name"
|
|
797
|
-
<span class="uc-file-error"
|
|
753
|
+
<span class="uc-file-name" set="@title: itemName">{{itemName}}</span>
|
|
754
|
+
<span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
|
|
798
755
|
</div>
|
|
799
756
|
<div class="uc-file-actions">
|
|
800
757
|
<button
|
|
801
758
|
type="button"
|
|
802
759
|
l10n="@title:file-item-edit-button"
|
|
803
760
|
class="uc-edit-btn uc-mini-btn"
|
|
804
|
-
|
|
761
|
+
set="onclick: onEdit; @hidden: !isEditable"
|
|
805
762
|
>
|
|
806
763
|
<uc-icon name="edit-file"></uc-icon>
|
|
807
764
|
</button>
|
|
@@ -809,15 +766,15 @@ export const FileItem = class {
|
|
|
809
766
|
type="button"
|
|
810
767
|
l10n="@title:file-item-remove-button"
|
|
811
768
|
class="uc-remove-btn uc-mini-btn"
|
|
812
|
-
|
|
769
|
+
set="onclick: onRemove;"
|
|
813
770
|
>
|
|
814
771
|
<uc-icon name="remove-file"></uc-icon>
|
|
815
772
|
</button>
|
|
816
|
-
<button type="button" class="uc-upload-btn uc-mini-btn"
|
|
773
|
+
<button type="button" class="uc-upload-btn uc-mini-btn" set="onclick: onUpload;">
|
|
817
774
|
<uc-icon name="upload"></uc-icon>
|
|
818
775
|
</button>
|
|
819
776
|
</div>
|
|
820
|
-
<uc-progress-bar class="uc-progress-bar"
|
|
777
|
+
<uc-progress-bar class="uc-progress-bar" set="value: progressValue; visible: progressVisible;"> </uc-progress-bar>
|
|
821
778
|
</div>
|
|
822
779
|
`;
|
|
823
780
|
static activeInstances = {};
|
|
@@ -865,24 +822,18 @@ export const FileItem = class {
|
|
|
865
822
|
static styleAttrs = [];
|
|
866
823
|
static is = `sym-1`;
|
|
867
824
|
static bindAttributes = () => {};
|
|
868
|
-
static addRootStyles = () => {};
|
|
869
|
-
static addShadowStyles = () => {};
|
|
870
825
|
};
|
|
871
826
|
export const FileUploaderInline = class {
|
|
872
827
|
static styleAttrs = [];
|
|
873
828
|
static reg = () => {};
|
|
874
829
|
static is = `sym-1`;
|
|
875
830
|
static bindAttributes = () => {};
|
|
876
|
-
static addRootStyles = () => {};
|
|
877
|
-
static addShadowStyles = () => {};
|
|
878
831
|
};
|
|
879
832
|
export const FileUploaderMinimal = class {
|
|
880
833
|
static styleAttrs = [];
|
|
881
834
|
static reg = () => {};
|
|
882
835
|
static is = `sym-1`;
|
|
883
836
|
static bindAttributes = () => {};
|
|
884
|
-
static addRootStyles = () => {};
|
|
885
|
-
static addShadowStyles = () => {};
|
|
886
837
|
};
|
|
887
838
|
export const FileUploaderRegular = class {
|
|
888
839
|
static styleAttrs = [];
|
|
@@ -890,8 +841,6 @@ export const FileUploaderRegular = class {
|
|
|
890
841
|
static reg = () => {};
|
|
891
842
|
static is = `sym-1`;
|
|
892
843
|
static bindAttributes = () => {};
|
|
893
|
-
static addRootStyles = () => {};
|
|
894
|
-
static addShadowStyles = () => {};
|
|
895
844
|
};
|
|
896
845
|
export const FormInput = class {
|
|
897
846
|
static extSrcList = {
|
|
@@ -938,22 +887,19 @@ export const FormInput = class {
|
|
|
938
887
|
static styleAttrs = [];
|
|
939
888
|
static is = `sym-1`;
|
|
940
889
|
static bindAttributes = () => {};
|
|
941
|
-
static addRootStyles = () => {};
|
|
942
|
-
static addShadowStyles = () => {};
|
|
943
890
|
};
|
|
944
891
|
export const Icon = class {
|
|
945
892
|
static template = `
|
|
946
893
|
<svg ref="svg" xmlns="http://www.w3.org/2000/svg">
|
|
947
|
-
<
|
|
894
|
+
<title>{{title}}</title>
|
|
895
|
+
<use set="@href: href;"></use>
|
|
948
896
|
</svg>
|
|
949
897
|
`;
|
|
950
|
-
static observedAttributes = ["name"];
|
|
898
|
+
static observedAttributes = ["name", "title"];
|
|
951
899
|
static reg = () => {};
|
|
952
900
|
static styleAttrs = [];
|
|
953
901
|
static is = `sym-1`;
|
|
954
902
|
static bindAttributes = () => {};
|
|
955
|
-
static addRootStyles = () => {};
|
|
956
|
-
static addShadowStyles = () => {};
|
|
957
903
|
};
|
|
958
904
|
export const Img = class {
|
|
959
905
|
static observedAttributes = [
|
|
@@ -979,8 +925,6 @@ export const Img = class {
|
|
|
979
925
|
static reg = () => {};
|
|
980
926
|
static is = `sym-1`;
|
|
981
927
|
static bindAttributes = () => {};
|
|
982
|
-
static addRootStyles = () => {};
|
|
983
|
-
static addShadowStyles = () => {};
|
|
984
928
|
};
|
|
985
929
|
export const LineLoaderUi = class {
|
|
986
930
|
static template = `
|
|
@@ -992,8 +936,6 @@ export const LineLoaderUi = class {
|
|
|
992
936
|
static styleAttrs = [];
|
|
993
937
|
static is = `sym-1`;
|
|
994
938
|
static bindAttributes = () => {};
|
|
995
|
-
static addRootStyles = () => {};
|
|
996
|
-
static addShadowStyles = () => {};
|
|
997
939
|
};
|
|
998
940
|
export const Modal = class {
|
|
999
941
|
static styleAttrs = [];
|
|
@@ -1006,19 +948,15 @@ export const Modal = class {
|
|
|
1006
948
|
static reg = () => {};
|
|
1007
949
|
static is = `sym-1`;
|
|
1008
950
|
static bindAttributes = () => {};
|
|
1009
|
-
static addRootStyles = () => {};
|
|
1010
|
-
static addShadowStyles = () => {};
|
|
1011
951
|
};
|
|
1012
952
|
export const PACKAGE_NAME = `blocks`;
|
|
1013
|
-
export const PACKAGE_VERSION = `1.
|
|
953
|
+
export const PACKAGE_VERSION = `1.3.0`;
|
|
1014
954
|
export const PresenceToggle = class {
|
|
1015
|
-
static template =
|
|
955
|
+
static template = `<slot></slot> `;
|
|
1016
956
|
static reg = () => {};
|
|
1017
957
|
static styleAttrs = [];
|
|
1018
958
|
static is = `sym-1`;
|
|
1019
959
|
static bindAttributes = () => {};
|
|
1020
|
-
static addRootStyles = () => {};
|
|
1021
|
-
static addShadowStyles = () => {};
|
|
1022
960
|
};
|
|
1023
961
|
export const ProgressBar = class {
|
|
1024
962
|
static template = ` <div ref="line" class="uc-progress"></div> `;
|
|
@@ -1026,11 +964,9 @@ export const ProgressBar = class {
|
|
|
1026
964
|
static styleAttrs = [];
|
|
1027
965
|
static is = `sym-1`;
|
|
1028
966
|
static bindAttributes = () => {};
|
|
1029
|
-
static addRootStyles = () => {};
|
|
1030
|
-
static addShadowStyles = () => {};
|
|
1031
967
|
};
|
|
1032
968
|
export const ProgressBarCommon = class {
|
|
1033
|
-
static template = ` <uc-progress-bar
|
|
969
|
+
static template = ` <uc-progress-bar set="visible: visible; value: value"></uc-progress-bar> `;
|
|
1034
970
|
static extSrcList = {
|
|
1035
971
|
FACEBOOK: "facebook",
|
|
1036
972
|
DROPBOX: "dropbox",
|
|
@@ -1075,38 +1011,19 @@ export const ProgressBarCommon = class {
|
|
|
1075
1011
|
static styleAttrs = [];
|
|
1076
1012
|
static is = `sym-1`;
|
|
1077
1013
|
static bindAttributes = () => {};
|
|
1078
|
-
static addRootStyles = () => {};
|
|
1079
|
-
static addShadowStyles = () => {};
|
|
1080
|
-
};
|
|
1081
|
-
export const PubSub = class {
|
|
1082
|
-
static registerCtx = () => {};
|
|
1083
|
-
static deleteCtx = () => {};
|
|
1084
|
-
static getCtx = () => {};
|
|
1085
|
-
static globalStore = {};
|
|
1086
|
-
static apply = () => {};
|
|
1087
|
-
static bind = () => {};
|
|
1088
|
-
static call = () => {};
|
|
1089
|
-
static toString = () => {};
|
|
1090
|
-
static hasOwnProperty = () => {};
|
|
1091
|
-
static isPrototypeOf = () => {};
|
|
1092
|
-
static propertyIsEnumerable = () => {};
|
|
1093
|
-
static valueOf = () => {};
|
|
1094
|
-
static toLocaleString = () => {};
|
|
1095
1014
|
};
|
|
1096
1015
|
export const Select = class {
|
|
1097
|
-
static template = ` <select ref="select"
|
|
1016
|
+
static template = ` <select ref="select" set="innerHTML: selectHtml; onchange: onSelect"></select> `;
|
|
1098
1017
|
static reg = () => {};
|
|
1099
1018
|
static styleAttrs = [];
|
|
1100
1019
|
static is = `sym-1`;
|
|
1101
1020
|
static bindAttributes = () => {};
|
|
1102
|
-
static addRootStyles = () => {};
|
|
1103
|
-
static addShadowStyles = () => {};
|
|
1104
1021
|
};
|
|
1105
1022
|
export const SimpleBtn = class {
|
|
1106
1023
|
static styleAttrs = [];
|
|
1107
1024
|
static template = `
|
|
1108
|
-
<uc-drop-area
|
|
1109
|
-
<button type="button"
|
|
1025
|
+
<uc-drop-area set="@disabled: !withDropZone">
|
|
1026
|
+
<button type="button" set="onclick: onClick">
|
|
1110
1027
|
<uc-icon name="upload"></uc-icon>
|
|
1111
1028
|
<span l10n="button-text"></span>
|
|
1112
1029
|
<slot></slot>
|
|
@@ -1158,8 +1075,6 @@ export const SimpleBtn = class {
|
|
|
1158
1075
|
static reg = () => {};
|
|
1159
1076
|
static is = `sym-1`;
|
|
1160
1077
|
static bindAttributes = () => {};
|
|
1161
|
-
static addRootStyles = () => {};
|
|
1162
|
-
static addShadowStyles = () => {};
|
|
1163
1078
|
};
|
|
1164
1079
|
export const SliderUi = class {
|
|
1165
1080
|
static template = `
|
|
@@ -1169,28 +1084,24 @@ export const SliderUi = class {
|
|
|
1169
1084
|
class="uc-input"
|
|
1170
1085
|
type="range"
|
|
1171
1086
|
ref="input-el"
|
|
1172
|
-
|
|
1087
|
+
set="oninput: on.sliderInput; onchange: on.sliderChange; @min: min; @max: max; @value: defaultValue;"
|
|
1173
1088
|
/>
|
|
1174
1089
|
`;
|
|
1175
1090
|
static reg = () => {};
|
|
1176
1091
|
static styleAttrs = [];
|
|
1177
1092
|
static is = `sym-1`;
|
|
1178
1093
|
static bindAttributes = () => {};
|
|
1179
|
-
static addRootStyles = () => {};
|
|
1180
|
-
static addShadowStyles = () => {};
|
|
1181
1094
|
};
|
|
1182
1095
|
export const SolutionBlock = class {
|
|
1183
1096
|
static styleAttrs = [];
|
|
1184
1097
|
static reg = () => {};
|
|
1185
1098
|
static is = `sym-1`;
|
|
1186
1099
|
static bindAttributes = () => {};
|
|
1187
|
-
static addRootStyles = () => {};
|
|
1188
|
-
static addShadowStyles = () => {};
|
|
1189
1100
|
};
|
|
1190
1101
|
export const SourceBtn = class {
|
|
1191
1102
|
static template = `
|
|
1192
1103
|
<button type="button">
|
|
1193
|
-
<uc-icon
|
|
1104
|
+
<uc-icon set="@name: iconName"></uc-icon>
|
|
1194
1105
|
<div class="uc-txt" l10n="src-type"></div>
|
|
1195
1106
|
</button>
|
|
1196
1107
|
`;
|
|
@@ -1239,16 +1150,12 @@ export const SourceBtn = class {
|
|
|
1239
1150
|
static styleAttrs = [];
|
|
1240
1151
|
static is = `sym-1`;
|
|
1241
1152
|
static bindAttributes = () => {};
|
|
1242
|
-
static addRootStyles = () => {};
|
|
1243
|
-
static addShadowStyles = () => {};
|
|
1244
1153
|
};
|
|
1245
1154
|
export const SourceList = class {
|
|
1246
1155
|
static reg = () => {};
|
|
1247
1156
|
static styleAttrs = [];
|
|
1248
1157
|
static is = `sym-1`;
|
|
1249
1158
|
static bindAttributes = () => {};
|
|
1250
|
-
static addRootStyles = () => {};
|
|
1251
|
-
static addShadowStyles = () => {};
|
|
1252
1159
|
};
|
|
1253
1160
|
export const StartFrom = class {
|
|
1254
1161
|
static template = ` <div class="uc-content"><slot></slot></div> `;
|
|
@@ -1266,15 +1173,6 @@ export const StartFrom = class {
|
|
|
1266
1173
|
static styleAttrs = [];
|
|
1267
1174
|
static is = `sym-1`;
|
|
1268
1175
|
static bindAttributes = () => {};
|
|
1269
|
-
static addRootStyles = () => {};
|
|
1270
|
-
static addShadowStyles = () => {};
|
|
1271
|
-
};
|
|
1272
|
-
export const Symbiote = class {
|
|
1273
|
-
static reg = () => {};
|
|
1274
|
-
static is = `sym-1`;
|
|
1275
|
-
static bindAttributes = () => {};
|
|
1276
|
-
static addRootStyles = () => {};
|
|
1277
|
-
static addShadowStyles = () => {};
|
|
1278
1176
|
};
|
|
1279
1177
|
export const UID = class {
|
|
1280
1178
|
static generate = () => {};
|
|
@@ -1353,46 +1251,44 @@ export const UploadCtxProvider = class {
|
|
|
1353
1251
|
static styleAttrs = [];
|
|
1354
1252
|
static is = `sym-1`;
|
|
1355
1253
|
static bindAttributes = () => {};
|
|
1356
|
-
static addRootStyles = () => {};
|
|
1357
|
-
static addShadowStyles = () => {};
|
|
1358
1254
|
};
|
|
1359
1255
|
export const UploadList = class {
|
|
1360
1256
|
static template = `
|
|
1361
1257
|
<uc-activity-header>
|
|
1362
1258
|
<span class="uc-header-text">{{headerText}}</span>
|
|
1363
|
-
<button type="button" class="uc-mini-btn uc-close-btn"
|
|
1259
|
+
<button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
|
|
1364
1260
|
<uc-icon name="close"></uc-icon>
|
|
1365
1261
|
</button>
|
|
1366
1262
|
</uc-activity-header>
|
|
1367
1263
|
|
|
1368
|
-
<div class="uc-no-files"
|
|
1264
|
+
<div class="uc-no-files" set="@hidden: hasFiles">
|
|
1369
1265
|
<slot name="empty"><span l10n="no-files"></span></slot>
|
|
1370
1266
|
</div>
|
|
1371
1267
|
|
|
1372
|
-
<div class="uc-files"
|
|
1268
|
+
<div class="uc-files" repeat="*uploadList" repeat-item-tag="uc-file-item"></div>
|
|
1373
1269
|
|
|
1374
|
-
<div class="uc-common-error"
|
|
1270
|
+
<div class="uc-common-error" set="@hidden: !commonErrorMessage; textContent: commonErrorMessage;"></div>
|
|
1375
1271
|
|
|
1376
1272
|
<div class="uc-toolbar">
|
|
1377
|
-
<button type="button" class="uc-cancel-btn uc-secondary-btn"
|
|
1273
|
+
<button type="button" class="uc-cancel-btn uc-secondary-btn" set="onclick: onCancel;" l10n="clear"></button>
|
|
1378
1274
|
<div class="uc-toolbar-spacer"></div>
|
|
1379
1275
|
<button
|
|
1380
1276
|
type="button"
|
|
1381
1277
|
class="uc-add-more-btn uc-secondary-btn"
|
|
1382
|
-
|
|
1278
|
+
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1383
1279
|
>
|
|
1384
1280
|
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1385
1281
|
</button>
|
|
1386
1282
|
<button
|
|
1387
1283
|
type="button"
|
|
1388
1284
|
class="uc-upload-btn uc-primary-btn"
|
|
1389
|
-
|
|
1285
|
+
set="@hidden: !uploadBtnVisible; onclick: onUpload;"
|
|
1390
1286
|
l10n="upload"
|
|
1391
1287
|
></button>
|
|
1392
1288
|
<button
|
|
1393
1289
|
type="button"
|
|
1394
1290
|
class="uc-done-btn uc-primary-btn"
|
|
1395
|
-
|
|
1291
|
+
set="@hidden: !doneBtnVisible; onclick: onDone; @disabled: !doneBtnEnabled"
|
|
1396
1292
|
l10n="done"
|
|
1397
1293
|
></button>
|
|
1398
1294
|
</div>
|
|
@@ -1443,8 +1339,6 @@ export const UploadList = class {
|
|
|
1443
1339
|
static styleAttrs = [];
|
|
1444
1340
|
static is = `sym-1`;
|
|
1445
1341
|
static bindAttributes = () => {};
|
|
1446
|
-
static addRootStyles = () => {};
|
|
1447
|
-
static addShadowStyles = () => {};
|
|
1448
1342
|
};
|
|
1449
1343
|
export const UploaderBlock = class {
|
|
1450
1344
|
static extSrcList = {
|
|
@@ -1491,29 +1385,27 @@ export const UploaderBlock = class {
|
|
|
1491
1385
|
static styleAttrs = [];
|
|
1492
1386
|
static is = `sym-1`;
|
|
1493
1387
|
static bindAttributes = () => {};
|
|
1494
|
-
static addRootStyles = () => {};
|
|
1495
|
-
static addShadowStyles = () => {};
|
|
1496
1388
|
};
|
|
1497
1389
|
export const UrlSource = class {
|
|
1498
1390
|
static template = `
|
|
1499
1391
|
<uc-activity-header>
|
|
1500
|
-
<button type="button" class="uc-mini-btn"
|
|
1392
|
+
<button type="button" class="uc-mini-btn" set="onclick: *historyBack">
|
|
1501
1393
|
<uc-icon name="back"></uc-icon>
|
|
1502
1394
|
</button>
|
|
1503
1395
|
<div>
|
|
1504
1396
|
<uc-icon name="url"></uc-icon>
|
|
1505
1397
|
<span l10n="caption-from-url"></span>
|
|
1506
1398
|
</div>
|
|
1507
|
-
<button type="button" class="uc-mini-btn uc-close-btn"
|
|
1399
|
+
<button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
|
|
1508
1400
|
<uc-icon name="close"></uc-icon>
|
|
1509
1401
|
</button>
|
|
1510
1402
|
</uc-activity-header>
|
|
1511
1403
|
<form class="uc-content">
|
|
1512
|
-
<input placeholder="https://" class="uc-url-input" type="text" ref="input"
|
|
1404
|
+
<input placeholder="https://" class="uc-url-input" type="text" ref="input" set="oninput: onInput" />
|
|
1513
1405
|
<button
|
|
1514
1406
|
type="submit"
|
|
1515
1407
|
class="uc-url-upload-btn uc-primary-btn"
|
|
1516
|
-
|
|
1408
|
+
set="onclick: onUpload; @disabled: importDisabled"
|
|
1517
1409
|
l10n="upload-url"
|
|
1518
1410
|
></button>
|
|
1519
1411
|
</form>
|
|
@@ -1562,11 +1454,8 @@ export const UrlSource = class {
|
|
|
1562
1454
|
static styleAttrs = [];
|
|
1563
1455
|
static is = `sym-1`;
|
|
1564
1456
|
static bindAttributes = () => {};
|
|
1565
|
-
static addRootStyles = () => {};
|
|
1566
|
-
static addShadowStyles = () => {};
|
|
1567
1457
|
};
|
|
1568
1458
|
export const defineComponents = () => {};
|
|
1569
1459
|
export const defineLocale = () => {};
|
|
1570
|
-
export const html = () => {};
|
|
1571
1460
|
export const loadFileUploaderFrom = () => {};
|
|
1572
1461
|
export const toKebabCase = () => {};
|