Commit Graph

2771 Commits

Author SHA1 Message Date
sea
1f7cdc3915 chore: only show warnings in dev mode (#22675)
* chore: only show warnings in dev mode

* chore: test

* chore: test2

* chore: test3

* chore: test3

* chore: update 4

* chore: update

* chore: update

* chore: update

* chore: update

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

* chore: add security checks to all process

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-10 09:25:01 +08:00
Spaceman
3a9db865be fix(components): [tree-select] use up/down/enter keys select error (#20008)
* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix background color to up/down keys, fix Enter selection bug.

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] find the first enabled option

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* Update useSelect.ts

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix bg for up/down keys, Enter bug

* Update useSelect.ts

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix background color to up/down keys, fix Enter selection bug.

* fix(components): [tree-select] Add data type

fix(components): [tree-select] Add data type

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] change the keyboard methods

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] use up/down/enter keys select error

* chore: restore to dev

* chore: set solution

* fix(components): [tree-select] use up/down/enter keys select error

* Update packages/components/tree-select/src/select.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] Fix code conflicts

* Apply suggestions from code review

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

* fix(components): [tree-select] Apply suggestions from code review

* fix(components): [tree-select] Apply suggestions from code review

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-09 14:00:42 +08:00
Rainbow
f62501cf40 fix(components): [image-viewer] avoid triggering scroll wheel events outside the preview area (#22722)
* fix: avoid triggering scroll wheel events outside the preview area

* Update packages/components/image-viewer/src/image-viewer.vue

Co-authored-by: rzzf <cszhjh@gmail.com>

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-08 11:58:12 +08:00
sea
9898d265b8 feat(components): [virtual-list] add touch event handling for scrolling (#20628)
* feat(components): add touch event handling for scrolling in virtual list

* fix: del start preventDefault

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>

* feat: safe scroll distance

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>

* chore: update

* chore: fix lint

* chore: foramt

Co-authored-by: Dsaquel <291874700n@gmail.com>

* chore: foramt

* chore: update fn name

Co-authored-by: Dsaquel <291874700n@gmail.com>

* chore: add cAF, rAF

* chore: update test

---------

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-07 16:52:53 +08:00
Rainbow
2b381f8fae fix(components): [autocomplete] allow using Numpad Enter to select the option (#22721)
fix: allow using Numpad Enter to select the option
2025-11-07 16:04:02 +08:00
rzzf
ee8ece6383 fix(components): [textarea] add the missing name attribute (#22718) 2025-11-07 13:38:27 +08:00
rzzf
5868853923 fix(components): [select] unable to select options using NumpadEnter (#22715) 2025-11-07 10:16:31 +08:00
Kylin
d34f22c447 refactor(components): [menu] adjust the non-empty assertion (#22694)
* refactor(components): [menu] adjust the non-empty assertion

* refactor: cancel variable declaration
2025-11-06 12:26:39 +01:00
Noblet Ouways
34db6aedc3 fix(components): [select] allow delete non existant option (#22706) 2025-11-06 10:49:05 +08:00
Dun Lu
398863aaf4 fix(components): [watermark] use baselineOffset to get a complete canvas (#22670)
* fix(components): [watermark] use baselineOffset to get a complete canvas

* fix(components): [watermark] prevent unnecessary baselineOffset process
2025-11-06 10:24:56 +08:00
rzzf
29ccccf416 fix(components): [tree-v2] checkbox selection wrong with disabled nodes (#22627)
* fix(components): [tree-v2] checkbox selection wrong with disabled nodes

* fix: update

* test: add case

* chore: update

* chore: add comment

* chore: rename var

* Update packages/components/tree-v2/src/composables/useCheck.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-05 13:49:32 +01:00
Kylin
4a4708c4a1 refactor(components): [tree] change the for loop to the find method (#22678) 2025-11-04 11:25:48 +08:00
blackBear
400dcfa4cc fix(components): [table] ensure tooltip works correctly in tree table (#22674)
* fix(components): [table]ensure tooltip works correctly in tree table

* fix(components): [table]fix ts bug

* fix(components): [table]fix ts bug by from suggest

* Update packages/components/table/__tests__/table.test.ts

Co-authored-by: rzzf <cszhjh@gmail.com>

* Update packages/components/table/__tests__/table.test.ts

keep isolation

Co-authored-by: rzzf <cszhjh@gmail.com>

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-04 10:51:44 +08:00
Kylin
6c22020848 refactor(components): [tree] extract auxiliary function (#22677) 2025-11-04 10:25:25 +08:00
Kylin
246f6bd1c9 refactor(components): [form] remove unnecessary non-empty assertions (#22660) 2025-11-03 15:44:35 +08:00
Kylin
8f062c2898 refactor(components): [menu] extract constants (#22661) 2025-11-02 19:46:09 +08:00
Noblet Ouways
d22289e96c fix(components): [date-picker] keyboard navigation on first of the month (#22668) 2025-11-02 19:36:18 +08:00
btea
38a86acd60 test: fix date-picker test case (#22662) 2025-11-01 14:16:26 +08:00
btea
43b9a0d5b8 test: coverage config update (#22656)
* test: coverage config update

* test: update
2025-10-31 22:32:59 +08:00
btea
4c658f1a9b feat(components): [tabs] add tabindex prop (#22624) 2025-10-30 13:25:33 +01:00
qiang
6388dc0f16 fix(components): avoid capturing focus when disabled (#22616)
closed #21095
2025-10-29 11:44:44 +01:00
snowbitx
0877f73cdd feat(components): [select] support home and end key events (#22446)
* feat(components): [select] support home and end key events

* fix: keydown end error

* fix: filterable input

* fix: keydown stop error

* refactor: change default behavior and fix disabled

* Update packages/components/select/src/useSelect.ts

Co-authored-by: Zhong <cszhjh@gmail.com>

* Update packages/components/select/src/useSelect.ts

Co-authored-by: Zhong <cszhjh@gmail.com>

* Update packages/components/select/src/useSelect.ts

Co-authored-by: Zhong <cszhjh@gmail.com>

* fix: build error

* refactor: use inline function

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-10-29 15:54:25 +08:00
Lensiq
e0532e1d30 improvement(components): [dropdown] exclude focus from trigger type (#22576)
* improvement(components): [dropdown] exclude focus from trigger type

* chore: update

* fix: update
2025-10-28 17:43:41 +08:00
Noblet Ouways
35dbfbf98a fix(components): [date-picker] time list sync with input change (#22589)
* fix(components): [date-picker] time list sync with input change

closed #22500

* test: add test case
2025-10-27 15:27:50 +08:00
Zhong
2dca78bd76 fix(components): [select] scrolling is not triggered when the option value is zero (#22578)
* fix(components): [select] scroll missing when first option value is zero

* test: add case

* test: update
2025-10-25 11:58:21 +02:00
Rainbow
e5495d89d5 fix(components): [date-picker-panel] wrong style when use showWeekNumber (#22559)
* fix: the selected row has '.current' class when show-week-number

* test: add test case
2025-10-24 16:46:33 +08:00
Lensiq
1ec753ac59 fix(components): [tooltip] content hover works with array trigger (#22551) 2025-10-24 10:06:18 +08:00
qiang
031282014a feat(components): [color-picker-panel] predefine a11y (#22527)
* feat(components): [color-picker-panel] predefine a11y

* chore: sync locale

* Update packages/components/color-picker-panel/src/composables/use-predefine.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* chore: update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-10-23 21:17:43 +08:00
btea
f352c5521e fix(components): [input] quickly click the icon and the cursor position is displayed incorrectly (#22563) 2025-10-23 14:44:54 +02:00
Lensiq
d66daf3e2b fix(components): [select] prevent duplicate option registration (#22541)
* fix(components): [select] prevent duplicate option registration

* fix: update

* chore: add test

* fix: update

* Update packages/components/select/src/select.vue

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

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-10-22 16:51:23 +08:00
Lensiq
c252273a57 chore: normalize classname (#22537)
* chore: normalize classname

* Update packages/components/date-picker-panel/src/composables/use-basic-date-table.ts

Co-authored-by: Zhong <cszhjh@gmail.com>

* Update packages/components/date-picker-panel/src/date-picker-com/panel-month-range.vue

Co-authored-by: Zhong <cszhjh@gmail.com>

* Update packages/components/loading/src/loading.ts

Co-authored-by: Zhong <cszhjh@gmail.com>

* Update packages/components/tour/src/step.vue

Co-authored-by: Zhong <cszhjh@gmail.com>

* chore: normalize classname

* fix: update

* chore: update

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-10-22 13:45:30 +08:00
xingyixiang
b61d9c5b89 fix(components): [tree] optimize tree-select empty detection (#22302)
* fix(components): [tree] optimize tree-select empty detection

* test(components): [tree] render slot empty

* test(components): [tree] render slot empty
2025-10-22 10:20:41 +08:00
xiaocainiao633
030afc7bc9 fix(components): [input-tag] keyboard handling should occur on keydown (#22486)
* fix(components): issue of enter event bubbling in input-tag component

* fix(components): fix test

* fix(components): resolve new problem

* fix(components): fix input-tag-new

* fix(components): fix input-tag-new

* fix(components): resolve new problem
2025-10-21 21:24:00 +08:00
btea
d871117c68 fix(components): [select] should not affect global config (#22544) 2025-10-21 09:48:33 +02:00
Jevin
7b01021cf7 fix(components): [tree-v2] call collapseNode/expandNode expand/collapse icon status error (#22205)
* fix: call collapseNode/expandNode icon status error

* chore: add test

* chore: update

* chore: update

* chore: update

* chore: update
2025-10-21 14:42:08 +08:00
Zhong
a65d218e22 refactor(components): [tree] improve emit to get type hints (#22526)
* refactor(components): [tree] improve emit to get type hints

* chore: update

* fix: update

* chore: revert example

* docs: update type

Co-authored-by: Dsaquel <291874700n@gmail.com>

* chore: rename event

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-10-20 14:43:47 +08:00
Rainbow
b917fafccc feat(components): [select/select-v2] support debounce prop (#22471)
* feat(components): [select/select-v2] support debounce prop

* feat: update

* feat: update

* feat: update

* docs: update version number

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update
2025-10-20 10:46:24 +08:00
Noblet Ouways
8d32bc31d8 chore: replace ns.is condition (#22531)
* chore: replace ns.is condition

* chore: sgconfig

* Revert "chore: sgconfig"

This reverts commit fa56c22673.
2025-10-20 10:09:03 +08:00
Zhong
3538d7f9d2 improvement(components): [tree] allow null as key in setCurrentKey (#22524) 2025-10-20 09:16:15 +08:00
qiang
d042674220 feat(components): [color-picker-panel] add validateEvent prop (#22522)
* feat(components): [color-picker-panel] add validateEvent prop

* docs: update
2025-10-19 11:18:21 +08:00
qiang
bc55a5f93a feat(components): [color-picker-panel] sv-panel a11y (#22470)
* feat(components): [color-picker-panel] sv-panel a11y

* chore: sync locale

* chore: add test

* Update packages/components/color-picker-panel/src/composables/use-sv-panel.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-10-19 11:17:44 +08:00
Rainbow
72f9ba2ba5 fix(components): [select-v2] avoid displaying 'false' incorrectly during remote search (#22495)
fix(components): [select-v2] avoid displaying 'false' incorrectly
2025-10-18 11:23:52 +02:00
Lensiq
1680d14c31 feat(components): [drawer] add support for modal-penetrable prop (#22498)
* feat(components): [drawer] add support for  prop

* fix: update

* docs: update
2025-10-18 16:32:37 +08:00
Zhong
3508d4f676 fix(components): [select-v2] use correct labelKey in selectedLabel (#22516)
* fix(components): [select-v2] use correct labelKey in selectedLabel

* test: add case

* test: update
2025-10-18 16:24:17 +08:00
sea
ff2c26dc89 improvement(components): [steps] change step transitionDelay timer (#19888)
* perf(components): [steps] change step `transitionDelay` timer

* Update packages/components/steps/src/item.vue

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

* chore: update

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-10-17 13:45:31 +02:00
Rainbow
e6d5ddbde6 fix(components): [date-picker-panel] value-on-clear takes effect on monthrange and yearrange (#22507)
* fix(components): [date-picker-panel] sync clear value with valueOnClear

* test: add test case

* test: supplement tests
2025-10-17 16:59:19 +08:00
一只前端汪
ddf28c98d3 feat(components): [input] add word-limit-position attributes (#22359)
* fix: input maxlength

* fix: make error tip same line

* fix: format

* fix: use     top: 100%;

* feat: expand show-limit-word

* feat: add test

* fix: optimize code

* fix: use nsInput.is and update docs

* fix: update test case

* fix: add wordLimitPosition props

* chore: update docs

* fix: add version tag

* fix: input support outside

* fix: update docs

* fix: add backgroundcolor

* fix: Restore code

* fix: update docs demo

* fix: add input test case

* fix: Remove two useless CSS

* Merge branch 'dev' into input-max-length
2025-10-17 11:46:14 +08:00
qiang
a228b3a514 fix(components): [color-picker] the panel does not capture focus (#22483)
* fix(components): [color-picker] the panel does not capture focus

* chore: test

---------

Co-authored-by: btea <2356281422@qq.com>
2025-10-16 23:08:04 +08:00
Carl Chen
9b9fd97da1 fix(components): [input-number] fix step-strictly precision (#14359)
fix(components): [el-input-number] fix step-strictly precision

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-10-16 22:12:37 +08:00
Rainbow
639adda459 chore: remove the useless debounce prop from slider (#22488)
Co-authored-by: btea <2356281422@qq.com>
2025-10-16 13:43:46 +00:00