sea
556fbbc699
Revert "table expand #20587 #20715 #20811 " ( #20834 )
...
* Revert "table expand #20587 #20715 #20811 "
* chore: revert
2025-05-23 18:03:59 +08:00
sea
040520dddf
fix(components): [table] update expand-row-keys invalid ( #20811 )
2025-05-22 09:13:39 +08:00
q
53b7a31520
fix(components): [table] the selection column cannot be displayed when it is not in the first row ( #20582 )
...
* fix(components): [table] el-table里table-column的fixed问题 #20558
* fix(components): [table] 修复如果selection没有fixed属性时,会一直出现在末尾的bug #20558
* fix(components): [table] 删除test案例读取到left为0时修改fixed属性 #20558
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: btea <2356281422@qq.com >
* fix(components): [table] 还原table-column.test.ts测试用例&格式化watcher.ts代码
* fix: [table] -增加左侧/右侧固定列筛选selection逻辑
* fix: [table] -table-column.test.ts测试用例修改
* fix: [table] - 还原测试用例,修改watcher.ts,使其兼容如果有固定列并且select为第一列的情况
* fix: update & test
* fix: update
---------
Co-authored-by: 卿鹏 <qp66797@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-05-20 10:28:25 +08:00
btea
317307aa2a
fix(components): [table] default-expand-all invalid ( #20715 )
...
* fix(components): [table] `default-expand-all` invalid
* test: dynamic data case
* test: update
2025-05-13 16:49:17 +08:00
Nick Wu
154f7b0f8e
fix(components): [table] shrinked table expanded when modify data ( #20587 )
...
* fix(components): [table] shrinked table expanded when modify data
* fix(components): [table] type check error
* fix(components): [table] update test case
2025-05-01 16:49:07 +08:00
betavs
5f519a6f25
refactor(components): unify append-to prop type across multiple components ( #20501 )
...
* fix(components): [select] update `append-to` prop type
* fix(components): unify `append-to` prop type across multiple components
* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
comp-squirrel
1ee7fa7e7d
fix(components): [table] prevent child node selection loss during table data modification ( #20322 )
...
* fix(components): [table] child selection loss during data modification
* refactor: replace logical AND (&&) with explicit if statement
* test: use unique id
2025-04-09 17:14:55 +08:00
sea
1084071fcf
chore(eslint-config): add newline-after-import rules ( #20309 )
...
chore: add `newline-after-import` rules
2025-03-31 20:48:10 +08:00
pengpeng
e9d82e59e9
fix(components): [table] the selection column conflicts with setting both showOverflowTooltip and align='center' styles ( #20157 )
...
* fix(components): [table] type sets showOverflowTooltip centering style problem under `selection`
* Update index.ts
* Update index.ts
2025-03-18 10:30:46 +08:00
dopamine
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb81 .
* Revert "chore: add explicit type annoation (#19352 )"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
EralChen
d410486c07
feat(components): [table-column] preserve expanded content ( #19899 )
...
* feat: [table-column] preserve expanded content
* chore: format
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-03-13 10:20:07 +08:00
Jason
3079a4789d
fix(components): [table] replace pageX with clientX ( #19881 )
...
Co-authored-by: chengang <chengang@lianantech.com >
2025-02-27 22:21:53 +08:00
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