Delyan Haralanov
2b7b566d17
fix(components): [table] compatible with window non-existence ( #19837 )
...
ElTable's doLayout method is debounced and scheduled (relying on setTimeout) which causes problems in testing(Vitest). Sometimes the testing environment(jsdom) is destroyed before doLayout() executes which causes error due to requestAnimationFrame not existing.
To mitigate this issue can check if the window exists which is a good indication that jsdom has not been thorn down yet.
2025-02-14 21:36:41 +08:00
pengpeng
d2e269f772
fix(components): [table] the toggleTreeExpansion failed to trigger load function ( #18728 )
...
* feat(components): [table] fix lazy loading
* Modify the function usage
2025-01-26 15:21:56 +08:00
Nick Wu
b009be7c17
fix(components): [table] fix the logic of selection column when fixed state changes dynamically ( #19703 )
...
* fix(components): [table] selection column fixed left
* fix(components): [table] optimize function
* fix(components): [table] add dynamic columns test case
2025-01-25 07:52:47 +08:00
知晓同丶
462bff18de
feat(components): [table] add tooltip-formatter table & table-column prop ( #19524 )
...
* feat(components): [table] add `tooltip-formatter` table-column prop
closed #19507
* docs: add example
* docs: demo remove tooltip formatter index
* refactor(components): refactor code
* docs: simpify tooltip demo
* fix: fix warning error
* feat(components): add table tooltip-formatter prop & merge slot
* refactor: reuse variables
* test: add tooltip-formatter test
* docs: upgrade version
* feat(components): [table] add `tooltip-formatter` table-column prop
closed #19507
* docs: add example
* docs: demo remove tooltip formatter index
* refactor(components): refactor code
* docs: simpify tooltip demo
* fix: fix warning error
* feat(components): add table tooltip-formatter prop & merge slot
* refactor: reuse variables
* test: add tooltip-formatter test
* docs: upgrade version
* refactor: change parameter to obj args
* fix: property change to prop
* fix: export `TableOverflowTooltipFormatterData`
* refactor: `TableOverflowTooltipFormatterData` to `TableTooltipData`
* fix: remove useless import
* fix: refactor code
---------
Co-authored-by: btea <2356281422@qq.com >
2025-01-23 20:15:12 +08:00
伊墨
f980addfe3
fix(components): [table] The index parameter of the selectable function is undefined ( #19587 )
...
* fix(components): [table] first record can not be checked
* fix(components): [table] last commit doesnt work for others index
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* test(components): [table] add test cases
* test(components): [table] modify the test case of the last submission
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
2025-01-21 15:58:59 +08:00
Nick Wu
fc1a0b8d60
fix(components): [table] selection-change event emit incorrectly ( #19618 )
...
* feat(components): [table] fix 'selection-change' event emit incorrectly
* fix(components): [table] add test case
2025-01-18 18:36:06 +08:00
Noblet Ouways
6c5cfbfce6
fix(components): [table-footer] update cols width on layout change ( #19064 )
...
fix(components): [table-footer]
update cols width on layout change
closed #19054
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
2025-01-16 17:12:23 +08:00
xingyixiang
971d422e8b
test: [table] add show-overflow-tooltip trigger ( #19556 )
...
* test: [table] add show-overflow-tooltip trigger
* test: [table] add show-overflow-tooltip trigger
2025-01-09 17:36:59 +08:00
btea
f3fec3203a
feat(components): [table] add allow-drag-last-column prop ( #19374 )
2025-01-03 11:36:19 +08:00
qiang
a03812db54
perf(components): [table] prioritize use rowKey to determine whether it is selected ( #19451 )
...
* perf(components): [table] use rowKey to determine whether it is selected
* chore: revert includes
* perf: use includes replace isEqual
2025-01-03 08:14:00 +08:00
xingyixiang
7d76dea667
fix(components): [table] the overflowTooltip cannot be refreshed ( #19440 )
...
fix(components): [table] the tooltip cannot be refreshed
2024-12-29 10:15:02 +08:00
jiaxiang
a0a518718b
chore: [table] optimization type check ( #19280 )
...
* chore: [table] optimization type check
* feat: null
* chore: isNil
* fix: import
2024-12-21 15:10:12 +08:00
btea
a2f43777c3
fix(components): [table] fixed column style when lazyload title ( #19020 )
2024-11-27 10:26:10 +08:00
blesstosam
f1e95dc3a9
feat(components): [table] expose scroll event ( #12524 )
...
* feat(components): [table] expose scroll event
* chore: update doc
2024-11-20 21:49:22 +08:00
betavs
f0f578d713
fix(components): [table] repeat setting the height style ( #16054 )
2024-11-15 09:30:51 +08:00
xingyixiang
ffb30818cf
fix(components): [table] failed to insert tooltip when show-overflow-tooltip is enabled ( #18317 )
...
* fix:The namespace of the showOverflowTooltip is invalid.
* fix(components): [scrollbar] multiple rendering
* fix(components): [scrollbar] multiple rendering
* fix(components): [scrollbar] multiple rendering
* Update packages/components/scrollbar/src/bar.vue
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
* test(components): [scrollbar] adjusting style attributes
* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled
* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled
* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled
* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
2024-11-10 16:02:34 +08:00
btea
c0f071e464
fix(components): [table] table-layout:auto fixed column misalignment ( #18736 )
...
* fix(components): [table] `table-layout:auto` fixed column misalignment
* fix: update
* fix: update
* fix: update
* Update packages/components/table/src/table-header/index.ts
Co-authored-by: qiang <qw13131wang@gmail.com >
* Update packages/components/table/src/table-header/index.ts
Co-authored-by: qiang <qw13131wang@gmail.com >
* fix: lint
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-11-10 14:39:45 +08:00
jiaxiang
dab6b73040
refactor: replace type checking with built-in functions ( #18720 )
...
* refactor: replace typeof string with the built-in isString
* refactor: replace typeof boolean with the built-in isBoolean
* refactor: replace typeof undefined with the built-in isUndefined
* chore: style
* chore: style
2024-10-31 09:21:21 +08:00
jiaxiang
eb899f0702
refactor: replace typeof number with the built-in isNumber ( #18706 )
...
* refactor: replace typeof number with the built-in isNumber
* style: format
2024-10-30 14:54:49 +08:00
jiaxiang
36bd70670e
refactor: replace typeof fn with the built-in isFunction ( #18705 )
2024-10-30 08:42:04 +08:00
jiaxiang
10fcc59ed4
refactor: replace Array.isArray with the built-in isArray ( #18671 )
...
chore(components): [descriptions] isArray replace Array.isArray
2024-10-28 15:36:44 +08:00
zeyong tsai
048482bcb2
perf(components): [table] body render performance optimize ( #18535 )
...
refactor(components): [table] body render performanceoptimize
Co-authored-by: zeyong.cai <zeyong.cai@xquant.com >
2024-10-13 13:11:45 +08:00
btea
ed9bb12ef8
fix(components): [table] the last column shuld not allow drag ( #18444 )
2024-10-11 18:42:24 +08:00
btea
27e0c496e8
fix(components): [table] cancel layout update when component unmount ( #18440 )
2024-10-04 09:24:45 +08:00
sea
984ab608e7
feat(components): [table] export updateKeyChildren method & correct version ( #17709 )
...
* feat(components): [table] export `updateKeyChildren` fn
* Update docs/en-US/component/table.md
Co-authored-by: btea <2356281422@qq.com >
* chore: update version
* docs: update version
* docs: format
* docs: fix version
---------
Co-authored-by: btea <2356281422@qq.com >
2024-09-27 18:20:57 +08:00
Karolis_Stoncius_Sneakybox
03fa5d6839
feat(components): add the ability to append table filter panel, select and pagination size dropdowns to any element ( #14318 )
...
* feat(components): [pagination] append size dropdown to element
* feat(components): [select] append select dropdown to element
* feat(components): [table] append table filter panel to element
* refactor(components): [pagination] shorten prop names
* fix(components): [select] appendTo prop
* docs(components): add pagination docs append-size-to version tag
* docs(components): remove append-size-to default value in docs
* refactor(components): remove default appendTo values
* docs: version bump
* refactor(components): remove default appendFilterPanelTo value
2024-09-26 09:56:23 +08:00
betavs
107eac00a3
fix(components): [table] selection fixed unexpected ( #17904 )
...
* fix(components): [table] selection fixed unexpected
* perf(components): [table] selection fixed unexpected
* perf(components): [table] selection fixed unexpected
2024-09-13 14:45:12 +08:00
qiang
e3bb681984
fix(components): [table] the disabled checkbox are selected ( #18034 )
...
* fix(components): [table] non selectable items are selected
closed #18021
* docs: update
2024-09-13 14:13:33 +08:00
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
dopamine
79938178dd
build: use vue-tsc to generate dts ( #16111 )
...
* build: use vue-tsc to generate dts
* reduce inline type declaration
* fix: type checking failed
* apply suggestions from code review
* address PR comments
2024-08-07 12:01:46 +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