@uploadcare/file-uploader 1.6.0-alpha.0 → 1.6.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.
Files changed (101) hide show
  1. package/abstract/UploaderBlock.d.ts +4 -1
  2. package/abstract/UploaderBlock.d.ts.map +1 -1
  3. package/abstract/UploaderBlock.js +11 -18
  4. package/blocks/DropArea/DropArea.js +1 -1
  5. package/blocks/FileItem/FileItem.d.ts +2 -1
  6. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  7. package/blocks/FileItem/FileItem.js +11 -6
  8. package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
  9. package/blocks/SourceBtn/SourceBtn.js +5 -4
  10. package/blocks/UploadList/UploadList.js +1 -1
  11. package/blocks/UrlSource/UrlSource.js +1 -1
  12. package/blocks/utils/UploadSource.d.ts +27 -1
  13. package/blocks/utils/UploadSource.d.ts.map +1 -1
  14. package/blocks/utils/UploadSource.js +20 -1
  15. package/env.d.ts +1 -1
  16. package/env.js +1 -1
  17. package/index.d.ts +1 -0
  18. package/index.js +1 -0
  19. package/index.ssr.d.ts +97 -14
  20. package/index.ssr.d.ts.map +1 -1
  21. package/index.ssr.js +88 -16
  22. package/locales/file-uploader/ar.d.ts +5 -0
  23. package/locales/file-uploader/ar.js +5 -0
  24. package/locales/file-uploader/az.d.ts +5 -0
  25. package/locales/file-uploader/az.js +5 -0
  26. package/locales/file-uploader/ca.d.ts +5 -0
  27. package/locales/file-uploader/ca.js +5 -0
  28. package/locales/file-uploader/cs.d.ts +5 -0
  29. package/locales/file-uploader/cs.js +5 -0
  30. package/locales/file-uploader/da.d.ts +5 -0
  31. package/locales/file-uploader/da.js +5 -0
  32. package/locales/file-uploader/de.d.ts +5 -0
  33. package/locales/file-uploader/de.js +5 -0
  34. package/locales/file-uploader/el.d.ts +5 -0
  35. package/locales/file-uploader/el.js +5 -0
  36. package/locales/file-uploader/en.d.ts +5 -0
  37. package/locales/file-uploader/en.js +5 -0
  38. package/locales/file-uploader/es.d.ts +5 -0
  39. package/locales/file-uploader/es.js +5 -0
  40. package/locales/file-uploader/et.d.ts +5 -0
  41. package/locales/file-uploader/et.js +5 -0
  42. package/locales/file-uploader/fr.d.ts +5 -0
  43. package/locales/file-uploader/fr.js +5 -0
  44. package/locales/file-uploader/he.d.ts +5 -0
  45. package/locales/file-uploader/he.js +5 -0
  46. package/locales/file-uploader/hy.d.ts +5 -0
  47. package/locales/file-uploader/hy.js +5 -0
  48. package/locales/file-uploader/is.d.ts +5 -0
  49. package/locales/file-uploader/is.js +5 -0
  50. package/locales/file-uploader/it.d.ts +5 -0
  51. package/locales/file-uploader/it.js +5 -0
  52. package/locales/file-uploader/ja.d.ts +5 -0
  53. package/locales/file-uploader/ja.js +5 -0
  54. package/locales/file-uploader/ka.d.ts +5 -0
  55. package/locales/file-uploader/ka.js +5 -0
  56. package/locales/file-uploader/kk.d.ts +5 -0
  57. package/locales/file-uploader/kk.js +5 -0
  58. package/locales/file-uploader/ko.d.ts +5 -0
  59. package/locales/file-uploader/ko.js +5 -0
  60. package/locales/file-uploader/lv.d.ts +5 -0
  61. package/locales/file-uploader/lv.js +5 -0
  62. package/locales/file-uploader/nb.d.ts +5 -0
  63. package/locales/file-uploader/nb.js +5 -0
  64. package/locales/file-uploader/nl.d.ts +5 -0
  65. package/locales/file-uploader/nl.js +5 -0
  66. package/locales/file-uploader/pl.d.ts +5 -0
  67. package/locales/file-uploader/pl.js +5 -0
  68. package/locales/file-uploader/pt.d.ts +5 -0
  69. package/locales/file-uploader/pt.js +5 -0
  70. package/locales/file-uploader/ro.d.ts +5 -0
  71. package/locales/file-uploader/ro.js +5 -0
  72. package/locales/file-uploader/ru.d.ts +5 -0
  73. package/locales/file-uploader/ru.js +5 -0
  74. package/locales/file-uploader/sk.d.ts +5 -0
  75. package/locales/file-uploader/sk.js +5 -0
  76. package/locales/file-uploader/sr.d.ts +5 -0
  77. package/locales/file-uploader/sr.js +5 -0
  78. package/locales/file-uploader/sv.d.ts +5 -0
  79. package/locales/file-uploader/sv.js +5 -0
  80. package/locales/file-uploader/tr.d.ts +5 -0
  81. package/locales/file-uploader/tr.js +5 -0
  82. package/locales/file-uploader/uk.d.ts +5 -0
  83. package/locales/file-uploader/uk.js +5 -0
  84. package/locales/file-uploader/vi.d.ts +5 -0
  85. package/locales/file-uploader/vi.js +5 -0
  86. package/locales/file-uploader/zh-TW.d.ts +5 -0
  87. package/locales/file-uploader/zh-TW.js +5 -0
  88. package/locales/file-uploader/zh.d.ts +5 -0
  89. package/locales/file-uploader/zh.js +5 -0
  90. package/package.json +1 -1
  91. package/types/exported.d.ts +2 -0
  92. package/web/file-uploader.iife.min.js +4 -4
  93. package/web/file-uploader.min.js +4 -4
  94. package/web/uc-cloud-image-editor.min.js +1 -1
  95. package/web/uc-file-uploader-inline.min.js +4 -4
  96. package/web/uc-file-uploader-minimal.min.js +3 -3
  97. package/web/uc-file-uploader-regular.min.js +4 -4
  98. package/web/uc-img.min.js +1 -1
  99. package/blocks/EditorFilerobotImage/EditorFilerobotImage.d.ts +0 -13
  100. package/blocks/EditorFilerobotImage/EditorFilerobotImage.d.ts.map +0 -1
  101. package/blocks/EditorFilerobotImage/EditorFilerobotImage.js +0 -59
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': '{{name}} фильтрін қолдану',
112
112
  'a11y-cloud-editor-apply-crop': '{{name}} операциясын қолдану',
