@uploadcare/file-uploader 1.4.1-alpha.2 → 1.5.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 (146) hide show
  1. package/abstract/ActivityBlock.d.ts +14 -3
  2. package/abstract/ActivityBlock.d.ts.map +1 -1
  3. package/abstract/ActivityBlock.js +19 -6
  4. package/abstract/Block.d.ts +3 -3
  5. package/abstract/Block.d.ts.map +1 -1
  6. package/abstract/Block.js +2 -0
  7. package/abstract/CTX.d.ts +0 -1
  8. package/abstract/CTX.d.ts.map +1 -1
  9. package/abstract/CTX.js +0 -1
  10. package/abstract/SolutionBlock.d.ts +0 -1
  11. package/abstract/SolutionBlock.d.ts.map +1 -1
  12. package/abstract/UploaderBlock.d.ts +0 -1
  13. package/abstract/UploaderBlock.d.ts.map +1 -1
  14. package/abstract/UploaderBlock.js +3 -1
  15. package/abstract/UploaderPublicApi.d.ts +11 -3
  16. package/abstract/UploaderPublicApi.d.ts.map +1 -1
  17. package/abstract/UploaderPublicApi.js +27 -31
  18. package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +1 -1
  19. package/blocks/CloudImageEditor/src/EditorButtonControl.js +2 -1
  20. package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts.map +1 -1
  21. package/blocks/CloudImageEditor/src/EditorCropButtonControl.js +6 -1
  22. package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +1 -1
  23. package/blocks/CloudImageEditor/src/EditorFilterControl.js +7 -1
  24. package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts.map +1 -1
  25. package/blocks/CloudImageEditor/src/EditorOperationControl.js +5 -0
  26. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +5 -0
  27. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +1 -1
  28. package/blocks/CloudImageEditor/src/EditorToolbar.js +11 -5
  29. package/blocks/CloudImageEditor/src/css/common.css +11 -0
  30. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +1 -0
  31. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +1 -1
  32. package/blocks/CloudImageEditor/src/elements/button/BtnUi.js +6 -1
  33. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +1 -1
  34. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +1 -0
  35. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +16 -21
  36. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -1
  37. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +34 -25
  38. package/blocks/Config/Config.d.ts +1 -1
  39. package/blocks/DropArea/DropArea.d.ts +0 -1
  40. package/blocks/DropArea/DropArea.d.ts.map +1 -1
  41. package/blocks/ExternalSource/ExternalSource.d.ts +2 -1
  42. package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
  43. package/blocks/ExternalSource/ExternalSource.js +9 -0
  44. package/blocks/FileItem/FileItem.d.ts +2 -3
  45. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  46. package/blocks/FileItem/FileItem.js +4 -8
  47. package/blocks/Modal/Modal.d.ts.map +1 -1
  48. package/blocks/Modal/Modal.js +2 -0
  49. package/blocks/SimpleBtn/SimpleBtn.d.ts +0 -1
  50. package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -1
  51. package/blocks/SourceBtn/SourceBtn.d.ts +0 -1
  52. package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
  53. package/blocks/UploadCtxProvider/EventEmitter.d.ts +1 -1
  54. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +2 -2
  55. package/blocks/UploadList/UploadList.d.ts +0 -1
  56. package/blocks/UploadList/UploadList.d.ts.map +1 -1
  57. package/blocks/UploadList/UploadList.js +6 -1
  58. package/env.d.ts +1 -1
  59. package/env.js +1 -1
  60. package/index.ssr.d.ts +1 -17
  61. package/index.ssr.d.ts.map +1 -1
  62. package/index.ssr.js +19 -29
  63. package/locales/file-uploader/ar.d.ts +9 -0
  64. package/locales/file-uploader/ar.js +11 -2
  65. package/locales/file-uploader/az.d.ts +9 -0
  66. package/locales/file-uploader/az.js +11 -2
  67. package/locales/file-uploader/ca.d.ts +9 -0
  68. package/locales/file-uploader/ca.js +11 -2
  69. package/locales/file-uploader/cs.d.ts +9 -0
  70. package/locales/file-uploader/cs.js +11 -2
  71. package/locales/file-uploader/da.d.ts +9 -0
  72. package/locales/file-uploader/da.js +11 -2
  73. package/locales/file-uploader/de.d.ts +9 -0
  74. package/locales/file-uploader/de.js +11 -2
  75. package/locales/file-uploader/el.d.ts +9 -0
  76. package/locales/file-uploader/el.js +11 -2
  77. package/locales/file-uploader/en.d.ts +9 -0
  78. package/locales/file-uploader/en.js +11 -2
  79. package/locales/file-uploader/es.d.ts +9 -0
  80. package/locales/file-uploader/es.js +11 -2
  81. package/locales/file-uploader/et.d.ts +9 -0
  82. package/locales/file-uploader/et.js +11 -2
  83. package/locales/file-uploader/fr.d.ts +9 -0
  84. package/locales/file-uploader/fr.js +11 -2
  85. package/locales/file-uploader/he.d.ts +9 -0
  86. package/locales/file-uploader/he.js +11 -2
  87. package/locales/file-uploader/hy.d.ts +9 -0
  88. package/locales/file-uploader/hy.js +11 -2
  89. package/locales/file-uploader/is.d.ts +9 -0
  90. package/locales/file-uploader/is.js +11 -2
  91. package/locales/file-uploader/it.d.ts +9 -0
  92. package/locales/file-uploader/it.js +11 -2
  93. package/locales/file-uploader/ja.d.ts +9 -0
  94. package/locales/file-uploader/ja.js +11 -2
  95. package/locales/file-uploader/ka.d.ts +9 -0
  96. package/locales/file-uploader/ka.js +11 -2
  97. package/locales/file-uploader/kk.d.ts +9 -0
  98. package/locales/file-uploader/kk.js +11 -2
  99. package/locales/file-uploader/ko.d.ts +9 -0
  100. package/locales/file-uploader/ko.js +11 -2
  101. package/locales/file-uploader/lv.d.ts +9 -0
  102. package/locales/file-uploader/lv.js +11 -2
  103. package/locales/file-uploader/nb.d.ts +9 -0
  104. package/locales/file-uploader/nb.js +11 -2
  105. package/locales/file-uploader/nl.d.ts +9 -0
  106. package/locales/file-uploader/nl.js +11 -2
  107. package/locales/file-uploader/pl.d.ts +9 -0
  108. package/locales/file-uploader/pl.js +11 -2
  109. package/locales/file-uploader/pt.d.ts +9 -0
  110. package/locales/file-uploader/pt.js +11 -2
  111. package/locales/file-uploader/ro.d.ts +9 -0
  112. package/locales/file-uploader/ro.js +11 -2
  113. package/locales/file-uploader/ru.d.ts +9 -0
  114. package/locales/file-uploader/ru.js +11 -2
  115. package/locales/file-uploader/sk.d.ts +9 -0
  116. package/locales/file-uploader/sk.js +11 -2
  117. package/locales/file-uploader/sr.d.ts +9 -0
  118. package/locales/file-uploader/sr.js +11 -2
  119. package/locales/file-uploader/sv.d.ts +9 -0
  120. package/locales/file-uploader/sv.js +11 -2
  121. package/locales/file-uploader/tr.d.ts +9 -0
  122. package/locales/file-uploader/tr.js +11 -2
  123. package/locales/file-uploader/uk.d.ts +9 -0
  124. package/locales/file-uploader/uk.js +11 -2
  125. package/locales/file-uploader/vi.d.ts +9 -0
  126. package/locales/file-uploader/vi.js +11 -2
  127. package/locales/file-uploader/zh-TW.d.ts +9 -0
  128. package/locales/file-uploader/zh-TW.js +11 -2
  129. package/locales/file-uploader/zh.d.ts +9 -0
  130. package/locales/file-uploader/zh.js +11 -2
  131. package/package.json +1 -1
  132. package/solutions/file-uploader/inline/FileUploaderInline.d.ts +0 -1
  133. package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -1
  134. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +1 -2
  135. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
  136. package/web/file-uploader.iife.min.js +4 -4
  137. package/web/file-uploader.min.js +1 -1
  138. package/web/uc-basic.min.css +1 -1
  139. package/web/uc-cloud-image-editor.min.css +1 -1
  140. package/web/uc-cloud-image-editor.min.js +3 -3
  141. package/web/uc-file-uploader-inline.min.css +1 -1
  142. package/web/uc-file-uploader-inline.min.js +1 -1
  143. package/web/uc-file-uploader-minimal.min.js +3 -3
  144. package/web/uc-file-uploader-regular.min.css +1 -1
  145. package/web/uc-file-uploader-regular.min.js +1 -1
  146. package/web/uc-img.min.js +1 -1
