Commit Graph

2701 Commits

Author SHA1 Message Date
betavs
959030c463 fix(components): [watermark] content not fully displayed (#20348) 2025-04-05 19:51:08 +08:00
DDDDD12138
27e3711968 fix(components): [message] fix consecutive closeAll method calls (#20334) 2025-04-04 22:32:06 +08:00
Noblet Ouways
93308e46b7 fix(components): [tree] ensure no checked nodes in regular tree (#20311)
* fix(components): [tree] ensure no checked nodes in regular tree

* chore: fixup

* fix: test
2025-04-03 17:21:07 +08:00
betavs
c340be0779 feat(components): [popover] add trigger-keys prop for keyboard control of popover display (#20264)
feat(components): [popover] enable trigger-keys prop
2025-04-03 14:22:49 +08:00
kooriookami
09e23e98d0 feat(components): [segmented] add aliases for custom options (#20319)
feat(components): [segmented] Add aliases for custom options

closed #20310
2025-04-02 14:26:35 +08:00
btea
a846ad1d44 feat(components): [dialog] expose handleClose (#20323) 2025-04-02 09:55:33 +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
jiaxiang
3a6c51c300 chore: [virtual-list] remove ts-nocheck directive and unused code (#20299)
* chore: [virtual-list] remove ts-nocheck directive and unused code

* chore: remove compatible code

* chore: add line

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-03-31 09:02:10 +00:00
w2xi
aa8fce48bf chore: [form-item] redundant type assertion (#20300) 2025-03-30 12:47:57 +00:00
Haceral
642946e4fd fix(components): [select, select-v2] blur validate not executed (#20232) 2025-03-30 13:59:28 +08:00
dopamine
38cbfbb0b0 chore: [select] remove @ts-nocheck directive (#19098)
* chore: [select] remove @ts-nocheck directive

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

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

* chore: delete useless type

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

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

* fix: type error

* fix: type error

* chore: use buildProps

* chore: add type

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

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

* chore: fix type

* chore: fix type

* chore: fix types

---------

Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-03-29 17:58:52 +08:00
momei
36efad5eaf fix(components): [autocomplete] modelValue is null compatible (#20288)
Co-authored-by: momei.lu <momei.lu@yunlsp.com>
2025-03-27 18:19:03 +08:00
btea
2e58b8259d fix(components): [date-picker] config format manual change value invalid (#20223)
* fix(components): [date-picker] config format manual change value invalid

* fix: update
2025-03-25 10:09:47 +08:00
Fifteen
7fcc81b17b feat(components): [input-tag] add saveOnBlur prop (#20158)
* feat(components): [input-tag] add saveOnBlur prop

* fix(components): [input-tag] reset inputValue to undefined

* docs(components): [input-tag] add version tag for save-on-blur attribute

* refactor(components): [input-tag] simplify saveOnBlur prop definition

* chore(components): [input-tag] set saveOnBlur default to true

* docs(components): [input-tag] saveOnBlur default to true
2025-03-20 21:07:31 +08:00
sea
c65399a4c1 feat(components): [image-viewer] export setActiveItem in slot (#20190)
* feat(components): [image-viewer] export `setActiveItem` in slot

* docs: update

* docs: update
2025-03-19 18:00:22 +08:00
sheepie
5ae65bbcb5 fix(components): [time-picker] custom format causes highlight errors (#20161)
fix(components): [time-picker] Don't show highlights with custom format (#20151)
2025-03-19 09:35:47 +08:00
Daniel Jagszent
7240a0b72d fix(components): [empty] remove static ID attributes from SVG (#19764)
The default empty state SVG had some static ID attributes in them. They prevented the component to be used more than once on a page (IDs need to be unique in a document).

This commit just deletes the IDs. They do not get used anyway.
2025-03-19 08:43:43 +08:00
Egor Rakutov
a3e774e12c fix(components): [el-select-v2] use :model-value without changes (#20149)
fix(components): [el-select-v2] model-value bug
2025-03-18 16:33:19 +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
btea
d4123cd558 fix(components): [upload] drag file add isDirectory attribute (#20012)
* fix(components): [upload] drag file add isDirectory attribute

* fix: compatibility test

* fix: extend UploadRawFile
2025-03-17 20:55:04 +08:00
JohnnyYu
4e2a64d721 fix(components): [message-box] ElMessageBoxOptions type missing modalClass (#20135)
fix(components): [MessageBox]ElMessageBoxOptions type add modalClass
2025-03-15 23:30:22 +08:00
风屿
e87a8670d4 refactor(components): [description, input] use the component name constant (#20107)
* refactor(components): [description] extracts the component name constant

* refactor: extracts the component name constant

* refactor: change the location of COMPONENT_NAME

* Update packages/components/descriptions/src/description-item.ts

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

* refactor: change the name

* refactor: Extract COMPONENT_NAME to a separate file

* refactor: Adjust rows

---------

Co-authored-by: btea <2356281422@qq.com>
2025-03-15 23:14:51 +08:00
biaobiao
1d6711a37c fix(components): [affix] scroll event value sync (#20108)
* fix:affix scroll event value sync

* fix(components): [affix] fix lint errors in the affix.vue file

* fix(components): [affix] remove excess text

---------

Co-authored-by: QD-OUJINBIAO <1105973070@qq.com>
2025-03-13 16:38:40 +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
thinkasany
7dbac0e1bc chore: use event constants instead string (#20104)
* chore: use UPDATE_MODEL_EVENT constants

* chore: update INPUT_EVENT & CHANGE_EVENT
2025-03-12 15:52:07 +08:00
Noki
f31d3b6d0c fix(components): [select] typed value causes default-first-option to fail (#19806)
* fix(components): [select] default-first-option

* fix(components): [select] watch optionArray ref

* test(components): [select] add default-first-option

* test(components): [select] remove only

* test(components): [select] use remote-method

* fix(components): [select] add condition for optionsArray loop

* fix(components): [select] remove condition for optionsArray loop
2025-03-11 15:24:07 +00:00
cleaverlove
5855db4f5c refactor(components): [time-select] using built-in constants (#20079)
refactor(components): [time-select] convert to a constant
2025-03-11 21:02:59 +08:00
xinconan
25f42aa9d7 feat(components): [alert] add icon slot (#20034)
* feat(components): [alert]add icon slot

* refactor(components): [alert] move default iconComponent into icon slot

* chore: update version

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-03-09 15:34:11 +00:00
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
sea
434208c9ad fix(components): [select-v2] option need double click in IOS (#20041)
* fix(components): [select-v2] option need double click in IOS

* chore: format
2025-03-07 11:13:07 +08:00
DDDDD12138
d4bb395291 fix(components): [date-picker] support remove same months from different years (#20020)
* fix: support selecting same months from different years

* feat: add test case

* chore: adjust description
2025-03-07 09:51:08 +08:00
Noblet Ouways
2ee14a3256 fix(components): [dropdown] button-props as a Partial type (#20035)
fix(components): [dropdown] `button-props` as a partial type
2025-03-06 19:11:01 +08:00
知晓同丶
bb4d0535bc fix(components): [date-picker] add user input validation (#20021)
* fix(components): [date-picker] add user input validation

closed #19841

* refactor: rename `checkUserInput` to `correctlyParseUserInput`
2025-03-06 16:17:59 +08:00
sea
7acf11ec37 test(components): [input] use formatter , event val check (#20031)
Co-authored-by: btea <2356281422@qq.com>
2025-03-06 09:44:45 +08:00
TKSun
b46fc201e4 fix(components): [input] @change event value formatter (#20000)
* fix: change事件值没有被格式化

fix: change事件值没有被格式化

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-03-06 09:36:49 +08:00
sea
472346f81e chore: use a closing svg tag (#20018) 2025-03-04 09:06:08 +08:00
xingyixiang
f932ea2dcb fix(components): [date-picker] change triggers twice when clearing (#19804)
* fix(components): [date-picker] change triggers twice when clearing

* fix(components): [date-picker] change triggers twice when clearing

* fix(components): [date-picker] add test

* fix(components): [date-picker] add test

* fix(components): [date-picker] add test

* fix(components): [date-picker] add test
2025-03-03 15:47:34 +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
DDDDD12138
87e3d1d400 fix(components): [select-v2] allow propagation of non-control key events in custom options (#19984)
fix: allow propagation of non-control key events in custom options
2025-02-27 22:09:14 +08:00
Noblet Ouways
0ed86e74ce feat(components): [tree/tree-select] add check-on-click-leaf attribute (#19494)
* chore: last leaf node clickable on `show-checkbox`

* chore: revert

* chore: leaf node checkable

* test: checkable by click on leaf node

* chore: test & doc

* chore: add version

* feat: handle tree-v2

* test: tree-v2
2025-02-26 21:24:58 +08:00
DDDDD12138
3ef10ec5b8 perf(components): [select-v2] optimize to avoid unnecessary computations (#19970)
* perf: avoid redundant property checks and regex constructions

* perf: optimize allOptions handling and introduce hasOptions

* feat: update 'allOptions' type
2025-02-26 16:45:01 +08:00
sea
31f08e0954 test: use test fn replace sleep (#19977)
* test: use test fn replace sleep

* test: update
2025-02-26 16:21:04 +08:00
jiaxiang
ad2cbd2a23 refactor(components): [image] image-viewer standalone use (#19715)
* chore: remove prevent body scroll in image-viewer

* docs: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-02-25 22:10:34 +08:00
sea
6a22c579e6 chore: [dropdown] remove @ts-nocheck & fix type error (#19912)
* chore: [dropdown] remove @ts-nocheck & fix type error

* docs: update
2025-02-22 13:42:06 +08:00
jiaxiang
398d68cc3e feat(components): [slider] add persistent prop (#19889)
* feat(components): [Slider] add persistent prop

* fix(components): [slider] update persistent prop

* fix(components): [slider] rename persistent prop to tooltipPersistent

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

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

* chore: formatted

* fix(components): [slider] update description for persistent prop

---------

Co-authored-by: btea <2356281422@qq.com>
2025-02-20 16:17:36 +08:00
sea
cffc025415 fix(components): [tree-select] search solve memory leak (#19895)
* fix(components): [tree-select] search solve memory leak

* feat: update

* fix: test

* chore: update test
2025-02-20 11:37:41 +08:00
DDDDD12138
4ac22efb0d fix(components): [select] ensure scrollbar syncs when scrolling to selected option (#19636)
* fix: ensure scrollbar syncs when scrolling to selected option

* feat: update scrollbar when drop-down menu is displayed
2025-02-19 21:30:51 +08:00
btea
47e10798fb fix(components): [message-box] vue warning when closeIcon is component (#19901) 2025-02-19 09:55:01 +08:00
xion
8c7a43f1fc feat(components): [message-box] support custom close icon in message-box (#18168) 2025-02-18 19:00:22 +08:00