113
113
  'a11y-cloud-editor-apply-tuning': '{{name}} тюнингін қолдану',
114
+ finished: 'Аяқталды',
115
+ failed: 'Сәтсіз аяқталды',
116
+ uploading: 'Жүктелуде',
117
+ idle: 'Бос',
118
+ 'a11y-file-item-status': '{{fileName}} файлы {{status}} күйінде',
114
119
  };
@@ -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=ko.d.ts.map
@@ -110,4 +110,9 @@ export default {
110
110
  'a11y-cloud-editor-apply-filter': '{{name}} 필터 적용',
111
111
  'a11y-cloud-editor-apply-crop': '{{name}} 작업 적용',
112
112
  'a11y-cloud-editor-apply-tuning': '{{name}} 튜닝 적용',
113
+ finished: '완료됨',
114
+ failed: '실패함',
115
+ uploading: '업로드 중',
116
+ idle: '대기 중',
117
+ 'a11y-file-item-status': '{{fileName}} 파일이 {{status}} 상태입니다',
113
118
  };
@@ -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=lv.d.ts.map
@@ -113,4 +113,9 @@ export default {
113
113
  'a11y-cloud-editor-apply-filter': 'Lietot filtru {{name}}',
114
114
  'a11y-cloud-editor-apply-crop': 'Lietot operāciju {{name}}',
115
115
  'a11y-cloud-editor-apply-tuning': 'Lietot pielāgošanu {{name}}',
116
+ finished: 'Pabeigts',
117
+ failed: 'Neizdevās',
118
+ uploading: 'Augšupielādē',
119
+ idle: 'Gaida',
120
+ 'a11y-file-item-status': 'Fails {{fileName}} ir stāvoklī {{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=nb.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': 'Bruk filter {{name}}',
112
112
  'a11y-cloud-editor-apply-crop': 'Bruk operasjon {{name}}',
113
113
  'a11y-cloud-editor-apply-tuning': 'Bruk innstilling {{name}}',
114
+ finished: 'Fullført',
115
+ failed: 'Mislyktes',
116
+ uploading: 'Laster opp',
117
+ idle: 'Inaktiv',
118
+ 'a11y-file-item-status': 'Fil {{fileName}} i status {{status}}',
114
119
  };
