Commit Graph

1576 Commits

Author SHA1 Message Date
snowbitx
da67d58a97 feat(components): [input-number] add disabled-scientific prop (#21319)
* feat(components): [input-number] add disableScientific prop

* chore: useless change

* Update basic.vue

* Update basic.vue

* Update docs/en-US/component/input-number.md

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

* refactor: merge events

* test: add test case

* chore: tweaks

* Update notes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/en-US/component/input-number.md

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

* chore: rename prop

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-07-18 22:38:49 +08:00
btea
5cc42ad9fc feat(components): [color-picker] add persistent and append-to prop (#21393) 2025-07-18 02:10:05 +02:00
snowbitx
da08a2ffaf feat(components): [input-number] add align prop (#21291)
* feat(components): [input-number] add align prop

* refactor: change implementation

* refactor: simplify SCSS

* test: add align prop class test

* test: fix type error

* Update packages/components/input-number/src/input-number.ts

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

* Update docs/en-US/component/input-number.md

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

* chore: useless change

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-17 15:45:24 +08:00
Zhong
a6cc30b979 feat(components): [notification] support updateOffsets command (#21300)
* feat(components): [notification] support updateOffsets command

* fix(components): [notification] correct calculation offset

* test(components): [notification] add test case

* feat(components): [notification] add default value & update doc

* test(components): [notification] cleanup

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

* docs(components): [notification] update

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

* test(components): [notification] use defineGetter replace defineProperty

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-16 02:01:41 +02:00
Noblet Ouways
ed29cf0dfb docs: fix examples & type consistency (#21333)
* docs(components): [select] fix consistency

* chore: remove all `:height="208"`
2025-07-14 09:42:58 +08:00
Noblet Ouways
5447972845 feat(components): [tree-v2] add scrollbar-always-on attribute (#21293) 2025-07-11 17:48:45 +08:00
0song
d0e8bf0c9f chore: update doc ui (#21313) 2025-07-11 08:20:43 +00:00
btea
de625a1403 feat(components): [input-number] change the min and max default value (#21302)
* feat(components): [input-number] change the min and max default value

* docs: update
2025-07-11 00:16:29 +02:00
56jun
e4d3ce2970 feat(components): [mention] add whole-remove event (#21050)
* feat(components): [mention] 添加mention-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention] 添加whole-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-10 16:40:18 +08:00
Noblet Ouways
8a243036fe fix(components): [input-tag] paste multiple delimiters (#21256)
* fix(components): [input-tag] paste multiple delimiters

* chore: refact

* refactor: easier to read & import types

* chore: remove useless convert regex

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

* chore: fix

* chore: fix

* chore: same logic on paste & better tests

* chore: fix edge case

* chore: fix

* chore: add

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-08 09:02:13 +00:00
jiaxiang
dad04531e9 style(docs): add transition in details (#21272) 2025-07-08 07:48:00 +08:00
sea
29c9d885fc docs: update type & dev includes normalize.css (#21271) 2025-07-07 17:13:22 +02:00
Noblet Ouways
7ccf1e4c53 refactor(docs): partially remove typecript errors (#21099)
* refactor(docs): partially remove typecript errors

* chore: cleanup

* chore: refact

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* docs: typo fix type error

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Wanghua3819 <2586244885@qq.com>
2025-07-07 22:30:02 +08:00
sea
f3893835ae docs: select use minimum base examples & delete input tip (#21235)
docs: select use minimum base examples
2025-07-04 18:10:22 +02:00
betavs
cfe8e4e982 docs(components): [input] supplemental component events (#21229) 2025-07-03 21:56:07 +08:00
yuhengshen
a579224896 fix(components): [autocomplete] add placeholder prop type definition (#21206)
* fix(components): [autocomplete] add placeholder prop type definition

* feat(components): [autocomplete] add inputProps and merge properties

* docs: [input] description typo

* feat: explicitly using the `model` & `disabled`

* fix(components): [time-picker] single input name type

* docs: add input attrs link

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-03 00:15:53 +02: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
qiang
a174c6e0c3 docs: unregister PWA (#8979)
* docs: unregister PWA

* chore: remove images
2025-06-29 15:10:56 +08:00
狂人的芝士
82fa008537 docs(components): [affix] fix el-affix inside overflow:auto (#21127) 2025-06-25 22:03:29 +08: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
sea
49e1d594fa docs(components): [date-picker] improve event type (#21125)
* docs(components): [date-picker] improve event type

* docs: update
2025-06-24 14:00:13 +00:00
dhj-l
eb80cacb0d docs(components): [table] update filter-change event description (#21123)
docs(docs): fix filter-change event description in table
2025-06-24 17:18:39 +08: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
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
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
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
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
Jevin
0f034f948d docs(components): [date-time-picker] add disabled-hours disabled-minutes disabled-seconds info (#21029)
docs(components): [date-time-picker] add disabled hms info
2025-06-15 07:46:34 +08: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
qiang
168b5f34ca style(eslint-config): move newline-after-import to global (#21011) 2025-06-12 22:30:23 +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
Zhong
6717d7f70d docs(components): [radio] fix text-color and fill attr ownership (#20997)
* docs(components): [radio] fix text-color and fill attr ownership

* docs: format order

* docs: format order

---------

Co-authored-by: it-evan <evanzhong@efun.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-12 03:44:46 +00:00
betavs
76a5abf358 docs: update alert component version references to 2.10.0 (#20946) 2025-06-07 11:19:29 +08: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
172cb07005 docs(components): [tooltip] add faq (#20921)
* docs(components): [tooltip] add faq

* docs: update
2025-06-05 02:11:08 +02:00
kooriookami
b97766fda5 chore: update resources (#20918) 2025-06-04 10:06:35 +02:00
Gnalvin
d720e5c31c feat(components): [splitter] new component (#20145)
* feat(components): [splitter] new component

* docs(components): [splitter] update docs

* feat(components): [splitter] add export ElSplitter ElSplitterPanel types

* feat(components): [splitter] support touch even

* Update docs/.vitepress/crowdin/en-US/pages/component.json

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* docs: update

* docs: update

* chore: update docs & code

* chore: update docs & fix code type error

* fix: use slot show error

* refactor(components): [splitter] modify props use

* refactor(components): [splitter] use native event listener to drag

* fix(components): [splitter] panel bind attrs

* refactor: use `useOrderedChildren`

* chore: fix types

* feat: add icon

* chore: translate comments and add beta tag

* docs: add default-size api

* docs: remove demo lang="scss"

* refactor: remove default-size api

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: kooriookami <bingshuanglingluo@163.com>
2025-06-03 23:01:28 +08:00
0song
1c3fc40a3c chore: update doc (#20901) 2025-06-02 07:02:04 +00:00
Meet you
b44a4a3acf feat(components): [table-column] add expand slot (#20750)
* feat(components): [table-column] add `expand` slot

* fix(components): update

* Update packages/components/table/src/table-column/render-helper.ts

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

* fix(docs): update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-05-31 09:33:40 +02:00
kooriookami
e4a93aae74 fix(components): [select-v2] fix default-first-option and allow-create are not effective together (#20872)
fix(components): [select-v2] fix default-first-option

closed #20871
2025-05-29 16:27:44 +08:00
Noblet Ouways
02e050a17b feat(components): [scrollbar] add end-reached event (#20812)
* feat(components): [scrollbar] add `end-reached` attribute

* chore: cleanup

* wip

* wip

* wip

* Revert "wip"

This reverts commit e0da0a2d53.

* Revert "wip"

This reverts commit 805988eec7.

* Revert "wip"

This reverts commit 4f15391dd2.

* Revert "chore: cleanup"

This reverts commit c0a82c4d56.

* Revert "feat(components): [scrollbar] add `end-reached` attribute"

This reverts commit 92e9533d1b.

* chore: add emit attempt

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

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

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

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

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

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

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

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

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

* fix: update

* fix: update test

* docs: format

* fix: drag scroll

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-05-28 21:32:42 +02:00
betavs
0531cab05f feat(components): [alert] add open and auto-close functionality with delays (#20533)
* feat(components): [alert] add open events and delay options

* docs(components): [alert] add example with delayed attributes
2025-05-24 11:28:57 +02:00
qiang
07cc69e836 docs: reference path causes build error (#20844) 2025-05-24 13:04:32 +08:00
btea
c29eac5f81 fix(components): [form] scrollToError scroll to correct position (#20826)
* fix(components): [form] `scrollToError` scroll to correct position

* fix: update

* fix: update

* fix: update

* fix: revert

* fix: set scrollIntoViewOptions default to true

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

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: update

* fix: update class

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-05-23 15:52:55 +08:00