Commit Graph

452 Commits

Author SHA1 Message Date
Chen
bb6fad313e refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
msidolphin
75c6ea967a
refactor: [el-config-provider] change default autoInsertSpace to false (#4330) 2021-11-10 15:21:20 +08:00
btea
fdf8c13aad
fix(components): [el-autocomplete] fix popper position (#4321)
* fix(components): [el-autocomplete] fix popper position

* fix: add fallback-placements
2021-11-10 10:29:23 +08:00
C.Y.Kun
5e3a86eaa9
fix(components): [el-checkbox] tabindex property doesn't work (#4286) 2021-11-08 13:13:47 +08:00
btea
c6c1e965f7
fix(components): [el-cascader] empty children set leaf (#3758)
* fix(components): [el-cascader] empty children set leaf

* test: add test
2021-11-06 08:50:48 +08:00
Kevin
e9a110ed47 refactor(components): refactor radio 2021-11-06 03:48:19 +08:00
undefined-design
f058906069 refactor(components): refactor radio 2021-11-06 03:48:19 +08:00
Kevin
25fa5ee114 refactor(components): [el-row] improve props 2021-11-06 03:41:45 +08:00
undefined-design
ae5b02df0d refactor(components): refactor row 2021-11-06 03:41:45 +08:00
Kevin
03b86d69b4 refactor(components): [el-result] improve props 2021-11-06 02:49:33 +08:00
Chen
c10d0cbab3 refactor(components): refactor result 2021-11-06 02:49:33 +08:00
Kevin
3cf03d5a0c refactor(components): refactor rate 2021-11-06 02:35:59 +08:00
Chen
5ed4e1f9e4 refactor(components): refactor rate 2021-11-06 02:35:59 +08:00
表弟
b81bf53f0a
feat(components): [el-message] merge the same content messages(#3836) (#3988)
* style(components): [el-message-box] string does not wrap(#3856)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

Co-authored-by: Aex <adaex@qq.com>
2021-11-05 18:55:40 +08:00
Alan Wang
b13955648b
fix(components): [el-select] display false (#4036) 2021-11-05 18:53:01 +08:00
btea
9aa03ac774
fix(components): [el-form] reset form validate error (#3759) 2021-11-05 18:45:45 +08:00
Alan Wang
07353a13e1
fix(components): [el-select] first item hover status error (#3880)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-11-05 18:40:07 +08:00
msidolphin
e5e9d654a4
fix(components): [el-table] development environment warning issues (#4167)
fix #4166
2021-11-05 18:34:47 +08:00
神楽坂みずき
65276c3e4a
fix(components): ensure table size affects inner selection (#3979)
* fix(components): ensure table size affects selection

* refactor
2021-11-05 18:30:32 +08:00
Aex
2036755e3c
fix(components): h function children parameter usage (#4238)
* fix(components): `h` function children parameter usage

* fix: usage

* fix: icon align
2021-11-05 18:24:19 +08:00
msidolphin
9b059fffc6
fix: [el-date-picker] cannot change the time when provide default-time (#4228)
fix #3746
2021-11-05 18:19:01 +08:00
btea
ee34622c9a
fix(components): [el-cascader] search result switch not highlight (#4087)
* fix(components): [el-cascader] search result switch not highlight

* chore: remove Ref
2021-11-05 18:14:46 +08:00
msidolphin
66043aa3b5
refactor(components): [el-config-provider] improve componomponent extendiability (#4175)
re #4146

added button configuration
added useGlobalConfig hook
2021-11-05 18:10:07 +08:00
Zapic
cf27504bdc
fix: [el-input]hidden input is not hidden (#4128)
* fix: [el-input]hidden input is not hidden

* chore: [el-input]use v-show instead of css class

Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2021-11-05 17:58:02 +08:00
Alan Wang
c0ca1389bb
feat(components): [el-image] initialIndex (#4235) 2021-11-05 17:52:13 +08:00
Aex
f78407a409
fix(components): empty icon component judgment (#4178)
* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
2021-11-05 17:44:02 +08:00
msidolphin
c72ea9c1a1
fix(components): [el-table] fixed mode layout misalignment (#4188)
fix #4141
2021-11-05 17:36:05 +08:00
C.Y.Kun
ff332345f2
fix(components): el-dropdown cannot be used with v-show (#4221) 2021-11-05 15:33:17 +08:00
btea
5b52336965
feat(components): [el-select-v2] mouse trigger scrollbar show/hide (#3722)
* feat(components): [el-select-v2] mouse trigger scrollbar show/hide

* feat: add always-on flag

* fix: change flag name and add transition

* docs: select-v2 add scrollbar-always-on flag

* test: add test cases
2021-11-04 14:37:40 +08:00
Aex
6864124d4e
fix(components): view tag does not render (#4198) 2021-11-04 12:46:23 +08:00
jeremywu
598fb86627
fix(components): el-teleport potential failure (#4197)
- Fix the judgement for `is-body`
2021-11-04 10:40:00 +08:00
Alan Wang
b68e90200e
test(components): [el-color-picker] hex color with transparency (#4180) 2021-11-03 18:50:26 +08:00
jeremywu
5a0ac482ce
feat(components): el-teleport (#4186) 2021-11-03 17:42:05 +08:00
btea
a3d23587c0
fix(components): [image-viewer] fix typo (#4183) 2021-11-03 14:17:47 +08:00
辛宝Otto
63d3d9d168
refactor(components): elForm 渐进增强表单规则,允许用户自定义类型 (#3951) 2021-11-02 23:47:16 +08:00
Alan Wang
6bba6d3a80
feat(components): [el-color-picker] hex color with transparency (#3893)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-11-02 23:40:48 +08:00
msidolphin
f7a553184c
fix(components): [time-picker] am/pm mode avoid render redundant content (#4137)
fix #4020
2021-11-02 23:09:36 +08:00
Greper
23325a942a
feat(components): [el-tree] allow tree node to have customizable class (#3912)
* feat(components): [el-tree] custom node class

* Update packages/components/tree/src/tree.type.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

* refactor: [el-tree] getNodeClass use isString & isFunction

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-11-02 22:36:47 +08:00
midcu
fb55efe48b
fix(components): [el-affix] 监听容器的大小变化 (#3932)
Co-authored-by: midcu <me@midcu.com>
2021-11-02 18:46:10 +08:00
Aex
cf6a38a4fd
fix(components): el-select-v2 empty icon (#4154) 2021-11-01 17:57:35 +08:00
Aex
fa46dbd0b4
fix(components): el-loading spinner directive (#4133) 2021-11-01 15:16:11 +08:00
Alan Wang
5a9b90b3aa
fix: [el-transfer]modelvalue is not in original order (#4082) 2021-11-01 15:11:46 +08:00
msidolphin
974e9d563f
fix(components): [el-tree-v2] empty-text supports empty string & virtual list width become no required (#4144) 2021-11-01 15:05:04 +08:00
SongWuKong
fb8fc98c63
fix(components): [el-tree] emptyText empty string is invalid (#4135) (#4136)
* fix(components): [el-tree] emptyText  empty string is invalid (#4135)

* fix: emptyText  empty  judge
2021-11-01 11:38:15 +08:00
msidolphin
86866f6725
fix: [el-date-picker] avoid click event error & fix cell props (#4134) 2021-10-31 20:59:23 +08:00
btea
c33d861797
fix(components): [el-tree-v2] indent can not set zero (#3881)
* fix(components): [el-tree-v2] indent can not set zero

* chore: simplify code
2021-10-31 20:11:16 +08:00
btea
d6c6c99ffc
fix(components): [el-table] refresh data, selected error (#3908) 2021-10-31 10:52:21 +08:00
SongWuKong
c728e25cea
fix(components): [el-menu] icon style (#4122) 2021-10-31 01:35:50 +08:00
SongWuKong
708b58d191
fix(components): [el-cascader] can not use keyboard select node(#3254) (#3260)
* fix(components): [el-cascader] can not use keyboard select node(#3254)

* fix(components): [el-cascader] add filterable keyboard selection test

* fix: switch case block
2021-10-31 00:25:24 +08:00
btea
4c698be458
fix(components): upload headers add type judge (#4119) 2021-10-30 23:37:44 +08:00
wxyong
5fd62430a1
fix(components): [el-upload] request headers missing when headers is typeof Headers(#4043) (#4045)
Co-authored-by: itw_wuxy <itw_wuxy@tkmail.com>
2021-10-30 22:12:33 +08:00
CodeSpikeX
7fe4e0b026
feat(components): [el-message] & [el-notification] appendTo option added (#4012)
* feat(components): [el-message] & [el-notification] appendTo option added

* fix(components): unit test and replaced warn with debugWarn
2021-10-30 22:09:36 +08:00
msidolphin
93a1aa9b2f
feat(components): [el-date-picker] support customized cell content (#4078)
re #4056
2021-10-30 21:39:11 +08:00
kooriookami
cf726a0b42
feat: add fit-input-width prop (#4088) 2021-10-30 09:34:19 -04:00
神楽坂みずき
94c404b12a
fix(checkbox): fix checkbox when modelvalue length less than min limit (#1745)
* fix(checkbox): fix checkbox when modelvalue length less than min limit

* fix

* fix something wrong while handling conflict
2021-10-30 21:30:52 +08:00
Aex
cd646824c2
feat(components): el-switch add inline content support (#4091)
* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline
2021-10-30 21:23:29 +08:00
renovate[bot]
5b5e9ab81d
chore(deps): update dependency eslint-plugin-vue to v8 (#4105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-10-30 18:13:00 +08:00
啝裳
7332b46131
fix(components): [el-menu] trigger hover, open and close events no work (#4077) 2021-10-30 13:40:19 +08:00
云游君
0139d24583
chore: remove useless css prefix & utils (#4075) 2021-10-29 19:16:53 +08:00
Alan Wang
3ade9cae65
fix(components): [el-input] maxlength is not correct (#3969) 2021-10-29 16:54:53 +08:00
云游君
453c595a1b
feat: remove font icon scss & font-path (#4074)
* feat: remove font icon scss & font-path

* chore: fix lint useless var
2021-10-29 00:20:16 +08:00
Aex
4510816802
refactor(componentes): deprecate the icon font of some components (#4067)
* refactor(components): [el-breadcumb] icon

* refactor(components): el-tabs icon

* refactor(components): color picker icon

* refactor(components): menus icon

* refactor(components): loading spinner icon

* fix(components): panel-data-pick elicon import

* refactor(components): dropdown item icon

* refactor(components): tabs plus icon

* fix: message & tabs icon test

* fix(components): breadcrumb docs

* fix(components): colorPicker docs

* fix(components): loading docs

Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00
神楽坂みずき
aa0e0b9ea1
fix(components): fix add space in prod mode (#4062) 2021-10-28 13:22:30 +08:00
921
9a016bfd32
fix(components): [el-input-number] add a type attribute (#4030)
Co-authored-by: 921 <redky@qq.com>
2021-10-28 06:19:56 +08:00
Aex
883fd8d6ef
epic: refactor icons (#3492)
* refactor(components): el-alert icon (#3441)

* refactor(components): el-alert icon

* fix: el-alert test

* fix: [el-alert] lint error

* feat(utils): add icon util

* refactor(components): el-alert icon

* refactor(utils): icon

* test: update alert test

* refactor: remove el-icon in util

* refactor(components): el-notification icon (#3512)

* chore: temp save changes

* refactor: update icon

* fix: var

* docs: update icon

* fix: type class error

* style: remove unused class

* fix: update icon type

* docs: update icon

* fix: update iconComponent

* refactor(components): el-dialog icon (#3505)

* refactor(components): [el-dialog] icon

* fix: typo

* refactor: dialog icon ref

* refactor: dialog icon

* style: update close button size

* refactor(components): el-message-box icon (#3507)

* refactor(components): message-box icon

* refactor(components): message icon

* fix: test

* refactor: update ref

* fix: test

* docs: update icon

* fix: delete unused code

* docs: update type

* fix: update close button size

* fix: type

* fix: icon type class

* fix: icon type

* fix: update type class

* refactor(components): el-popconfirm icon (#3513)

* refactor(components): el-popconfirm icon

* fix: space styles

* docs: update example

* docs: update example for trigger event

* refactor(components): el-page-header icon (#3518)

* refactor(components): el-page-header icon

* docs: update icon

* fix: space errors

* refactor(components): el-steps icon (#3520)

* refactor(components): el-backtop icon (#3514)

* refactor(components): el-backtop icon

* fix: update font size

* refactor(components): el-button icon (#3536)

* refactor(components): el-button icon

* fix: update example

* refactor(components): el-button icon

* refactor: style simplify

Co-authored-by: imswk <syfzxx@vip.qq.com>

* refactor(components): el-tree icon (#3590)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-avatar icon (#3599)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-carousel icon (#3602)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-progress icon (#3607)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-result icon (#3609)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-timeline icon (#3646)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-table icon (#3611)

Co-authored-by: qianjie <qianjie@patsnap.com>

* chore: add vue to gitignore

* fix: buildProp error

* refactor(components): el-pagination icon (#3605)

* test: el-menu deprecated icon font (#3794)

* test: el-loading deprecated icon font (#3795)

* chore: Update changelog 1.1.0-beta.20 (#3838)

* fix: about custom extension of table column (#3437)

* refactor(components): el-autocomplete icon (#3783)

* refactor(components): el-dropdown icon (#3517)

* refactor(components): el-dropdown icon

* fix: arrow down icon size

* style: revert

* fix: font-size

* refactor(components): el-link icon (#3538)

* refactor(components): el-link icon

* refactor: update example

* fix: import icons

* docs: add tip

* refactor: update link icon

* fix: icon align

* fix: typo

* refactor(components): el-select icon (#3780)

* refactor(components): el-input icon (#3565)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* docs: icon usage

* fix: input style

* fix: add scoped

* docs: fix icon

* fix: icon align

* fix: icon align

* fix: typo

* fix: typo

* refactor(components): el-input-number icon (#3566)

* refactor(components): el-input-number icon

* fix: icon align

* refactor(components): el-tag icon (#3793)

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* refactor(components): el-switch icon (#3787)

* refactor(components): el-switch icon

* fix: icon align

* docs: add icon usage

* refactor(components): el-collapse icon (#3788)

* refactor(components): el-collapse icon

* docs: update icon demo

* fix: typo

* refactor(components): el-uplod icon (#3598)

* refactor(components): el-uplod icon

* docs: update icon useage

* docs: fix icon

* docs: fix icon

* docs: update upload-filled icon

* fix: icon align

* fix: item icon align

* refactor(components): el-select-v2 icon (#3781)

* refactor(components): el-select-v2 icon

* revert: play/main.ts

* fix: icon style

* fix: icon solt

* refactor(components): el-cascader icon (#3785)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-cascader icon

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* docs: icon usage

* fix: input style

* fix: add scoped

* test: remove unuesd code

* fix: cascader-panel

* fix: icon style

* fix: icon animation

* refactor(components): el-drawer icon (#3796)

* refactor(components): el-drawer icon

* fix: close icon size

* fix: close icon align

* refactor(components): el-transfer icon (#3792)

* refactor(components): el-transfer icon

* fix: icon align

* refactor(components): el-image-viewer icon (#3797)

* refactor(components): el-image-view icon

* fix: icon size

* docs: update domo

* style: format vue

* fix: fullscreen icon

* Add cursor for icons

Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* refactor(components): rate-icon (#3891)

* refactor(components): el-rate icon

* docs: update example

* docs: update

* test: update

* docs: update

* fix: variable rename

* fix: demo update

* fix: allow half bug

* refactor(components): el-time-picker icon (#3834)

* refactor(components): el-button icon

* refactor(components): date-picker icon

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-time-select icon

* fix: icon width

* docs: icon usage

* fix: input style

* fix: add scoped

* fix: icon size

* docs: icon display

* fix: icon in button

* docs: fix error

* refactor(components): el-time-picker icon

* fix: var

* fix: icon align

* test: delete unused code

* test: fix error

* fix: remove unused code

* docs: fix typo

* docs: update icon

* fix: default prefix icon

* fix: range picker icon align

* Update cursor for picker

Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* fix(components): el-input close icon

* chore: delete fonts

* fix: copy full style

Co-authored-by: imswk <syfzxx@vip.qq.com>
Co-authored-by: bastarder <85257684@qq.com>
Co-authored-by: qianjie <qianjie@patsnap.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Alan Wang <948467222@qq.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-27 23:17:13 +08:00
msidolphin
a504503eab
fix(components): [el-form-item] validate success does not return fields (#4001)
fix #3860
2021-10-27 18:46:34 +08:00
Alan Wang
89ede5d05f
fix: popover repeat when exist fixed column in table (#3394)
* fix: popover repeat when exist fixed column in table

* Update render-helper.ts
2021-10-26 17:19:12 +08:00
iceman
65a29f2a2b
refactor(components): [el-message] change the name of stopTimer
Co-authored-by: iceman <dd>
2021-10-26 11:04:36 +08:00
三咲智子
1bca47dcf7
fix(components): button displays icon only (#4019)
* fix(components): button displays icon only

* docs: add chinese button
2021-10-25 14:32:11 +08:00
M5 Universe
55fd145547
fix(components): [el-icon] support string size (#3835) 2021-10-25 09:43:54 +08:00
神楽坂みずき
5cd8be2434
feat(components): add space between two characters in Chinese (#3992) 2021-10-24 22:47:39 +08:00
jeremywu
6006e910aa
refactor(components): ElInputNumber (#3974)
* refactor(components): ElInputNumber

- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts

* Update input number docs

* Update input number docs

* Update input number docs

* Address comments

* Code perfection

* Make modelValue required field

* Fix linter

* Remove unnecessary code

* Fix linter
2021-10-22 23:28:03 +08:00
btea
78f8246a89
fix(components): [el-select-v2] set a non-empty array value error (#3998) 2021-10-22 15:48:59 +08:00
Alan Wang
4b76238ea3
fix(components): [el-affix] update method does not exist (#3996) 2021-10-22 12:15:35 +08:00
波比小金刚
4741b40e19
fix: tag should support large size too (#3948) 2021-10-22 11:11:20 +08:00
btea
fdb06718eb
feat(components): [el-popconfirm] adjust tag and style (#3981) 2021-10-21 21:54:31 +08:00
jeremywuuuuu
3786ba9993 fix(utils): remove $ from util
- Replace $ with unref from vue
- Remove $ from `@element-plus/utils/util` to prevent ref sugar issue
2021-10-20 06:14:18 -04:00
spx
896a6c9860
fix(components): select v-2 value-key seems not working #2904 (#3915)
* fix(components): select v-2 value-key seems not working #2904

select v-2 value-key seems not working #2904

fix #2904

* fix(components): select v-2 value-key seems not working #2904

select v-2 value-key seems not working #2904

fix #2904
2021-10-20 11:24:09 +08:00
Otto
7349165300
fix(components): elProgress 修复不必要的 props required 定义,减少单测错误 (#3954) 2021-10-20 09:45:19 +08:00
Alan Wang
fffed80a81
fix(components): [el-rate] decimal icon display problem (#3921)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-10-19 13:26:56 +08:00
波比小金刚
40b3dea926
fix(components): [el-form-item] calc the label-width. (#3914) 2021-10-18 16:31:45 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer (#3810)
* refactor(components): refactor image-viewer

* fix: remove unused

* refactor: improve type
2021-10-18 16:24:52 +08:00
三咲智子
ffe6d251c6
refactor(components): refactor input (#3805)
* refactor(input): rename

* refactor(input): with-install

* refactor(input): kebab-case

* refactor(components): refactor input

* fix: fix test import

* refactor(components): [el-input] refactor export named

* refactor: improve types

* refactor: improve types
2021-10-18 16:21:30 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import (#3900)
* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
cf112c5866
refactor(utils): improve props validator warning (#3847)
* refactor(utils): improve props validator warning

* Update props.ts

* refactor: improve buildProps

* fix: test

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 18:24:49 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
Alan Wang
39c286f140
fix: table lazy rows can't expand at the first time (#3731)
* fix: Table Attributes expand-row-keys has changed, but fold not work

* fix: Table lazy column can't expand at the first time

* Update packages/components/table/src/store/tree.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

* Update packages/components/table/src/store/tree.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-14 17:38:00 +08:00
Alan Wang
4cffe3d9e7
fix: [ElSelectV2] set value to an empty array after selection error (#3875) 2021-10-14 17:36:41 +08:00
啝裳
9108fade83
feat(components): [el-menu] add ellipsis prop (#3870) 2021-10-14 14:58:50 +08:00
Alan Wang
d36ef9d784
fix: about custom extension of table column (#3437) 2021-10-11 16:13:29 +08:00
btea
816a3bb44e
chore: fix typo (#3831) 2021-10-10 16:56:47 +08:00
三咲智子
85d526f556
refactor(components): refactor col (#3804) 2021-10-08 09:55:18 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image (#3770) 2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space (#3757) 2021-10-06 19:34:32 +08:00
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
btea
bf91f72351
fix(components): [el-date-picker] panel not select value enter error (#3768) 2021-10-05 15:46:17 +08:00
bchen1029
20b574700b
fix(components): fix composition event bug (#3659) 2021-10-01 02:30:31 +08:00
啝裳
37000b7727
feat(components): [el-menu] expose handleResize (#3723) 2021-09-29 10:59:10 +08:00
Alan Wang
a267c75965
fix: Table Attributes expand-row-keys has changed, but fold not work (#3675)
* fix: Table Attributes expand-row-keys has changed, but fold not work

* Update packages/components/table/src/store/tree.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

* Update packages/components/table/src/store/tree.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-29 09:53:51 +08:00
Alan Wang
5cc4479060
fix(components): [el-autocomplete] popover auto width (#3674)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-09-29 09:20:01 +08:00
三咲智子
93f0a35905
feat(components): [el-button-group] add type prop (#3702)
* feat(components): [el-button-group] add type prop

* fix breadcrumb import
2021-09-28 20:51:08 +08:00
三咲智子
4a4f04970d
fix(components): [el-form] fix async-validator version (#3697) 2021-09-28 11:58:16 +08:00
三咲智子
c68d59c6a0
refactor(components): refactor menu (#3639)
* refactor(menu): rename to kebab-case

* refactor(menu): rename RootMenuProvider to MenuProvider

* refactor(menu): rename menu.type to types

* refactor(menu): extract menu props and emits

* refactor(menu): change sub-menu.vue to ts

* refactor(menu): extract menu-item-group props and emits

* refactor(menu): extract menu-item props and emits

* refactor(menu): extract sub-menu props and emits

* refactor(menu): rename type RegisterMenuItem to MenuItemRegistered

* refactor(menu): MenuProvider ref to reactive

* refactor(menu): MenuProvider remove methods

* refactor(menu): change submenus to subMenus

* refactor(menu): remove RootMenuProps type

* refactor(menu): MenuProvider improve types & rename submenu to subMenu

* refactor(menu): menu add block to provide

* refactor(menu): menu improve expose

* refactor(menu): menu improve render types

* refactor(menu): menu refactor types & change handle(Sub)MenuItemClick params

* refactor(menu): menu refactor types

* refactor(menu): menu-item-group improve types

* refactor(menu): menu-item improve types

* refactor(menu): sub-menu improve types

* refactor(menu): use-menu improve types

* refactor(menu): sub-menu fix types

* refactor(menu): menu-collapse-transition improve types

* refactor(menu): menu-item-group improve template

* refactor(menu): menu-item rename emit param

* refactor(menu): finally improve types

* fix lint

* chore: re-order import

* chore: remove reactive
2021-09-28 10:59:22 +08:00
三咲智子
3e8409cd45
refactor(dev): drop babel (#3678)
* refactor(dev): drop babel

* test: fix test

* drop babel

* refactor: drop nodejs 14 support
2021-09-27 15:25:58 +08:00
Summer
ec96e9dbc7
fix(components): [el-affix] get scrollContainer of vertical (#3424)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-27 14:53:16 +08:00
msidolphin
2d2878eb53
feat(components): add virtual tree (#3398)
* feat(components): add virtual tree

* perf: optimize compute performance

* perf: optimize update checked states performance

* feat(components): [tree-v2] supports filter method

* feat(components): [el-tree-v2] exposes check api

* feat(components): [el-tree-v2] exposes current api

* feat(components): [el-tree-v2] support contextmenu event

* style(components): [el-tree-v2] optimized code style

* refactor(components): [el-tree-v2] using svg icon

* refactor(components): [el-tree-v2] replace all PropType with buildProp

replace all PropType with buildProp, support perfMode, expose setData

* refactor: improve prop

* docs: [el-tree-v2] improve documention

* refactor(components): [el-tree-v2] optimized code

Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-27 11:12:50 +08:00
spx
7ee4f44e22
fix(components): trigger update:modelValue by itself (#3660)
trigger update:modelValue by component itself

fix #2282
2021-09-27 11:09:59 +08:00
三咲智子
f9c9f11415
feat(project): upgrade async-validator to 4.0.3 (#3667)
* feat(project): upgrade async-validator to 4.0.3

* fix: fix types
2021-09-27 09:57:44 +08:00
三咲智子
6447feb505
fix(build): fix dependencies packaging (#3665)
* Revert "fix(components): [el-date-picker] dayjs props not extended (#3662)"

This reverts commit fb8446709f.

* fix(build): fix rollup externals
2021-09-27 00:23:27 +08:00
Aex
fb8446709f
fix(components): [el-date-picker] dayjs props not extended (#3662) 2021-09-26 23:38:44 +08:00
jeremywu
50a1b6f892
feat(components): [el-virtualized-grid] fulfillment (#3612)
* feat(components): [el-virtualized-grid] fulfillment

- Add scrollabr and scroll handler to v-grid

* Address comments and code perfection

* Update render function

* fix linter

* address comments
2021-09-26 19:22:56 +08:00
云游君
51cc956589
feat(utils): extract color to utils & fix submenu color (#3638) 2021-09-26 12:01:20 +08:00
msidolphin
e1a91b1a9f
fix(components): [el-date-picker] validate callback (#3649) 2021-09-26 11:55:38 +08:00
三咲智子
8b0402ae03
refactor(components): [el-message][el-notification] improve type (#3636) 2021-09-26 04:20:21 +08:00
三咲智子
0b015ab7d4
fix(components): [el-popconfirm] fix vue warning (#3618)
close #3613
2021-09-24 21:18:16 +08:00
啝裳
4dd3806f47
fix: [el-menu] using v-for causing render loop (#3617)
* fix: [el-menu] using v-for causing render loop

* fix: [el-menu] using v-for causing render loop

* perf: improve perf

Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-24 21:08:23 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
三咲智子
5f5248020c
chore(project): adjust dependency (#3595) 2021-09-24 09:28:21 +08:00
btea
db9a5e6bd6
fix(components): [el-popover] fix the title renderIf type error (#3552) 2021-09-24 09:21:38 +08:00
btea
f21b15a67e
fix(components): [el-form] fix the methods validate callback invalid (#3589) 2021-09-23 16:10:03 +08:00
三咲智子
34745432d1
fix(components): fix message closeAll (#3583) 2021-09-23 14:18:53 +08:00
三咲智子
f9e192535f
refactor: replace yarn with pnpm (#3571)
* refactor: replace yarn with pnpm

* chore: install pnpm

* chore: disable cache

* ignore pnpm-lock.yaml

* resolve deps

* setup pnpm
2021-09-23 08:12:37 +08:00
btea
53a519457e
fix(components): [el-selectv2] add type remove ts error (#3480)
* fix(components): [el-select-dropdown] add type remove ts error

* fix: remove the SelectV2Context
2021-09-23 01:11:06 +08:00
bchen1029
165ae1000b
fix(components): [el-select] fix composition bug #3532 (#3533) 2021-09-22 21:45:22 +08:00
三咲智子
a5438d3545
fix(components): fix typo (#3561) 2021-09-22 21:09:32 +08:00
三咲智子
46d69bd37f
refactor: improve buildProp (#3558)
* refactor: improve buildProp

* fix: fix key

* fix: improve validator
2021-09-22 20:27:23 +08:00
云游君
35c90180d1
refactor(components): use css var to set menu global style (#3539)
* refactor(components): use css var to set menu global style

* fix(components): remove useless value & change camelCase & test file

* test: comment code that can not test final style

* test: fix unused-vars lint

* feat: add computed for useMenuCssVar

* test(components): revert test file

* fix(components): use computed value
2021-09-22 18:41:32 +08:00
jeremywu
2a0ebbc0b9
feat(components): [el-virtualized-list] enable virtual list perf mode (#3547)
* feat(components): [el-virtualized-list] enable virtual list perf mode

- Add perfMode API for both list and grid
- Code refactor

* fix linter issue
2021-09-22 18:29:54 +08:00
啝裳
57519896c5
fix: [el-scrollbar] cascade selector of cascader is stuck after clicking (#3546)
* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking

* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking

* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking
2021-09-22 15:44:20 +08:00
yuzhang
325cc43709
feat(components): [el-message-box] add inline style prop (#3537) 2021-09-22 10:06:40 +08:00
三咲智子
426a1814d0
refactor(components): refactor empty (#3522)
* refactor(components): refactor empty

* fix: tests
2021-09-22 01:41:44 +08:00
三咲智子
9575d111c2
refactor(components): refactor message (#3524)
* refactor(components): refactor message

* chore: remove unused
2021-09-22 01:40:18 +08:00
三咲智子
2431b589af
refactor(components): refactor notification (#3495)
* refactor(components): refactor notification

* chore: fix type

* refactor(components): improve vnode

* Update notification.vue
2021-09-22 01:19:35 +08:00
三咲智子
6256189100
refactor(components): refactor pagination (#3526)
* refactor(components): refactor pagination

* fix: tests

* fix: emits

* refactor: improve props
2021-09-22 01:19:04 +08:00
三咲智子
bb5ec2c487
refactor(components): refactor link (#3527)
* refactor(components): refactor link

* fix: buildProp
2021-09-22 00:48:26 +08:00
三咲智子
6a57d547d0
refactor(components): refactor icon (#3528) 2021-09-22 00:46:23 +08:00
三咲智子
d71c87344a
refactor: fix buildProp (#3529) 2021-09-21 17:19:35 +08:00
jeremywu
91d851f44d
fix(components): [el-virtual-list] potential mem issue (#3510)
- Replace memo with memoize-one for preventing mem outage
2021-09-19 22:09:18 +08:00
三咲智子
7d1fa5aea1
refactor(components): refactor page-header (#3491)
* refactor(components): refactor page-header

* fix
2021-09-19 18:22:22 +08:00
三咲智子
1e02424daf
refactor(components): refactor tag (#3489)
* refactor(components): refactor tag

* fix
2021-09-19 18:21:43 +08:00
三咲智子
fbebf03d8c
refactor(components): refactor popconfirm (#3490)
* refactor(components): refactor popconfirm

* fix(components): fix path

* chore: change name

* fix
2021-09-19 18:21:23 +08:00
三咲智子
cff124ceca
refactor(components): refactor breadcrumb (#3487)
* refactor(components): refactor breadcrumb

* fix

* Revert "fix"

This reverts commit 5e096c5106.
2021-09-19 18:18:13 +08:00
三咲智子
25f948fb25
refactor(components): refactor overlay (#3496) 2021-09-19 16:00:19 +08:00
三咲智子
d9cfaaac52
refactor(components): refactor divider (#3488) 2021-09-19 15:50:11 +08:00
三咲智子
b365fe6278
refactor(components): refactor backtop (#3486) 2021-09-19 15:10:59 +08:00
云游君
0836097c55
refactor(components): drawer animation use transition replace keyframe (#3447)
* refactor(components): drawer animation use transition replace keyframe

* fix(components): fix drawer leave animation
2021-09-19 00:09:41 +08:00
啝裳
a24c2977e1
perf(components): [el-button] delete isEmpty (#3479) 2021-09-18 20:49:50 +08:00
BeADre
fdc2bef0c1
feat(components): [el-timeline] add center prop (#3436)
* feat(components): [el-timeline]add center prop

* fix: remove unnecessary selector
2021-09-18 11:31:58 +08:00
啝裳
48a787d55f
fix: [el-table] an extra 0 after the total line at safari (#3471) 2021-09-18 10:25:54 +08:00
Aex
78ab1b2f8e
feat(hooks): add same target support (#3473)
* feat(hooks): add same target support

* fix: dialog test

* fix: remove unused code

* improvement: custom-mask-event attr
2021-09-18 10:04:25 +08:00
jeremywu
477519a52e
feat(project): local dev environment (#3463)
- Add vite config for local dev
2021-09-17 16:42:20 +08:00
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
啝裳
f66b046872
fix: [el-form] button type is reset and reset form (#3445)
* fix: [el-form] button type is reset and reset form

* fix: [el-form] button type is reset and reset form

* fix: [el-form] button type is reset and reset form
2021-09-17 11:15:49 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
jeremywu
d8502d872f
fix(components): el-icon root element receives attributes twice (#3442)
- Fix attributes incorrectly inherited twice.
2021-09-17 00:02:38 +08:00
云游君
fb22634b61
style(components): add css var width & margin-top for dialog (#3431) 2021-09-16 23:01:22 +08:00
Delyan Haralanov
c17161e21c
Feat/remove mitt (#3356)
* feat(components): collapse use provide/inject instead of mitt events

# Conflicts:
#	packages/components/collapse/src/collapse-item.vue
#	packages/components/collapse/src/collapse.vue

* feat(components): menu use provide/inject instead of mitt events

# Conflicts:
#	packages/components/menu/src/menu.ts

* feat(components): form use provide/inject instead of mitt events

# Conflicts:
#	packages/components/checkbox/src/checkbox-group.vue
#	packages/components/checkbox/src/useCheckbox.ts
#	packages/components/form/src/form-item.vue
#	packages/components/form/src/form.vue
#	packages/components/input/src/index.vue
#	packages/components/radio/src/radio-group.vue
#	packages/components/select/src/useSelect.ts
#	packages/components/slider/src/index.vue
#	packages/components/time-picker/src/common/picker.vue
#	packages/components/transfer/src/index.vue
#	packages/tokens/form.ts

* feat(components): tree use provide/inject instead of mitt events

# Conflicts:
#	packages/components/tree/src/model/useDragNode.ts
#	packages/components/tree/src/tree-node.vue

* feat(components): select use provide/inject instead of mitt events

# Conflicts:
#	packages/components/select/src/option-group.vue
#	packages/components/select/src/select.vue
#	packages/components/select/src/useOption.ts
#	packages/components/select/src/useSelect.ts

* feat: remove mitt from packages dependencies

# Conflicts:
#	packages/components/package.json
#	packages/element-plus/package.json
#	packages/tokens/package.json

* feat: remove mitt from webpack.config.js

* refactor: change imports order

* refactor: import types separately

* fix: revert removing mitt from webpack.config.js

This config is not related to the build so no need to remove mitt here
2021-09-16 21:19:27 +08:00
Alan Wang
5978ebdabd
fix: [el-cascader] multiple search with v-model can't work (#3350)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-15 05:25:08 +08:00
三咲智子
680de635f6
fix(core): downgrade vueuse version (#3405) 2021-09-14 23:22:59 +08:00
jeremywu
19bc41f965
feat(hooks): extracting size injection for form items (#3383)
* feat(hooks): extracting size injection for form items

- Extract common code for form items
- Apply extracted code for el-button

* - Address import order

* Update packages/hooks/use-form-item/index.ts

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>

* - Fix type annotation for fallbacks

* - Use MaybeRef to mark type of local fallbacks

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 23:14:48 +08:00
Summer
b5b67b489d
fix(components): [el-virtual-scrollbar] fix move bug (#3379)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-13 18:07:51 +08:00
三咲智子
d943a66434
fix(components): [el-badge] add export type (#3376) 2021-09-13 13:19:24 +08:00
三咲智子
1079e9afe6
fix(components): [el-dialog] fix emits (#3375) 2021-09-13 13:19:06 +08:00
三咲智子
7a4bd0f236
refactor(components): refactor affix (#3368) 2021-09-13 12:02:18 +08:00
三咲智子
0eca6446e4
refactor(components): refactor dialog (#3369)
* refactor(components): refactor dialog

* refactor: drawer for dialog
2021-09-13 12:01:37 +08:00
三咲智子
60da0daf98
refactor(components): refactor card (#3367) 2021-09-13 10:51:11 +08:00
三咲智子
04d1d13905
refactor(components): refactor badge (#3366) 2021-09-13 10:49:52 +08:00
三咲智子
ad12c39ce5
refactor(components): refactor alert (#3365) 2021-09-13 10:48:10 +08:00
三咲智子
19752ba778
refactor(components): refactor avatar (#3364) 2021-09-13 10:46:12 +08:00
三咲智子
d26070d939
chore: add @vueuse/core (#3370) 2021-09-13 10:37:43 +08:00
高奕GaoYi
00d38e1807
feat(components): [el-upload] clearFiles support filter status (#1501) 2021-09-13 03:13:11 +08:00
波比小金刚
31bd0b12fb
refactor(components): [el-alert] improve judgment (#1985) 2021-09-12 22:02:45 +08:00
啝裳
da07d130da
feat(components): [el-upload] support put method (#3358) 2021-09-12 19:51:21 +08:00
三咲智子
0327d2d0b2
refactor(components): refactor button (#3341)
* feat(utils): add buildProp

* chore: disable eslint rule

* chore: typescript use strict

* refactor(components): refactor button

* feat: add comment for buildProp
2021-09-12 19:38:48 +08:00
Aex
0a878740c7
feat(components): [el-input-number] add focus & blur methods (#3337)
* feat(components): [el-input-number] add focus & blur methods

* fix(components): update focus

* docs: update input-number blur

* fix: remove useless code

* feat(components): use optional chaining
2021-09-12 19:24:17 +08:00
三咲智子
5be1f0d878
refactor(utils): refactor with-install (#3355) 2021-09-12 19:18:14 +08:00
啝裳
f2939ae075
feat(components): [el-calendar] add prev-year and next-year (#3360) 2021-09-12 18:43:44 +08:00
三咲智子
ee0cc94249
fix(components): rename loading directive instance name (#3336) 2021-09-12 18:33:24 +08:00
啝裳
629fef2993
feat(components): calendar component header support slot (#3316)
* feat(components): calendar component header support slot

* feat(components): calendar component header support slot

* feat(components): calendar component header support slot
2021-09-12 18:32:53 +08:00
Alan Wang
b14f45006c
fix: [el-table] default-expand-all doesn't work (#3321)
close #2776
2021-09-12 18:00:22 +08:00
啝裳
2816cd3332
feat(components): image-viewer component support slot (#3345)
* feat(components): image-viewer component support slot

* feat(components): image-viewer component support named slot viewer

* feat(components): image-viewer component support named slot viewer
2021-09-11 19:47:47 +08:00
btea
2baaaf5ef9
fix(components): [el-cascader] event renamed to e (#3344) 2021-09-11 15:55:33 +08:00
三咲智子
200effa261
refactor(utils): drop ie support (#3304)
* refactor(utils): drop ie support

* fix(utils): remove unused
2021-09-10 15:00:39 +08:00
Herrington Darkholme
fc74a232a0
Revert "fix(components): [el-form]: ensure form validation always triggers callback (#3294)" (#3324)
This reverts commit 509292678d.
2021-09-10 12:02:52 +08:00
Robert Schönthal
509292678d
fix(components): [el-form]: ensure form validation always triggers callback (#3294)
ensures the callback is always called
2021-09-10 11:49:33 +08:00
Aex
6db8dbca82
fix(components): [el-dialog] avoid custom class style conflict (#3267) 2021-09-10 10:09:47 +08:00
三咲智子
b8869f8b9d
refactor(components): refactor check-tag (#3311) 2021-09-10 10:04:09 +08:00
三咲智子
2f23940152
refactor(utils): refactor throwError (#3301)
* refactor(utils): refactor error

* refactor(utils): remove default export
2021-09-10 10:01:17 +08:00
Summer
60be401c89
feat(components): [el-virtual-scroll-bar] handle click event (#3308)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-09 12:04:11 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
Aex
6408d3cce6
feat(components): [el-badge] support color of type when is-dot (#3279)
* feat(components): [el-badge] apply color of type when isDot

* fix(components): [el-badge] change default type to danger
2021-09-07 17:17:39 +08:00
BeADre
1d445d7ad2
fix(components): [el-menu] fix the infinite loop (#3263) 2021-09-06 23:05:23 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor (#3242)
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4

* chore(project): bump @babel/core from 7.11.6 to 7.15.5

* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5

* chore(project): bump @babel/plugin-transform-runtime to 7.15.0

* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4

* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0

* chore(project): bump babel-loader from 8.1.0 to 8.2.2

* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0

* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1

* chore(project): update babel.config.js

* chore(project): update jest.config.js

* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0

* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0

* chore(project): bump algoliasearch from 4.4.0 to 4.10.5

* chore(project): bump transliteration from 2.1.11 to 2.2.0

* chore(project): bump typescript from 4.3.5 to 4.4.2

* chore(project): bump esbuild from 0.12.5 to 0.12.25

* chore(project): bump file-loader from 6.1.0 to 6.2.0

* chore(project): bump rollup from 2.28.2 to 2.56.3

* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0

* chore(project): bump sass from 1.37.0 to 1.39.0

* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
Aex
7fc2d6bc7d
chore(project): upgrade dependencies to latest patch (#3241)
bump lodash from 4.17.20 to 4.17.21
bump url-loader from 4.1.0 to 4.1.1
bump chalk from 4.1.0 to 4.1.2
bump cross-env from 7.0.2 to 7.0.3
bump components-helper from 1.0.2 to 1.0.4
bump @vue/babel-plugin-jsx from 1.0.0 to 1.0.7
bump @vue/compiler-sfc from 3.2.6 to 3.2.8
bump @vue/component-compiler-utils 3.2.0 from to 3.2.2
2021-09-05 16:27:17 +08:00
kooriookami
c2b6c30f92
feat(components): [el-timeline] add hollow prop (#3229)
* feat: timeline add hollow prop

* feat: update

* feat: format

Co-authored-by: kooriookami <18114643032@163.com>
2021-09-05 11:07:24 +08:00
三咲智子
519630a813
style(components): [el-image] format code (#3238) 2021-09-05 01:25:30 +08:00
zycoJamie
c572d5e6e3
fix(components): lazy image is not work when it changes src (#3189) 2021-09-05 01:06:19 +08:00
Aex
2f9cdc74ce
chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
三咲智子
eb932c18c0
fix(components): [el-menu] fix warn & listen item (#3225)
* feat(directives): resize add element argument

* fix(components): [el-menu] fix warn & listen item

* chore: move import order

* fix(components): remove debounce
2021-09-04 19:44:11 +08:00
SongWuKong
6f23947920
fix(components): message verified by el-form is "" validate (#3227) (#3231) 2021-09-04 19:35:11 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
三咲智子
80ccfef93c
docs/test: [el-form] add scrollToField docs and test (#3147)
* docs(typography): format docs

* docs(docs): [el-form] add scrollToField method

* test(components): [el-form] add scrollToField test

* destroy mock
2021-09-03 14:13:58 +08:00
Aex
21cdf61d20
refactor(components): Improve calendar date range validate (#3156)
* fix(components): Improve calendar date range validate method

* chore(components): Add some comments and references

* fix(components): change `console.warn` to `warn`
2021-09-03 09:59:45 +08:00
msidolphin
9c5c17a5d4
fix(components): [el-input-number] model:value not required (#3190) 2021-09-03 09:30:42 +08:00
SongWuKong
12b5d76020
fix(components): tabs dynamic text (#3174) (#3180)
* fix(components): tabs dynamic text (#3174)

* fix(components): tabs dynamic text (#3174)
2021-09-03 08:19:28 +08:00
kooriookami
f03a8fe07e
perf: [el-menu] only vertical mode has transition (#3200) 2021-09-02 21:08:59 +08:00
Aex
eb8ec6fb7a
fix(components): descriptions cell class (#3195) 2021-09-02 15:01:13 +08:00
msidolphin
d6bf132dd4
fix(components): collapse incorrect export statement (#3185) 2021-09-02 09:45:57 +08:00
Taosh
e8a66adffd
fix(components): [el-form-item] dom element null checking (#3172) 2021-09-01 17:49:39 +08:00
Aex
017eb705d3
fix(utils): improve element.addEventListener (#3173) 2021-09-01 17:38:54 +08:00
kooriookami
614c09eead
perf: perf menu add back arrow-icon and overflow (#3167)
* perf: perf menu add back arrow-icon and overflow

* perf: optimize resize
2021-09-01 15:43:57 +08:00
msidolphin
7556a1b2d1
fix(components): virtualized selector optimize (#3160)
1. limit the maximum width to prevent content overflow
2. hover the last option after closing the panel in multiple mode
3. fixed the incorrect style when disabled
4. optimized tag style
2021-09-01 13:14:17 +08:00
Alan Wang
2431c6d44d
fix: el-image-viewer drag have problem (#3133)
* fix: el-image-viewer drag have problem

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-01 11:04:42 +08:00
jeremywu
12006ecdb7
chore(build): remove unused package.json scripts (#3150)
* chore(build): remove unused package.json scripts

- Remove unused scripts
- Revert changes made for removing ts-node
- Fix button.var error

* Update dropdown.vue
2021-08-31 17:57:35 +08:00
Alan Wang
90f77308a9
fix: [image-viewer] two-finger zoom in and out (#3114)
Co-authored-by: jia <Fire_Mars_j@163.com>
2021-08-31 17:19:39 +08:00
kooriookami
b5c7914a05
feat(menu): add ellipsis in horizontal mode (#3083)
* feat(components): adjust types

* feat: popper add fallbackPlacements

* feat: update

* feat: update

* feat: update

* feat: update

* feat: u7pdate

* feat: update fallbackPlacements

* feat: update fallbackPlacements

* feat: when calculate, include padding

* feat: remove horizontal first level arrow

* feat: update

* feat: fix click item index mistake

* feat: fix item active

* feat: update

* feat: remove ele.me website
2021-08-31 15:31:48 +08:00
kooriookami
e7f18fbb4f
fix: [el-scrollbar] add missing off mouseup (#3143) 2021-08-31 14:51:21 +08:00
SongWuKong
5f847e3590
fix(components): [el-table] width init error (close #3087) (#3117) 2021-08-31 14:23:45 +08:00
msidolphin
b1d2f0de06
feat(components): select-v2 support keyboard operations (#3138) 2021-08-31 14:17:43 +08:00
jeremywu
03bc13e45a
fix(components): layout css lost (#3140)
- Fix the lost layout css
2021-08-31 10:04:40 +08:00
Sanxiaozhizi
6cc16bbd06
refactor: enhance type definition (#3062)
* chore: add vue-tsc for type check

* refactor(components): respect Vue's own style type

* refactor(components): improve props type

* chore(build): improve types

* fix(components): remove unnecessary props

* perf(components): use shallowRef

* fix(components): add missing property type for table

* refactor(components): improve time-picker types

* refactor(components): extract import type

* refactor(components): improve popper types

* refactor(components): upload list types

* fix(docs): fix type

* better type

* fix: remove index
2021-08-31 09:40:13 +08:00
feisha
45c292c874
fix: [el-cascader-panel] fix childrenData (close #3126) (#3131) 2021-08-30 22:36:55 +08:00
btea
4e19718553
feat(components): [el-image-viewer] emit close event (#3129) 2021-08-30 18:01:44 +08:00
Aex
88e193ce96
fix(components): [el-upload] revoke object url on item remove (#3135) 2021-08-30 17:50:24 +08:00
SongWuKong
d1b48949f5
fix(components): image no emit switch event (close #3132) (#3134) 2021-08-30 17:44:05 +08:00
Sanxiaozhizi
6b017045ae
feat(components): button-group add size (#3098)
* feat(components): button-group add size

* feat(components): add size validator

* docs: complete docs

* fix(components): fix typo

* refactor(components): move and rename tokens

* refactor(components): change size type

* fix: button-group reactive size
2021-08-29 12:33:35 +08:00
msidolphin
a15f5f293f
feat(components): select-v2 support filter-method & remote-search (#3092) 2021-08-29 09:46:38 +08:00
Sanxiaozhizi
8f67fb7645
feat(components): form add scrollToField method (#3110)
* feat(form): add scrollToField function

* feat(components): complete scrollToField function

Co-authored-by: linjie <linjie@zhuanzhuan.com>
2021-08-28 20:00:19 +08:00
wanghaitao
c1445d80de
Table: fix Destructuring assignment bug (#2893) 2021-08-28 03:48:03 +08:00
BeADre
fdbbd15187
fix: remove useless and duplicate declaration (#3082) 2021-08-28 03:47:38 +08:00
kooriookami
a54098393f
style: radio support size prop both border or not (#3103) 2021-08-27 20:31:40 +08:00
kooriookami
5f87831710
style: checkbox support size prop both border or not (#3099)
* style: checkbox support size prop both border or not

* feat: update

* style: update
2021-08-27 20:28:56 +08:00
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
SongWuKong
7b79aae8ff
fix(input): autosize type problem (#3008) (#3012)
* fix(input): autosize type problem (#3008)

* fix(input/card):  ( autosize/bodyStyle )type problem (#3008)

* fix(input/card): (autosize/bodyStyle)type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)
2021-08-26 17:00:18 +08:00
jeremywu
5f33956b76
fix(components): style path error for radio button (#3079)
- Fix style path issue for radio button and step component
2021-08-26 16:20:55 +08:00
jeremywu
6b2b7ec702
fix(components): exposing style folder for select dropdpwn (#3077)
- Fix the error importing in style file
- Update plugin usage for `babel-plugin-import`
2021-08-26 15:11:47 +08:00
Aex
13c1183cf7
fix(components): [table] avoid table border style conflict (#3064) 2021-08-26 09:58:58 +08:00
kooriookami
d9b7ef56ea
style(docs): Optimized style of documentation (#3010)
* style(docs): use css var

* style: update

* style: demo-icon use grid layout

* style: remove demo-block.vue style scoped

* docs: remove strange character
2021-08-26 09:57:56 +08:00
Haoqun Jiang
5d9037a8b5
fix: stop pinning vue peer dependency version (#3051)
* fix: stop pinning vue peer dependency version

It should be safe to trust `vue` to follow semver.
Pinning a peer dependency version is a bad idea because any change in
peer dependency requirement should be considered a breaking change in
theory.

On the other hand, `@vue/compiler-sfc` has a strict peer dependency
version requirement.
So pinning the `vue` version is likely to causing issues like
https://github.com/vitejs/vite/issues/4573 in the future.

* chore: update lockfile
2021-08-25 17:34:57 +08:00
msidolphin
d6975c61df
feat(select-v2): support allow-create feature (#3017)
* feat(select-v2): support allow-create feature

support allow-create feature and refactored part of select-v2's code

* fix: optimized code
2021-08-25 17:23:13 +08:00
tryag
3aff7bbbd5
fix(rate):use constant (#3011) 2021-08-25 17:11:50 +08:00
JeremyWuuuuu
b4342c5ef4 fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
Aex
84d8d7111e
fix(components): [descriptions] avoid conflict with el-table (#3005)
Co-authored-by: imwsk <syfzxx@vip.qq.com>

Co-authored-by: imwsk <syfzxx@vip.qq.com>
2021-08-25 11:00:02 +08:00
Sanxiaozhizi
c7e7224f77
refactor: rename el-submenu to el-sub-menu (#3037)
* refactor(components): rename el-submenu to el-sub-menu

* refactor(docs): rename el-submenu to el-sub-menu
2021-08-25 10:03:36 +08:00
wangbincyzj
8830b2337a
fix: [label-wrap] Fix misspellings (#3030)
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-25 09:47:41 +08:00
Sanxiaozhizi
08e5fc8662
fix(message-box): fix type (#3038) 2021-08-25 09:47:08 +08:00
jeremywu
0738aed40c
fix(build) fix rollup full bundile issue (#3034) 2021-08-25 01:22:03 +08:00
jeremywu
ef94ac1a70
fix(build): upgrade vue to 3.2.x (#3031)
* chore(build): upgrade vue to 3.2.x

- Update Vue related dependencies version

* update vue version
2021-08-25 00:18:06 +08:00