@uploadcare/file-uploader 1.11.0-alpha.3 → 1.11.0-alpha.4

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.
Files changed (55) hide show
  1. package/abstract/UploaderPublicApi.js +1 -1
  2. package/blocks/CameraSource/CameraSource.d.ts +169 -22
  3. package/blocks/CameraSource/CameraSource.d.ts.map +1 -1
  4. package/blocks/CameraSource/CameraSource.js +792 -126
  5. package/blocks/CameraSource/camera-source.css +89 -3
  6. package/blocks/Config/Config.d.ts +4 -2
  7. package/blocks/Config/Config.d.ts.map +1 -1
  8. package/blocks/Config/Config.js +2 -0
  9. package/blocks/Config/initialConfig.d.ts.map +1 -1
  10. package/blocks/Config/initialConfig.js +6 -0
  11. package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
  12. package/blocks/Config/normalizeConfigValue.js +17 -1
  13. package/blocks/themes/uc-basic/common.css +5 -0
  14. package/blocks/themes/uc-basic/svg-sprite.d.ts +1 -1
  15. package/blocks/themes/uc-basic/svg-sprite.js +1 -1
  16. package/index.ssr.d.ts +14 -0
  17. package/index.ssr.d.ts.map +1 -1
  18. package/index.ssr.js +71 -2
  19. package/locales/file-uploader/ar.js +1 -1
  20. package/locales/file-uploader/az.js +1 -1
  21. package/locales/file-uploader/ca.js +1 -1
  22. package/locales/file-uploader/cs.js +1 -1
  23. package/locales/file-uploader/da.js +1 -1
  24. package/locales/file-uploader/el.js +1 -1
  25. package/locales/file-uploader/et.js +1 -1
  26. package/locales/file-uploader/fi.d.ts +2 -0
  27. package/locales/file-uploader/fi.js +120 -118
  28. package/locales/file-uploader/hy.js +1 -1
  29. package/locales/file-uploader/is.js +1 -1
  30. package/locales/file-uploader/ja.js +1 -1
  31. package/locales/file-uploader/ka.js +1 -1
  32. package/locales/file-uploader/kk.js +1 -1
  33. package/locales/file-uploader/ko.js +1 -1
  34. package/locales/file-uploader/lv.js +1 -1
  35. package/locales/file-uploader/nb.js +1 -1
  36. package/locales/file-uploader/nl.js +1 -1
  37. package/locales/file-uploader/pl.js +1 -1
  38. package/locales/file-uploader/pt.js +1 -1
  39. package/locales/file-uploader/ro.js +1 -1
  40. package/locales/file-uploader/sk.js +1 -1
  41. package/locales/file-uploader/sr.js +1 -1
  42. package/locales/file-uploader/sv.js +1 -1
  43. package/locales/file-uploader/vi.js +1 -1
  44. package/package.json +1 -1
  45. package/types/exported.d.ts +21 -0
  46. package/web/file-uploader.iife.min.js +4 -4
  47. package/web/file-uploader.min.js +4 -4
  48. package/web/uc-basic.min.css +1 -1
  49. package/web/uc-cloud-image-editor.min.js +4 -4
  50. package/web/uc-file-uploader-inline.min.css +1 -1
  51. package/web/uc-file-uploader-inline.min.js +4 -4
  52. package/web/uc-file-uploader-minimal.min.css +1 -1
  53. package/web/uc-file-uploader-minimal.min.js +3 -3
  54. package/web/uc-file-uploader-regular.min.css +1 -1
  55. package/web/uc-file-uploader-regular.min.js +4 -4
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ar',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ar',
4
4
  'upload-file': 'رفع ملف',
5
5
  'upload-files': 'رفع ملفات',
6
6
  'choose-file': 'اختر ملف',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'az',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'az',
4
4
  'upload-file': 'Fayl yüklə',
5
5
  'upload-files': 'Faylları yüklə',
6
6
  'choose-file': 'Fayl seç',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ca',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ca',