@@ -101,6 +101,15 @@ declare const _default: {
101
101
  'some-files-were-not-uploaded': string;
102
102
  'file-item-edit-button': string;
103
103
  'file-item-remove-button': string;
104
+ 'a11y-activity-header-button-close': string;
105
+ 'a11y-editor-tab-filters': string;
106
+ 'a11y-editor-tab-tuning': string;
107
+ 'a11y-editor-tab-crop': string;
108
+ flip: string;
109
+ mirror: string;
110
+ 'a11y-cloud-editor-apply-filter': string;
111
+ 'a11y-cloud-editor-apply-crop': string;
112
+ 'a11y-cloud-editor-apply-tuning': string;
104
113
  };
105
114
  export default _default;
106
115
  //# sourceMappingURL=tr.d.ts.map
@@ -100,6 +100,15 @@ export default {
100
100
  'images-only-accepted': 'Yalnızca resim dosyaları kabul edilir.',
101
101
  'file-type-not-allowed': 'Bu dosya türlerinin yüklenmesine izin verilmiyor.',
102
102
  'some-files-were-not-uploaded': 'Bazı dosyalar yüklenemedi.',
103
- 'file-item-edit-button': 'Düzenle düğmesi',
104
- 'file-item-remove-button': 'Silme düğmesi',
103
+ 'file-item-edit-button': 'Düzenle',
104
+ 'file-item-remove-button': 'Kaldır',
105
+ 'a11y-activity-header-button-close': 'Kapat',
106
+ 'a11y-editor-tab-filters': 'Filtreler',
107
+ 'a11y-editor-tab-tuning': 'Ayar',
108
+ 'a11y-editor-tab-crop': 'Kırp',
109
+ flip: 'Çevir',
110
+ mirror: 'Ayna',
111
+ 'a11y-cloud-editor-apply-filter': '{{name}} filtresini uygula',
112
+ 'a11y-cloud-editor-apply-crop': '{{name}} işlemini uygula',
113
+ 'a11y-cloud-editor-apply-tuning': '{{name}} ayarını uygula',
105
114
  };
