@uploadcare/file-uploader 1.11.0-alpha.2 → 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.
- package/blocks/CameraSource/CameraSource.d.ts.map +1 -1
- package/blocks/CameraSource/CameraSource.js +9 -20
- package/blocks/CameraSource/camera-source.css +4 -16
- package/blocks/CloudImageEditorActivity/index.css +3 -3
- package/blocks/Config/Config.d.ts +3 -3
- package/blocks/Config/Config.d.ts.map +1 -1
- package/blocks/Config/Config.js +2 -2
- package/blocks/Config/initialConfig.js +3 -3
- package/blocks/Config/normalizeConfigValue.js +3 -3
- package/blocks/ExternalSource/ExternalSource.d.ts +20 -50
- package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.js +96 -99
- package/blocks/ExternalSource/MessageBridge.d.ts +20 -0
- package/blocks/ExternalSource/MessageBridge.d.ts.map +1 -0
- package/blocks/ExternalSource/MessageBridge.js +71 -0
- package/blocks/ExternalSource/buildThemeDefinition.d.ts +3 -0
- package/blocks/ExternalSource/buildThemeDefinition.d.ts.map +1 -0
- package/blocks/ExternalSource/buildThemeDefinition.js +47 -0
- package/blocks/ExternalSource/external-source.css +37 -22
- package/blocks/ExternalSource/types.d.ts +113 -0
- package/blocks/ExternalSource/types.d.ts.map +1 -0
- package/blocks/ExternalSource/types.js +143 -0
- package/blocks/Modal/Modal.d.ts.map +1 -1
- package/blocks/Modal/Modal.js +4 -11
- package/blocks/Modal/modal.css +3 -54
- package/blocks/StartFrom/start-from.css +2 -6
- package/blocks/UploadList/upload-list.css +1 -11
- package/blocks/UrlSource/url-source.css +0 -8
- package/blocks/themes/uc-basic/theme.css +2 -3
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +10 -14
- package/locales/file-uploader/ar.d.ts +2 -0
- package/locales/file-uploader/ar.js +3 -1
- package/locales/file-uploader/az.d.ts +2 -0
- package/locales/file-uploader/az.js +3 -1
- package/locales/file-uploader/ca.d.ts +2 -0
- package/locales/file-uploader/ca.js +3 -1
- package/locales/file-uploader/cs.d.ts +2 -0
- package/locales/file-uploader/cs.js +3 -1
- package/locales/file-uploader/da.d.ts +2 -0
- package/locales/file-uploader/da.js +3 -1
- 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 +3 -1
- package/locales/file-uploader/en.d.ts +2 -0
- package/locales/file-uploader/en.js +3 -1
- 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 +3 -1
- package/locales/file-uploader/fi.d.ts +2 -0
- package/locales/file-uploader/fi.js +120 -118
- 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 +3 -1
- package/locales/file-uploader/is.d.ts +2 -0
- package/locales/file-uploader/is.js +3 -1
- 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 +3 -1
- package/locales/file-uploader/ka.d.ts +2 -0
- package/locales/file-uploader/ka.js +3 -1
- package/locales/file-uploader/kk.d.ts +2 -0
- package/locales/file-uploader/kk.js +3 -1
- package/locales/file-uploader/ko.d.ts +2 -0
- package/locales/file-uploader/ko.js +3 -1
- package/locales/file-uploader/lv.d.ts +2 -0
- package/locales/file-uploader/lv.js +3 -1
- package/locales/file-uploader/nb.d.ts +2 -0
- package/locales/file-uploader/nb.js +3 -1
- package/locales/file-uploader/nl.d.ts +2 -0
- package/locales/file-uploader/nl.js +3 -1
- package/locales/file-uploader/pl.d.ts +2 -0
- package/locales/file-uploader/pl.js +3 -1
- package/locales/file-uploader/pt.d.ts +2 -0
- package/locales/file-uploader/pt.js +3 -1
- package/locales/file-uploader/ro.d.ts +2 -0
- package/locales/file-uploader/ro.js +3 -1
- 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 +3 -1
- package/locales/file-uploader/sr.d.ts +2 -0
- package/locales/file-uploader/sr.js +3 -1
- package/locales/file-uploader/sv.d.ts +2 -0
- package/locales/file-uploader/sv.js +3 -1
- 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 +3 -1
- 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 +2 -4
- package/types/exported.d.ts +3 -3
- 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 +2 -2
- 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/ExternalSource/buildStyles.d.ts +0 -27
- package/blocks/ExternalSource/buildStyles.d.ts.map +0 -1
- package/blocks/ExternalSource/buildStyles.js +0 -133
- package/blocks/ExternalSource/messages.d.ts +0 -3
- package/blocks/ExternalSource/messages.d.ts.map +0 -1
- package/blocks/ExternalSource/messages.js +0 -35
- package/blocks/LocalEditorImage/LocalEditorImage.d.ts +0 -22
- package/blocks/LocalEditorImage/LocalEditorImage.d.ts.map +0 -1
- package/blocks/LocalEditorImage/LocalEditorImage.js +0 -139
- package/blocks/LocalEditorImage/localEditorImage.css +0 -19
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'is',
|
|
3
|
-
'social-source-lang': '
|
|
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á',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'Hleður upp',
|
|
117
117
|
idle: 'Aðgerðalaus',
|
|
118
118
|
'a11y-file-item-status': 'Skráin {{fileName}} er í stöðu {{status}}',
|
|
119
|
+
'select-all': 'Velja allt',
|
|
120
|
+
'deselect-all': 'Afvelja allt',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'ja',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'ja',
|
|
4
4
|
'upload-file': 'ファイルをアップロード',
|
|
5
5
|
'upload-files': 'ファイルをアップロードする',
|
|
6
6
|
'choose-file': 'ファイルを選択',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'アップロード中',
|
|
117
117
|
idle: 'アイドル',
|
|
118
118
|
'a11y-file-item-status': 'ファイル {{fileName}} のステータスは {{status}} です',
|
|
119
|
+
'select-all': 'すべて選択',
|
|
120
|
+
'deselect-all': 'すべて選択解除',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'ka',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'ka',
|
|
4
4
|
'upload-file': 'ფაილის ატვირთვა',
|
|
5
5
|
'upload-files': 'ფაილების ატვირთვა',
|
|
6
6
|
'choose-file': 'აირჩიეთ ფაილი',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'იტვირთება',
|
|
117
117
|
idle: 'მოქმედების გარეშე',
|
|
118
118
|
'a11y-file-item-status': 'ფაილი {{fileName}} არის მდგომარეობაში {{status}}',
|
|
119
|
+
'select-all': 'ყველას არჩევა',
|
|
120
|
+
'deselect-all': 'ყველას არჩევის გაუქმება',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'kk',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'kk',
|
|
4
4
|
'upload-file': 'Файл жүктеу',
|
|
5
5
|
'upload-files': 'Файлдарды жүктеу',
|
|
6
6
|
'choose-file': 'Файл таңдаңыз',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'Жүктелуде',
|
|
117
117
|
idle: 'Бос',
|
|
118
118
|
'a11y-file-item-status': '{{fileName}} файлы {{status}} күйінде',
|
|
119
|
+
'select-all': 'Барлығын таңдау',
|
|
120
|
+
'deselect-all': 'Барлығын таңдаудан шығару',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'ko',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'ko',
|
|
4
4
|
'upload-file': '파일 업로드',
|
|
5
5
|
'upload-files': '파일 업로드',
|
|
6
6
|
'choose-file': '파일 선택',
|
|
@@ -115,4 +115,6 @@ export default {
|
|
|
115
115
|
uploading: '업로드 중',
|
|
116
116
|
idle: '대기 중',
|
|
117
117
|
'a11y-file-item-status': '{{fileName}} 파일이 {{status}} 상태입니다',
|
|
118
|
+
'select-all': '모두 선택',
|
|
119
|
+
'deselect-all': '모두 선택 해제',
|
|
118
120
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'lv',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -118,4 +118,6 @@ export default {
|
|
|
118
118
|
uploading: 'Augšupielādē',
|
|
119
119
|
idle: 'Gaida',
|
|
120
120
|
'a11y-file-item-status': 'Fails {{fileName}} ir stāvoklī {{status}}',
|
|
121
|
+
'select-all': 'Izvēlēties visus',
|
|
122
|
+
'deselect-all': 'Noņemt izvēli visiem',
|
|
121
123
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'nb',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'Laster opp',
|
|
117
117
|
idle: 'Inaktiv',
|
|
118
118
|
'a11y-file-item-status': 'Fil {{fileName}} i status {{status}}',
|
|
119
|
+
'select-all': 'Velg alle',
|
|
120
|
+
'deselect-all': 'Fjern alle',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'nl',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'nl',
|
|
4
4
|
'upload-file': 'Bestand uploaden',
|
|
5
5
|
'upload-files': 'Bestanden uploaden',
|
|
6
6
|
'choose-file': 'Kies bestand',
|
|
@@ -117,4 +117,6 @@ export default {
|
|
|
117
117
|
uploading: 'Uploaden',
|
|
118
118
|
idle: 'Inactief',
|
|
119
119
|
'a11y-file-item-status': 'Bestand {{fileName}} in status {{status}}',
|
|
120
|
+
'select-all': 'Selecteer alles',
|
|
121
|
+
'deselect-all': 'Deselecteer alles',
|
|
120
122
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'pl',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -120,4 +120,6 @@ export default {
|
|
|
120
120
|
uploading: 'Przesyłanie',
|
|
121
121
|
idle: 'Bezczynny',
|
|
122
122
|
'a11y-file-item-status': 'Plik {{fileName}} ma status {{status}}',
|
|
123
|
+
'select-all': 'Zaznacz wszystko',
|
|
124
|
+
'deselect-all': 'Odznacz wszystko',
|
|
123
125
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'pt',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'pt',
|
|
4
4
|
'upload-file': 'Carregar arquivo',
|
|
5
5
|
'upload-files': 'Carregar arquivos',
|
|
6
6
|
'choose-file': 'Escolher arquivo',
|
|
@@ -119,4 +119,6 @@ export default {
|
|
|
119
119
|
uploading: 'Carregando',
|
|
120
120
|
idle: 'Ocioso',
|
|
121
121
|
'a11y-file-item-status': 'O arquivo {{fileName}} está no status {{status}}',
|
|
122
|
+
'select-all': 'Selecionar tudo',
|
|
123
|
+
'deselect-all': 'Desmarcar tudo',
|
|
122
124
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'ro',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -119,4 +119,6 @@ export default {
|
|
|
119
119
|
uploading: 'Se încarcă',
|
|
120
120
|
idle: 'Inactiv',
|
|
121
121
|
'a11y-file-item-status': 'Fișierul {{fileName}} este în starea {{status}}',
|
|
122
|
+
'select-all': 'Selectează tot',
|
|
123
|
+
'deselect-all': 'Deselectează tot',
|
|
122
124
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'sk',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -120,4 +120,6 @@ export default {
|
|
|
120
120
|
uploading: 'Nahrávanie',
|
|
121
121
|
idle: 'Nečinný',
|
|
122
122
|
'a11y-file-item-status': 'Súbor {{fileName}} je v stave {{status}}',
|
|
123
|
+
'select-all': 'Vybrať všetko',
|
|
124
|
+
'deselect-all': 'Zrušiť výber všetkého',
|
|
123
125
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'sr',
|
|
3
|
-
'social-source-lang': '
|
|
3
|
+
'social-source-lang': 'sr',
|
|
4
4
|
'upload-file': 'Отпреми датотеку',
|
|
5
5
|
'upload-files': 'Отпреми датoтеке',
|
|
6
6
|
'choose-file': 'Изабери датотеку',
|
|
@@ -118,4 +118,6 @@ export default {
|
|
|
118
118
|
uploading: 'Otpremanje',
|
|
119
119
|
idle: 'Neaktivan',
|
|
120
120
|
'a11y-file-item-status': 'Datoteka {{fileName}} je u statusu {{status}}',
|
|
121
|
+
'select-all': 'Изабери све',
|
|
122
|
+
'deselect-all': 'Поништи избор свих',
|
|
121
123
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'sv',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'Laddar upp',
|
|
117
117
|
idle: 'Overksam',
|
|
118
118
|
'a11y-file-item-status': 'Filen {{fileName}} är i status {{status}}',
|
|
119
|
+
'select-all': 'Välj alla',
|
|
120
|
+
'deselect-all': 'Avmarkera alla',
|
|
119
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'locale-id': 'vi',
|
|
3
|
-
'social-source-lang': '
|
|
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',
|
|
@@ -116,4 +116,6 @@ export default {
|
|
|
116
116
|
uploading: 'Đang tải lên',
|
|
117
117
|
idle: 'Nhàn rỗi',
|
|
118
118
|
'a11y-file-item-status': 'Tệp {{fileName}} ở trạng thái {{status}}',
|
|
119
|
+
'select-all': 'Chọn tất cả',
|
|
120
|
+
'deselect-all': 'Bỏ chọn tất cả',
|
|
119
121
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/file-uploader",
|
|
3
|
-
"version": "1.11.0-alpha.
|
|
3
|
+
"version": "1.11.0-alpha.4",
|
|
4
4
|
"description": "Building blocks for Uploadcare products integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web components",
|
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
"MIT"
|
|
36
36
|
],
|
|
37
37
|
"type": "module",
|
|
38
|
-
"sideEffects": [
|
|
39
|
-
"*.css"
|
|
40
|
-
],
|
|
38
|
+
"sideEffects": ["*.css"],
|
|
41
39
|
"module": "./index.js",
|
|
42
40
|
"exports": {
|
|
43
41
|
".": {
|
package/types/exported.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export type ConfigType = {
|
|
|
84
84
|
* it is possible to select video or photo capture
|
|
85
85
|
* @default 'photo'
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
defaultCameraMode: 'photo' | 'video';
|
|
88
88
|
enableAudioRecording: boolean;
|
|
89
89
|
enableVideoRecording: boolean;
|
|
90
90
|
|
|
@@ -92,13 +92,13 @@ export type ConfigType = {
|
|
|
92
92
|
* The maximum duration of the video recording in seconds
|
|
93
93
|
* @default null
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
maxVideoRecordingDuration: number | null
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* A dictionary object that can contain
|
|
99
99
|
* the following properties from MediaRecorderOptions
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
mediaRecorerOptions: MediaRecorderOptions | null
|
|
102
102
|
};
|
|
103
103
|
export type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
|
|
104
104
|
export type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;
|