Gray Choi
fb9a6963a3
rewrite in typescript
#1846
- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree
-Tree
-checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
3c408e0d22
Improve transfer perfermance, close #2112
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
RaoHai
a243d32dff
remove typeof props.rowKey
9 years ago
RaoHai
d0532db3d7
add rowKey props to Transfer
+ close #1900
9 years ago
jasonslyvia
f4a3b64e14
feat(transfer): add custom render support
9 years ago
RaoHai
190aba24ee
Transfer Datasource 和 CheckedKeys 逻辑修改 ( #1590 )
* Transfer Datasource 和 CheckedKeys 逻辑修改
+ close #1587
+ 当 Transfer 的 Datasource 变化时,会移除组件的 CheckedKeys 中已不在
Datasource 中的 key
* remove leftDataSource and rightDatasource from this.state
9 years ago
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
9 years ago
afc163
3eb52e5498
fix a stupid className error
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
71594b0e5c
Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.
This makes all existing ES2015 class usages in components use the
same mechanism for binding.
9 years ago
Bruce Mitchener
50a2163518
Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
9 years ago
afc163
2fa1d0f9a5
Add component locale support for Transfer
9 years ago
afc163
400b7b8a27
Add notFountContent for transfer, close #1142
9 years ago
afc163
dea88ba37e
Fix transfer searchPlaceholder
9 years ago
afc163
80baae87cd
Fix Object.assign via spread operator
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
afc163
949f6f1a12
fix eslint of no-unneeded-ternary
9 years ago
afc163
6327220266
Improve Transfer onChange, close #972
9 years ago
afc163
31ae114a19
fix(transfer): fix compatibility es2015 function, close #944
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
5f3b38a38c
fix import file extentions
9 years ago
afc163
706009f2be
improve transfer
9 years ago
afc163
5c9a75c8bc
update transfer operation className
9 years ago
Daqi Song
509a368e56
fix comments
9 years ago
Daqi Song
7b8007087a
fix style issues, enhance demos
9 years ago
Daqi Song
24975d1d15
add box width
9 years ago
Daqi Song
41ba920fd7
add filter function
9 years ago
Daqi Song
765ce7bb67
change api
9 years ago
Daqi Song
45f01f1f26
update style
9 years ago
Daqi Song
f913542626
fix style
9 years ago
daqi.sdq
2850804feb
modify api
9 years ago
daqi.sdq
779d904f53
add search and operation funcation
9 years ago
Daqi Song
38b51372e6
move mock data to demo
9 years ago
Daqi Song
27dc9bc853
init transfer
9 years ago