@@ -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=nl.d.ts.map
@@ -112,4 +112,9 @@ export default {
112
112
  'a11y-cloud-editor-apply-filter': '{{name}} filter toepassen',
113
113
  'a11y-cloud-editor-apply-crop': '{{name}} operatie toepassen',
114
114
  'a11y-cloud-editor-apply-tuning': '{{name}} afstemming toepassen',
115
+ finished: 'Voltooid',
116
+ failed: 'Mislukt',
117
+ uploading: 'Uploaden',
118
+ idle: 'Inactief',
119
+ 'a11y-file-item-status': 'Bestand {{fileName}} in status {{status}}',
115
120
  };
@@ -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=pl.d.ts.map
@@ -115,4 +115,9 @@ export default {
115
115
  'a11y-cloud-editor-apply-filter': 'Zastosuj filtr {{name}}',
116
116
  'a11y-cloud-editor-apply-crop': 'Zastosuj operację {{name}}',
117
117
  'a11y-cloud-editor-apply-tuning': 'Zastosuj dostrajanie {{name}}',
118
+ finished: 'Zakończono',
119
+ failed: 'Nie powiodło się',
120
+ uploading: 'Przesyłanie',
121
+ idle: 'Bezczynny',
122
+ 'a11y-file-item-status': 'Plik {{fileName}} ma status {{status}}',
118
123
  };
@@ -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=pt.d.ts.map
@@ -114,4 +114,9 @@ export default {
114
114
  'a11y-cloud-editor-apply-filter': 'Aplicar filtro {{name}}',
115
115
  'a11y-cloud-editor-apply-crop': 'Aplicar operação {{name}}',
116
116
  'a11y-cloud-editor-apply-tuning': 'Aplicar ajuste {{name}}',
117
+ finished: 'Concluído',
118
+ failed: 'Falhou',
119
+ uploading: 'Carregando',
120
+ idle: 'Ocioso',
121
+ 'a11y-file-item-status': 'O arquivo {{fileName}} está no status {{status}}',
117
122
  };
@@ -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=ro.d.ts.map
@@ -114,4 +114,9 @@ export default {
114
114
  'a11y-cloud-editor-apply-filter': 'Aplică filtrul {{name}}',
115
115
  'a11y-cloud-editor-apply-crop': 'Aplică operațiunea {{name}}',
116
116
  'a11y-cloud-editor-apply-tuning': 'Aplică ajustarea {{name}}',
117
+ finished: 'Finalizat',
118
+ failed: 'Eșuat',
119
+ uploading: 'Se încarcă',
120
+ idle: 'Inactiv',
121
+ 'a11y-file-item-status': 'Fișierul {{fileName}} este în starea {{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=ru.d.ts.map
@@ -115,4 +115,9 @@ export default {
115
115
  'a11y-cloud-editor-apply-filter': 'Применить фильтр {{name}}',
116
116
  'a11y-cloud-editor-apply-crop': 'Применить операцию {{name}}',
117
117
  'a11y-cloud-editor-apply-tuning': 'Применить настройку {{name}}',
118
+ finished: 'Завершено',
119
+ failed: 'Не удалось',
120
+ uploading: 'Загрузка',
121
+ idle: 'Ожидание',
122
+ 'a11y-file-item-status': 'Файл {{fileName}} находится в статусе {{status}}',
118
123
  };
@@ -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=sk.d.ts.map
@@ -115,4 +115,9 @@ export default {
115
115
  'a11y-cloud-editor-apply-filter': 'Použiť filter {{name}}',
116
116
  'a11y-cloud-editor-apply-crop': 'Použiť operáciu {{name}}',
117
117
  'a11y-cloud-editor-apply-tuning': 'Použiť ladenie {{name}}',
118
+ finished: 'Dokončené',
119
+ failed: 'Neúspešné',
120
+ uploading: 'Nahrávanie',
121
+ idle: 'Nečinný',
122
+ 'a11y-file-item-status': 'Súbor {{fileName}} je v stave {{status}}',
118
123
  };
@@ -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=sr.d.ts.map
@@ -113,4 +113,9 @@ export default {
113
113
  'a11y-cloud-editor-apply-filter': 'Primeni filter {{name}}',
114
114
  'a11y-cloud-editor-apply-crop': 'Primeni operaciju {{name}}',
115
115
  'a11y-cloud-editor-apply-tuning': 'Primeni podešavanje {{name}}',
116
+ finished: 'Završeno',
117
+ failed: 'Neuspešno',
118
+ uploading: 'Otpremanje',
119
+ idle: 'Neaktivan',
120
+ 'a11y-file-item-status': 'Datoteka {{fileName}} je u statusu {{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=sv.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': 'Applicera filter {{name}}',
112
112
  'a11y-cloud-editor-apply-crop': 'Applicera {{name}} operation',
113
113
  'a11y-cloud-editor-apply-tuning': 'Applicera {{name}} inställning',
114
+ finished: 'Slutfört',
115
+ failed: 'Misslyckades',
116
+ uploading: 'Laddar upp',
117
+ idle: 'Overksam',
118
+ 'a11y-file-item-status': 'Filen {{fileName}} är i status {{status}}',
114
119
  };
@@ -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=tr.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': '{{name}} filtresini uygula',
112
112
  'a11y-cloud-editor-apply-crop': '{{name}} işlemini uygula',
113
113
  'a11y-cloud-editor-apply-tuning': '{{name}} ayarını uygula',
114
+ finished: 'Tamamlandı',
115
+ failed: 'Başarısız',
116
+ uploading: 'Yükleniyor',
117
+ idle: 'Boşta',
118
+ 'a11y-file-item-status': '{{fileName}} dosyası {{status}} durumunda',
114
119
  };
