Noblet Ouways
c5d37fbb0a
refactor(components): [table] remove @ts-nocheck ( #21197 )
...
refactor(components): [table] remove `@ts-nocheck` 2/3
2025-07-01 15:49:54 +08:00
Noblet Ouways
e3373b36e8
refactor(components): [table] remove @ts-nocheck ( #21139 )
...
* refactor(components): [table] remove `@ts-nocheck`
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
* fixup! refactor(components): [table] remove `@ts-nocheck`
Co-authored-by: btea <2356281422@qq.com >
* fixup! refactor(components): [table] remove `@ts-nocheck`
Co-authored-by: btea <2356281422@qq.com >
* chore: revert type
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/table/src/store/index.ts
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
---------
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-30 23:41:36 +08:00
Noblet Ouways
09e1c60fba
fix(components): [anchor] recalculate marker style on slot update ( #21180 )
...
* fix(components): [anchor] recalculate marker style on slot update
* fix: review
2025-06-30 23:02:24 +08:00
Noblet Ouways
4f8cca0f6c
feat(components): [select/select-v2/cascader] expose more tag options ( #21157 )
...
* feat(components): [select/select-v2] bind `data` for tag slot
* chore: remove console.log
* feat: expose `deleteTag` aswell
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-29 13:17:20 +00:00
baozj
524f901045
feat(components): [select] expose selectDisabled prop to #tag slot ( #21093 )
...
* feat(components): [select] expose selectDisabled prop to #tag slot
* feat(components): [select] expose selectDisabled and update docs
* feat(components): [select-v2] expose selectDisabled to #tag slot
Add example demonstrating how to use selectDisabled in custom tag rendering.
* docs(components): [select, select-v2] add selectDisabled to #tag slot
* docs(components): [select, select-v2] remove tag-disabled.vue examples
---------
Co-authored-by: baozhangjie <jay.bao@photonpay.com >
2025-06-29 20:59:04 +08:00
scvzerng
f9fa5d3329
fix(components): [tree-v2] props defaultExpandedKeys not reactive ( #21173 )
2025-06-27 22:51:04 +08:00
dopamine
d05f87b6fd
refactor(hooks): [useOrderedChildren] sort child components on patch ( #21124 )
2025-06-26 17:17:02 +08:00
btea
7a499bf40f
refactor(components): [table] compatible with rowKey non-existence ( #21134 )
...
* refactor(components): [table] compatible with rowKey non-existence
* chore: update
* fix: update
2025-06-25 16:39:32 +02:00
Spaceman
b3219f6446
fix(components): [table] fix the issue where the expand-row-keys property does not support the number type ( #20210 )
...
* fix(components): [table] fix the bug of the expand-row-keys property
* fix(components): [table] fix the bug of the expand-row-keys property
Fix the issue where the expand-row-keys property does not support the number type
* fix(components): [table] fix the bug of the expand-row-keys property
Fix the issue where the expand-row-keys property does not support the number type
* fix(components): [table] Use Map instead of Object to handle number keys
Use Map instead of Object to solve the problem of number keys
* fix(components): [table] fix the bug of the expand-row-keys property
1.expandRowKeys should be of type Array<string | number> ✔
2.It would be better to add types to new Map() ✔
3.It would be better to add relevant test cases ✔
* fix(components): [table] fix the bug of the expand-row-keys property
1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔
* fix(components): [table] fix the bug of the expand-row-keys property
1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔
* fix(components): [table] fix the bug of the expand-row-keys property
1.table.md ✔
2.add a test for mixed strings and numbers ✔
* fix(components): [table] fix the bug of the expand-row-keys property
1.table.md ✔
2.add a test for mixed strings and numbers ✔
* fix(components): [table] fix the bug of the expand-row-keys property
1. table-test-common.ts ✔
2. table.md ✔
3. tree.ts -- changed to: new Map<string | number, object>() ✔
* fix(components): [table] fix the bug of the expand-row-keys property
fix(components): [table] fix the bug of the expand-row-keys property
* fix(components): [table] fix the bug of the expand-row-keys property
fix(components): [table] fix the bug of the expand-row-keys property
* fix(components): [table] fix the bug of the expand-row-keys property
fix(components): [table] fix the bug of the expand-row-keys property
* fix(components): [table] fix packages/components/table/src/store/tree.ts
fix(components): [table] fix packages/components/table/src/store/tree.ts
* chore: update test cases
* chore: update version
* fix(components): [table] fix the bug of the expand-row-keys property
Fix the issue where the expand-row-keys property does not support the number type
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-25 22:02:43 +08:00
Zhong
514cf66fce
fix(components): [menu] expose updateActiveIndex type ( #21129 )
...
feat(components): [Menu] expose updateActiveIndex type
2025-06-25 09:11:53 +02:00
Noblet Ouways
47ea8e855e
fix(components): [cascader-panel] avoid multiple init invokes ( #20892 )
...
chore: improve
2025-06-24 14:43:58 +02:00
Noblet Ouways
ffe42ae401
feat(components): [color-picker] add empty values attributes ( #20962 )
...
* feat(components): [color-picker] add empty values attributes
* chore: better
* test: add test case
* docs: update version
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-24 16:58:38 +08:00
JCL206312
1fd8c4b3b2
fix(components): [color-picker] Improve modelValue prop type ( #20880 )
...
* fix(components): [color-picker] Improve modelValue prop type
* Revert "fix(components): [color-picker] Improve modelValue prop type"
This reverts commit 450fdfa1da .
* fix(components): [color-picker] Improve modelValue prop type
* Update packages/components/color-picker/src/color-picker.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* fix: typecheck
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-06-24 16:35:57 +08:00
Noblet Ouways
c57b0cab42
refactor(components): [tree] remove ts-nocheck ( #21097 )
...
* chore: wip
* chore: wip
* chore: wip
* chore: wip
* chore: fix
* chore: fix
* chore: cleanup
* chore: fix
* fix: review
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2025-06-24 15:01:53 +08:00
知晓同丶
327922d4b2
fix(components): [tree-v2] treeNode add expanded and responds to UI ( #21066 )
...
* fix(components): [tree-v2] treeNode add `expanded` and responds to UI
closed #21023
* fix(components): [tree-v2] treeNode add `expanded` and responds to UI
closed #21023
* docs: add custom node icon demo
2025-06-23 14:31:47 +02:00
jiaxiang
29f5783d81
refactor(components): [cascader-panel] remove @ts-nocheck and optimize code ( #20014 )
...
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code
* chore: chore
* revert: revert
* chore: add menu type
* chore: remove tsnocheck
* revert: revert
* revert: revert
* refactor: use setup syntax
* fix: type
* chore: add line
* chore: chore
* chore: add update:modelValue Events
* chore: format
* chore: revert
* chore: chore
* fix: error
* chore: remove any and code loss
* fix: code loss
* fix: code loss
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-23 17:09:40 +08:00
知晓同丶
51c426aa9f
fix(components): [space] prevent extra spacers after empty templates ( #21105 )
...
* fix(components): [space] prevent extra spacers after empty templates
closed #21101
* revert: no need to keep comment nodes
2025-06-23 16:33:38 +08:00
Ethan Yin
23c680f810
perf(components): [table] remove redundant updateSelectionByRowKey ( #21092 )
...
* perf(components): [table] remove redundant `updateSelectionByRowKey`
* revert(components): [table] revert `assertRowKey`
2025-06-23 01:00:08 +02:00
betavs
947a88d255
fix(components): [table] render tree node ( #19247 )
2025-06-20 20:36:56 +08:00
fratzinger
bc7773b673
feat(components): [input] native inputmode prop for el-input & el-input-number ( #14997 )
...
* feat(components): add native inputmode for el-input
* feat(components): add native inputmode for el-input-number
Please enter the commit message for your changes. Lines starting
* chore: rm "props" in template
2025-06-20 20:24:26 +08:00
xiaohe0601
5cee7a1464
fix(components): [table] fix children can't be unchecked ( #20995 )
...
* fix(components): [table] fix children can't be unchecked
* test(components): [table] reserve selection
2025-06-20 10:01:20 +08:00
WANGXIAOYU1995
4f56d01f04
feat(components): [cascader] add tag slot ( #20994 )
...
* feat(components): [cascader] add showFirstOnly to show top-level label
* feat(components): [cascader] add unit test cases
* Revert "feat(components): [cascader] add unit test cases"
This reverts commit 8cbb9d44ee .
* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"
This reverts commit 5ca520dff8 .
* feat(components): [cascader] Added a new slot `tag`
* Revert "feat(components): [cascader] Added a new slot `tag`"
This reverts commit 99062da169 .
* feat(components): [cascader] Added a new slot `tag`
* feat(components): [cascader] Optimize slot and update doc
* Update packages/components/cascader/src/cascader.vue
Good catch, committed.
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update docs/en-US/component/form.md
Sure, I’ve committed the suggestion. Thanks again!
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat(components): [cascader] Add test case
* feat(components): [cascader] update to expose tree node info
* feat(components): [cascader] update 'presentTags' and docs
* feat(components): [cascader] optimize code
* feat(components): [cascader] update doc
* feat(components): [cascader] update function name
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: minor tweaks
* feat(components): [cascader] Update test case
* docs: update Cascader Slots
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-18 15:51:59 +00:00
fratzinger
667726b128
fix(components): [date-picker] pass showWeekNumber to panel ( #21049 )
...
* fix(components): prop show-week-number
* docs: [date-time-picker] add attribute showWeekNumber
* fix(components): [date-picker] range showWeekNumber
* refactor(components): date-table use ns class for week number header
* refactor: BooleanConstructor casts to false by default
* test(components): [date-picker] add showWeekNumber
* test(components): [date-picker] datetime showsWeekNumber
2025-06-18 22:59:01 +08:00
Zhong
073441d21b
feat(components): [splitter] add collapse event ( #21035 )
...
* feat(components): [splitter] add collapse event
* docs(components): [splitter] add version tag
2025-06-17 21:54:52 +08:00
dopamine
f50222cb55
fix(components): [tabs] match visual order to source order ( #21025 )
...
* fix(components): [tabs] match visual order to source order
* fix
2025-06-17 09:50:00 +08:00
maicss
af97019b70
fix(components): [tabs] fix nav height for better display ( #15600 )
...
fix(components): [tabs] fix border UI
2025-06-16 15:55:11 +08:00
Noblet Ouways
2f17df1209
style(eslint-config): newline before import type ( #21036 )
...
* perf: change to import-x
* feat: add rules
* chore: fix rule
* chore: fix
* chore: fix
* chore: fix
* style: `pnpm lint:fix`
* Revert "style: `pnpm lint:fix`"
This reverts commit db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
selicens
88c63db41e
fix(components): [upload-dragger] Blink when sliding over sub elements ( #21006 )
...
* fix(components): [upload]
Drag to upload flicker when passing through sub elements
* chore: type adjusting
* chore: adjusting
2025-06-13 17:57:55 +02:00
btea
6d72d09043
fix(components): [table] tooltip compatibility edge case ( #21012 )
2025-06-13 17:55:12 +02:00
qiang
9539c19b40
style(eslint-config): add rules to restrict the imports of element-plus ( #20959 )
...
* style(eslint-config): add rules to restrict the imports of element-plus
* chore: added validation for tsx files
* chore: revert the shell
2025-06-13 17:07:39 +08:00
xingyixiang
bb5930e8b7
feat(components): [form] export getField ( #20981 )
...
* feat(components): [form] export getField
* fix(components): [form] test
* feat(components): [form] export getField
* Update packages/components/form/src/utils.ts
Co-authored-by: btea <2356281422@qq.com >
* feat(components): [form] export getField
* feat(components): [form] export getField
---------
Co-authored-by: btea <2356281422@qq.com >
2025-06-12 22:33:29 +08:00
Robert Zeng
0d466303c0
feat(components): [cascader]add a props to control tooltip maxHeight ( #20933 )
...
* feat(components): [cascader]add a props to control tooltip maxHeight
* fix(components): [cascader] fix max-height setting of scrollbar
* docs(components): [cascader]add props maxCollapseTagsTooltipHeight docs
* feat(components): [cascader]add unit test
* feat(components): [cascader]remove extra logic of max tooltip height
* fix(components): [cascader]remove props defalut value
* docs(components): [cascader]add version for the new props
Co-authored-by: btea <2356281422@qq.com >
* docs(components): [cascader]fix lint
* test(components): [cascader]optimize max height props test case
* test(components): [cascader]optimize component import
* Update packages/components/cascader/src/cascader.vue
* fix: lint
---------
Co-authored-by: btea <2356281422@qq.com >
2025-06-12 21:39:39 +08:00
btea
880de62fee
fix(components): [tree-select] value label rendering error ( #20947 )
...
* fix(components): [tree-select] value label rendering error
* Update packages/components/select/src/select.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: update
* fix: update
* fix: lint
* test: case
* fix: lint
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-11 21:37:04 +08:00
qiang
ed8fe460a8
fix(components): [date-picker] yearrange & unlinkPanels causes panels display error ( #17822 )
...
* fix(components): [date-picker] unlinkPanels causes panels display error
* fix: type
2025-06-10 21:52:12 +08:00
jyp114110
07eff9e2f8
fix(components): [date-picker] getting month dates range error ( #20932 )
...
* fix(components): [date-picker] fix "disabledDate" bug
fix #20931
BREAKING CHANGE: N
closed #20931
* fix(components): [date-picker]
Add test case for fixing #20931
BREAKING CHANGE: N
closed #20931
* fix(components): [date-picker]
[date-picker] getting month dates range error #20932
BREAKING CHANGE: n
closed #20932
* Revert "fix(components): [date-picker]"
This reverts commit 710c1cc3d6 .
* refactor: set time separately
---------
Co-authored-by: 金亚平 <yaping.jin@jinlihk.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-06-09 23:11:50 +08:00
btea
0b6e8af510
fix(components): [scrollbar] horizontal scroll drag invalid ( #20953 )
...
* fix(components): [scrollbar] horizontal scroll drag invalid
* fix: horizontal scroll
2025-06-07 16:26:53 +02:00
qiang
735aa2e4df
fix(components): [splitter-panel] the style file path error ( #20948 )
2025-06-07 11:55:10 +08:00
betavs
cbc11e601d
fix(components): [form] the validate function is executed repeatedly ( #19345 )
2025-06-07 10:30:26 +08:00
Rhodi
c043e5fc81
fix(components): [collapse] resolve space key conflict and improve accessibility ( #20529 )
...
* fix(components): resolve space key conflict and improve accessibility
- Replace native `<button>` with `<div role="button">` in collapse header
- Refactor keyboard event handling for Enter/Space triggers
- Add event propagation control for nested input elements
- Implement ARIA-compliant focus management
- Prevent unintended collapse toggling during input interactions
closed #20520
* fix: update based on review comments
* fix: update base on review comments
2025-06-06 15:44:49 +08:00
sea
84376becfe
refactor(components): [tooltip-v2] remove ts-nocheck comments ( #16928 )
...
* chore: remove ts-nocheck comments in tooltip-v2 index
* chore: fix type
* Update packages/components/tooltip-v2/src/content.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: format
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
2025-06-06 15:07:11 +08:00
betavs
8f380ce884
refactor(components): standardize injection keys ( #20616 )
2025-06-06 14:45:39 +08:00
Jeff
6f8e91f771
refactor(components): [select] modify manuallyRenderSlots execute ( #20854 )
...
* refactor(components): [select] modify `manuallyRenderSlots` execute
* refactor(components): [select] modify ’manuallyRenderSlots‘ execute
* fix(components): [select] fix render slots attempt when persistent=false
* fix: remove duplicate judgments
---------
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-06 08:56:35 +08:00
btea
8098ddc180
fix(components): [space] keep comment nodes ( #20930 )
2025-06-05 21:18:59 +02:00
DDDDD12138
0680399713
fix(types): [menu-item] make index attribute required ( #19007 )
...
* fix(types): [menuItem] Make 'index' attribute required
* feat: update doc
* Update docs/en-US/component/menu.md
Co-authored-by: qiang <qw13131wang@gmail.com >
* feat: remove required, use debugWarn to notify
* feat: update
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2025-06-05 15:51:36 +08:00
btea
d5ee6e56aa
fix(components): [space] correctly render comment nodes ( #20922 )
2025-06-04 21:57:54 +02:00
sea
47bf23be53
refactor: [select, select-v2]: unified name & supplement type ( #20050 )
...
* chore: update
* chore: update
2025-06-04 17:46:56 +08:00
wsVIC
07a6613374
fix(components): [dialog] fix dialog zindex should update responsively ( #18520 )
...
Co-authored-by: btea <2356281422@qq.com >
2025-06-04 14:37:58 +08:00
Noblet Ouways
c493763f70
fix(components): [cascader-panel] check if children label are comments ( #20899 )
...
* fix(components): [cascader-panel] check if children label are comments
* refactor: better
* chore: fix type
Co-authored-by: dopamine <coderzyou@gmail.com >
* chore: fix type v2
Co-authored-by: btea <2356281422@qq.com >
* chore: review & test
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: dopamine <coderzyou@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-04 12:19:49 +08:00
sea
2c29081621
fix(hooks): [use-focus-controller] form-disabled-status not trigger blur ( #20891 )
...
* fix(components): [input] form-disabled-status blur not validate
* fix: update hooks
Co-authored-by: xingyixiang <452282988@qq.com >
* test: add form disabled case
* fix: test import
* Update packages/hooks/use-focus-controller/index.ts
Co-authored-by: btea <2356281422@qq.com >
* refactor: import path
---------
Co-authored-by: xingyixiang <452282988@qq.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-04 10:44:53 +08:00
kooriookami
cacd8ea53a
refactor(components): [color-picker] Use tinycolor to calculate color ( #20847 )
...
* refactor(components): [color-picker] Use tinycolor to calculate color
* refactor(components): update
* refactor(components): update
* refactor(components): update
* fix(components): fix
closed #13239
2025-06-03 23:05:00 +08:00