Commit Graph

123 Commits

Author SHA1 Message Date
Jacob Alspaw
e444e0c942 fix(components): [table] fix an undefined reference in table-layout (#11204)
Co-authored-by: zz <2418184580@qq.com>
2023-02-18 15:20:14 +08:00
井柏然
9721912342 fix(components): [table-column] column miss update due to key (#8528) (#10679)
* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] ts lint (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] states.updateOrderFns remove ref (#8528)

* fix(components): [table-column] add test for table (#8528)

* Update packages/components/table/src/store/watcher.ts

Co-authored-by: qiang <qw13131wang@gmail.com>

* fix(components): [table-column] fix ts define (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-01-28 10:28:08 +08:00
bartoszrudzinski
65a9cca1ed fix(components): default table cell padding SCSS variable fix (#10708)
closed #10706

Co-authored-by: bartoszrudzinski <bartosz.rudzinski@infermedica.com>
2023-01-18 16:29:01 +08:00
Zhongxiang Wang
cf5847263f feat(components): [table] overflow tooltip supports enterable and customization (#10984)
* feat(components): [table] overflow tooltip supports `enterable`

* fix(components): [table] fix modifiers merge

* fix(components): [table] refine logic & fix popperClass isn't respected

* docs(components): [table] add docs for `tooltip-options` & `show-overflow-tooltip`

* docs(components): [table]

* docs(components): [table] update version tag

Co-authored-by: Xc <124118265@qq.com>
2022-12-22 12:20:07 +08:00
hankin.dream
e0150db5b6 fix(components): [table]fix the problem that show-overflow-tooltip will also be displayed when the browser is zoomed (#10816)
closed https://github.com/element-plus/element-plus/issues/10790
2022-12-02 13:13:43 +08:00
init-qy
ec434a7044 fix(components): [table] fix error in dynamic change table-column (#10713) 2022-11-26 11:52:48 +08:00
RealityBoy
d8a116c37f fix(components): [table] optimizate types export (#10677)
* fix(components): [table] optimizate types export

* chore: update
2022-11-20 16:51:04 +08:00
Xc
cb490ae3c1 docs(components): [scrollbar] (#10564)
* docs(components): [scrollbar]
2022-11-13 19:51:13 +08:00
faga
d2fb4ffc50 fix(component): [table] can't select row children (#10221)
* fix: table select children

* fix: table select children

* test(components): selectable tree table

* fix: toggle multiple-layer tree

* fix(components): [table]

toggleRowStatus fix

* chore: suggest code style

* chore: isArray instead of row.children

* chore: fix unit test error

* chore: select event trigger only once

* style: code style change

* chore: code style change

* chore: code integration

* chore: code style change

* chore: code style change

* chore: code style change

* chore: [table] code style change

* style: [table] brace style

Co-authored-by: faga <lzc295592@163.com>
2022-11-05 17:18:37 +08:00
tinyfind
9285109a0c fix(components): [table] fixed column supported in grouped header (#10096)
* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header
2022-10-23 19:56:20 +08:00
tinyfind
2fb99b01e1 fix(components): [table] fix merge cell cannot show side shadow (#10095) 2022-10-19 10:15:59 +08:00
Simon He
bae2a62ba0 fix(component): [table] row-key due to current-change trigger (#10060)
fix: table row-key due to current-change trigger
2022-10-18 12:23:29 +08:00
init-qy
b9173bb658 fix(components): [table] wrong hover style in nested tables (#9932)
* fix(components): [table] wrong hover style in nested tables

* fix(components): [table] fix wrong hover style in nested tables

Co-authored-by: init-qy <953218204@qq.com>
2022-10-04 16:06:02 +08:00
热爱vue的小菜鸟
6218e4ddc5 fix(components): [table] throw error when no matching column (#9682)
* Cannot read properties of null (reading 'id')

* fix(components): [table] fix Cannot read properties of null (reading 'id')
2022-09-07 15:50:40 +08:00
zz
6def14db3b fix(components): [table] fix namespace (#9654) 2022-09-06 12:17:14 +08:00
LIUCHAO
401a275049 fix(components): [table] selection column don't create table placeholder (#9637)
closed #8363
2022-09-05 19:37:25 +08:00
小的的
d0dbd19f75 fix(components): [table] typed column's min-width not effect (#9540) (#9593) 2022-09-04 23:16:53 +08:00
wiidede
5f39b8950c fix(components): [table] toggleRowExpansion typing (#9512) 2022-09-01 09:41:56 +08:00
热爱vue的小菜鸟
0373b01940 Table using load to click to expand will trigger multiple load callbacks (#9397)
* Cannot read properties of null (reading 'id')

If columnKey is not set, execute clearFilter and prompt Cannot read properties of null (reading 'id')
Suggestion: Add judgment to clearly prompt developers

* Update util.ts

* Update util.ts

* Update util.ts

* Update config.ts

* fix:table

* Update util.ts
2022-08-31 13:39:16 +08:00
wiidede
a8a556d0ea fix(components): [table] el-table__placeholder class disappear(#9527) (#9529) 2022-08-31 11:49:45 +08:00
神楽坂みずき
954b8408af fix(components): [table] fix sort-change event behavior (#4640)
* fix(components): fix `sort-change` event behavior when sort condition is `null`

* chore: fix typo

* typo

* add tests

* apply suggestions

Co-authored-by: tolking <qw13131wang@gmail.com>

Co-authored-by: tolking <qw13131wang@gmail.com>
2022-08-30 17:52:40 +08:00
LIUCHAO
1347fdf35a fix(components): [table] bodyWrapper resized calculate scrollbarStyle (#9149)
* fix(components): [table] tableWrapper resized update scrollbar

* fix(components): [table] Listen to the bodyWrapper

* fix(components): [table] fix max-height

* fix(components): [table] modify scrollbar height error
2022-08-25 12:05:31 +08:00
qiang
43a2c69ad1 refactor(components): [table] style of the footer-wrapper (#9084)
* refactor(components): [table] style of the footer-wrapper

closed #9065

* fix(theme-chalk): [table] optimized style
2022-08-25 12:04:35 +08:00
jarven
4da4e7eb73 fix(components): [table] repetition labelCellName (#8967) 2022-08-23 20:25:16 +08:00
LIUCHAO
2eee7f0e22 refactor(components): [table] fix typo (#9338) 2022-08-16 20:35:49 +08:00
zz
eea3e60385 fix(components): use namespace (#9299) 2022-08-13 14:43:00 +08:00
qiang
664c61936c fix(components): [table] the empty slot height error (#9226) 2022-08-11 16:54:47 +08:00
Jianjun Yu
9b66d3259f fix(components): [table-body] keep row data reactive (#8592)
* fix(components): [table-body] keep row data reactive

* fix(components): divide unused variables
2022-08-02 21:24:15 +08:00
qiang
f1af909ef6 fix(components): [table] header scroll height error (#9063) 2022-07-28 17:38:15 +08:00
LIUCHAO
d9b31491e0 style(components): [table] prettier format, no code changes (#8318) 2022-07-27 12:53:51 +08:00
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