Commit Graph

2527 Commits (465c38bfaa0f0a6e748b11ac6ac012330a8bd287)

Author SHA1 Message Date
JuniorTour 740248bca4 InputNumber: remove unnecessary parseFloat (#14172) 2019-02-15 15:39:39 +08:00
刘鹏龙 1ec0821e42 Menu:fix subMenu focus bug when switch browser tab (#13976)
* Menu:fix subMenu focus bug

* Menu:fix subMenu focus bug remove window.ActiveXObject
2019-02-15 13:49:55 +08:00
Yamen Sharaf 1fd5964b70 autocomplete: add highlight-first-item prop (#14269) 2019-02-14 20:05:42 +08:00
ColinCll 24ea6e7054 Tree: Empty-text tips are different from tables
There is a color difference between the tree and the table empty-text.And I think use `$--color-text-secondary` is  more sense.
2019-02-12 11:03:11 +08:00
Zhi Cun f17533ab11
Timeline: add timeline component (#14248)
* Table: fix params order of row events (#12086)

* Timeline: add timeline component (#11736)

* Timeline: add timeline component

* Timeline: add timeline component

* Timeline: add test case

* Timeline: fix icon class

* Timeline: update docs

* Timeline: fix test case

* Timeline: remove pending attribute

* Timeline: fix docs

* Timeline: make reverse default to false

* Timline: fix test case

* Timeline: update element-ui.d.ts

* Timeline: optimize code
2019-02-01 17:13:08 +08:00
island205 a638a25117 [build] 2.5.4 2019-02-01 13:55:19 +08:00
ziyoung f992ee5b88 [build] 2.5.3 2019-01-31 15:37:25 +08:00
vok123 4eefc2a552 message: optimize code (#14029) 2019-01-30 19:25:26 +08:00
iamkun ff1251f0b1 Tabs: fix error tab bar style 2019-01-28 16:13:09 +08:00
Zhi eb2087747b [build] 2.5.2 2019-01-27 21:29:27 +08:00
iamkun 3ea5da6038 chore: 2.5.1 fix 2019-01-26 20:48:25 +08:00
Zhi d57d79bd61 Merge remote-tracking branch 'eleme/master' into dev 2019-01-26 14:25:23 +08:00
Zhi d0bb15f9de [build] 2.5.0 2019-01-25 19:15:48 +08:00
Debiancc 0ddc10d652 date-picker: highlight current month and year (#14211) 2019-01-25 18:39:39 +08:00
Zhi Cun 32a4c139a9
Merge pull request #14185 from luckyCao/dev
Table: fixed show-summary issue when multilevel header has fixed attr…
2019-01-24 15:38:47 +08:00
Zhi Cun fc84a66544
Merge pull request #13667 from KidneyFlower/dev
Tree: fix a bug that caused `showCheckbox` props on `Tree` can not affect their children `tree-node`
2019-01-24 15:21:37 +08:00
曹磊 cdb5d45dd7 Table: fixed show-summary issue when multilevel header has fixed attr(#13914) 2019-01-24 15:14:55 +08:00
ohhoney1 09b384bf3a Radio: refine style 2019-01-23 14:19:46 +08:00
王小白 4b02ed7c51 popper: destroy popper instance(#13988) 2019-01-23 11:22:54 +08:00
Zhi Cun c154292d1b input: fix textarea ref (#13803) 2019-01-21 14:42:00 +08:00
ileechee e9aae8f706 Tag: add click event (#14106)
* Tag: add tag click event handle

* Tag: add doc and unit test.
2019-01-21 13:52:33 +08:00
Pan 6a6460eda6 Checkbox: refine style 2019-01-17 18:08:32 +08:00
YuCheng Lin 904e60ef1d date-time-picker: add selectableRange in pickerOptions 2019-01-14 23:25:46 +08:00
ziyoung 1a52458a42 chore: use shadow CDN and fix typo 2019-01-10 20:00:23 +08:00
Sean 5f181c31e3 date-picker: fix week highlight on year boundary (#13883)
When the selected week spans across two years (e.g. 2018-12-30 2019-01-05),
they should be highlighted in both month tables.
2019-01-03 14:43:37 +08:00
Jiewei Qian b33dcb5208
chore: fix slider indent (#13955) 2019-01-02 16:43:01 +08:00
liuchuzhang 5fbb14d5eb Autocomplete: update style (#13762)
fix regression introduced in pr #13266, where popper arrow is hidden
2019-01-02 16:40:38 +08:00
Harlan 4f93968db4
Pagination: input max value won't be less than 1 (#13727)
Pagination: input max value won't be less than 1 (#13727)
2018-12-29 13:27:05 +08:00
Harlan 2e9eb0f739
Upload: add url prop to upload file when list-type changed (#13771)
Upload: add url prop to upload file when list-type changed (#13771)
2018-12-29 13:25:31 +08:00
Harlan 91c40d311e
Carousel: stop timer before component destroyed (#13820)
Carousel: stop timer before component destroyed (#13820)
2018-12-29 13:08:50 +08:00
HarlanLuo 23e81831fe Carousel: stop timer before component destroyed (#13820) 2018-12-20 11:37:35 +08:00
HarlanLuo c3e8b77d47 Upload: add url prop to upload file when list-type changed (#13771) 2018-12-17 10:30:13 +08:00
iamkun e5a38eaebe Tabs: use paneName instead of name (#13733) 2018-12-14 11:17:51 +08:00
iamkun c8839b8022 Cascader : remove deprecated property (#13737) 2018-12-14 11:15:50 +08:00
HarlanLuo 82fbac875d Pagination: input max value won't be less than 1 (#13727) 2018-12-12 21:10:43 +08:00
iamkun 16311d1e32 Tabs: get the correct tab through tab name (#13705) 2018-12-10 16:46:55 +08:00
iamkun f7241f62ef Tabs: fix auto scroll bug (#13696) 2018-12-10 16:22:32 +08:00
Jerry Chou 7a031e6399 Table: fix empty text vertical alignment issue on IE10+ (#13638)
* Table: fix empty text vertical alignment issue on IE10+

* Table: add a comment to IE-specific fixes
2018-12-07 18:30:08 +08:00
Gideon King 911ca6872a Popover: fix popover issues with hover display (#13104)
* Fix issue with popover displaying on focus when configuration is for it to show on hover.
Fix issue with popover timer still running when button clicked and parent element no longer visible (e.g. keepalive component).

* Updated to pass tests

* Correct documentation for el-date-picker

* Changes as per ziyoung review
2018-12-05 17:23:10 +08:00
KidneyFlower c2e7e17a21 Tree: fix a bug that caused `showCheckbox` props on `Tree` can not affect their children `tree-node` 2018-12-05 16:30:21 +08:00
hetech 7236b866c0
Autocomplete: update autocomplete style (#13597) 2018-11-28 16:43:38 +08:00
hetech 16744b61cf
Cascader: update cascader style (#13596) 2018-11-28 16:20:20 +08:00
cnjs 0011ee6af4 Table: enhanced table sorting when clicking on the arrow (#12890) 2018-11-28 15:46:53 +08:00
Ende93 0e7a7d345f DatePicker: add key prop to 'v-for' (#13547) 2018-11-26 15:17:46 +08:00
Jiewei Qian e2c5573c1f Input: simplify el-input implementation (#13471)
* input: simplify internal implementation

remove currentValue, strictly follow one-way data flow
hack for MSIE input event when placeholder is set
remove isKorean hack (#11665, #10648)

* input-number: fix for new el-input

* test: input, fix vue warning

* date-time-range: fix for new el-input

* pagination: fix for new el-input, simplify internals

* input: fix input event on compositionend

* input-number: fix for new el-input

* input-number: nuke userInput on change
2018-11-26 15:05:46 +08:00
hetech d8d4dfedd5
DatePicker: add validate-event attribute (#13531) 2018-11-22 18:29:16 +08:00
ziyoung dd920170d5 [build] 2.4.11 2018-11-21 16:38:26 +08:00
Aleko 48821cffcd Col: fix the responsive bug caused by 'xs' variable (#13468) 2018-11-21 14:46:28 +08:00
hetech 94833532d8
Menu: revert #13296 (#13478) 2018-11-20 11:50:20 +08:00
ziyoung d293b188d5 [build] 2.4.10 2018-11-16 19:29:51 +08:00
Harlan 465ec7c695 Transfer: fix component crash when target order is push (#13333)
* Transfer: fix bug sometimes component crash when target order is push(#13320)

* update code
2018-11-14 15:46:14 +08:00
hetech c1b869d7ce
Cascader: add visible-change event (#13415) 2018-11-14 12:25:41 +08:00
Arthur Denner 026558682c Autocomplete: add clearable prop (#12171)
* Autocomplete: add clearable prop

* Input: remove focus after clearing the value

* Autocomplete: hide options after clearing the value
2018-11-13 18:33:33 +08:00
Ali Torki d37f74f539 Progress: add text status (#13198)
* add: text status in progress circle component

* Progress: update Chinse and Spanish docs and minor improvements

* update progress
2018-11-13 11:24:15 +08:00
dive2Pro d97555bdde Tree: fixed `default-checked-keys` display wrong (#13349)
* fix: 12383 Tree in lazy mode set child node 'default-checked-keys', display wrong:All nodes are fulfilled

* 添加测试

* fix code style

* update style
2018-11-13 10:31:22 +08:00
Jiewei Qian 9738054dd4 DatePicker: optimize code, fix #12980, follow up #8156 (#13374)
* date-table: simplify implementation, fix #12980

* date-table: remove rangeState's row and column

* date-table: fix disabled cell highlight

this is a regression introduced in pr #8156, which allows disabled date to be
highlighted.

Also simplifies handleClick's implementation to avoid DOM operations.
2018-11-12 19:19:58 +08:00
hetech 61f2b8afae
Cascader: set separator when filtering (#13389) 2018-11-12 19:19:08 +08:00
hetech bf7bb4b6f5
Table: stop event propagation for checkbox (#13369) 2018-11-09 19:03:07 +08:00
花裤衩 fb4ba161a1 TimePicker: explicit declare box-sizing: content-box (#13347) 2018-11-09 14:51:20 +08:00
hetech d241282a81
Alter: title is not a required prop (#13360)
* Alter: title is not a required prop

* update docs
2018-11-09 12:01:35 +08:00
Anton Kuznetsov 2b7fa617ae Tree: add currentNodeKey property declaration and fix test for currentNodeKey (#13197)
* Add currentNodeKey property declaration, fix test for currentNodeKey

* translate Chines doc
2018-11-08 19:28:24 +08:00
hetech d1440c9608
Tree: add iconClass attribute (#13337) 2018-11-07 19:06:36 +08:00
SkyAo eb41032658 Menu: clickoutside hide submenu (#13296)
* Menu:(fix) clickoutside hide submenu

* fix: optimize code
2018-11-07 19:05:46 +08:00
Harlan 036102675a AutoComplete: add clear event (#13326)
* AutoComplete: add clear event(#13317)

* remove arg in `handleClear` in AutoComplete
2018-11-07 17:20:06 +08:00
Ruslan P 1f592944d6 DatePicker: allowed to customize range-seprator with a slot (#13272)
* DatePicker: Allowed to customize range-seprator with a slot

Currently, the only possible option for "range-selector" is a string, would be nice to use a slot, so we could have custom svg-icon there.

* update doc
2018-11-07 12:30:47 +08:00
hetech e715848c90
Form: validateField accepts an array of field names (#13319) 2018-11-06 18:52:54 +08:00
Harlan 717b3480b9 Collapse: slot header use display flex instead of float (#13277) (#13290) 2018-11-06 17:39:33 +08:00
hetech 9a31f5f6e6
ColorPicker: not trigger form validation when dragging (#13299)
* ColorPicker: not trigger form validation when dragging

* update test case for input
2018-11-05 19:21:49 +08:00
st-sloth 9d09d0dbf4 InputNumber: add `select` method (#13286)
* Input: add test for `select` method

* InputNumber: add `select` method
2018-11-05 19:21:24 +08:00
SkyAo f8a27565b0 ColorPicker: add immediate watcher for currentColor (#13278) 2018-11-05 15:51:12 +08:00
SkyAo bdc9363635 InputNumber: add placeholder attribute (#13275) 2018-11-05 15:36:36 +08:00
liuchuzhang f98e797d48 autocomplete: update style and fix #13129 (#13266) 2018-11-02 14:25:07 +08:00
Harlan bcef4d9e35 Table: add resetFilter which can reset filter of a column (#13176)
* Table: clearFilter can clear the filters of specified columns

* optimize code and add resetFilter example in doc

* Table: Improve documentation of clearFilter
2018-11-02 11:40:36 +08:00
hetech 5b32ec426d
Select: fix repeat clicking to display dropdown menu (#13268) 2018-11-02 11:35:33 +08:00
hetech 9c32f55892
Table: fix header scoped slot not accessing data (#13263) 2018-11-01 15:23:55 +08:00
hetech f33a6562ca
Tooltip: fix word wrap for long words (#13257) 2018-11-01 12:11:53 +08:00
Harlan 933109fd5b Carousel: add prop loop (#13217)
* Carousel: add prop `loop` which can control whether display in loop (#12869)

* Carousel: add es doc for new prop `loop`
2018-10-31 17:41:23 +08:00
Harlan 0d526b8371 Table: current row will set to the row which has the same row-key when data changes(#3023) (#13200) 2018-10-31 16:42:34 +08:00
Amumu 74fb8ac225 Select: Improve Robustness, fix #13049 (#13245) 2018-10-31 15:59:35 +08:00
hetech 87f448f8dd
chore: optimize code (#13214) 2018-10-30 15:31:58 +08:00
hetech 168bf64b57
Progress: add transition support (#13210) 2018-10-29 16:42:55 +08:00
porcelainHeart 326266134f Button: fix disabled button style bug (#13188) 2018-10-29 15:55:24 +08:00
hetech 7daa72be04
Input: not display clear icon in disabled form (#13208) 2018-10-29 15:52:45 +08:00
rongxingsun 87baaad394 Table: not display tooltip when cell is empty (#13152)
* Update table-body.js

* Update table-body.js
2018-10-29 15:25:41 +08:00
ziyoung c6204c38a8 [build] 2.4.9 2018-10-26 19:17:23 +08:00
hetech 672ff0a156
Tabs: set TabNav key (#13178) 2018-10-26 15:09:16 +08:00
hetech cf42b5444e
Table: update Chinese doc (#13177) 2018-10-26 11:59:02 +08:00
Harlan 3a1ee202a4 Table: tooltip content prefer innerText instead of textContent (#13159) 2018-10-26 11:58:17 +08:00
Ivan Seidel 2bafed0acc Table: Adds header rendering slot (#13012)
* Table: Adds header rendering slot

Fixes #4909 and #4908

* Add translation to spanish

* Include render-header deprecation warning

* Add chinese translation and scoped slot description at bottom

* Fix documentation and warnings. Fix custom-header docs

* Fix redundant columns and cleanup example

* Prevent scopedSlot from working on selection column

* Typo
2018-10-26 11:16:56 +08:00
Wenlu Wang 31d31d904d Alert: add support for title slot (#13082)
* Alert: add support for title slot

* update documents
2018-10-20 11:51:36 +08:00
Jérôme Botineau 97728bddb5 aria: add role dialog (#13084) 2018-10-18 19:09:06 +08:00
Akshay Jat 6ae54e5230 Select: fix option wrap in multiple mode (#12329)
* Select: Fix (#11392 & #12327) Writing space become small when collapse-tags prop is added & input takes new line even if space is available when filterable & multiple props are true

* Changes as IE & Edge dosen't support display: contents

* Revert "Changes as IE & Edge dosen't support display: contents"

This reverts commit 21475c6daa.

* Fixed issue - input going in new line even if there is space (collapse-tags)

* Made calculating with dynamic (replaced static 208 with el-select__tags dynamic width)

* Select: Fixed Bug - Extra Height

Fixed bug - getting extra height whenever last options width is most of same as select's width
2018-10-17 16:40:29 +08:00
hetech 39fc1b29c4
Tag: optimize code (#13069)
* Tag: optimize code

* update tag.vue
2018-10-17 16:36:45 +08:00
咖喱 868bbc71e7 Select: fix readonly problem in edge (#13034)
Cascader select readonly 添加 edge 浏览器判断;
src/utils/util.js 添加 isIE, isEdge方法;
2018-10-17 10:57:41 +08:00
hetech ef397572da
Select: fix size attribute not working (#13070) 2018-10-17 10:36:33 +08:00
hetech 0de8a032c0
Upload: use uid as upload-list key (#13054)
* Upload: use uid as upload-list key

* chore: fix code style
2018-10-15 17:06:45 +08:00
ZSkycat 9bbae74cb6 Select: make clearable work for multi select (#13049)
* Select: make clearable work for multi select (#6399)

* Select: chore

* Select: fix bug and update docs (#13049)
2018-10-15 16:47:23 +08:00
刘晓 a9026606e0 Form: clearValidate supports string type param (#12990) 2018-10-15 15:54:55 +08:00
hetech 9e6cdd788c
InputNumber: fix style when `controls-position` is right (#13052) 2018-10-15 15:43:03 +08:00
hetech efcfbdde0f
Tabs: fixed last TabNav unable to be deleted (#13039) 2018-10-12 22:41:30 +08:00
Harlan edb3c9b785 TimePicker: selectable range will affect to column minutes in spinner (#12312) 2018-10-12 22:40:41 +08:00
firesh c8ce0410f9 select: refactoring icon reverse (#12353)
* select: refactoring icon reverse

* select: disable clear icon when select popup is visible

* select: refactoring clear icon
2018-10-11 18:41:18 +08:00
hetech 261abd69fc
Badge: add type attribute (#12991)
* badge: add type attribute

* Update badge.md
2018-10-09 12:14:45 +08:00
ziyoung e17ecf747a [build] 2.4.8 2018-09-30 16:21:54 +08:00
hetech 80410b4487
Tabs: scroll to active tab (#12948)
* Tabs: fix not scrolling to active tab

* update tabs.vue
2018-09-30 15:21:34 +08:00
Gabrijel Škoro 74827513d0 Table: fix table column default alignment (#12578) 2018-09-29 13:31:14 +08:00
hetech 6b76896c40
Table: called render header in index column (#12914) 2018-09-28 17:44:54 +08:00
James Wragg b55ea514e2 Input: s autocomplete on textarea (#12917)
A textarea element can also have an autocomplete attribute.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
2018-09-28 17:09:37 +08:00
Jiewei Qian 6cb92acc34 DatePicker: validate input date (#12898)
* date-picker: fix confirm() ignoring date validity

make date-range panel's confirm validate date before confirming.

1. disable confirm button if picked date is invalid
2. reset highlight date on picker open (resetView)

* test: date-time-range confirm honors disabledDate
2018-09-27 16:03:11 +08:00
Jiewei Qian e7725797c4 chore: update date-picker comment notes (#12899) 2018-09-27 15:37:58 +08:00
bluejfox 58bb0a3340 ButtonGroup: fix Dropdown style in ButtonGroup(#12815) (#12819)
* [Button]Support Dropdown in ButtonGroup(#12815)

* [Button]Support Dropdown in ButtonGroup(#12815)

* [Button]Support Dropdown in ButtonGroup(#12815)
2018-09-26 10:58:14 +08:00
Yamen Sharaf 44a85b8e60 Form: emits error message on validate event (#12860)
* Form: Emits error message on validate events

* Update form.md
2018-09-26 10:50:50 +08:00
hetech 17d817c0ce
Tabs: fix order of TabNav when array is sorted (#12846)
* Tabs: fix order of TabNav when array is sorted

* update tabs.vue

* update test cases
2018-09-25 11:16:47 +08:00
hetech 0e617d0fc6
Tree: show indicator in drop node (#12854) 2018-09-21 19:12:42 +08:00
morning fff4d62567
Dialog: add opened event (#12828)
* Dialog: add opened event

* Docs: update es dialog doc

* Update dialog.md
2018-09-20 11:16:22 +08:00
Yamen Sharaf 098ba463c3 FormItem: adding hide-required-asterisk attribute(#12744)
* Form: adds prop to make asterisk optional on required  fields

* Form: adds prop to make asterisk optional on required  fields

* ElForm: Reverses attribute name to hide-required-asterisk, which defaults to false

* Update form-item.vue

* Update form.scss

* Update form.md
2018-09-17 18:32:23 +08:00
hetech 1cbc9f6363 Switch: not display outline when focused (#12771) 2018-09-14 21:05:02 +08:00
ziyoung 774d0fb6dc [build] 2.4.7 2018-09-14 14:47:07 +08:00
hetech 9f345d89c0
Select: use initial height to reset height of input (#12719)
* Select: use initial height to reset height of input

* Update select.vue
2018-09-13 18:52:08 +08:00
Yamen Sharaf ea27fb8fbf FormItem: using slot-scope to display validation message (#12715)
* Updated el-form-item to accept custom error message via slot

* FormItem: updated slot name in docs

* updated spanish and chinese translations

* Update form.md

* Update form.md

* Update form.md

* Update form.md
2018-09-13 18:19:44 +08:00
hetech 2d6b5fceed
Form: fix style of form label in nested form (#12748) 2018-09-13 11:24:18 +08:00
hetech 3cf277c616
Tree: fix tree node not deleted (#12684) 2018-09-10 11:45:37 +08:00
hetech b7be905b1d
Upload: create blob URL when picture displays (#12402)
* Upload: create blob URL when picture displays

* Update index.vue
2018-09-10 10:59:55 +08:00
Jikkai Xiao 4c24ddaf8e
Table: fix table filter (#12539) 2018-08-29 18:45:56 +08:00
huangjinqiang 8a32c3414f Cascader: prevent value changing when menu is closing (#12507) 2018-08-29 13:48:50 +08:00
Jikkai Xiao 03ae4a446a
Pagination: fix emit order of page size (#12530) 2018-08-28 18:18:30 +08:00
Jikkai Xiao df76542703
Pagination: assign 1 to default page count (#12525) 2018-08-28 18:18:04 +08:00
Axetroy ec6cac4232 Input: fix autocomplete property is not compatible with native #12513 (#12514)
* fix #12513

* fix: fallback for autoComplete and print deprecated warning

* fix: fix auto-complete property in select component

* fix default complete value

* Docs: Update document for autocomplete property change

* Docs: remove redundant documents

* remove unnecessary console log message\

* Update select.md

* fix: add missing declaration in select.d.ts
2018-08-28 15:44:21 +08:00
Abdalla Nayer c782b0dc8e DatePicker: turn off autocomplete for date picker range (#12521) 2018-08-27 23:04:28 +08:00
why 3d3a2233ee ColorPicker: fix the position of cursor (#12376) 2018-08-23 17:45:19 +08:00
rongxingsun 4ab7fb4b5d Menu: submenu is-active bug (#12479)
选中submenu下的菜单,submenu没有激活样式式象错误
2018-08-23 17:43:02 +08:00
Jikkai Xiao a372dad133
Menu: fix submenu style (#12457) 2018-08-22 19:14:41 +08:00
rang-ali 3009999c5a TimePicker: dynamic scroll position of time-spinner items (#12415)
Makes it possible to style the height of ".el-time-spinner__item". 
Removed the fixed values associated to a height and line-height: 32px. It's now possible to set whichever height a user wants and the scrollbar will adjust itself accordingly.
2018-08-22 11:18:44 +08:00
Jiewei Qian b70da53f15 DatePicker: improve form change validation (#12348)
watch.value will keep firing during time picker selection
it now detects whether panel is closed before firing el.form.change
2018-08-15 11:38:37 +08:00
Jiewei Qian 02176e26f4 Date picker refactor dates selection: fix 12323 (#12347)
* date-picker: refactor type='dates'

fix issue #12323
{month, year} table highlights all selected dates
nuke selectedDates to provide cleaner data flow

* doc: correct date-picker's array usage

empty value must be falsy (empty array should not be used)
2018-08-14 16:19:51 +08:00
Jikkai Xiao 74e62819c0 Tabs: fixed tab-pane's incorrect order (#12346) 2018-08-14 11:22:00 +08:00
hetech 72349e1a62 Cascader: highlight input when menu clicked (#12341) 2018-08-13 15:58:17 +08:00
Jiewei Qian 9f80cf91da date-picker: fix form change validation (#12328) 2018-08-13 12:26:36 +08:00
zhiyang 244d57fa1d [build] 2.4.6 2018-08-10 17:21:49 +08:00
hetech 915fc52a1c
Tree: fix add node bug in lazy mode (#12265) 2018-08-10 15:31:28 +08:00
hetech 6f08e941aa
Select: not clear text when filtering (#12304) 2018-08-10 15:28:22 +08:00
Jikkai Xiao 4cbe3f3218 Pagination: make page-size attribute supports .sync (#12281)
* Pagination: make page-size attribute supports .sync

* Update pagination.js
2018-08-08 18:49:27 +08:00
hetech 9c5b7e5fa1
Popover: show popper when InputNumber focused (#12284) 2018-08-08 18:41:53 +08:00
hetech 3da485b617 Tree: register node after dragging (#12279)
* Tree: register node after dragging

* update Tree docs
2018-08-08 18:07:16 +08:00
hetech 9e738a85c3
Input: not trigger form validation when input (#12260)
* Input: not trigger validation when input

* InputNumber: update docs
2018-08-07 18:33:58 +08:00
Jikkai Xiao b1be1f4c04 Radio: fix focus style (#12262) 2018-08-07 16:26:43 +08:00
Jikkai Xiao 250e3f67ee Slider: avoid NaN when min and max values ​​are equal (#12256) 2018-08-07 15:32:59 +08:00
Jikkai Xiao fbe58a4015 Cascader: escape special characters for regexp (#12248) 2018-08-07 10:36:49 +08:00
hetech cb93645728 Autocomplete: add `popper-append-to-body` attribute (#12241) 2018-08-06 19:14:16 +08:00
Jikkai Xiao 8de71d0c91 Menu: make font-size constant into variable (#12239) 2018-08-06 11:44:18 +08:00
hetech 8a2ed18d3f Main: fix IE compatibility issues (#12237) 2018-08-06 11:12:06 +08:00
hetech 7f2510f0f1
Select: debounce query (#12181) 2018-08-02 19:28:41 +08:00
Jikkai Xiao c5347b8064 Table: fix async filters (#12165) 2018-08-02 19:27:07 +08:00
Harlan 6bb49b9590 Menu: save menu state when change collapse and expand menu(#10622) (#12178) 2018-08-02 15:05:21 +08:00
hetech 484725b15f
Dialog: ignore width when fullscreen is true (#12203) 2018-08-02 11:27:30 +08:00
Jikkai Xiao b0b3110c3a [build] 2.4.5 2018-07-26 16:14:18 +08:00
hetech 3ed724492f Tree: add includeHalfChecked flag to getCheckedNodes (#12014) 2018-07-25 17:42:53 +08:00
hetech 1cc45b83d8 Input: fix wrong style of Input suffix (#12108)
* Input: fix wrong style of Input

* update input.vue

* add test case
2018-07-25 15:54:02 +08:00
Jiewei Qian 69dd5399aa date-picker: fix #11152 (#12114) 2018-07-25 13:07:46 +08:00
hetech 5c9eb37549 Select: remove redundant style (#12120) 2018-07-25 11:52:53 +08:00
hetech 51877f6d65
Tree: not check node when check-strictly is true (#12106) 2018-07-25 11:32:35 +08:00
Jikkai Xiao 4130f2af40 Table: add toggleAllSelection method (#12047) 2018-07-24 16:36:31 +08:00
Dwight Watson e003b1460a Use methods instead of inline expressions (#12059) 2018-07-20 14:38:03 +08:00
Jikkai Xiao f23e45b404 Table: allow filterable without filter-method (#12045) 2018-07-18 19:28:44 +08:00
Mrinmoy 9aa68694fa Input: fix style error - border-spacing should not depend on default value (#11990) (#12016) 2018-07-17 14:18:50 +08:00
Jikkai Xiao e4de2b46bf
TimeSelect: fix fieldReset when initialValue is empty string (#12010) 2018-07-16 19:18:29 +08:00
Jikkai Xiao ef4caa96cb
Table: support class-name when type=expand (#12006) 2018-07-16 17:10:43 +08:00
Jikkai Xiao 4167809446
Tree: fix keydown event in Tree (#12008) 2018-07-16 17:09:38 +08:00
38elements 55c97e588c FormItem: v-bind:style -> :style (#11996) 2018-07-15 16:57:38 +08:00
38elements f6d8b33901 Spinner: v-bind:style -> :style (#11997) 2018-07-15 16:57:05 +08:00
Jikkai Xiao 1c5bce73ba [build] 2.4.4 2018-07-13 16:38:11 +08:00
hetech b18642f716
Tree: fix defaultCheckedKeys and emptyText bug (#11971) 2018-07-12 19:17:23 +08:00
Jikkai Xiao 5e32b4c772 Input: add missing readonly prop (#11967) 2018-07-12 16:54:22 +08:00
hetech b0a80e0eba Input: fix style error when suffix exists with append (#11951) 2018-07-12 13:27:28 +08:00
Jikkai Xiao 4b04a1c70b
Table: fix empty slot position (#11965) 2018-07-12 13:05:27 +08:00
wheeljs 3b58e65132 Radio: change component name (#11957) 2018-07-12 12:07:36 +08:00
k-okina 1f8c7ba598 Chore: provide a key with v-for (#11891) 2018-07-11 15:17:20 +08:00
hetech 9da7c48be1 Chore: add missing style (#11953) 2018-07-11 14:18:48 +08:00
Jikkai Xiao 21a6aa33f4 Radio: stop event propagation on radio label (#11912) 2018-07-11 11:54:04 +08:00
王有闻 1e6e32b1da Button: optimize scss(#11900) 2018-07-09 11:47:52 +08:00
Jikkai Xiao 45241cbaa8
Table: changing current-row-key when current-row-key is assigned to null (#11866) 2018-07-05 11:09:16 +08:00
Jikkai Xiao b6eaaf6943
Table: disable filter when filters is an empty array (#11864) 2018-07-05 11:03:52 +08:00
hetech d3224b582b Tree: not check node when it's disabled (#11847) 2018-07-03 18:27:50 +08:00
杨奕 61756c5bd5 Table: update getRowClass (#11839)
* Table: setCurrentRow only when highlight-current-row is true

* Table: trigger current-change

* Table: update getRowClass
2018-07-03 15:44:28 +08:00
杨奕 ef74ee05b3
Select: revert #10105 (#11837) 2018-07-03 15:03:50 +08:00
Leopoldthecoder 3a698a90d1 [build] 2.4.3 2018-07-03 12:34:05 +08:00
k-okina 97fd93e68e Notification: remove vm attribute (#11830) 2018-07-03 12:23:06 +08:00
杨奕 5ef3d0ec8d MessageBox: add distinguishCancelAndClose (#11831) 2018-07-03 12:02:21 +08:00
杨奕 b799d2ec4d Form: clearValidate supports prop names (#11821) 2018-07-02 18:06:16 +08:00
hetech d73821bc72 Tree: fix TreeNode dragged to wrong position (#11797) 2018-06-29 15:55:31 +08:00
杨奕 1bf5580dc6
InputNumber: remove undocumented slots (#11794) 2018-06-29 10:08:49 +08:00
hetech b4c84c509d Cascader: hide label when user inputs (#11738)
* Cascader: hide label when user input

* Cascader: update main.vue

* Update main.vue

* Cascader: not set readonly in IE
2018-06-28 19:05:26 +08:00
Jiewei Qian 5c44539de1 DatePicker: guards common but incorrect usage (#11673) 2018-06-25 16:47:45 +08:00
Jikkai Xiao ef98b75aff Tabs: add activeName and oldActiveName parameters to before-leave hook (#11713)
* Tabs: add activeName and oldActiveName parameters to before-leave hook

* Tabs: fix docs
2018-06-25 15:59:49 +08:00
kratsstark 9355bd3180 Select: remove empty option item when default value is null in single mode (#11731) 2018-06-25 12:27:04 +08:00
Jikkai Xiao 97a72d3af6
Table: fix highlightCurrentRow regression (#11691) 2018-06-21 16:14:06 +08:00
Jiewei Qian 0ed8d18603 Select: fix form change validation (#11672) 2018-06-20 11:15:34 +08:00
Jikkai Xiao 7199da9836 Menu: fix open method error when collapse is changed (#11646) 2018-06-15 17:39:45 +08:00
杨奕 475f7cf01d
Autocomplete: passes id to nested native input (#11643) 2018-06-15 12:30:51 +08:00
mengro 23a2e8d9ee Pagination: use setCurrentValue when reassigning input value (#11608)
* Pagination:  input bug

currentValue in input component's data object didn't refresh when changeHandle emited

* Update pagination.js
2018-06-15 11:44:09 +08:00
杨奕 48c7bcc933
Tree: optimize not-allowed dropping cursor (#11631) 2018-06-14 18:14:39 +08:00
hetech 7bee91a517 Cascader: close when option clicked (#11623)
* Cascader: close when option clicked in hover mode

* update menu.vue
2018-06-14 17:50:10 +08:00
Jikkai Xiao 25ffe8c97e Table: fix class-name & label-class-name prop not reactive (#11626) 2018-06-14 17:07:00 +08:00
杨奕 dd3bb2ce20
Pagination: add size to nested select (#11622) 2018-06-14 11:20:29 +08:00
杨奕 671c42c610
Button: fix style of single round/circle button in a group (#11605) 2018-06-13 13:46:34 +08:00
hetech bdd95cf962 Cascader: not focus when outside clicked (#11588) 2018-06-12 19:24:09 +08:00
杨奕 e58cffaaa1
Table: fix highlightCurrentRow regression (#11563) 2018-06-10 20:44:59 +08:00
Akiho Nagao db928dedea Popover: fix reference error in the loop (#11503)
* Popover: fix reference error in the loop

* Update directive.js
2018-06-08 19:13:49 +08:00
Jikkai Xiao 23de28bd4b Tabs: fix tabs style (#11536) 2018-06-08 15:54:55 +08:00
Leopoldthecoder 38ead594bc [build] 2.4.1 2018-06-08 14:05:11 +08:00
Jikkai Xiao 2b9be3c0fb Table: improve performance of summary-method (#11521) 2018-06-07 11:37:26 +08:00
Jikkai Xiao d1391e325c Tabs: add stretch attribute (#11476)
* Tabs: add stretch attribute

* Update tabs.scss
2018-06-07 11:18:57 +08:00
hetech b593168ebd Dialog: trigger closed event when closing animation ends (#11490)
* Dialog: trigger closed event when close animation ends

* Update dialog.md

* Update dialog.md
2018-06-07 11:07:25 +08:00
杨奕 0afa514e0a
MessageBox: add iconClass (#11499) 2018-06-06 12:19:24 +08:00
hetech 465dcf2a19 Chore: retire lerna and remove redundant files (#11493)
* Chore: retire lerna and delete redundant files

* Chore: update Makefile
2018-06-05 19:27:13 +08:00
hetech 7df9a1e38c Test: add some test cases (#11485) 2018-06-05 13:31:15 +08:00
Jiewei Qian ecec908da8 DateTimePicker: fix incorrect date on time pick (#11474)
* date-time-picker: fix incorrect date on time pick

* date-time-picker: fix incorrect date on confirm
2018-06-04 20:22:38 +08:00
Jikkai Xiao 8c1b4d827d Table: retain currently selected row when expanding row (#11464) 2018-06-04 11:34:37 +08:00
hetech 96df89eca8
Merge pull request #11430 from wangjingf/dev
Tree : mark node data in lazy mode (#10684)
2018-06-04 11:14:40 +08:00
hetech 34471f76e9
Update node.js 2018-06-04 11:05:54 +08:00
wangjingf eaba784667
Update node.js
this.data可能为undefined,需要判断一下
2018-06-04 10:38:02 +08:00
Jikkai Xiao eb1479d3bc Tabs: fix lazy loading (#11461)
* Tabs: fix lazy tab-pane order

* Tabs: fix lazy loading
2018-06-01 17:43:22 +08:00
杨奕 08193fdbdb
Radio: remove box-shadow when disabled (#11462) 2018-06-01 17:39:54 +08:00
杨奕 51f3035346
Select: hide clear icon when value is null (#11460) 2018-06-01 17:19:51 +08:00
hetech 3e2e96313a Test: add some test cases (#11453) 2018-06-01 17:07:52 +08:00
wangjingf 87d591c356
Update node.js 2018-05-31 15:08:55 +08:00
wangjingf 07af6acf6f
Update node.js 2018-05-31 14:55:57 +08:00
wangjingf 612f952804
Update node.js 2018-05-31 14:31:57 +08:00
杨奕 203744a686
Select: fix arrow align in FireFox (#11427) 2018-05-31 12:15:27 +08:00
hetech 1b7a032e97 Popover: not emit event or create popper when disabled (#11426) 2018-05-31 12:15:11 +08:00
Jason Zoo dc816832e1 form-item sizeClass (#11408)
* form-item sizeClass

* Update form.spec.js
2018-05-30 18:25:50 +08:00
hetech a230e4a0ff Tree: when tree nodes filtered, don't expand node in lazy mode (#11395) 2018-05-30 10:55:23 +08:00
Jikkai Xiao 15c38293d1 Tabs: remove focus state when before-leave return a resolved promise (#11386) 2018-05-29 12:37:21 +08:00
杨奕 f9dffdd12c
Tree: fix markNodeData error when data is falsy (#11376) 2018-05-28 16:57:00 +08:00
Jikkai Xiao b726aa0265 Table: retain currently selected row when sorting the table. (#11348) 2018-05-25 17:47:27 +08:00
杨奕 c128914a0f
Tooltip: add min-width (#11335) 2018-05-25 12:10:51 +08:00
Jikkai Xiao 8ac9467003 Radio & Checkbox: replace cubic-bezier with ease-in (#11331) 2018-05-25 10:43:18 +08:00
hetech 2445a7bc00 Autocomplete: fix suggestions data bug (#11323) 2018-05-24 19:07:19 +08:00
Jikkai Xiao f18bbeb473 Table: support manually sorting. Resolves #9495 (#11311)
* Table: support manually sorting. Resolves #9495

* Table: add parameters for sort api

* Docs: improve docs
2018-05-24 18:01:02 +08:00
Jikkai Xiao ada80e6862 Radio: support switching radio with keyborard in ff. Fixes #8198 (#11325)
* Docs: fix docs of Tab-pane

* Radio: support switching radio with keyborard in ff. Fixes #8198
2018-05-24 17:31:10 +08:00
Jikkai Xiao df7bbe2ba4 Table: fix oversized filter list. Resolves #11314 (#11320) 2018-05-24 11:57:42 +08:00
Wenlu Wang 49473ffafc add support of tab penl lazy render(#11022) (#11167)
* add support of tab penl lazy render

* add docs

* fix test

* Tabs: update tab-pane.d.ts

* Docs: update Tabs docs
2018-05-23 19:04:51 +08:00
Jikkai Xiao 1fe51c9295 ColorPicker: prevent active-change event when picker is closed (#11304) 2018-05-23 16:41:57 +08:00
hetech bcfb1d3c71 InputNumber: add precision attribute (#11281) 2018-05-23 14:10:34 +08:00
Jikkai Xiao 66f90b9e37 Radio: prevent changing value when radio is disabled. resolves #11296 (#11303) 2018-05-23 11:34:16 +08:00
陈润山 2a1a6360ca Upload: fix Error when `beforeUpload` hook return promise of file object (#11297)
* Upload: fix beforeUpload hook bug

* Upload: add ElUploadInternalRawFile interface
2018-05-23 11:23:00 +08:00
douxc bc75c14dac Button: circle button supports size (#11275)
让circle button也支持size属性控制,padding的大小根据size属性的```button-padding-vertical```确定
2018-05-23 11:04:35 +08:00
杨奕 66c7b3cfc1
Breadcrumb: fix regression of dynamic `to` support (#11286) 2018-05-22 18:27:36 +08:00
杨奕 0b2a1eb784 Table: add sort-orders (#11283) 2018-05-22 18:20:04 +08:00
Jikkai Xiao 9a2f6897c7 Checkbox: support validation for single checkbox. Closes #5787 (#11271) 2018-05-22 17:47:05 +08:00