Commit Graph

433 Commits (66f90b9e37ddc1ff14b4209d18e3d7de6b581468)

Author SHA1 Message Date
杨奕 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
Jikkai Xiao 48c40ffa0a Tabs: add before-leave hook (#11259)
* Tabs: add before-leave hook

* Tabs: update tabs.d.ts
2018-05-21 19:10:49 +08:00
杨奕 e809720ce4
Tree: setCurrentKey cancels highlight when param is null (#11205) 2018-05-17 13:30:58 +08:00
刘昆 c6e9cdac88 Table: update expandRows when setData (#11186)
* Table: update expandRows when setData.

Fix a bug that after set new table data, the expanded cells will not
be able to unexpand.

* Update table-store.js
2018-05-16 18:15:45 +08:00
杨奕 d537906ac6
Progress: fix missing icon when status is exception (#11172) 2018-05-15 18:50:18 +08:00
hetech 63844fd845 Popup: lockScroll uses class instead of inline style, remove redundant code (#11114)
* Popup: when popup open, use a class to prevent body scroll

* popup,MessageBox,vue-popper: remove redundant code

* popup: use getStyle to get document body's paddingRight

* Update mixin.vue-popup.spec.js

* Update mixin.vue-popup.spec.js
2018-05-13 12:07:09 +08:00
杨奕 68db03fc22
Tree: add checkOnClickNode (#11111) 2018-05-10 18:01:49 +08:00
杨奕 e51e9fe8ba
Tree: drag events should return if not draggable (#11095) 2018-05-10 11:56:49 +08:00
hetech 602afe0364 Select: add prefix named slot (#11063)
* Select: add prefix named slot

* Update select.md
2018-05-08 19:12:25 +08:00
Jiewei Qian 71a66ae21d DatePicker: fix valueEquals for array (#11017) 2018-05-07 14:28:54 +08:00
杨奕 7409be8ce1
Pagination: emit current-change after current page is manually updated (#11012) 2018-05-04 15:32:23 +08:00
Jiewei Qian 326c0abb2a test: fix unreliable date-picker/week test (#10974) 2018-05-03 10:20:46 +08:00
杨奕 9c058fbf7c
Select: remove blur emit after soft focus (#10822) 2018-04-21 16:39:48 +08:00
John 9fc1f9e367 Pagination: add pagerCount prop (#10493) 2018-04-18 14:19:52 +08:00
杨奕 95e168f7ca
Pagination: add prev-click and next-click events (#10755) 2018-04-17 16:47:32 +08:00
Jiewei Qian d8f861e929 DatePicker: nuke invalid input on close (#10749) 2018-04-17 14:15:47 +08:00
杨奕 1f4adb7c08
DatePicker: support multiple dates selection (#10650)
* DatePicker: add multiselect feature

* DatePicker: add multiselect feature

* DatePicker: add multiselect feature

* DatePicker: add multiselect feature

* DatePicker: add multiselect feature

* Datepicker: fix can't clear bug

*  Datepicker: add unit test

* Datepicker: add unit test

* Datepicker: add unit test

* Datepicker: add unit test

* Datepicker: add unit test

* Datepicker: add unit test

* DatePicker: support multiple dates selection

* reflect review comments
2018-04-17 14:09:43 +08:00
Gary Kaganas 25fcfb34d7 Select: allows user to choose if select focus triggers menu (#10042)
* Select: Preserves focus after options selected

* Select: softFocus: Passing lint
Write test

* Select: Soft focus: Include input ref

* Revert src/index.js

* Update select.vue

* Select: Default focus on select does not open menu. Added attribute for automatic-dropdown. Includes tests

* Select: remove trailing space

* Select: Removing incorrectly applied automatic-update props from input elements

* Select: Fixed up references to correct focus tests

* Select
- Checking if automatic dropdown already revealed menu when toggling menu
- Updating test: removing timeouts for related test

* Update select.vue
2018-04-16 12:02:54 +08:00
Jiewei Qian 7c3cadba5c DatePicker: fix week selection range highlight (#10712) 2018-04-15 14:30:14 +08:00
Brandon 79325390e2 Pagination: handle NaN on props (#10623)
* Pagination: handle pageSize NaN

* Pagination: handle currentPage NaN
2018-04-09 17:50:07 +08:00
杨奕 dcf0488a3e
Pagination: ensure currentPage is updated in current-change handler (#10599) 2018-04-08 13:58:47 +08:00
RickMacTurk 528bce4479 DateTimePicker: enable default-time attribute in date picker (#10321) 2018-04-02 11:55:49 +08:00
云游君 87532aa8ef Card: add shadow attribute (#10418)
* Card: add shadow attribute

* Card: fix test file

* Card: modify shadow class

* Card: modify test file

* Card: fix props
2018-03-29 15:18:31 +08:00
云游君 54c3613682 Button: add circle attribute (#10359)
* Button: add circle attribute

* test: modify button round

* Button: update docs for round & circle

* Button: fix disabled docs

* Button: fix button margin

* Button: fix button margin
2018-03-27 10:54:28 +08:00
云游君 0b330126c7 Progress: add color attribute (#10352) 2018-03-26 10:50:57 +08:00
杨奕 d9bcaacc74
Form: add validate event (#10351) 2018-03-25 22:32:22 +08:00
杨奕 cf7f117bfb
Form: add invalidFields as a second param of validation callback (#10279) 2018-03-21 13:36:29 +08:00
remizovvv bfa44e8b4f DatePicker: extract time and date format from format prop (#10174) 2018-03-20 14:04:44 +08:00
Harlan 441669f081 ColorPicker: add predefine colors (#10170)
* ColorPicker: add predefine colors(#8702)

* Add selected state of predefine color and test cases

* Fix the bugs mentioned in review
2018-03-19 17:20:09 +08:00
杨奕 84bb3397cb
Table: add test for selectOnIndeterminate (#10210) 2018-03-16 21:42:11 +08:00
Jiewei Qian 810cae1c64 DatePicker: add reverse selection test (#10035) 2018-03-07 10:57:00 +08:00
Jiewei Qian fd8648a4b3 Button: loading implies disabled (#10020)
* button: loading implies disabled

fix https://github.com/ElemeFE/element/issues/10018
simplifies internal implementation

* button: remove extra disabled check
2018-03-06 15:53:06 +08:00
Jiewei Qian cacb0aeaec DatePicker: fix change event on clear (#9986) 2018-03-05 16:42:42 +08:00
杨奕 62b0e2ace9
Select: remove unnecessary remote query when focused (#9998) 2018-03-05 13:14:12 +08:00
blackmiaool e70c598d44 Input: add clear event (#9988) 2018-03-04 13:50:25 +08:00
杨奕 aa5f015cd9
Transfer: add target-order (#9960) 2018-03-02 14:43:10 +08:00
Gary Kaganas bc39454c93 Select: preserves focus after selection (#9857)
* Select: Preserves focus after options selected

* Select: softFocus: Passing lint
Write test

* Select: Soft focus: Include input ref

* Revert src/index.js

* Update select.vue
2018-03-02 11:16:49 +08:00
落叶 5f75ab8375 Select: focusing does not show popper (#9894) 2018-03-01 16:02:13 +08:00
Jiewei Qian 6dd3d38393 DatePicker: fix date-time panel user input (#9913)
* date-picker: fix date-time panel user input

* test: add test for date-time-picker change event
2018-03-01 10:22:44 +08:00
Jiewei Qian c5cec198d2 Fix date-picker flaky test (#9923) 2018-02-28 18:09:14 +08:00
baiyaaaaa 610723ea00 support menu disabled (#9771) 2018-02-11 14:59:46 +08:00
FuryBean fe29af1b1f Add check event and getHalfChecedNodes method for Tree (#9730) 2018-02-09 10:31:11 +08:00
FuryBean 6bef614c01 add api for tree (#9718) 2018-02-09 10:28:43 +08:00
杨奕 248b1bf8de
Tree: support scoped slot (#9686) 2018-02-06 16:45:27 +08:00
Jiewei Qian 5b0b1e7e92 DatePicker: fix date clamping during navigation (#9577) 2018-01-31 14:20:07 +08:00
FuryBean ab2f3830d6 Table: extend height prop usage (#9575) 2018-01-31 13:32:01 +08:00
wacky6.AriesMBP 1f58f4f8d5 date-picker: add timestamp format 2018-01-29 12:14:40 +08:00
Hi-Linlin e40c17f68b DatePicker: panels should display different months (#9471) 2018-01-28 16:16:15 +08:00
Jiewei Qian 1b59561e3f DateTimePicker: changeToNow cheks disabledDate (#9470) 2018-01-25 19:16:10 +08:00