Commit Graph

480 Commits (911ca6872a7eeecc9b513b819a032fb086b76119)

Author SHA1 Message Date
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
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
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 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
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
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
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
hetech 143f0c64d1
test: update test case for form (#12886) 2018-09-26 11:01:05 +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
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
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
Jiewei Qian 9f80cf91da date-picker: fix form change validation (#12328) 2018-08-13 12:26:36 +08:00
hetech 484725b15f
Dialog: ignore width when fullscreen is true (#12203) 2018-08-02 11:27:30 +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
Jikkai Xiao 4130f2af40 Table: add toggleAllSelection method (#12047) 2018-07-24 16:36:31 +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
Jiewei Qian 0ed8d18603 Select: fix form change validation (#11672) 2018-06-20 11:15:34 +08:00
hetech 85e562185e Chore: delete unused file (#11641) 2018-06-15 12:20:19 +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 35931815fc Test: add more test cases (#11541)
* Tabs: improve test case

* Container: improve test case

* Radio: improve test case
2018-06-08 15:59:24 +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
杨奕 0afa514e0a
MessageBox: add iconClass (#11499) 2018-06-06 12:19:24 +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 eb1479d3bc Tabs: fix lazy loading (#11461)
* Tabs: fix lazy tab-pane order

* Tabs: fix lazy loading
2018-06-01 17:43:22 +08:00
hetech 3e2e96313a Test: add some test cases (#11453) 2018-06-01 17:07:52 +08:00
Jikkai Xiao 40cf8ee0e6 improve the test coverage (#11447) 2018-06-01 11:27:53 +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 c9ea4161f1 MessageBox: remove hidden class when using MessageBox twice (#11371) 2018-05-28 16:19:10 +08:00
Jikkai Xiao b726aa0265 Table: retain currently selected row when sorting the table. (#11348) 2018-05-25 17:47:27 +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
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
hetech bcfb1d3c71 InputNumber: add precision attribute (#11281) 2018-05-23 14:10:34 +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
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
Jikkai Xiao 54eeb5ced3 Chore: convert build system to webpack (#11216)
* Chore: convert build system to webpack

* Update webpack.demo.js

* Chore: remove cooking and upgrade dependencies to adapt webpack@3
2018-05-21 15:26:46 +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