4
4
  'upload-file': 'Pujar fitxer',
5
5
  'upload-files': 'Pujar fitxers',
6
6
  'choose-file': 'Tria fitxer',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'cs',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'cs',
4
4
  'upload-file': 'Nahrát soubor',
5
5
  'upload-files': 'Nahrát soubory',
6
6
  'choose-file': 'Vybrat soubor',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'da',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'da',
4
4
  'upload-file': 'Upload fil',
5
5
  'upload-files': 'Upload filer',
6
6
  'choose-file': 'Vælg fil',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'el',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'el',
4
4
  'upload-file': 'Μεταφόρτωση αρχείου',
5
5
  'upload-files': 'Μεταφόρτωση αρχείων',
6
6
  'choose-file': 'Επιλογή αρχείου',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'et',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'et',
4
4
  'upload-file': 'Lae fail üles',
5
5
  'upload-files': 'Lae failid üles',
6
6
  'choose-file': 'Vali fail',
@@ -115,6 +115,8 @@ declare const _default: {
115
115
  uploading: string;
116
116
  idle: string;
117
117
  'a11y-file-item-status': string;
118
+ 'select-all': string;
119
+ 'deselect-all': string;
118
120
  };
119
121
  export default _default;
120
122
  //# sourceMappingURL=fi.d.ts.map
