Commit Graph

2586 Commits

Author SHA1 Message Date
小的的
d0dbd19f75
fix(components): [table] typed column's min-width not effect (#9540) (#9593) 2022-09-04 23:16:53 +08:00
zz
6eded0bae8
feat(components): [message-box] allow pass function to message option (#9405)
* feat(components): [message-box] allow pass function to `message` option

* chore: update docs

* chore: update docs
2022-09-04 20:38:18 +08:00
朱金濠
acc7092901
feat(components): [el-steps] support custom icon when status is error (#9603) 2022-09-04 20:35:18 +08:00
Xc
320b28bd20
feat(components): [select-v2] add placement (#9622)
* feat(components): [select-v2] add placement

* fix(components): [select-v2] type error

* fix(components): [select-v2] type error
2022-09-04 20:34:36 +08:00
Xc
2a1cdbd8eb
feat(components): [select] add placement (#9621) 2022-09-04 19:25:01 +08:00
Yorn Qiu
dc331de392
fix(components): [popper] default flip feature (#9584) 2022-09-04 18:28:52 +08:00
三咲智子
058cd07e18
fix(components): [form-item] don't add required rule repeatedly (#9618) 2022-09-04 10:06:53 +00:00
Xc
262bb786c8
docs(components): adjust the type of focus event (#9620) 2022-09-04 17:07:19 +08:00
qiang
1e6dbd8558
refactor(components): [calendar] rename slot dateCell to date-cell (#9590)
* refactor(components): [calendar] rename slot dateCell to date-cell

closed 9565

* docs: update

* fix(components): [calendar] avoid slots taking effect at the same time
2022-09-03 23:23:10 +08:00
zz
86538e441d
fix(components): [upload] always display upload trigger (#9607) 2022-09-03 23:21:10 +08:00
Xc
ebc1e969e6
fix(components): [button] type text deprecated (#9611) 2022-09-03 23:09:53 +08:00
Xc
fda97e27dd
fix(hooks): [useLockscreen] close shake (#9610)
* fix(hooks): [useLockscreen] close shake

* fix(hooks): [useLockscreen] remove unused

* fix(hooks): [useLockscreen] unit test
2022-09-03 22:57:37 +08:00
Xc
adc468cb50
fix(components): [tree-node-content] slot inherit styles (#9613) 2022-09-03 22:56:55 +08:00
Xc
b6bec165e9
fix(components): [select-v2] support empty string value (#9609)
* fix(components): [select-v2] support empty string

* fix(components): [select-v2] use isNil
2022-09-03 20:52:15 +08:00
三咲智子
1ec498c732
fix(components): [date-picker] lodash path (#9601) 2022-09-02 10:18:42 +00:00
秦皇岛
c6b7719a1e
fix(useTree.ts):修复tree-v2组件开启accordion模式后展开不了的问题 (#9591)
Co-authored-by: 罗宇 <luoyu10301>
2022-09-02 14:20:19 +08:00
hcwhan
2622f86b99
feat(components): CascaderProps expandTrigger enum to type (#9265)
* feat:  CascaderProps expandTrigger enum to type

* feat: reduce repetition

Co-authored-by: UT003392 <hanchaowei@uniontech.com>
2022-09-02 11:05:55 +08:00
zhiyuanzmj
c063276da8
feat(components): el-tree.currentNodekey responsive. close #9576 (#9577) 2022-09-01 23:30:04 +08:00
zz
f0414c7822
perf(hooks): [use-namespace] simplify code (#9298) 2022-09-01 23:20:32 +08:00
btea
8fb1d458df
fix(components): [table-v2] header-cell slots invalid (#9585) 2022-09-01 22:40:16 +08:00
João Gonçalves
198dd0ae43
feat(components): [date-picker] add open and close handlers (#9571)
* feat(components): [date-picker] add handleOpen and handleClose methods

* chore: update date-picker docs

* chore: update date-picker docs

* feat(components): [date-picker] add handleOpen and handleClose methods

* fix: update the handlers description in the docs

Co-authored-by: João Gonçalves <jandretgoncalves@gmail.com>
2022-09-01 21:59:29 +08:00
João Gonçalves
8156606388
feat(components): [time-picker] add open and close handlers (#9572)
* feat(components): [time-picker] add handleOpen and handleClose methods

* chore: update time-picker docs

* chore: update time-picker docs

* feat(components): [time-picker] add handleOpen and handleClose methods

* fix: revert changes in pnpm-lock.yaml

* fix: update the handlers description in the docs

Co-authored-by: João Gonçalves <jandretgoncalves@gmail.com>
2022-09-01 21:57:34 +08:00
LIUCHAO
718c23c923
refactor(components): [date-time-picker] use JSX in Unit test (#9520) 2022-09-01 18:56:53 +08:00
LIUCHAO
32a20e54f1
fix(components): [date-picker] Component ElInput validateEvent pass true (#9402)
closed #9199
2022-09-01 17:40:43 +08:00
LIUCHAO
f1a7dc61f7
fix(components): [transfer] child component don't validate (#9403) 2022-09-01 17:40:02 +08:00
LIUCHAO
8532dbec11
fix(components): [select] fix typo (#9578) 2022-09-01 14:53:32 +08:00
jarven
8b96cb153a
fix(components): [tree] fix setCurrentKey setCurrentNode emit (#8881)
* fix(components): [tree] fix setCurrentKey setCurrentNode emit (#8855)

* fix(components): [tree] fix setCurrentKey setCurrentNode emit
2022-09-01 10:22:18 +08:00
wiidede
5f39b8950c
fix(components): [table] toggleRowExpansion typing (#9512) 2022-09-01 09:41:56 +08:00
zz
637ef1e25f
fix(components): [tree-select] expand-on-click-node not work (#8973) 2022-08-31 20:53:36 +08:00
webfansplz
b4e97bc61a
fix(components): [tree-v2] updated when pass dynamic defaultCheckedKeys (#8228) 2022-08-31 20:49:18 +08:00
weidehai
5109da3b3c
fix(components): [loading] prevent click through (#5822)
Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 20:28:23 +08:00
qiang
351915927c
fix(components): [pagination] add validate-event (#9563) 2022-08-31 20:04:06 +08:00
Li Zhequ
9f75d4c12e
fix(components): [page-header] fix styles introduced on demand (#9564)
Co-authored-by: lizhequ <lizhequ@ysbang.cn>
2022-08-31 19:34:26 +08:00
RealityBoy
068df682de
fix(components): [el-menu] compatible menu.value is null (#9566) 2022-08-31 19:33:52 +08:00
hminghe
24846102bb
fix(components): [el-form] clear validate after reset fields
* fix(components): [el-form] clear validate after reset fields (#7733)

* style: [form] delete blank space
2022-08-31 16:44:14 +08:00
btea
1e61e84471
fix(components): [form] reset field validate invalid (#7166)
Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 16:21:45 +08:00
Stephen.K
59c279e8a1
fix: issue #8278 (#8331)
* fix: issue #8278

* fix(components): issue #8728

Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 07:30:09 +00:00
RealityBoy
a155663f19
perf(components): [table] export table defaults (#8393) 2022-08-31 15:08:49 +08:00
bqy_fe
7160a5a0e1
fix(components): [select] support dynamic value for option (#9220) 2022-08-31 13:56:04 +08:00
qiang
f362df7792
fix(components): [tabs] nav offset error when use both number and string (#9222)
* fix(components): [tabs] nav offset error when use both number and string

closed #8565

* fix(components): [tabs] cancel change the id

* test(components): [tabs] add test
2022-08-31 13:50:20 +08:00
Obaydur Rahman
e25df5408f
fix(directives): [repeat-click] Interval time is too short for single clicks (#9466)
* fix(directives): [repeat-click] time is too short for single clicks

* fix(test-utils): [repeat-click] increase sleep time

Updated times according to PR #9466

* fix(test-utils): [repeat-click] increase test time

Updated times according to PR #9466

* chore: update

* chore: improve test case

Co-authored-by: holazz <2418184580@qq.com>
2022-08-31 13:47:58 +08:00
Xc
fa312f0b85
fix(components): [input] formatted values are out of sync (#9501)
Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 13:45:38 +08:00
热爱vue的小菜鸟
0373b01940
Table using load to click to expand will trigger multiple load callbacks (#9397)
* Cannot read properties of null (reading 'id')

If columnKey is not set, execute clearFilter and prompt Cannot read properties of null (reading 'id')
Suggestion: Add judgment to clearly prompt developers

* Update util.ts

* Update util.ts

* Update util.ts

* Update config.ts

* fix:table

* Update util.ts
2022-08-31 13:39:16 +08:00
LIUCHAO
6e3774f94c
fix(components): [select] update finished calculating optionsInDropdown (#9475)
closed #7507
2022-08-31 13:35:36 +08:00
Xc
49bc7fb66a
fix(components): [table-v2] cell slots invalid (#9531) 2022-08-31 13:31:53 +08:00
wiidede
a8a556d0ea
fix(components): [table] el-table__placeholder class disappear(#9527) (#9529) 2022-08-31 11:49:45 +08:00
sechi
d7709b0ecf
fix(components): [select-v2] emit('blur') does not carry parameter (#9547) 2022-08-31 11:48:19 +08:00
zz
b076b61c01
feat(components): [input-number] add new prop readonly (#9545) 2022-08-31 11:47:26 +08:00
zz
193ef92e1e
fix(components): [slider] trigger change event correctly (#9553) 2022-08-31 11:46:58 +08:00
wd
0539a2d420
style(components): [select, select-v2] adjust style (#9496)
the bottom part of some selected English letters are cut off

closed #9491
2022-08-31 11:46:45 +08:00
zhangenming
d4d411c936
refactor(icon): reduce getter access (#9360)
* Update icon.vue

* Update icon.vue
2022-08-30 21:23:13 +08:00
神楽坂みずき
954b8408af
fix(components): [table] fix sort-change event behavior (#4640)
* fix(components): fix `sort-change` event behavior when sort condition is `null`

* chore: fix typo

* typo

* add tests

* apply suggestions

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

Co-authored-by: tolking <qw13131wang@gmail.com>
2022-08-30 17:52:40 +08:00
btea
08638ed707
fix(components): [date-picker] only td tags with content can be select (#9537) 2022-08-30 13:40:45 +08:00
zz
ab268af52d
refactor(components): [notification] use JSX in Unit test (#9530) 2022-08-30 12:27:23 +08:00
zz
aa735d1f8e
fix(components): [dialog] bind $attrs (#9455) 2022-08-29 12:03:40 +08:00
zz
1884b1d7c8
refactor(utils): refine iconPropType (#9515) 2022-08-29 03:23:35 +00:00
zz
34d1d6f63e
fix(components): [table-v2] fix style import (#9510) 2022-08-29 11:00:04 +08:00
hfutsora
adfe2444db
feat(components): [dialog] add align center prop (#8947) 2022-08-29 02:58:54 +00:00
류한경
7c456728b1
fix(components): [cascader] collapse-tags-tooltip drop first item (#9503) 2022-08-28 20:29:22 +08:00
zz
3be8b536b8
fix(utils): fix iconPropType (#9506) 2022-08-28 19:13:58 +08:00
zz
ba15302200
fix(components): [notification] custom icon not work (#9498) 2022-08-28 05:47:30 +00:00
zz
f5fa7e741f
refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
renovate[bot]
fe26526c14
fix(deps): update dependency @floating-ui/dom to v1 (#9000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 17:22:59 +00:00
zz
f5af4c84fd
refactor(components): [popover] use JSX in Unit test (#8337) 2022-08-27 16:59:38 +00:00
yangguang
4a20c326fa
fix(components): [affix] expose updateRoot (#9159)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-08-27 16:52:06 +00:00
LIUCHAO
1ffb9c2f3d
fix(components): [time-select] inherit disabled from form (#9242) 2022-08-28 00:39:35 +08:00
zz
eed57636e0
fix(components): [upload] onPreview not work when picture list type (#9448) 2022-08-27 16:32:07 +00:00
dopamine
ec311634f9
fix(components): [upload] onExceed is not called (#9145) 2022-08-27 18:27:43 +08:00
三咲智子
e6a24f274f
fix(components): [date-picker] add flat polyfill (#9465) 2022-08-27 16:03:13 +08:00
cyx
742a37ca58
fix(theme-chalk): fix datepicker sidebar of panel is covered by footer (#9352)
.date-picker has set panel_body-wrapper position:relative, but .date-range-picker hasn't

closed #9350
2022-08-26 20:53:02 +08:00
MonsterPi
5c8c369594
refactor(components): [popper]redfine the prop role type (#9471)
* refactor(components): [popper]redfine the prop role type

* chore: remove unnecessary code

* refactor(components): [popper]update variable name
2022-08-26 20:46:25 +08:00
LIUCHAO
27e447b3ca
refactor(components): [tree] fix typo (#9477) 2022-08-26 18:18:46 +08:00
zz
e33a279556
feat(components): [image-viewer] add setActiveItem method (#9389)
* fix(components): [image-viewer] initialIndex lost reactivity

* feat(components): [image-viewer] add `setActiveItem` method

* feat: expose instance type

* chore: add test case

* chore: update docs
2022-08-26 18:18:08 +08:00
Xc
527e1f9c3d
style(components): [rate] in safari has outline (#9396) 2022-08-26 11:28:07 +08:00
RealityBoy
b121012a70
feat(components): [menu] add expand-close-iconexpand-open-iconcollapse-close-iconcollapse-open-icon props (#9444)
* feat(components): [menu] add some Icon prop

* chore: types update

* Update sub-menu.ts
2022-08-26 11:25:22 +08:00
zz
2e34de6ae1
fix(theme-chalk): [select] set vertical-align (#8800) 2022-08-25 22:12:37 +08:00
Xc
3f588b0406
fix(components): [checkbox] label is object in group (#9271)
* fix(components): [checkbox] label is object in group

* fix(components): [checkbox] abbreviated code
2022-08-25 21:59:03 +08:00
LIUCHAO
1347fdf35a
fix(components): [table] bodyWrapper resized calculate scrollbarStyle (#9149)
* fix(components): [table] tableWrapper resized update scrollbar

* fix(components): [table] Listen to the bodyWrapper

* fix(components): [table] fix max-height

* fix(components): [table] modify scrollbar height error
2022-08-25 12:05:31 +08:00
qiang
43a2c69ad1
refactor(components): [table] style of the footer-wrapper (#9084)
* refactor(components): [table] style of the footer-wrapper

closed #9065

* fix(theme-chalk): [table] optimized style
2022-08-25 12:04:35 +08:00
MonsterPi
fe131df1a4
fix(components): [space] complete the prop of space (#9380)
* fix(components): [space]complete the prop of space

- class

* fix: update space docs

* refactor(components): [space]redefine the prop of class type
2022-08-25 09:31:20 +08:00
btea
1f3c661c57
feat(components): [form] add require-asterisk-position prop (#9433) 2022-08-25 09:27:51 +08:00
Xc
3dc6fbd427
fix(components): [opover] effect dark mode title color (#9445) 2022-08-25 09:19:33 +08:00
Xc
a4050516ed
fix(components): [notification] closeAll invalid (#9417)
* fix(components): [notification] closeAll invalid

* fix(components): [notification] close invalid
2022-08-24 19:48:32 +08:00
btea
ad940b5913
fix(components): [message] the value of exposeProxy may be null (#9378)
* fix(components): [message] the value of exposeProxy may be null

* feat: use exposed
2022-08-24 19:47:44 +08:00
jarven
4da4e7eb73
fix(components): [table] repetition labelCellName (#8967) 2022-08-23 20:25:16 +08:00
btea
faa4a762fe
fix(components): [cascader] when multiple is true keyboard delete error (#9415) 2022-08-23 18:03:18 +08:00
RealityBoy
88ba661f69
fix(components): [el-menu] childNodes is null (#9408) 2022-08-23 18:03:04 +08:00
zz
43b286fec1
fix(components): [tree-v2] setExpandedKeys instead of setExpendKeys (#9413)
* feat(components): [tree-v2] `setExpandKeys` instead of `setExpendKeys`

* chore: update

* chore: update
2022-08-23 13:02:38 +08:00
zz
9cb8ce47e8
feat(components): [tree-v2] add setExpendKeys method (#9412)
* feat(components): [tree-v2] add `setExpendKeys` method

* chore: update docs
2022-08-23 09:32:07 +08:00
Astar
3a6fc23f49
fix(components): [message-box] fix Wrong type checking (#8399)
* fix(components): [message-box] fix Wrong type checking
2022-08-22 23:01:24 +08:00
Jeremy
9230af7976
feat(components): [page-header] enhancement (#9215)
* feat(components): [page-header] enhancement

* Add new slot `extra` for page header.
* Add addtional documentations for page header.

* chore: update doc

* feat: add default slot

* chore: add a11y support for back button

* chore: update examples

* chore: enhancements

* chore: example enhancement

* chore: restore previous actions for back button

* chore: address PR comments

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-08-20 21:41:49 +08:00
LIUCHAO
eb31f6f510
refactor(components): [time-picker] use JSX in Unit test (#9134) 2022-08-20 10:28:59 +09:00
zz
b7fe5df6f9
fix(components): [menu] resize event infinite invoke (#9342)
* fix(components): [menu] resize event infinite invoke

* chore: update

* Update menu.ts

* Update menu.ts

* chore: update

* chore: update

* chore: update test case

* chore: optimize

* Update menu.ts

Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-19 18:33:50 +08:00
LIUCHAO
3d13c14ae7
feat(components): [pagination] btns icon can be customized Vuecomponent (#9372)
closed #9300
2022-08-19 13:32:29 +08:00
sechi
6ac49834ef
fix(components): [cascader] placeholder disappeared after clear value (#9190) 2022-08-19 00:04:32 +08:00
wd
302e928c96
style(theme-chalk): fix input (#9178)
In the safari browser, when input box is disabled, text color rendering is incorrect

closed #9117
2022-08-19 00:01:25 +08:00
Xc
92d0f9404b
fix(components): [select] option value is object (#9287)
* fix(components): [select] option value is object

* fix(components): [select] option value is object
2022-08-18 23:49:40 +08:00
LIUCHAO
80c5855f2f
fix(components): [switch] fix type error (#9171)
* fix(components): [switch] fix type error

* fix(components): [switch] fix type error
2022-08-18 20:31:37 +08:00
LIUCHAO
6bd98685e6
fix(components): [tree] calc parentNode state after doCreateChildren (#9362)
closed #8410
2022-08-18 20:10:09 +08:00
zz
1d2ba7ff8c
fix(theme-chalk): [select] text overflow shows ellipsis (#9305) 2022-08-18 10:01:05 +08:00