Commit Graph

397 Commits (94b091034d830385cbdbb53b5e5c51bcc9ba70c3)

Author SHA1 Message Date
wacky6.AriesMBP 11e3181a59 Steps: add test for error step behavior 2017-08-03 16:43:16 +08:00
Dreamacro 97183e3bc6 DatePicker: support keyboard control (#6131)
* DatePicker: support keyboard control

* DatePicker: support keyboard control

* update test timeout

* fix space
2017-08-01 19:04:31 +08:00
baiyaaaaa 5c2589677a Tab: add vertical tab (#6096)
* add tabs position

* add tabs test

* Update tabs.md
2017-07-30 16:12:06 +08:00
wacky6.AriesMBP fc242b6179 Select: fix change event
Only emit change for user input

Before:
  select.value = 1;   // triggers change

After:
  select.value = 1;   // does not trigger change
2017-07-28 10:25:24 +08:00
Dreamacro 9f31626923 Tree: add updateKeyChildren method 2017-07-23 17:37:02 +08:00
Dreamacro ce72b8414d add Tree component current node method (#5988)
* Tree: add current node method

* Tree: remove current-node-key attribute

* fix warn message

* Update tree.md

* Update tree.md
2017-07-23 17:28:26 +08:00
Leopoldthecoder 96f542e024 Merge branch 'dev' into carbon 2017-07-20 20:51:59 +08:00
Dreamacro 0a2dd8bd53 Add focus method for some form component 2017-07-20 16:50:38 +08:00
Dreamacro 476f76875c Tree: checkbox can be disabled 2017-07-20 15:41:43 +08:00
Leopoldthecoder daa4f83e4f add object-typed value test 2017-07-20 12:37:04 +08:00
Dreamacro b1860f5274 support focus and blur for select 2017-07-18 12:18:26 +08:00
Dreamacro c1829e69f1 support focus and blur event for some form component 2017-07-18 12:18:26 +08:00
baiyaaaaa ed72c389fc fix autocomplete blur bug
This reverts commit 876cb88ae6.
2017-07-17 16:58:30 +08:00
杨奕 2bba39ce2e Upload: fix against non-primitive key warn in Vue 2.4 (#5872)
* Upload: fix against non-primitive key warn in Vue 2.4

* update horizontal menu test
2017-07-15 17:14:40 +08:00
Leopoldthecoder 0c2248b013 fix switch test 2017-07-13 18:17:13 +08:00
Hugo fb99bc90b1 Dropdown: Allow any type from items' `command` prop 2017-07-02 20:23:57 +08:00
Leopoldthecoder 3f7cf2dcc7 Changelog: update for 1.3.7 2017-06-18 21:22:25 +08:00
Leopoldthecoder 45628ecbf3 ClickOutside: fix 'Cannot read property target of undefined' 2017-06-18 16:23:59 +08:00
ChuckFields 66cad95a4b DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 (#5149)
* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948

* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 -Updated test case
2017-06-09 18:41:30 +08:00
baiyaaaaa a1ec75b2f4 add props support (#5188) 2017-06-09 16:55:30 +08:00
kingwl 1a9822eb60 ColorPicker: fix invalid hue bar click when saturation is zero (#5080) 2017-06-09 16:21:14 +08:00
kingwl 88b5bc6e63 ColorPicker: fix nocorrect rgb value (#5179) (#5183) 2017-06-04 17:11:16 +08:00
wacky6.AriesMBP b98a042541 Switch: add test for single source of truth 2017-06-03 17:25:44 +08:00
kingwl f19cc4c7ab Cascader: fix invalid zero value (#3470) 2017-06-03 16:07:39 +08:00
wacky6.AriesMBP bd2e172fa3 Select: fix default-first-option with remote
make default-first-option work with async filter/remote method
test is updated to reflect this change
2017-05-30 11:21:02 +08:00
pengchongfu 876cb88ae6 Select: remove clickoutside, fix #4985 (#4998) 2017-05-24 11:19:18 +08:00
wacky6 e2e31790da Select: add default-first-option
default-first-option: boolean
* if set to `true`, select first matching option on enter
* only works if `filterable` or `remote` is `true`

test is included
2017-05-18 06:36:04 -07:00
wacky6 3902bcc3e8 DatePicker: fix, add test for unwanted 'input' event emission
Fixes issue: https://github.com/ElemeFE/element/issues/4624
2017-05-13 18:36:31 +08:00
wacky6 6ee73f7715 DatePicker: fix, add test for default-value 2017-05-03 18:35:18 +08:00
Leopoldthecoder defd128f54 add .sync support for Dialog and Pagination 2017-05-03 15:20:57 +08:00
Leopoldthecoder d6265daf73 fix datepicker test, revert emitter-removing attempt 2017-05-03 15:20:47 +08:00
杨奕 aff079d686 Table: add tests for summary row (#4543) 2017-05-03 15:09:27 +08:00
杨奕 72b1bc3c10 Carousel: update doc and test for indicator labels (#4551) 2017-05-02 10:24:40 +08:00
Philip Andersson fcfda74543 [Bugfix] el-select multiple with vuex (#4226)
* Select: Fix Vuex compability when using multiple

* Adding timeout for first click to allow input event to propagate before second click

* Update select.vue
2017-04-29 21:05:01 +08:00
杨奕 ec3895fdba Transfer (#4337)
* add transfer

* Transfer: add English doc

* Transfer: add tests

* update locale files
2017-04-28 16:15:49 +08:00
liyl 19c5afb2df Switch: feature add-expand-value 2017-04-27 11:46:16 +08:00
杨奕 beac09e5b2 Slider: update vertical mode (#4375) 2017-04-27 08:28:38 +08:00
Mathieu DARTIGUES 0bf50bfc2e Add button style to checkbox (#3697)
* Add button style to checkbox

* Implement min/max for checkbox button group

* Fixing a display bug when chekbox is ':checked'

* Update docs to integrate example button+min/max option

* Register correctly checkbox-button
Last fixes after cherry pick and bad rebase...
2017-04-21 16:12:38 +08:00
pengchongfu 9e32cccc73 Message: add ability to close all Messages #3941 (#3966) 2017-04-04 18:00:01 +08:00
Nicholas Lee 5234a58e57 remove unnecessary declaration 2017-04-04 17:58:59 +08:00
liyl 6afa2ba690 Slider: feature - add format-tooltip prop (#3657)
* Slider: add format-tooltip prop

* Docs: update slider.md

* Docs: update slider.md
2017-04-04 15:40:39 +08:00
Mathieu DARTIGUES dfddd5d857 Rename minimum/maximum to min/max, type to Number 2017-03-31 00:02:39 +08:00
Mathieu DARTIGUES 3cefe969be Add minimum/maximum prop to checkbox group 2017-03-31 00:02:39 +08:00
pcf 04fa32a8d0 rename delete-tag to remove-tag 2017-03-26 21:33:00 +08:00
pengchongfu a3dca68fb0 Select: add delete-tag event (#3632) 2017-03-26 21:33:00 +08:00
Nicolaj Egelund 220f1542ea Added clickoutside drag-click test 2017-03-15 15:40:57 +08:00
Nicolaj Egelund 9c13b0e8d5 Updated tests to trigger mousedown and mouseup events instead of click 2017-03-15 15:40:57 +08:00
Gabriel Oliveira f86427f25a Slider: add show-tooltip prop 2017-03-15 13:49:56 +08:00
Cyril Su 5e796ca33b Table: Add handleEvent. (#3305) 2017-03-06 18:45:27 +08:00
baoyang ae8ab4b56c Tree: fix setCheckedKeys() not work on node that has childNodes (#2967) 2017-02-28 16:02:05 +08:00
Pan e204e28320 add unit test 2017-02-27 11:43:16 +08:00
杨奕 067541e8d9 improve tests (#3033) 2017-02-24 17:37:06 +08:00
baiyaaaaa 61672ce0e2 fix input change time (#2956) 2017-02-22 16:33:30 +08:00
Furybean 42bd58d9fe Add ColorPicker component. 2017-02-21 11:01:25 +08:00
杨奕 0643460b28 Cascader: update (#2845)
* Cascader: update

* Cascader: add tests

* Cascader: move flatOptions and add debounce
2017-02-19 00:50:55 +08:00
杨奕 3f64571fcc Carousel: responsive to item change (#2775) 2017-02-18 15:11:41 +08:00
杨奕 450cf81ded Slider: add range support (#2751) 2017-02-17 19:09:59 +08:00
baiyaaaaa 98850a1832 fix test 2017-02-16 22:43:19 +08:00
kingwl 8e34408d6e Input: fix invalid resize prop (#2838) 2017-02-16 16:53:33 +08:00
Leopoldthecoder 3243b8fc98 Merge branch 'dev' into 1.2-merge1
# Conflicts:
#	package.json
#	src/utils/popup/index.js
#	yarn.lock
2017-02-09 17:33:42 +08:00
baiyaaaaa 9dee785465 autocomplete dropdown use el-scrollbar 2017-02-09 16:06:06 +08:00
杨奕 1b4a0f9285 Tree: add node-expand and node-collapse (#2507) 2017-02-07 11:01:25 +08:00
baiyaaaaa 1efe9287f9 fix test 2017-02-04 18:52:37 +08:00
baiyaaaaa 0bec05ada3 update tab api 2017-02-04 18:52:37 +08:00
cinwell.li 14565178ed Tooltip: prevent hidding when hovering tooltip, close #2633 (#2654)
* Tooltip: prevent hidding when hovering tooltip, close #2633

* Fix test
2017-02-04 18:36:08 +08:00
Vinicius Reis 6dd09cc11d Click event #2551 (#2614)
* add click event

* update doc

* add tests
2017-02-04 11:20:04 +08:00
baiyaaaaa 254fc6a20f change allowClear to clearable && add test 2017-02-04 10:46:43 +08:00
baiyaaaaa c8226ad62a add cascader test 2017-02-04 10:46:43 +08:00
baiyaaaaa 1a16fbb735 add cascader 2017-02-04 10:46:43 +08:00
张华焱 8bf9c7d9ac [tree]:add node-expand and node-collapse event 2017-01-24 10:52:25 +08:00
张华焱 7d09486968 [tree]添加node-open与node-close事件,共三个参数,依次为:传递给 data 属性的数组中该节点所对应的对象、节点对应的 Node、节点组件本身。 2017-01-18 17:16:07 +08:00
qingwei.li 5150731e1e Tooltip: refactor code no longer generates additinal html tag, resolve #2423 2017-01-17 13:45:16 +08:00
baiyaaaaa 2072156e5b tree support accordion 2017-01-16 12:37:51 +08:00
baiyaaaaa 33954866fb feature: Radio Group disabled && radio button style bug fix (#2411)
* support radio group disabled

* fix disabled radio button style bug
2017-01-16 10:43:10 +08:00
baiyaaaaa 402aebcd83 Merge pull request #2204 from Leopoldthecoder/messagebox
MessageBox: add beforeClose
2017-01-15 10:51:36 +08:00
baiyaaaaa 6381a498be Merge pull request #2394 from Leopoldthecoder/loading-animation
Loading: add fading animations
2017-01-14 12:52:39 +08:00
Leopoldthecoder 813de47354 Loading: add fading animations 2017-01-13 15:31:05 +08:00
Leopoldthecoder 900d7af019 MessageBox: add uid 2017-01-13 12:06:30 +08:00
Leopoldthecoder 35f102fa2c MessageBox: add beforeClose 2017-01-13 12:06:30 +08:00
baiyaaaaa 5246b170f4 Merge pull request #2309 from njleonzhang/fix_sortevent_bug
fix bug: default-sort-prop is not defined but trigger sort-change event
2017-01-12 22:38:22 +08:00
baiyaaaaa accebb772b input-number auto adjust min max value 2017-01-12 12:13:46 +08:00
baiyaaaaa bbd779c26f add show-message support 2017-01-12 12:12:56 +08:00
baiyaaaaa 7d300727d3 fix input-number change event 2017-01-11 10:35:05 +08:00
njleonzhang 203bc070d9 update UT 2017-01-09 23:20:52 +08:00
baiyaaaaa ad2a32dcd6 Merge pull request #2182 from njleonzhang/table_sort_A_and_D
table sort to toggle
2017-01-09 14:30:55 +08:00
baiyaaaaa 2a6fad5593 Merge pull request #2197 from QingWei-Li/feat/notify/html
Notification: Support HTML, close #1885
2017-01-09 13:54:02 +08:00
baiyaaaaa 77549b752b Merge pull request #2258 from QingWei-Li/fix/table/test
Table: fix unit test, fixed #2243
2017-01-06 19:04:03 +08:00
qingwei.li 2719667fed Notification: supports VNode, #1885 2017-01-06 18:11:18 +08:00
qingwei.li f234e08fa3 Table: fix unit test again. 2017-01-06 17:01:19 +08:00
baiyaaaaa 0b8b011db1 fix autocomplete do not hide on blur bug 2017-01-06 16:38:33 +08:00
qingwei.li af5ea616db Fix: table unit test, fixed #2243 2017-01-06 16:25:02 +08:00
baiyaaaaa 7539325eb5 Merge pull request #2236 from Leopoldthecoder/select-fix
Select: fix filterable init value issue, fixed #2196
2017-01-06 15:35:12 +08:00
kingwl 3e3001a8dc Table: fix header-align bug 2017-01-06 10:46:06 +08:00
baiyaaaaa d9d673bcc3 improve code & fix inittial submenu active bug (#2225) 2017-01-05 23:19:49 +08:00
Leopoldthecoder 3b5248ec2a Select: fix filterable init value issue, fixed #2196 2017-01-05 22:31:37 +08:00
baiyaaaaa 5fb72444a6 fix dynamic change tabs bug 2017-01-05 11:25:44 +08:00
baiyaaaaa 0c0f2527e3 fix tab-bar initial status bug 2017-01-05 11:25:44 +08:00
njleonzhang 9ef1faaec9 toggle sortable 2017-01-03 20:08:43 +08:00
qingwei.li 9ee7afc1c5 TimeSelect: fix maxTime range, fixed #2158 2017-01-03 18:54:37 +08:00
Cyril Su f93a163f40 InputNumber, DatePicker: Clearify the logic of increase and decrease. Fix date-picker.spec.js bugs. (#2145)
* InputNumber: clearify the logic of increase and decrease.

* DatePicker: Fix test specs
2017-01-03 12:23:01 +08:00
baiyaaaaa f20c37885f fix input-number invalid value reset bug 2016-12-30 11:42:21 +08:00
baiyaaaaa 3c0a784aca insert autocomplete suggestions to body 2016-12-29 21:37:52 +08:00
baiyaaaaa cf028a42f4 change tabs box-model to 'block' & remove 'label-content' property (#2064) 2016-12-29 16:19:12 +08:00
baiyaaaaa d896c83860 fix collapse toggle bug (#2059) 2016-12-29 15:16:50 +08:00
baiyaaaaa ea9e5ed462 Merge pull request #2045 from QingWei-Li/feat/table-expand-scoped-slot
Table: expand row feature only supports scoped slot.
2016-12-29 00:07:11 +08:00
Leopoldthecoder eda941e64f Alert: replace render function with default slot 2016-12-28 22:33:41 +08:00
Furybean 191c8ab3d1 Table: add current-row-key prop. 2016-12-28 19:18:53 +08:00
qingwei.li 4817e116e5 Table: expand row feature only supports scoped slot. 2016-12-28 18:12:37 +08:00
杨奕 d2f02b828f Merge branch 'dev' into 1.1 2016-12-28 15:23:51 +08:00
furybean b569b314b8 Table: add expand row feature. 2016-12-28 15:18:25 +08:00
baiyaaaaa 1760007d9c Merge pull request #2019 from QingWei-Li/datepicker/week
DatePicker: custom fisrt day of week #1061
2016-12-28 14:05:59 +08:00
baiyaaaaa d1f9357df7 Merge pull request #1956 from QingWei-Li/fix/date-picker-input-event
DatePicker: input event is not fired when the array value is not upda…
2016-12-27 17:53:52 +08:00
qingwei.li 9f8837ec40 DatePicker: custom fisrt day of week #1061 2016-12-27 16:28:16 +08:00
baiyaaaaa 2eea08af23 fix tabs initial with bug & improve docs 2016-12-27 14:57:15 +08:00
baiyaaaaa 190211d4a9 input number fix change event & improve 2016-12-27 10:17:41 +08:00
cinwell.li a57fba12bd Merge branch 'dev' into fix/date-picker-input-event 2016-12-26 23:04:02 +08:00
baiyaaaaa 882a9d796e add clearable api (#1994) 2016-12-26 23:02:40 +08:00
baiyaaaaa 6e428ffcc7 fix input value binding bug (#1998)
* fix input value binding bug

* improve input test & docs
2016-12-26 23:01:46 +08:00
cinwell.li 05be27e162 Merge branch '1.1' into feat/ssr 2016-12-26 19:51:55 +08:00
cinwell.li c7507725ea Merge branch '1.1' into feat/scrollbar 2016-12-26 16:41:26 +08:00
baiyaaaaa 46295dfd92 add collapse 2016-12-26 16:18:00 +08:00
cinwell.li 9bb51a1267 TimeSelect: add maxTime, resolve #1826 (#1987) 2016-12-26 16:05:37 +08:00
baiyaaaaa 0862174d32 Merge pull request #1898 from hisland/dev
layout: all in right, clear float fixed #1893
2016-12-26 12:33:37 +08:00
qingwei.li a906a5fccb Add vue-popup and dom helper 2016-12-26 11:41:15 +08:00
qingwei.li 7414010203 DatePicker: add change event test 2016-12-23 17:49:46 +08:00
Leopoldthecoder 6c1ea22cd4 Carousel: update api 2016-12-23 16:19:39 +08:00
qingwei.li 9a48448d0f hourElm => hourEl 2016-12-23 12:49:40 +08:00
kingwl 6f75ca6150 Table: support table sort (#1918) 2016-12-23 12:11:17 +08:00
Leopoldthecoder d0619c7f8a review update 2016-12-23 11:57:17 +08:00
hisland 15a44bf9ee layout: all in right, clear float fixed #1893 2016-12-23 11:38:33 +08:00
baiyaaaaa 631afa92ca fix checkbox radio status class && disable style (#1930) 2016-12-23 00:55:24 +08:00
Leopoldthecoder 9e958e603e add carousel 2016-12-22 16:10:55 +08:00
杨奕 c20f5e9442 update new.js and init carousel (#1859) 2016-12-22 11:16:16 +08:00
kingwl 8648ab84dc Table: add header-align 2016-12-21 11:03:22 +08:00
baiyaaaaa c69e30e8c1 fix popover test 2016-12-20 18:54:50 +08:00
baiyaaaaa d2f852a320 add dropdown hide-on-click prop 2016-12-20 18:54:50 +08:00
Furybean a0187d1aba Table: add filter change event & add column-key for column. 2016-12-20 18:37:31 +08:00
杨奕 f14628254a add popper-class for DatePicker, Select and Tooltip (#1806) 2016-12-20 16:38:47 +08:00
杨奕 ead186153f Pagination: fix slot (#1846) 2016-12-20 11:20:57 +08:00
杨奕 240fda5af8 Select: add visible-change event (#1849) 2016-12-20 09:11:10 +08:00
FuryBean 40f9d83f87 Tree: add expand-on-click-node prop. (#1805) 2016-12-19 15:38:51 +08:00
FuryBean 6c4f8a6867 Tree: add current-change event & current-node-key. (#1807) 2016-12-17 14:09:05 +08:00
FuryBean 4614990cb4 Table: add column as third parameter for row-click event. (#1808) 2016-12-17 14:00:35 +08:00
杨奕 d7d8257516 Message & Notification: add iconClass and customClass, fixed #1664 (#1671) 2016-12-14 13:43:14 +08:00
cinwell.li cad3d770ed DatePicker: fix clear button, fixed #1690 (#1710)
* DatePicker: fix clear button, fixed #1690

* DatePicker: fix reset button style

* DatePicker: fix set value

* DatePicker: fix test
2016-12-13 22:51:43 +08:00
baiyaaaaa 8917704392 support tag color property 2016-12-13 16:57:56 +08:00
Hashem Qolami 998dcce225 Feature table maxHeight (#1560) (#1674)
*  [Table] Added fluid height table with maxHeight prop (#1560)

* 🚨 [Table] Added test for maxHeight prop (#1560)

* 📚 [Table] Added the documentation of fluid-height table (#1560)
2016-12-13 16:21:59 +08:00
qingwei.li 2b247df9ca Upload: remove 'X-Requested-With' header
Fix test
2016-12-09 10:58:29 +08:00
cinwell.li 55dfb0c296 Refactor/datepicker (#1623)
* DatePicker: replace native input with el-input

* DatePicker: support size prop, closes #1069, closes #1440

* DatePicker: show correct date for initial value, fixed #1129

* TimePicker: fix empty value when panel appears, fixed #1583

* DatePicker: trigger clickoutside when clicking icon, fixed #1604

* DatePicker: fix year type in year panel, fixed #1607

* DatePicker: fix test

* DatePicker: add doc
2016-12-09 00:06:34 +08:00
baiyaaaaa 3d12579652 support tab disabled 2016-12-08 17:13:41 +08:00