@@ -105,6 +105,15 @@ declare const _default: {
105
105
  'some-files-were-not-uploaded': string;
106
106
  'file-item-edit-button': string;
107
107
  'file-item-remove-button': string;
108
+ 'a11y-activity-header-button-close': string;
109
+ 'a11y-editor-tab-filters': string;
110
+ 'a11y-editor-tab-tuning': string;
111
+ 'a11y-editor-tab-crop': string;
112
+ flip: string;
113
+ mirror: string;
114
+ 'a11y-cloud-editor-apply-filter': string;
115
+ 'a11y-cloud-editor-apply-crop': string;
116
+ 'a11y-cloud-editor-apply-tuning': string;
108
117
  };
109
118
  export default _default;
110
119
  //# sourceMappingURL=uk.d.ts.map
@@ -104,6 +104,15 @@ export default {
104
104
  'images-only-accepted': 'Приймаються тільки зображення.',
105
105
  'file-type-not-allowed': 'Завантаження файлів цього типу заборонено.',
106
106
  'some-files-were-not-uploaded': 'Деякі файли не були завантажені.',
107
- 'file-item-edit-button': 'Кнопка редагування',
108
- 'file-item-remove-button': 'Кнопка видалення',
107
+ 'file-item-edit-button': 'Редагувати',
108
+ 'file-item-remove-button': 'Видалити',
109
+ 'a11y-activity-header-button-close': 'Закрити',
110
+ 'a11y-editor-tab-filters': 'Фільтри',
111
+ 'a11y-editor-tab-tuning': 'Налаштування',
112
+ 'a11y-editor-tab-crop': 'Обрізати',
113
+ flip: 'Перевернути',
114
+ mirror: 'Дзеркало',
115
+ 'a11y-cloud-editor-apply-filter': 'Застосувати фільтр {{name}}',
116
+ 'a11y-cloud-editor-apply-crop': 'Застосувати операцію {{name}}',
117
+ 'a11y-cloud-editor-apply-tuning': 'Застосувати налаштування {{name}}',
109
118
  };