@@ -1,120 +1,122 @@
1
1
  export default {
2
- 'locale-id': 'fi',
3
- 'social-source-lang': 'fi',
4
- 'upload-file': 'Lataa tiedosto',
5
- 'upload-files': 'Lataa tiedostoja',
6
- 'choose-file': 'Valitse tiedosto',
7
- 'choose-files': 'Valitse tiedostoja',
8
- 'drop-files-here': 'Raahaa tiedostot tänne',
9
- 'select-file-source': 'Valitse tiedoston lähde',
10
- selected: 'Valittu',
11
- upload: 'Lataa',
12
- 'add-more': 'Lisää',
13
- cancel: 'Peruuta',
14
- 'start-from-cancel': 'Peruuta alkuun',
15
- clear: 'Tyhjennä',
16
- 'camera-shot': 'Kuva',
17
- 'upload-url': 'Tuo',
18
- 'upload-url-placeholder': 'Liitä linkki tähän',
19
- 'edit-image': 'Muokkaa kuvaa',
20
- 'edit-detail': 'Lisätiedot',
21
- back: 'Takaisin',
22
- done: 'Valmis',
23
- ok: 'Ok',
24
- 'remove-from-list': 'Poista',
25
- no: 'Ei',
26
- yes: 'Kyllä',
27
- 'confirm-your-action': 'Vahvista toimintosi',
28
- 'are-you-sure': 'Oletko varma?',
29
- 'selected-count': 'Valitut:',
30
- 'upload-error': 'Latausvirhe',
31
- 'validation-error': 'Validointivirhe',
32
- 'no-files': 'Ei tiedostoja valittu',
33
- browse: 'Selaa',
34
- 'not-uploaded-yet': 'Ei vielä ladattu...',
35
- file__one: 'tiedosto',
36
- file__other: 'tiedostot',
37
- error__one: 'virhe',
38
- error__other: 'virheitä',
39
- 'header-uploading': 'Ladataan {{count}} {{plural:file(count)}}',
40
- 'header-failed': '{{count}} {{plural:error(count)}}',
41
- 'header-succeed': '{{count}} {{plural:file(count)}} ladattu',
42
- 'header-total': '{{count}} {{plural:file(count)}} valittu',
43
- 'src-type-local': 'Laiteesta',
44
- 'src-type-from-url': 'Linkistä',
45
- 'src-type-camera': 'Kamera',
46
- 'src-type-draw': 'Piirrä',
47
- 'src-type-facebook': 'Facebook',
48
- 'src-type-dropbox': 'Dropbox',
49
- 'src-type-gdrive': 'Google Drive',
50
- 'src-type-gphotos': 'Google Kuvat',
51
- 'src-type-instagram': 'Instagram',
52
- 'src-type-flickr': 'Flickr',
53
- 'src-type-vk': 'VK',
54
- 'src-type-evernote': 'Evernote',
55
- 'src-type-box': 'Box',
56
- 'src-type-onedrive': 'Onedrive',
57
- 'src-type-huddle': 'Huddle',
58
- 'src-type-other': 'Muu',
59
- 'caption-from-url': 'Tuo linkistä',
60
- 'caption-camera': 'Kamera',
61
- 'caption-draw': 'Piirrä',
62
- 'caption-edit-file': 'Muokkaa tiedostoa',
63
- 'file-no-name': 'Ei nimeä...',
64
- 'toggle-fullscreen': 'Vaihda koko näyttöön',
65
- 'toggle-guides': 'Opastus',
66
- rotate: 'Käännä',
67
- 'flip-vertical': 'Käännä pystysuunnassa',
68
- 'flip-horizontal': 'Käännä vaakasuunnassa',
69
- apply: 'Käytä',
70
- brightness: 'Kirkkaus',
71
- contrast: 'Kontrasti',
72
- saturation: 'Saturaatio',
73
- exposure: 'Valotusaika',
74
- gamma: 'Gamma',
75
- vibrance: 'Elinvoima',
76
- warmth: 'Lämpö',
77
- enhance: 'Paranna',
78
- original: 'Alkuperäinen',
79
- resize: 'Muuta kuvan kokoa',
80
- crop: 'Rajaa',
81
- 'select-color': 'Valitse väri',
82
- text: 'Teksti',
83
- draw: 'Piirrä',
84
- 'cancel-edit': 'Peruuta muokkaus',
85
- 'tab-view': 'Esikatselu',
86
- 'tab-details': 'Lisätiedot',
87
- 'file-name': 'Nimi',
88
- 'file-size': 'Koko',
89
- 'cdn-url': 'CDN URL',
90
- 'file-size-unknown': 'Tuntematon',
91
- 'camera-permissions-denied': 'Kameran käyttöoikeus evätty',
92
- 'camera-permissions-prompt': 'Salli kameran käyttö',
93
- 'camera-permissions-request': 'Pyydä käyttöoikeutta',
94
- 'files-count-limit-error-title': 'Tiedostojen lukumäärän ylitys',
95
- 'files-count-limit-error-too-few':
2
+ 'locale-id': 'fi',
3
+ 'social-source-lang': 'en',
4
+ 'upload-file': 'Lataa tiedosto',
5
+ 'upload-files': 'Lataa tiedostoja',
6
+ 'choose-file': 'Valitse tiedosto',
7
+ 'choose-files': 'Valitse tiedostoja',
8
+ 'drop-files-here': 'Raahaa tiedostot tänne',
9
+ 'select-file-source': 'Valitse tiedoston lähde',
10
+ selected: 'Valittu',
11
+ upload: 'Lataa',
12
+ 'add-more': 'Lisää',
13
+ cancel: 'Peruuta',
14
+ 'start-from-cancel': 'Peruuta alkuun',
15
+ clear: 'Tyhjennä',
16
+ 'camera-shot': 'Kuva',
17
+ 'upload-url': 'Tuo',
18
+ 'upload-url-placeholder': 'Liitä linkki tähän',
19
+ 'edit-image': 'Muokkaa kuvaa',
20
+ 'edit-detail': 'Lisätiedot',
21
+ back: 'Takaisin',
22
+ done: 'Valmis',
23
+ ok: 'Ok',
24
+ 'remove-from-list': 'Poista',
25
+ no: 'Ei',
26
+ yes: 'Kyllä',
27
+ 'confirm-your-action': 'Vahvista toimintosi',
28
+ 'are-you-sure': 'Oletko varma?',
29
+ 'selected-count': 'Valitut:',
30
+ 'upload-error': 'Latausvirhe',
31
+ 'validation-error': 'Validointivirhe',
32
+ 'no-files': 'Ei tiedostoja valittu',
33
+ browse: 'Selaa',
34
+ 'not-uploaded-yet': 'Ei vielä ladattu...',
35
+ file__one: 'tiedosto',
36
+ file__other: 'tiedostot',
37
+ error__one: 'virhe',
38
+ error__other: 'virheitä',
39
+ 'header-uploading': 'Ladataan {{count}} {{plural:file(count)}}',
40
+ 'header-failed': '{{count}} {{plural:error(count)}}',
41
+ 'header-succeed': '{{count}} {{plural:file(count)}} ladattu',
42
+ 'header-total': '{{count}} {{plural:file(count)}} valittu',
43
+ 'src-type-local': 'Laiteesta',
44
+ 'src-type-from-url': 'Linkistä',
45
+ 'src-type-camera': 'Kamera',
46
+ 'src-type-draw': 'Piirrä',
47
+ 'src-type-facebook': 'Facebook',
48
+ 'src-type-dropbox': 'Dropbox',
49
+ 'src-type-gdrive': 'Google Drive',
50
+ 'src-type-gphotos': 'Google Kuvat',
51
+ 'src-type-instagram': 'Instagram',
52
+ 'src-type-flickr': 'Flickr',
53
+ 'src-type-vk': 'VK',
54
+ 'src-type-evernote': 'Evernote',
55
+ 'src-type-box': 'Box',
56
+ 'src-type-onedrive': 'Onedrive',
57
+ 'src-type-huddle': 'Huddle',
58
+ 'src-type-other': 'Muu',
59
+ 'caption-from-url': 'Tuo linkistä',
60
+ 'caption-camera': 'Kamera',
61
+ 'caption-draw': 'Piirrä',
62
+ 'caption-edit-file': 'Muokkaa tiedostoa',
63
+ 'file-no-name': 'Ei nimeä...',
64
+ 'toggle-fullscreen': 'Vaihda koko näyttöön',
65
+ 'toggle-guides': 'Opastus',
66
+ rotate: 'Käännä',
67
+ 'flip-vertical': 'Käännä pystysuunnassa',
68
+ 'flip-horizontal': 'Käännä vaakasuunnassa',
69
+ apply: 'Käytä',
70
+ brightness: 'Kirkkaus',
71
+ contrast: 'Kontrasti',
72
+ saturation: 'Saturaatio',
73
+ exposure: 'Valotusaika',
74
+ gamma: 'Gamma',
75
+ vibrance: 'Elinvoima',
76
+ warmth: 'Lämpö',
77
+ enhance: 'Paranna',
78
+ original: 'Alkuperäinen',
79
+ resize: 'Muuta kuvan kokoa',
80
+ crop: 'Rajaa',
81
+ 'select-color': 'Valitse väri',
82
+ text: 'Teksti',
83
+ draw: 'Piirrä',
84
+ 'cancel-edit': 'Peruuta muokkaus',
85
+ 'tab-view': 'Esikatselu',
86
+ 'tab-details': 'Lisätiedot',
87
+ 'file-name': 'Nimi',
88
+ 'file-size': 'Koko',
89
+ 'cdn-url': 'CDN URL',
90
+ 'file-size-unknown': 'Tuntematon',
91
+ 'camera-permissions-denied': 'Kameran käyttöoikeus evätty',
92
+ 'camera-permissions-prompt': 'Salli kameran käyttö',
93
+ 'camera-permissions-request': 'Pyydä käyttöoikeutta',
94
+ 'files-count-limit-error-title': 'Tiedostojen lukumäärän ylitys',
95
+ 'files-count-limit-error-too-few':
96
96
  'Olet valinnut {{total}} {{plural:file(total)}}. Vähintään {{min}} {{plural:file(min)}} vaaditaan.',
97
- 'files-count-limit-error-too-many': 'Olet valinnut liian monta tiedostoa. {{max}} {{plural:file(max)}} on enimmäismäärä.',
98
- 'files-max-size-limit-error': 'Tiedosto on liian suuri. Maksimi tiedostokoko on {{maxFileSize}}.',
99
- 'has-validation-errors': 'Tiedostojen validointivirhe. Tarkista tiedostosi ennen latausta.',
100
- 'images-only-accepted': 'Vain kuvamuotoiset tiedostot hyväksytään.',
101
- 'file-type-not-allowed': 'Näiden tiedostotyyppien lataaminen ei ole sallittua.',
102
- 'some-files-were-not-uploaded': 'Joitain tiedostoja ei ladattu.',
103
- 'file-item-edit-button': 'Muokkaa',
104
- 'file-item-remove-button': 'Poista',
105
- 'a11y-editor-tab-filters': 'Suodattimet',
106
- 'a11y-editor-tab-tuning': 'Säätö',
107
- 'a11y-editor-tab-crop': 'Rajaus',
108
- 'a11y-activity-header-button-close': 'Sulje',
109
- flip: 'Käännä',
110
- mirror: 'Peilaa',
111
- 'a11y-cloud-editor-apply-filter': 'Käytä {{name}} suodatin',
112
- 'a11y-cloud-editor-apply-crop': 'Käytä {{name}} rajaus',
113
- 'a11y-cloud-editor-apply-tuning': 'Käytä {{name}} säätö',
114
- finished: 'Valmis',
115
- failed: 'Epäonnistui',
116
- uploading: 'Ladataan',
117
- idle: 'Toimeton',
118
- 'a11y-file-item-status': 'Tiedosto {{fileName}} tilassa {{status}}',
119
- };
120
-
97
+ 'files-count-limit-error-too-many':
98
+ 'Olet valinnut liian monta tiedostoa. {{max}} {{plural:file(max)}} on enimmäismäärä.',
99
+ 'files-max-size-limit-error': 'Tiedosto on liian suuri. Maksimi tiedostokoko on {{maxFileSize}}.',
100
+ 'has-validation-errors': 'Tiedostojen validointivirhe. Tarkista tiedostosi ennen latausta.',
101
+ 'images-only-accepted': 'Vain kuvamuotoiset tiedostot hyväksytään.',
102
+ 'file-type-not-allowed': 'Näiden tiedostotyyppien lataaminen ei ole sallittua.',
103
+ 'some-files-were-not-uploaded': 'Joitain tiedostoja ei ladattu.',
104
+ 'file-item-edit-button': 'Muokkaa',
105
+ 'file-item-remove-button': 'Poista',
106
+ 'a11y-editor-tab-filters': 'Suodattimet',
107
+ 'a11y-editor-tab-tuning': 'Säätö',
108
+ 'a11y-editor-tab-crop': 'Rajaus',
109
+ 'a11y-activity-header-button-close': 'Sulje',
110
+ flip: 'Käännä',
111
+ mirror: 'Peilaa',
112
+ 'a11y-cloud-editor-apply-filter': 'Käytä {{name}} suodatin',
113
+ 'a11y-cloud-editor-apply-crop': 'Käytä {{name}} rajaus',
114
+ 'a11y-cloud-editor-apply-tuning': 'Käytä {{name}} säätö',
115
+ finished: 'Valmis',
116
+ failed: 'Epäonnistui',
117
+ uploading: 'Ladataan',
118
+ idle: 'Toimeton',
119
+ 'a11y-file-item-status': 'Tiedosto {{fileName}} tilassa {{status}}',
120
+ 'select-all': 'Valitse kaikki',
121
+ 'deselect-all': 'Poista valinnat',
122
+ };
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'hy',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'hy',
4
4
  'upload-file': 'Ֆայլ բեռնել',
