Commit Graph

34 Commits

Author SHA1 Message Date
sea
32ed206b1f
feat(components): [table] export columns (#17252)
* feat(components): [el-table] export columns

* feat: add test and fix
2024-06-19 21:12:09 +08:00
Liao-js
43c8f35412
fix(components): [table] selection reference when toggleAllSelection (#16800)
* fix(components): [table] selection is not updated when length is 0

* fix(components): [table] selection reference when toggleAllSelection

* feat: add test
2024-05-10 20:24:11 +08:00
Wayne
b49b553d83
fix(components): [table] hover style error (#16517)
* fixed style hover error  #16515

boundaries situations fixed

* test(components): [table]

hover on which contains nested rowSpan > 1 test cases

---------

Co-authored-by: dwaynewdong <dwaynewdong@tencent.com>
2024-04-19 18:06:30 +08:00
kooriookami
f8ca913a1d
fix(components): fix deprecated warning (#16034) 2024-03-04 22:06:40 +08:00
Wayne
d2fbff70eb
fix(components): [table] row has rowspan when hover it only has background on the first row of this rowspan (#15529)
* fix(components): table

table row has rowspan when hover it only has background on the first row of this colspan

* fix(components): table

fixed when hover on a rowspan > 1 cell give the whole rows background

* fix(components): [table]

fixed hover on merged cell give the background of the whole rows

* Update events-helper.ts

import addClass removeClass

* Update events-helper.ts

fixed rowspan > 2 and data not enough

* fix(components): [table]

add test case for hover on rowspan > 2

* fix(components): [table]

use getTestData is better

* Update table.test.ts

use getTestData instead

* Update table.test.ts

change templete label prop

* fix(components): [table]

drop comments and clear hoveredCell array after use

* fix(components): [table]

when there is fixed row, hover on rowSpan > 1 should not clear the class

---------

Co-authored-by: dwaynewdong <dwaynewdong@tencent.com>
2024-02-04 21:41:05 +08:00
btea
2b668bd815
test: [table] add show-overflow-tooltip to table and table-column (#13323) 2023-06-21 19:56:02 +08:00
yuyin
b9799a1914
feat(components): [Table] add show-overflow-tooltip props (#13169)
* feat(components): [Table] add show-overflow-tooltip props

* docs(components): [Table] add usage for show-overflow-tooltip

* fix(components): [TableColumn] props priority

* test(components): add unit test for table
2023-06-17 21:30:53 +08:00
ivan0525
609b3a76ce
chore(components): [table] fix tests typo (#11445)
fix(components): [table] fix tests typo
2023-02-07 21:25:43 +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
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
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
神楽坂みずき
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
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
LIUCHAO
e0821baa8d
test: add property "testData" on instance (#8037) 2022-06-02 02:54:54 +00: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
三咲智子
1d13ebb05d
feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
msidolphin
7684dddac4
feat(components): [el-table] add placeholder for tree table (#6905) 2022-03-31 10:27:21 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +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
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
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
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
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +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
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +08:00
msidolphin
e3e59afc75
refactor: [el-table] using sticky position refactor fixed column (#4414)
* refactor: [el-table] using sticky position refactor fixed column

re #4399

* fix: solve the misalignment issue

* fix: optimize code
2022-01-05 15:13:01 +08:00
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00