Commit Graph

179 Commits

Author SHA1 Message Date
Karolis_Stoncius_Sneakybox
1d26af3066 feat(components): [scrollbar] add tabindex to scrollbar wrap content (#14320)
* feat(components): [scrollbar] add tabindex to scrollbar wrap content

* refactor(components): [scrollbar] set default tabindex to undefined

* refactor(components): [table] change bodyTabindex to scrollbarTabindex

* refactor(components): [scrollbar] remove unnecessary props

* docs(components): add version tags
2024-09-09 17:36:11 +08:00
406087475
e48eec1c58 fix(components): [table] getColumnIndex may be undefned (#16782)
Fix table column getColumnIndex undefined bug

Fix table column getColumnIndex undefined bug

Co-authored-by: btea <2356281422@qq.com>
2024-08-27 20:47:45 +08:00
qiang
ae8328fb9c fix(components): [table] use isEqual to determine whether it is selected (#17885)
* fix(components): [table] use isEqual to determine whether it is selected

closed #10199, #10263

* test: add test

* test: add test
2024-08-18 11:28:36 +08:00
Zeng Fanhao
b809dcde4d fix(components): [table] emptyText/sumText empty string is invalid (#8340)
Co-authored-by: RealityBoy <1923740402@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-15 21:25:26 +08:00
qiang
deb0be1777 fix(components): [table] toggleRowSelection restores previous behavior (#17884)
closed #17870
2024-08-15 21:05:48 +08:00
daoyi.tian
48dfe3a69a feat(components): [table] tree children add check strictly (#13519)
* feat(components): [table] tree children add check strictly

* fix(components): [table] remove utils console

* fix(components): [table] error of selector state

* docs: update

* fix: remove unnecessary changes

* fix: the toggleRowStatus has not been processed to selectable

* docs: update

* fix: the rowIndex error

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-05 12:10:17 +08:00
dopamine
c76cc8bc92 fix(components): [table] inaccurate type of toggleRowSelection (#17687) 2024-07-29 13:40:05 +08:00
离谱
b692e37e57 fix(components): [table] fix sorting issue in table-column (#17608)
fix(components): fix sorting issue in table-column

fix(components): fix sorting issue in table-column

Revert "fix(components): [message-box] vue wraning when button state is loading (#17603)"

This reverts commit ab494bb48a.

fix(components): fix sorting issue in table-column

Revert "docs(docs): [skeleton] fix layout error in example (#17291)"

This reverts commit 0f8684310b.

fix(components): fix sorting issue in table-column

fix(components): fix sorting issue in table-column

fix(components): fix sorting issue in table-column
2024-07-27 18:08:40 +08:00
dopamine
87c5e45122 fix(components): [table] cover more edge cases for show-overflow-tooltip (#17629)
fix(components): [table] cover more edge cases for `show-overflow-tooltip`
2024-07-27 17:55:29 +08:00
btea
c7dea71e81 feat(components): [table-column] add filter-icon slot (#17272)
* feat(components): [table] add `filter-icon` prop

* chore: remove

* chore: remove

* Update docs/en-US/component/table.md

* feat: filter-icon slot

* test: test case

* chore: update

* chore: update
2024-07-24 14:47:42 +08:00
sea
0f93f11ad4 fix(components): [table] expand-row-keys change to explicit type (#17333)
fix: change to explicit
2024-07-19 16:05:57 +08:00
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
btea
8bd642f567 fix(components): [table] dragging cell should not trigger header-click (#17093) 2024-06-08 19:51:20 +08:00
btea
ad0cd51796 fix(components): [table] cell tooltip display error (#16868)
* fix(components): [table] cell tooltip diaplay error

* fix: update

* fix: update
2024-05-20 09:26:41 +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
一只前端汪
f45f0b4368 fix(components): [table] return type of function summary-method supports VNode (#16648)
* fix(components): [table] return type of function summary-method

* fix: type
2024-04-25 17:58:14 +08:00
Liao-js
87dd7ba464 fix(components): [table] table body rerendered when use row-key (#16544)
fix(components): [table] fixed table body rerendered when use row-key
2024-04-20 15:16:10 +08:00
Liao-js
3386e0af89 fix(components): [table] fix grouping head when dynamic column (#16433)
fix(components): [table] fix grouping head when dynamic column (#16417)
2024-04-20 13:51:34 +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
Electrolux
42b3a83c6a fix(components): [table] fix cell tooltip display error (#16449)
* fix(table-body-hover-trigger): fix the tooltip count way  when trigger the table

* perf:replace let with const

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

---------

Co-authored-by: btea <2356281422@qq.com>
2024-04-19 16:16:32 +08:00
Liao-js
cc4089c010 fix(components): [table] fixed hover on colSpan > 2 background is error (#16443)
* fix(components): [table] fixed hover on colSpan > 2  (#16439)

* fix(components): [table] fixed  background highlighting when hover

* Update packages/components/table/src/table-body/index.ts

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: btea <2356281422@qq.com>
2024-04-12 13:52:40 +08:00
kooriookami
f8ca913a1d fix(components): fix deprecated warning (#16034) 2024-03-04 22:06:40 +08:00
wzc520pyfm
4f18c6feda docs(components): [table] use new display tag (#15697) 2024-03-01 12:00:45 +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
xingyixiang
2484ac1a23 fix(components): [table] The namespace of the showOverflowTooltip is invalid. (#15627)
fix:The namespace of the showOverflowTooltip is invalid.
2024-01-25 16:18:02 +08:00
xingyixiang
6e66eaf0a0 refactor(components): [table] The overflowTooltip of the table is implemented by the Eltooltip component. (#15470)
* refactor(components): [table] createTablePopper

* refactor(components): [table] createTablePopper
2024-01-15 17:02:42 +08:00
xiaoming
034fb204bc feat(components): [table] add filterClassName props in TableColumn (#15389) 2024-01-07 13:30:10 +08:00
xingyixiang
b6b98bb1d8 fix(components): [table] tooltipOptions.showAfter is not effective (#14741)
* fix(components): [table]
tooltipOptions.showAfter is not effective

* fix(components): [table]
rolling unable to destroy Popper
2023-12-06 20:29:43 +08:00
一只前端汪
005bdf6143 fix(components): [table] header slot not displayed (#15035)
* fix(components): [table] header slot not displayed

* fix(components): [table] header slot not displayed

* fix(components): null commit
2023-12-05 15:09:13 +08:00
btea
e95324fa41 Revert "fix(components): [table] tooltipOptions.showAfter is not effe… (#14735)
Revert "fix(components): [table] tooltipOptions.showAfter is not effective (#13175)"

This reverts commit 6238ec8456.
2023-11-03 12:58:05 +08:00
xingyixiang
6238ec8456 fix(components): [table] tooltipOptions.showAfter is not effective (#13175)
* fix(components): [table]
tooltipOptions.showAfter is not effective

* fix(components): [table]
tooltipOptions.showAfter is not effective

---------

Co-authored-by: btea <2356281422@qq.com>
2023-11-02 21:27:49 +08:00
qiang
942284dbe1 fix(components): [table] show-summary style error when table-layout=auto (#14523) 2023-10-12 08:46:01 -05:00
一只前端汪
b823348790 fix(components): [table] fix summary row cells on table with layout auto not aligned with data cells (#14315)
fix(components): [table] fix summary row cells not aligned
2023-10-12 13:02:44 +08:00
井柏然
0137d4cfcb fix(components): [table] table-layout auto fixed by sticky (#11742)
* fix(components): [table] table-layout auto fixed by sticky

* Update packages/theme-chalk/src/table.scss

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

* fix(components): [table] add index variable for thead

* fix(components): [table] const z-index change to variable

* fix(components): [table] thead, scrolbar, border add z-index

* fix: remove duplicate property

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-10-11 13:45:22 +08:00
一只前端汪
9e1c8f6c4e chore(components): [table] fix typo (#14473)
chore(other): update explanatory note
2023-10-08 14:39:45 +08:00
Frank Fang
5f028f8449 fix(components): [table] add tabindex to tbody to fix #13991 (#14020)
* fix(components): [table] add tabindex to tbody to fix #13991

* remove :focus style

* fix: remove the focus outline

* fix: replace focus with focus-visible

* chore: add comments to explain why the tabIndex attr is needed
2023-08-30 14:01:45 +08:00
Karolis_Stoncius_Sneakybox
b9a8879e06 fix(components): [table] add table selection checkbox aria-labels (#13908)
When checkboxes have no label, it causes accessibility issues. This commit adds aria-labels to
table's selection checkboxes
2023-08-12 13:35:58 +08:00
ZheGuangLi
7e81efd999 fix(components): fix the problem that chrome 72 table doesnotdisplaydata (#10640)
Fix the problem that the chrome 72 tab table does not display data. This is caused by the fact that
the extension operator becomes an empty object in a special scenario

BREAKING CHANGE :
The writing method of shallow copy is replaced

closed #8770,#9071,#7038

Co-authored-by: btea <2356281422@qq.com>
2023-08-12 10:00:45 +08:00
btea
7663040722 refactor(components): [table] reuse rAF (#13918) 2023-08-10 11:50:15 +08:00
lxy030988
1bd75dd6c9 fix(components): [el-table] rangeWidth dealing with loss of precision (#12938)
* fix(components): [el-table] rangeWidth use Math.ceil

Closes #12687

* fix(components): [el-table] rangeWidth calculate

Closes 12938

* fix(components): [el-table] offsetWidth calculate

Closes #12938
2023-07-30 08:59:28 +08:00
wonderl17
b1572a9c17 fix(components): [table] add filteredValue watcher (#13121) 2023-07-22 08:49:23 +08:00
btea
6f4560e57a fix(components): [table] multiple line ellipsis tooltip takes effect (#12805) 2023-07-02 17:26:19 +08:00
btea
74c2448ce4 fix(components): [table] adjust the showOverflowTooltip value logic (#13282)
* fix(components): [table] adjust the showOverflowTooltip value logic

* fix: set showOverflowTooltip default value to undefined
2023-06-20 16:04:26 +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
Masanori Doizaki
4218ef2594 fix(components): [table] fix clearFilter type (#13149) 2023-06-08 13:49:13 +00:00
dopamine
cb01089128 fix(components): [table] width of columns become 0 unexpectedly (#12920) 2023-06-03 21:07:58 +08:00
init-qy
e25caadcef fix(components): [table] add missing append height (#12676) 2023-06-03 11:03:55 +08:00
Xc
015ac099cb fix(components): [table] maxHeight shark (#12349) 2023-05-29 20:16:31 +08:00
btea
b1d84411d5 fix(components): [table] text node not have closest method (#12543) 2023-04-23 20:58:19 +08:00
btea
105d79b0d9 refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00