神楽坂みずき
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
wangbincyzj
9c790c76f0
fix(components): [form-item] Fix misspellings ( #3019 )
...
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-24 14:25:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00