@uploadcare/file-uploader 1.6.0-alpha.0 → 1.7.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/abstract/UploaderBlock.d.ts +4 -1
- package/abstract/UploaderBlock.d.ts.map +1 -1
- package/abstract/UploaderBlock.js +11 -18
- package/blocks/CloudImageEditor/src/css/common.css +33 -9
- package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +1 -1
- package/blocks/DropArea/DropArea.js +1 -1
- package/blocks/DropArea/drop-area.css +22 -11
- package/blocks/FileItem/FileItem.d.ts +2 -1
- package/blocks/FileItem/FileItem.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.js +11 -6
- package/blocks/FileItem/file-item.css +5 -1
- package/blocks/Modal/modal.css +4 -0
- package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
- package/blocks/SourceBtn/SourceBtn.js +5 -4
- package/blocks/SourceBtn/source-btn.css +9 -1
- package/blocks/UploadList/UploadList.js +1 -1
- package/blocks/UrlSource/UrlSource.js +1 -1
- package/blocks/themes/uc-basic/common.css +4 -0
- package/blocks/themes/uc-basic/theme.css +27 -10
- package/blocks/utils/UploadSource.d.ts +27 -1
- package/blocks/utils/UploadSource.d.ts.map +1 -1
- package/blocks/utils/UploadSource.js +20 -1
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.ssr.d.ts +97 -14
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +88 -16
- package/locales/file-uploader/ar.d.ts +5 -0
- package/locales/file-uploader/ar.js +5 -0
- package/locales/file-uploader/az.d.ts +5 -0
- package/locales/file-uploader/az.js +5 -0
- package/locales/file-uploader/ca.d.ts +5 -0
- package/locales/file-uploader/ca.js +5 -0
- package/locales/file-uploader/cs.d.ts +5 -0
- package/locales/file-uploader/cs.js +5 -0
- package/locales/file-uploader/da.d.ts +5 -0
- package/locales/file-uploader/da.js +5 -0
- package/locales/file-uploader/de.d.ts +5 -0
- package/locales/file-uploader/de.js +5 -0
- package/locales/file-uploader/el.d.ts +5 -0
- package/locales/file-uploader/el.js +5 -0
- package/locales/file-uploader/en.d.ts +5 -0
- package/locales/file-uploader/en.js +5 -0
- package/locales/file-uploader/es.d.ts +5 -0
- package/locales/file-uploader/es.js +5 -0
- package/locales/file-uploader/et.d.ts +5 -0
- package/locales/file-uploader/et.js +5 -0
- package/locales/file-uploader/fr.d.ts +5 -0
- package/locales/file-uploader/fr.js +5 -0
- package/locales/file-uploader/he.d.ts +5 -0
- package/locales/file-uploader/he.js +5 -0
- package/locales/file-uploader/hy.d.ts +5 -0
- package/locales/file-uploader/hy.js +5 -0
- package/locales/file-uploader/is.d.ts +5 -0
- package/locales/file-uploader/is.js +5 -0
- package/locales/file-uploader/it.d.ts +5 -0
- package/locales/file-uploader/it.js +5 -0
- package/locales/file-uploader/ja.d.ts +5 -0
- package/locales/file-uploader/ja.js +5 -0
- package/locales/file-uploader/ka.d.ts +5 -0
- package/locales/file-uploader/ka.js +5 -0
- package/locales/file-uploader/kk.d.ts +5 -0
- package/locales/file-uploader/kk.js +5 -0
- package/locales/file-uploader/ko.d.ts +5 -0
- package/locales/file-uploader/ko.js +5 -0
- package/locales/file-uploader/lv.d.ts +5 -0
- package/locales/file-uploader/lv.js +5 -0
- package/locales/file-uploader/nb.d.ts +5 -0
- package/locales/file-uploader/nb.js +5 -0
- package/locales/file-uploader/nl.d.ts +5 -0
- package/locales/file-uploader/nl.js +5 -0
- package/locales/file-uploader/pl.d.ts +5 -0
- package/locales/file-uploader/pl.js +5 -0
- package/locales/file-uploader/pt.d.ts +5 -0
- package/locales/file-uploader/pt.js +5 -0
- package/locales/file-uploader/ro.d.ts +5 -0
- package/locales/file-uploader/ro.js +5 -0
- package/locales/file-uploader/ru.d.ts +5 -0
- package/locales/file-uploader/ru.js +5 -0
- package/locales/file-uploader/sk.d.ts +5 -0
- package/locales/file-uploader/sk.js +5 -0
- package/locales/file-uploader/sr.d.ts +5 -0
- package/locales/file-uploader/sr.js +5 -0
- package/locales/file-uploader/sv.d.ts +5 -0
- package/locales/file-uploader/sv.js +5 -0
- package/locales/file-uploader/tr.d.ts +5 -0
- package/locales/file-uploader/tr.js +5 -0
- package/locales/file-uploader/uk.d.ts +5 -0
- package/locales/file-uploader/uk.js +5 -0
- package/locales/file-uploader/vi.d.ts +5 -0
- package/locales/file-uploader/vi.js +5 -0
- package/locales/file-uploader/zh-TW.d.ts +5 -0
- package/locales/file-uploader/zh-TW.js +5 -0
- package/locales/file-uploader/zh.d.ts +5 -0
- package/locales/file-uploader/zh.js +5 -0
- package/package.json +1 -1
- package/solutions/file-uploader/minimal/index.css +4 -0
- package/types/exported.d.ts +2 -0
- 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 +1 -1
- 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 +3 -3
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +1 -1
- package/blocks/EditorFilerobotImage/EditorFilerobotImage.d.ts +0 -13
- package/blocks/EditorFilerobotImage/EditorFilerobotImage.d.ts.map +0 -1
- package/blocks/EditorFilerobotImage/EditorFilerobotImage.js +0 -59
package/index.ssr.d.ts
CHANGED
|
@@ -70,8 +70,11 @@ export const CameraSource: {
|
|
|
70
70
|
};
|
|
71
71
|
sourceTypes: {
|
|
72
72
|
LOCAL: string;
|
|
73
|
-
|
|
73
|
+
DROP_AREA: string;
|
|
74
74
|
CAMERA: string;
|
|
75
|
+
EXTERNAL: string;
|
|
76
|
+
API: string;
|
|
77
|
+
URL: string;
|
|
75
78
|
DRAW: string;
|
|
76
79
|
FACEBOOK: string;
|
|
77
80
|
DROPBOX: string;
|
|
@@ -125,8 +128,11 @@ export const CloudImageEditorActivity: {
|
|
|
125
128
|
};
|
|
126
129
|
sourceTypes: {
|
|
127
130
|
LOCAL: string;
|
|
128
|
-
|
|
131
|
+
DROP_AREA: string;
|
|
129
132
|
CAMERA: string;
|
|
133
|
+
EXTERNAL: string;
|
|
134
|
+
API: string;
|
|
135
|
+
URL: string;
|
|
130
136
|
DRAW: string;
|
|
131
137
|
FACEBOOK: string;
|
|
132
138
|
DROPBOX: string;
|
|
@@ -224,8 +230,11 @@ export const DropArea: {
|
|
|
224
230
|
};
|
|
225
231
|
sourceTypes: {
|
|
226
232
|
LOCAL: string;
|
|
227
|
-
|
|
233
|
+
DROP_AREA: string;
|
|
228
234
|
CAMERA: string;
|
|
235
|
+
EXTERNAL: string;
|
|
236
|
+
API: string;
|
|
237
|
+
URL: string;
|
|
229
238
|
DRAW: string;
|
|
230
239
|
FACEBOOK: string;
|
|
231
240
|
DROPBOX: string;
|
|
@@ -333,8 +342,11 @@ export const ExternalSource: {
|
|
|
333
342
|
};
|
|
334
343
|
sourceTypes: {
|
|
335
344
|
LOCAL: string;
|
|
336
|
-
|
|
345
|
+
DROP_AREA: string;
|
|
337
346
|
CAMERA: string;
|
|
347
|
+
EXTERNAL: string;
|
|
348
|
+
API: string;
|
|
349
|
+
URL: string;
|
|
338
350
|
DRAW: string;
|
|
339
351
|
FACEBOOK: string;
|
|
340
352
|
DROPBOX: string;
|
|
@@ -362,6 +374,19 @@ export const ExternalSource: {
|
|
|
362
374
|
is: string;
|
|
363
375
|
bindAttributes: () => void;
|
|
364
376
|
};
|
|
377
|
+
export namespace ExternalUploadSource {
|
|
378
|
+
let FACEBOOK: string;
|
|
379
|
+
let DROPBOX: string;
|
|
380
|
+
let GDRIVE: string;
|
|
381
|
+
let GPHOTOS: string;
|
|
382
|
+
let INSTAGRAM: string;
|
|
383
|
+
let FLICKR: string;
|
|
384
|
+
let VK: string;
|
|
385
|
+
let EVERNOTE: string;
|
|
386
|
+
let BOX: string;
|
|
387
|
+
let ONEDRIVE: string;
|
|
388
|
+
let HUDDLE: string;
|
|
389
|
+
}
|
|
365
390
|
export const FileItem: {
|
|
366
391
|
new (): {};
|
|
367
392
|
template: string;
|
|
@@ -381,8 +406,11 @@ export const FileItem: {
|
|
|
381
406
|
};
|
|
382
407
|
sourceTypes: {
|
|
383
408
|
LOCAL: string;
|
|
384
|
-
|
|
409
|
+
DROP_AREA: string;
|
|
385
410
|
CAMERA: string;
|
|
411
|
+
EXTERNAL: string;
|
|
412
|
+
API: string;
|
|
413
|
+
URL: string;
|
|
386
414
|
DRAW: string;
|
|
387
415
|
FACEBOOK: string;
|
|
388
416
|
DROPBOX: string;
|
|
@@ -449,8 +477,11 @@ export const FormInput: {
|
|
|
449
477
|
};
|
|
450
478
|
sourceTypes: {
|
|
451
479
|
LOCAL: string;
|
|
452
|
-
|
|
480
|
+
DROP_AREA: string;
|
|
453
481
|
CAMERA: string;
|
|
482
|
+
EXTERNAL: string;
|
|
483
|
+
API: string;
|
|
484
|
+
URL: string;
|
|
454
485
|
DRAW: string;
|
|
455
486
|
FACEBOOK: string;
|
|
456
487
|
DROPBOX: string;
|
|
@@ -512,7 +543,7 @@ export const Modal: {
|
|
|
512
543
|
bindAttributes: () => void;
|
|
513
544
|
};
|
|
514
545
|
export const PACKAGE_NAME: "blocks";
|
|
515
|
-
export const PACKAGE_VERSION: "1.
|
|
546
|
+
export const PACKAGE_VERSION: "1.7.0";
|
|
516
547
|
export const PresenceToggle: {
|
|
517
548
|
new (): {};
|
|
518
549
|
template: string;
|
|
@@ -547,8 +578,11 @@ export const ProgressBarCommon: {
|
|
|
547
578
|
};
|
|
548
579
|
sourceTypes: {
|
|
549
580
|
LOCAL: string;
|
|
550
|
-
|
|
581
|
+
DROP_AREA: string;
|
|
551
582
|
CAMERA: string;
|
|
583
|
+
EXTERNAL: string;
|
|
584
|
+
API: string;
|
|
585
|
+
URL: string;
|
|
552
586
|
DRAW: string;
|
|
553
587
|
FACEBOOK: string;
|
|
554
588
|
DROPBOX: string;
|
|
@@ -604,8 +638,11 @@ export const SimpleBtn: {
|
|
|
604
638
|
};
|
|
605
639
|
sourceTypes: {
|
|
606
640
|
LOCAL: string;
|
|
607
|
-
|
|
641
|
+
DROP_AREA: string;
|
|
608
642
|
CAMERA: string;
|
|
643
|
+
EXTERNAL: string;
|
|
644
|
+
API: string;
|
|
645
|
+
URL: string;
|
|
609
646
|
DRAW: string;
|
|
610
647
|
FACEBOOK: string;
|
|
611
648
|
DROPBOX: string;
|
|
@@ -666,8 +703,11 @@ export const SourceBtn: {
|
|
|
666
703
|
};
|
|
667
704
|
sourceTypes: {
|
|
668
705
|
LOCAL: string;
|
|
669
|
-
|
|
706
|
+
DROP_AREA: string;
|
|
670
707
|
CAMERA: string;
|
|
708
|
+
EXTERNAL: string;
|
|
709
|
+
API: string;
|
|
710
|
+
URL: string;
|
|
671
711
|
DRAW: string;
|
|
672
712
|
FACEBOOK: string;
|
|
673
713
|
DROPBOX: string;
|
|
@@ -769,8 +809,11 @@ export const UploadCtxProvider: {
|
|
|
769
809
|
};
|
|
770
810
|
sourceTypes: {
|
|
771
811
|
LOCAL: string;
|
|
772
|
-
|
|
812
|
+
DROP_AREA: string;
|
|
773
813
|
CAMERA: string;
|
|
814
|
+
EXTERNAL: string;
|
|
815
|
+
API: string;
|
|
816
|
+
URL: string;
|
|
774
817
|
DRAW: string;
|
|
775
818
|
FACEBOOK: string;
|
|
776
819
|
DROPBOX: string;
|
|
@@ -816,8 +859,11 @@ export const UploadList: {
|
|
|
816
859
|
};
|
|
817
860
|
sourceTypes: {
|
|
818
861
|
LOCAL: string;
|
|
819
|
-
|
|
862
|
+
DROP_AREA: string;
|
|
820
863
|
CAMERA: string;
|
|
864
|
+
EXTERNAL: string;
|
|
865
|
+
API: string;
|
|
866
|
+
URL: string;
|
|
821
867
|
DRAW: string;
|
|
822
868
|
FACEBOOK: string;
|
|
823
869
|
DROPBOX: string;
|
|
@@ -845,6 +891,37 @@ export const UploadList: {
|
|
|
845
891
|
is: string;
|
|
846
892
|
bindAttributes: () => void;
|
|
847
893
|
};
|
|
894
|
+
export namespace UploadSource {
|
|
895
|
+
export let LOCAL: string;
|
|
896
|
+
export let DROP_AREA: string;
|
|
897
|
+
export let CAMERA: string;
|
|
898
|
+
export let EXTERNAL: string;
|
|
899
|
+
export let API: string;
|
|
900
|
+
export let URL: string;
|
|
901
|
+
export let DRAW: string;
|
|
902
|
+
let FACEBOOK_1: string;
|
|
903
|
+
export { FACEBOOK_1 as FACEBOOK };
|
|
904
|
+
let DROPBOX_1: string;
|
|
905
|
+
export { DROPBOX_1 as DROPBOX };
|
|
906
|
+
let GDRIVE_1: string;
|
|
907
|
+
export { GDRIVE_1 as GDRIVE };
|
|
908
|
+
let GPHOTOS_1: string;
|
|
909
|
+
export { GPHOTOS_1 as GPHOTOS };
|
|
910
|
+
let INSTAGRAM_1: string;
|
|
911
|
+
export { INSTAGRAM_1 as INSTAGRAM };
|
|
912
|
+
let FLICKR_1: string;
|
|
913
|
+
export { FLICKR_1 as FLICKR };
|
|
914
|
+
let VK_1: string;
|
|
915
|
+
export { VK_1 as VK };
|
|
916
|
+
let EVERNOTE_1: string;
|
|
917
|
+
export { EVERNOTE_1 as EVERNOTE };
|
|
918
|
+
let BOX_1: string;
|
|
919
|
+
export { BOX_1 as BOX };
|
|
920
|
+
let ONEDRIVE_1: string;
|
|
921
|
+
export { ONEDRIVE_1 as ONEDRIVE };
|
|
922
|
+
let HUDDLE_1: string;
|
|
923
|
+
export { HUDDLE_1 as HUDDLE };
|
|
924
|
+
}
|
|
848
925
|
export const UploaderBlock: {
|
|
849
926
|
new (): {};
|
|
850
927
|
extSrcList: {
|
|
@@ -862,8 +939,11 @@ export const UploaderBlock: {
|
|
|
862
939
|
};
|
|
863
940
|
sourceTypes: {
|
|
864
941
|
LOCAL: string;
|
|
865
|
-
|
|
942
|
+
DROP_AREA: string;
|
|
866
943
|
CAMERA: string;
|
|
944
|
+
EXTERNAL: string;
|
|
945
|
+
API: string;
|
|
946
|
+
URL: string;
|
|
867
947
|
DRAW: string;
|
|
868
948
|
FACEBOOK: string;
|
|
869
949
|
DROPBOX: string;
|
|
@@ -909,8 +989,11 @@ export const UrlSource: {
|
|
|
909
989
|
};
|
|
910
990
|
sourceTypes: {
|
|
911
991
|
LOCAL: string;
|
|
912
|
-
|
|
992
|
+
DROP_AREA: string;
|
|
913
993
|
CAMERA: string;
|
|
994
|
+
EXTERNAL: string;
|
|
995
|
+
API: string;
|
|
996
|
+
URL: string;
|
|
914
997
|
DRAW: string;
|
|
915
998
|
FACEBOOK: string;
|
|
916
999
|
DROPBOX: 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;;;;;;;;EAYE;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;;;;;;;;EAYE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAuCE;AACF;;;;;;;EA0FE;AACF;;;;;;;EAaE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEE;AACF;;;;;;;EAWE;AACF;;;;;;;EAWE;AACF;;;;;;;EASE;AACF;;;;;;EAKE;AACF;;;;;;;EAWE;AACF;;;;;;;EAME;AACF;;;;;;;EAWE;AACF;;;;;;;EA2IE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EE;;;;;;;;;;;;;;AAcF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAYE;AACF;;;;;;EAwBE;AACF;;;;;;;EAUE;AACF;;;;;;;;EAWE;AACF,oCAAqC;AACrC,sCAAuC;AACvC;;;;;;;EAME;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DE;AACF;;;;;;;EAeE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;EAWE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8FE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsEE;AACK,yCAAiC;AACjC,qCAA6B;AAC7B,6CAAqC;AACrC,oCAA4B"}
|
package/index.ssr.js
CHANGED
|
@@ -106,8 +106,11 @@ export const CameraSource = class {
|
|
|
106
106
|
};
|
|
107
107
|
static sourceTypes = {
|
|
108
108
|
LOCAL: "local",
|
|
109
|
-
|
|
109
|
+
DROP_AREA: "drop-area",
|
|
110
110
|
CAMERA: "camera",
|
|
111
|
+
EXTERNAL: "external",
|
|
112
|
+
API: "js-api",
|
|
113
|
+
URL: "url",
|
|
111
114
|
DRAW: "draw",
|
|
112
115
|
FACEBOOK: "facebook",
|
|
113
116
|
DROPBOX: "dropbox",
|
|
@@ -191,8 +194,11 @@ export const CloudImageEditorActivity = class {
|
|
|
191
194
|
};
|
|
192
195
|
static sourceTypes = {
|
|
193
196
|
LOCAL: "local",
|
|
194
|
-
|
|
197
|
+
DROP_AREA: "drop-area",
|
|
195
198
|
CAMERA: "camera",
|
|
199
|
+
EXTERNAL: "external",
|
|
200
|
+
API: "js-api",
|
|
201
|
+
URL: "url",
|
|
196
202
|
DRAW: "draw",
|
|
197
203
|
FACEBOOK: "facebook",
|
|
198
204
|
DROPBOX: "dropbox",
|
|
@@ -424,8 +430,11 @@ export const DropArea = class {
|
|
|
424
430
|
};
|
|
425
431
|
static sourceTypes = {
|
|
426
432
|
LOCAL: "local",
|
|
427
|
-
|
|
433
|
+
DROP_AREA: "drop-area",
|
|
428
434
|
CAMERA: "camera",
|
|
435
|
+
EXTERNAL: "external",
|
|
436
|
+
API: "js-api",
|
|
437
|
+
URL: "url",
|
|
429
438
|
DRAW: "draw",
|
|
430
439
|
FACEBOOK: "facebook",
|
|
431
440
|
DROPBOX: "dropbox",
|
|
@@ -707,8 +716,11 @@ export const ExternalSource = class {
|
|
|
707
716
|
};
|
|
708
717
|
static sourceTypes = {
|
|
709
718
|
LOCAL: "local",
|
|
710
|
-
|
|
719
|
+
DROP_AREA: "drop-area",
|
|
711
720
|
CAMERA: "camera",
|
|
721
|
+
EXTERNAL: "external",
|
|
722
|
+
API: "js-api",
|
|
723
|
+
URL: "url",
|
|
712
724
|
DRAW: "draw",
|
|
713
725
|
FACEBOOK: "facebook",
|
|
714
726
|
DROPBOX: "dropbox",
|
|
@@ -736,6 +748,19 @@ export const ExternalSource = class {
|
|
|
736
748
|
static is = `sym-1`;
|
|
737
749
|
static bindAttributes = () => {};
|
|
738
750
|
};
|
|
751
|
+
export const ExternalUploadSource = {
|
|
752
|
+
FACEBOOK: "facebook",
|
|
753
|
+
DROPBOX: "dropbox",
|
|
754
|
+
GDRIVE: "gdrive",
|
|
755
|
+
GPHOTOS: "gphotos",
|
|
756
|
+
INSTAGRAM: "instagram",
|
|
757
|
+
FLICKR: "flickr",
|
|
758
|
+
VK: "vk",
|
|
759
|
+
EVERNOTE: "evernote",
|
|
760
|
+
BOX: "box",
|
|
761
|
+
ONEDRIVE: "onedrive",
|
|
762
|
+
HUDDLE: "huddle",
|
|
763
|
+
};
|
|
739
764
|
export const FileItem = class {
|
|
740
765
|
static template = `
|
|
741
766
|
<div class="uc-inner" set="@finished: isFinished; @uploading: isUploading; @failed: isFailed; @focused: isFocused">
|
|
@@ -744,7 +769,7 @@ export const FileItem = class {
|
|
|
744
769
|
<uc-icon set="@name: badgeIcon"></uc-icon>
|
|
745
770
|
</div>
|
|
746
771
|
</div>
|
|
747
|
-
<div class="uc-file-name-wrapper">
|
|
772
|
+
<div aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
|
|
748
773
|
<span class="uc-file-name" set="@title: itemName">{{itemName}}</span>
|
|
749
774
|
<span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
|
|
750
775
|
</div>
|
|
@@ -788,8 +813,11 @@ export const FileItem = class {
|
|
|
788
813
|
};
|
|
789
814
|
static sourceTypes = {
|
|
790
815
|
LOCAL: "local",
|
|
791
|
-
|
|
816
|
+
DROP_AREA: "drop-area",
|
|
792
817
|
CAMERA: "camera",
|
|
818
|
+
EXTERNAL: "external",
|
|
819
|
+
API: "js-api",
|
|
820
|
+
URL: "url",
|
|
793
821
|
DRAW: "draw",
|
|
794
822
|
FACEBOOK: "facebook",
|
|
795
823
|
DROPBOX: "dropbox",
|
|
@@ -852,8 +880,11 @@ export const FormInput = class {
|
|
|
852
880
|
};
|
|
853
881
|
static sourceTypes = {
|
|
854
882
|
LOCAL: "local",
|
|
855
|
-
|
|
883
|
+
DROP_AREA: "drop-area",
|
|
856
884
|
CAMERA: "camera",
|
|
885
|
+
EXTERNAL: "external",
|
|
886
|
+
API: "js-api",
|
|
887
|
+
URL: "url",
|
|
857
888
|
DRAW: "draw",
|
|
858
889
|
FACEBOOK: "facebook",
|
|
859
890
|
DROPBOX: "dropbox",
|
|
@@ -943,7 +974,7 @@ export const Modal = class {
|
|
|
943
974
|
static bindAttributes = () => {};
|
|
944
975
|
};
|
|
945
976
|
export const PACKAGE_NAME = `blocks`;
|
|
946
|
-
export const PACKAGE_VERSION = `1.
|
|
977
|
+
export const PACKAGE_VERSION = `1.7.0`;
|
|
947
978
|
export const PresenceToggle = class {
|
|
948
979
|
static template = `<slot></slot> `;
|
|
949
980
|
static reg = () => {};
|
|
@@ -975,8 +1006,11 @@ export const ProgressBarCommon = class {
|
|
|
975
1006
|
};
|
|
976
1007
|
static sourceTypes = {
|
|
977
1008
|
LOCAL: "local",
|
|
978
|
-
|
|
1009
|
+
DROP_AREA: "drop-area",
|
|
979
1010
|
CAMERA: "camera",
|
|
1011
|
+
EXTERNAL: "external",
|
|
1012
|
+
API: "js-api",
|
|
1013
|
+
URL: "url",
|
|
980
1014
|
DRAW: "draw",
|
|
981
1015
|
FACEBOOK: "facebook",
|
|
982
1016
|
DROPBOX: "dropbox",
|
|
@@ -1039,8 +1073,11 @@ export const SimpleBtn = class {
|
|
|
1039
1073
|
};
|
|
1040
1074
|
static sourceTypes = {
|
|
1041
1075
|
LOCAL: "local",
|
|
1042
|
-
|
|
1076
|
+
DROP_AREA: "drop-area",
|
|
1043
1077
|
CAMERA: "camera",
|
|
1078
|
+
EXTERNAL: "external",
|
|
1079
|
+
API: "js-api",
|
|
1080
|
+
URL: "url",
|
|
1044
1081
|
DRAW: "draw",
|
|
1045
1082
|
FACEBOOK: "facebook",
|
|
1046
1083
|
DROPBOX: "dropbox",
|
|
@@ -1112,8 +1149,11 @@ export const SourceBtn = class {
|
|
|
1112
1149
|
};
|
|
1113
1150
|
static sourceTypes = {
|
|
1114
1151
|
LOCAL: "local",
|
|
1115
|
-
|
|
1152
|
+
DROP_AREA: "drop-area",
|
|
1116
1153
|
CAMERA: "camera",
|
|
1154
|
+
EXTERNAL: "external",
|
|
1155
|
+
API: "js-api",
|
|
1156
|
+
URL: "url",
|
|
1117
1157
|
DRAW: "draw",
|
|
1118
1158
|
FACEBOOK: "facebook",
|
|
1119
1159
|
DROPBOX: "dropbox",
|
|
@@ -1211,8 +1251,11 @@ export const UploadCtxProvider = class {
|
|
|
1211
1251
|
};
|
|
1212
1252
|
static sourceTypes = {
|
|
1213
1253
|
LOCAL: "local",
|
|
1214
|
-
|
|
1254
|
+
DROP_AREA: "drop-area",
|
|
1215
1255
|
CAMERA: "camera",
|
|
1256
|
+
EXTERNAL: "external",
|
|
1257
|
+
API: "js-api",
|
|
1258
|
+
URL: "url",
|
|
1216
1259
|
DRAW: "draw",
|
|
1217
1260
|
FACEBOOK: "facebook",
|
|
1218
1261
|
DROPBOX: "dropbox",
|
|
@@ -1243,7 +1286,7 @@ export const UploadCtxProvider = class {
|
|
|
1243
1286
|
export const UploadList = class {
|
|
1244
1287
|
static template = `
|
|
1245
1288
|
<uc-activity-header>
|
|
1246
|
-
<span class="uc-header-text">{{headerText}}</span>
|
|
1289
|
+
<span aria-live="polite" class="uc-header-text">{{headerText}}</span>
|
|
1247
1290
|
<button
|
|
1248
1291
|
type="button"
|
|
1249
1292
|
class="uc-mini-btn uc-close-btn"
|
|
@@ -1303,8 +1346,11 @@ export const UploadList = class {
|
|
|
1303
1346
|
};
|
|
1304
1347
|
static sourceTypes = {
|
|
1305
1348
|
LOCAL: "local",
|
|
1306
|
-
|
|
1349
|
+
DROP_AREA: "drop-area",
|
|
1307
1350
|
CAMERA: "camera",
|
|
1351
|
+
EXTERNAL: "external",
|
|
1352
|
+
API: "js-api",
|
|
1353
|
+
URL: "url",
|
|
1308
1354
|
DRAW: "draw",
|
|
1309
1355
|
FACEBOOK: "facebook",
|
|
1310
1356
|
DROPBOX: "dropbox",
|
|
@@ -1332,6 +1378,26 @@ export const UploadList = class {
|
|
|
1332
1378
|
static is = `sym-1`;
|
|
1333
1379
|
static bindAttributes = () => {};
|
|
1334
1380
|
};
|
|
1381
|
+
export const UploadSource = {
|
|
1382
|
+
LOCAL: "local",
|
|
1383
|
+
DROP_AREA: "drop-area",
|
|
1384
|
+
CAMERA: "camera",
|
|
1385
|
+
EXTERNAL: "external",
|
|
1386
|
+
API: "js-api",
|
|
1387
|
+
URL: "url",
|
|
1388
|
+
DRAW: "draw",
|
|
1389
|
+
FACEBOOK: "facebook",
|
|
1390
|
+
DROPBOX: "dropbox",
|
|
1391
|
+
GDRIVE: "gdrive",
|
|
1392
|
+
GPHOTOS: "gphotos",
|
|
1393
|
+
INSTAGRAM: "instagram",
|
|
1394
|
+
FLICKR: "flickr",
|
|
1395
|
+
VK: "vk",
|
|
1396
|
+
EVERNOTE: "evernote",
|
|
1397
|
+
BOX: "box",
|
|
1398
|
+
ONEDRIVE: "onedrive",
|
|
1399
|
+
HUDDLE: "huddle",
|
|
1400
|
+
};
|
|
1335
1401
|
export const UploaderBlock = class {
|
|
1336
1402
|
static extSrcList = {
|
|
1337
1403
|
FACEBOOK: "facebook",
|
|
@@ -1348,8 +1414,11 @@ export const UploaderBlock = class {
|
|
|
1348
1414
|
};
|
|
1349
1415
|
static sourceTypes = {
|
|
1350
1416
|
LOCAL: "local",
|
|
1351
|
-
|
|
1417
|
+
DROP_AREA: "drop-area",
|
|
1352
1418
|
CAMERA: "camera",
|
|
1419
|
+
EXTERNAL: "external",
|
|
1420
|
+
API: "js-api",
|
|
1421
|
+
URL: "url",
|
|
1353
1422
|
DRAW: "draw",
|
|
1354
1423
|
FACEBOOK: "facebook",
|
|
1355
1424
|
DROPBOX: "dropbox",
|
|
@@ -1416,8 +1485,11 @@ export const UrlSource = class {
|
|
|
1416
1485
|
};
|
|
1417
1486
|
static sourceTypes = {
|
|
1418
1487
|
LOCAL: "local",
|
|
1419
|
-
|
|
1488
|
+
DROP_AREA: "drop-area",
|
|
1420
1489
|
CAMERA: "camera",
|
|
1490
|
+
EXTERNAL: "external",
|
|
1491
|
+
API: "js-api",
|
|
1492
|
+
URL: "url",
|
|
1421
1493
|
DRAW: "draw",
|
|
1422
1494
|
FACEBOOK: "facebook",
|
|
1423
1495
|
DROPBOX: "dropbox",
|
|
@@ -118,6 +118,11 @@ declare const _default: {
|
|
|
118
118
|
'a11y-cloud-editor-apply-filter': string;
|
|
119
119
|
'a11y-cloud-editor-apply-crop': string;
|
|
120
120
|
'a11y-cloud-editor-apply-tuning': string;
|
|
121
|
+
finished: string;
|
|
122
|
+
failed: string;
|
|
123
|
+
uploading: string;
|
|
124
|
+
idle: string;
|
|
125
|
+
'a11y-file-item-status': string;
|
|
121
126
|
};
|
|
122
127
|
export default _default;
|
|
123
128
|
//# sourceMappingURL=ar.d.ts.map
|
|
@@ -119,4 +119,9 @@ export default {
|
|
|
119
119
|
'a11y-cloud-editor-apply-filter': 'تطبيق فلتر {{name}}',
|
|
120
120
|
'a11y-cloud-editor-apply-crop': 'تطبيق عملية {{name}}',
|
|
121
121
|
'a11y-cloud-editor-apply-tuning': 'تطبيق ضبط {{name}}',
|
|
122
|
+
finished: 'تم الانتهاء',
|
|
123
|
+
failed: 'فشل',
|
|
124
|
+
uploading: 'جارٍ التحميل',
|
|
125
|
+
idle: 'خامل',
|
|
126
|
+
'a11y-file-item-status': 'الملف {{fileName}} في حالة {{status}}',
|
|
122
127
|
};
|
|
@@ -110,6 +110,11 @@ declare const _default: {
|
|
|
110
110
|
'a11y-cloud-editor-apply-filter': string;
|
|
111
111
|
'a11y-cloud-editor-apply-crop': string;
|
|
112
112
|
'a11y-cloud-editor-apply-tuning': string;
|
|
113
|
+
finished: string;
|
|
114
|
+
failed: string;
|
|
115
|
+
uploading: string;
|
|
116
|
+
idle: string;
|
|
117
|
+
'a11y-file-item-status': string;
|
|
113
118
|
};
|
|
114
119
|
export default _default;
|
|
115
120
|
//# sourceMappingURL=az.d.ts.map
|
|
@@ -111,4 +111,9 @@ export default {
|
|
|
111
111
|
'a11y-cloud-editor-apply-filter': '{{name}} filtrini tətbiq et',
|
|
112
112
|
'a11y-cloud-editor-apply-crop': '{{name}} əməliyyatını tətbiq et',
|
|
113
113
|
'a11y-cloud-editor-apply-tuning': '{{name}} tənzimləməsini tətbiq et',
|
|
114
|
+
finished: 'Bitdi',
|
|
115
|
+
failed: 'Uğursuz',
|
|
116
|
+
uploading: 'Yüklənir',
|
|
117
|
+
idle: 'Boş',
|
|
118
|
+
'a11y-file-item-status': '{{fileName}} faylı {{status}} statusundadır',
|
|
114
119
|
};
|
|
@@ -112,6 +112,11 @@ declare const _default: {
|
|
|
112
112
|
'a11y-cloud-editor-apply-filter': string;
|
|
113
113
|
'a11y-cloud-editor-apply-crop': string;
|
|
114
114
|
'a11y-cloud-editor-apply-tuning': string;
|
|
115
|
+
finished: string;
|
|
116
|
+
failed: string;
|
|
117
|
+
uploading: string;
|
|
118
|
+
idle: string;
|
|
119
|
+
'a11y-file-item-status': string;
|
|
115
120
|
};
|
|
116
121
|
export default _default;
|
|
117
122
|
//# sourceMappingURL=ca.d.ts.map
|
|
@@ -114,4 +114,9 @@ export default {
|
|
|
114
114
|
'a11y-cloud-editor-apply-filter': 'Aplicar el filtre {{name}}',
|
|
115
115
|
'a11y-cloud-editor-apply-crop': "Aplicar l'operació {{name}}",
|
|
116
116
|
'a11y-cloud-editor-apply-tuning': "Aplicar l'ajust {{name}}",
|
|
117
|
+
finished: 'Acabat',
|
|
118
|
+
failed: 'Fallat',
|
|
119
|
+
uploading: 'Carregant',
|
|
120
|
+
idle: 'Inactiu',
|
|
121
|
+
'a11y-file-item-status': 'El fitxer {{fileName}} està en estat {{status}}',
|
|
117
122
|
};
|
|
@@ -114,6 +114,11 @@ declare const _default: {
|
|
|
114
114
|
'a11y-cloud-editor-apply-filter': string;
|
|
115
115
|
'a11y-cloud-editor-apply-crop': string;
|
|
116
116
|
'a11y-cloud-editor-apply-tuning': string;
|
|
117
|
+
finished: string;
|
|
118
|
+
failed: string;
|
|
119
|
+
uploading: string;
|
|
120
|
+
idle: string;
|
|
121
|
+
'a11y-file-item-status': string;
|
|
117
122
|
};
|
|
118
123
|
export default _default;
|
|
119
124
|
//# sourceMappingURL=cs.d.ts.map
|
|
@@ -116,4 +116,9 @@ export default {
|
|
|
116
116
|
'a11y-cloud-editor-apply-filter': 'Použít filtr {{name}}',
|
|
117
117
|
'a11y-cloud-editor-apply-crop': 'Použít operaci {{name}}',
|
|
118
118
|
'a11y-cloud-editor-apply-tuning': 'Použít ladění {{name}}',
|
|
119
|
+
finished: 'Dokončeno',
|
|
120
|
+
failed: 'Selhalo',
|
|
121
|
+
uploading: 'Nahrává se',
|
|
122
|
+
idle: 'Nečinný',
|
|
123
|
+
'a11y-file-item-status': 'Soubor {{fileName}} je ve stavu {{status}}',
|
|
119
124
|
};
|
|
@@ -110,6 +110,11 @@ declare const _default: {
|
|
|
110
110
|
'a11y-cloud-editor-apply-filter': string;
|
|
111
111
|
'a11y-cloud-editor-apply-crop': string;
|
|
112
112
|
'a11y-cloud-editor-apply-tuning': string;
|
|
113
|
+
finished: string;
|
|
114
|
+
failed: string;
|
|
115
|
+
uploading: string;
|
|
116
|
+
idle: string;
|
|
117
|
+
'a11y-file-item-status': string;
|
|
113
118
|
};
|
|
114
119
|
export default _default;
|
|
115
120
|
//# sourceMappingURL=da.d.ts.map
|
|
@@ -112,4 +112,9 @@ export default {
|
|
|
112
112
|
'a11y-cloud-editor-apply-filter': 'Anvend {{name}} filter',
|
|
113
113
|
'a11y-cloud-editor-apply-crop': 'Anvend {{name}} handling',
|
|
114
114
|
'a11y-cloud-editor-apply-tuning': 'Anvend {{name}} justering',
|
|
115
|
+
finished: 'Afsluttet',
|
|
116
|
+
failed: 'Mislykkedes',
|
|
117
|
+
uploading: 'Uploader',
|
|
118
|
+
idle: 'Inaktiv',
|
|
119
|
+
'a11y-file-item-status': 'Filen {{fileName}} er i status {{status}}',
|
|
115
120
|
};
|
|
@@ -110,6 +110,11 @@ declare const _default: {
|
|
|
110
110
|
'a11y-cloud-editor-apply-filter': string;
|
|
111
111
|
'a11y-cloud-editor-apply-crop': string;
|
|
112
112
|
'a11y-cloud-editor-apply-tuning': string;
|
|
113
|
+
finished: string;
|
|
114
|
+
failed: string;
|
|
115
|
+
uploading: string;
|
|
116
|
+
idle: string;
|
|
117
|
+
'a11y-file-item-status': string;
|
|
113
118
|
};
|
|
114
119
|
export default _default;
|
|
115
120
|
//# sourceMappingURL=de.d.ts.map
|
|
@@ -113,4 +113,9 @@ export default {
|
|
|
113
113
|
'a11y-cloud-editor-apply-filter': '{{name}}-Filter anwenden',
|
|
114
114
|
'a11y-cloud-editor-apply-crop': '{{name}}-Operation anwenden',
|
|
115
115
|
'a11y-cloud-editor-apply-tuning': '{{name}}-Abstimmung anwenden',
|
|
116
|
+
finished: 'Abgeschlossen',
|
|
117
|
+
failed: 'Fehlgeschlagen',
|
|
118
|
+
uploading: 'Hochladen',
|
|
119
|
+
idle: 'Leerlauf',
|
|
120
|
+
'a11y-file-item-status': 'Datei {{fileName}} im Status {{status}}',
|
|
116
121
|
};
|
|
@@ -110,6 +110,11 @@ declare const _default: {
|
|
|
110
110
|
'a11y-cloud-editor-apply-filter': string;
|
|
111
111
|
'a11y-cloud-editor-apply-crop': string;
|
|
112
112
|
'a11y-cloud-editor-apply-tuning': string;
|
|
113
|
+
finished: string;
|
|
114
|
+
failed: string;
|
|
115
|
+
uploading: string;
|
|
116
|
+
idle: string;
|
|
117
|
+
'a11y-file-item-status': string;
|
|
113
118
|
};
|
|
114
119
|
export default _default;
|
|
115
120
|
//# sourceMappingURL=el.d.ts.map
|
|
@@ -113,4 +113,9 @@ export default {
|
|
|
113
113
|
'a11y-cloud-editor-apply-filter': 'Εφαρμογή φίλτρου {{name}}',
|
|
114
114
|
'a11y-cloud-editor-apply-crop': 'Εφαρμογή της λειτουργίας {{name}}',
|
|
115
115
|
'a11y-cloud-editor-apply-tuning': 'Εφαρμογή της ρύθμισης {{name}}',
|
|
116
|
+
finished: 'Ολοκληρώθηκε',
|
|
117
|
+
failed: 'Απέτυχε',
|
|
118
|
+
uploading: 'Μεταφόρτωση',
|
|
119
|
+
idle: 'Αδράνεια',
|
|
120
|
+
'a11y-file-item-status': 'Το αρχείο {{fileName}} βρίσκεται στην κατάσταση {{status}}',
|
|
116
121
|
};
|
|
@@ -110,6 +110,11 @@ declare const _default: {
|
|
|
110
110
|
'a11y-cloud-editor-apply-filter': string;
|
|
111
111
|
'a11y-cloud-editor-apply-crop': string;
|
|
112
112
|
'a11y-cloud-editor-apply-tuning': string;
|
|
113
|
+
finished: string;
|
|
114
|
+
failed: string;
|
|
115
|
+
uploading: string;
|
|
116
|
+
idle: string;
|
|
117
|
+
'a11y-file-item-status': string;
|
|
113
118
|
};
|
|
114
119
|
export default _default;
|
|
115
120
|
//# sourceMappingURL=en.d.ts.map
|
|
@@ -111,4 +111,9 @@ export default {
|
|
|
111
111
|
'a11y-cloud-editor-apply-filter': 'Apply {{name}} filter',
|
|
112
112
|
'a11y-cloud-editor-apply-crop': 'Apply {{name}} operation',
|
|
113
113
|
'a11y-cloud-editor-apply-tuning': 'Apply {{name}} tuning',
|
|
114
|
+
finished: 'Finished',
|
|
115
|
+
failed: 'Failed',
|
|
116
|
+
uploading: 'Uploading',
|
|
117
|
+
idle: 'Idle',
|
|
118
|
+
'a11y-file-item-status': 'File {{fileName}} in status {{status}}',
|
|
114
119
|
};
|
|
@@ -112,6 +112,11 @@ declare const _default: {
|
|
|
112
112
|
'a11y-cloud-editor-apply-filter': string;
|
|
113
113
|
'a11y-cloud-editor-apply-crop': string;
|
|
114
114
|
'a11y-cloud-editor-apply-tuning': string;
|
|
115
|
+
finished: string;
|
|
116
|
+
failed: string;
|
|
117
|
+
uploading: string;
|
|
118
|
+
idle: string;
|
|
119
|
+
'a11y-file-item-status': string;
|
|
115
120
|
};
|
|
116
121
|
export default _default;
|
|
117
122
|
//# sourceMappingURL=es.d.ts.map
|