1768 Commits

Author SHA1 Message Date
kooriookami
5844947198 refactor(components): [select & select-v2] Refactor components (#15352)
* refactor(components): [select&select-v2] refactor components

* refactor(components): [select-v2]

* refactor(components): update

* refactor(components): update

* refactor(components): [select-v2]

update

* refactor(components): update

* refactor(components): update

* refactor(components): update type

* refactor(components): update

* refactor(components): update

* refactor(components): update style

* refactor(components): update docs

* refactor(components): update

* refactor(components): fix #15323

* refactor(theme-chalk): update

* refactor(components): update

* refactor(components): update

* refactor(components): update

* refactor(components): fix bugs

* fix(components): fix issue

* fix(components): update

* fix(components): fix some bug

* feat(components): update

* feat(components): add tag slot

* feat(components): update

* fix(components): update

* style(theme-chalk): update style

* fix(theme-chalk): update

* feat(theme-chalk): update

* fix(components): update

* feat: update

* feat: update

* feat: update

* feat(components): update
2024-01-10 11:14:58 +08:00
Kasun Weligamage
4a3318f7b1 fix(components): [image, image-viewer] Add crossorigin property (#15406)
Co-authored-by: Xc <124118265@qq.com>
2024-01-08 17:21:21 +08:00
xiaoming
78c5f81651 fix(components): [loading] complete destroy vLoading directive unmounted (#15393) 2024-01-07 08:02:39 +00:00
xiaoming
034fb204bc feat(components): [table] add filterClassName props in TableColumn (#15389) 2024-01-07 13:30:10 +08:00
btea
858be3c70a refactor(components): [tour] replace rect with path (#15315) 2024-01-07 12:42:02 +09:00
Mrbigshot
553fe41529 fix(components): [tree-select] case-insensitive when filterable (#14617)
Co-authored-by: 叶晨 <cye2@leqee.com>
2024-01-07 00:05:46 +08:00
xiaoming
9475922142 perf(components): [menu] popper close any levels in menu-trigger:hover (#15383) 2024-01-06 20:16:03 +08:00
xiaoming
c8a0dda159 fix(components): [menu] set teleported, parent menu popper not closed (#15342)
* fix(components): [menu] set `teleported`, parent menu poper not closed

* chore: update
2024-01-05 21:47:09 +08:00
afe1
49ca14fecd fix(components): [input] remove useless contants (#15351)
* fix(components): [input] remove useless contants

* fix: remove useless contants
2024-01-04 20:52:17 +08:00
赵添
c6aacf99b2 fix(style): [tour] fixed the closebtn's hover style when type is primary (#15309)
* fix(style): [tour] fixed the closebtn's hover style when type is primary

* fix(components): [tour] placement prop reactive not work

* fix(style): [tour] delete the background style
2024-01-04 17:01:19 +08:00
betavs
668a6b00b1 fix(components): [message] type is not working after customizing icon (#15233) 2024-01-01 15:04:39 +08:00
云淡然
736dfa631f feat(components): [form] FormContext adds the getField method (#14930)
* feat(components): [form] FormContext adds the getField method

* feat(components): [form-item] FormItemContext adds the fieldValue prop

* chore: update FormContext.getField return type
2023-12-31 09:39:31 +09:00
zepeng
ff7f80d941 fix(components): [link] add target attribute and relevant docs (#15266)
* fix(components): [link] add target attribute and relevant docs

* fix(components): [link] add target attribute and relevant docs

Update the type of the target attribute
2023-12-30 19:41:38 +09:00
btea
ef4fbe3be2 feat(components): [tree] export TreeInstance (#15293) 2023-12-28 19:07:00 +08:00
一只前端汪
d553ae3920 fix(components): [input-number] Displayed values is different from modelValue when use model-value (#15184)
* fix(components): [input-number] Displayed values error

* feat: remove await

* fix: remove async

* fix: arrange

* feat: add tset case
2023-12-28 14:58:10 +08:00
赵添
2fd7ba82ab feat(components): tour component (#14952) 2023-12-27 14:49:11 +08:00
wzc520pyfm
3fdab265e6 docs(components): [collapse] use new display tag (#14955)
docs(components): [collapse] use new display tag
2023-12-26 20:57:57 +09:00
wzc520pyfm
34effd4e7e refactor(components): [carousel] class optimization in code (#14954)
refactor(components): [carousel] class optimization in code
2023-12-26 20:36:35 +09:00
Xc
972f236a12 fix(components): [date-picker] add first click demo (#15252) 2023-12-25 10:50:10 +08:00
知晓同丶
9e34ea5e54 feat(components): [autocomplete] add loading slot (#15206)
* feat(components): [autocomplete] add `loading` slot

* chore: Update autocomplete.md

* docs(components): [autocomplete] modify loading slot description

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

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

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

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2023-12-23 16:48:08 +08:00
btea
63d6bfedf5 fix(components): [collapse] emit value type check error (#15242) 2023-12-23 16:26:17 +09:00
知晓同丶
b79defc452 feat(components): [menu] add popper-classsubMenuTimeout props (#15193)
* feat(components): [menu] add `popper-class`、`subMenuTimeout` props

closed #15149

* refactor(components): [menu] simplify timeout props naming

* docs(components): [menu] add description of timeout

* refactor(components): [menu] remove useless codes

* Update menu.md

* revert: Update sub-menu.ts

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
2023-12-23 13:10:54 +08:00
Xc
dd81a39772 fix(components): [date-picker] handleFocusPicker delay (#15197) 2023-12-22 15:42:16 +08:00
류한경
62206bb0c0 fix(components): [input] remove unnecessary properties (#15220) 2023-12-22 09:56:46 +08:00
一只前端汪
c4dac14f1b refactor(components): [input] get maxlength and minlength from props instead of attrs (#15212)
* refactor(components): [input] get maxlength and minlength from props

* refactor: remove default
2023-12-21 14:30:57 +08:00
btea
e5a3a13760 fix(components): [input] input-style rendering error (#15174)
fix(components): [el-input] input-style rendering error
2023-12-17 12:49:28 +08:00
btea
6416bb24a4 test(components): [tree] filter expand loaded node (#15175) 2023-12-17 12:49:06 +08:00
Zenyb
d408533ca8 fix(components): [tree] node drag error when using custom allowDrop method (#15005)
fix(components): [tree] fix issue #14704

- Reset dragState.value.dropNode to null when allowDrop is transfered from true to false.(For issue #14704)

Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com>
2023-12-16 19:48:52 +08:00
btea
834fb38c51 fix(components): [tree] filter expand loaded node (#15150) 2023-12-16 12:39:11 +08:00
cuongle-hdwebsoft
7f687ae598 feat(components): [el-menu] allow user to hide menu when clicking outside (#14742)
* fix(components): allow user to hide menu when clicking outside

when user sets `menu-trigger` to `click` and then clicking outside, it should be close menu

closed #14738

* revert settings.json config

* fix: debounce hide menu when clicking out side

* fix: only trigger click outside when menu is open

* fix: hide parent menu

* fix: only trigger close menu when its opened

* refactor: remove redundant code

* refactor: remove redundant code

* fix(docs): `collapse-on-click-outside` prop

* fix(docs): `collapse-on-click-outside` prop

* fix: move `clickOutSide` to `menu.ts`

* fix: submenu does not emit `close` when clicking outside

* fix: submenu does not emit `close` when clicking outside

* fix: ts type

* fix: ts type

* fix: only close when passing `props.collapseOnClickOutside` to `true`

* refactor: create `directives` variable

* improvement: allow `recusiveMouseInSubMenu` to receive array

* refactor: remove redundant code

* fix: rename `recusiveMouseInSubMenu` to  `recursiveMouseInSubMenu`

* feat: add `hide-timeout` prop

* fix: revert code

* fix: code owner

* fix: coder owner

* fix: menu closed when clicking on submenu

* refactor: remove redundant code

* fix: get correct index path

* fix: build

* refactor: update docs and remove `unref`

* fix: change `collapseOnClickOutside` to `closeOnClickOutside`

* fix: remove `hideTimeout` prop
2023-12-15 13:34:22 +08:00
ivan0525
d4f331ffb6 fix(components): [date-picker] tagName judgement error (#15079)
* fix(components): [table] fix tests typo

* fix(components): [date-picker] tagName judgement error

---------

Co-authored-by: zhuangyufeng <zhuangyufeng@szkingdom.com>
2023-12-14 21:07:05 +08:00
Innei
6befedd11c fix(components): [collapse-transition] collapse get el exists height (#14801)
fix: collapse get el exists height

Signed-off-by: Innei <i@innei.in>
2023-12-14 19:22:14 +08:00
xingyixiang
ac6b0e74f5 feat(components): [pagination] add change event (#14828)
* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event
2023-12-13 09:54:27 +08:00
kooriookami
b7a05e7687 fix(components): [input-number] Fix not trigger change event and incorrect value display (#15066)
* fix(components): [input-number] Fix not trigger change event

closed #14967

* fix(components): [input-number]

* test(components): update test

* fix(components): fix #14438
2023-12-12 12:08:16 +08:00
星如雨
df0befcad0 feat(components): [switch] (in)active icon slot (#15078)
* feat(components): [switch] (in)active icon slot

* feat(components): [switch] slots are renamed

* test(components): [switch] action-slot test case
2023-12-09 10:16:05 +08:00
xingyixiang
b6b98bb1d8 fix(components): [table] tooltipOptions.showAfter is not effective (#14741)
* fix(components): [table]
tooltipOptions.showAfter is not effective

* fix(components): [table]
rolling unable to destroy Popper
2023-12-06 20:29:43 +08:00
知晓同丶
750088624e feat(components): [menu] add popperOffset and ellipsisIcon props(#14923) (#15051)
* feat(components): [menu] add popperOffset and ellipsisIcon props(#14923)

* Update docs/examples/menu/ellipsis.vue

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

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

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

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

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

* docs(components): [menu] upgrade props

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

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

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2023-12-06 10:34:47 +08:00
一只前端汪
0482d11337 fix(components): [data-picker] use renderSlot simplified code (#15036) 2023-12-05 15:10:08 +08:00
一只前端汪
005bdf6143 fix(components): [table] header slot not displayed (#15035)
* fix(components): [table] header slot not displayed

* fix(components): [table] header slot not displayed

* fix(components): null commit
2023-12-05 15:09:13 +08:00
一只前端汪
0c8b6a5906 fix(components): [table-v2] cell, header-cell, empty slots not displayed (#15016)
Thanks for your contribution.
2023-12-05 15:08:08 +08:00
Travis
0ee51e0708 fix(components): [watermark] Support for lower versions of Firefox (#14993)
* fix(components): [watermark] Support for lower versions of Firefox

fontBoundingBoxAscent属性在firefox V116版本才支持,在低版本firefox中,采用 actualBoundingBoxAscent 进行向下兼容,可以支持到
firefox V74

* chore(components): [watermark] add a line of comments for the processing

* perf(components): [watermark] change "!=" to "!=="
2023-12-04 19:40:32 +08:00
Fuphoenixes
6594757abf fix(components): [watermark] mutationObserver should work (#14822)
fix(components): mutationObserver should work

closed #14819

Co-authored-by: phoenizhao <phoenizhao@tencent.com>
2023-12-04 14:00:37 +08:00
wzc520pyfm
6542286292 docs(components): [slider] use new display tag (#14711) 2023-12-03 22:17:50 +08:00
Zenyb
827d606a88 fix(components): [date-picker] the time panel is closed without losing focus (#14748)
* fix(components): [date-picker] fix bug #14728

* fix(components): [date-picker] use handleFocusPicker to fix #14728

---------

Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com>
2023-12-03 22:07:17 +08:00
Jevin
77e7f41c17 fix(components): [select-v2] popup height is not accurate (#15012) (#15014)
Co-authored-by: “Jevin” <jevin@mogul-tech.com>
2023-11-30 07:58:56 +00:00
一只前端汪
23201e2f4d fix(components): [tree] default slots not displayed (#14939)
* fix(components): [tree] default slots not displayed

* test: add customize some node contents
2023-11-27 16:33:35 +08:00
kooriookami
9f1ffc06cb chore(element-plus): update @element-plus/icons-vue version (#14968)
* chore(element-plus): update @element-plus/icons-vue version

closed #14944 #14948

* chore: update

* chore: update

* chore(element-plus): update

* chore(element-plus): update

* fix: lockfile

* fix: dts

* fix: types

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-27 16:27:16 +08:00
Cheerwhy
f37d056441 feat(components): [select] add header and footer slot (#14876)
* feat(components): [select] add header and footer slot

* fix(docs): [select] incorrect word

* fix(theme-chalk): [select-dropdown] incorrect padding

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

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

* Apply suggestions from code review

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

---------

Co-authored-by: qinzz <qinzz@chint.com>
Co-authored-by: btea <2356281422@qq.com>
2023-11-27 15:26:48 +08:00
sleepyShen1989
74bfbefc28 test(components): [button] change slot mode (#14823) 2023-11-18 16:47:34 +08:00
Karolis_Stoncius_Sneakybox
02090482ed feat(components): [dialog] append dialog to any element (#14317)
* feat(components): [dialog] append dialog to any element

Add the ability to append dialog not just to body, but to any element

* fix(components): [dialog] fix appending to body when append-to is used

* docs(components): [dialog] add version to docs append-to attribute
2023-11-14 19:43:05 +08:00