Commit Graph

284 Commits (1790d2c9fd4937928be66a0361044c74cc297229)

Author SHA1 Message Date
pengchongfu 32543f3671 Table: manage tooltip state better, fixed #4044 2017-04-19 18:27:49 +08:00
杨奕 a02c6ed3c2 Table: fix a handleClosePopper bug, fixed #3888 (#4085) 2017-04-12 11:26:45 +08:00
Liril d184e9c0b6 Table: Add silent for filter-chagne 2017-04-07 18:55:59 +08:00
Liril d652e73f74 Table: init filters. 2017-04-07 18:55:59 +08:00
liyl 29162c76f1 Table: Fixed #3896 (#4023)
* Table: Fixed #3896

* Table: fixed filter-panel format

* Table: fixed filter-panel.vue
2017-04-07 13:52:38 +08:00
pengchongfu 3bb5b5e7d4 Table: delete duplicate declaration "ElTooltip", fixed #4046 (#4047) 2017-04-06 21:44:33 +08:00
qingwei.li 646b521085 Table: hide tooltip when it is destroyed, fixed #3836 2017-04-06 17:14:34 +08:00
qingwei.li a2a0095167 Table: add tooltip component, fixed #3888 2017-04-06 17:14:34 +08:00
qingwei.li cb0a60066b Table: improveper formance for init tooltip, fixed #3836 2017-04-06 17:14:34 +08:00
xhd f9d8a0e03f fixed #3800
https://github.com/ElemeFE/element/issues/3800 fixed
2017-04-04 15:32:29 +08:00
Jared Fraser 83ed9513ea TableBody: Tooltip used but not imported. (#3973)
* Defined the tooltip component

* Removed component alias
2017-04-03 22:01:24 +08:00
Liril d233a16821 Table: Hack for dynamics change columns. 2017-04-01 14:07:45 +08:00
cinwell.li a3273188e7 Table: improve performance for rendering tooltip, fixed #3478 (#3836)
* Table: improve performance for rendering tooltip, fixed #3478

* Table: add tooltip-effect property
2017-03-29 11:59:12 +08:00
Liril 5f5ae1408e Table: Change debounce invoke atBegin. 2017-03-28 15:05:17 +08:00
Cyril Su c31f19a4e8 Table: Fixed wrong height. (#3539) 2017-03-18 08:40:01 +08:00
张韧 b29ce95b81 add labelClassName 2017-03-09 17:05:55 +08:00
Leopoldthecoder e4fe26840f update upload doc and add arrow click sorting for table 2017-03-09 12:21:13 +08:00
Cyril Su 5e796ca33b Table: Add handleEvent. (#3305) 2017-03-06 18:45:27 +08:00
qingwei.li 5b84df01be Table(doc): remove context prop 2017-02-28 17:28:37 +08:00
Cyril Su 537e1e035c Table: Fix wrong fixed height temporary. (#3019) 2017-02-24 17:51:15 +08:00
Liril 7651d2532d Table: Add header-dragend. 2017-02-23 14:57:20 +08:00
Cyril Su f1913d991d Table: Fix wrong height when switch prop height. (#2979) 2017-02-23 11:31:25 +08:00
Cyril Su f1c44858e7 Table: Add cell-dblclick. (#2983) 2017-02-23 11:30:55 +08:00
Liril 651fb58988 Table: Remove extra render in cells. 2017-02-22 15:30:21 +08:00
xuanfeng 0b2b803992 table: fix the wrong repository field 2017-02-19 20:35:16 +08:00
Liril d220894e81 Table: Fix wrong header with fixed right columns. 2017-02-16 22:52:24 +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
cinwell.li c07609b840 Table: fix data is an array of numbers, fixed #2108 (#2576) 2017-02-04 15:59:06 +08:00
Leopoldthecoder d888e44cc2 Publish
- element-carousel@1.0.0
 - element-table@1.0.0
 - element-upload@1.0.0
 - element-datepicker@1.0.0
 - element-loading@1.0.0
 - element-pagination@1.0.0
2017-01-23 17:20:52 +08:00
Leopoldthecoder 4d899d4a4d reset version number of Table and DatePicker 2017-01-23 16:17:16 +08:00
cinwell.li 9f5c08e6e6 Clean packages (#2345) 2017-01-23 14:06:01 +08:00
qingwei.li 4296c03d03 Table: fix sortable, allows cancellation sort 2017-01-18 14:14:34 +08:00
qingwei.li bfb4c9c3f1 Table: fix columnKey, fixed #2322 2017-01-18 11:22:10 +08:00
baiyaaaaa 925ad817a7 Merge pull request #2405 from njleonzhang/revise_table_sort_api
revise table default sort api
2017-01-16 14:15:13 +08:00
baiyaaaaa 401be51f27 Merge pull request #2410 from njleonzhang/extends_sort_and_filter_area
#2324 extend sort and filter click area to th element
2017-01-16 14:12:09 +08:00
吴亮 39cbb051f1 fix eslint error, about indent 2017-01-16 11:30:31 +08:00
吴亮 cdb2335939 like as if (filterValue !== null) is better 2017-01-16 11:30:31 +08:00
吴亮 0b10d3e152 try to fix eslint: Strings must use singlequote quotes 2017-01-16 11:30:31 +08:00
吴亮 1b40caf855 fix eslint: Unary word operator 'typeof' must be followed by whitespace 2017-01-16 11:30:31 +08:00
吴亮 e5fa4acfcc revert 93c9c206e6, and fix the bug by
typeof
2017-01-16 11:30:31 +08:00
吴亮 6362cbce30 fix select first element on table filter bug 2017-01-16 11:30:31 +08:00
njleonzhang 4f1fdb3c83 #2324 extend sort and filter click area to th element 2017-01-14 17:18:12 +08:00
njleonzhang bc00ce0354 revise table default sort api 2017-01-14 14:51:44 +08:00
baiyaaaaa 5af2d39714 Merge pull request #2396 from QingWei-Li/fix/table/nodata-width
Table: fix body width when no data
2017-01-13 19:11:46 +08:00
baiyaaaaa a2876ab8cb Merge pull request #2392 from QingWei-Li/fix/table/filteredValue
Table: missing filteredValue prop, fixed #2348
2017-01-13 17:49:30 +08:00
qingwei.li 8e36cee37c Table: fix body width when no data 2017-01-13 16:38:37 +08:00
baiyaaaaa 0e13dab680 Merge pull request #2372 from QingWei-Li/fix/table-fixed-column
Table: fix fixed column height when empty data, fixed #2300
2017-01-13 15:12:33 +08:00
qingwei.li 8961b318df Table: missing filteredValue prop, fixed #2348 2017-01-13 14:53:58 +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
qingwei.li 9f94a28f43 Table: table-body revert to v1.1.2, fixed #2312 2017-01-12 20:19:04 +08:00
qingwei.li 8498656f68 Table: fix fixed column height when empty data, fixed #2300 2017-01-12 16:12:39 +08:00
njleonzhang 22cea4e6c4 fix bug: default sort doesnot dismiss 2017-01-11 09:48:09 +08:00
njleonzhang 59d1f49b1c fix bug: default-sort-prop is not defined but trigger sort-change event 2017-01-09 23:04:06 +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
kingwl 3e3001a8dc Table: fix header-align bug 2017-01-06 10:46:06 +08:00
njleonzhang 48a0685ca0 1. add document; 2. make default-sort-order default to ascending 2017-01-05 12:39:37 +08:00
Yuyang Liu a3da161339 table: wrap col in colgroup to make column width work in safari 2017-01-05 10:42:31 +08:00
njleonzhang 9ef1faaec9 toggle sortable 2017-01-03 20:08:43 +08:00
Leon Zhang dc0248279d messy indent (#2165) 2017-01-03 16:27:42 +08:00
Herrington Darkholme 23423e39e7 general: normalize name in default export 2017-01-01 01:11:21 +08:00
qingwei.li 923d9b6622 Table: fix test fix #2090 , remove virtual scrollbar 2016-12-30 11:12:13 +08:00
杨奕 bdd0604bd0 remove obsolete migrating hints (#2055) 2016-12-29 10:43:00 +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
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
qingwei.li 2b096a5673 fix test 2016-12-26 20:33:08 +08:00
cinwell.li 05be27e162 Merge branch '1.1' into feat/ssr 2016-12-26 19:51:55 +08:00
杨奕 441f4c31a9 Table: remove highlight class after data change (#1977) 2016-12-26 16:07:14 +08:00
qingwei.li a906a5fccb Add vue-popup and dom helper 2016-12-26 11:41:15 +08:00
qingwei.li daec90af9f SSR feature 2016-12-26 10:45:20 +08:00
qingwei.li 547612bf6e update 2016-12-23 12:47:55 +08:00
kingwl 6f75ca6150 Table: support table sort (#1918) 2016-12-23 12:11:17 +08:00
qingwei.li 5aea5eced3 Add scrollbar 2016-12-23 12:09:17 +08:00
cinwell.li 339dada583 Feat/scoped slot table (#1844)
* Upgrade to vue 2.1.0

* Table: support scoped slots, resolve #1763, #1161

* Update vue version

* fix test

* fix test

* Update doc

* Fix english docs
2016-12-22 11:16:04 +08:00
kingwl 8648ab84dc Table: add header-align 2016-12-21 11:03:22 +08:00
Furybean a0187d1aba Table: add filter change event & add column-key for column. 2016-12-20 18:37:31 +08:00
FuryBean 4614990cb4 Table: add column as third parameter for row-click event. (#1808) 2016-12-17 14:00:35 +08:00
baiyaaaaa a5bdd2cabb component README update and fix 2016-12-16 10:57:54 +08:00
qingwei.li 3bf624c757 Table: add empty slot, closed #1737, closed #1730 2016-12-14 13:34:35 +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
Pierre-Louis Renaudin 15dc895ee6 Add contextmenu event on table row element. (#1663) 2016-12-10 18:48:07 +08:00
Furybean fed488ef9f Table: fix column[type=selection] style issue in ie9+. 2016-12-09 17:37:58 +08:00
FuryBean 2dd2c79365 Table: fix a style bug when fixed=right. (#1651) 2016-12-09 16:08:49 +08:00
杨奕 9ccb7b852f Table: add missing ElCheckbox (#1635) 2016-12-09 11:49:30 +08:00
Hashem Qolami 5cde77b37d 🐛 [Table] fixed incompatibility with vue-i18n (#1587) 2016-12-07 10:23:05 +08:00
baiyaaaaa 7a85d55f31 normalize transition class name 2016-12-03 19:30:21 +08:00
Furybean e61ff12070 Table: fix column label not visible in some condition. 2016-12-02 17:43:46 +08:00
Furybean 0caa085523 Table: add row-dblclick event. 2016-12-02 17:43:21 +08:00
FuryBean e2870f72f0 Table: fix update scrolly not working bug (#1519) 2016-12-02 17:36:19 +08:00
Furybean 812a953b1e Table: add row-style prop. 2016-11-25 17:41:07 +08:00
kingwl a3f570789c Table: fix align attribute (#1338) 2016-11-24 18:34:02 +08:00
FuryBean 5c386d5ce8 Table: fix dynamic prop in table-column cause script error. (#1314) 2016-11-24 06:54:32 +08:00
FuryBean 2f3f5eabc1 Table: add header group feature. (#1312) 2016-11-23 20:32:23 +08:00
FuryBean 631037c296 Table: improve performance in large data. (#1298) 2016-11-23 18:24:32 +08:00
kingwl e3ac607938 Table: fix selectAll option at table selection (#1300) 2016-11-23 18:23:50 +08:00
FuryBean 6353d33afe Table: fix a script error when show-header is true. (#1248) 2016-11-21 19:01:31 +08:00
qingwei.li 37510831ca Update: release script 2016-11-18 20:03:20 +08:00
FuryBean 07b8ec030f Table: fix selection-change not fire in some condition. (#1198) 2016-11-18 20:03:19 +08:00
furybean 0a31868b5f Table: add show-header prop & add header-click event & make height more reasonable. 2016-11-18 20:03:18 +08:00
cinwell.li 4ebdd6a6d4 Table: add context prop (#1161) 2016-11-18 20:03:18 +08:00
furybean bd8bf7bf35 Table: fix fixed column won't disappear in some condition. 2016-11-18 20:03:17 +08:00
furybean 012c0185f2 Table: fix select-all checkbox is selected when all rows are not selectable. 2016-11-18 20:03:17 +08:00
qingwei.li a13b49b609 Locale: fix dynamic change locale 2016-11-18 20:03:14 +08:00
Akira Komamura d37e0dbd39 Add column class-name to the table header and update documentation (#1027)
* Table: Add className property to columns

* Table: update documentation on column class-name

* Table: Apply column class-name to table header
2016-11-13 14:39:24 +08:00
杨奕 bcbee7b472 Merge pull request #1016 from furybean/table-row-key
Table: render rows with row-key.
2016-11-13 11:49:09 +08:00
cinwell.li cfafd3d191 Table: fix render fail in vue-loader 9.9.0 (#1018) 2016-11-13 11:44:29 +08:00
furybean 69d5646833 Table: render rows with row-key. 2016-11-13 11:41:21 +08:00
furybean f27d433744 Table: fix hover effect is slow when data > 200. 2016-11-13 03:38:31 +08:00
furybean 2951e6843f Table: fire selection-change when row is removed. 2016-11-09 17:47:00 +08:00
qingwei.li 3c12100f52 Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
qingwei.li 47392d1e29 Locale: rename $t to t 2016-11-07 23:33:33 +08:00
FuryBean 971150c2fb Table: remove mouse wheel prevent default. (#873) 2016-11-07 11:58:01 +08:00
qingwei.li 70307dfadb fix package.json url 2016-11-06 12:26:14 +08:00
FuryBean 07cd230674 Fix Table Bug: body-wrapper should not set style.height when table not set height. (#839) 2016-11-05 07:31:18 +08:00
FuryBean f013d6eb0b Table: add renderHeader prop. (#838) 2016-11-05 07:30:23 +08:00
furybean aac3ec40c2 Table Column: watch more prop & rename showTooltipWhenOverflow. 2016-11-04 22:15:34 +08:00
FuryBean b3a2f95545 Merge pull request #832 from QingWei-Li/fix/object-assign
Table/MessageBox/Tree: remove object-assign
2016-11-04 19:19:12 +08:00
qingwei.li 4a224adaa3 Table/MessageBox/Tree: remove object-assign 2016-11-04 18:44:19 +08:00
furybean 7263db12b3 Table: add single selection back. Add current-change event & highlight-current-row event. 2016-11-04 16:28:44 +08:00
杨奕 7f89199806 Merge pull request #815 from furybean/table-scroll
Table: support header mousewheel scroll.
2016-11-04 12:27:11 +08:00
furybean ae1c9252c9 Table: clear selection after change data, fixed #813. 2016-11-04 11:44:39 +08:00
furybean 496f385796 Table: support header mousewheel scroll. 2016-11-04 11:38:44 +08:00
FuryBean afb68c75fa Table: update hover effect. (#803) 2016-11-03 21:00:09 +08:00
furybean 0eacd76e22 Table: let table compatible with vuex. 2016-11-03 14:43:23 +08:00
杨奕 32f25eb302 Merge pull request #780 from furybean/table-hidden
Table: rename hidden class to is-hidden.
2016-11-01 20:44:17 +08:00
FuryBean 3844b4aa3b Table: fixed firefox bug. fixed #766. (#769) 2016-11-01 20:32:11 +08:00
furybean ad193c0c80 Table: rename hidden class to is-hidden. 2016-11-01 20:17:34 +08:00
cinwell.li 74e6dac47c Table: fix show tooltip, fixed #714 (#717) 2016-10-30 11:32:06 +08:00
qingwei.li 691a49fc17 Table: add sortable test 2016-10-28 09:47:10 +08:00
qingwei.li ad30305d6d Merge branch 'master' into test/imporve-table 2016-10-28 09:22:58 +08:00
furybean 4a0c580a20 Table: add column remote/custom sort. 2016-10-28 01:24:13 +08:00
qingwei.li 8502c891d2 Table: add filter test
a

a
2016-10-27 23:52:54 +08:00
FuryBean 14495f6189 Table: add filter feature. (#684) 2016-10-27 21:45:21 +08:00
furybean 3470bdfeba Pagination: rename currentchange & sizechange. 2016-10-26 14:55:16 +08:00
furybean 59ed4984dc Table: add empty text 2016-10-25 23:20:48 +08:00
cinwell.li 4dd8b094cb Update externals (#641) 2016-10-25 21:35:41 +08:00
qingwei.li 86a5f8f5d0 Table: add test
Remove fuck
2016-10-25 17:26:59 +08:00
furybean 41490c55e1 [Table] Improve fixed implement method. 2016-10-21 23:26:52 +08:00
FuryBean 4842047c5b [Table] Add Migrating tip for table & rename cell-mouse* event to cell-mouse-* (#572) 2016-10-21 17:53:49 +08:00
furybean f8fdf35bbb [Table] Remove prop: selectionMode & allowNoCurrentRow 2016-10-21 16:35:28 +08:00
Leopoldthecoder 70aed33c69 Select: add resize event 2016-10-20 18:44:09 +08:00
cinwell.li 510034d2d2 Add istanbul ignore (#521) 2016-10-19 22:48:35 +08:00
furybean 6ab0d57428 Update Table:
1. Add rowKey prop for Table.
2. Add clearSelection method for Table.
2. Add reserveSelection prop for TableColumn[type="selection"]
2016-10-19 21:58:29 +08:00
furybean b36da2f982 Improve Table:
1. Add TableStore & TableLayout.
2. Remove customCriteria & customBackgroundColors.
3. Remove fixedColumnCount.
4. Add fixed prop for TableColumn.
5. Add selectable prop for TableColumn[type="selection"].
2016-10-19 11:09:00 +08:00
qingwei.li 0cc28fb16a Support publish component packages 2016-10-17 12:14:10 +08:00
qingwei.li 06392ade7b Clear dependencies 2016-10-13 11:12:24 +08:00
cinwell.li de696c78bc Tooltip/Popover: adjust the element to body, fixed #296 (#300)
* Tooltip/Popover: adjust the element to body, fixed #296

* Popover: fix destroy popover

* Refactor vue-popper, #296

* Fix datepicker style

* Poppover: remove settimeout

* Select: fix click outside

* Fix popper zIndex
2016-10-12 17:41:49 +08:00
furybean 4a08c4702d Improve Table: use element reisze event instead of window resize event 2016-10-08 17:58:18 +08:00