@uploadcare/file-uploader 1.25.0-alpha.8 → 1.25.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/dist/abstract/loadFileUploaderFrom.js +75 -4
- package/dist/env.js +33 -4
- package/dist/index.css +2660 -5
- package/dist/index.d.ts +962 -1296
- package/dist/index.js +12012 -6
- package/dist/index.layered.css +2716 -4
- package/dist/index.ssr.js +779 -549
- package/dist/locales/file-uploader/ar.js +165 -4
- package/dist/locales/file-uploader/az.js +157 -4
- package/dist/locales/file-uploader/ca.js +159 -4
- package/dist/locales/file-uploader/cs.js +161 -4
- package/dist/locales/file-uploader/da.js +157 -4
- package/dist/locales/file-uploader/de.js +157 -4
- package/dist/locales/file-uploader/el.js +157 -4
- package/dist/locales/file-uploader/en.js +157 -4
- package/dist/locales/file-uploader/es.js +159 -4
- package/dist/locales/file-uploader/et.js +157 -4
- package/dist/locales/file-uploader/fi.js +157 -4
- package/dist/locales/file-uploader/fr.js +159 -4
- package/dist/locales/file-uploader/he.js +159 -4
- package/dist/locales/file-uploader/hy.js +157 -4
- package/dist/locales/file-uploader/is.js +157 -4
- package/dist/locales/file-uploader/it.js +159 -4
- package/dist/locales/file-uploader/ja.js +157 -4
- package/dist/locales/file-uploader/ka.js +157 -4
- package/dist/locales/file-uploader/kk.js +157 -4
- package/dist/locales/file-uploader/ko.js +157 -4
- package/dist/locales/file-uploader/lv.js +159 -4
- package/dist/locales/file-uploader/nb.js +157 -4
- package/dist/locales/file-uploader/nl.js +157 -4
- package/dist/locales/file-uploader/pl.js +161 -4
- package/dist/locales/file-uploader/pt.js +159 -4
- package/dist/locales/file-uploader/ro.js +159 -4
- package/dist/locales/file-uploader/ru.js +161 -4
- package/dist/locales/file-uploader/sk.js +161 -4
- package/dist/locales/file-uploader/sr.js +159 -4
- package/dist/locales/file-uploader/sv.js +157 -4
- package/dist/locales/file-uploader/tr.js +157 -4
- package/dist/locales/file-uploader/uk.js +161 -4
- package/dist/locales/file-uploader/vi.js +157 -4
- package/dist/locales/file-uploader/zh-TW.js +157 -4
- package/dist/locales/file-uploader/zh.js +157 -4
- package/package.json +31 -36
- package/types/jsx.d.ts +48 -75
- package/web/file-uploader.iife.min.d.ts +984 -1318
- package/web/file-uploader.iife.min.js +27 -6
- package/web/file-uploader.min.d.ts +984 -1318
- package/web/file-uploader.min.js +26 -5
- package/web/uc-basic.layered.min.css +23 -4
- package/web/uc-basic.min.css +23 -4
- package/web/uc-cloud-image-editor.layered.min.css +23 -4
- package/web/uc-cloud-image-editor.min.css +23 -4
- package/web/uc-cloud-image-editor.min.d.ts +537 -738
- package/web/uc-cloud-image-editor.min.js +26 -5
- package/web/uc-file-uploader-inline.layered.min.css +23 -4
- package/web/uc-file-uploader-inline.min.css +23 -4
- package/web/uc-file-uploader-inline.min.d.ts +984 -1318
- package/web/uc-file-uploader-inline.min.js +26 -5
- package/web/uc-file-uploader-minimal.layered.min.css +23 -4
- package/web/uc-file-uploader-minimal.min.css +23 -4
- package/web/uc-file-uploader-minimal.min.d.ts +984 -1318
- package/web/uc-file-uploader-minimal.min.js +26 -5
- package/web/uc-file-uploader-regular.layered.min.css +23 -4
- package/web/uc-file-uploader-regular.min.css +23 -4
- package/web/uc-file-uploader-regular.min.d.ts +984 -1318
- package/web/uc-file-uploader-regular.min.js +26 -5
- package/web/uc-img.min.d.ts +100 -55
- package/web/uc-img.min.js +25 -5
- package/web/file-uploader.iife.min.js.LEGAL.txt +0 -71
- package/web/file-uploader.min.js.LEGAL.txt +0 -71
- package/web/uc-cloud-image-editor.min.js.LEGAL.txt +0 -70
- package/web/uc-file-uploader-inline.min.js.LEGAL.txt +0 -71
- package/web/uc-file-uploader-minimal.min.js.LEGAL.txt +0 -71
- package/web/uc-file-uploader-regular.min.js.LEGAL.txt +0 -71
- package/web/uc-img.min.js.LEGAL.txt +0 -24
|
@@ -1,7 +1,160 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* MIT License
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2025 Uploadcare (hello@uploadcare.com). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
* copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
* SOFTWARE.
|
|
24
|
+
*
|
|
6
25
|
*/
|
|
7
|
-
|
|
26
|
+
|
|
27
|
+
// src/locales/file-uploader/zh-TW.js
|
|
28
|
+
var zh_TW_default = {
|
|
29
|
+
"locale-id": "zh-TW",
|
|
30
|
+
"social-source-lang": "zh-TW",
|
|
31
|
+
"upload-file": "\u4E0A\u50B3\u6A94\u6848",
|
|
32
|
+
"upload-files": "\u4E0A\u50B3\u591A\u500B\u6A94\u6848",
|
|
33
|
+
"choose-file": "\u9078\u64C7\u6A94\u6848",
|
|
34
|
+
"choose-files": "\u9078\u64C7\u591A\u500B\u6A94\u6848",
|
|
35
|
+
"drop-files-here": "\u5C07\u6A94\u6848\u62D6\u66F3\u81F3\u6B64",
|
|
36
|
+
"select-file-source": "\u9078\u64C7\u6A94\u6848\u4F86\u6E90",
|
|
37
|
+
selected: "\u5DF2\u9078\u64C7",
|
|
38
|
+
upload: "\u4E0A\u50B3",
|
|
39
|
+
"add-more": "\u65B0\u589E\u66F4\u591A",
|
|
40
|
+
cancel: "\u53D6\u6D88",
|
|
41
|
+
"start-from-cancel": "\u53D6\u6D88",
|
|
42
|
+
clear: "\u6E05\u9664",
|
|
43
|
+
"camera-shot": "\u62CD\u651D",
|
|
44
|
+
"upload-url": "\u532F\u5165",
|
|
45
|
+
"upload-url-placeholder": "\u8CBC\u4E0A\u9023\u7D50",
|
|
46
|
+
"edit-image": "\u7DE8\u8F2F\u5716\u7247",
|
|
47
|
+
"edit-detail": "\u7DE8\u8F2F\u8A73\u60C5",
|
|
48
|
+
back: "\u8FD4\u56DE",
|
|
49
|
+
done: "\u5B8C\u6210",
|
|
50
|
+
ok: "\u78BA\u5B9A",
|
|
51
|
+
"remove-from-list": "\u79FB\u9664",
|
|
52
|
+
no: "\u5426",
|
|
53
|
+
yes: "\u662F",
|
|
54
|
+
"confirm-your-action": "\u78BA\u8A8D\u60A8\u7684\u64CD\u4F5C",
|
|
55
|
+
"are-you-sure": "\u60A8\u78BA\u5B9A\u55CE\uFF1F",
|
|
56
|
+
"selected-count": "\u5DF2\u9078\u64C7\uFF1A",
|
|
57
|
+
"upload-error": "\u4E0A\u50B3\u932F\u8AA4",
|
|
58
|
+
"validation-error": "\u9A57\u8B49\u932F\u8AA4",
|
|
59
|
+
"no-files": "\u672A\u9078\u64C7\u4EFB\u4F55\u6A94\u6848",
|
|
60
|
+
browse: "\u700F\u89BD",
|
|
61
|
+
"not-uploaded-yet": "\u5C1A\u672A\u4E0A\u50B3...",
|
|
62
|
+
file__one: "\u500B\u6A94\u6848",
|
|
63
|
+
file__other: "\u500B\u6A94\u6848",
|
|
64
|
+
error__one: "\u500B\u932F\u8AA4",
|
|
65
|
+
error__other: "\u500B\u932F\u8AA4",
|
|
66
|
+
"header-uploading": "\u6B63\u5728\u4E0A\u50B3 {{count}} {{plural:file(count)}}",
|
|
67
|
+
"header-failed": "{{count}} {{plural:error(count)}}",
|
|
68
|
+
"header-succeed": "\u5DF2\u4E0A\u50B3 {{count}} {{plural:file(count)}}",
|
|
69
|
+
"header-total": "\u5DF2\u9078\u64C7 {{count}} {{plural:file(count)}}",
|
|
70
|
+
"src-type-local": "\u5F9E\u88DD\u7F6E",
|
|
71
|
+
"src-type-from-url": "\u5F9E\u9023\u7D50",
|
|
72
|
+
"src-type-camera": "\u76F8\u6A5F",
|
|
73
|
+
"src-type-draw": "\u7E6A\u5716",
|
|
74
|
+
"src-type-facebook": "Facebook",
|
|
75
|
+
"src-type-dropbox": "Dropbox",
|
|
76
|
+
"src-type-gdrive": "Google Drive",
|
|
77
|
+
"src-type-ngdrive": "Google Drive",
|
|
78
|
+
"src-type-gphotos": "Google Photos",
|
|
79
|
+
"src-type-flickr": "Flickr",
|
|
80
|
+
"src-type-vk": "VK",
|
|
81
|
+
"src-type-evernote": "Evernote",
|
|
82
|
+
"src-type-box": "Box",
|
|
83
|
+
"src-type-onedrive": "OneDrive",
|
|
84
|
+
"src-type-huddle": "Huddle",
|
|
85
|
+
"src-type-other": "\u5176\u4ED6",
|
|
86
|
+
"src-type-mobile-video-camera": "\u5F71\u7247",
|
|
87
|
+
"src-type-mobile-photo-camera": "\u7167\u7247",
|
|
88
|
+
"caption-from-url": "\u5F9E\u9023\u7D50\u532F\u5165",
|
|
89
|
+
"caption-camera": "\u76F8\u6A5F",
|
|
90
|
+
"caption-draw": "\u7E6A\u5716",
|
|
91
|
+
"caption-edit-file": "\u7DE8\u8F2F\u6A94\u6848",
|
|
92
|
+
"file-no-name": "\u7121\u540D\u7A31...",
|
|
93
|
+
"toggle-fullscreen": "\u5207\u63DB\u5168\u87A2\u5E55",
|
|
94
|
+
"toggle-guides": "\u5207\u63DB\u6307\u5357",
|
|
95
|
+
rotate: "\u65CB\u8F49",
|
|
96
|
+
"flip-vertical": "\u5782\u76F4\u7FFB\u8F49",
|
|
97
|
+
"flip-horizontal": "\u6C34\u5E73\u7FFB\u8F49",
|
|
98
|
+
apply: "\u61C9\u7528",
|
|
99
|
+
brightness: "\u4EAE\u5EA6",
|
|
100
|
+
contrast: "\u5C0D\u6BD4",
|
|
101
|
+
saturation: "\u98FD\u548C\u5EA6",
|
|
102
|
+
exposure: "\u66DD\u5149",
|
|
103
|
+
gamma: "\u4F3D\u746A",
|
|
104
|
+
vibrance: "\u6D3B\u529B",
|
|
105
|
+
warmth: "\u6EAB\u6696",
|
|
106
|
+
enhance: "\u589E\u5F37",
|
|
107
|
+
original: "\u539F\u59CB",
|
|
108
|
+
resize: "\u8ABF\u6574\u5716\u7247\u5927\u5C0F",
|
|
109
|
+
crop: "\u88C1\u526A",
|
|
110
|
+
"select-color": "\u9078\u64C7\u984F\u8272",
|
|
111
|
+
text: "\u6587\u5B57",
|
|
112
|
+
draw: "\u7E6A\u5716",
|
|
113
|
+
"cancel-edit": "\u53D6\u6D88\u7DE8\u8F2F",
|
|
114
|
+
"tab-view": "\u9810\u89BD",
|
|
115
|
+
"tab-details": "\u8A73\u60C5",
|
|
116
|
+
"file-name": "\u540D\u7A31",
|
|
117
|
+
"file-size": "\u5927\u5C0F",
|
|
118
|
+
"cdn-url": "CDN \u7DB2\u5740",
|
|
119
|
+
"file-size-unknown": "\u672A\u77E5",
|
|
120
|
+
"camera-permissions-denied": "\u76F8\u6A5F\u8A2A\u554F\u88AB\u62D2\u7D55",
|
|
121
|
+
"camera-permissions-prompt": "\u8ACB\u5141\u8A31\u8A2A\u554F\u76F8\u6A5F",
|
|
122
|
+
"camera-permissions-request": "\u8ACB\u6C42\u8A2A\u554F",
|
|
123
|
+
"files-count-limit-error-title": "\u6A94\u6848\u6578\u91CF\u8D85\u51FA\u9650\u5236",
|
|
124
|
+
"files-count-limit-error-too-few": "\u60A8\u9078\u64C7\u4E86 {{total}} {{plural:file(total)}}\u3002\u81F3\u5C11\u9700\u8981 {{min}} {{plural:file(min)}}\u3002",
|
|
125
|
+
"files-count-limit-error-too-many": "\u60A8\u9078\u64C7\u7684\u6A94\u6848\u592A\u591A\u3002\u6700\u591A {{max}} {{plural:file(max)}}\u3002",
|
|
126
|
+
"files-max-size-limit-error": "\u6A94\u6848\u904E\u5927\u3002\u6700\u5927\u6A94\u6848\u5927\u5C0F\u70BA {{maxFileSize}}\u3002",
|
|
127
|
+
"has-validation-errors": "\u6A94\u6848\u9A57\u8B49\u932F\u8AA4\u767C\u751F\u3002\u8ACB\u5728\u4E0A\u50B3\u524D\u6AA2\u67E5\u60A8\u7684\u6A94\u6848\u3002",
|
|
128
|
+
"images-only-accepted": "\u50C5\u63A5\u53D7\u5716\u7247\u6A94\u6848\u3002",
|
|
129
|
+
"file-type-not-allowed": "\u4E0D\u5141\u8A31\u4E0A\u50B3\u9019\u4E9B\u6A94\u6848\u985E\u578B\u3002",
|
|
130
|
+
"some-files-were-not-uploaded": "\u90E8\u5206\u6A94\u6848\u672A\u4E0A\u50B3\u3002",
|
|
131
|
+
"file-item-edit-button": "\u7DE8\u8F2F",
|
|
132
|
+
"file-item-remove-button": "\u79FB\u9664",
|
|
133
|
+
"a11y-activity-header-button-close": "\u95DC\u9589",
|
|
134
|
+
"a11y-editor-tab-filters": "\u7BE9\u9078\u5668",
|
|
135
|
+
"a11y-editor-tab-tuning": "\u8ABF\u6574",
|
|
136
|
+
"a11y-editor-tab-crop": "\u88C1\u526A",
|
|
137
|
+
flip: "\u7FFB\u8F49",
|
|
138
|
+
mirror: "\u93E1\u50CF",
|
|
139
|
+
"a11y-cloud-editor-apply-filter": "\u61C9\u7528 {{name}} \u7BE9\u9078\u5668",
|
|
140
|
+
"a11y-cloud-editor-apply-crop": "\u61C9\u7528 {{name}} \u64CD\u4F5C",
|
|
141
|
+
"a11y-cloud-editor-apply-tuning": "\u61C9\u7528 {{name}} \u8ABF\u6574",
|
|
142
|
+
finished: "\u5B8C\u6210",
|
|
143
|
+
failed: "\u5931\u6557",
|
|
144
|
+
uploading: "\u4E0A\u50B3\u4E2D",
|
|
145
|
+
idle: "\u9592\u7F6E",
|
|
146
|
+
"a11y-file-item-status": "\u6A94\u6848 {{fileName}} \u7684\u72C0\u614B\u662F {{status}}",
|
|
147
|
+
"select-all": "\u5168\u9078",
|
|
148
|
+
"deselect-all": "\u53D6\u6D88\u5168\u9078",
|
|
149
|
+
"waiting-for": "\u7B49\u5F85 {{source}}",
|
|
150
|
+
"queued-uploading": "\u6392\u968A\u7B49\u5F85\u4E0A\u50B3",
|
|
151
|
+
"queued-validation": "\u6392\u968A\u7B49\u5F85\u9A57\u8B49",
|
|
152
|
+
validation: "\u9A57\u8B49\u4E2D",
|
|
153
|
+
"a11y-cloud-editor-apply-aspect-ratio": "\u5957\u7528\u64CD\u4F5C {{name}} {{value}}",
|
|
154
|
+
"crop-to-shape": "\u88C1\u526A\u70BA {{value}}",
|
|
155
|
+
custom: "\u81EA\u7531\u5F62\u5F0F",
|
|
156
|
+
"freeform-crop": "\u81EA\u7531\u88C1\u526A"
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
zh_TW_default as default
|
|
160
|
+
};
|
|
@@ -1,7 +1,160 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* MIT License
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2025 Uploadcare (hello@uploadcare.com). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
* copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
* SOFTWARE.
|
|
24
|
+
*
|
|
6
25
|
*/
|
|
7
|
-
|
|
26
|
+
|
|
27
|
+
// src/locales/file-uploader/zh.js
|
|
28
|
+
var zh_default = {
|
|
29
|
+
"locale-id": "zh",
|
|
30
|
+
"social-source-lang": "zh",
|
|
31
|
+
"upload-file": "\u4E0A\u4F20\u6587\u4EF6",
|
|
32
|
+
"upload-files": "\u4E0A\u4F20\u591A\u4E2A\u6587\u4EF6",
|
|
33
|
+
"choose-file": "\u9009\u62E9\u6587\u4EF6",
|
|
34
|
+
"choose-files": "\u9009\u62E9\u591A\u4E2A\u6587\u4EF6",
|
|
35
|
+
"drop-files-here": "\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904",
|
|
36
|
+
"select-file-source": "\u9009\u62E9\u6587\u4EF6\u6E90",
|
|
37
|
+
selected: "\u5DF2\u9009\u62E9",
|
|
38
|
+
upload: "\u4E0A\u4F20",
|
|
39
|
+
"add-more": "\u6DFB\u52A0\u66F4\u591A",
|
|
40
|
+
cancel: "\u53D6\u6D88",
|
|
41
|
+
"start-from-cancel": "\u5F00\u59CB\u4ECE\u53D6\u6D88",
|
|
42
|
+
clear: "\u6E05\u9664",
|
|
43
|
+
"camera-shot": "\u62CD\u6444",
|
|
44
|
+
"upload-url": "\u5BFC\u5165",
|
|
45
|
+
"upload-url-placeholder": "\u5728\u6B64\u5904\u7C98\u8D34\u94FE\u63A5",
|
|
46
|
+
"edit-image": "\u7F16\u8F91\u56FE\u7247",
|
|
47
|
+
"edit-detail": "\u8BE6\u60C5",
|
|
48
|
+
back: "\u8FD4\u56DE",
|
|
49
|
+
done: "\u5B8C\u6210",
|
|
50
|
+
ok: "\u786E\u5B9A",
|
|
51
|
+
"remove-from-list": "\u79FB\u9664",
|
|
52
|
+
no: "\u5426",
|
|
53
|
+
yes: "\u662F",
|
|
54
|
+
"confirm-your-action": "\u786E\u8BA4\u60A8\u7684\u64CD\u4F5C",
|
|
55
|
+
"are-you-sure": "\u60A8\u786E\u5B9A\u5417\uFF1F",
|
|
56
|
+
"selected-count": "\u5DF2\u9009\u62E9\uFF1A",
|
|
57
|
+
"upload-error": "\u4E0A\u4F20\u9519\u8BEF",
|
|
58
|
+
"validation-error": "\u9A8C\u8BC1\u9519\u8BEF",
|
|
59
|
+
"no-files": "\u672A\u9009\u62E9\u6587\u4EF6",
|
|
60
|
+
browse: "\u6D4F\u89C8",
|
|
61
|
+
"not-uploaded-yet": "\u5C1A\u672A\u4E0A\u4F20...",
|
|
62
|
+
file__one: "\u6587\u4EF6",
|
|
63
|
+
file__other: "\u6587\u4EF6",
|
|
64
|
+
error__one: "\u9519\u8BEF",
|
|
65
|
+
error__other: "\u9519\u8BEF",
|
|
66
|
+
"header-uploading": "\u6B63\u5728\u4E0A\u4F20 {{count}} {{plural:file(count)}}",
|
|
67
|
+
"header-failed": "{{count}} {{plural:error(count)}}",
|
|
68
|
+
"header-succeed": "{{count}} {{plural:file(count)}} \u5DF2\u4E0A\u4F20",
|
|
69
|
+
"header-total": "{{count}} {{plural:file(count)}} \u5DF2\u9009\u62E9",
|
|
70
|
+
"src-type-local": "\u4ECE\u8BBE\u5907",
|
|
71
|
+
"src-type-from-url": "\u4ECE\u94FE\u63A5",
|
|
72
|
+
"src-type-camera": "\u76F8\u673A",
|
|
73
|
+
"src-type-draw": "\u7ED8\u5236",
|
|
74
|
+
"src-type-facebook": "Facebook",
|
|
75
|
+
"src-type-dropbox": "Dropbox",
|
|
76
|
+
"src-type-gdrive": "Google Drive",
|
|
77
|
+
"src-type-ngdrive": "Google Drive",
|
|
78
|
+
"src-type-gphotos": "Google Photos",
|
|
79
|
+
"src-type-flickr": "Flickr",
|
|
80
|
+
"src-type-vk": "VK",
|
|
81
|
+
"src-type-evernote": "Evernote",
|
|
82
|
+
"src-type-box": "Box",
|
|
83
|
+
"src-type-onedrive": "OneDrive",
|
|
84
|
+
"src-type-huddle": "Huddle",
|
|
85
|
+
"src-type-other": "\u5176\u4ED6",
|
|
86
|
+
"src-type-mobile-video-camera": "\u89C6\u9891",
|
|
87
|
+
"src-type-mobile-photo-camera": "\u7167\u7247",
|
|
88
|
+
"caption-from-url": "\u4ECE\u94FE\u63A5\u5BFC\u5165",
|
|
89
|
+
"caption-camera": "\u76F8\u673A",
|
|
90
|
+
"caption-draw": "\u7ED8\u5236",
|
|
91
|
+
"caption-edit-file": "\u7F16\u8F91\u6587\u4EF6",
|
|
92
|
+
"file-no-name": "\u65E0\u540D\u79F0...",
|
|
93
|
+
"toggle-fullscreen": "\u5207\u6362\u5168\u5C4F",
|
|
94
|
+
"toggle-guides": "\u5207\u6362\u6307\u5357",
|
|
95
|
+
rotate: "\u65CB\u8F6C",
|
|
96
|
+
"flip-vertical": "\u5782\u76F4\u7FFB\u8F6C",
|
|
97
|
+
"flip-horizontal": "\u6C34\u5E73\u7FFB\u8F6C",
|
|
98
|
+
apply: "\u5E94\u7528",
|
|
99
|
+
brightness: "\u4EAE\u5EA6",
|
|
100
|
+
contrast: "\u5BF9\u6BD4",
|
|
101
|
+
saturation: "\u9971\u548C\u5EA6",
|
|
102
|
+
exposure: "\u66DD\u5149",
|
|
103
|
+
gamma: "\u4F3D\u9A6C",
|
|
104
|
+
vibrance: "\u6D3B\u529B",
|
|
105
|
+
warmth: "\u6E29\u6696",
|
|
106
|
+
enhance: "\u589E\u5F3A",
|
|
107
|
+
original: "\u539F\u59CB",
|
|
108
|
+
resize: "\u8C03\u6574\u56FE\u7247\u5927\u5C0F",
|
|
109
|
+
crop: "\u88C1\u526A",
|
|
110
|
+
"select-color": "\u9009\u62E9\u989C\u8272",
|
|
111
|
+
text: "\u6587\u672C",
|
|
112
|
+
draw: "\u7ED8\u5236",
|
|
113
|
+
"cancel-edit": "\u53D6\u6D88\u7F16\u8F91",
|
|
114
|
+
"tab-view": "\u9884\u89C8",
|
|
115
|
+
"tab-details": "\u8BE6\u60C5",
|
|
116
|
+
"file-name": "\u540D\u79F0",
|
|
117
|
+
"file-size": "\u5927\u5C0F",
|
|
118
|
+
"cdn-url": "CDN URL",
|
|
119
|
+
"file-size-unknown": "\u672A\u77E5",
|
|
120
|
+
"camera-permissions-denied": "\u76F8\u673A\u8BBF\u95EE\u88AB\u62D2\u7EDD",
|
|
121
|
+
"camera-permissions-prompt": "\u8BF7\u5141\u8BB8\u8BBF\u95EE\u76F8\u673A",
|
|
122
|
+
"camera-permissions-request": "\u8BF7\u6C42\u8BBF\u95EE",
|
|
123
|
+
"files-count-limit-error-title": "\u6587\u4EF6\u6570\u91CF\u9650\u5236\u8D85\u51FA",
|
|
124
|
+
"files-count-limit-error-too-few": "\u60A8\u9009\u62E9\u4E86 {{total}} {{plural:file(total)}}\u3002\u81F3\u5C11\u9700\u8981 {{min}} {{plural:file(min)}}\u3002",
|
|
125
|
+
"files-count-limit-error-too-many": "\u60A8\u9009\u62E9\u7684\u6587\u4EF6\u592A\u591A\u4E86\u3002\u6700\u591A {{max}} {{plural:file(max)}}\u3002",
|
|
126
|
+
"files-max-size-limit-error": "\u6587\u4EF6\u592A\u5927\u3002\u6700\u5927\u6587\u4EF6\u5927\u5C0F\u4E3A {{maxFileSize}}\u3002",
|
|
127
|
+
"has-validation-errors": "\u6587\u4EF6\u9A8C\u8BC1\u9519\u8BEF\u53D1\u751F\u3002\u8BF7\u5728\u4E0A\u4F20\u524D\u68C0\u67E5\u60A8\u7684\u6587\u4EF6\u3002",
|
|
128
|
+
"images-only-accepted": "\u53EA\u63A5\u53D7\u56FE\u50CF\u6587\u4EF6\u3002",
|
|
129
|
+
"file-type-not-allowed": "\u4E0D\u5141\u8BB8\u4E0A\u4F20\u8FD9\u4E9B\u6587\u4EF6\u7C7B\u578B\u3002",
|
|
130
|
+
"some-files-were-not-uploaded": "\u6709\u4E9B\u6587\u4EF6\u672A\u4E0A\u4F20\u3002",
|
|
131
|
+
"file-item-edit-button": "\u7F16\u8F91",
|
|
132
|
+
"file-item-remove-button": "\u79FB\u9664",
|
|
133
|
+
"a11y-activity-header-button-close": "\u5173\u95ED",
|
|
134
|
+
"a11y-editor-tab-filters": "\u8FC7\u6EE4\u5668",
|
|
135
|
+
"a11y-editor-tab-tuning": "\u8C03\u6574",
|
|
136
|
+
"a11y-editor-tab-crop": "\u88C1\u526A",
|
|
137
|
+
flip: "\u7FFB\u8F6C",
|
|
138
|
+
mirror: "\u955C\u50CF",
|
|
139
|
+
"a11y-cloud-editor-apply-filter": "\u5E94\u7528 {{name}} \u8FC7\u6EE4\u5668",
|
|
140
|
+
"a11y-cloud-editor-apply-crop": "\u5E94\u7528 {{name}} \u64CD\u4F5C",
|
|
141
|
+
"a11y-cloud-editor-apply-tuning": "\u5E94\u7528 {{name}} \u8C03\u6574",
|
|
142
|
+
finished: "\u5DF2\u5B8C\u6210",
|
|
143
|
+
failed: "\u5931\u8D25",
|
|
144
|
+
uploading: "\u4E0A\u4F20\u4E2D",
|
|
145
|
+
idle: "\u7A7A\u95F2",
|
|
146
|
+
"a11y-file-item-status": "\u6587\u4EF6 {{fileName}} \u7684\u72B6\u6001\u662F {{status}}",
|
|
147
|
+
"select-all": "\u5168\u9009",
|
|
148
|
+
"deselect-all": "\u53D6\u6D88\u5168\u9009",
|
|
149
|
+
"waiting-for": "\u7B49\u5F85 {{source}}",
|
|
150
|
+
"queued-uploading": "\u6392\u961F\u7B49\u5F85\u4E0A\u4F20",
|
|
151
|
+
"queued-validation": "\u6392\u961F\u7B49\u5F85\u9A8C\u8BC1",
|
|
152
|
+
validation: "\u6B63\u5728\u9A8C\u8BC1",
|
|
153
|
+
"a11y-cloud-editor-apply-aspect-ratio": "\u5E94\u7528\u64CD\u4F5C {{name}} {{value}}",
|
|
154
|
+
"crop-to-shape": "\u88C1\u526A\u4E3A {{value}}",
|
|
155
|
+
custom: "\u81EA\u7531\u5F62\u5F0F",
|
|
156
|
+
"freeform-crop": "\u81EA\u7531\u88C1\u526A"
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
zh_default as default
|
|
160
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/file-uploader",
|
|
3
|
-
"version": "1.25.0
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Building blocks for Uploadcare products integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web components",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"homepage": "https://uploadcare.com/",
|
|
69
69
|
"files": [
|
|
70
|
-
"{dist,web,types}/**/*.{js,css,d.ts,d.ts.map
|
|
70
|
+
"{dist,web,types}/**/*.{js,css,d.ts,d.ts.map}",
|
|
71
71
|
"README.md",
|
|
72
72
|
"LICENSE"
|
|
73
73
|
],
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"test:publint": "publint",
|
|
83
83
|
"test:specs": "vitest run --project specs",
|
|
84
84
|
"test:e2e": "vitest run --coverage --project e2e",
|
|
85
|
-
"test:e2e:dev": "vitest --browser.headless=false",
|
|
85
|
+
"test:e2e:dev": "vitest --coverage --browser.headless=false",
|
|
86
86
|
"test:locales": "tsx ./scripts/test-locales.ts",
|
|
87
87
|
"release": "shipjs prepare",
|
|
88
88
|
"build:lib": "npm run clean:web && npm run clean:dist && tsx ./scripts/build.ts",
|
|
@@ -110,57 +110,52 @@
|
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
113
|
-
"@biomejs/biome": "2.
|
|
114
|
-
"@biomejs/js-api": "^
|
|
115
|
-
"@biomejs/wasm-nodejs": "^2.
|
|
113
|
+
"@biomejs/biome": "2.2.5",
|
|
114
|
+
"@biomejs/js-api": "^3.0.0",
|
|
115
|
+
"@biomejs/wasm-nodejs": "^2.2.5",
|
|
116
116
|
"@csstools/postcss-cascade-layers": "^5.0.2",
|
|
117
|
-
"@happy-dom/global-registrator": "^20.0
|
|
117
|
+
"@happy-dom/global-registrator": "^20.1.0",
|
|
118
118
|
"@size-limit/esbuild-why": "^11.2.0",
|
|
119
119
|
"@size-limit/preset-small-lib": "^11.2.0",
|
|
120
120
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
121
|
-
"@types/node": "^
|
|
122
|
-
"@types/react": "^18.
|
|
121
|
+
"@types/node": "^22",
|
|
122
|
+
"@types/react": "^18.2.34",
|
|
123
123
|
"@types/svg-sprite": "^0.0.39",
|
|
124
|
-
"@vitest/browser": "^
|
|
125
|
-
"@vitest/
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"lint-staged": "^16.2.6",
|
|
131
|
-
"node-watch": "^0.7.4",
|
|
124
|
+
"@vitest/browser": "^3.2.4",
|
|
125
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
126
|
+
"esbuild": "^0.25.10",
|
|
127
|
+
"husky": "^8.0.3",
|
|
128
|
+
"lint-staged": "^13.2.1",
|
|
129
|
+
"node-watch": "^0.7.3",
|
|
132
130
|
"npm-run-all": "^4.1.5",
|
|
133
|
-
"playwright": "^1.
|
|
131
|
+
"playwright": "^1.55.0",
|
|
134
132
|
"postcss": "^8.5.6",
|
|
135
|
-
"publint": "^0.3.
|
|
133
|
+
"publint": "^0.3.14",
|
|
136
134
|
"render-jsx": "^0.2.4",
|
|
137
|
-
"rimraf": "^
|
|
135
|
+
"rimraf": "^5.0.0",
|
|
138
136
|
"shipjs": "^0.27.0",
|
|
139
137
|
"size-limit": "^11.2.0",
|
|
140
|
-
"stylelint": "^
|
|
141
|
-
"stylelint-config-standard": "^
|
|
142
|
-
"stylelint-declaration-block-no-ignored-properties": "^2.
|
|
143
|
-
"stylelint-order": "^
|
|
138
|
+
"stylelint": "^15.4.0",
|
|
139
|
+
"stylelint-config-standard": "^32.0.0",
|
|
140
|
+
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
141
|
+
"stylelint-order": "^6.0.3",
|
|
144
142
|
"svg-sprite": "^2.0.4",
|
|
145
|
-
"tsd": "^0.
|
|
143
|
+
"tsd": "^0.32.0",
|
|
146
144
|
"tsup": "^8.5.0",
|
|
147
145
|
"tsx": "^4.20.6",
|
|
148
146
|
"typescript": "^5.9.3",
|
|
149
|
-
"vite": "
|
|
150
|
-
"vitest": "^
|
|
151
|
-
"vitest-browser-lit": "^1.0.1"
|
|
147
|
+
"vite": "npm:rolldown-vite@latest",
|
|
148
|
+
"vitest": "^3.2.4"
|
|
152
149
|
},
|
|
153
150
|
"author": "Uploadcare Inc.",
|
|
154
151
|
"license": "MIT",
|
|
155
152
|
"dependencies": {
|
|
156
|
-
"@
|
|
157
|
-
"@uploadcare/cname-prefix": "^6.18.
|
|
158
|
-
"@uploadcare/image-shrink": "^6.18.
|
|
159
|
-
"@uploadcare/quality-insights": "^6.18.
|
|
160
|
-
"@uploadcare/upload-client": "^6.18.
|
|
161
|
-
"keyux": "^0.7.1"
|
|
162
|
-
"lit": "^3.3.1",
|
|
163
|
-
"nanostores": "^1.1.0"
|
|
153
|
+
"@symbiotejs/symbiote": "^1.11.7",
|
|
154
|
+
"@uploadcare/cname-prefix": "^6.18.3",
|
|
155
|
+
"@uploadcare/image-shrink": "^6.18.3",
|
|
156
|
+
"@uploadcare/quality-insights": "^6.18.3",
|
|
157
|
+
"@uploadcare/upload-client": "^6.18.3",
|
|
158
|
+
"keyux": "^0.7.1"
|
|
164
159
|
},
|
|
165
160
|
"size-limit": [
|
|
166
161
|
{
|
package/types/jsx.d.ts
CHANGED
|
@@ -1,93 +1,66 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
|
|
3
|
-
type
|
|
3
|
+
type ConfigPlainType = import('../dist/index.ts').ConfigPlainType;
|
|
4
4
|
type UploadCtxProvider = import('../dist/index.ts').UploadCtxProvider;
|
|
5
5
|
type Config = import('../dist/index.ts').Config;
|
|
6
6
|
type FileUploaderInline = import('../dist/index.ts').FileUploaderInline;
|
|
7
7
|
type FileUploaderRegular = import('../dist/index.ts').FileUploaderRegular;
|
|
8
8
|
type FileUploaderMinimal = import('../dist/index.ts').FileUploaderMinimal;
|
|
9
|
-
type BtnUi = import('../dist/index.ts').BtnUi;
|
|
10
|
-
type LineLoaderUi = import('../dist/index.ts').LineLoaderUi;
|
|
11
|
-
type PresenceToggle = import('../dist/index.ts').PresenceToggle;
|
|
12
|
-
type SliderUi = import('../dist/index.ts').SliderUi;
|
|
13
|
-
type CropFrame = import('../dist/index.ts').CropFrame;
|
|
14
|
-
type EditorCropButtonControl = import('../dist/index.ts').EditorCropButtonControl;
|
|
15
|
-
type EditorAspectRatioButtonControl = import('../dist/index.ts').EditorAspectRatioButtonControl;
|
|
16
|
-
type EditorFreeformButtonControl = import('../dist/index.ts').EditorFreeformButtonControl;
|
|
17
|
-
type EditorFilterControl = import('../dist/index.ts').EditorFilterControl;
|
|
18
|
-
type EditorOperationControl = import('../dist/index.ts').EditorOperationControl;
|
|
19
|
-
type EditorImageCropper = import('../dist/index.ts').EditorImageCropper;
|
|
20
|
-
type EditorImageFader = import('../dist/index.ts').EditorImageFader;
|
|
21
|
-
type EditorScroller = import('../dist/index.ts').EditorScroller;
|
|
22
|
-
type EditorSlider = import('../dist/index.ts').EditorSlider;
|
|
23
|
-
type EditorToolbar = import('../dist/index.ts').EditorToolbar;
|
|
24
|
-
type Icon = import('../dist/index.ts').Icon;
|
|
25
|
-
type Img = import('../dist/index.ts').Img;
|
|
26
|
-
type SimpleBtn = import('../dist/index.ts').SimpleBtn;
|
|
27
|
-
type StartFrom = import('../dist/index.ts').StartFrom;
|
|
28
|
-
type DropArea = import('../dist/index.ts').DropArea;
|
|
29
|
-
type SourceBtn = import('../dist/index.ts').SourceBtn;
|
|
30
|
-
type SourceList = import('../dist/index.ts').SourceList;
|
|
31
|
-
type FileItem = import('../dist/index.ts').FileItem;
|
|
32
|
-
type Modal = import('../dist/index.ts').Modal;
|
|
33
|
-
type UploadList = import('../dist/index.ts').UploadList;
|
|
34
|
-
type UrlSource = import('../dist/index.ts').UrlSource;
|
|
35
|
-
type CameraSource = import('../dist/index.ts').CameraSource;
|
|
36
|
-
type ProgressBarCommon = import('../dist/index.ts').ProgressBarCommon;
|
|
37
|
-
type ProgressBar = import('../dist/index.ts').ProgressBar;
|
|
38
|
-
type ExternalSource = import('../dist/index.ts').ExternalSource;
|
|
39
|
-
type CloudImageEditorActivity = import('../dist/index.ts').CloudImageEditorActivity;
|
|
40
9
|
type FormInput = import('../dist/index.ts').FormInput;
|
|
41
10
|
type CloudImageEditorBlock = import('../dist/index.ts').CloudImageEditorBlock;
|
|
42
|
-
|
|
11
|
+
type CtxAttributes = {
|
|
12
|
+
'ctx-name': string;
|
|
13
|
+
testMode?: boolean;
|
|
14
|
+
};
|
|
43
15
|
type CommonHtmlAttributes<T> = Partial<
|
|
44
16
|
Pick<React.HTMLAttributes<T>, 'id' | 'children' | 'hidden'> & { class: React.HTMLAttributes<T>['className'] }
|
|
45
17
|
>;
|
|
46
18
|
|
|
47
|
-
type
|
|
48
|
-
|
|
49
|
-
type CustomElement<C extends LitElement> = React.DetailedHTMLProps<CommonHtmlAttributes<C>, C> & ReflectAttributes<C>;
|
|
19
|
+
type CustomElement<C, A = {}> = React.DetailedHTMLProps<CommonHtmlAttributes<C>, C> & A;
|
|
50
20
|
|
|
51
21
|
declare namespace JSX {
|
|
52
22
|
interface IntrinsicElements {
|
|
53
|
-
'uc-crop-frame':
|
|
54
|
-
'uc-editor-crop-button-control':
|
|
55
|
-
'uc-editor-aspect-ratio-button-control':
|
|
56
|
-
'uc-editor-freeform-button-control':
|
|
57
|
-
'uc-editor-filter-control':
|
|
58
|
-
'uc-editor-operation-control':
|
|
59
|
-
'uc-editor-image-cropper':
|
|
60
|
-
'uc-editor-image-fader':
|
|
61
|
-
'uc-editor-scroller':
|
|
62
|
-
'uc-editor-slider':
|
|
63
|
-
'uc-editor-toolbar':
|
|
64
|
-
'uc-btn-ui':
|
|
65
|
-
'uc-line-loader-ui':
|
|
66
|
-
'uc-presence-toggle':
|
|
67
|
-
'uc-slider-ui':
|
|
68
|
-
'uc-icon':
|
|
69
|
-
'uc-img':
|
|
70
|
-
'uc-simple-btn':
|
|
71
|
-
'uc-start-from':
|
|
72
|
-
'uc-drop-area':
|
|
73
|
-
'uc-source-btn':
|
|
74
|
-
'uc-source-list':
|
|
75
|
-
'uc-file-item':
|
|
76
|
-
'uc-modal':
|
|
77
|
-
'uc-upload-list':
|
|
78
|
-
'uc-url-source':
|
|
79
|
-
'uc-camera-source':
|
|
80
|
-
'uc-progress-bar-common':
|
|
81
|
-
'uc-progress-bar':
|
|
82
|
-
'uc-external-source':
|
|
83
|
-
'uc-cloud-image-editor-activity':
|
|
84
|
-
'uc-cloud-image-editor-block': CustomElement<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
'uc-
|
|
89
|
-
'uc-
|
|
90
|
-
'uc-
|
|
91
|
-
'uc-
|
|
23
|
+
'uc-crop-frame': any;
|
|
24
|
+
'uc-editor-crop-button-control': any;
|
|
25
|
+
'uc-editor-aspect-ratio-button-control': any;
|
|
26
|
+
'uc-editor-freeform-button-control': any;
|
|
27
|
+
'uc-editor-filter-control': any;
|
|
28
|
+
'uc-editor-operation-control': any;
|
|
29
|
+
'uc-editor-image-cropper': any;
|
|
30
|
+
'uc-editor-image-fader': any;
|
|
31
|
+
'uc-editor-scroller': any;
|
|
32
|
+
'uc-editor-slider': any;
|
|
33
|
+
'uc-editor-toolbar': any;
|
|
34
|
+
'uc-btn-ui': any;
|
|
35
|
+
'uc-line-loader-ui': any;
|
|
36
|
+
'uc-presence-toggle': any;
|
|
37
|
+
'uc-slider-ui': any;
|
|
38
|
+
'uc-icon': any;
|
|
39
|
+
'uc-img': any;
|
|
40
|
+
'uc-simple-btn': any;
|
|
41
|
+
'uc-start-from': any;
|
|
42
|
+
'uc-drop-area': any;
|
|
43
|
+
'uc-source-btn': any;
|
|
44
|
+
'uc-source-list': any;
|
|
45
|
+
'uc-file-item': any;
|
|
46
|
+
'uc-modal': any;
|
|
47
|
+
'uc-upload-list': any;
|
|
48
|
+
'uc-url-source': any;
|
|
49
|
+
'uc-camera-source': any;
|
|
50
|
+
'uc-progress-bar-common': any;
|
|
51
|
+
'uc-progress-bar': any;
|
|
52
|
+
'uc-external-source': any;
|
|
53
|
+
'uc-cloud-image-editor-activity': any;
|
|
54
|
+
'uc-cloud-image-editor-block': CustomElement<
|
|
55
|
+
CloudImageEditorBlock,
|
|
56
|
+
CtxAttributes & ({ uuid: string } | { 'cdn-url': string }) & Partial<{ tabs: string; 'crop-preset': string }>
|
|
57
|
+
>;
|
|
58
|
+
'uc-cloud-image-editor': CustomElement<CloudImageEditorBlock, JSX.IntrinsicElements['uc-cloud-image-editor-block']>;
|
|
59
|
+
'uc-form-input': CustomElement<FormInput, CtxAttributes & Partial<{ name: string }>>;
|
|
60
|
+
'uc-file-uploader-regular': CustomElement<FileUploaderRegular, CtxAttributes & Partial<{ headless: boolean }>>;
|
|
61
|
+
'uc-file-uploader-minimal': CustomElement<FileUploaderMinimal, CtxAttributes>;
|
|
62
|
+
'uc-file-uploader-inline': CustomElement<FileUploaderInline, CtxAttributes>;
|
|
63
|
+
'uc-upload-ctx-provider': CustomElement<UploadCtxProvider, CtxAttributes>;
|
|
64
|
+
'uc-config': CustomElement<Config, CtxAttributes & Partial<ConfigPlainType>>;
|
|
92
65
|
}
|
|
93
66
|
}
|