@@ -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=uk.d.ts.map
@@ -115,4 +115,9 @@ export default {
115
115
  'a11y-cloud-editor-apply-filter': 'Застосувати фільтр {{name}}',
116
116
  'a11y-cloud-editor-apply-crop': 'Застосувати операцію {{name}}',
117
117
  'a11y-cloud-editor-apply-tuning': 'Застосувати налаштування {{name}}',
118
+ finished: 'Завершено',
119
+ failed: 'Не вдалося',
120
+ uploading: 'Завантаження',
121
+ idle: 'Очікування',
122
+ 'a11y-file-item-status': 'Файл {{fileName}} у стані {{status}}',
118
123
  };
@@ -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=vi.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': 'Áp dụng bộ lọc {{name}}',
112
112
  'a11y-cloud-editor-apply-crop': 'Áp dụng thao tác {{name}}',
113
113
  'a11y-cloud-editor-apply-tuning': 'Áp dụng điều chỉnh {{name}}',
114
+ finished: 'Hoàn thành',
115
+ failed: 'Thất bại',
116
+ uploading: 'Đang tải lên',
117
+ idle: 'Nhàn rỗi',
118
+ 'a11y-file-item-status': 'Tệp {{fileName}} ở trạng thái {{status}}',
114
119
  };
@@ -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=zh-TW.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': '應用 {{name}} 篩選器',
112
112
  'a11y-cloud-editor-apply-crop': '應用 {{name}} 操作',
113
113
  'a11y-cloud-editor-apply-tuning': '應用 {{name}} 調整',
114
+ finished: '完成',
115
+ failed: '失敗',
116
+ uploading: '上傳中',
117
+ idle: '閒置',
118
+ 'a11y-file-item-status': '檔案 {{fileName}} 的狀態是 {{status}}',
114
119
  };
@@ -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=zh.d.ts.map
@@ -111,4 +111,9 @@ export default {
111
111
  'a11y-cloud-editor-apply-filter': '应用 {{name}} 过滤器',
112
112
  'a11y-cloud-editor-apply-crop': '应用 {{name}} 操作',
113
113
  'a11y-cloud-editor-apply-tuning': '应用 {{name}} 调整',
114
+ finished: '已完成',
115
+ failed: '失败',
116
+ uploading: '上传中',
117
+ idle: '空闲',
118
+ 'a11y-file-item-status': '文件 {{fileName}} 的状态是 {{status}}',
114
119
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/file-uploader",
3
- "version": "1.6.0-alpha.0",
3
+ "version": "1.6.0",
4
4
  "description": "Building blocks for Uploadcare products integration",
5
5
  "keywords": [
6
6
  "web components",
@@ -21,6 +21,7 @@ export type SecureUploadsSignatureResolver = () => Promise<SecureUploadsSignatur
21
21
  export type IconHrefResolver = (iconName: string) => string;
22
22
  export type FileValidators = FuncFileValidator[];
23
23
  export type CollectionValidators = FuncCollectionValidator[];
24
+ export type SourceTypes = import('../blocks/utils/UploadSource').SourceTypes
24
25
 
25
26
  export type ConfigType = {
26
27
  pubkey: string;
@@ -168,6 +169,7 @@ export type OutputFileEntry<TStatus extends OutputFileStatus = OutputFileStatus>
168
169
  externalUrl: string | null;
169
170
  uploadProgress: number;
170
171
  fullPath: string | null;
172
+ source: SourceTypes | null;
171
173
  } & (
172
174
  | {
173
175
  status: 'success';