afc163
8fc3cb8d24
🐛 Fix always uploading if upload button is hidden during
close #14779
caused by the previous fix in #14298
reverted and change another way to fix #14299
6 years ago
Tom Xu
0b9d00a0ad
Upload add props openFileDialogOnClick
6 years ago
苏秦
3ffc7f6ac2
Upload: remove necessary signatures
6 years ago
董天成
6203298f32
Fix typescript compile error ( #11709 )
6 years ago
Wu Haotian
57646f24db
fix: correct typing of RcFile. close #10331
6 years ago
afc163
2f81349c21
fix error in typescript@3.x
6 years ago
afc163
fd96967c87
upgrade rc-upload to 2.5
- support `directory` close #7315
- action can be a function return Promise
7 years ago
Daniel Gomez
3a5fce7256
Fix UploadFile's lastModifiedDate property name ( #10315 )
7 years ago
afc163
e97977b891
Fix upload onChange arg type when beforeUpload return false, close #10293
7 years ago
Wu Haotian
7eb2792072
fix typing for `Upload.beforeUpload` ( #10059 )
* fix typing for `Upload.beforeUpload`
fix #9775
* add RcFile interface, fix tests
* fix typing of `Upload.onStart`
7 years ago
Ed Moore
31e50e50b6
Fix types ( #10063 )
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
7 years ago
偏右
a9376ef1ca
Fix image url display with non-image extention in Upload ( #9936 )
now we treat url following below rules:
1. `data:image..` => image
2. `http://xxx.com/xxxx .(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip ` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx ` without any extensions => image
close #9835
close #9681
ref #9621
7 years ago
Wei Zhu
03e4411589
Improve upload type definition
7 years ago
Wei Zhu
45135e4ec8
Improve upload type definition.
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
niko
70491fe4ad
fixed https://github.com/ant-design/ant-design/pull/7733 ( #7914 )
7 years ago
WingGao
ace985afce
Update upload/interface.tsx ( #7507 )
`response` should be `any`
7 years ago
Zheeeng
754966991b
Rename File interface to UploadFile ( #7183 )
* Fix doc missing info
* Rename File interface to UploadFile
7 years ago
afc163
98faa4378c
Make action of Upload optional, close #6890
7 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Wei Zhu
6eca8b4ad1
Add locale support to Upload ( #5094 )
8 years ago
feng zhi hao
88100a29a3
chore: fix ts definition of Upload ( #5041 )
8 years ago
afc163
5603fa0088
Fix upload error file style, close #4810
8 years ago
偏右
aa89addcc2
Improve upload list ( #4516 )
* support prevent removing when return value is false, close #4456
* Add showRemoveIcon & showPreviewIcon into showUploadList
close #4384 & #4351
* fix typo
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
afc163
10e1b8b269
Fix some ts errors
8 years ago
afc163
25b3517cc3
Add types for tree-select and upload ( #1846 )
8 years ago