5
5
  'upload-files': 'Ֆայլեր բեռնել',
6
6
  'choose-file': 'Ընտրեք ֆայլը',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'is',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'is',
4
4
  'upload-file': 'Hlaða upp skrá',
5
5
  'upload-files': 'Hlaða upp skrám',
6
6
  'choose-file': 'Veldu skrá',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ja',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ja',
4
4
  'upload-file': 'ファイルをアップロード',
5
5
  'upload-files': 'ファイルをアップロードする',
6
6
  'choose-file': 'ファイルを選択',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ka',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ka',
4
4
  'upload-file': 'ფაილის ატვირთვა',
5
5
  'upload-files': 'ფაილების ატვირთვა',
6
6
  'choose-file': 'აირჩიეთ ფაილი',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'kk',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'kk',
4
4
  'upload-file': 'Файл жүктеу',
5
5
  'upload-files': 'Файлдарды жүктеу',
6
6
  'choose-file': 'Файл таңдаңыз',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ko',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ko',
4
4
  'upload-file': '파일 업로드',
5
5
  'upload-files': '파일 업로드',
6
6
  'choose-file': '파일 선택',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'lv',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'lv',
4
4
  'upload-file': 'Augšupielādēt failu',
5
5
  'upload-files': 'Augšupielādēt failus',