@@ -101,6 +101,15 @@ declare const _default: {
101
101
  'some-files-were-not-uploaded': string;
102
102
  'file-item-edit-button': string;
103
103
  'file-item-remove-button': string;
104
+ 'a11y-activity-header-button-close': string;
105
+ 'a11y-editor-tab-filters': string;
106
+ 'a11y-editor-tab-tuning': string;
107
+ 'a11y-editor-tab-crop': string;
108
+ flip: string;
109
+ mirror: string;
110
+ 'a11y-cloud-editor-apply-filter': string;
111
+ 'a11y-cloud-editor-apply-crop': string;
112
+ 'a11y-cloud-editor-apply-tuning': string;
104
113
  };
105
114
  export default _default;
106
115
  //# sourceMappingURL=vi.d.ts.map
@@ -100,6 +100,15 @@ export default {
100
100
  'images-only-accepted': 'Chỉ chấp nhận tệp ảnh.',
101
101
  'file-type-not-allowed': 'Không cho phép tải lên loại tệp này.',
102
102
  'some-files-were-not-uploaded': 'Một số tệp chưa được tải lên.',
103
- 'file-item-edit-button': 'Nút chỉnh sửa',
104
- 'file-item-remove-button': 'Nút xóa',
103
+ 'file-item-edit-button': 'Chỉnh sửa',
104
+ 'file-item-remove-button': 'Gỡ bỏ',
105
+ 'a11y-activity-header-button-close': 'Đóng',
106
+ 'a11y-editor-tab-filters': 'Bộ lọc',
107
+ 'a11y-editor-tab-tuning': 'Tuning',
108
+ 'a11y-editor-tab-crop': 'Cắt',
109
+ flip: 'Lật',
110
+ mirror: 'Gương',
111
+ 'a11y-cloud-editor-apply-filter': 'Áp dụng bộ lọc {{name}}',
112
+ 'a11y-cloud-editor-apply-crop': 'Áp dụng thao tác {{name}}',
113
+ 'a11y-cloud-editor-apply-tuning': 'Áp dụng điều chỉnh {{name}}',
105
114
  };
@@ -101,6 +101,15 @@ declare const _default: {
101
101
  'some-files-were-not-uploaded': string;
102
102
  'file-item-edit-button': string;
103
103
  'file-item-remove-button': string;
104
+ 'a11y-activity-header-button-close': string;
105
+ 'a11y-editor-tab-filters': string;
106
+ 'a11y-editor-tab-tuning': string;
107
+ 'a11y-editor-tab-crop': string;
108
+ flip: string;
109
+ mirror: string;
110
+ 'a11y-cloud-editor-apply-filter': string;
111
+ 'a11y-cloud-editor-apply-crop': string;
112
+ 'a11y-cloud-editor-apply-tuning': string;
104
113
  };
105
114
  export default _default;
106
115
  //# sourceMappingURL=zh-TW.d.ts.map
@@ -100,6 +100,15 @@ export default {
100
100
  'images-only-accepted': '僅接受圖片檔案。',
101
101
  'file-type-not-allowed': '不允許上傳這些檔案類型。',
102
102
  'some-files-were-not-uploaded': '部分檔案未上傳。',
103
- 'file-item-edit-button': '編輯按鈕',
104
- 'file-item-remove-button': '刪除按鈕',
103
+ 'file-item-edit-button': '編輯',
104
+ 'file-item-remove-button': '移除',
105
+ 'a11y-activity-header-button-close': '關閉',
106
+ 'a11y-editor-tab-filters': '篩選器',
107
+ 'a11y-editor-tab-tuning': '調整',
108
+ 'a11y-editor-tab-crop': '裁剪',
109
+ flip: '翻轉',
110
+ mirror: '鏡像',
111
+ 'a11y-cloud-editor-apply-filter': '應用 {{name}} 篩選器',
112
+ 'a11y-cloud-editor-apply-crop': '應用 {{name}} 操作',
113
+ 'a11y-cloud-editor-apply-tuning': '應用 {{name}} 調整',
105
114
  };
@@ -101,6 +101,15 @@ declare const _default: {
101
101
  'some-files-were-not-uploaded': string;
102
102
  'file-item-edit-button': string;
103
103
  'file-item-remove-button': string;
104
+ 'a11y-activity-header-button-close': string;
105
+ 'a11y-editor-tab-filters': string;
106
+ 'a11y-editor-tab-tuning': string;
107
+ 'a11y-editor-tab-crop': string;
108
+ flip: string;
109
+ mirror: string;
110
+ 'a11y-cloud-editor-apply-filter': string;
111
+ 'a11y-cloud-editor-apply-crop': string;
112
+ 'a11y-cloud-editor-apply-tuning': string;
104
113
  };
