Commit Graph

93 Commits

Author SHA1 Message Date
Zhongxiang Wang
cabc943003 fix(components): [table] fix maxHeight doesn't consider footer height (#9011) 2022-07-26 21:41:11 +08:00
zz
1ea3dce492 fix(components): [table] clearFilter not work (#8966) 2022-07-26 18:15:46 +08:00
Xc
251199e783 fix(components): [tooltip] related components are controlled (#9019) 2022-07-26 17:22:54 +08:00
zz
74ce6c1ac2 perf(components): [table] improve find the closest ancestor (#8621) 2022-07-21 14:24:09 +08:00
Xc
7258ee3bb2 fix(components): [table] spanMethod check return type (#8844) 2022-07-17 23:14:14 +08:00
msidolphin
d365ad811e refactor(components): [el-table] using flex to refactor table (#8690) 2022-07-11 02:08:21 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
沐林森13
50efff225c fix(components): [table] fix namespace in table's expand icon (#8162)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-06-09 02:08:37 +08:00
Carter Li
8413f8ea31 refactor(components): use useResizeObserver (#8124) 2022-06-08 02:04:48 +08:00
msidolphin
742bc0d192 fix(components): [el-table] hide tooltip when table is scrolling (#8012) 2022-06-02 10:58:44 +08:00
qiang
21a1c24f58 fix(components): [table] the scrollbar not change (#7905) 2022-05-30 08:35:28 +08:00
msidolphin
6f04af6c39 feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
JeremyWuuuuu
9a88fb4e46 fix(components): [popper] appendToBody API deprecation (#7534)
* fix(components): [popper] appendToBody API deprecation

- Remove `appendToBody` for components still using it.

* Remove duplicated attribute
2022-05-06 18:41:50 +08:00
joson
b0e62faf79 style(components): [table] clean code (#7309)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-22 10:50:11 +08:00
hminghe
3d3621698f fix(components): [table] fix SummaryMethod type (#7206) 2022-04-18 14:28:44 +08:00
KAKI
e08e514414 fix(components): [table]emit "current-change" when currentRowKey changed (#6992) 2022-04-11 08:48:10 +08:00
Xc
b2e9d630a6 chore(style): refine repetitive code (#7003)
* style: Refine repetitive code

* style: add default value

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
Zhongxiang Wang
41df8b724c fix(components): [el-table] use table width as empty block width (#6694)
* fix(components): [table] fix wrong table width is set to resizeState

* fix(components): [table] add tableWidth as empty block width
2022-03-31 15:32:22 +08:00
msidolphin
d3756d941e feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
msidolphin
7684dddac4 feat(components): [el-table] add placeholder for tree table (#6905) 2022-03-31 10:27:21 +08:00
bqy_fe
c9c1301e3b fix(components): [table-column] does not render defualt slot when children are comment nodes (#6745) 2022-03-25 19:08:25 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
msidolphin
e77957f8ba fix(components): [el-table] filter failed when tableLayout is auto (#6798) 2022-03-24 15:22:20 +08:00
msidolphin
2759ecf5b2 fix(components): [el-table] cannot scroll when tableLayout is auto (#6790)
* fix(components): [el-table] cannot scroll when tableLayout is auto

* chore: improve code
2022-03-24 15:20:55 +08:00
Yuyao Nie
1db4ae09ac chore(components): [table] filter out invalid className (#6717)
* chore(components): [table] filter out invalid className

* chore(components): [table] modify codes by comments
2022-03-23 23:22:42 +08:00
Zhongxiang Wang
9843fb1d69 fix(components): [table] not scroll empty block when scrolling table (#6615)
* fix(components): [table] not scroll empty block when scrolling table

* fix(components): [table] fix unexpected gap

* fix(components): [table] fix unexpected gap
2022-03-16 10:47:30 +08:00
三咲智子
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
msidolphin
d435a6a6fc feat(components): [el-table] exposes scroll methods (#6539)
* feat(components): [el-table] exposes scroll methods

* chore: improve code
2022-03-13 23:00:58 +08:00
msidolphin
063c564461 fix(components): [el-table] escape special html characters (#6520)
* fix(components): [el-table] escape special html characters

* fix: use 3rd package
2022-03-11 15:05:29 +08:00
msidolphin
254eacd7da perf(components): [el-table] optimize the performance of expand rows (#6480)
* perf(components): [el-table] optimize the performance of expand rows

* chore: revert comments

* chore: remove useless code

* chore: rename

* Update packages/components/table/src/table-body/render-helper.ts

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-10 16:45:08 +08:00
msidolphin
505616c2ab feat: [el-table] support always show scrollbar & get selection rows (#6469) 2022-03-08 14:28:58 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
msidolphin
a7db76d782 fix: [el-table] fixed columns display when horizontal cannot scroll (#6320)
* fix: [el-table] fixed columns display when horizontal cannot scroll

* fix: change default class

* refactor: optimize fixed column style
2022-03-07 16:17:16 +08:00
msidolphin
43ee78563b fix(components): [el-table] defaultSort not working (#6322)
* fix(components): [el-table] defaultSort not working

* fix: unit test

* chore: improve code
2022-03-07 16:15:54 +08:00
三咲智子
c72679e4e9 refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
msidolphin
f504ad77fe fix(components): [el-table] scrollbar cannot display when resize table (#6369)
* fix(components): [el-table] scrollbar cannot display when resize table

* fix: add flexDirection

* fix: adjust to inline-block

* fix: revert flex
2022-03-06 18:09:53 +08:00
msidolphin
333b1b450a fix(components): [el-table] render failed when custom table column (#6398) 2022-03-06 18:01:40 +08:00
msidolphin
73304da65f fix(components): [el-table] fix clearFilter failure problem (#6212) 2022-02-23 10:47:25 +08:00
msidolphin
cfc43e2a6d fix(components): [el-table] some columns are missing in older chrome (#6111)
* fix(components): [el-table] some columns are missing in older chrome

* fix: unit tests

* fix: unit tests

* fix: lint
2022-02-21 14:20:44 +08:00
msidolphin
c60f75a0c5 fix(components): [el-table] column width calc error during resize (#6171) 2022-02-21 09:43:46 +08:00
msidolphin
78b24dfdfd fix(components): [el-table] optimize popover performance (#6170) 2022-02-21 09:21:59 +08:00
msidolphin
8a9086d93e fix(components): [el-table] footer layout error (#6090) 2022-02-21 09:14:45 +08:00
msidolphin
43c41015eb fix(components): [el-table] avoid scrollbar not display (#5920)
* fix(components): [el-table] avoid scrollbar not display

* chore: optimize code
2022-02-11 15:17:34 +08:00
msidolphin
b6be179a2c feat(components): [el-table] maxHeight support more units (#5904)
* feat(components): [el-table] maxHeight support more formats (vh、calc...)

re #5888

* chore: optimize code

* fix: resolve import issue
2022-02-11 15:00:33 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
msidolphin
04ed04effd feat(components): [el-table] support tableLayout (#5860)
* feat(components): [el-table] support tableLayout

* fix: typo

* fix: remove unused var

* fix: optimize code

* fix: typo
2022-02-10 09:35:29 +08:00
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9 refactor(hooks): refactor popup manager to useZIndex (#5701) 2022-02-09 16:31:31 +08:00
msidolphin
21c646d4da fix(components): [el-table] group header not supported fixed column (#5873)
fix #5864
2022-02-09 15:09:25 +08:00
三咲智子
426a6a686c feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00