6
6
  'choose-file': 'Izvēlēties failu',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'nb',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'nb',
4
4
  'upload-file': 'Last opp fil',
5
5
  'upload-files': 'Last opp filer',
6
6
  'choose-file': 'Velg fil',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'nl',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'nl',
4
4
  'upload-file': 'Bestand uploaden',
5
5
  'upload-files': 'Bestanden uploaden',
6
6
  'choose-file': 'Kies bestand',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'pl',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'pl',
4
4
  'upload-file': 'Prześlij plik',
5
5
  'upload-files': 'Prześlij pliki',
6
6
  'choose-file': 'Wybierz plik',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'pt',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'pt',
4
4
  'upload-file': 'Carregar arquivo',
5
5
  'upload-files': 'Carregar arquivos',
6
6
  'choose-file': 'Escolher arquivo',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'ro',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'ro',
4
4
  'upload-file': 'Încărcați fișier',
5
5
  'upload-files': 'Încărcați fișiere',
6
6
  'choose-file': 'Alegeți fișierul',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'sk',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'sk',
4
4
  'upload-file': 'Nahrať súbor',
5
5
  'upload-files': 'Nahrať súbory',
6
6
  'choose-file': 'Vybrať súbor',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'sr',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'sr',
4
4
  'upload-file': 'Отпреми датотеку',