105
114
  export default _default;
106
115
  //# sourceMappingURL=zh.d.ts.map
@@ -100,6 +100,15 @@ export default {
100
100
  'images-only-accepted': '只接受图像文件。',
101
101
  'file-type-not-allowed': '不允许上传这些文件类型。',
102
102
  'some-files-were-not-uploaded': '有些文件未上传。',
103
- 'file-item-edit-button': '編輯按鈕',
104
- 'file-item-remove-button': '刪除按鈕',
103
+ 'file-item-edit-button': '编辑',
104
+ 'file-item-remove-button': '移除',
105
+ 'a11y-activity-header-button-close': '关闭',
106
+ 'a11y-editor-tab-filters': '过滤器',
107
+ 'a11y-editor-tab-tuning': '调整',
108
+ 'a11y-editor-tab-crop': '裁剪',
109
+ flip: '翻转',
110
+ mirror: '镜像',
111
+ 'a11y-cloud-editor-apply-filter': '应用 {{name}} 过滤器',
112
+ 'a11y-cloud-editor-apply-crop': '应用 {{name}} 操作',
113
+ 'a11y-cloud-editor-apply-tuning': '应用 {{name}} 调整',
105
114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/file-uploader",
3
- "version": "1.4.1-alpha.2",
3
+ "version": "1.5.0",
4
4
  "description": "Building blocks for Uploadcare products integration",
5
5
  "keywords": [
6
6
  "web components",
@@ -4,7 +4,6 @@ export class FileUploaderInline extends SolutionBlock {
4
4
  cancel: () => void;
5
5
  '*commonProgress': number;
6
6
  '*uploadList': never[];
7
- '*focusedEntry': null;
8
7
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
9
8
  '*collectionErrors': any[];
10
9
  '*collectionState': import("./index.js").OutputCollectionState<import("./index.js").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploaderInline.d.ts","sourceRoot":"","sources":["FileUploaderInline.js"],"names":[],"mappings":"AAIA;IAMI;;;;;;;;;;;;;;;;;MAUC;IAGH,gCAGC;IAED,6BAEC;CA0BF;;;;8BAtD6B,oCAAoC"}
1
+ {"version":3,"file":"FileUploaderInline.d.ts","sourceRoot":"","sources":["FileUploaderInline.js"],"names":[],"mappings":"AAIA;IAMI;;;;;;;;;;;;;;;;MAUC;IAGH,gCAGC;IAED,6BAEC;CA0BF;;;;8BAtD6B,oCAAoC"}
@@ -3,11 +3,10 @@ export class FileUploaderRegular extends SolutionBlock {
3
3
  isHidden: boolean;
4
4
  '*commonProgress': number;
5
5
  '*uploadList': never[];
6
- '*focusedEntry': null;
7
6
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
8
7
  '*collectionErrors': any[];
9
8
  '*collectionState': import("./index.js").OutputCollectionState<import("./index.js").OutputCollectionStatus, "maybe-has-group"> | null;
10
- '*groupInfo': import("@uploadcare/upload-client").UploadcareGroup | null;
9
+ '*groupInfo': import("@uploadcare/upload-client").UploadcareGroup | null; /** @private */
11
10
  '*uploadTrigger': Set<string>;
12
11
  '*secureUploadsManager': import("../../../abstract/SecureUploadsManager.js").SecureUploadsManager | null;
13
12
  '*currentActivity': null;
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploaderRegular.d.ts","sourceRoot":"","sources":["FileUploaderRegular.js"],"names":[],"mappings":"AAKA;IAMI;;;;;;;;;;;;;;;;MAGC;IAoBG,eAAe;IACf,yBAAmC;CAK1C;;;;8BAvC6B,oCAAoC"}
1
+ {"version":3,"file":"FileUploaderRegular.d.ts","sourceRoot":"","sources":["FileUploaderRegular.js"],"names":[],"mappings":"AAKA;IAMI;;;;;;;kFAuBI,eAAe;;;;;;;;MApBlB;IAoBG,eAAe;IACf,yBAAmC;CAK1C;;;;8BAvC6B,oCAAoC"}