Commit Graph

2249 Commits (74fb8ac2256dbe490f7dc1f9d37eda92a3d9694c)

Author SHA1 Message Date
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
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
Leopoldthecoder 2162240132 Popover: execute focus on instance only if it is a function 2018-05-21 17:41:05 +08:00
杨奕 38a13de337
Autocomplete: add hide-loading (#11260) 2018-05-21 17:27:42 +08:00
STLighter f37e92cc82 Input: cursor goes to the end when typing Chinese quickly (#11235)
autocomplete: remove composition event listeners because input has already handle it.
2018-05-21 14:43:37 +08:00
Leopoldthecoder 0ede22cd66 [build] 2.3.9 2018-05-18 14:21:10 +08:00
Fengyuan Chen 117f731f6e Upload: fix a TypeError when upload a processed file from the `beforeUpload` hook (#11210)
* Upload: add filename

Reference: https://developer.mozilla.org/en-US/docs/Web/API/FormData/append

* Upload: add name and uid properties to processedFile to fix an error

* Update upload.vue
2018-05-18 14:00:06 +08:00
杨奕 696beba0b9
Table: showOverflowTooltip compatibility with IE11 (#11225) 2018-05-18 13:18:22 +08:00
杨奕 e809720ce4
Tree: setCurrentKey cancels highlight when param is null (#11205) 2018-05-17 13:30:58 +08:00
hetech b79a98c7e0 MessageBox: wrap hashchange listener in nextTick (#11200) 2018-05-17 12:25:43 +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
杨奕 1d3ecc5820
Cascader: fix disabled items in filtered results (#11185) 2018-05-16 13:18:02 +08:00
杨奕 d537906ac6
Progress: fix missing icon when status is exception (#11172) 2018-05-15 18:50:18 +08:00
杨奕 d6b65f9400
Autocomplete: avoid popper creation in updated hook (#11144) 2018-05-14 11:05:29 +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
杨奕 6289144d84
Table: optimize tooltip logic (#11137) 2018-05-13 11:47:19 +08:00
Leopoldthecoder 992a7a534e [build] 2.3.8 2018-05-11 19:02:08 +08:00
杨奕 f4d2f14788
Table: use Range to determine text overflow (#11124) 2018-05-11 18:09:28 +08:00
杨奕 68db03fc22
Tree: add checkOnClickNode (#11111) 2018-05-10 18:01:49 +08:00
杨奕 1ff01a77f9
Table: fix an undefined issue in ssr (#11109) 2018-05-10 17:03:03 +08:00
杨奕 3d5f9ef080
Input: fix clear icon overlapping (#11103) 2018-05-10 15:31:37 +08:00
杨奕 8b30a479aa
Dialog: remove unnecessary body line-height (#11097) 2018-05-10 12:08:47 +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
杨奕 897f20683f
Menu: delay addItem so it is after old instances's remoteItem when re-render (#11036) 2018-05-07 12:13:23 +08:00
杨奕 7409be8ce1
Pagination: emit current-change after current page is manually updated (#11012) 2018-05-04 15:32:23 +08:00
杨奕 d304cb27cf
Input: hide clear button when readonly (#10998) 2018-05-03 19:20:25 +08:00
杨奕 dd773b9e72
InputNumber: fix accessing missing $refs in updated hook (#10995) 2018-05-03 18:41:10 +08:00
Jiewei Qian 31b65b8e51 DatePicker: fix dates selection date jump (#10973)
see issue #10890
2018-05-03 10:26:25 +08:00
Leopoldthecoder 6498829c96 [build] 2.3.7 2018-04-29 21:34:34 +08:00
杨奕 1aed314527
Select: fix infinite loop of keyboard navigation when all filtered options are disabled (#10945) 2018-04-29 18:12:02 +08:00
杨奕 16dc174a8d
Select: input should be readonly when options menu not visible (#10944) 2018-04-29 18:00:56 +08:00
Bo Zhang a8248ddfef ColorPicker: active-change only triggers on user interaction (#10903)
* ColorPicker: only emit active-change event source from dropdown, fixed #10901

* Update main.vue
2018-04-29 17:31:52 +08:00
杨奕 27a8c1556e
Input: not show clear button when value is null (#10912) 2018-04-27 16:22:21 +08:00
Jason Zoo 8b379a57df Switch: use CSS to process button position (#10879)
* switch transformx value not flexiable

* add -1px for button
2018-04-25 17:34:00 +08:00
杨奕 458d34a820
Switch: pass id to native input element (#10862) 2018-04-25 17:03:41 +08:00
Weimengxi 6443850aa3 Tree: make checkStrictly responsive (#10867)
* Tree: fix model.TreeStore.checkStrictly doesn't change along with the change of tree.props.checkStrictly

* Update tree.vue
2018-04-24 19:51:03 +08:00
杨奕 8d6a2a4555
Table: update columns width after filter (#10834) 2018-04-23 11:48:11 +08:00
Leopoldthecoder 363528fc0d [build] 2.3.6 2018-04-21 18:15:20 +08:00
杨奕 9c058fbf7c
Select: remove blur emit after soft focus (#10822) 2018-04-21 16:39:48 +08:00
杨奕 1d33bae558
Tree: fix allowDrop's type behavior (#10821) 2018-04-21 15:02:22 +08:00
Zong 5c0c5b8eae Pagination: optimize styles for small pagination (#10808) 2018-04-21 14:42:40 +08:00
qingming 14eef644e9 Breadcrumb: code optimization (#10817) 2018-04-21 14:37:29 +08:00
Leopoldthecoder fdef1020ca [build] 2.3.5 2018-04-20 16:05:19 +08:00
杨奕 9a1afc3b33
Select: focus input in setSoftFocus when available (#10801) 2018-04-20 14:10:16 +08:00
杨奕 e8e2fc425b
Tree: add type as allow-drop's 3rd param (#10792) 2018-04-19 19:25:59 +08:00
GU Yiling 071e44bab0 a11y: add aria-hidden for checkbox/radio (#10771) 2018-04-18 16:18:19 +08:00
杨奕 f530bffa97
Pagination: update docs for pager-count (#10772) 2018-04-18 16:01:07 +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
cnjs f2988cd1bd MessageBox: fix invalid input border color when inputValidator returns string (#10729) 2018-04-16 18:29:56 +08:00
杨奕 3eb377f72f
Select: update docs for automatic-dropdown (#10727) 2018-04-16 12:32:14 +08:00
Richard-Choooou 4b628e9cf7 Rate: pressing nav keys shouldn't update value when disabled (#10726) 2018-04-16 12:27:25 +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
Hyuni 783cb2691f Input / Select: fix Korean IME composition bug (#10648)
* Input: fix cursor goes to the end of the text(#10611)

* Input: fix cursor goes to the end of the text(#10611)

* Update input.vue

* Update select.vue

* Update input.vue
2018-04-15 15:57:35 +08:00
杨奕 769db14516
Input: fix when value is zero (#10714) 2018-04-15 14:45:52 +08:00
Jiewei Qian 7c3cadba5c DatePicker: fix week selection range highlight (#10712) 2018-04-15 14:30:14 +08:00
Leopoldthecoder 12d559965c [build] 2.3.4 2018-04-12 21:24:59 +08:00
superbiger 36fa8d6dcb Rate: fix a method name typo (#10688) 2018-04-12 18:53:21 +08:00
杨奕 583439a4be
Table: add $index as formatter's param (#10645) 2018-04-10 16:15:09 +08:00
杨奕 58138613eb
Tabs: fix text color for disabled border-card (#10640) 2018-04-10 11:14:10 +08:00
杨奕 064831de92
Select: fix tags style in IE10 (#10632) 2018-04-09 20:27:34 +08:00
杨奕 a864d506aa
Textarea: fix undefined in ssr when v-model not set (#10630) 2018-04-09 19:54:00 +08:00
杨奕 0ae91ec37f
Pagination: disabled prev and next buttons should not trigger click (#10628) 2018-04-09 18:53:50 +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
杨奕 6f4f57172b
Upload: fix duplicated handleClick due to keydown bubbling (#10624) 2018-04-09 17:05:25 +08:00
杨奕 5da88ade6b
Select: fix a wrong variable name (#10618) 2018-04-09 14:20:46 +08:00
Harlan 5b41b1a789 Table: update resizeState when updateColumnsWidth (#10338) 2018-04-09 09:58:36 +08:00
杨奕 dcf0488a3e
Pagination: ensure currentPage is updated in current-change handler (#10599) 2018-04-08 13:58:47 +08:00
杨奕 ae32925318
Radio: remove native input's offset of radio button (#10592) 2018-04-07 18:26:53 +08:00
杨奕 02440aa5fb
Transfer: support scoped slot for data items (#10577) 2018-04-05 21:25:14 +08:00
杨奕 94312a4444
Pagination: fix current-change not fire after currentPage manually updated (#10562) 2018-04-04 19:26:38 +08:00
Leopoldthecoder 582226a0ff [build] 2.3.3 2018-04-04 16:42:55 +08:00
杨奕 1790d2c9fd
InputNumber: change event should fire after input event (#10553) 2018-04-04 14:02:16 +08:00
杨奕 422a8ac9c4
Breadcrumb: remove visual feedback for non-link items (#10551) 2018-04-04 11:34:00 +08:00
Jeremy Studer 2bc4df7863 Tabs: not change tab color on hover when disabled (#10549)
For tabs of style "border-card", don't set the color property on hover
if it is disabled.
2018-04-04 10:45:42 +08:00