5
5
  'upload-files': 'Отпреми датoтеке',
6
6
  'choose-file': 'Изабери датотеку',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'sv',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'sv',
4
4
  'upload-file': 'Ladda upp fil',
5
5
  'upload-files': 'Ladda upp filer',
6
6
  'choose-file': 'Välj fil',
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  'locale-id': 'vi',
3
- 'social-source-lang': 'en',
3
+ 'social-source-lang': 'vi',
4
4
  'upload-file': 'Tải lên tệp',
5
5
  'upload-files': 'Tải lên các tệp',
6
6
  'choose-file': 'Chọn tệp',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/file-uploader",
3
- "version": "1.11.0-alpha.3",
3
+ "version": "1.11.0-alpha.4",
4
4
  "description": "Building blocks for Uploadcare products integration",
5
5
  "keywords": [
6
6
  "web components",
@@ -78,6 +78,27 @@ export type ConfigType = {
78
78
 
79
79
  fileValidators: FileValidators;
80
80
  collectionValidators: CollectionValidators;
81
+
82
+ /**
83
+ * The default tab to open in the camera modal,
84
+ * it is possible to select video or photo capture
85
+ * @default 'photo'
86
+ */
87
+ defaultCameraMode: 'photo' | 'video';
88
+ enableAudioRecording: boolean;
89
+ enableVideoRecording: boolean;
90
+
91
+ /**
92
+ * The maximum duration of the video recording in seconds
93
+ * @default null
94
+ */
95
+ maxVideoRecordingDuration: number | null
96
+
97
+ /**
98
+ * A dictionary object that can contain
99
+ * the following properties from MediaRecorderOptions
100
+ */
101
+ mediaRecorerOptions: MediaRecorderOptions | null
81
102
  };
82
103
  export type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
83
104
  export type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;