Commit Graph

937 Commits

Author SHA1 Message Date
jeremywu
7d39b37f00
fix(project): fix beta 49 build issue (#2310)
- Fix the build issue caused by internal objects

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 19:58:02 +08:00
jeremywuuuuu
74ec002d23 feat(hooks): feat: Encapsulate function for rendering teleport element
- Add new function for rendering teleport element.
2021-06-23 16:41:13 +08:00
Enoch Qin
a9d6fe062f
refactor: col different size style (#2237) 2021-06-23 14:57:44 +08:00
jeremywu
45982cff8a
refactor(popper): refactor extract common props for props (#2300)
- Extract some common props out of prop

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 14:35:42 +08:00
msidolphin
f91f709cff fix: descriptions not re-rendered when slots is updated (#2275) 2021-06-20 12:46:58 +08:00
yangyu8
9bce9ea2e7 fix: table index error issue (#1919) 2021-06-19 19:56:16 +08:00
kooriookami
09429fd69d style(form): use flex layout 2021-06-19 16:39:00 +08:00
kooriookami
47e1fe91cb perf: fix style 2021-06-19 15:41:16 +08:00
kooriookami
b2a78c1e50 fix: fix height 2021-06-19 15:41:16 +08:00
kooriookami
99db792df9 fix(cascader): fix style 2021-06-19 15:41:16 +08:00
kooriookami
3ea408216a
docs(docs): remove .native (#2272) 2021-06-19 02:33:00 +08:00
kooriookami
7c8ddf5167
perf(cascader): add fallback-placements in some components (#2267)
re #2259
2021-06-18 17:32:05 +08:00
云游君
7b58b4d3ff
style(message-box): rename some var --msgbox to --messagebox (#2241) 2021-06-15 15:19:07 +08:00
云游君
daa79d62f7
style(menu): add 569JNRXZghiklms-menu-border-color (#2240) 2021-06-15 15:18:11 +08:00
msidolphin
f9e4da734d
fix: Checkbox checked optional cannot control state issue (#2046) (#2122)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-14 20:20:02 +08:00
Herrington Darkholme
e2e3ace5db
WIP: refactor(table): refactor the test cases (#2232)
* fix(table): move common test util out of table

* refactor(table): move column test out of table

* refactor(table): remove unnecessary toArray

* refactor(table): use triggerEvent from test-util

* fix(utils): add types to triggerEvent

* fix(table): add commented test back

* refactor(table): remove done from async test

* refactor(table): remove unused expectArray

* fix(table): fix type error on triggerEvent

* refactor(table): use conciser array methods
2021-06-12 19:38:39 +08:00
yangyu8
e46e29c37f fix: ElTable index calculation issue (#2143) 2021-06-12 17:15:35 +08:00
Herrington Darkholme
0287d1a2b6
Fix/table test (#2229)
* fix(table): remove unnecessary test lib

we can safely use jest.fn

* fix(build): cleanup unused deps
2021-06-12 17:10:24 +08:00
Map1en_
9dd3249f28 fix(date-picker): default-time does not work when type is datetime
fix #1915
2021-06-12 11:08:58 +08:00
jeremywu
6182fd3b96
fix(project): fix/remove-console-log-statement (#2227)
- Remove unnecessary console.log statement
2021-06-12 08:38:55 +08:00
kooriookami
dbfcdcf361
perf(rate): update change event (#2181)
* perf(rate): update change event

re #2178

* perf: add test
2021-06-11 18:28:50 +08:00
云游君
17a6ca4b5d
fix(popconfirm): import missing popover.scss (#2207) 2021-06-11 18:22:04 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
Enoch Qin
c77e570d1c
fix: Input style use show-password and clearable (#2168) (#2169)
* fix: Input style use show-password and clearable

* fix: replace Input classname
2021-06-08 14:37:38 +08:00
jeremywu
a99232f582
feat(select-v2): feat/integrate-virtual-list-with-select (#1906) 2021-06-08 14:12:16 +08:00
msidolphin
da622e10d1
fix: date picker support value-format (#2120)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 20:35:48 +08:00
msidolphin
77631999d1
feat: add himBH-popover-border-radius variable (element-plus#2094) (#2095)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 15:37:12 +08:00
msidolphin
e8fa016b46
fix: Cascader size issue when filterable and multiple are enabled (#2123)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 13:10:49 +08:00
Ryan2128
a1953ef7af
feat(input): add input-style prop (#2117)
* feat(input): add input-style prop

* test(input): add test case
2021-06-03 13:08:50 +08:00
波比小金刚
2f8a579967
feat: use built-in throwError function. (#2131)
* feat: use built-in throwError function.

* Update index.vue

* Update index.vue
2021-06-03 12:56:52 +08:00
好多大米
1a1804fa31
fix: week translations for hr locale (#2134)
Co-authored-by: wp178491 <wp178491@alibaba-inc.com>
2021-06-03 12:56:20 +08:00
bastarder
57e6e751ce
fix: tabindex prop type (#2130)
Co-authored-by: Qian Jie <jie.qian@blockheaders.com>
2021-06-03 12:55:51 +08:00
神楽坂みずき
7b8c4853a9
fix(col): col should hidden when span is zero (#1769) 2021-06-02 19:11:02 +08:00
msidolphin
e4a2245258
fix: ImageViewer isLast attribute calculation error issue (#1902) (#2125)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-02 18:36:03 +08:00
msidolphin
f29b188c84
fix: fix popper in dialog isn't enough space to position problem (#2102)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:29:25 +08:00
msidolphin
6cde2408f7
fix: hot reload (#2077) (#2097)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:06:25 +08:00
mistery-li
2e8ef5e14b
fix(scrollbar): add scrollbar type's defination (#2057) 2021-05-28 13:58:14 +08:00
波比小金刚
a6b1483aab
fix: add specific type declaration (#1939)
* fix: add specific type declaration

* fix: add an empty string tyoe

* feat: add an empty string defination

Co-authored-by: huangteng02 <huangteng02@meituan.com>
2021-05-27 16:39:56 +08:00
Bios Sun
eeedac6cf7
build: bump sass from 1.26.10 to 1.34.0 (#2060)
# Conflicts:
#	packages/theme-chalk/src/common/var.scss
2021-05-27 16:39:04 +08:00
Xing.Wu
b7450ff21d
fix(pagination): bug #2025 (#2062)
* fix(pagination): fix parent #2025

* fix(pagination): add test case for pagination

Co-authored-by: xing.wu <wuxing@bjca.org.cn>
2021-05-27 16:38:54 +08:00
0song
35ae8f4a33
fix: allow clearable to control both of the clear button (#2072)
fix #2035
2021-05-26 16:31:04 +08:00
kooriookami
0d29cc444c
perf(scrollbar): perf behavior of bar click (#2066)
re #2064
2021-05-25 19:15:12 +08:00
kooriookami
a5ac641c08
style(style): remove useless style (#2058) 2021-05-25 09:29:14 +08:00
BelinChung
0bb128315b
feat(click-outside): return mousedown event (#2038)
* feat(click-outside):  return mousedown event

Return mousedown event for binding function.

* feat(click-outside): expose both mouseup and mousedown event

* feat(directives): add test cases for click-outside

* feat(directives):  clear the previously assigned event object
2021-05-24 17:29:19 +08:00
Zong
548eed72b1
fix(locale): translated ja (#2050) 2021-05-24 11:02:07 +08:00
ping
9ee93ddf81
fix(notification): fix notification component zIndex prop can not work (#2021)
fix notification component zIndex prop can not work

fix #2017

Co-authored-by: ping <1456687576@qq.com>
2021-05-24 09:58:59 +08:00
波比小金刚
42a4798976
feat: update the setCurrentName function. (#2030)
* feat: update the setCurrentName function.

* Update tabs.vue

* Update tabs.vue
2021-05-21 16:37:27 +08:00
波比小金刚
3846e2a8cd
fix: should test is-dot class existed. (#1992) 2021-05-21 16:29:31 +08:00
波比小金刚
f419b8c61c
fix: Remove unused type declarations (#1991) 2021-05-21 16:27:33 +08:00
mistery-li
980152c997
fix(button): fix: add button click type's defination (#2026)
Co-authored-by: tujin_li <tujin.li@gshopper.com>
2021-05-21 16:23:09 +08:00
ioslh
116f5294f7
fix: v-if patch bug on el-table-column (#1988) 2021-05-21 15:54:39 +08:00
波比小金刚
ce2a9b10c8
fix: use same throw error utils function. (#2022)
* fix: use same throw error utils function.

* Update tab-nav.vue

Update error message.

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:47:54 +08:00
Enoch Qin
79876b9733
refactor(date-picker): attribute 'type' add ts declare (#1979)
* refactor(date-picker): attribute 'type' add ts declare

* refactor(date-picker): add isValidDatePicktype utils

* style: date-picker code fix

* Update date-picker.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:30:12 +08:00
Zong
3d7809cd75
fix(transfer): remove uesless button style (#1975) 2021-05-21 14:55:14 +08:00
justwiner
9b9eb65d44
fix(table): fix #1919 (#1983)
fix #1919

Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-21 14:54:36 +08:00
波比小金刚
c23c57d2ba
feat: It should verify that text is inserted in the slot (#2000) 2021-05-21 14:45:46 +08:00
波比小金刚
b9db322037
fix: add tabs type's defination (#2020)
* fix: add tabs type's defination

* feat: add tab's type, tab-position defination

* Update tabs.vue

* Update tabs.vue

* Update tab-nav.vue
2021-05-21 14:42:49 +08:00
波比小金刚
60fd5a3b5f
fix: Remove unused code (#2019) 2021-05-21 14:42:33 +08:00
波比小金刚
24ef604db9
feat: remove meaningless parentheses (#2033) 2021-05-21 14:33:37 +08:00
Herrington Darkholme
8f519cfbef
fix: respect format props and default value (#2034)
* fix: respect format props and default value

Vue 3 props will always have all keys defined, regardless if users pass props when using the component.
So {format, ...props} will always overwrite the default format because props has format defined on it.
When users do not pass format, the code breaks.

* fix: null-coalescing operator(??) requires parens

* fix: capture reactivity
2021-05-20 16:15:40 +08:00
hangzou
83bc018598
fix: add addtional css in dropdown (#1998) 2021-05-13 18:12:52 +08:00
justwiner
6e23b46289
refactor(table): refactored the type definition of table (#1997)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-13 17:55:04 +08:00
jeremywu
962772ffe1
fix(date-picker): fix/date-picker-popper-options-expose (#1982)
- Expose popper options API for date picker
2021-05-11 10:57:15 +08:00
jeremywu
05c17b9b52
fix(time-picker): fix/date-time-picker-positioning-issue (#1980)
* fix(time-picker): fix/date-time-picker-positioning-issue

- Make time-picker accepting popper-options injection

* update the providing strategy
2021-05-10 22:52:23 +08:00
Zong
f3b9ebf571
fix: use more reasonable type inference (#1963)
Use 'hasOwn' instead of 'hasOwnProperty' to complete more reasonable type inference and avoid possible bugs in the prototype chain.
2021-05-09 10:46:11 +08:00
kiloc
42ed6abbdf
fix(table): fixed checkbox not trigger oninput events in older browsers (#1945)
Co-authored-by: LAPTOP-IUOG0Q5G\chenq <chenqiang0620@gmail.com>
2021-05-09 10:45:51 +08:00
AndyLZC
955f7862d2
refactor(notification): avoid magic numbers (#1928)
* refactor(notification): avoid magic numbers

* refactor: refactor(pagination): simplify pagination logic

Co-authored-by: zc l <andylzce@gmail.com>
2021-05-09 10:40:33 +08:00
波比小金刚
fc95fc4c81
fix: judging by activeColor / inactiveColor (#1966)
If I didn’t miss anything, it should be related to the existence of activeColor or inactiveColor
2021-05-09 10:40:18 +08:00
Map1en_
0d877688cd
fix(button): wrong style when hovering the plain button (#1937)
close #1924
2021-05-09 10:36:16 +08:00
Genesis
b9212870d4
SCSS Variables: Add missing !default modifiers (#1969) 2021-05-09 10:35:56 +08:00
kooriookami
0e593a95c6
fix(icon): fix icons (#1950)
fix #1936
2021-05-09 10:34:32 +08:00
Zong
d5215ce242
fix(transfer): remove uesless button style (#1953) 2021-05-09 10:34:08 +08:00
zouhang
13cc5fd0e9 fix: add additional css in popover 2021-05-07 22:58:51 +08:00
Black
5844f9cd39
fix(drawer): add modal false div class (#1932) 2021-05-06 19:35:29 +08:00
Yexk_M
48299068e6 [fixed] validate types error
根据 `form/index.js` 源码 124行, 发现types类型声明错误。在此修正。
2021-05-06 19:20:54 +08:00
波比小金刚
58646285c7
fix: keep the same with property name (#1940) 2021-05-06 19:06:51 +08:00
Eyes22798
c790aeb19f
fix(rate): remove the confusing this (#1910) 2021-05-01 23:09:47 +08:00
hearsay
a87c8c3fe5
fix(image): fix image Add the dom of the preview picture to the body (#1577) 2021-04-26 11:54:22 +08:00
Summer
a1f521edec
switch: add beforeChange hook (#1878) 2021-04-26 11:53:09 +08:00
kooriookami
045ea5df41
fix(icon): fix icon (#1896) 2021-04-25 21:18:38 +08:00
kooriookami
c5e72c801b
feat(page-header): add icon props and slots (#1882) 2021-04-25 21:17:39 +08:00
kooriookami
b86b360a9b
feat(scrollbar): perf behavior of scrollbar (#1869)
* feat(scrollbar): perf behavior of  scrollbar

when mousedown and move out of the scrollbar, the bar can still be scroll

* feat: add test

* feat: update test
2021-04-21 15:28:46 +08:00
Enoch Qin
2cef7566c1
refactor(Button): setup props add type (#1879)
* refactor(Button): setup props add type

* refactor(Button): IButtonProps type
2021-04-21 15:13:40 +08:00
滑威
9a577d65cb
feat(progress): indeterminate progress bar (#1832)
* feat: indeterminate-progress

* docs: 补充属性

* fix: 更新单元测试用例

* chore: 优化性能

* docs: Indeterminate progress other lang

* chore: progress bem classname && docs

* docs: speed -> duration

* docs: progress docs
2021-04-21 13:47:29 +08:00
inottn
63ac60a478
fix(upload): expose abort method (#1877) 2021-04-21 10:54:18 +08:00
kooriookami
7a1457bce0
feat(scrollbar): add docs and params (#1859)
* feat(scrollbar): add docs and params

* fix: fix wrapStyle

* feat: add test

* feat: update
2021-04-20 10:44:10 +08:00
kooriookami
0d676acbc2
fix(dropdown): fix click disabled still trigger (#1865)
fix #1864
2021-04-20 10:39:17 +08:00
kooriookami
f48c497703
Feat/descriptions (#1856)
* feat(descriptions): new component Descriptions

* feat: update

* feat: update

* feat: update

* feat: update

* fix: revert readme.md

* feat: update

* feat: update provide key
2021-04-19 18:05:48 +08:00
jeremywu
94b410b647
feat(virtual-list): enhance-virtual-list (#1813)
* feat(virtual-list): enhance-virtual-list

- Enhance virtual list with generic list generator and variable size list

* finish enhancement, tests awaits

* feat(virtual-list): - finalize the tests
2021-04-16 11:18:39 +08:00
jeremywu
68c8dc8e46
fix(space): fix/1839-el-space-string-spacer-style-issue (#1845)
- Fix the issue causing horizontal layout spacer styling weird
2021-04-15 11:33:52 +08:00
xiejiahe
f3bf10cffa
fix(Checkbox): activeStyle boxShadow error (#1829) 2021-04-14 15:49:00 +08:00
kooriookami
cb29649c7f
fix(table): fix variable spelling (#1837) 2021-04-14 11:47:37 +08:00
jeremywu
cc988f9ac1
fix(table): fix table column rerendered whenever table updates
- Fix table column rerendered whenever table updates
2021-04-14 11:21:04 +08:00
kooriookami
634448d756
feat(result): new componet Result (#1818)
* feat(result): new componet Result

re #1137

* feat: fix docs

* feat: perf slot

* feat: use svg icon

* feat: update variable name

* feat: update style
2021-04-14 10:18:29 +08:00
0song
041d36242d
fix: time picker change event bug (#1828) 2021-04-14 10:16:36 +08:00
xiejiahe
62cffd67a4
style: using 'Array.prototype.forEach()' (#1826) 2021-04-13 17:52:51 +08:00
xiejiahe
d2ce2604c8
style(date-picker): date-picker-com conditional judgment (#1823) 2021-04-13 15:03:40 +08:00
siam
834147c1cc
fix(date-picker): date-picker daterange panel clear value and view not update (#1816)
Co-authored-by: liao-zhi-peng <liaozhipeng@weis-inc.com>
2021-04-13 12:14:38 +08:00
xubo leng
3359d7b193
fix(image-viewer): fix image src attribute error #1791 (#1819)
Co-authored-by: Xubo Leng <xubo.leng@thoughtworks.com>
2021-04-13 10:40:03 +08:00
xiejiahe
ee7e9c0a00
fix(talbe): null check error (#1807) 2021-04-13 10:31:38 +08:00
张宇
6582b7cdbc
fix(avatar): fix src attributes default value (#1770) 2021-04-11 21:06:38 +08:00
Sleepy Five
4ef5439e77
fix(alert.scss carousel.scss switch.scss): v-enter(vue2) to v-enter(vue3) (#1803)
Co-authored-by: 709299853@qq.com <709299853@qq.com>
2021-04-11 21:01:57 +08:00
justwiner
44fbd9f39f
fix(table): fix: fix bug of table crash under complex data (#1805)
fix #1733

Co-authored-by: winerlu <winerlu@tencent.com>
2021-04-11 21:01:01 +08:00
inottn
77ab8ae0d8
fix(select): fix select with filterable has wrong dropdown options (#1811) 2021-04-11 20:58:58 +08:00
Mike Saprykin
fbf34667a6
fix(time-picker): added popperRef in picker to Fix issue #1809 (#1812)
Added usage of popperRef arg in clickoutside directive in picker to fix issue #1809

fix ##1809
2021-04-11 20:58:25 +08:00
justwiner
270a4f96ad
fix(table): fix: page resize event not monitor (#1790)
Monitor the page size change event, update the table layout

fix #1691

Co-authored-by: winerlu <winerlu@tencent.com>
2021-04-11 20:58:13 +08:00
0song
996c405b7f
fix: fix utils (#1792) 2021-04-09 13:45:21 +08:00
kooriookami
a17088d5eb
fix(slider): fix input event and style (#1786)
* fix(slider): fix input event and style

fix #1781

* fix: update

* fix: fix indent
2021-04-09 10:40:50 +08:00
jeremywu
06731d8e70
fix(project): fix/1778-import-on-demand-not-working (#1788)
* fix(project): fix/1778-import-on-demand-not-working

- Fix the issue that when building utils the functions are inlined

* - remove unnecessary variable
2021-04-09 10:00:21 +08:00
jeremywu
76f6a65a42
fix(input): fix/1754-input-prefix-icon-incorrect-height (#1766)
- Fix the incorrect style rule for input prefix icon
2021-04-07 10:46:24 +08:00
inottn
a35b7b5d1f
fix(select): fix filter method is not called when input first letter (#1711)
* fix(select): fix filter method is not called when input first letter

* chore(select): remove empty line

* test(select): add test case
2021-04-06 16:21:40 +08:00
0song
c81d8a30e8
fix: lint (#1760) 2021-04-06 15:56:01 +08:00
BeADre
1c4928890b
fix(picker): add focus (#1475) 2021-04-06 13:28:57 +08:00
HakurouKen
848265cb9c
fix(time-select): input value not changed with v-model bindings (#1725)
* fix(time-select): input value not changed with v-model bindings

fix#1724

* test(time-select): add v-model test cases

* test(time-select): add test case of value updates
2021-04-06 11:47:31 +08:00
Summer
5c897bbbb8
tooltip:fix tooltip component tabindex prop (#1621)
* tooltip:fix tabindex

* tooltip:fix tabindex
2021-04-06 11:41:53 +08:00
KeiSei
5b4e6df405
fix(select): fix type of modelValue incompatible (#1719)
Co-authored-by: 贾希琦 <xiqi.jia@imart360.local>
2021-04-06 11:41:44 +08:00
inottn
7380b8131c
fix(utils): fix isIE logic (#1757) 2021-04-06 11:27:30 +08:00
神楽坂みずき
fe3807b4f7
refactor(card): remove needless div tag (#1732)
fix #1717
2021-04-01 09:27:38 +08:00
inottn
a02737a78a
fix(input): add keydown event listener for textarea (#1723) 2021-03-31 16:24:42 +08:00
inottn
c3d1d14bdd
fix(time-picker): update oldValue when visible change (#1635)
* fix(time-picker): update oldValue when visible change

* chore(time-picker): extract common logic
2021-03-31 16:14:45 +08:00
jeremywu
55a702ca22
fix(drawer): fix drawer close button outline issue when focusing(#1727)
- Fix drawer close button outline issue when focusing.
2021-03-31 16:14:12 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version (#1702)
* build(project): project/bumping-vue-version

- Bumping vue to 3.0.9

* remove unnecessary dependency

* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
kooriookami
4365ffb760
fix(notification): fix style of break word (#1701) 2021-03-28 10:34:45 +08:00
jeremywu
8f256b18f7
feat(tag): add new feature check-tag (#1696)
* feat(tag): add new feature check-tag

- Add new component `check-tag`

* feat(tag): - add check tag vetur support
2021-03-27 19:54:43 +08:00
Summer
3ac7c2c75f
fix (menu) component animation bug (#1690)
* fix: menu component animation bug

* fix: menu component animation bug
2021-03-27 19:19:10 +08:00
justwiner
ed3062d97d
fix(table): the current row render flashing when expanding line toggle (#1654)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-27 19:12:10 +08:00
Ryan2128
25868c2446
fix(message-box): fix incompatible migration (#1671)
* fix(message-box): fix incompatible migration

* docs(message-box): add docs of buttonSize
2021-03-27 19:11:38 +08:00
Ryan2128
99451a1ef6
fix(select): fix error position of input and tags (#1682) 2021-03-27 19:08:33 +08:00
Ryan2128
f916bf0cf6
fix(upload): fix transition error trigger when fileList is static (#1686) 2021-03-27 19:07:50 +08:00
xiejiahe
e7bff99ece
fix(notification): css word break (#1699) 2021-03-27 18:11:15 +08:00
Summer
e6594ea926
Fix (popover) tabindex prop (#1642)
* fix(popover): fix panel disappear when hover on panel

* popover: fix tabindex prop

* popover: fix popover directive

* add test case for popover

* tabindex prop does not specify a default value & update elpopover component docs

Co-authored-by: Ryan <ryanzhao2128@gmail.com>
2021-03-26 16:01:29 +08:00
justwiner
f8d5bd9270
fix(table): fix #1653 (#1665)
Fix table can not correctly calculate bug of cell width after sorting or filtering

fix #1653

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-26 15:13:02 +08:00
inottn
d345e65296
fix(image): avoid onload to be overwritten (#1689) 2021-03-26 14:00:19 +08:00
inottn
178c39171a
fix(select): should reset placeholder after clear (#1679) 2021-03-24 22:54:35 +08:00
Ryan2128
2a5059b5c5
fix: fix tooltip's export (#1678) 2021-03-22 20:52:31 +08:00
justwiner
6822cafda8
fix(table): fix bug caused by dynamic rendering (#1640)
fix #1626

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-22 09:22:35 +08:00
justwiner
8ea4c16e34
fix(table): fix bug in render column structure (#1664)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-22 09:14:21 +08:00
inottn
e45da7bddb
fix(form-item): return resetField & clearValidate methods (#1663) 2021-03-19 09:23:14 +08:00
Ernest
3faec50c22
fix(select): modelValue should be deep reactive in multiple mode (#1624) 2021-03-16 21:41:08 +08:00
jeremywu
184af0b56f
fix(hooks): fix use-lock-screen hook (#1651)
- Fix when unmounting `use-lock-screen` could cleanup the side effects
2021-03-16 21:40:45 +08:00
kooriookami
2299dcf399
fix(slider): fix model-value error when Slider rendered (#1645)
fix #1644
2021-03-15 21:22:07 +08:00
Ryan2128
4c3eb20b0b
fix(select): fix option-group error when groupQueryChange event trigger (#1639) 2021-03-15 20:13:31 +08:00
jeremywu
ea9aa0df24
build(project): fix-build-error (#1638)
- Fix type caused build error which stops the type generator producing type files
2021-03-15 11:22:34 +08:00
kooriookami
362431e0db
fix(slider): fix warning of modelValue (#1622) 2021-03-12 17:25:46 +08:00
Ernest
96ab675903
feat(tree): auto expand parent on set current key and node (#1502) (#1508)
* fix(tree): auto expand parent on set current key and node (#1502)

* feat: expose expand-on-highlight-node prop

* Revert "feat: expose expand-on-highlight-node prop"

This reverts commit 9694825e0132522f1a4907d0c7bd91c4bd73b5aa.

* feat: add shouldAutoExpandParent parameter

* test: add tests

* docs: add parameter

* fix: it should only expand parent

* docs: update

* fix: it should only expand parent
2021-03-11 20:51:27 +08:00
inottn
4d6b26ae7a
fix(avatar): watch invalid when src is missing from props (#1615)
* fix(avatar): watch invalid when src is missing from props

* test(avatar): add test case
2021-03-11 20:47:11 +08:00
神楽坂みずき
7b83c1569e
fix(select): tag can't close if the option is disabled (#1605)
* fix(select): tag can't close if the option is disabled

re #1594, #1595

* fix(select): same change on collapse tag

* test: add test for tag of disabled option is not closable

* fix: fix when select is clearable

* test: add test
2021-03-11 20:32:36 +08:00
justwiner
8b84f834dd
fix(table): fix the bug that cannot watch data (#1612)
fix #1606

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-11 20:32:01 +08:00
Vgbire
8e653df457
style(dropdown-item): when disabled its mouse style should be disabled (#1603) 2021-03-10 21:13:33 +08:00
Ernest
598b798555
fix(cascader-panel): no loaded nodes should not be checked (#1583)
* fix(cascader): no loaded nodes should not be checked

* fix(cascader): no loaded nodes should not be checked

* fix(cascader): it should be indeterminate if some child are not loaded
2021-03-10 20:30:28 +08:00
Summer
1655c2aa11
fix: pagination.scss (#1598)
* fix: pagination.scss

* add variable for pagination.scss
2021-03-10 20:30:04 +08:00
Ernest
872327a7d5
fix(cascader): prevent log error for before filter (#1582) 2021-03-09 22:20:15 +08:00
qiang
272b8c76c8
fix: some components miss install type (#1547)
* fix: some components miss install type

* fix: some components miss install type
2021-03-09 21:24:22 +08:00
Ryan2128
a382e3f657
fix(pagination): fix current-page event error emit (#1575) 2021-03-09 20:45:08 +08:00
Ryan2128
543b2b08a0
fix(select): fix option migrate error (#1574)
* fix(select): fix option migrate error

* docs(select): update the accepted type of model-value
2021-03-09 20:25:21 +08:00
Ryan2128
92cb1c4169
fix(popover): fix panel disappear when hover on panel (#1573) 2021-03-09 20:24:41 +08:00
justwiner
08266d6d1d
fix(table): fix #1572 (#1592)
fix #1572

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-09 20:23:58 +08:00
justwiner
11b7b6c1c6
fix(table): fix #1591 (#1593)
fix #1591

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-09 20:22:07 +08:00
justwiner
27c74347a2
style(table): delete invalid code (#1596)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-09 20:20:25 +08:00
Ryan2128
7eeba5c8f4
fix(radio): fix type order (#1554) 2021-03-08 14:08:30 +08:00
inottn
b9baa70680
fix(time-picker): replace test it.only with it in test (#1586) 2021-03-08 14:07:38 +08:00
云游君
9424a09e0a
refactor(popper): simplify mapEvents logic & add IEvents (#1541) 2021-03-05 22:45:24 +08:00
Summer
c66b7d4d22
fix(pagination): fix pagination component layout prop bug (#1576)
fix(pagination): fix pagination component layout prop bug

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-03-05 22:42:13 +08:00
Ernest
2f60cb82d4
fix(select): disabled group not works (#1559)
* fix(select): disabled group not works

* test: add group disabled test
2021-03-04 20:57:43 +08:00
Vgbire
187253efa5
fix(dropdown): fix dropdown will expand when unexpected (#1569) 2021-03-04 19:43:00 +08:00
justwiner
6d9eedd628
fix(table): fix table column resize not work (#1567)
fix #1548

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-04 19:24:09 +08:00
Ernest
66d522b310
fix(cascader-panel): value can be falsy value #1531 (#1533) 2021-03-03 11:59:46 +08:00
Ryan2128
466874969c
fix(style): fix scss error (#1542) 2021-03-03 11:56:24 +08:00
Ryan2128
c550bcfd27
fix(popper): fix popper error cause by vue version update (#1556)
* chore: update vue version

* fix(infinite-scroll): fix test case error

* fix(popper): fix popper error cause by vue version update
2021-03-03 11:43:31 +08:00
神楽坂みずき
f9c9385a9e
fix(col): fix col will always be hidden when responsive span is zero (#1532)
fix #1509
2021-03-02 01:09:08 +08:00
JayTam
06e3a7176d
fix(empty): fix empty svg render not normal in multiple tab-pane (#1485) (#1534) 2021-03-01 22:17:35 +08:00
Summer
8c7edbefe0
fix(layout): fix gutter bug (#1537)
* layout: fix gutter bug

* layout: fix gutter value

* fix: refacotor

* fix: refactor

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-03-01 21:10:18 +08:00
Ryan
298fd7fc89 perf(select): improve the performance when option mount and unmount 2021-03-01 10:59:29 +08:00
siam
966b76e9d2
perf(select): select options watch flush post (#1513)
* perf(select): select options watch flush post

fix #1512

* test(select): cover sync set value and options test

Co-authored-by: liao-zhi-peng <liaozhipeng@weis-inc.com>
2021-02-27 16:03:06 +08:00
Liu Shuiyuan
4574058263
fix(select): fix noMatchText error show (#1523)
* fix(select): Search and lose focus,then "No matching data" #1495

* fix(select): fix noMatchText error show

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-02-26 23:47:34 +08:00
pumelo
8cdfe1c831
fix(avatar): need reset hasLoadError to false, if src changed (#1515) 2021-02-26 21:34:43 +08:00
云游君
f2870e1984
fix(input): remove invalid attrs after render (#1489)
* fix(input): tabindex type number

* fix(input): remove invalid attrs after rende

* refactor: change tabindex's type to String

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-02-26 21:02:56 +08:00
Ernest
3bbcec8a10
fix(select): emit blur event (#1504) (#1506) 2021-02-26 20:58:05 +08:00
BeADre
e2d1b36dc9
fix(table): fix the bug of invalid tooltipEffect prop (#1470) 2021-02-26 20:35:29 +08:00
justwiner
41b27b143a
fix(table): fix column default rendering errors (#1433)
When rendering columns by default, default parameters should not be provided. Default parameters
cannot be passed in as props of other components, which will cause other components to report errors

fix #1232

Co-authored-by: winerlu <winerlu@tencent.com>
2021-02-26 20:18:37 +08:00
kooriookami
73b6d5492e
perf(scrollbar): update bar when window resize (#1456) 2021-02-24 19:42:15 +08:00
Ryan2128
2f981ab85a
fix(autocomplete): fix migration error (#1493) 2021-02-24 19:40:12 +08:00
Ryan2128
adf4a93ac4
fix(message-box): fix miss overlay style when on demand import (#1494) 2021-02-24 19:39:17 +08:00
云游君
c55e80a67d
chore: simplify position type (#1479) 2021-02-18 14:56:49 +08:00
kooriookami
67ea05eb2c
feat(carousel): add pause-on-hover prop (#1423)
* feat(carousel): add pause-on-hover prop

* feat: add jest
2021-02-08 16:23:48 +08:00
djkloop
c37f47faca
fix(switch): cannot change width dynamically (#1435)
Cannot change the width dynamically, the subset does not change the width operation

Co-authored-by: djkloop <675467298@qq.com>
2021-02-08 16:19:36 +08:00
iamkun
7170bdeacc
fix: fix date picker second clear not trigger change event (#1438)
fix #1359
2021-02-08 16:06:40 +08:00
jeremywu
82482a2076
fix: Fix popconfirm incorrectly importing t method from local file (#1450) 2021-02-08 16:04:08 +08:00
iamkun
1d1b74c886
fix: fix date range picker input issue (#1439)
* fix: fix date range picker input issue

fix #1428

* chore: update
2021-02-08 15:28:05 +08:00
kooriookami
3313cec581
fix(slider): fix behavior of tooltip (#1443)
* fix(slider): fix behavior of tooltip

* test: add test
2021-02-08 15:15:27 +08:00
kooriookami
d7341b0fec
feat(dropdown): add max-height prop of menu (#1436)
* feat(dropdown): add max-height prop of menu

* feat: delete demo
2021-02-08 15:14:01 +08:00
Ryan2128
1bca12d6ae
fix(select): fix bug cause by scrollToOption (#1440) 2021-02-07 19:11:03 +08:00
kooriookami
fcf86b9730
feat(progress): add default slot (#1426)
* feat(progress): add default slot

* feat: add slot param

* feat: update

* feat: perf slot
2021-02-05 16:27:44 +08:00
jeremywu
6cba9795d6
fix(input): Fix the issue which caused input area render error on Safari (#1429) 2021-02-05 16:10:36 +08:00
justwiner
789581edf3
fix(table): fix shadow rendering bug of initializing fixed columns (#1418)
fix #1353

Co-authored-by: winerlu <winerlu@tencent.com>
2021-02-05 14:46:31 +08:00
1148177968
396a89104a
fix(popper): trigger ref (#1419) 2021-02-05 14:39:09 +08:00
on the field of hope
bf09e894c5
fix: correct css prefix (#1407) 2021-02-04 16:29:23 +08:00
on the field of hope
ae17b9be04
fix(tabs): remove tab incorrect highlight style (#1416) 2021-02-02 17:48:47 +08:00
Ryan2128
47bdfe617d
fix(message-box): fix type check error of message (#1413) 2021-02-02 10:12:29 +08:00
justwiner
358559e2cf
fix(table): fix that the column width is calculated incorrectly (#1381)
Fix the bug that the column width is calculated incorrectly when dragging the header

fix #1355

Co-authored-by: winerlu <winerlu@tencent.com>
2021-02-01 21:42:20 +08:00
Ryan2128
815618d7d3
fix(dropdown): fix popper position error (#1411) 2021-02-01 20:26:05 +08:00
xyorz
f7ed9ca68c
fix(upload): fix upload list remove animation incorrect (#1379)
fix upload list remove animation incorrect

fix #1376
2021-02-01 14:35:48 +08:00
Ryan2128
c11e572af1
fix(select): fix not scroll to default option (#1397) 2021-01-31 18:48:12 +08:00
Ryan2128
13574d9e1a
fix(select): fix tag's text is empty string when multiple with remote (#1393) 2021-01-31 18:47:52 +08:00
Ryan2128
2abf8c45d6
fix(tree): fix error cause by child node's data is not reactive (#1396) 2021-01-31 18:47:35 +08:00
jeremywu
d2ec0b9abb
refactor: Refactor message component with VCA (#1387) 2021-01-31 18:43:33 +08:00
Ryan2128
e94483a1d2
refactor(button): modify height to min-height (#1402) 2021-01-31 17:13:16 +08:00
wantMorePayMore
aef2d8cc9e
fix(tree): fix every node @check-change event fire only once (#1390)
* fix(tree): fix every node @check-change event fire only once

fix every node @check-change event fire only once (修复每个node节点@check-change事件仅触发一次问题)

* fix(tree): fix node trigger check-change only once

Co-authored-by: 田梦圆 <tianmengyuan@tianmengyuan-2.local>
Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-01-30 22:11:53 +08:00
kooriookami
df5d2ac97a
fix(select): fix height of select (#1383) 2021-01-28 22:12:03 +08:00
kooriookami
540a02bea5
feat(other): add addUnit util (#1382) 2021-01-28 22:10:45 +08:00
on the field of hope
0238950fab
fix(notification): remove dom when destoryed (#1378) 2021-01-28 19:19:28 +08:00
fabin5
f8177ab68c
fix(message): fix message component trigger many times bug #1269 (#1270)
* fix(message): fix message component trigger many times bug #1269

* fix(message): fix message component trigger many times bug #1269

* fix(message): delete wait method
2021-01-28 10:46:26 +08:00
Ryan2128
6681bd4a1f
fix(color-picker): fix compilation errors caused by switch (#1375) 2021-01-28 10:20:26 +08:00
justwiner
c3e54a3496
fix(table): fix column insertion disorder (#1329)
fix #1285

Co-authored-by: winerlu <winerlu@tencent.com>
2021-01-28 00:24:50 +08:00
kooriookami
a841a9727a
fix(popover): fix z-index won't update when popover is shown (#1364)
* fix(popover): fix z-index won't update when popover is shown

* fix: update

* fix: remove onmounted

* fix: update
2021-01-27 23:19:10 +08:00
Ryan2128
91b8e5d47b
improvement(dialog): make dialog's width can accept number type (#1373) 2021-01-27 23:18:22 +08:00
Ryan2128
e91197699b
fix(pagination): fix Jumper's style error (#1372) 2021-01-27 22:47:08 +08:00
jeremywu
a16201e5ba
fix(col): fix/col-style-gets-affected-by-invalid-value (#1370)
* fix(col): fix/col-style-gets-affected-by-invalid-value

- Fix the 0 value that impacts the layout rule. Fix #1366

* remove !important syntax

* fix lint issue
2021-01-27 20:10:59 +08:00
BeADre
6dd25da619
fix(table): remove tooltip when the component destroyed (#1245) 2021-01-27 15:25:55 +08:00
kooriookami
903c05a848
perf(scrollbar): when scrollbar isn't shown, hide the bar (#1342)
* perf(scrollbar): when scrollbar isn't shown, hide the bar

* fix: fix right click bar will return top

* perf: store and restore onselectstart

* perf: update
2021-01-26 22:01:49 +08:00
jeremywu
08421fab23
fix(message-box): Remove default button text for both cancel and confirm button which caused i18n not working (#1357) 2021-01-26 14:55:53 +08:00
jeremywu
650df81ece
fix/popper-api-consistency (#1354) 2021-01-26 11:50:29 +08:00
Ryan2128
dc43e7e44e
fix: fix dropdown/select/picker popper position error when has line-height (#1349)
* fix(dropdown): fix dropdown popper position error when has line-height

* fix(date-picker): fix picker popper position error when has line-height

- xxx-picker

* fix(select): fix select popper position error when has line-height

* refactor(button): adjust height to meet standards
2021-01-25 22:49:07 +08:00
zazzaz
fbf5267de6
fix: fix full bundle export (#1350)
* fix: fix full bundle export

* chore: update
2021-01-25 22:42:25 +08:00
BeADre
ed1871fe28
fix(date-picker): modify the judgment logic of startDate and endDate (#1322) 2021-01-25 19:44:00 +08:00
zazzaz
b1db142ad5
fix: fix i18n bundle error (#1346)
* fix: fix i18n bundle error

* chore: update

* chore: update
2021-01-25 16:23:15 +08:00
zhowiny
a856c463bb
feat(dropdown): add type 'contextmenu' trigger for dropdown (#1286)
* feat(dropdown): add type 'contextmenu' trigger for dropdown #961

* docs(dropdown): update dropdown trigger doc

Co-authored-by: wenyu.zhou <wenyu.zhou@huolala.cn>
2021-01-25 11:21:31 +08:00
zazzaz
6b0f716782
fix: Fix Drawer error size prop to support Number (#1335) 2021-01-25 11:00:48 +08:00
kooriookami
d58f480aa3
fix(affix): change target.value to props.target in judgement (#1343) 2021-01-24 19:29:05 +08:00
BeADre
59422d7fab
fix(carousel): fix carousel don't update the indicator and items when data change(#1244)
* fix(carousel): add methods of remove item

* fix: if delete item is current item then go next

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-01-24 18:19:04 +08:00
justwiner
80de9fc5e1
fix(table): fix fixed table height error when no data(#1332)
fix #1325

Co-authored-by: winerlu <winerlu@tencent.com>
2021-01-24 16:44:26 +08:00
justwiner
50525d5e5a
fix(table): fix header checkbox can be triggered when disabled(#1333)
When the checkbox of the header is disabled, the select all cannot be triggered

fix #1307

Co-authored-by: winerlu <winerlu@tencent.com>
2021-01-24 16:30:57 +08:00
justwiner
ac068f6539
fix(table): repair table column width calculation abnormal (#1334)
fix #1330

Co-authored-by: winerlu <winerlu@tencent.com>
2021-01-24 16:23:51 +08:00
charlie0228
8993f0db27
fix(image): fix incorrect custom object-fit ratio (#1338) 2021-01-24 15:00:25 +08:00
yinfoyuan
9bcf2673e7
Badge: fix deconstructing props invalidates the data response bug (#1337) 2021-01-23 23:12:28 +08:00
kooriookami
df6918f51c
fix(color-picker): fix color-picker can't select 8-digit hex color (#1323) 2021-01-21 10:30:40 +08:00
justwiner
9a4beb0105
fix(table): when the data changes, the table does not update the layout (#1315) 2021-01-20 15:29:51 +08:00
justwiner
b85758912a
fix(table): fix bug of table-column property watching (#1309) 2021-01-20 15:28:34 +08:00
Ryan2128
45dbdf6e26
fix(loading): fix loading transition invalid (#1321) 2021-01-20 15:26:14 +08:00
jeremywu
5e031237e3
feat(project): Update with functionality to compat with vue-i18n (#1306) 2021-01-19 23:49:07 +08:00
Ryan2128
17d4bc6fee
fix(checkbox): fix checkbox migrate error (#1293) 2021-01-18 20:42:31 +08:00
Vgbire
d3ec150953
style(notification): fix style when its type set and title not set (#1288)
* style(notification): fix style when its type set and title not set

* refactor(checkbox): remove margin when no title

* refactor(checkbox): add margin

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-01-18 20:38:34 +08:00
Ryan2128
63d1b1bc2e
fix(tree): fix tree node not render in lazy (#1298)
Because `this` pointer is points to origin object in constructor.
2021-01-18 19:52:18 +08:00
kooriookami
09041347bf
fix(slider): fix slider can't drag in mobile (#1299) 2021-01-18 14:07:48 +08:00
winerlu
10f93cf70d fix(table): fix column insertion disorder BUG
fix #1285
2021-01-16 07:25:25 -06:00
Ryan2128
0898a3270b
fix(table): fix checkbox in table header style error (#1292) 2021-01-16 13:36:46 +08:00
Ryan2128
a95765983f
fix(table): fix table migrate error (#1294) 2021-01-16 13:29:12 +08:00
zazzaz
05f62fa75f
fix: Fix Datepicker bind attr to panel error (#1277)
* fix: Fix Datepicker bind attr to panel error

* fix: Fix Datepicker bind attr to panel error
2021-01-15 18:08:09 +08:00
Ryan2128
b5be4443e3
fix(loading): fix loading transition invalid and directive loading not show in the second time when service loading show between them (#1281)
* fix(loading): fix loading transition invalid

* fix(loading): fix directive loading not show in the second time

Fix directive loading not show in the second time when a service loading show between them
2021-01-15 13:56:59 +08:00
jeremywu
931a679516
fix(dialog): Fix the change against el-overlay caused the behavior of dialog changes. (#1282)
* fix(dialog): fix/dialog-overflowing

- Fix the change against `el-overlay` caused the behavior of dialog changes.

* fix(overlay): - Fix compatibility issue on chrome

* enhance overlay class type
2021-01-15 12:13:06 +08:00