@uploadcare/file-uploader 1.22.0 → 1.24.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.d.ts +14 -0
- package/dist/abstract/loadFileUploaderFrom.js +78 -0
- package/dist/env.d.ts +4 -0
- package/dist/env.js +36 -0
- package/dist/index.css +2714 -0
- package/dist/index.d.ts +2043 -0
- package/dist/index.js +11914 -0
- package/{index.ssr.js → dist/index.ssr.js} +1113 -1082
- package/{locales → dist/locales}/file-uploader/ar.d.ts +5 -3
- package/dist/locales/file-uploader/ar.js +168 -0
- package/{locales → dist/locales}/file-uploader/az.d.ts +5 -3
- package/dist/locales/file-uploader/az.js +160 -0
- package/{locales → dist/locales}/file-uploader/ca.d.ts +5 -3
- package/dist/locales/file-uploader/ca.js +162 -0
- package/{locales → dist/locales}/file-uploader/cs.d.ts +5 -3
- package/dist/locales/file-uploader/cs.js +164 -0
- package/{locales → dist/locales}/file-uploader/da.d.ts +5 -3
- package/dist/locales/file-uploader/da.js +160 -0
- package/{locales → dist/locales}/file-uploader/de.d.ts +5 -3
- package/dist/locales/file-uploader/de.js +160 -0
- package/{locales → dist/locales}/file-uploader/el.d.ts +5 -3
- package/dist/locales/file-uploader/el.js +160 -0
- package/{locales → dist/locales}/file-uploader/en.d.ts +5 -3
- package/dist/locales/file-uploader/en.js +160 -0
- package/{locales → dist/locales}/file-uploader/es.d.ts +5 -3
- package/dist/locales/file-uploader/es.js +162 -0
- package/{locales → dist/locales}/file-uploader/et.d.ts +5 -3
- package/dist/locales/file-uploader/et.js +160 -0
- package/{locales → dist/locales}/file-uploader/fi.d.ts +5 -3
- package/dist/locales/file-uploader/fi.js +160 -0
- package/{locales → dist/locales}/file-uploader/fr.d.ts +5 -3
- package/dist/locales/file-uploader/fr.js +162 -0
- package/{locales → dist/locales}/file-uploader/he.d.ts +5 -3
- package/dist/locales/file-uploader/he.js +162 -0
- package/{locales → dist/locales}/file-uploader/hy.d.ts +5 -3
- package/dist/locales/file-uploader/hy.js +160 -0
- package/{locales → dist/locales}/file-uploader/is.d.ts +5 -3
- package/dist/locales/file-uploader/is.js +160 -0
- package/{locales → dist/locales}/file-uploader/it.d.ts +5 -3
- package/dist/locales/file-uploader/it.js +162 -0
- package/{locales → dist/locales}/file-uploader/ja.d.ts +5 -3
- package/dist/locales/file-uploader/ja.js +160 -0
- package/{locales → dist/locales}/file-uploader/ka.d.ts +5 -3
- package/dist/locales/file-uploader/ka.js +160 -0
- package/{locales → dist/locales}/file-uploader/kk.d.ts +5 -3
- package/dist/locales/file-uploader/kk.js +160 -0
- package/{locales → dist/locales}/file-uploader/ko.d.ts +5 -3
- package/dist/locales/file-uploader/ko.js +160 -0
- package/{locales → dist/locales}/file-uploader/lv.d.ts +5 -3
- package/dist/locales/file-uploader/lv.js +162 -0
- package/{locales → dist/locales}/file-uploader/nb.d.ts +5 -3
- package/dist/locales/file-uploader/nb.js +160 -0
- package/{locales → dist/locales}/file-uploader/nl.d.ts +5 -3
- package/dist/locales/file-uploader/nl.js +160 -0
- package/{locales → dist/locales}/file-uploader/pl.d.ts +5 -3
- package/dist/locales/file-uploader/pl.js +164 -0
- package/{locales → dist/locales}/file-uploader/pt.d.ts +5 -3
- package/dist/locales/file-uploader/pt.js +162 -0
- package/{locales → dist/locales}/file-uploader/ro.d.ts +5 -3
- package/dist/locales/file-uploader/ro.js +162 -0
- package/{locales → dist/locales}/file-uploader/ru.d.ts +5 -3
- package/dist/locales/file-uploader/ru.js +164 -0
- package/{locales → dist/locales}/file-uploader/sk.d.ts +5 -3
- package/dist/locales/file-uploader/sk.js +164 -0
- package/{locales → dist/locales}/file-uploader/sr.d.ts +5 -3
- package/dist/locales/file-uploader/sr.js +162 -0
- package/{locales → dist/locales}/file-uploader/sv.d.ts +5 -3
- package/dist/locales/file-uploader/sv.js +160 -0
- package/{locales → dist/locales}/file-uploader/tr.d.ts +5 -3
- package/dist/locales/file-uploader/tr.js +160 -0
- package/{locales → dist/locales}/file-uploader/uk.d.ts +5 -3
- package/dist/locales/file-uploader/uk.js +164 -0
- package/{locales → dist/locales}/file-uploader/vi.d.ts +5 -3
- package/dist/locales/file-uploader/vi.js +160 -0
- package/{locales → dist/locales}/file-uploader/zh-TW.d.ts +5 -3
- package/dist/locales/file-uploader/zh-TW.js +160 -0
- package/{locales → dist/locales}/file-uploader/zh.d.ts +5 -3
- package/dist/locales/file-uploader/zh.js +160 -0
- package/package.json +110 -63
- package/types/jsx.d.ts +10 -10
- package/web/file-uploader.iife.min.d.ts +2057 -0
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.d.ts +2057 -0
- package/web/file-uploader.min.js +4 -4
- package/web/uc-basic.min.css +26 -1
- package/web/uc-cloud-image-editor.min.css +26 -1
- package/web/uc-cloud-image-editor.min.d.ts +1544 -0
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.css +26 -1
- package/web/uc-file-uploader-inline.min.d.ts +2057 -0
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.css +26 -1
- package/web/uc-file-uploader-minimal.min.d.ts +2057 -0
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.min.css +26 -1
- package/web/uc-file-uploader-regular.min.d.ts +2057 -0
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/{blocks/Img/ImgBase.d.ts → web/uc-img.min.d.ts} +38 -3
- package/web/uc-img.min.js +3 -3
- package/abstract/ActivityBlock.d.ts +0 -79
- package/abstract/ActivityBlock.d.ts.map +0 -1
- package/abstract/ActivityBlock.js +0 -216
- package/abstract/Block.d.ts +0 -113
- package/abstract/Block.d.ts.map +0 -1
- package/abstract/Block.js +0 -410
- package/abstract/CTX.d.ts +0 -30
- package/abstract/CTX.d.ts.map +0 -1
- package/abstract/CTX.js +0 -39
- package/abstract/SolutionBlock.d.ts +0 -22
- package/abstract/SolutionBlock.d.ts.map +0 -1
- package/abstract/SolutionBlock.js +0 -23
- package/abstract/TypedCollection.d.ts +0 -127
- package/abstract/TypedCollection.d.ts.map +0 -1
- package/abstract/TypedCollection.js +0 -265
- package/abstract/TypedData.d.ts +0 -93
- package/abstract/TypedData.d.ts.map +0 -1
- package/abstract/TypedData.js +0 -134
- package/abstract/UploaderBlock.d.ts +0 -121
- package/abstract/UploaderBlock.d.ts.map +0 -1
- package/abstract/UploaderBlock.js +0 -511
- package/abstract/UploaderPublicApi.d.ts +0 -100
- package/abstract/UploaderPublicApi.d.ts.map +0 -1
- package/abstract/UploaderPublicApi.js +0 -399
- package/abstract/buildOutputCollectionState.d.ts +0 -8
- package/abstract/buildOutputCollectionState.d.ts.map +0 -1
- package/abstract/buildOutputCollectionState.js +0 -136
- package/abstract/defineComponents.d.ts +0 -5
- package/abstract/defineComponents.d.ts.map +0 -1
- package/abstract/defineComponents.js +0 -21
- package/abstract/l10nProcessor.d.ts +0 -7
- package/abstract/l10nProcessor.d.ts.map +0 -1
- package/abstract/l10nProcessor.js +0 -93
- package/abstract/loadFileUploaderFrom.d.ts +0 -8
- package/abstract/loadFileUploaderFrom.d.ts.map +0 -1
- package/abstract/loadFileUploaderFrom.js +0 -34
- package/abstract/localeRegistry.d.ts +0 -5
- package/abstract/localeRegistry.d.ts.map +0 -1
- package/abstract/localeRegistry.js +0 -63
- package/abstract/managers/LocaleManager.d.ts +0 -38
- package/abstract/managers/LocaleManager.d.ts.map +0 -1
- package/abstract/managers/LocaleManager.js +0 -130
- package/abstract/managers/ModalManager.d.ts +0 -122
- package/abstract/managers/ModalManager.d.ts.map +0 -1
- package/abstract/managers/ModalManager.js +0 -235
- package/abstract/managers/SecureUploadsManager.d.ts +0 -22
- package/abstract/managers/SecureUploadsManager.d.ts.map +0 -1
- package/abstract/managers/SecureUploadsManager.js +0 -91
- package/abstract/managers/TelemetryManager.d.ts +0 -71
- package/abstract/managers/TelemetryManager.d.ts.map +0 -1
- package/abstract/managers/TelemetryManager.js +0 -218
- package/abstract/managers/ValidationManager.d.ts +0 -150
- package/abstract/managers/ValidationManager.d.ts.map +0 -1
- package/abstract/managers/ValidationManager.js +0 -164
- package/abstract/managers/a11y.d.ts +0 -20
- package/abstract/managers/a11y.d.ts.map +0 -1
- package/abstract/managers/a11y.js +0 -118
- package/abstract/sharedConfigKey.d.ts +0 -2
- package/abstract/sharedConfigKey.d.ts.map +0 -1
- package/abstract/sharedConfigKey.js +0 -8
- package/abstract/testModeProcessor.d.ts +0 -7
- package/abstract/testModeProcessor.d.ts.map +0 -1
- package/abstract/testModeProcessor.js +0 -39
- package/abstract/uploadEntrySchema.d.ts +0 -126
- package/abstract/uploadEntrySchema.d.ts.map +0 -1
- package/abstract/uploadEntrySchema.js +0 -124
- package/blocks/ActivityHeader/ActivityHeader.d.ts +0 -4
- package/blocks/ActivityHeader/ActivityHeader.d.ts.map +0 -1
- package/blocks/ActivityHeader/ActivityHeader.js +0 -3
- package/blocks/ActivityHeader/activity-header.css +0 -14
- package/blocks/CameraSource/CameraSource.d.ts +0 -176
- package/blocks/CameraSource/CameraSource.d.ts.map +0 -1
- package/blocks/CameraSource/CameraSource.js +0 -929
- package/blocks/CameraSource/calcCameraModes.d.ts +0 -5
- package/blocks/CameraSource/calcCameraModes.d.ts.map +0 -1
- package/blocks/CameraSource/calcCameraModes.js +0 -11
- package/blocks/CameraSource/camera-source.css +0 -183
- package/blocks/CameraSource/constants.d.ts +0 -16
- package/blocks/CameraSource/constants.d.ts.map +0 -1
- package/blocks/CameraSource/constants.js +0 -19
- package/blocks/CloudImageEditor/index.css +0 -1
- package/blocks/CloudImageEditor/index.d.ts +0 -2
- package/blocks/CloudImageEditor/index.d.ts.map +0 -1
- package/blocks/CloudImageEditor/index.js +0 -1
- package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +0 -59
- package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/CloudImageEditorBlock.js +0 -243
- package/blocks/CloudImageEditor/src/CropFrame.d.ts +0 -158
- package/blocks/CloudImageEditor/src/CropFrame.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/CropFrame.js +0 -569
- package/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +0 -14
- package/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.js +0 -140
- package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +0 -10
- package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorButtonControl.js +0 -45
- package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +0 -6
- package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorCropButtonControl.js +0 -52
- package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +0 -18
- package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorFilterControl.js +0 -177
- package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +0 -106
- package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorImageCropper.js +0 -551
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts +0 -132
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorImageFader.js +0 -456
- package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +0 -9
- package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorOperationControl.js +0 -50
- package/blocks/CloudImageEditor/src/EditorScroller.d.ts +0 -7
- package/blocks/CloudImageEditor/src/EditorScroller.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorScroller.js +0 -33
- package/blocks/CloudImageEditor/src/EditorSlider.d.ts +0 -24
- package/blocks/CloudImageEditor/src/EditorSlider.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorSlider.js +0 -118
- package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +0 -124
- package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/EditorToolbar.js +0 -534
- package/blocks/CloudImageEditor/src/crop-utils.d.ts +0 -123
- package/blocks/CloudImageEditor/src/crop-utils.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/crop-utils.js +0 -729
- package/blocks/CloudImageEditor/src/cropper-constants.d.ts +0 -11
- package/blocks/CloudImageEditor/src/cropper-constants.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/cropper-constants.js +0 -11
- package/blocks/CloudImageEditor/src/css/common.css +0 -1259
- package/blocks/CloudImageEditor/src/css/icons.css +0 -12
- package/blocks/CloudImageEditor/src/css/index.css +0 -2
- package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +0 -21
- package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/elements/button/BtnUi.js +0 -99
- package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +0 -11
- package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.js +0 -52
- package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +0 -17
- package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.js +0 -71
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +0 -16
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +0 -179
- package/blocks/CloudImageEditor/src/index.d.ts +0 -16
- package/blocks/CloudImageEditor/src/index.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/index.js +0 -15
- package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts +0 -15
- package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/FocusVisible.js +0 -33
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts +0 -10
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.js +0 -256
- package/blocks/CloudImageEditor/src/lib/classNames.d.ts +0 -3
- package/blocks/CloudImageEditor/src/lib/classNames.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/classNames.js +0 -34
- package/blocks/CloudImageEditor/src/lib/linspace.d.ts +0 -8
- package/blocks/CloudImageEditor/src/lib/linspace.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/linspace.js +0 -14
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +0 -3
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.js +0 -80
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +0 -2
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.test.js +0 -35
- package/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +0 -2
- package/blocks/CloudImageEditor/src/lib/parseTabs.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/parseTabs.js +0 -14
- package/blocks/CloudImageEditor/src/lib/pick.d.ts +0 -7
- package/blocks/CloudImageEditor/src/lib/pick.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/pick.js +0 -15
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +0 -14
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/lib/transformationUtils.js +0 -167
- package/blocks/CloudImageEditor/src/state.d.ts +0 -38
- package/blocks/CloudImageEditor/src/state.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/state.js +0 -92
- package/blocks/CloudImageEditor/src/svg-sprite.d.ts +0 -3
- package/blocks/CloudImageEditor/src/svg-sprite.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/svg-sprite.js +0 -1
- package/blocks/CloudImageEditor/src/template.d.ts +0 -2
- package/blocks/CloudImageEditor/src/template.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/template.js +0 -36
- package/blocks/CloudImageEditor/src/toolbar-constants.d.ts +0 -59
- package/blocks/CloudImageEditor/src/toolbar-constants.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/toolbar-constants.js +0 -116
- package/blocks/CloudImageEditor/src/types.d.ts +0 -66
- package/blocks/CloudImageEditor/src/types.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/types.js +0 -80
- package/blocks/CloudImageEditor/src/util.d.ts +0 -2
- package/blocks/CloudImageEditor/src/util.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/util.js +0 -21
- package/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +0 -11
- package/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts.map +0 -1
- package/blocks/CloudImageEditor/src/utils/parseFilterValue.js +0 -11
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +0 -29
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +0 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +0 -128
- package/blocks/CloudImageEditorActivity/index.css +0 -13
- package/blocks/CloudImageEditorActivity/test.d.ts +0 -2
- package/blocks/CloudImageEditorActivity/test.d.ts.map +0 -1
- package/blocks/CloudImageEditorActivity/test.js +0 -9
- package/blocks/Config/Config.d.ts +0 -60
- package/blocks/Config/Config.d.ts.map +0 -1
- package/blocks/Config/Config.js +0 -263
- package/blocks/Config/assertions.d.ts +0 -5
- package/blocks/Config/assertions.d.ts.map +0 -1
- package/blocks/Config/assertions.js +0 -37
- package/blocks/Config/config.css +0 -3
- package/blocks/Config/initialConfig.d.ts +0 -7
- package/blocks/Config/initialConfig.d.ts.map +0 -1
- package/blocks/Config/initialConfig.js +0 -91
- package/blocks/Config/normalizeConfigValue.d.ts +0 -2
- package/blocks/Config/normalizeConfigValue.d.ts.map +0 -1
- package/blocks/Config/normalizeConfigValue.js +0 -127
- package/blocks/Config/side-effects.d.ts +0 -11
- package/blocks/Config/side-effects.d.ts.map +0 -1
- package/blocks/Config/side-effects.js +0 -126
- package/blocks/Config/validatorsType.d.ts +0 -37
- package/blocks/Config/validatorsType.d.ts.map +0 -1
- package/blocks/Config/validatorsType.js +0 -134
- package/blocks/Copyright/Copyright.d.ts +0 -4
- package/blocks/Copyright/Copyright.d.ts.map +0 -1
- package/blocks/Copyright/Copyright.js +0 -24
- package/blocks/Copyright/copyright.css +0 -32
- package/blocks/DropArea/DropArea.d.ts +0 -49
- package/blocks/DropArea/DropArea.d.ts.map +0 -1
- package/blocks/DropArea/DropArea.js +0 -292
- package/blocks/DropArea/addDropzone.d.ts +0 -21
- package/blocks/DropArea/addDropzone.d.ts.map +0 -1
- package/blocks/DropArea/addDropzone.js +0 -137
- package/blocks/DropArea/drop-area.css +0 -201
- package/blocks/DropArea/getDropItems.d.ts +0 -16
- package/blocks/DropArea/getDropItems.d.ts.map +0 -1
- package/blocks/DropArea/getDropItems.js +0 -167
- package/blocks/ExternalSource/ExternalSource.d.ts +0 -82
- package/blocks/ExternalSource/ExternalSource.d.ts.map +0 -1
- package/blocks/ExternalSource/ExternalSource.js +0 -320
- package/blocks/ExternalSource/MessageBridge.d.ts +0 -20
- package/blocks/ExternalSource/MessageBridge.d.ts.map +0 -1
- package/blocks/ExternalSource/MessageBridge.js +0 -73
- package/blocks/ExternalSource/buildThemeDefinition.d.ts +0 -3
- package/blocks/ExternalSource/buildThemeDefinition.d.ts.map +0 -1
- package/blocks/ExternalSource/buildThemeDefinition.js +0 -47
- package/blocks/ExternalSource/external-source.css +0 -94
- package/blocks/ExternalSource/query-string.d.ts +0 -8
- package/blocks/ExternalSource/query-string.d.ts.map +0 -1
- package/blocks/ExternalSource/query-string.js +0 -14
- package/blocks/ExternalSource/types.d.ts +0 -106
- package/blocks/ExternalSource/types.d.ts.map +0 -1
- package/blocks/ExternalSource/types.js +0 -133
- package/blocks/FileItem/FileItem.d.ts +0 -76
- package/blocks/FileItem/FileItem.d.ts.map +0 -1
- package/blocks/FileItem/FileItem.js +0 -461
- package/blocks/FileItem/FileItemConfig.d.ts +0 -28
- package/blocks/FileItem/FileItemConfig.d.ts.map +0 -1
- package/blocks/FileItem/FileItemConfig.js +0 -74
- package/blocks/FileItem/file-item.css +0 -243
- package/blocks/FormInput/FormInput.d.ts +0 -7
- package/blocks/FormInput/FormInput.d.ts.map +0 -1
- package/blocks/FormInput/FormInput.js +0 -92
- package/blocks/Icon/Icon.d.ts +0 -11
- package/blocks/Icon/Icon.d.ts.map +0 -1
- package/blocks/Icon/Icon.js +0 -43
- package/blocks/Icon/icon.css +0 -12
- package/blocks/Img/Img.d.ts +0 -4
- package/blocks/Img/Img.d.ts.map +0 -1
- package/blocks/Img/Img.js +0 -21
- package/blocks/Img/ImgBase.d.ts.map +0 -1
- package/blocks/Img/ImgBase.js +0 -408
- package/blocks/Img/ImgConfig.d.ts +0 -31
- package/blocks/Img/ImgConfig.d.ts.map +0 -1
- package/blocks/Img/ImgConfig.js +0 -102
- package/blocks/Img/configurations.d.ts +0 -12
- package/blocks/Img/configurations.d.ts.map +0 -1
- package/blocks/Img/configurations.js +0 -14
- package/blocks/Img/props-map.d.ts +0 -29
- package/blocks/Img/props-map.d.ts.map +0 -1
- package/blocks/Img/props-map.js +0 -34
- package/blocks/Img/test.css +0 -16
- package/blocks/Img/utils/parseObjectToString.d.ts +0 -2
- package/blocks/Img/utils/parseObjectToString.d.ts.map +0 -1
- package/blocks/Img/utils/parseObjectToString.js +0 -13
- package/blocks/Modal/Modal.d.ts +0 -43
- package/blocks/Modal/Modal.d.ts.map +0 -1
- package/blocks/Modal/Modal.js +0 -158
- package/blocks/Modal/modal.css +0 -45
- package/blocks/ProgressBar/ProgressBar.d.ts +0 -17
- package/blocks/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/blocks/ProgressBar/ProgressBar.js +0 -62
- package/blocks/ProgressBar/progress-bar.css +0 -62
- package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +0 -8
- package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts.map +0 -1
- package/blocks/ProgressBarCommon/ProgressBarCommon.js +0 -44
- package/blocks/ProgressBarCommon/progress-bar-common.css +0 -16
- package/blocks/Range/Range.d.ts +0 -16
- package/blocks/Range/Range.d.ts.map +0 -1
- package/blocks/Range/Range.js +0 -44
- package/blocks/Range/range.css +0 -65
- package/blocks/Select/Select.d.ts +0 -9
- package/blocks/Select/Select.d.ts.map +0 -1
- package/blocks/Select/Select.js +0 -35
- package/blocks/Select/select.css +0 -22
- package/blocks/SimpleBtn/SimpleBtn.d.ts +0 -25
- package/blocks/SimpleBtn/SimpleBtn.d.ts.map +0 -1
- package/blocks/SimpleBtn/SimpleBtn.js +0 -54
- package/blocks/SimpleBtn/simple-btn.css +0 -64
- package/blocks/SourceBtn/SourceBtn.d.ts +0 -57
- package/blocks/SourceBtn/SourceBtn.d.ts.map +0 -1
- package/blocks/SourceBtn/SourceBtn.js +0 -172
- package/blocks/SourceBtn/source-btn.css +0 -53
- package/blocks/SourceList/SourceList.d.ts +0 -4
- package/blocks/SourceList/SourceList.d.ts.map +0 -1
- package/blocks/SourceList/SourceList.js +0 -51
- package/blocks/Spinner/Spinner.d.ts +0 -8
- package/blocks/Spinner/Spinner.d.ts.map +0 -1
- package/blocks/Spinner/Spinner.js +0 -5
- package/blocks/Spinner/spinner.css +0 -18
- package/blocks/StartFrom/StartFrom.d.ts +0 -7
- package/blocks/StartFrom/StartFrom.d.ts.map +0 -1
- package/blocks/StartFrom/StartFrom.js +0 -14
- package/blocks/StartFrom/start-from.css +0 -28
- package/blocks/Thumb/Thumb.d.ts +0 -51
- package/blocks/Thumb/Thumb.d.ts.map +0 -1
- package/blocks/Thumb/Thumb.js +0 -235
- package/blocks/Thumb/thumb.css +0 -4
- package/blocks/UploadCtxProvider/EventEmitter.d.ts +0 -125
- package/blocks/UploadCtxProvider/EventEmitter.d.ts.map +0 -1
- package/blocks/UploadCtxProvider/EventEmitter.js +0 -144
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +0 -35
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +0 -1
- package/blocks/UploadCtxProvider/UploadCtxProvider.js +0 -46
- package/blocks/UploadList/UploadList.d.ts +0 -60
- package/blocks/UploadList/UploadList.d.ts.map +0 -1
- package/blocks/UploadList/UploadList.js +0 -263
- package/blocks/UploadList/upload-list.css +0 -88
- package/blocks/UrlSource/UrlSource.d.ts +0 -9
- package/blocks/UrlSource/UrlSource.d.ts.map +0 -1
- package/blocks/UrlSource/UrlSource.js +0 -69
- package/blocks/UrlSource/url-source.css +0 -16
- package/blocks/svg-backgrounds/svg-backgrounds.d.ts +0 -17
- package/blocks/svg-backgrounds/svg-backgrounds.d.ts.map +0 -1
- package/blocks/svg-backgrounds/svg-backgrounds.js +0 -45
- package/blocks/themes/uc-basic/common.css +0 -129
- package/blocks/themes/uc-basic/config.css +0 -4
- package/blocks/themes/uc-basic/index.css +0 -37
- package/blocks/themes/uc-basic/post-reset.css +0 -3
- package/blocks/themes/uc-basic/svg-sprite.d.ts +0 -3
- package/blocks/themes/uc-basic/svg-sprite.d.ts.map +0 -1
- package/blocks/themes/uc-basic/svg-sprite.js +0 -1
- package/blocks/themes/uc-basic/theme.css +0 -291
- package/blocks/utils/UploadSource.d.ts +0 -39
- package/blocks/utils/UploadSource.d.ts.map +0 -1
- package/blocks/utils/UploadSource.js +0 -33
- package/blocks/utils/abilities.d.ts +0 -2
- package/blocks/utils/abilities.d.ts.map +0 -1
- package/blocks/utils/abilities.js +0 -3
- package/blocks/utils/comma-separated.d.ts +0 -3
- package/blocks/utils/comma-separated.d.ts.map +0 -1
- package/blocks/utils/comma-separated.js +0 -22
- package/blocks/utils/debounce.d.ts +0 -12
- package/blocks/utils/debounce.d.ts.map +0 -1
- package/blocks/utils/debounce.js +0 -22
- package/blocks/utils/preloadImage.d.ts +0 -11
- package/blocks/utils/preloadImage.d.ts.map +0 -1
- package/blocks/utils/preloadImage.js +0 -38
- package/blocks/utils/resizeImage.d.ts +0 -6
- package/blocks/utils/resizeImage.d.ts.map +0 -1
- package/blocks/utils/resizeImage.js +0 -40
- package/blocks/utils/throttle.d.ts +0 -6
- package/blocks/utils/throttle.d.ts.map +0 -1
- package/blocks/utils/throttle.js +0 -45
- package/blocks/utils/userAgent.d.ts +0 -6
- package/blocks/utils/userAgent.d.ts.map +0 -1
- package/blocks/utils/userAgent.js +0 -14
- package/env.d.ts +0 -4
- package/env.d.ts.map +0 -1
- package/env.js +0 -3
- package/index.d.ts +0 -43
- package/index.d.ts.map +0 -1
- package/index.js +0 -55
- package/index.ssr.d.ts +0 -1111
- package/index.ssr.d.ts.map +0 -1
- package/locales/file-uploader/ar.d.ts.map +0 -1
- package/locales/file-uploader/ar.js +0 -137
- package/locales/file-uploader/az.d.ts.map +0 -1
- package/locales/file-uploader/az.js +0 -130
- package/locales/file-uploader/ca.d.ts.map +0 -1
- package/locales/file-uploader/ca.js +0 -134
- package/locales/file-uploader/cs.d.ts.map +0 -1
- package/locales/file-uploader/cs.js +0 -136
- package/locales/file-uploader/da.d.ts.map +0 -1
- package/locales/file-uploader/da.js +0 -132
- package/locales/file-uploader/de.d.ts.map +0 -1
- package/locales/file-uploader/de.js +0 -133
- package/locales/file-uploader/el.d.ts.map +0 -1
- package/locales/file-uploader/el.js +0 -133
- package/locales/file-uploader/en.d.ts.map +0 -1
- package/locales/file-uploader/en.js +0 -129
- package/locales/file-uploader/es.d.ts.map +0 -1
- package/locales/file-uploader/es.js +0 -134
- package/locales/file-uploader/et.d.ts.map +0 -1
- package/locales/file-uploader/et.js +0 -131
- package/locales/file-uploader/fi.d.ts.map +0 -1
- package/locales/file-uploader/fi.js +0 -132
- package/locales/file-uploader/fr.d.ts.map +0 -1
- package/locales/file-uploader/fr.js +0 -134
- package/locales/file-uploader/he.d.ts.map +0 -1
- package/locales/file-uploader/he.js +0 -133
- package/locales/file-uploader/hy.d.ts.map +0 -1
- package/locales/file-uploader/hy.js +0 -130
- package/locales/file-uploader/is.d.ts.map +0 -1
- package/locales/file-uploader/is.js +0 -131
- package/locales/file-uploader/it.d.ts.map +0 -1
- package/locales/file-uploader/it.js +0 -134
- package/locales/file-uploader/ja.d.ts.map +0 -1
- package/locales/file-uploader/ja.js +0 -131
- package/locales/file-uploader/ka.d.ts.map +0 -1
- package/locales/file-uploader/ka.js +0 -131
- package/locales/file-uploader/kk.d.ts.map +0 -1
- package/locales/file-uploader/kk.js +0 -131
- package/locales/file-uploader/ko.d.ts.map +0 -1
- package/locales/file-uploader/ko.js +0 -130
- package/locales/file-uploader/lv.d.ts.map +0 -1
- package/locales/file-uploader/lv.js +0 -133
- package/locales/file-uploader/nb.d.ts.map +0 -1
- package/locales/file-uploader/nb.js +0 -131
- package/locales/file-uploader/nl.d.ts.map +0 -1
- package/locales/file-uploader/nl.js +0 -132
- package/locales/file-uploader/pl.d.ts.map +0 -1
- package/locales/file-uploader/pl.js +0 -135
- package/locales/file-uploader/pt.d.ts.map +0 -1
- package/locales/file-uploader/pt.js +0 -134
- package/locales/file-uploader/ro.d.ts.map +0 -1
- package/locales/file-uploader/ro.js +0 -134
- package/locales/file-uploader/ru.d.ts.map +0 -1
- package/locales/file-uploader/ru.js +0 -133
- package/locales/file-uploader/sk.d.ts.map +0 -1
- package/locales/file-uploader/sk.js +0 -135
- package/locales/file-uploader/sr.d.ts.map +0 -1
- package/locales/file-uploader/sr.js +0 -133
- package/locales/file-uploader/sv.d.ts.map +0 -1
- package/locales/file-uploader/sv.js +0 -131
- package/locales/file-uploader/tr.d.ts.map +0 -1
- package/locales/file-uploader/tr.js +0 -131
- package/locales/file-uploader/uk.d.ts.map +0 -1
- package/locales/file-uploader/uk.js +0 -135
- package/locales/file-uploader/vi.d.ts.map +0 -1
- package/locales/file-uploader/vi.js +0 -131
- package/locales/file-uploader/zh-TW.d.ts.map +0 -1
- package/locales/file-uploader/zh-TW.js +0 -131
- package/locales/file-uploader/zh.d.ts.map +0 -1
- package/locales/file-uploader/zh.js +0 -129
- package/solutions/adaptive-image/index.d.ts +0 -3
- package/solutions/adaptive-image/index.d.ts.map +0 -1
- package/solutions/adaptive-image/index.js +0 -5
- package/solutions/cloud-image-editor/CloudImageEditor.d.ts +0 -39
- package/solutions/cloud-image-editor/CloudImageEditor.d.ts.map +0 -1
- package/solutions/cloud-image-editor/CloudImageEditor.js +0 -24
- package/solutions/cloud-image-editor/index.css +0 -2
- package/solutions/cloud-image-editor/index.d.ts +0 -6
- package/solutions/cloud-image-editor/index.d.ts.map +0 -1
- package/solutions/cloud-image-editor/index.js +0 -11
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts +0 -27
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +0 -1
- package/solutions/file-uploader/inline/FileUploaderInline.js +0 -80
- package/solutions/file-uploader/inline/index.css +0 -54
- package/solutions/file-uploader/inline/index.d.ts +0 -2
- package/solutions/file-uploader/inline/index.d.ts.map +0 -1
- package/solutions/file-uploader/inline/index.js +0 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +0 -43
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +0 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.js +0 -163
- package/solutions/file-uploader/minimal/index.css +0 -147
- package/solutions/file-uploader/minimal/index.d.ts +0 -2
- package/solutions/file-uploader/minimal/index.d.ts.map +0 -1
- package/solutions/file-uploader/minimal/index.js +0 -1
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +0 -24
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +0 -1
- package/solutions/file-uploader/regular/FileUploaderRegular.js +0 -69
- package/solutions/file-uploader/regular/index.css +0 -1
- package/solutions/file-uploader/regular/index.d.ts +0 -2
- package/solutions/file-uploader/regular/index.d.ts.map +0 -1
- package/solutions/file-uploader/regular/index.js +0 -1
- package/types/events.d.ts +0 -5
- package/types/events.js +0 -1
- package/types/exported.d.ts +0 -534
- package/types/exported.js +0 -1
- package/types/global.d.ts +0 -8
- package/types/https.d.ts +0 -1
- package/types/index.d.ts +0 -2
- package/types/index.js +0 -3
- package/utils/WindowHeightTracker.d.ts +0 -24
- package/utils/WindowHeightTracker.d.ts.map +0 -1
- package/utils/WindowHeightTracker.js +0 -51
- package/utils/browser-info.d.ts +0 -13
- package/utils/browser-info.d.ts.map +0 -1
- package/utils/browser-info.js +0 -22
- package/utils/browser-info.test.d.ts +0 -2
- package/utils/browser-info.test.d.ts.map +0 -1
- package/utils/browser-info.test.js +0 -109
- package/utils/cdn-utils.d.ts +0 -59
- package/utils/cdn-utils.d.ts.map +0 -1
- package/utils/cdn-utils.js +0 -199
- package/utils/cdn-utils.test.d.ts +0 -2
- package/utils/cdn-utils.test.d.ts.map +0 -1
- package/utils/cdn-utils.test.js +0 -227
- package/utils/delay.d.ts +0 -2
- package/utils/delay.d.ts.map +0 -1
- package/utils/delay.js +0 -4
- package/utils/fileTypes.d.ts +0 -12
- package/utils/fileTypes.d.ts.map +0 -1
- package/utils/fileTypes.js +0 -111
- package/utils/fileTypes.test.d.ts +0 -2
- package/utils/fileTypes.test.d.ts.map +0 -1
- package/utils/fileTypes.test.js +0 -89
- package/utils/get-top-level-origin.d.ts +0 -2
- package/utils/get-top-level-origin.d.ts.map +0 -1
- package/utils/get-top-level-origin.js +0 -11
- package/utils/getLocaleDirection.d.ts +0 -2
- package/utils/getLocaleDirection.d.ts.map +0 -1
- package/utils/getLocaleDirection.js +0 -18
- package/utils/getPluralForm.d.ts +0 -3
- package/utils/getPluralForm.d.ts.map +0 -1
- package/utils/getPluralForm.js +0 -13
- package/utils/getPluralForm.test.d.ts +0 -2
- package/utils/getPluralForm.test.d.ts.map +0 -1
- package/utils/getPluralForm.test.js +0 -16
- package/utils/ifRef.d.ts +0 -7
- package/utils/ifRef.d.ts.map +0 -1
- package/utils/ifRef.js +0 -9
- package/utils/isPromiseLike.d.ts +0 -2
- package/utils/isPromiseLike.d.ts.map +0 -1
- package/utils/isPromiseLike.js +0 -12
- package/utils/isPromiseLike.test.d.ts +0 -2
- package/utils/isPromiseLike.test.d.ts.map +0 -1
- package/utils/isPromiseLike.test.js +0 -20
- package/utils/isSecureTokenExpired.d.ts +0 -4
- package/utils/isSecureTokenExpired.d.ts.map +0 -1
- package/utils/isSecureTokenExpired.js +0 -17
- package/utils/isSecureTokenExpired.test.d.ts +0 -2
- package/utils/isSecureTokenExpired.test.d.ts.map +0 -1
- package/utils/isSecureTokenExpired.test.js +0 -33
- package/utils/memoize.d.ts +0 -2
- package/utils/memoize.d.ts.map +0 -1
- package/utils/memoize.js +0 -23
- package/utils/memoize.test.d.ts +0 -2
- package/utils/memoize.test.d.ts.map +0 -1
- package/utils/memoize.test.js +0 -38
- package/utils/mixinClass.d.ts +0 -10
- package/utils/mixinClass.d.ts.map +0 -1
- package/utils/mixinClass.js +0 -18
- package/utils/parseCdnUrl.d.ts +0 -9
- package/utils/parseCdnUrl.d.ts.map +0 -1
- package/utils/parseCdnUrl.js +0 -23
- package/utils/parseCdnUrl.test.d.ts +0 -2
- package/utils/parseCdnUrl.test.d.ts.map +0 -1
- package/utils/parseCdnUrl.test.js +0 -91
- package/utils/parseShrink.d.ts +0 -5
- package/utils/parseShrink.d.ts.map +0 -1
- package/utils/parseShrink.js +0 -34
- package/utils/parseShrink.test.d.ts +0 -2
- package/utils/parseShrink.test.d.ts.map +0 -1
- package/utils/parseShrink.test.js +0 -26
- package/utils/prettyBytes.d.ts +0 -11
- package/utils/prettyBytes.d.ts.map +0 -1
- package/utils/prettyBytes.js +0 -64
- package/utils/prettyBytes.test.d.ts +0 -2
- package/utils/prettyBytes.test.d.ts.map +0 -1
- package/utils/prettyBytes.test.js +0 -99
- package/utils/stringToArray.d.ts +0 -2
- package/utils/stringToArray.d.ts.map +0 -1
- package/utils/stringToArray.js +0 -11
- package/utils/stringToArray.test.d.ts +0 -2
- package/utils/stringToArray.test.d.ts.map +0 -1
- package/utils/stringToArray.test.js +0 -20
- package/utils/template-utils.d.ts +0 -40
- package/utils/template-utils.d.ts.map +0 -1
- package/utils/template-utils.js +0 -50
- package/utils/template-utils.test.d.ts +0 -2
- package/utils/template-utils.test.d.ts.map +0 -1
- package/utils/template-utils.test.js +0 -56
- package/utils/toKebabCase.d.ts +0 -3
- package/utils/toKebabCase.d.ts.map +0 -1
- package/utils/toKebabCase.js +0 -15
- package/utils/toKebabCase.test.d.ts +0 -2
- package/utils/toKebabCase.test.d.ts.map +0 -1
- package/utils/toKebabCase.test.js +0 -11
- package/utils/transparentPixelSrc.d.ts +0 -2
- package/utils/transparentPixelSrc.d.ts.map +0 -1
- package/utils/transparentPixelSrc.js +0 -2
- package/utils/uniqueArray.d.ts +0 -2
- package/utils/uniqueArray.d.ts.map +0 -1
- package/utils/uniqueArray.js +0 -8
- package/utils/uniqueArray.test.d.ts +0 -2
- package/utils/uniqueArray.test.d.ts.map +0 -1
- package/utils/uniqueArray.test.js +0 -8
- package/utils/validators/collection/index.d.ts +0 -3
- package/utils/validators/collection/index.d.ts.map +0 -1
- package/utils/validators/collection/index.js +0 -2
- package/utils/validators/collection/validateCollectionUploadError.d.ts +0 -3
- package/utils/validators/collection/validateCollectionUploadError.d.ts.map +0 -1
- package/utils/validators/collection/validateCollectionUploadError.js +0 -11
- package/utils/validators/collection/validateMultiple.d.ts +0 -3
- package/utils/validators/collection/validateMultiple.d.ts.map +0 -1
- package/utils/validators/collection/validateMultiple.js +0 -43
- package/utils/validators/file/index.d.ts +0 -5
- package/utils/validators/file/index.d.ts.map +0 -1
- package/utils/validators/file/index.js +0 -4
- package/utils/validators/file/validateFileType.d.ts +0 -3
- package/utils/validators/file/validateFileType.d.ts.map +0 -1
- package/utils/validators/file/validateFileType.js +0 -30
- package/utils/validators/file/validateIsImage.d.ts +0 -3
- package/utils/validators/file/validateIsImage.d.ts.map +0 -1
- package/utils/validators/file/validateIsImage.js +0 -25
- package/utils/validators/file/validateMaxSizeLimit.d.ts +0 -3
- package/utils/validators/file/validateMaxSizeLimit.d.ts.map +0 -1
- package/utils/validators/file/validateMaxSizeLimit.js +0 -15
- package/utils/validators/file/validateUploadError.d.ts +0 -3
- package/utils/validators/file/validateUploadError.d.ts.map +0 -1
- package/utils/validators/file/validateUploadError.js +0 -48
- package/utils/waitForAttribute.d.ts +0 -8
- package/utils/waitForAttribute.d.ts.map +0 -1
- package/utils/waitForAttribute.js +0 -43
- package/utils/waitForAttribute.test.d.ts +0 -2
- package/utils/waitForAttribute.test.d.ts.map +0 -1
- package/utils/waitForAttribute.test.js +0 -78
- package/utils/warnOnce.d.ts +0 -3
- package/utils/warnOnce.d.ts.map +0 -1
- package/utils/warnOnce.js +0 -11
- package/utils/wildcardRegexp.d.ts +0 -2
- package/utils/wildcardRegexp.d.ts.map +0 -1
- package/utils/wildcardRegexp.js +0 -17
- package/utils/wildcardRegexp.test.d.ts +0 -2
- package/utils/wildcardRegexp.test.d.ts.map +0 -1
- package/utils/wildcardRegexp.test.js +0 -19
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export const ActivityBlock = class {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
static activities = {
|
|
3
|
+
START_FROM: "start-from",
|
|
4
|
+
CAMERA: "camera",
|
|
5
|
+
DRAW: "draw",
|
|
6
|
+
UPLOAD_LIST: "upload-list",
|
|
7
|
+
URL: "url",
|
|
8
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
9
|
+
EXTERNAL: "external",
|
|
10
|
+
};
|
|
11
|
+
static reg = () => {};
|
|
12
|
+
static styleAttrs = [];
|
|
13
|
+
static is = `sym-1`;
|
|
14
|
+
static bindAttributes = () => {};
|
|
15
15
|
};
|
|
16
16
|
export const ActivityHeader = class {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
static activities = {
|
|
18
|
+
START_FROM: "start-from",
|
|
19
|
+
CAMERA: "camera",
|
|
20
|
+
DRAW: "draw",
|
|
21
|
+
UPLOAD_LIST: "upload-list",
|
|
22
|
+
URL: "url",
|
|
23
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
24
|
+
EXTERNAL: "external",
|
|
25
|
+
};
|
|
26
|
+
static reg = () => {};
|
|
27
|
+
static styleAttrs = [];
|
|
28
|
+
static is = `sym-1`;
|
|
29
|
+
static bindAttributes = () => {};
|
|
30
30
|
};
|
|
31
31
|
export const BaseComponent = class {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
static reg = () => {};
|
|
33
|
+
static is = `sym-1`;
|
|
34
|
+
static bindAttributes = () => {};
|
|
35
35
|
};
|
|
36
36
|
export const Block = class {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
static reg = () => {};
|
|
38
|
+
static styleAttrs = [];
|
|
39
|
+
static is = `sym-1`;
|
|
40
|
+
static bindAttributes = () => {};
|
|
41
41
|
};
|
|
42
42
|
export const BtnUi = class {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
static observedAttributes = ["text", "icon", "reverse", "theme"];
|
|
44
|
+
static template = `
|
|
45
45
|
<button
|
|
46
46
|
type="button"
|
|
47
47
|
set="@role:aria-role; @aria-controls: aria-controls; @aria-label:title-prop"
|
|
@@ -51,15 +51,20 @@ export const BtnUi = class {
|
|
|
51
51
|
<div class="uc-text">{{text}}</div>
|
|
52
52
|
</button>
|
|
53
53
|
`;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
static reg = () => {};
|
|
55
|
+
static styleAttrs = [];
|
|
56
|
+
static is = `sym-1`;
|
|
57
|
+
static bindAttributes = () => {};
|
|
58
58
|
};
|
|
59
59
|
export const CameraSource = class {
|
|
60
|
-
|
|
60
|
+
static template = `
|
|
61
61
|
<uc-activity-header>
|
|
62
|
-
<button
|
|
62
|
+
<button
|
|
63
|
+
type="button"
|
|
64
|
+
class="uc-mini-btn"
|
|
65
|
+
set="onclick: *historyBack"
|
|
66
|
+
l10n="@title:back"
|
|
67
|
+
>
|
|
63
68
|
<uc-icon name="back"></uc-icon>
|
|
64
69
|
</button>
|
|
65
70
|
<div set="@hidden: !cameraSelectHidden">
|
|
@@ -118,15 +123,30 @@ export const CameraSource = class {
|
|
|
118
123
|
</button>
|
|
119
124
|
</div>
|
|
120
125
|
|
|
121
|
-
<button
|
|
126
|
+
<button
|
|
127
|
+
class="uc-secondary-btn uc-recording-timer"
|
|
128
|
+
set="@hidden:timerHidden; onclick: onToggleRecording"
|
|
129
|
+
>
|
|
122
130
|
<uc-icon set="@name: currentTimelineIcon"></uc-icon>
|
|
123
131
|
<span ref="timer"> 00:00 </span>
|
|
124
132
|
<span ref="line" class="uc-line"></span>
|
|
125
133
|
</button>
|
|
126
134
|
|
|
127
|
-
<div
|
|
128
|
-
|
|
129
|
-
|
|
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>
|
|
130
150
|
</div>
|
|
131
151
|
|
|
132
152
|
<button
|
|
@@ -139,7 +159,10 @@ export const CameraSource = class {
|
|
|
139
159
|
</button>
|
|
140
160
|
|
|
141
161
|
<div class="uc-select">
|
|
142
|
-
<button
|
|
162
|
+
<button
|
|
163
|
+
class="uc-mini-btn uc-btn-microphone"
|
|
164
|
+
set="onclick: onToggleAudio; @hidden: audioToggleMicrophoneHidden;"
|
|
165
|
+
>
|
|
143
166
|
<uc-icon set="@name:toggleMicrophoneIcon"></uc-icon>
|
|
144
167
|
</button>
|
|
145
168
|
|
|
@@ -151,56 +174,56 @@ export const CameraSource = class {
|
|
|
151
174
|
</div>
|
|
152
175
|
</div>
|
|
153
176
|
`;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
177
|
+
static extSrcList = {
|
|
178
|
+
FACEBOOK: "facebook",
|
|
179
|
+
DROPBOX: "dropbox",
|
|
180
|
+
GDRIVE: "gdrive",
|
|
181
|
+
GPHOTOS: "gphotos",
|
|
182
|
+
FLICKR: "flickr",
|
|
183
|
+
VK: "vk",
|
|
184
|
+
EVERNOTE: "evernote",
|
|
185
|
+
BOX: "box",
|
|
186
|
+
ONEDRIVE: "onedrive",
|
|
187
|
+
HUDDLE: "huddle",
|
|
188
|
+
};
|
|
189
|
+
static sourceTypes = {
|
|
190
|
+
LOCAL: "local",
|
|
191
|
+
DROP_AREA: "drop-area",
|
|
192
|
+
CAMERA: "camera",
|
|
193
|
+
EXTERNAL: "external",
|
|
194
|
+
API: "js-api",
|
|
195
|
+
URL: "url",
|
|
196
|
+
DRAW: "draw",
|
|
197
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
198
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
199
|
+
FACEBOOK: "facebook",
|
|
200
|
+
DROPBOX: "dropbox",
|
|
201
|
+
GDRIVE: "gdrive",
|
|
202
|
+
GPHOTOS: "gphotos",
|
|
203
|
+
FLICKR: "flickr",
|
|
204
|
+
VK: "vk",
|
|
205
|
+
EVERNOTE: "evernote",
|
|
206
|
+
BOX: "box",
|
|
207
|
+
ONEDRIVE: "onedrive",
|
|
208
|
+
HUDDLE: "huddle",
|
|
209
|
+
};
|
|
210
|
+
static activities = {
|
|
211
|
+
START_FROM: "start-from",
|
|
212
|
+
CAMERA: "camera",
|
|
213
|
+
DRAW: "draw",
|
|
214
|
+
UPLOAD_LIST: "upload-list",
|
|
215
|
+
URL: "url",
|
|
216
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
217
|
+
EXTERNAL: "external",
|
|
218
|
+
};
|
|
219
|
+
static reg = () => {};
|
|
220
|
+
static styleAttrs = [];
|
|
221
|
+
static is = `sym-1`;
|
|
222
|
+
static bindAttributes = () => {};
|
|
200
223
|
};
|
|
201
224
|
export const CloudImageEditor = class {
|
|
202
|
-
|
|
203
|
-
|
|
225
|
+
static styleAttrs = [];
|
|
226
|
+
static template = `
|
|
204
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>
|
|
205
228
|
<div class="uc-wrapper uc-wrapper_desktop">
|
|
206
229
|
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
@@ -233,62 +256,62 @@ export const CloudImageEditor = class {
|
|
|
233
256
|
</div>
|
|
234
257
|
</div>
|
|
235
258
|
`;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
259
|
+
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
260
|
+
static reg = () => {};
|
|
261
|
+
static is = `sym-1`;
|
|
262
|
+
static bindAttributes = () => {};
|
|
240
263
|
};
|
|
241
264
|
export const CloudImageEditorActivity = class {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
265
|
+
static extSrcList = {
|
|
266
|
+
FACEBOOK: "facebook",
|
|
267
|
+
DROPBOX: "dropbox",
|
|
268
|
+
GDRIVE: "gdrive",
|
|
269
|
+
GPHOTOS: "gphotos",
|
|
270
|
+
FLICKR: "flickr",
|
|
271
|
+
VK: "vk",
|
|
272
|
+
EVERNOTE: "evernote",
|
|
273
|
+
BOX: "box",
|
|
274
|
+
ONEDRIVE: "onedrive",
|
|
275
|
+
HUDDLE: "huddle",
|
|
276
|
+
};
|
|
277
|
+
static sourceTypes = {
|
|
278
|
+
LOCAL: "local",
|
|
279
|
+
DROP_AREA: "drop-area",
|
|
280
|
+
CAMERA: "camera",
|
|
281
|
+
EXTERNAL: "external",
|
|
282
|
+
API: "js-api",
|
|
283
|
+
URL: "url",
|
|
284
|
+
DRAW: "draw",
|
|
285
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
286
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
287
|
+
FACEBOOK: "facebook",
|
|
288
|
+
DROPBOX: "dropbox",
|
|
289
|
+
GDRIVE: "gdrive",
|
|
290
|
+
GPHOTOS: "gphotos",
|
|
291
|
+
FLICKR: "flickr",
|
|
292
|
+
VK: "vk",
|
|
293
|
+
EVERNOTE: "evernote",
|
|
294
|
+
BOX: "box",
|
|
295
|
+
ONEDRIVE: "onedrive",
|
|
296
|
+
HUDDLE: "huddle",
|
|
297
|
+
};
|
|
298
|
+
static activities = {
|
|
299
|
+
START_FROM: "start-from",
|
|
300
|
+
CAMERA: "camera",
|
|
301
|
+
DRAW: "draw",
|
|
302
|
+
UPLOAD_LIST: "upload-list",
|
|
303
|
+
URL: "url",
|
|
304
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
305
|
+
EXTERNAL: "external",
|
|
306
|
+
};
|
|
307
|
+
static reg = () => {};
|
|
308
|
+
static styleAttrs = [];
|
|
309
|
+
static is = `sym-1`;
|
|
310
|
+
static bindAttributes = () => {};
|
|
288
311
|
};
|
|
289
312
|
export const CloudImageEditorBlock = class {
|
|
290
|
-
|
|
291
|
-
|
|
313
|
+
static styleAttrs = [];
|
|
314
|
+
static template = `
|
|
292
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>
|
|
293
316
|
<div class="uc-wrapper uc-wrapper_desktop">
|
|
294
317
|
<uc-presence-toggle class="uc-network_problems_splash" set="visible: presence.networkProblems;">
|
|
@@ -321,134 +344,138 @@ export const CloudImageEditorBlock = class {
|
|
|
321
344
|
</div>
|
|
322
345
|
</div>
|
|
323
346
|
`;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
347
|
+
static observedAttributes = ["uuid", "cdn-url", "crop-preset", "tabs"];
|
|
348
|
+
static reg = () => {};
|
|
349
|
+
static is = `sym-1`;
|
|
350
|
+
static bindAttributes = () => {};
|
|
328
351
|
};
|
|
329
352
|
export const Config = class {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
353
|
+
static observedAttributes = [
|
|
354
|
+
"debug",
|
|
355
|
+
"pubkey",
|
|
356
|
+
"multiple",
|
|
357
|
+
"multiple-min",
|
|
358
|
+
"multiple-max",
|
|
359
|
+
"confirm-upload",
|
|
360
|
+
"img-only",
|
|
361
|
+
"accept",
|
|
362
|
+
"external-sources-preferred-types",
|
|
363
|
+
"external-sources-embed-css",
|
|
364
|
+
"store",
|
|
365
|
+
"camera-mirror",
|
|
366
|
+
"camera-capture",
|
|
367
|
+
"source-list",
|
|
368
|
+
"top-level-origin",
|
|
369
|
+
"cloud-image-editor-tabs",
|
|
370
|
+
"max-local-file-size-bytes",
|
|
371
|
+
"thumb-size",
|
|
372
|
+
"show-empty-list",
|
|
373
|
+
"use-local-image-editor",
|
|
374
|
+
"use-cloud-image-editor",
|
|
375
|
+
"remove-copyright",
|
|
376
|
+
"crop-preset",
|
|
377
|
+
"image-shrink",
|
|
378
|
+
"modal-scroll-lock",
|
|
379
|
+
"modal-backdrop-strokes",
|
|
380
|
+
"source-list-wrap",
|
|
381
|
+
"remote-tab-session-key",
|
|
382
|
+
"cdn-cname",
|
|
383
|
+
"cdn-cname-prefixed",
|
|
384
|
+
"base-url",
|
|
385
|
+
"social-base-url",
|
|
386
|
+
"secure-signature",
|
|
387
|
+
"secure-expire",
|
|
388
|
+
"secure-delivery-proxy",
|
|
389
|
+
"retry-throttled-request-max-times",
|
|
390
|
+
"retry-network-error-max-times",
|
|
391
|
+
"multipart-min-file-size",
|
|
392
|
+
"multipart-chunk-size",
|
|
393
|
+
"max-concurrent-requests",
|
|
394
|
+
"multipart-max-concurrent-requests",
|
|
395
|
+
"multipart-max-attempts",
|
|
396
|
+
"check-for-url-duplicates",
|
|
397
|
+
"save-url-for-recurrent-uploads",
|
|
398
|
+
"group-output",
|
|
399
|
+
"user-agent-integration",
|
|
400
|
+
"locale-name",
|
|
401
|
+
"secure-uploads-expire-threshold",
|
|
402
|
+
"validation-timeout",
|
|
403
|
+
"validation-concurrency",
|
|
404
|
+
"camera-modes",
|
|
405
|
+
"default-camera-mode",
|
|
406
|
+
"enable-audio-recording",
|
|
407
|
+
"enable-video-recording",
|
|
408
|
+
"max-video-recording-duration",
|
|
409
|
+
"files-view-mode",
|
|
410
|
+
"grid-show-file-names",
|
|
411
|
+
"cloud-image-editor-auto-open",
|
|
412
|
+
"cloud-image-editor-mask-href",
|
|
413
|
+
"test-mode",
|
|
414
|
+
"quality-insights",
|
|
415
|
+
"multiplemin",
|
|
416
|
+
"multiplemax",
|
|
417
|
+
"confirmupload",
|
|
418
|
+
"imgonly",
|
|
419
|
+
"externalsourcespreferredtypes",
|
|
420
|
+
"externalsourcesembedcss",
|
|
421
|
+
"cameramirror",
|
|
422
|
+
"cameracapture",
|
|
423
|
+
"sourcelist",
|
|
424
|
+
"toplevelorigin",
|
|
425
|
+
"cloudimageeditortabs",
|
|
426
|
+
"maxlocalfilesizebytes",
|
|
427
|
+
"thumbsize",
|
|
428
|
+
"showemptylist",
|
|
429
|
+
"uselocalimageeditor",
|
|
430
|
+
"usecloudimageeditor",
|
|
431
|
+
"removecopyright",
|
|
432
|
+
"croppreset",
|
|
433
|
+
"imageshrink",
|
|
434
|
+
"modalscrolllock",
|
|
435
|
+
"modalbackdropstrokes",
|
|
436
|
+
"sourcelistwrap",
|
|
437
|
+
"remotetabsessionkey",
|
|
438
|
+
"cdncname",
|
|
439
|
+
"cdncnameprefixed",
|
|
440
|
+
"baseurl",
|
|
441
|
+
"socialbaseurl",
|
|
442
|
+
"securesignature",
|
|
443
|
+
"secureexpire",
|
|
444
|
+
"securedeliveryproxy",
|
|
445
|
+
"retrythrottledrequestmaxtimes",
|
|
446
|
+
"retrynetworkerrormaxtimes",
|
|
447
|
+
"multipartminfilesize",
|
|
448
|
+
"multipartchunksize",
|
|
449
|
+
"maxconcurrentrequests",
|
|
450
|
+
"multipartmaxconcurrentrequests",
|
|
451
|
+
"multipartmaxattempts",
|
|
452
|
+
"checkforurlduplicates",
|
|
453
|
+
"saveurlforrecurrentuploads",
|
|
454
|
+
"groupoutput",
|
|
455
|
+
"useragentintegration",
|
|
456
|
+
"localename",
|
|
457
|
+
"secureuploadsexpirethreshold",
|
|
458
|
+
"validationtimeout",
|
|
459
|
+
"validationconcurrency",
|
|
460
|
+
"cameramodes",
|
|
461
|
+
"defaultcameramode",
|
|
462
|
+
"enableaudiorecording",
|
|
463
|
+
"enablevideorecording",
|
|
464
|
+
"maxvideorecordingduration",
|
|
465
|
+
"filesviewmode",
|
|
466
|
+
"gridshowfilenames",
|
|
467
|
+
"cloudimageeditorautoopen",
|
|
468
|
+
"cloudimageeditormaskhref",
|
|
469
|
+
"testmode",
|
|
470
|
+
"qualityinsights",
|
|
471
|
+
];
|
|
472
|
+
static reg = () => {};
|
|
473
|
+
static styleAttrs = [];
|
|
474
|
+
static is = `sym-1`;
|
|
475
|
+
static bindAttributes = () => {};
|
|
449
476
|
};
|
|
450
477
|
export const Copyright = class {
|
|
451
|
-
|
|
478
|
+
static template = `
|
|
452
479
|
<a
|
|
453
480
|
href="https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4"
|
|
454
481
|
target="_blank noopener"
|
|
@@ -456,37 +483,38 @@ export const Copyright = class {
|
|
|
456
483
|
>Powered by Uploadcare</a
|
|
457
484
|
>
|
|
458
485
|
`;
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
486
|
+
static reg = () => {};
|
|
487
|
+
static styleAttrs = [];
|
|
488
|
+
static is = `sym-1`;
|
|
489
|
+
static bindAttributes = () => {};
|
|
463
490
|
};
|
|
464
491
|
export const CropFrame = class {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
492
|
+
static template =
|
|
493
|
+
` <svg class="uc-svg" ref="svg-el" xmlns="http://www.w3.org/2000/svg"></svg> `;
|
|
494
|
+
static reg = () => {};
|
|
495
|
+
static styleAttrs = [];
|
|
496
|
+
static is = `sym-1`;
|
|
497
|
+
static bindAttributes = () => {};
|
|
470
498
|
};
|
|
471
499
|
export const Data = class {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
500
|
+
static warn = () => {};
|
|
501
|
+
static registerCtx = () => {};
|
|
502
|
+
static deleteCtx = () => {};
|
|
503
|
+
static getCtx = () => {};
|
|
504
|
+
static globalStore = {};
|
|
505
|
+
static apply = () => {};
|
|
506
|
+
static bind = () => {};
|
|
507
|
+
static call = () => {};
|
|
508
|
+
static toString = () => {};
|
|
509
|
+
static hasOwnProperty = () => {};
|
|
510
|
+
static isPrototypeOf = () => {};
|
|
511
|
+
static propertyIsEnumerable = () => {};
|
|
512
|
+
static valueOf = () => {};
|
|
513
|
+
static toLocaleString = () => {};
|
|
486
514
|
};
|
|
487
515
|
export const DropArea = class {
|
|
488
|
-
|
|
489
|
-
|
|
516
|
+
static styleAttrs = [];
|
|
517
|
+
static template = `
|
|
490
518
|
<slot>
|
|
491
519
|
<div data-default-slot hidden></div>
|
|
492
520
|
<div ref="content-wrapper" class="uc-content-wrapper" set="@hidden: !isVisible">
|
|
@@ -498,157 +526,157 @@ export const DropArea = class {
|
|
|
498
526
|
</div>
|
|
499
527
|
</slot>
|
|
500
528
|
`;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
529
|
+
static observedAttributes = [
|
|
530
|
+
"with-icon",
|
|
531
|
+
"clickable",
|
|
532
|
+
"text",
|
|
533
|
+
"fullscreen",
|
|
534
|
+
"disabled",
|
|
535
|
+
"initflow",
|
|
536
|
+
];
|
|
537
|
+
static extSrcList = {
|
|
538
|
+
FACEBOOK: "facebook",
|
|
539
|
+
DROPBOX: "dropbox",
|
|
540
|
+
GDRIVE: "gdrive",
|
|
541
|
+
GPHOTOS: "gphotos",
|
|
542
|
+
FLICKR: "flickr",
|
|
543
|
+
VK: "vk",
|
|
544
|
+
EVERNOTE: "evernote",
|
|
545
|
+
BOX: "box",
|
|
546
|
+
ONEDRIVE: "onedrive",
|
|
547
|
+
HUDDLE: "huddle",
|
|
548
|
+
};
|
|
549
|
+
static sourceTypes = {
|
|
550
|
+
LOCAL: "local",
|
|
551
|
+
DROP_AREA: "drop-area",
|
|
552
|
+
CAMERA: "camera",
|
|
553
|
+
EXTERNAL: "external",
|
|
554
|
+
API: "js-api",
|
|
555
|
+
URL: "url",
|
|
556
|
+
DRAW: "draw",
|
|
557
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
558
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
559
|
+
FACEBOOK: "facebook",
|
|
560
|
+
DROPBOX: "dropbox",
|
|
561
|
+
GDRIVE: "gdrive",
|
|
562
|
+
GPHOTOS: "gphotos",
|
|
563
|
+
FLICKR: "flickr",
|
|
564
|
+
VK: "vk",
|
|
565
|
+
EVERNOTE: "evernote",
|
|
566
|
+
BOX: "box",
|
|
567
|
+
ONEDRIVE: "onedrive",
|
|
568
|
+
HUDDLE: "huddle",
|
|
569
|
+
};
|
|
570
|
+
static activities = {
|
|
571
|
+
START_FROM: "start-from",
|
|
572
|
+
CAMERA: "camera",
|
|
573
|
+
DRAW: "draw",
|
|
574
|
+
UPLOAD_LIST: "upload-list",
|
|
575
|
+
URL: "url",
|
|
576
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
577
|
+
EXTERNAL: "external",
|
|
578
|
+
};
|
|
579
|
+
static reg = () => {};
|
|
580
|
+
static is = `sym-1`;
|
|
581
|
+
static bindAttributes = () => {};
|
|
554
582
|
};
|
|
555
583
|
export const EditorAspectRatioButtonControl = class {
|
|
556
|
-
|
|
584
|
+
static template = `
|
|
557
585
|
<button role="option" type="button" set="@aria-label:title-prop;" l10n="@title:title-prop;">
|
|
558
586
|
<uc-icon ref="icon-el" set="@name: icon;"></uc-icon>
|
|
559
587
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
560
588
|
</button>
|
|
561
589
|
`;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
590
|
+
static reg = () => {};
|
|
591
|
+
static styleAttrs = [];
|
|
592
|
+
static is = `sym-1`;
|
|
593
|
+
static bindAttributes = () => {};
|
|
566
594
|
};
|
|
567
595
|
export const EditorCropButtonControl = class {
|
|
568
|
-
|
|
596
|
+
static template = `
|
|
569
597
|
<button role="option" type="button" set="@aria-label:title-prop;" l10n="@title:title-prop;">
|
|
570
598
|
<uc-icon ref="icon-el" set="@name: icon;"></uc-icon>
|
|
571
599
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
572
600
|
</button>
|
|
573
601
|
`;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
602
|
+
static reg = () => {};
|
|
603
|
+
static styleAttrs = [];
|
|
604
|
+
static is = `sym-1`;
|
|
605
|
+
static bindAttributes = () => {};
|
|
578
606
|
};
|
|
579
607
|
export const EditorFilterControl = class {
|
|
580
|
-
|
|
608
|
+
static template = `
|
|
581
609
|
<button role="option" type="button" set="@aria-label:title-prop;" l10n="@title:title-prop;">
|
|
582
610
|
<uc-icon ref="icon-el" set="@name: icon;"></uc-icon>
|
|
583
611
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
584
612
|
</button>
|
|
585
613
|
`;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
614
|
+
static reg = () => {};
|
|
615
|
+
static styleAttrs = [];
|
|
616
|
+
static is = `sym-1`;
|
|
617
|
+
static bindAttributes = () => {};
|
|
590
618
|
};
|
|
591
619
|
export const EditorFreeformButtonControl = class {
|
|
592
|
-
|
|
620
|
+
static template = `
|
|
593
621
|
<button role="option" type="button" set="@aria-label:title-prop;" l10n="@title:title-prop;">
|
|
594
622
|
<uc-icon ref="icon-el" set="@name: icon;"></uc-icon>
|
|
595
623
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
596
624
|
</button>
|
|
597
625
|
`;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
626
|
+
static reg = () => {};
|
|
627
|
+
static styleAttrs = [];
|
|
628
|
+
static is = `sym-1`;
|
|
629
|
+
static bindAttributes = () => {};
|
|
602
630
|
};
|
|
603
631
|
export const EditorImageCropper = class {
|
|
604
|
-
|
|
632
|
+
static template = `
|
|
605
633
|
<canvas class="uc-canvas" ref="canvas-el"></canvas>
|
|
606
634
|
<uc-crop-frame ref="frame-el"></uc-crop-frame>
|
|
607
635
|
`;
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
636
|
+
static reg = () => {};
|
|
637
|
+
static styleAttrs = [];
|
|
638
|
+
static is = `sym-1`;
|
|
639
|
+
static bindAttributes = () => {};
|
|
612
640
|
};
|
|
613
641
|
export const EditorImageFader = class {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
642
|
+
static reg = () => {};
|
|
643
|
+
static styleAttrs = [];
|
|
644
|
+
static is = `sym-1`;
|
|
645
|
+
static bindAttributes = () => {};
|
|
618
646
|
};
|
|
619
647
|
export const EditorOperationControl = class {
|
|
620
|
-
|
|
648
|
+
static template = `
|
|
621
649
|
<button role="option" type="button" set="@aria-label:title-prop;" l10n="@title:title-prop;">
|
|
622
650
|
<uc-icon ref="icon-el" set="@name: icon;"></uc-icon>
|
|
623
651
|
<div class="uc-title" ref="title-el">{{title}}</div>
|
|
624
652
|
</button>
|
|
625
653
|
`;
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
654
|
+
static reg = () => {};
|
|
655
|
+
static styleAttrs = [];
|
|
656
|
+
static is = `sym-1`;
|
|
657
|
+
static bindAttributes = () => {};
|
|
630
658
|
};
|
|
631
659
|
export const EditorScroller = class {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
660
|
+
static template = ` <slot></slot> `;
|
|
661
|
+
static reg = () => {};
|
|
662
|
+
static styleAttrs = [];
|
|
663
|
+
static is = `sym-1`;
|
|
664
|
+
static bindAttributes = () => {};
|
|
637
665
|
};
|
|
638
666
|
export const EditorSlider = class {
|
|
639
|
-
|
|
667
|
+
static template = `
|
|
640
668
|
<uc-slider-ui
|
|
641
669
|
ref="slider-el"
|
|
642
670
|
set="disabled: disabled; min: min; max: max; defaultValue: defaultValue; zero: zero; onInput: on.input;"
|
|
643
671
|
></uc-slider-ui>
|
|
644
672
|
`;
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
673
|
+
static reg = () => {};
|
|
674
|
+
static styleAttrs = [];
|
|
675
|
+
static is = `sym-1`;
|
|
676
|
+
static bindAttributes = () => {};
|
|
649
677
|
};
|
|
650
678
|
export const EditorToolbar = class {
|
|
651
|
-
|
|
679
|
+
static template = `
|
|
652
680
|
<uc-line-loader-ui set="active: showLoader"></uc-line-loader-ui>
|
|
653
681
|
<div class="uc-info-tooltip_container">
|
|
654
682
|
<div class="uc-info-tooltip_wrapper">
|
|
@@ -786,13 +814,13 @@ export const EditorToolbar = class {
|
|
|
786
814
|
</uc-presence-toggle>
|
|
787
815
|
</div>
|
|
788
816
|
`;
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
817
|
+
static reg = () => {};
|
|
818
|
+
static styleAttrs = [];
|
|
819
|
+
static is = `sym-1`;
|
|
820
|
+
static bindAttributes = () => {};
|
|
793
821
|
};
|
|
794
822
|
export const ExternalSource = class {
|
|
795
|
-
|
|
823
|
+
static template = `
|
|
796
824
|
<uc-activity-header>
|
|
797
825
|
<button
|
|
798
826
|
type="button"
|
|
@@ -819,67 +847,67 @@ export const ExternalSource = class {
|
|
|
819
847
|
</div>
|
|
820
848
|
</div>
|
|
821
849
|
`;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
850
|
+
static extSrcList = {
|
|
851
|
+
FACEBOOK: "facebook",
|
|
852
|
+
DROPBOX: "dropbox",
|
|
853
|
+
GDRIVE: "gdrive",
|
|
854
|
+
GPHOTOS: "gphotos",
|
|
855
|
+
FLICKR: "flickr",
|
|
856
|
+
VK: "vk",
|
|
857
|
+
EVERNOTE: "evernote",
|
|
858
|
+
BOX: "box",
|
|
859
|
+
ONEDRIVE: "onedrive",
|
|
860
|
+
HUDDLE: "huddle",
|
|
861
|
+
};
|
|
862
|
+
static sourceTypes = {
|
|
863
|
+
LOCAL: "local",
|
|
864
|
+
DROP_AREA: "drop-area",
|
|
865
|
+
CAMERA: "camera",
|
|
866
|
+
EXTERNAL: "external",
|
|
867
|
+
API: "js-api",
|
|
868
|
+
URL: "url",
|
|
869
|
+
DRAW: "draw",
|
|
870
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
871
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
872
|
+
FACEBOOK: "facebook",
|
|
873
|
+
DROPBOX: "dropbox",
|
|
874
|
+
GDRIVE: "gdrive",
|
|
875
|
+
GPHOTOS: "gphotos",
|
|
876
|
+
FLICKR: "flickr",
|
|
877
|
+
VK: "vk",
|
|
878
|
+
EVERNOTE: "evernote",
|
|
879
|
+
BOX: "box",
|
|
880
|
+
ONEDRIVE: "onedrive",
|
|
881
|
+
HUDDLE: "huddle",
|
|
882
|
+
};
|
|
883
|
+
static activities = {
|
|
884
|
+
START_FROM: "start-from",
|
|
885
|
+
CAMERA: "camera",
|
|
886
|
+
DRAW: "draw",
|
|
887
|
+
UPLOAD_LIST: "upload-list",
|
|
888
|
+
URL: "url",
|
|
889
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
890
|
+
EXTERNAL: "external",
|
|
891
|
+
};
|
|
892
|
+
static reg = () => {};
|
|
893
|
+
static styleAttrs = [];
|
|
894
|
+
static is = `sym-1`;
|
|
895
|
+
static bindAttributes = () => {};
|
|
868
896
|
};
|
|
869
897
|
export const ExternalUploadSource = {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
898
|
+
FACEBOOK: "facebook",
|
|
899
|
+
DROPBOX: "dropbox",
|
|
900
|
+
GDRIVE: "gdrive",
|
|
901
|
+
GPHOTOS: "gphotos",
|
|
902
|
+
FLICKR: "flickr",
|
|
903
|
+
VK: "vk",
|
|
904
|
+
EVERNOTE: "evernote",
|
|
905
|
+
BOX: "box",
|
|
906
|
+
ONEDRIVE: "onedrive",
|
|
907
|
+
HUDDLE: "huddle",
|
|
880
908
|
};
|
|
881
909
|
export const FileItem = class {
|
|
882
|
-
|
|
910
|
+
static template = `
|
|
883
911
|
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
884
912
|
<uc-thumb set="uid:uid;badgeIcon:badgeIcon"></uc-thumb>
|
|
885
913
|
|
|
@@ -916,267 +944,269 @@ export const FileItem = class {
|
|
|
916
944
|
</uc-progress-bar>
|
|
917
945
|
</div>
|
|
918
946
|
`;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
947
|
+
static activeInstances = {};
|
|
948
|
+
static extSrcList = {
|
|
949
|
+
FACEBOOK: "facebook",
|
|
950
|
+
DROPBOX: "dropbox",
|
|
951
|
+
GDRIVE: "gdrive",
|
|
952
|
+
GPHOTOS: "gphotos",
|
|
953
|
+
FLICKR: "flickr",
|
|
954
|
+
VK: "vk",
|
|
955
|
+
EVERNOTE: "evernote",
|
|
956
|
+
BOX: "box",
|
|
957
|
+
ONEDRIVE: "onedrive",
|
|
958
|
+
HUDDLE: "huddle",
|
|
959
|
+
};
|
|
960
|
+
static sourceTypes = {
|
|
961
|
+
LOCAL: "local",
|
|
962
|
+
DROP_AREA: "drop-area",
|
|
963
|
+
CAMERA: "camera",
|
|
964
|
+
EXTERNAL: "external",
|
|
965
|
+
API: "js-api",
|
|
966
|
+
URL: "url",
|
|
967
|
+
DRAW: "draw",
|
|
968
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
969
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
970
|
+
FACEBOOK: "facebook",
|
|
971
|
+
DROPBOX: "dropbox",
|
|
972
|
+
GDRIVE: "gdrive",
|
|
973
|
+
GPHOTOS: "gphotos",
|
|
974
|
+
FLICKR: "flickr",
|
|
975
|
+
VK: "vk",
|
|
976
|
+
EVERNOTE: "evernote",
|
|
977
|
+
BOX: "box",
|
|
978
|
+
ONEDRIVE: "onedrive",
|
|
979
|
+
HUDDLE: "huddle",
|
|
980
|
+
};
|
|
981
|
+
static activities = {
|
|
982
|
+
START_FROM: "start-from",
|
|
983
|
+
CAMERA: "camera",
|
|
984
|
+
DRAW: "draw",
|
|
985
|
+
UPLOAD_LIST: "upload-list",
|
|
986
|
+
URL: "url",
|
|
987
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
988
|
+
EXTERNAL: "external",
|
|
989
|
+
};
|
|
990
|
+
static reg = () => {};
|
|
991
|
+
static styleAttrs = [];
|
|
992
|
+
static is = `sym-1`;
|
|
993
|
+
static bindAttributes = () => {};
|
|
966
994
|
};
|
|
967
995
|
export const FileUploaderInline = class {
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
996
|
+
static styleAttrs = [];
|
|
997
|
+
static reg = () => {};
|
|
998
|
+
static is = `sym-1`;
|
|
999
|
+
static bindAttributes = () => {};
|
|
972
1000
|
};
|
|
973
1001
|
export const FileUploaderMinimal = class {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1002
|
+
static styleAttrs = [];
|
|
1003
|
+
static reg = () => {};
|
|
1004
|
+
static is = `sym-1`;
|
|
1005
|
+
static bindAttributes = () => {};
|
|
978
1006
|
};
|
|
979
1007
|
export const FileUploaderRegular = class {
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
1008
|
+
static styleAttrs = [];
|
|
1009
|
+
static observedAttributes = ["headless"];
|
|
1010
|
+
static reg = () => {};
|
|
1011
|
+
static is = `sym-1`;
|
|
1012
|
+
static bindAttributes = () => {};
|
|
985
1013
|
};
|
|
986
1014
|
export const FormInput = class {
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1015
|
+
static extSrcList = {
|
|
1016
|
+
FACEBOOK: "facebook",
|
|
1017
|
+
DROPBOX: "dropbox",
|
|
1018
|
+
GDRIVE: "gdrive",
|
|
1019
|
+
GPHOTOS: "gphotos",
|
|
1020
|
+
FLICKR: "flickr",
|
|
1021
|
+
VK: "vk",
|
|
1022
|
+
EVERNOTE: "evernote",
|
|
1023
|
+
BOX: "box",
|
|
1024
|
+
ONEDRIVE: "onedrive",
|
|
1025
|
+
HUDDLE: "huddle",
|
|
1026
|
+
};
|
|
1027
|
+
static sourceTypes = {
|
|
1028
|
+
LOCAL: "local",
|
|
1029
|
+
DROP_AREA: "drop-area",
|
|
1030
|
+
CAMERA: "camera",
|
|
1031
|
+
EXTERNAL: "external",
|
|
1032
|
+
API: "js-api",
|
|
1033
|
+
URL: "url",
|
|
1034
|
+
DRAW: "draw",
|
|
1035
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1036
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1037
|
+
FACEBOOK: "facebook",
|
|
1038
|
+
DROPBOX: "dropbox",
|
|
1039
|
+
GDRIVE: "gdrive",
|
|
1040
|
+
GPHOTOS: "gphotos",
|
|
1041
|
+
FLICKR: "flickr",
|
|
1042
|
+
VK: "vk",
|
|
1043
|
+
EVERNOTE: "evernote",
|
|
1044
|
+
BOX: "box",
|
|
1045
|
+
ONEDRIVE: "onedrive",
|
|
1046
|
+
HUDDLE: "huddle",
|
|
1047
|
+
};
|
|
1048
|
+
static activities = {
|
|
1049
|
+
START_FROM: "start-from",
|
|
1050
|
+
CAMERA: "camera",
|
|
1051
|
+
DRAW: "draw",
|
|
1052
|
+
UPLOAD_LIST: "upload-list",
|
|
1053
|
+
URL: "url",
|
|
1054
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1055
|
+
EXTERNAL: "external",
|
|
1056
|
+
};
|
|
1057
|
+
static reg = () => {};
|
|
1058
|
+
static styleAttrs = [];
|
|
1059
|
+
static is = `sym-1`;
|
|
1060
|
+
static bindAttributes = () => {};
|
|
1033
1061
|
};
|
|
1034
1062
|
export const Icon = class {
|
|
1035
|
-
|
|
1063
|
+
static template = `
|
|
1036
1064
|
<svg ref="svg" xmlns="http://www.w3.org/2000/svg">
|
|
1037
1065
|
<use set="@href: href;"></use>
|
|
1038
1066
|
</svg>
|
|
1039
1067
|
`;
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1068
|
+
static observedAttributes = ["name"];
|
|
1069
|
+
static reg = () => {};
|
|
1070
|
+
static styleAttrs = [];
|
|
1071
|
+
static is = `sym-1`;
|
|
1072
|
+
static bindAttributes = () => {};
|
|
1045
1073
|
};
|
|
1046
1074
|
export const Img = class {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1075
|
+
static observedAttributes = [
|
|
1076
|
+
"dev-mode",
|
|
1077
|
+
"pubkey",
|
|
1078
|
+
"uuid",
|
|
1079
|
+
"src",
|
|
1080
|
+
"lazy",
|
|
1081
|
+
"intersection",
|
|
1082
|
+
"breakpoints",
|
|
1083
|
+
"cdn-cname",
|
|
1084
|
+
"proxy-cname",
|
|
1085
|
+
"secure-delivery-proxy",
|
|
1086
|
+
"hi-res-support",
|
|
1087
|
+
"ultra-res-support",
|
|
1088
|
+
"format",
|
|
1089
|
+
"cdn-operations",
|
|
1090
|
+
"progressive",
|
|
1091
|
+
"quality",
|
|
1092
|
+
"is-background-for",
|
|
1093
|
+
"is-preview-blur",
|
|
1094
|
+
];
|
|
1095
|
+
static reg = () => {};
|
|
1096
|
+
static is = `sym-1`;
|
|
1097
|
+
static bindAttributes = () => {};
|
|
1070
1098
|
};
|
|
1071
1099
|
export const LineLoaderUi = class {
|
|
1072
|
-
|
|
1100
|
+
static template = `
|
|
1073
1101
|
<div class="uc-inner">
|
|
1074
1102
|
<div class="uc-line" ref="line-el"></div>
|
|
1075
1103
|
</div>
|
|
1076
1104
|
`;
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1105
|
+
static reg = () => {};
|
|
1106
|
+
static styleAttrs = [];
|
|
1107
|
+
static is = `sym-1`;
|
|
1108
|
+
static bindAttributes = () => {};
|
|
1081
1109
|
};
|
|
1082
1110
|
export const Modal = class {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1111
|
+
static styleAttrs = [];
|
|
1112
|
+
static StateConsumerScope = `modal`;
|
|
1113
|
+
static template = `
|
|
1086
1114
|
<dialog ref="dialog">
|
|
1087
1115
|
<slot></slot>
|
|
1088
1116
|
</dialog>
|
|
1089
1117
|
`;
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1118
|
+
static reg = () => {};
|
|
1119
|
+
static is = `sym-1`;
|
|
1120
|
+
static bindAttributes = () => {};
|
|
1093
1121
|
};
|
|
1094
1122
|
export const ModalEvents = {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1123
|
+
ADD: "modal:add",
|
|
1124
|
+
DELETE: "modal:delete",
|
|
1125
|
+
OPEN: "modal:open",
|
|
1126
|
+
CLOSE: "modal:close",
|
|
1127
|
+
CLOSE_ALL: "modal:closeAll",
|
|
1128
|
+
DESTROY: "modal:destroy",
|
|
1101
1129
|
};
|
|
1102
1130
|
export const PACKAGE_NAME = `blocks`;
|
|
1103
|
-
export const PACKAGE_VERSION = `1.
|
|
1131
|
+
export const PACKAGE_VERSION = `1.24.0-alpha.0`;
|
|
1104
1132
|
export const PresenceToggle = class {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1133
|
+
static template = `<slot></slot> `;
|
|
1134
|
+
static reg = () => {};
|
|
1135
|
+
static styleAttrs = [];
|
|
1136
|
+
static is = `sym-1`;
|
|
1137
|
+
static bindAttributes = () => {};
|
|
1110
1138
|
};
|
|
1111
1139
|
export const ProgressBar = class {
|
|
1112
|
-
|
|
1140
|
+
static template = `
|
|
1113
1141
|
<div ref="fakeProgressLine" class="uc-fake-progress"></div>
|
|
1114
1142
|
<div ref="realProgressLine" class="uc-progress"></div>
|
|
1115
1143
|
`;
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1144
|
+
static reg = () => {};
|
|
1145
|
+
static styleAttrs = [];
|
|
1146
|
+
static is = `sym-1`;
|
|
1147
|
+
static bindAttributes = () => {};
|
|
1120
1148
|
};
|
|
1121
1149
|
export const ProgressBarCommon = class {
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1150
|
+
static template =
|
|
1151
|
+
` <uc-progress-bar set="visible: visible; value: value"></uc-progress-bar> `;
|
|
1152
|
+
static extSrcList = {
|
|
1153
|
+
FACEBOOK: "facebook",
|
|
1154
|
+
DROPBOX: "dropbox",
|
|
1155
|
+
GDRIVE: "gdrive",
|
|
1156
|
+
GPHOTOS: "gphotos",
|
|
1157
|
+
FLICKR: "flickr",
|
|
1158
|
+
VK: "vk",
|
|
1159
|
+
EVERNOTE: "evernote",
|
|
1160
|
+
BOX: "box",
|
|
1161
|
+
ONEDRIVE: "onedrive",
|
|
1162
|
+
HUDDLE: "huddle",
|
|
1163
|
+
};
|
|
1164
|
+
static sourceTypes = {
|
|
1165
|
+
LOCAL: "local",
|
|
1166
|
+
DROP_AREA: "drop-area",
|
|
1167
|
+
CAMERA: "camera",
|
|
1168
|
+
EXTERNAL: "external",
|
|
1169
|
+
API: "js-api",
|
|
1170
|
+
URL: "url",
|
|
1171
|
+
DRAW: "draw",
|
|
1172
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1173
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1174
|
+
FACEBOOK: "facebook",
|
|
1175
|
+
DROPBOX: "dropbox",
|
|
1176
|
+
GDRIVE: "gdrive",
|
|
1177
|
+
GPHOTOS: "gphotos",
|
|
1178
|
+
FLICKR: "flickr",
|
|
1179
|
+
VK: "vk",
|
|
1180
|
+
EVERNOTE: "evernote",
|
|
1181
|
+
BOX: "box",
|
|
1182
|
+
ONEDRIVE: "onedrive",
|
|
1183
|
+
HUDDLE: "huddle",
|
|
1184
|
+
};
|
|
1185
|
+
static activities = {
|
|
1186
|
+
START_FROM: "start-from",
|
|
1187
|
+
CAMERA: "camera",
|
|
1188
|
+
DRAW: "draw",
|
|
1189
|
+
UPLOAD_LIST: "upload-list",
|
|
1190
|
+
URL: "url",
|
|
1191
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1192
|
+
EXTERNAL: "external",
|
|
1193
|
+
};
|
|
1194
|
+
static reg = () => {};
|
|
1195
|
+
static styleAttrs = [];
|
|
1196
|
+
static is = `sym-1`;
|
|
1197
|
+
static bindAttributes = () => {};
|
|
1169
1198
|
};
|
|
1170
1199
|
export const Select = class {
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1200
|
+
static template =
|
|
1201
|
+
` <select ref="select" set="innerHTML: selectHtml; onchange: onSelect"></select> `;
|
|
1202
|
+
static reg = () => {};
|
|
1203
|
+
static styleAttrs = [];
|
|
1204
|
+
static is = `sym-1`;
|
|
1205
|
+
static bindAttributes = () => {};
|
|
1176
1206
|
};
|
|
1177
1207
|
export const SimpleBtn = class {
|
|
1178
|
-
|
|
1179
|
-
|
|
1208
|
+
static styleAttrs = [];
|
|
1209
|
+
static template = `
|
|
1180
1210
|
<uc-drop-area set="@disabled: !withDropZone">
|
|
1181
1211
|
<button type="button" set="onclick: onClick">
|
|
1182
1212
|
<uc-icon name="upload"></uc-icon>
|
|
@@ -1186,55 +1216,55 @@ export const SimpleBtn = class {
|
|
|
1186
1216
|
</button>
|
|
1187
1217
|
</uc-drop-area>
|
|
1188
1218
|
`;
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1219
|
+
static observedAttributes = ["dropzone"];
|
|
1220
|
+
static extSrcList = {
|
|
1221
|
+
FACEBOOK: "facebook",
|
|
1222
|
+
DROPBOX: "dropbox",
|
|
1223
|
+
GDRIVE: "gdrive",
|
|
1224
|
+
GPHOTOS: "gphotos",
|
|
1225
|
+
FLICKR: "flickr",
|
|
1226
|
+
VK: "vk",
|
|
1227
|
+
EVERNOTE: "evernote",
|
|
1228
|
+
BOX: "box",
|
|
1229
|
+
ONEDRIVE: "onedrive",
|
|
1230
|
+
HUDDLE: "huddle",
|
|
1231
|
+
};
|
|
1232
|
+
static sourceTypes = {
|
|
1233
|
+
LOCAL: "local",
|
|
1234
|
+
DROP_AREA: "drop-area",
|
|
1235
|
+
CAMERA: "camera",
|
|
1236
|
+
EXTERNAL: "external",
|
|
1237
|
+
API: "js-api",
|
|
1238
|
+
URL: "url",
|
|
1239
|
+
DRAW: "draw",
|
|
1240
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1241
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1242
|
+
FACEBOOK: "facebook",
|
|
1243
|
+
DROPBOX: "dropbox",
|
|
1244
|
+
GDRIVE: "gdrive",
|
|
1245
|
+
GPHOTOS: "gphotos",
|
|
1246
|
+
FLICKR: "flickr",
|
|
1247
|
+
VK: "vk",
|
|
1248
|
+
EVERNOTE: "evernote",
|
|
1249
|
+
BOX: "box",
|
|
1250
|
+
ONEDRIVE: "onedrive",
|
|
1251
|
+
HUDDLE: "huddle",
|
|
1252
|
+
};
|
|
1253
|
+
static activities = {
|
|
1254
|
+
START_FROM: "start-from",
|
|
1255
|
+
CAMERA: "camera",
|
|
1256
|
+
DRAW: "draw",
|
|
1257
|
+
UPLOAD_LIST: "upload-list",
|
|
1258
|
+
URL: "url",
|
|
1259
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1260
|
+
EXTERNAL: "external",
|
|
1261
|
+
};
|
|
1262
|
+
static reg = () => {};
|
|
1263
|
+
static is = `sym-1`;
|
|
1264
|
+
static bindAttributes = () => {};
|
|
1235
1265
|
};
|
|
1236
1266
|
export const SliderUi = class {
|
|
1237
|
-
|
|
1267
|
+
static template = `
|
|
1238
1268
|
<div class="uc-steps" ref="steps-el"></div>
|
|
1239
1269
|
<div ref="thumb-el" class="uc-thumb"></div>
|
|
1240
1270
|
<input
|
|
@@ -1244,240 +1274,240 @@ export const SliderUi = class {
|
|
|
1244
1274
|
set="oninput: on.sliderInput; onchange: on.sliderChange; @min: min; @max: max; @value: defaultValue;"
|
|
1245
1275
|
/>
|
|
1246
1276
|
`;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1277
|
+
static reg = () => {};
|
|
1278
|
+
static styleAttrs = [];
|
|
1279
|
+
static is = `sym-1`;
|
|
1280
|
+
static bindAttributes = () => {};
|
|
1251
1281
|
};
|
|
1252
1282
|
export const SolutionBlock = class {
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1283
|
+
static styleAttrs = [];
|
|
1284
|
+
static reg = () => {};
|
|
1285
|
+
static is = `sym-1`;
|
|
1286
|
+
static bindAttributes = () => {};
|
|
1257
1287
|
};
|
|
1258
1288
|
export const SourceBtn = class {
|
|
1259
|
-
|
|
1289
|
+
static template = `
|
|
1260
1290
|
<button type="button">
|
|
1261
1291
|
<uc-icon set="@name: iconName"></uc-icon>
|
|
1262
1292
|
<div class="uc-txt" l10n="src-type"></div>
|
|
1263
1293
|
</button>
|
|
1264
1294
|
`;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1295
|
+
static observedAttributes = ["type"];
|
|
1296
|
+
static extSrcList = {
|
|
1297
|
+
FACEBOOK: "facebook",
|
|
1298
|
+
DROPBOX: "dropbox",
|
|
1299
|
+
GDRIVE: "gdrive",
|
|
1300
|
+
GPHOTOS: "gphotos",
|
|
1301
|
+
FLICKR: "flickr",
|
|
1302
|
+
VK: "vk",
|
|
1303
|
+
EVERNOTE: "evernote",
|
|
1304
|
+
BOX: "box",
|
|
1305
|
+
ONEDRIVE: "onedrive",
|
|
1306
|
+
HUDDLE: "huddle",
|
|
1307
|
+
};
|
|
1308
|
+
static sourceTypes = {
|
|
1309
|
+
LOCAL: "local",
|
|
1310
|
+
DROP_AREA: "drop-area",
|
|
1311
|
+
CAMERA: "camera",
|
|
1312
|
+
EXTERNAL: "external",
|
|
1313
|
+
API: "js-api",
|
|
1314
|
+
URL: "url",
|
|
1315
|
+
DRAW: "draw",
|
|
1316
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1317
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1318
|
+
FACEBOOK: "facebook",
|
|
1319
|
+
DROPBOX: "dropbox",
|
|
1320
|
+
GDRIVE: "gdrive",
|
|
1321
|
+
GPHOTOS: "gphotos",
|
|
1322
|
+
FLICKR: "flickr",
|
|
1323
|
+
VK: "vk",
|
|
1324
|
+
EVERNOTE: "evernote",
|
|
1325
|
+
BOX: "box",
|
|
1326
|
+
ONEDRIVE: "onedrive",
|
|
1327
|
+
HUDDLE: "huddle",
|
|
1328
|
+
};
|
|
1329
|
+
static activities = {
|
|
1330
|
+
START_FROM: "start-from",
|
|
1331
|
+
CAMERA: "camera",
|
|
1332
|
+
DRAW: "draw",
|
|
1333
|
+
UPLOAD_LIST: "upload-list",
|
|
1334
|
+
URL: "url",
|
|
1335
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1336
|
+
EXTERNAL: "external",
|
|
1337
|
+
};
|
|
1338
|
+
static reg = () => {};
|
|
1339
|
+
static styleAttrs = [];
|
|
1340
|
+
static is = `sym-1`;
|
|
1341
|
+
static bindAttributes = () => {};
|
|
1312
1342
|
};
|
|
1313
1343
|
export const SourceList = class {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1344
|
+
static reg = () => {};
|
|
1345
|
+
static styleAttrs = [];
|
|
1346
|
+
static is = `sym-1`;
|
|
1347
|
+
static bindAttributes = () => {};
|
|
1318
1348
|
};
|
|
1319
1349
|
export const Spinner = class {
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1350
|
+
static template = ` <div class="uc-spinner"></div> `;
|
|
1351
|
+
static reg = () => {};
|
|
1352
|
+
static is = `sym-1`;
|
|
1353
|
+
static bindAttributes = () => {};
|
|
1324
1354
|
};
|
|
1325
1355
|
export const StartFrom = class {
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1356
|
+
static template = ` <div class="uc-content"><slot></slot></div> `;
|
|
1357
|
+
static activities = {
|
|
1358
|
+
START_FROM: "start-from",
|
|
1359
|
+
CAMERA: "camera",
|
|
1360
|
+
DRAW: "draw",
|
|
1361
|
+
UPLOAD_LIST: "upload-list",
|
|
1362
|
+
URL: "url",
|
|
1363
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1364
|
+
EXTERNAL: "external",
|
|
1365
|
+
};
|
|
1366
|
+
static reg = () => {};
|
|
1367
|
+
static styleAttrs = [];
|
|
1368
|
+
static is = `sym-1`;
|
|
1369
|
+
static bindAttributes = () => {};
|
|
1340
1370
|
};
|
|
1341
1371
|
export const Thumb = class {
|
|
1342
|
-
|
|
1372
|
+
static template = `
|
|
1343
1373
|
<div class="uc-thumb" set="style.backgroundImage: thumbUrl">
|
|
1344
1374
|
<div class="uc-badge">
|
|
1345
1375
|
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
1346
1376
|
</div>
|
|
1347
1377
|
</div>
|
|
1348
1378
|
`;
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1379
|
+
static observedAttributes = ["badgeIcon", "uid"];
|
|
1380
|
+
static extSrcList = {
|
|
1381
|
+
FACEBOOK: "facebook",
|
|
1382
|
+
DROPBOX: "dropbox",
|
|
1383
|
+
GDRIVE: "gdrive",
|
|
1384
|
+
GPHOTOS: "gphotos",
|
|
1385
|
+
FLICKR: "flickr",
|
|
1386
|
+
VK: "vk",
|
|
1387
|
+
EVERNOTE: "evernote",
|
|
1388
|
+
BOX: "box",
|
|
1389
|
+
ONEDRIVE: "onedrive",
|
|
1390
|
+
HUDDLE: "huddle",
|
|
1391
|
+
};
|
|
1392
|
+
static sourceTypes = {
|
|
1393
|
+
LOCAL: "local",
|
|
1394
|
+
DROP_AREA: "drop-area",
|
|
1395
|
+
CAMERA: "camera",
|
|
1396
|
+
EXTERNAL: "external",
|
|
1397
|
+
API: "js-api",
|
|
1398
|
+
URL: "url",
|
|
1399
|
+
DRAW: "draw",
|
|
1400
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1401
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1402
|
+
FACEBOOK: "facebook",
|
|
1403
|
+
DROPBOX: "dropbox",
|
|
1404
|
+
GDRIVE: "gdrive",
|
|
1405
|
+
GPHOTOS: "gphotos",
|
|
1406
|
+
FLICKR: "flickr",
|
|
1407
|
+
VK: "vk",
|
|
1408
|
+
EVERNOTE: "evernote",
|
|
1409
|
+
BOX: "box",
|
|
1410
|
+
ONEDRIVE: "onedrive",
|
|
1411
|
+
HUDDLE: "huddle",
|
|
1412
|
+
};
|
|
1413
|
+
static activities = {
|
|
1414
|
+
START_FROM: "start-from",
|
|
1415
|
+
CAMERA: "camera",
|
|
1416
|
+
DRAW: "draw",
|
|
1417
|
+
UPLOAD_LIST: "upload-list",
|
|
1418
|
+
URL: "url",
|
|
1419
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1420
|
+
EXTERNAL: "external",
|
|
1421
|
+
};
|
|
1422
|
+
static reg = () => {};
|
|
1423
|
+
static styleAttrs = [];
|
|
1424
|
+
static is = `sym-1`;
|
|
1425
|
+
static bindAttributes = () => {};
|
|
1396
1426
|
};
|
|
1397
1427
|
export const UID = class {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1428
|
+
static generate = () => {};
|
|
1429
|
+
static apply = () => {};
|
|
1430
|
+
static bind = () => {};
|
|
1431
|
+
static call = () => {};
|
|
1432
|
+
static toString = () => {};
|
|
1433
|
+
static hasOwnProperty = () => {};
|
|
1434
|
+
static isPrototypeOf = () => {};
|
|
1435
|
+
static propertyIsEnumerable = () => {};
|
|
1436
|
+
static valueOf = () => {};
|
|
1437
|
+
static toLocaleString = () => {};
|
|
1408
1438
|
};
|
|
1409
1439
|
export const UploadCtxProvider = class {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1440
|
+
static styleAttrs = [];
|
|
1441
|
+
static EventType = {
|
|
1442
|
+
FILE_ADDED: "file-added",
|
|
1443
|
+
FILE_REMOVED: "file-removed",
|
|
1444
|
+
FILE_UPLOAD_START: "file-upload-start",
|
|
1445
|
+
FILE_UPLOAD_PROGRESS: "file-upload-progress",
|
|
1446
|
+
FILE_UPLOAD_SUCCESS: "file-upload-success",
|
|
1447
|
+
FILE_UPLOAD_FAILED: "file-upload-failed",
|
|
1448
|
+
FILE_URL_CHANGED: "file-url-changed",
|
|
1449
|
+
MODAL_OPEN: "modal-open",
|
|
1450
|
+
MODAL_CLOSE: "modal-close",
|
|
1451
|
+
DONE_CLICK: "done-click",
|
|
1452
|
+
UPLOAD_CLICK: "upload-click",
|
|
1453
|
+
ACTIVITY_CHANGE: "activity-change",
|
|
1454
|
+
COMMON_UPLOAD_START: "common-upload-start",
|
|
1455
|
+
COMMON_UPLOAD_PROGRESS: "common-upload-progress",
|
|
1456
|
+
COMMON_UPLOAD_SUCCESS: "common-upload-success",
|
|
1457
|
+
COMMON_UPLOAD_FAILED: "common-upload-failed",
|
|
1458
|
+
CHANGE: "change",
|
|
1459
|
+
GROUP_CREATED: "group-created",
|
|
1460
|
+
INIT_SOLUTION: "init-solution",
|
|
1461
|
+
CHANGE_CONFIG: "change-config",
|
|
1462
|
+
};
|
|
1463
|
+
static extSrcList = {
|
|
1464
|
+
FACEBOOK: "facebook",
|
|
1465
|
+
DROPBOX: "dropbox",
|
|
1466
|
+
GDRIVE: "gdrive",
|
|
1467
|
+
GPHOTOS: "gphotos",
|
|
1468
|
+
FLICKR: "flickr",
|
|
1469
|
+
VK: "vk",
|
|
1470
|
+
EVERNOTE: "evernote",
|
|
1471
|
+
BOX: "box",
|
|
1472
|
+
ONEDRIVE: "onedrive",
|
|
1473
|
+
HUDDLE: "huddle",
|
|
1474
|
+
};
|
|
1475
|
+
static sourceTypes = {
|
|
1476
|
+
LOCAL: "local",
|
|
1477
|
+
DROP_AREA: "drop-area",
|
|
1478
|
+
CAMERA: "camera",
|
|
1479
|
+
EXTERNAL: "external",
|
|
1480
|
+
API: "js-api",
|
|
1481
|
+
URL: "url",
|
|
1482
|
+
DRAW: "draw",
|
|
1483
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1484
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1485
|
+
FACEBOOK: "facebook",
|
|
1486
|
+
DROPBOX: "dropbox",
|
|
1487
|
+
GDRIVE: "gdrive",
|
|
1488
|
+
GPHOTOS: "gphotos",
|
|
1489
|
+
FLICKR: "flickr",
|
|
1490
|
+
VK: "vk",
|
|
1491
|
+
EVERNOTE: "evernote",
|
|
1492
|
+
BOX: "box",
|
|
1493
|
+
ONEDRIVE: "onedrive",
|
|
1494
|
+
HUDDLE: "huddle",
|
|
1495
|
+
};
|
|
1496
|
+
static activities = {
|
|
1497
|
+
START_FROM: "start-from",
|
|
1498
|
+
CAMERA: "camera",
|
|
1499
|
+
DRAW: "draw",
|
|
1500
|
+
UPLOAD_LIST: "upload-list",
|
|
1501
|
+
URL: "url",
|
|
1502
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1503
|
+
EXTERNAL: "external",
|
|
1504
|
+
};
|
|
1505
|
+
static reg = () => {};
|
|
1506
|
+
static is = `sym-1`;
|
|
1507
|
+
static bindAttributes = () => {};
|
|
1478
1508
|
};
|
|
1479
1509
|
export const UploadList = class {
|
|
1480
|
-
|
|
1510
|
+
static template = `
|
|
1481
1511
|
<uc-activity-header>
|
|
1482
1512
|
<span aria-live="polite" class="uc-header-text">{{headerText}}</span>
|
|
1483
1513
|
<button
|
|
@@ -1533,124 +1563,124 @@ export const UploadList = class {
|
|
|
1533
1563
|
|
|
1534
1564
|
<uc-drop-area ghost></uc-drop-area>
|
|
1535
1565
|
`;
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1566
|
+
static extSrcList = {
|
|
1567
|
+
FACEBOOK: "facebook",
|
|
1568
|
+
DROPBOX: "dropbox",
|
|
1569
|
+
GDRIVE: "gdrive",
|
|
1570
|
+
GPHOTOS: "gphotos",
|
|
1571
|
+
FLICKR: "flickr",
|
|
1572
|
+
VK: "vk",
|
|
1573
|
+
EVERNOTE: "evernote",
|
|
1574
|
+
BOX: "box",
|
|
1575
|
+
ONEDRIVE: "onedrive",
|
|
1576
|
+
HUDDLE: "huddle",
|
|
1577
|
+
};
|
|
1578
|
+
static sourceTypes = {
|
|
1579
|
+
LOCAL: "local",
|
|
1580
|
+
DROP_AREA: "drop-area",
|
|
1581
|
+
CAMERA: "camera",
|
|
1582
|
+
EXTERNAL: "external",
|
|
1583
|
+
API: "js-api",
|
|
1584
|
+
URL: "url",
|
|
1585
|
+
DRAW: "draw",
|
|
1586
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1587
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1588
|
+
FACEBOOK: "facebook",
|
|
1589
|
+
DROPBOX: "dropbox",
|
|
1590
|
+
GDRIVE: "gdrive",
|
|
1591
|
+
GPHOTOS: "gphotos",
|
|
1592
|
+
FLICKR: "flickr",
|
|
1593
|
+
VK: "vk",
|
|
1594
|
+
EVERNOTE: "evernote",
|
|
1595
|
+
BOX: "box",
|
|
1596
|
+
ONEDRIVE: "onedrive",
|
|
1597
|
+
HUDDLE: "huddle",
|
|
1598
|
+
};
|
|
1599
|
+
static activities = {
|
|
1600
|
+
START_FROM: "start-from",
|
|
1601
|
+
CAMERA: "camera",
|
|
1602
|
+
DRAW: "draw",
|
|
1603
|
+
UPLOAD_LIST: "upload-list",
|
|
1604
|
+
URL: "url",
|
|
1605
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1606
|
+
EXTERNAL: "external",
|
|
1607
|
+
};
|
|
1608
|
+
static reg = () => {};
|
|
1609
|
+
static styleAttrs = [];
|
|
1610
|
+
static is = `sym-1`;
|
|
1611
|
+
static bindAttributes = () => {};
|
|
1582
1612
|
};
|
|
1583
1613
|
export const UploadSource = {
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1614
|
+
LOCAL: "local",
|
|
1615
|
+
DROP_AREA: "drop-area",
|
|
1616
|
+
CAMERA: "camera",
|
|
1617
|
+
EXTERNAL: "external",
|
|
1618
|
+
API: "js-api",
|
|
1619
|
+
URL: "url",
|
|
1620
|
+
DRAW: "draw",
|
|
1621
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1622
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1623
|
+
FACEBOOK: "facebook",
|
|
1624
|
+
DROPBOX: "dropbox",
|
|
1625
|
+
GDRIVE: "gdrive",
|
|
1626
|
+
GPHOTOS: "gphotos",
|
|
1627
|
+
FLICKR: "flickr",
|
|
1628
|
+
VK: "vk",
|
|
1629
|
+
EVERNOTE: "evernote",
|
|
1630
|
+
BOX: "box",
|
|
1631
|
+
ONEDRIVE: "onedrive",
|
|
1632
|
+
HUDDLE: "huddle",
|
|
1603
1633
|
};
|
|
1604
1634
|
export const UploaderBlock = class {
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1635
|
+
static extSrcList = {
|
|
1636
|
+
FACEBOOK: "facebook",
|
|
1637
|
+
DROPBOX: "dropbox",
|
|
1638
|
+
GDRIVE: "gdrive",
|
|
1639
|
+
GPHOTOS: "gphotos",
|
|
1640
|
+
FLICKR: "flickr",
|
|
1641
|
+
VK: "vk",
|
|
1642
|
+
EVERNOTE: "evernote",
|
|
1643
|
+
BOX: "box",
|
|
1644
|
+
ONEDRIVE: "onedrive",
|
|
1645
|
+
HUDDLE: "huddle",
|
|
1646
|
+
};
|
|
1647
|
+
static sourceTypes = {
|
|
1648
|
+
LOCAL: "local",
|
|
1649
|
+
DROP_AREA: "drop-area",
|
|
1650
|
+
CAMERA: "camera",
|
|
1651
|
+
EXTERNAL: "external",
|
|
1652
|
+
API: "js-api",
|
|
1653
|
+
URL: "url",
|
|
1654
|
+
DRAW: "draw",
|
|
1655
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1656
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1657
|
+
FACEBOOK: "facebook",
|
|
1658
|
+
DROPBOX: "dropbox",
|
|
1659
|
+
GDRIVE: "gdrive",
|
|
1660
|
+
GPHOTOS: "gphotos",
|
|
1661
|
+
FLICKR: "flickr",
|
|
1662
|
+
VK: "vk",
|
|
1663
|
+
EVERNOTE: "evernote",
|
|
1664
|
+
BOX: "box",
|
|
1665
|
+
ONEDRIVE: "onedrive",
|
|
1666
|
+
HUDDLE: "huddle",
|
|
1667
|
+
};
|
|
1668
|
+
static activities = {
|
|
1669
|
+
START_FROM: "start-from",
|
|
1670
|
+
CAMERA: "camera",
|
|
1671
|
+
DRAW: "draw",
|
|
1672
|
+
UPLOAD_LIST: "upload-list",
|
|
1673
|
+
URL: "url",
|
|
1674
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1675
|
+
EXTERNAL: "external",
|
|
1676
|
+
};
|
|
1677
|
+
static reg = () => {};
|
|
1678
|
+
static styleAttrs = [];
|
|
1679
|
+
static is = `sym-1`;
|
|
1680
|
+
static bindAttributes = () => {};
|
|
1651
1681
|
};
|
|
1652
1682
|
export const UrlSource = class {
|
|
1653
|
-
|
|
1683
|
+
static template = `
|
|
1654
1684
|
<uc-activity-header>
|
|
1655
1685
|
<button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back;@aria-label:back">
|
|
1656
1686
|
<uc-icon name="back"></uc-icon>
|
|
@@ -1680,54 +1710,55 @@ export const UrlSource = class {
|
|
|
1680
1710
|
></button>
|
|
1681
1711
|
</form>
|
|
1682
1712
|
`;
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1713
|
+
static extSrcList = {
|
|
1714
|
+
FACEBOOK: "facebook",
|
|
1715
|
+
DROPBOX: "dropbox",
|
|
1716
|
+
GDRIVE: "gdrive",
|
|
1717
|
+
GPHOTOS: "gphotos",
|
|
1718
|
+
FLICKR: "flickr",
|
|
1719
|
+
VK: "vk",
|
|
1720
|
+
EVERNOTE: "evernote",
|
|
1721
|
+
BOX: "box",
|
|
1722
|
+
ONEDRIVE: "onedrive",
|
|
1723
|
+
HUDDLE: "huddle",
|
|
1724
|
+
};
|
|
1725
|
+
static sourceTypes = {
|
|
1726
|
+
LOCAL: "local",
|
|
1727
|
+
DROP_AREA: "drop-area",
|
|
1728
|
+
CAMERA: "camera",
|
|
1729
|
+
EXTERNAL: "external",
|
|
1730
|
+
API: "js-api",
|
|
1731
|
+
URL: "url",
|
|
1732
|
+
DRAW: "draw",
|
|
1733
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1734
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1735
|
+
FACEBOOK: "facebook",
|
|
1736
|
+
DROPBOX: "dropbox",
|
|
1737
|
+
GDRIVE: "gdrive",
|
|
1738
|
+
GPHOTOS: "gphotos",
|
|
1739
|
+
FLICKR: "flickr",
|
|
1740
|
+
VK: "vk",
|
|
1741
|
+
EVERNOTE: "evernote",
|
|
1742
|
+
BOX: "box",
|
|
1743
|
+
ONEDRIVE: "onedrive",
|
|
1744
|
+
HUDDLE: "huddle",
|
|
1745
|
+
};
|
|
1746
|
+
static activities = {
|
|
1747
|
+
START_FROM: "start-from",
|
|
1748
|
+
CAMERA: "camera",
|
|
1749
|
+
DRAW: "draw",
|
|
1750
|
+
UPLOAD_LIST: "upload-list",
|
|
1751
|
+
URL: "url",
|
|
1752
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1753
|
+
EXTERNAL: "external",
|
|
1754
|
+
};
|
|
1755
|
+
static reg = () => {};
|
|
1756
|
+
static styleAttrs = [];
|
|
1757
|
+
static is = `sym-1`;
|
|
1758
|
+
static bindAttributes = () => {};
|
|
1729
1759
|
};
|
|
1730
1760
|
export const defineComponents = () => {};
|
|
1731
1761
|
export const defineLocale = () => {};
|
|
1732
1762
|
export const loadFileUploaderFrom = () => {};
|
|
1733
1763
|
export const toKebabCase = () => {};
|
|
1764
|
+
export const IS_SSR_STUBS = true;
|