@uploadcare/file-uploader 1.13.2 → 1.14.0-alpha.11
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/abstract/ActivityBlock.d.ts +5 -5
- package/abstract/ActivityBlock.d.ts.map +1 -1
- package/abstract/ActivityBlock.js +10 -15
- package/abstract/Block.d.ts +9 -9
- package/abstract/Block.d.ts.map +1 -1
- package/abstract/Block.js +15 -0
- package/abstract/CTX.d.ts +6 -6
- package/abstract/CTX.d.ts.map +1 -1
- package/abstract/CTX.js +3 -1
- package/abstract/LocaleManager.d.ts +3 -3
- package/abstract/LocaleManager.d.ts.map +1 -1
- package/abstract/ModalManager.d.ts +124 -0
- package/abstract/ModalManager.d.ts.map +1 -0
- package/abstract/ModalManager.js +227 -0
- package/abstract/SecureUploadsManager.d.ts +2 -2
- package/abstract/SecureUploadsManager.d.ts.map +1 -1
- package/abstract/SolutionBlock.d.ts +2 -2
- package/abstract/SolutionBlock.d.ts.map +1 -1
- package/abstract/TypedCollection.d.ts.map +1 -1
- package/abstract/TypedData.d.ts +1 -1
- package/abstract/TypedData.d.ts.map +1 -1
- package/abstract/UploaderBlock.d.ts +8 -5
- package/abstract/UploaderBlock.d.ts.map +1 -1
- package/abstract/UploaderBlock.js +24 -8
- package/abstract/UploaderPublicApi.d.ts +25 -23
- package/abstract/UploaderPublicApi.d.ts.map +1 -1
- package/abstract/UploaderPublicApi.js +48 -10
- package/abstract/ValidationManager.d.ts +4 -4
- package/abstract/ValidationManager.d.ts.map +1 -1
- package/abstract/a11y.d.ts +2 -2
- package/abstract/a11y.d.ts.map +1 -1
- package/abstract/buildOutputCollectionState.d.ts +1 -1
- package/abstract/buildOutputCollectionState.d.ts.map +1 -1
- package/abstract/defineComponents.d.ts.map +1 -1
- package/abstract/l10nProcessor.d.ts.map +1 -1
- package/abstract/loadFileUploaderFrom.d.ts +1 -1
- package/abstract/loadFileUploaderFrom.d.ts.map +1 -1
- package/abstract/localeRegistry.d.ts.map +1 -1
- package/abstract/sharedConfigKey.d.ts.map +1 -1
- package/abstract/uploadEntrySchema.d.ts +2 -2
- package/abstract/uploadEntrySchema.d.ts.map +1 -1
- package/blocks/CameraSource/CameraSource.d.ts +9 -9
- package/blocks/CameraSource/CameraSource.d.ts.map +1 -1
- package/blocks/CameraSource/CameraSource.js +1 -0
- package/blocks/CameraSource/calcCameraModes.d.ts +5 -0
- package/blocks/CameraSource/calcCameraModes.d.ts.map +1 -0
- package/blocks/CameraSource/calcCameraModes.js +11 -0
- package/blocks/CameraSource/constants.d.ts +1 -0
- package/blocks/CameraSource/constants.d.ts.map +1 -1
- package/blocks/CameraSource/constants.js +2 -0
- package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/CropFrame.d.ts +1 -1
- package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +3 -3
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts +1 -1
- package/blocks/CloudImageEditor/src/EditorImageFader.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorSlider.d.ts +1 -1
- package/blocks/CloudImageEditor/src/EditorSlider.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +1 -1
- package/blocks/CloudImageEditor/src/crop-utils.d.ts +14 -14
- package/blocks/CloudImageEditor/src/crop-utils.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/cropper-constants.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts +1 -1
- package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +1 -1
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +3 -3
- package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/state.d.ts +4 -4
- package/blocks/CloudImageEditor/src/svg-sprite.d.ts.map +1 -1
- package/blocks/CloudImageEditor/src/types.d.ts +8 -58
- package/blocks/CloudImageEditor/src/types.d.ts.map +1 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +1 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -1
- package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +2 -0
- package/blocks/Config/Config.d.ts +3 -12
- package/blocks/Config/Config.d.ts.map +1 -1
- package/blocks/Config/assertions.d.ts +1 -1
- package/blocks/Config/initialConfig.d.ts +1 -1
- package/blocks/Config/initialConfig.d.ts.map +1 -1
- package/blocks/Config/initialConfig.js +4 -0
- package/blocks/Config/normalizeConfigValue.d.ts +2 -1
- package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
- package/blocks/Config/normalizeConfigValue.js +19 -106
- package/blocks/Config/side-effects.d.ts.map +1 -1
- package/blocks/Config/validatorsType.d.ts +37 -0
- package/blocks/Config/validatorsType.d.ts.map +1 -0
- package/blocks/Config/validatorsType.js +134 -0
- package/blocks/DropArea/DropArea.d.ts +3 -2
- package/blocks/DropArea/DropArea.d.ts.map +1 -1
- package/blocks/DropArea/DropArea.js +21 -2
- package/blocks/DropArea/addDropzone.d.ts.map +1 -1
- package/blocks/DropArea/getDropItems.d.ts +2 -2
- package/blocks/DropArea/getDropItems.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.d.ts +3 -3
- package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.js +2 -1
- package/blocks/ExternalSource/MessageBridge.d.ts +3 -3
- package/blocks/ExternalSource/MessageBridge.d.ts.map +1 -1
- package/blocks/ExternalSource/query-string.d.ts.map +1 -1
- package/blocks/ExternalSource/types.d.ts +64 -64
- package/blocks/ExternalSource/types.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.d.ts +5 -6
- package/blocks/FileItem/FileItem.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.js +40 -42
- package/blocks/FileItem/file-item.css +90 -0
- package/blocks/Img/ImgBase.d.ts +3 -3
- package/blocks/Img/ImgBase.d.ts.map +1 -1
- package/blocks/Img/ImgConfig.d.ts.map +1 -1
- package/blocks/Img/configurations.d.ts.map +1 -1
- package/blocks/Modal/Modal.d.ts +21 -2
- package/blocks/Modal/Modal.d.ts.map +1 -1
- package/blocks/Modal/Modal.js +52 -24
- package/blocks/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/blocks/ProgressBar/ProgressBar.js +1 -0
- package/blocks/ProgressBar/progress-bar.css +1 -0
- package/blocks/Range/Range.d.ts.map +1 -1
- package/blocks/SimpleBtn/SimpleBtn.d.ts +2 -2
- package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -1
- package/blocks/SimpleBtn/SimpleBtn.js +1 -1
- package/blocks/SourceBtn/SourceBtn.d.ts +2 -2
- package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
- package/blocks/SourceBtn/SourceBtn.js +29 -3
- package/blocks/SourceList/SourceList.d.ts.map +1 -1
- package/blocks/SourceList/SourceList.js +20 -0
- package/blocks/Spinner/Spinner.d.ts.map +1 -1
- package/blocks/StartFrom/StartFrom.js +1 -1
- package/blocks/Thumb/Thumb.d.ts +48 -0
- package/blocks/Thumb/Thumb.d.ts.map +1 -0
- package/blocks/Thumb/Thumb.js +169 -0
- package/blocks/Thumb/thumb.css +4 -0
- package/blocks/UploadCtxProvider/EventEmitter.d.ts +20 -20
- package/blocks/UploadCtxProvider/EventEmitter.d.ts.map +1 -1
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +4 -4
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +1 -1
- package/blocks/UploadList/UploadList.d.ts +4 -2
- package/blocks/UploadList/UploadList.d.ts.map +1 -1
- package/blocks/UploadList/UploadList.js +16 -1
- package/blocks/UploadList/upload-list.css +23 -0
- package/blocks/UrlSource/UrlSource.d.ts.map +1 -1
- package/blocks/UrlSource/UrlSource.js +1 -0
- package/blocks/svg-backgrounds/svg-backgrounds.d.ts +3 -3
- package/blocks/svg-backgrounds/svg-backgrounds.d.ts.map +1 -1
- package/blocks/themes/uc-basic/common.css +1 -1
- package/blocks/themes/uc-basic/index.css +1 -0
- package/blocks/themes/uc-basic/svg-sprite.d.ts +1 -1
- package/blocks/themes/uc-basic/svg-sprite.d.ts.map +1 -1
- package/blocks/themes/uc-basic/svg-sprite.js +1 -1
- package/blocks/themes/uc-basic/theme.css +12 -0
- package/blocks/utils/UploadSource.d.ts +6 -0
- package/blocks/utils/UploadSource.d.ts.map +1 -1
- package/blocks/utils/UploadSource.js +7 -0
- package/blocks/utils/debounce.d.ts +3 -1
- package/blocks/utils/debounce.d.ts.map +1 -1
- package/blocks/utils/resizeImage.d.ts +1 -1
- package/blocks/utils/resizeImage.d.ts.map +1 -1
- package/blocks/utils/supportCapture.d.ts +2 -0
- package/blocks/utils/supportCapture.d.ts.map +1 -0
- package/blocks/utils/supportCapture.js +3 -0
- package/blocks/utils/throttle.d.ts +3 -1
- package/blocks/utils/throttle.d.ts.map +1 -1
- package/blocks/utils/userAgent.d.ts +1 -1
- package/blocks/utils/userAgent.d.ts.map +1 -1
- package/env.d.ts +1 -1
- package/env.d.ts.map +1 -1
- package/env.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.ssr.d.ts +88 -1
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +119 -10
- package/locales/file-uploader/ar.d.ts +2 -0
- package/locales/file-uploader/ar.js +2 -0
- package/locales/file-uploader/az.d.ts +2 -0
- package/locales/file-uploader/az.js +2 -0
- package/locales/file-uploader/ca.d.ts +2 -0
- package/locales/file-uploader/ca.js +2 -0
- package/locales/file-uploader/cs.d.ts +2 -0
- package/locales/file-uploader/cs.js +2 -0
- package/locales/file-uploader/da.d.ts +2 -0
- package/locales/file-uploader/da.js +2 -0
- package/locales/file-uploader/de.d.ts +2 -0
- package/locales/file-uploader/de.js +2 -0
- package/locales/file-uploader/el.d.ts +2 -0
- package/locales/file-uploader/el.js +2 -0
- package/locales/file-uploader/en.d.ts +2 -0
- package/locales/file-uploader/en.js +2 -0
- package/locales/file-uploader/es.d.ts +2 -0
- package/locales/file-uploader/es.js +2 -0
- package/locales/file-uploader/et.d.ts +2 -0
- package/locales/file-uploader/et.js +2 -0
- package/locales/file-uploader/fi.d.ts +2 -0
- package/locales/file-uploader/fi.js +2 -0
- package/locales/file-uploader/fr.d.ts +2 -0
- package/locales/file-uploader/fr.js +2 -0
- package/locales/file-uploader/he.d.ts +2 -0
- package/locales/file-uploader/he.js +2 -0
- package/locales/file-uploader/hy.d.ts +2 -0
- package/locales/file-uploader/hy.js +2 -0
- package/locales/file-uploader/is.d.ts +2 -0
- package/locales/file-uploader/is.js +2 -0
- package/locales/file-uploader/it.d.ts +2 -0
- package/locales/file-uploader/it.js +2 -0
- package/locales/file-uploader/ja.d.ts +2 -0
- package/locales/file-uploader/ja.js +2 -0
- package/locales/file-uploader/ka.d.ts +2 -0
- package/locales/file-uploader/ka.js +2 -0
- package/locales/file-uploader/kk.d.ts +2 -0
- package/locales/file-uploader/kk.js +2 -0
- package/locales/file-uploader/ko.d.ts +2 -0
- package/locales/file-uploader/ko.js +2 -0
- package/locales/file-uploader/lv.d.ts +2 -0
- package/locales/file-uploader/lv.js +2 -0
- package/locales/file-uploader/nb.d.ts +2 -0
- package/locales/file-uploader/nb.js +2 -0
- package/locales/file-uploader/nl.d.ts +2 -0
- package/locales/file-uploader/nl.js +2 -0
- package/locales/file-uploader/pl.d.ts +2 -0
- package/locales/file-uploader/pl.js +2 -0
- package/locales/file-uploader/pt.d.ts +2 -0
- package/locales/file-uploader/pt.js +2 -0
- package/locales/file-uploader/ro.d.ts +2 -0
- package/locales/file-uploader/ro.js +2 -0
- package/locales/file-uploader/ru.d.ts +2 -0
- package/locales/file-uploader/ru.js +2 -0
- package/locales/file-uploader/sk.d.ts +2 -0
- package/locales/file-uploader/sk.js +2 -0
- package/locales/file-uploader/sr.d.ts +2 -0
- package/locales/file-uploader/sr.js +2 -0
- package/locales/file-uploader/sv.d.ts +2 -0
- package/locales/file-uploader/sv.js +2 -0
- package/locales/file-uploader/tr.d.ts +2 -0
- package/locales/file-uploader/tr.js +2 -0
- package/locales/file-uploader/uk.d.ts +2 -0
- package/locales/file-uploader/uk.js +2 -0
- package/locales/file-uploader/vi.d.ts +2 -0
- package/locales/file-uploader/vi.js +2 -0
- package/locales/file-uploader/zh-TW.d.ts +2 -0
- package/locales/file-uploader/zh-TW.js +2 -0
- package/locales/file-uploader/zh.d.ts +2 -0
- package/locales/file-uploader/zh.js +2 -0
- package/package.json +4 -2
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts +2 -2
- package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +35 -0
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.js +122 -9
- package/solutions/file-uploader/minimal/index.css +25 -24
- package/solutions/file-uploader/minimal/index.d.ts +1 -13
- package/solutions/file-uploader/minimal/index.js +1 -13
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +3 -5
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
- package/solutions/file-uploader/regular/FileUploaderRegular.js +17 -16
- package/types/exported.d.ts +7 -0
- package/utils/cdn-utils.d.ts +3 -3
- package/utils/cdn-utils.d.ts.map +1 -1
- package/utils/fileTypes.d.ts +1 -1
- package/utils/fileTypes.d.ts.map +1 -1
- package/utils/getPluralForm.d.ts.map +1 -1
- package/utils/isSecureTokenExpired.d.ts +1 -1
- package/utils/memoize.d.ts.map +1 -1
- package/utils/mixinClass.d.ts +3 -1
- package/utils/mixinClass.d.ts.map +1 -1
- package/utils/prettyBytes.d.ts.map +1 -1
- package/utils/template-utils.d.ts +1 -1
- package/utils/template-utils.d.ts.map +1 -1
- package/utils/toKebabCase.d.ts.map +1 -1
- package/utils/transparentPixelSrc.d.ts.map +1 -1
- package/utils/uniqueArray.d.ts.map +1 -1
- package/utils/validators/collection/validateCollectionUploadError.d.ts +1 -1
- package/utils/validators/collection/validateMultiple.d.ts +1 -1
- package/utils/validators/file/validateFileType.d.ts +1 -1
- package/utils/validators/file/validateIsImage.d.ts +1 -1
- package/utils/validators/file/validateMaxSizeLimit.d.ts +1 -1
- package/utils/validators/file/validateUploadError.d.ts +1 -1
- package/utils/waitForAttribute.d.ts +1 -1
- package/utils/waitForAttribute.d.ts.map +1 -1
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +4 -4
- package/web/uc-basic.min.css +1 -1
- package/web/uc-cloud-image-editor.min.css +1 -1
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.css +1 -1
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.css +1 -1
- package/web/uc-file-uploader-minimal.min.js +4 -3
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +2 -2
package/env.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { ActivityHeader } from "./blocks/ActivityHeader/ActivityHeader.js";
|
|
|
28
28
|
export { Select } from "./blocks/Select/Select.js";
|
|
29
29
|
export { Copyright } from "./blocks/Copyright/Copyright.js";
|
|
30
30
|
export { Spinner } from "./blocks/Spinner/Spinner.js";
|
|
31
|
+
export { Thumb } from "./blocks/Thumb/Thumb.js";
|
|
31
32
|
export { FileUploaderRegular } from "./solutions/file-uploader/regular/FileUploaderRegular.js";
|
|
32
33
|
export { FileUploaderMinimal } from "./solutions/file-uploader/minimal/FileUploaderMinimal.js";
|
|
33
34
|
export { FileUploaderInline } from "./solutions/file-uploader/inline/FileUploaderInline.js";
|
|
@@ -36,6 +37,7 @@ export { defineComponents } from "./abstract/defineComponents.js";
|
|
|
36
37
|
export { defineLocale } from "./abstract/localeRegistry.js";
|
|
37
38
|
export { loadFileUploaderFrom } from "./abstract/loadFileUploaderFrom.js";
|
|
38
39
|
export { toKebabCase } from "./utils/toKebabCase.js";
|
|
40
|
+
export { ModalEvents } from "./abstract/ModalManager.js";
|
|
39
41
|
export { BaseComponent, Data, UID } from "@symbiotejs/symbiote";
|
|
40
42
|
export { UploadSource, ExternalUploadSource } from "./blocks/utils/UploadSource.js";
|
|
41
43
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export { ActivityHeader } from './blocks/ActivityHeader/ActivityHeader.js';
|
|
|
33
33
|
export { Select } from './blocks/Select/Select.js';
|
|
34
34
|
export { Copyright } from './blocks/Copyright/Copyright.js';
|
|
35
35
|
export { Spinner } from './blocks/Spinner/Spinner.js';
|
|
36
|
+
export { Thumb } from './blocks/Thumb/Thumb.js';
|
|
36
37
|
|
|
37
38
|
// Solutions:
|
|
38
39
|
export { FileUploaderRegular } from './solutions/file-uploader/regular/FileUploaderRegular.js';
|
|
@@ -46,6 +47,7 @@ export { defineLocale } from './abstract/localeRegistry.js';
|
|
|
46
47
|
export { loadFileUploaderFrom } from './abstract/loadFileUploaderFrom.js';
|
|
47
48
|
export { toKebabCase } from './utils/toKebabCase.js';
|
|
48
49
|
export { UploadSource, ExternalUploadSource } from './blocks/utils/UploadSource.js';
|
|
50
|
+
export { ModalEvents } from './abstract/ModalManager.js';
|
|
49
51
|
|
|
50
52
|
export * from './env.js';
|
|
51
53
|
|
package/index.ssr.d.ts
CHANGED
|
@@ -75,6 +75,8 @@ export const CameraSource: {
|
|
|
75
75
|
API: string;
|
|
76
76
|
URL: string;
|
|
77
77
|
DRAW: string;
|
|
78
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
79
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
78
80
|
FACEBOOK: string;
|
|
79
81
|
DROPBOX: string;
|
|
80
82
|
GDRIVE: string;
|
|
@@ -131,6 +133,8 @@ export const CloudImageEditorActivity: {
|
|
|
131
133
|
API: string;
|
|
132
134
|
URL: string;
|
|
133
135
|
DRAW: string;
|
|
136
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
137
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
134
138
|
FACEBOOK: string;
|
|
135
139
|
DROPBOX: string;
|
|
136
140
|
GDRIVE: string;
|
|
@@ -231,6 +235,8 @@ export const DropArea: {
|
|
|
231
235
|
API: string;
|
|
232
236
|
URL: string;
|
|
233
237
|
DRAW: string;
|
|
238
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
239
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
234
240
|
FACEBOOK: string;
|
|
235
241
|
DROPBOX: string;
|
|
236
242
|
GDRIVE: string;
|
|
@@ -341,6 +347,8 @@ export const ExternalSource: {
|
|
|
341
347
|
API: string;
|
|
342
348
|
URL: string;
|
|
343
349
|
DRAW: string;
|
|
350
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
351
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
344
352
|
FACEBOOK: string;
|
|
345
353
|
DROPBOX: string;
|
|
346
354
|
GDRIVE: string;
|
|
@@ -402,6 +410,8 @@ export const FileItem: {
|
|
|
402
410
|
API: string;
|
|
403
411
|
URL: string;
|
|
404
412
|
DRAW: string;
|
|
413
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
414
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
405
415
|
FACEBOOK: string;
|
|
406
416
|
DROPBOX: string;
|
|
407
417
|
GDRIVE: string;
|
|
@@ -471,6 +481,8 @@ export const FormInput: {
|
|
|
471
481
|
API: string;
|
|
472
482
|
URL: string;
|
|
473
483
|
DRAW: string;
|
|
484
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
485
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
474
486
|
FACEBOOK: string;
|
|
475
487
|
DROPBOX: string;
|
|
476
488
|
GDRIVE: string;
|
|
@@ -529,8 +541,16 @@ export const Modal: {
|
|
|
529
541
|
is: string;
|
|
530
542
|
bindAttributes: () => void;
|
|
531
543
|
};
|
|
544
|
+
export namespace ModalEvents {
|
|
545
|
+
let ADD: string;
|
|
546
|
+
let DELETE: string;
|
|
547
|
+
let OPEN: string;
|
|
548
|
+
let CLOSE: string;
|
|
549
|
+
let CLOSE_ALL: string;
|
|
550
|
+
let DESTROY: string;
|
|
551
|
+
}
|
|
532
552
|
export const PACKAGE_NAME: "blocks";
|
|
533
|
-
export const PACKAGE_VERSION: "1.
|
|
553
|
+
export const PACKAGE_VERSION: "1.14.0";
|
|
534
554
|
export const PresenceToggle: {
|
|
535
555
|
new (): {};
|
|
536
556
|
template: string;
|
|
@@ -570,6 +590,8 @@ export const ProgressBarCommon: {
|
|
|
570
590
|
API: string;
|
|
571
591
|
URL: string;
|
|
572
592
|
DRAW: string;
|
|
593
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
594
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
573
595
|
FACEBOOK: string;
|
|
574
596
|
DROPBOX: string;
|
|
575
597
|
GDRIVE: string;
|
|
@@ -628,6 +650,8 @@ export const SimpleBtn: {
|
|
|
628
650
|
API: string;
|
|
629
651
|
URL: string;
|
|
630
652
|
DRAW: string;
|
|
653
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
654
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
631
655
|
FACEBOOK: string;
|
|
632
656
|
DROPBOX: string;
|
|
633
657
|
GDRIVE: string;
|
|
@@ -691,6 +715,8 @@ export const SourceBtn: {
|
|
|
691
715
|
API: string;
|
|
692
716
|
URL: string;
|
|
693
717
|
DRAW: string;
|
|
718
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
719
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
694
720
|
FACEBOOK: string;
|
|
695
721
|
DROPBOX: string;
|
|
696
722
|
GDRIVE: string;
|
|
@@ -747,6 +773,57 @@ export const StartFrom: {
|
|
|
747
773
|
is: string;
|
|
748
774
|
bindAttributes: () => void;
|
|
749
775
|
};
|
|
776
|
+
export const Thumb: {
|
|
777
|
+
new (): {};
|
|
778
|
+
template: string;
|
|
779
|
+
observedAttributes: string[];
|
|
780
|
+
extSrcList: {
|
|
781
|
+
FACEBOOK: string;
|
|
782
|
+
DROPBOX: string;
|
|
783
|
+
GDRIVE: string;
|
|
784
|
+
GPHOTOS: string;
|
|
785
|
+
FLICKR: string;
|
|
786
|
+
VK: string;
|
|
787
|
+
EVERNOTE: string;
|
|
788
|
+
BOX: string;
|
|
789
|
+
ONEDRIVE: string;
|
|
790
|
+
HUDDLE: string;
|
|
791
|
+
};
|
|
792
|
+
sourceTypes: {
|
|
793
|
+
LOCAL: string;
|
|
794
|
+
DROP_AREA: string;
|
|
795
|
+
CAMERA: string;
|
|
796
|
+
EXTERNAL: string;
|
|
797
|
+
API: string;
|
|
798
|
+
URL: string;
|
|
799
|
+
DRAW: string;
|
|
800
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
801
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
802
|
+
FACEBOOK: string;
|
|
803
|
+
DROPBOX: string;
|
|
804
|
+
GDRIVE: string;
|
|
805
|
+
GPHOTOS: string;
|
|
806
|
+
FLICKR: string;
|
|
807
|
+
VK: string;
|
|
808
|
+
EVERNOTE: string;
|
|
809
|
+
BOX: string;
|
|
810
|
+
ONEDRIVE: string;
|
|
811
|
+
HUDDLE: string;
|
|
812
|
+
};
|
|
813
|
+
activities: {
|
|
814
|
+
START_FROM: string;
|
|
815
|
+
CAMERA: string;
|
|
816
|
+
DRAW: string;
|
|
817
|
+
UPLOAD_LIST: string;
|
|
818
|
+
URL: string;
|
|
819
|
+
CLOUD_IMG_EDIT: string;
|
|
820
|
+
EXTERNAL: string;
|
|
821
|
+
};
|
|
822
|
+
reg: () => void;
|
|
823
|
+
styleAttrs: any[];
|
|
824
|
+
is: string;
|
|
825
|
+
bindAttributes: () => void;
|
|
826
|
+
};
|
|
750
827
|
export const UID: {
|
|
751
828
|
new (): {};
|
|
752
829
|
generate: () => void;
|
|
@@ -802,6 +879,8 @@ export const UploadCtxProvider: {
|
|
|
802
879
|
API: string;
|
|
803
880
|
URL: string;
|
|
804
881
|
DRAW: string;
|
|
882
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
883
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
805
884
|
FACEBOOK: string;
|
|
806
885
|
DROPBOX: string;
|
|
807
886
|
GDRIVE: string;
|
|
@@ -850,6 +929,8 @@ export const UploadList: {
|
|
|
850
929
|
API: string;
|
|
851
930
|
URL: string;
|
|
852
931
|
DRAW: string;
|
|
932
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
933
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
853
934
|
FACEBOOK: string;
|
|
854
935
|
DROPBOX: string;
|
|
855
936
|
GDRIVE: string;
|
|
@@ -883,6 +964,8 @@ export namespace UploadSource {
|
|
|
883
964
|
export let API: string;
|
|
884
965
|
export let URL: string;
|
|
885
966
|
export let DRAW: string;
|
|
967
|
+
export let MOBILE_VIDEO_CAMERA: string;
|
|
968
|
+
export let MOBILE_PHOTO_CAMERA: string;
|
|
886
969
|
let FACEBOOK_1: string;
|
|
887
970
|
export { FACEBOOK_1 as FACEBOOK };
|
|
888
971
|
let DROPBOX_1: string;
|
|
@@ -926,6 +1009,8 @@ export const UploaderBlock: {
|
|
|
926
1009
|
API: string;
|
|
927
1010
|
URL: string;
|
|
928
1011
|
DRAW: string;
|
|
1012
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
1013
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
929
1014
|
FACEBOOK: string;
|
|
930
1015
|
DROPBOX: string;
|
|
931
1016
|
GDRIVE: string;
|
|
@@ -974,6 +1059,8 @@ export const UrlSource: {
|
|
|
974
1059
|
API: string;
|
|
975
1060
|
URL: string;
|
|
976
1061
|
DRAW: string;
|
|
1062
|
+
MOBILE_VIDEO_CAMERA: string;
|
|
1063
|
+
MOBILE_PHOTO_CAMERA: string;
|
|
977
1064
|
FACEBOOK: string;
|
|
978
1065
|
DROPBOX: string;
|
|
979
1066
|
GDRIVE: string;
|
package/index.ssr.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;EAcE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAgBE;AACF
|
|
1
|
+
{"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;EAcE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAgBE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4IE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAuCE;AACF;;;;;;;EA4GE;AACF;;;;;;;EAaE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEE;AACF;;;;;;;EAWE;AACF;;;;;;;EAWE;AACF;;;;;;;EASE;AACF;;;;;;EAKE;AACF;;;;;;;EAWE;AACF;;;;;;;EAME;AACF;;;;;;;EAWE;AACF;;;;;;;EA2IE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EE;;;;;;;;;;;;;AAaF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAWE;AACF;;;;;;EAwBE;AACF;;;;;;;EAUE;AACF;;;;;;;;EAWE;;;;;;;;;AASF,oCAAqC;AACrC,uCAAwC;AACxC;;;;;;;EAME;AACF;;;;;;;EASE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DE;AACF;;;;;;;EAeE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDE;AACF;;;;;;;;;;;;EAWE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuGE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EE;AACK,yCAAiC;AACjC,qCAA6B;AAC7B,6CAAqC;AACrC,oCAA4B"}
|
package/index.ssr.js
CHANGED
|
@@ -170,6 +170,8 @@ export const CameraSource = class {
|
|
|
170
170
|
API: "js-api",
|
|
171
171
|
URL: "url",
|
|
172
172
|
DRAW: "draw",
|
|
173
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
174
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
173
175
|
FACEBOOK: "facebook",
|
|
174
176
|
DROPBOX: "dropbox",
|
|
175
177
|
GDRIVE: "gdrive",
|
|
@@ -256,6 +258,8 @@ export const CloudImageEditorActivity = class {
|
|
|
256
258
|
API: "js-api",
|
|
257
259
|
URL: "url",
|
|
258
260
|
DRAW: "draw",
|
|
261
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
262
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
259
263
|
FACEBOOK: "facebook",
|
|
260
264
|
DROPBOX: "dropbox",
|
|
261
265
|
GDRIVE: "gdrive",
|
|
@@ -373,6 +377,9 @@ export const Config = class {
|
|
|
373
377
|
"enable-audio-recording",
|
|
374
378
|
"enable-video-recording",
|
|
375
379
|
"max-video-recording-duration",
|
|
380
|
+
"files-view-mode",
|
|
381
|
+
"grid-show-file-names",
|
|
382
|
+
"cloud-image-editor-auto-open",
|
|
376
383
|
"multiplemin",
|
|
377
384
|
"multiplemax",
|
|
378
385
|
"confirmupload",
|
|
@@ -418,6 +425,9 @@ export const Config = class {
|
|
|
418
425
|
"enableaudiorecording",
|
|
419
426
|
"enablevideorecording",
|
|
420
427
|
"maxvideorecordingduration",
|
|
428
|
+
"filesviewmode",
|
|
429
|
+
"gridshowfilenames",
|
|
430
|
+
"cloudimageeditorautoopen",
|
|
421
431
|
];
|
|
422
432
|
static reg = () => {};
|
|
423
433
|
static styleAttrs = [];
|
|
@@ -481,6 +491,7 @@ export const DropArea = class {
|
|
|
481
491
|
"text",
|
|
482
492
|
"fullscreen",
|
|
483
493
|
"disabled",
|
|
494
|
+
"initflow",
|
|
484
495
|
];
|
|
485
496
|
static extSrcList = {
|
|
486
497
|
FACEBOOK: "facebook",
|
|
@@ -502,6 +513,8 @@ export const DropArea = class {
|
|
|
502
513
|
API: "js-api",
|
|
503
514
|
URL: "url",
|
|
504
515
|
DRAW: "draw",
|
|
516
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
517
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
505
518
|
FACEBOOK: "facebook",
|
|
506
519
|
DROPBOX: "dropbox",
|
|
507
520
|
GDRIVE: "gdrive",
|
|
@@ -785,6 +798,8 @@ export const ExternalSource = class {
|
|
|
785
798
|
API: "js-api",
|
|
786
799
|
URL: "url",
|
|
787
800
|
DRAW: "draw",
|
|
801
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
802
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
788
803
|
FACEBOOK: "facebook",
|
|
789
804
|
DROPBOX: "dropbox",
|
|
790
805
|
GDRIVE: "gdrive",
|
|
@@ -825,14 +840,11 @@ export const ExternalUploadSource = {
|
|
|
825
840
|
export const FileItem = class {
|
|
826
841
|
static template = `
|
|
827
842
|
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
828
|
-
<
|
|
829
|
-
|
|
830
|
-
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
831
|
-
</div>
|
|
832
|
-
</div>
|
|
843
|
+
<uc-thumb set="uid:uid;badgeIcon:badgeIcon"></uc-thumb>
|
|
844
|
+
|
|
833
845
|
<div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
|
|
834
|
-
<span class="uc-file-name">{{itemName}}</span>
|
|
835
|
-
<span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
|
|
846
|
+
<span class="uc-file-name" set="@hidden: !showFileNames">{{itemName}}</span>
|
|
847
|
+
<span class="uc-file-error" set="@hidden: !errorText;">{{errorText}}</span>
|
|
836
848
|
<span class="uc-file-hint" set="@hidden: !hint">{{hint}}</span>
|
|
837
849
|
</div>
|
|
838
850
|
<div class="uc-file-actions">
|
|
@@ -856,7 +868,11 @@ export const FileItem = class {
|
|
|
856
868
|
<uc-icon name="upload"></uc-icon>
|
|
857
869
|
</button>
|
|
858
870
|
</div>
|
|
859
|
-
<uc-progress-bar
|
|
871
|
+
<uc-progress-bar
|
|
872
|
+
class="uc-progress-bar"
|
|
873
|
+
set="value: progressValue; visible: progressVisible; @hasFileName: showFileNames"
|
|
874
|
+
>
|
|
875
|
+
</uc-progress-bar>
|
|
860
876
|
</div>
|
|
861
877
|
`;
|
|
862
878
|
static activeInstances = {};
|
|
@@ -880,6 +896,8 @@ export const FileItem = class {
|
|
|
880
896
|
API: "js-api",
|
|
881
897
|
URL: "url",
|
|
882
898
|
DRAW: "draw",
|
|
899
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
900
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
883
901
|
FACEBOOK: "facebook",
|
|
884
902
|
DROPBOX: "dropbox",
|
|
885
903
|
GDRIVE: "gdrive",
|
|
@@ -945,6 +963,8 @@ export const FormInput = class {
|
|
|
945
963
|
API: "js-api",
|
|
946
964
|
URL: "url",
|
|
947
965
|
DRAW: "draw",
|
|
966
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
967
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
948
968
|
FACEBOOK: "facebook",
|
|
949
969
|
DROPBOX: "dropbox",
|
|
950
970
|
GDRIVE: "gdrive",
|
|
@@ -1030,8 +1050,16 @@ export const Modal = class {
|
|
|
1030
1050
|
static is = `sym-1`;
|
|
1031
1051
|
static bindAttributes = () => {};
|
|
1032
1052
|
};
|
|
1053
|
+
export const ModalEvents = {
|
|
1054
|
+
ADD: "modal:add",
|
|
1055
|
+
DELETE: "modal:delete",
|
|
1056
|
+
OPEN: "modal:open",
|
|
1057
|
+
CLOSE: "modal:close",
|
|
1058
|
+
CLOSE_ALL: "modal:closeAll",
|
|
1059
|
+
DESTROY: "modal:destroy",
|
|
1060
|
+
};
|
|
1033
1061
|
export const PACKAGE_NAME = `blocks`;
|
|
1034
|
-
export const PACKAGE_VERSION = `1.
|
|
1062
|
+
export const PACKAGE_VERSION = `1.14.0`;
|
|
1035
1063
|
export const PresenceToggle = class {
|
|
1036
1064
|
static template = `<slot></slot> `;
|
|
1037
1065
|
static reg = () => {};
|
|
@@ -1071,6 +1099,8 @@ export const ProgressBarCommon = class {
|
|
|
1071
1099
|
API: "js-api",
|
|
1072
1100
|
URL: "url",
|
|
1073
1101
|
DRAW: "draw",
|
|
1102
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1103
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1074
1104
|
FACEBOOK: "facebook",
|
|
1075
1105
|
DROPBOX: "dropbox",
|
|
1076
1106
|
GDRIVE: "gdrive",
|
|
@@ -1136,6 +1166,8 @@ export const SimpleBtn = class {
|
|
|
1136
1166
|
API: "js-api",
|
|
1137
1167
|
URL: "url",
|
|
1138
1168
|
DRAW: "draw",
|
|
1169
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1170
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1139
1171
|
FACEBOOK: "facebook",
|
|
1140
1172
|
DROPBOX: "dropbox",
|
|
1141
1173
|
GDRIVE: "gdrive",
|
|
@@ -1210,6 +1242,8 @@ export const SourceBtn = class {
|
|
|
1210
1242
|
API: "js-api",
|
|
1211
1243
|
URL: "url",
|
|
1212
1244
|
DRAW: "draw",
|
|
1245
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1246
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1213
1247
|
FACEBOOK: "facebook",
|
|
1214
1248
|
DROPBOX: "dropbox",
|
|
1215
1249
|
GDRIVE: "gdrive",
|
|
@@ -1263,6 +1297,62 @@ export const StartFrom = class {
|
|
|
1263
1297
|
static is = `sym-1`;
|
|
1264
1298
|
static bindAttributes = () => {};
|
|
1265
1299
|
};
|
|
1300
|
+
export const Thumb = class {
|
|
1301
|
+
static template = `
|
|
1302
|
+
<div class="uc-thumb" set="style.backgroundImage: thumbUrl">
|
|
1303
|
+
<div class="uc-badge">
|
|
1304
|
+
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
1305
|
+
</div>
|
|
1306
|
+
</div>
|
|
1307
|
+
`;
|
|
1308
|
+
static observedAttributes = ["badgeIcon", "uid"];
|
|
1309
|
+
static extSrcList = {
|
|
1310
|
+
FACEBOOK: "facebook",
|
|
1311
|
+
DROPBOX: "dropbox",
|
|
1312
|
+
GDRIVE: "gdrive",
|
|
1313
|
+
GPHOTOS: "gphotos",
|
|
1314
|
+
FLICKR: "flickr",
|
|
1315
|
+
VK: "vk",
|
|
1316
|
+
EVERNOTE: "evernote",
|
|
1317
|
+
BOX: "box",
|
|
1318
|
+
ONEDRIVE: "onedrive",
|
|
1319
|
+
HUDDLE: "huddle",
|
|
1320
|
+
};
|
|
1321
|
+
static sourceTypes = {
|
|
1322
|
+
LOCAL: "local",
|
|
1323
|
+
DROP_AREA: "drop-area",
|
|
1324
|
+
CAMERA: "camera",
|
|
1325
|
+
EXTERNAL: "external",
|
|
1326
|
+
API: "js-api",
|
|
1327
|
+
URL: "url",
|
|
1328
|
+
DRAW: "draw",
|
|
1329
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1330
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1331
|
+
FACEBOOK: "facebook",
|
|
1332
|
+
DROPBOX: "dropbox",
|
|
1333
|
+
GDRIVE: "gdrive",
|
|
1334
|
+
GPHOTOS: "gphotos",
|
|
1335
|
+
FLICKR: "flickr",
|
|
1336
|
+
VK: "vk",
|
|
1337
|
+
EVERNOTE: "evernote",
|
|
1338
|
+
BOX: "box",
|
|
1339
|
+
ONEDRIVE: "onedrive",
|
|
1340
|
+
HUDDLE: "huddle",
|
|
1341
|
+
};
|
|
1342
|
+
static activities = {
|
|
1343
|
+
START_FROM: "start-from",
|
|
1344
|
+
CAMERA: "camera",
|
|
1345
|
+
DRAW: "draw",
|
|
1346
|
+
UPLOAD_LIST: "upload-list",
|
|
1347
|
+
URL: "url",
|
|
1348
|
+
CLOUD_IMG_EDIT: "cloud-image-edit",
|
|
1349
|
+
EXTERNAL: "external",
|
|
1350
|
+
};
|
|
1351
|
+
static reg = () => {};
|
|
1352
|
+
static styleAttrs = [];
|
|
1353
|
+
static is = `sym-1`;
|
|
1354
|
+
static bindAttributes = () => {};
|
|
1355
|
+
};
|
|
1266
1356
|
export const UID = class {
|
|
1267
1357
|
static generate = () => {};
|
|
1268
1358
|
static apply = () => {};
|
|
@@ -1316,6 +1406,8 @@ export const UploadCtxProvider = class {
|
|
|
1316
1406
|
API: "js-api",
|
|
1317
1407
|
URL: "url",
|
|
1318
1408
|
DRAW: "draw",
|
|
1409
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1410
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1319
1411
|
FACEBOOK: "facebook",
|
|
1320
1412
|
DROPBOX: "dropbox",
|
|
1321
1413
|
GDRIVE: "gdrive",
|
|
@@ -1359,7 +1451,16 @@ export const UploadList = class {
|
|
|
1359
1451
|
<slot name="empty"><span l10n="no-files"></span></slot>
|
|
1360
1452
|
</div>
|
|
1361
1453
|
|
|
1362
|
-
<div class="uc-files"
|
|
1454
|
+
<div class="uc-files">
|
|
1455
|
+
<div class="uc-files-wrapper" repeat="*uploadList" repeat-item-tag="uc-file-item"></div>
|
|
1456
|
+
<button
|
|
1457
|
+
type="button"
|
|
1458
|
+
class="uc-add-more-btn uc-secondary-btn"
|
|
1459
|
+
set="onclick: onAdd; @disabled: !addMoreBtnEnabled; @hidden: !addMoreBtnVisible"
|
|
1460
|
+
>
|
|
1461
|
+
<uc-icon name="add"></uc-icon><span l10n="add-more"></span>
|
|
1462
|
+
</button>
|
|
1463
|
+
</div>
|
|
1363
1464
|
|
|
1364
1465
|
<div class="uc-common-error" set="@hidden: !commonErrorMessage; textContent: commonErrorMessage;"></div>
|
|
1365
1466
|
|
|
@@ -1409,6 +1510,8 @@ export const UploadList = class {
|
|
|
1409
1510
|
API: "js-api",
|
|
1410
1511
|
URL: "url",
|
|
1411
1512
|
DRAW: "draw",
|
|
1513
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1514
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1412
1515
|
FACEBOOK: "facebook",
|
|
1413
1516
|
DROPBOX: "dropbox",
|
|
1414
1517
|
GDRIVE: "gdrive",
|
|
@@ -1442,6 +1545,8 @@ export const UploadSource = {
|
|
|
1442
1545
|
API: "js-api",
|
|
1443
1546
|
URL: "url",
|
|
1444
1547
|
DRAW: "draw",
|
|
1548
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1549
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1445
1550
|
FACEBOOK: "facebook",
|
|
1446
1551
|
DROPBOX: "dropbox",
|
|
1447
1552
|
GDRIVE: "gdrive",
|
|
@@ -1474,6 +1579,8 @@ export const UploaderBlock = class {
|
|
|
1474
1579
|
API: "js-api",
|
|
1475
1580
|
URL: "url",
|
|
1476
1581
|
DRAW: "draw",
|
|
1582
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1583
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1477
1584
|
FACEBOOK: "facebook",
|
|
1478
1585
|
DROPBOX: "dropbox",
|
|
1479
1586
|
GDRIVE: "gdrive",
|
|
@@ -1548,6 +1655,8 @@ export const UrlSource = class {
|
|
|
1548
1655
|
API: "js-api",
|
|
1549
1656
|
URL: "url",
|
|
1550
1657
|
DRAW: "draw",
|
|
1658
|
+
MOBILE_VIDEO_CAMERA: "mobile-video-camera",
|
|
1659
|
+
MOBILE_PHOTO_CAMERA: "mobile-photo-camera",
|
|
1551
1660
|
FACEBOOK: "facebook",
|
|
1552
1661
|
DROPBOX: "dropbox",
|
|
1553
1662
|
GDRIVE: "gdrive",
|
|
@@ -65,6 +65,8 @@ declare const _default: {
|
|
|
65
65
|
'src-type-onedrive': string;
|
|
66
66
|
'src-type-huddle': string;
|
|
67
67
|
'src-type-other': string;
|
|
68
|
+
'src-type-mobile-video-camera': string;
|
|
69
|
+
'src-type-mobile-photo-camera': string;
|
|
68
70
|
'caption-from-url': string;
|
|
69
71
|
'caption-camera': string;
|
|
70
72
|
'caption-draw': string;
|
|
@@ -65,6 +65,8 @@ export default {
|
|
|
65
65
|
'src-type-onedrive': 'Onedrive',
|
|
66
66
|
'src-type-huddle': 'Huddle',
|
|
67
67
|
'src-type-other': 'أخرى',
|
|
68
|
+
'src-type-mobile-video-camera': 'فيديو',
|
|
69
|
+
'src-type-mobile-photo-camera': 'صورة',
|
|
68
70
|
'caption-from-url': 'استيراد من رابط',
|
|
69
71
|
'caption-camera': 'كاميرا',
|
|
70
72
|
'caption-draw': 'رسم',
|
|
@@ -57,6 +57,8 @@ declare const _default: {
|
|
|
57
57
|
'src-type-onedrive': string;
|
|
58
58
|
'src-type-huddle': string;
|
|
59
59
|
'src-type-other': string;
|
|
60
|
+
'src-type-mobile-video-camera': string;
|
|
61
|
+
'src-type-mobile-photo-camera': string;
|
|
60
62
|
'caption-from-url': string;
|
|
61
63
|
'caption-camera': string;
|
|
62
64
|
'caption-draw': string;
|
|
@@ -57,6 +57,8 @@ export default {
|
|
|
57
57
|
'src-type-onedrive': 'Onedrive',
|
|
58
58
|
'src-type-huddle': 'Huddle',
|
|
59
59
|
'src-type-other': 'Digər',
|
|
60
|
+
'src-type-mobile-video-camera': 'Video',
|
|
61
|
+
'src-type-mobile-photo-camera': 'Foto',
|
|
60
62
|
'caption-from-url': 'Linkdən import et',
|
|
61
63
|
'caption-camera': 'Kamera',
|
|
62
64
|
'caption-draw': 'Çək',
|
|
@@ -59,6 +59,8 @@ declare const _default: {
|
|
|
59
59
|
'src-type-onedrive': string;
|
|
60
60
|
'src-type-huddle': string;
|
|
61
61
|
'src-type-other': string;
|
|
62
|
+
'src-type-mobile-video-camera': string;
|
|
63
|
+
'src-type-mobile-photo-camera': string;
|
|
62
64
|
'caption-from-url': string;
|
|
63
65
|
'caption-camera': string;
|
|
64
66
|
'caption-draw': string;
|
|
@@ -59,6 +59,8 @@ export default {
|
|
|
59
59
|
'src-type-onedrive': 'Onedrive',
|
|
60
60
|
'src-type-huddle': 'Huddle',
|
|
61
61
|
'src-type-other': 'Altres',
|
|
62
|
+
'src-type-mobile-video-camera': 'Vídeo',
|
|
63
|
+
'src-type-mobile-photo-camera': 'Foto',
|
|
62
64
|
'caption-from-url': "Importar des d'enllaç",
|
|
63
65
|
'caption-camera': 'Càmera',
|
|
64
66
|
'caption-draw': 'Dibuix',
|
|
@@ -61,6 +61,8 @@ declare const _default: {
|
|
|
61
61
|
'src-type-onedrive': string;
|
|
62
62
|
'src-type-huddle': string;
|
|
63
63
|
'src-type-other': string;
|
|
64
|
+
'src-type-mobile-video-camera': string;
|
|
65
|
+
'src-type-mobile-photo-camera': string;
|
|
64
66
|
'caption-from-url': string;
|
|
65
67
|
'caption-camera': string;
|
|
66
68
|
'caption-draw': string;
|
|
@@ -61,6 +61,8 @@ export default {
|
|
|
61
61
|
'src-type-onedrive': 'Onedrive',
|
|
62
62
|
'src-type-huddle': 'Huddle',
|
|
63
63
|
'src-type-other': 'Jiné',
|
|
64
|
+
'src-type-mobile-video-camera': 'Video',
|
|
65
|
+
'src-type-mobile-photo-camera': 'Foto',
|
|
64
66
|
'caption-from-url': 'Importovat z odkazu',
|
|
65
67
|
'caption-camera': 'Kamera',
|
|
66
68
|
'caption-draw': 'Kreslit',
|
|
@@ -57,6 +57,8 @@ declare const _default: {
|
|
|
57
57
|
'src-type-onedrive': string;
|
|
58
58
|
'src-type-huddle': string;
|
|
59
59
|
'src-type-other': string;
|
|
60
|
+
'src-type-mobile-video-camera': string;
|
|
61
|
+
'src-type-mobile-photo-camera': string;
|
|
60
62
|
'caption-from-url': string;
|
|
61
63
|
'caption-camera': string;
|
|
62
64
|
'caption-draw': string;
|
|
@@ -57,6 +57,8 @@ export default {
|
|
|
57
57
|
'src-type-onedrive': 'Onedrive',
|
|
58
58
|
'src-type-huddle': 'Huddle',
|
|
59
59
|
'src-type-other': 'Andet',
|
|
60
|
+
'src-type-mobile-video-camera': 'Video',
|
|
61
|
+
'src-type-mobile-photo-camera': 'Foto',
|
|
60
62
|
'caption-from-url': 'Importer fra link',
|
|
61
63
|
'caption-camera': 'Kamera',
|
|
62
64
|
'caption-draw': 'Tegn',
|
|
@@ -57,6 +57,8 @@ declare const _default: {
|
|
|
57
57
|
'src-type-onedrive': string;
|
|
58
58
|
'src-type-huddle': string;
|
|
59
59
|
'src-type-other': string;
|
|
60
|
+
'src-type-mobile-video-camera': string;
|
|
61
|
+
'src-type-mobile-photo-camera': string;
|
|
60
62
|
'caption-from-url': string;
|
|
61
63
|
'caption-camera': string;
|
|
62
64
|
'caption-draw': string;
|
|
@@ -57,6 +57,8 @@ export default {
|
|
|
57
57
|
'src-type-onedrive': 'Onedrive',
|
|
58
58
|
'src-type-huddle': 'Huddle',
|
|
59
59
|
'src-type-other': 'Andere',
|
|
60
|
+
'src-type-mobile-video-camera': 'Video',
|
|
61
|
+
'src-type-mobile-photo-camera': 'Foto',
|
|
60
62
|
'caption-from-url': 'Von Link importieren',
|
|
61
63
|
'caption-camera': 'Kamera',
|
|
62
64
|
'caption-draw': 'Zeichnen',
|
|
@@ -57,6 +57,8 @@ declare const _default: {
|
|
|
57
57
|
'src-type-onedrive': string;
|
|
58
58
|
'src-type-huddle': string;
|
|
59
59
|
'src-type-other': string;
|
|
60
|
+
'src-type-mobile-video-camera': string;
|
|
61
|
+
'src-type-mobile-photo-camera': string;
|
|
60
62
|
'caption-from-url': string;
|
|
61
63
|
'caption-camera': string;
|
|
62
64
|
'caption-draw': string;
|
|
@@ -57,6 +57,8 @@ export default {
|
|
|
57
57
|
'src-type-onedrive': 'Onedrive',
|
|
58
58
|
'src-type-huddle': 'Huddle',
|
|
59
59
|
'src-type-other': 'Άλλο',
|
|
60
|
+
'src-type-mobile-video-camera': 'Βίντεο',
|
|
61
|
+
'src-type-mobile-photo-camera': 'Φωτογραφία',
|
|
60
62
|
'caption-from-url': 'Εισαγωγή από σύνδεσμο',
|
|
61
63
|
'caption-camera': 'Κάμερα',
|
|
62
64
|
'caption-draw': 'Σχέδιο',
|
|
@@ -45,6 +45,8 @@ declare const _default: {
|
|
|
45
45
|
'src-type-local': string;
|
|
46
46
|
'src-type-from-url': string;
|
|
47
47
|
'src-type-camera': string;
|
|
48
|
+
'src-type-mobile-video-camera': string;
|
|
49
|
+
'src-type-mobile-photo-camera': string;
|
|
48
50
|
'src-type-draw': string;
|
|
49
51
|
'src-type-facebook': string;
|
|
50
52
|
'src-type-dropbox': string;
|