Commit Graph

282 Commits (4a6bd309a46cbc237f5f1e2cf9939e5b174495b0)

Author SHA1 Message Date
wangfengming 7074a247f4 Table: support sort-by 2017-10-31 11:35:40 +08:00
Leopoldthecoder 768981c1aa Changelog: update for 2.0.0-rc.1 2017-10-25 05:47:57 -05:00
Cyril Su 25e8503d65 Carbon: Table add features and fix bugs (#7682)
* Table: Fix error in calculate `totalFlexWidth`

* Table: Fix error in caculate `scrollX`

* Table: Watch `max-height` change

* Table: Change `toggleRowExpanded`

* Table: Support `obj[key]`

* Table: Update docs for `toggleRowExpanded`

* Table: Add style and class control for every row and cell

* Table: Add `migrating` mixin for `expand`

* Table: Update test spec

* Table: Add `index` in `table-column` for custom index
2017-10-25 02:35:12 -05:00
Leopoldthecoder 333a010d3b Table: add size 2017-10-25 01:41:17 -05:00
lirilsu 1310bdee26 Table: Remove `sort-clear` and `filter-clear` event 2017-10-20 02:19:45 -05:00
lirilsu 8c78dc1082 Table: Update docs for carbon table 2017-10-20 02:19:45 -05:00
lirilsu 0ca040fb42 Table: Render `default` slot in `table-column` to get a correct `columnRows` 2017-10-20 02:19:45 -05:00
lirilsu fa494b1952 Table: Trigger `doLayout` when display from `none` to others 2017-10-20 02:19:45 -05:00
lirilsu 999db14732 Table: Move `append` slot out of `table-body` 2017-10-20 02:19:45 -05:00
lirilsu f6f61bcbde Table: Add class to expanded row 2017-10-20 02:19:45 -05:00
lirilsu f347657651 Table: Table: Remove render default in `table-column` 2017-10-20 02:19:45 -05:00
lirilsu 00c5028d8d Table: Expand rows when set `expand-row-keys` 2017-10-20 02:19:45 -05:00
lirilsu ec182424ad Table: Add clear sort 2017-10-20 02:19:45 -05:00
lirilsu 26a8c222b1 Table: Add clear filter 2017-10-20 02:19:45 -05:00
lirilsu 8e09988918 Table: Add spanMethod to support rowspan and colspan 2017-10-20 02:19:45 -05:00
lirilsu d8dd114a16 Table: Fix error in cacluating hidden in `table-header` and `table-body` 2017-10-20 02:19:45 -05:00
lirilsu ba3315a728 Table: Filter data again when change data 2017-10-20 02:19:45 -05:00
lirilsu cb993a6487 Table: Change sort method to match built-in Array#sort 2017-10-20 02:19:45 -05:00
Leopoldthecoder f0b7debd23 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/docs/en-US/switch.md
#	examples/docs/zh-CN/switch.md
#	examples/versions.json
#	package.json
#	packages/switch/src/component.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/common/var.css
#	packages/theme-default/src/switch.css
#	src/index.js
2017-10-16 18:33:41 +08:00
Brad Adams 0de6b447e5 Table: Add `important` rule to `col-resize` cursor (#7381)
* Table: Add `important` rule to `col-resize` cursor

* Table: Add `important` rule to `col-resize` cursor

* Update table-header.js
2017-10-09 07:07:10 -05:00
杨奕 21c579179c remove theme-default (#7273) 2017-09-28 05:01:29 -05:00
Leopoldthecoder a35ab0bb03 Autocomplete: support scoped slot as custom template 2017-09-25 06:44:03 -05:00
Black Wayne 1ba90b9534 Table: add chalk theme (#7059)
* Table: add chalk theme

* Table: add group header & other

* Table: del package.lock

* Table: del single test trace

* Table: fix border problem

* Table: fix boder problem

* Table: clean css

* Table: footer border right - -|
2017-09-22 01:30:44 -05:00
Leopoldthecoder 678cf1103f Table: fix single filter active state 2017-09-17 07:51:39 -05:00
Leopoldthecoder fece184c64 Table: sortable header discoverability 2017-09-06 12:42:01 +08:00
Leopoldthecoder 3a005ef5da Table: fix undefined popper 2017-08-30 10:28:25 +08:00
Leopoldthecoder 48135c7c50 Table: fix toFixed parameter overflow 2017-08-25 13:32:48 +08:00
Prasino 931f75474e Table: fix scroll delta check bug (#6581)
* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table: fix wheelEvent check bug

* Update table.vue

* Update table.vue
2017-08-19 22:29:15 +08:00
Leopoldthecoder 0966662dc0 Table: allow omitting prop if sort-method is provided 2017-08-09 11:52:27 +08:00
Leopoldthecoder aae78193f9 Table: hide table when nested in an invisible container 2017-08-09 11:52:27 +08:00
Leopoldthecoder 40a873e93e Select: add value-key 2017-07-20 12:37:04 +08:00
rt_eastlv e3f5673487 Table:修复取不到selection的BUG 2017-07-20 11:51:40 +08:00
helondeng 92d6008802 Table: add value as formatter parameter (#5709)
* 添加接口计算原来的列值

* export old value of column in formatter function

* Update table-column.js

* Update table-column.js
2017-07-15 17:00:36 +08:00
song 4e073d1bb1 Table: row-key support for multi-level props(#5607)
* Let getRowIdentity simply support the _.get method similar to lodash.

* Complete doc

* Update table.md

* Update table.md
2017-07-02 20:24:57 +08:00
Flyn b74ccda118 Table:fix table support for IE9 2017-07-02 20:05:18 +08:00
Harlan 8be103aef1 Fix issue 5340 2017-06-23 14:41:31 +08:00
杨奕 c0dd2f562c Table: fix hidden summary row with async data (#5318) 2017-06-15 21:30:12 +08:00
杨奕 4306672116 Table: fix incorrect expression (#5109) 2017-05-30 00:49:24 +08:00
杨奕 5257b1ede8 Table: fix wrong stripe style with expandable rows (#4873) 2017-05-21 14:08:23 +08:00
暮雨 3fb5131d64 Table: fix #4692
table[highlight-current-row] with column[type=expand] will highlight wrong row
2017-05-15 18:21:46 +08:00
Leopoldthecoder d338372979 Table: fix table body height calculations 2017-05-10 19:53:59 +08:00
Leopoldthecoder 2fbe685506 Table: fix summary row scroll 2017-05-06 17:37:28 +08:00
任侠 b269c22bba table: set width for each td>div.cell.el-tooltip element(#2198,#3128) 2017-05-05 08:06:02 +08:00
white.wang 22c65df30f Table: Add filter-placement for table filter Popper; If the column is too wide, the popper's position will be improper;
https://jsfiddle.net/whitewang/obpsLcva/7/
2017-05-03 14:24:31 +08:00
white.wang 324f541c76 Table: Add filter-placement for table filter Popper; If the column is too wide, the popper's position will be improper;
https://jsfiddle.net/whitewang/obpsLcva/7/
2017-05-03 14:24:31 +08:00
杨奕 349894d107 Table: add summary row, fixed #1307, fixed #4451 (#4484) 2017-04-28 15:53:39 +08:00
Leopoldthecoder 45043754df update dependencies 2017-04-28 14:09:25 +08:00
杨奕 91476e5c79 Table: add setCurrentRow (#4390) 2017-04-22 01:11:32 +08:00
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