Commit Graph

142 Commits

Author SHA1 Message Date
dopamine
ed5acbcb6f merge(squash) dev into evalution 2024-10-29 19:27:56 +08:00
dopamine
33c37d48fa chore: format with prettier 2024-09-28 12:31:15 +08:00
dopamine
cd517d6743 chore(components): [select-v2] remove ts-nocheck comments in select-v2 (#16746)
* chore: remove ts-nocheck comments in select-v2

* take the review comments

* improve emits type

* the keys of emits use camelCase instead of kebab-case

* apply suggestions from code review

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

* reduce duplicate ESLint comments

* use more succinct syntax to define props

* revert emits to kebab-case

* fix: type checking failed

* chore: illustrate why return early in validateIcon

* fix: signature with duplicate parameter names

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-09-23 13:45:35 +08:00
btea
c4f7e27bdd fix(components): [select-v2] label display error when re-rendering (#18128)
* fix(components): [select-v2] label display error when re-rendering

* fix: update
2024-09-10 15:53:11 +08:00
qiang
c24309aea0 fix(components): [select] call the exposes blur is invalid (#17691)
* fix(components): [select] call the exposes blur is invalid

closed #17367

* chore: remove the unnecessary code
2024-09-02 16:37:03 +08:00
btea
d7e5f193cd fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
dopamine
8618a6bcd0 refactor: import shared utilities from @element-plus/utils (#18048)
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
Haceral
9234661993 style(components): [select] add a unique class name for the clear icon (#17575)
Co-authored-by: Haceral <18274416193@163.com>
2024-08-22 09:35:44 +08:00
qiang
2f69776b30 fix(components): [select] binding click event is invalid (#17876)
* fix(components): [select] binding click event is invalid

closed #17863

* chore: typo
2024-08-14 10:50:23 +08:00
qiang
949479699b refactor(hooks): determine the focus by event listening (#17719)
* refactor(hooks): determine the focus by event listening

* test: skip the focus test

* test: fix test

* feat(hooks): add beforeFocus

* fix: optimize blur

* chore(components): [mention] remove focus & blur
2024-08-07 18:35:30 +08:00
dopamine
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
wzc520pyfm
d94aa4cdb5 fix(components): [abort popper] fix effect type error (#17758)
closed #17751
2024-08-03 10:37:21 +08:00
wzc520pyfm
a9b91d1f0f fix(components): [select-v2] corrent focus to input when select clicked (#17362)
* fix(components): [select-v2] fix remote init

remote-search scenarios shoule be not initialized

* Revert "fix(components): [select-v2] fix remote init"

This reverts commit d8326888e3df96dee482b9c8098738bc698215af.

* fix(components): [select-v2] no trigger init-states when filter/remote

* test(components): [select-v2] add test for no init when remote search

* fix(components): [select-v2] add back the necessary condition

* fix(components): [select-v2] correct input focus

input shoule be fouce when click el-select

* fix(components): [select-v2] focus first and then completed taggle-menu
2024-07-30 10:49:46 +08:00
qiang
233d38b631 refactor(hooks): rewrite composition as a composable function (#14240)
* refactor(hooks): rewrite composition as a composable function

* fix(components): [select] avoid navigateOptions when composing Chinese

* fix: error

* chore: change afterComposition
2024-07-28 21:11:20 +08:00
久染 | JiuRan
122b2fda82 fix: popper content type check (#17040)
* fix: popper content type check

* fix: code lint

* fix: effect type

* fix: all popper effect type

* fix: replace all EffectType

---------

Co-authored-by: Tong Siyuan <jiuran@jiurandeMacBook-Pro.local>
2024-07-22 17:33:02 +08:00
ntnyq
4a30d886a8 feat(components): [select & select-v2] add tag-effect prop (#17445) 2024-07-07 12:40:09 +08:00
guetHe
db0fec864a fix(components): [select-v2] with teleported="false" dropdown closes abnormally (#16714)
fix(components): with teleported="false" dropdown closes bug

Move toggleMenu click event to the right place wrapperRef
Only wrapperRef can control tooltip content visble or not

closed #16653
2024-06-20 08:01:05 +08:00
kooriookami
f57b10c2ba style(components): [select & select-v2] remove split dash (#17009)
* style(components): [select & select-v2] remove split dash

* feat(components): update
2024-05-28 16:35:46 +08:00
kooriookami
1148ccd2d6 feat(components): [select & select-v2] add label slot (#16960) 2024-05-28 14:50:22 +08:00
久染 | JiuRan
4c3c81e3d6 test(component): select remove-tag event triggered by keydown.delelte (#16840)
* fix: select deletePrevTag emit remove tag event

* fix: test case

* fix: select-v2 handleDel

* test: select-v2 test case

* fix: test case index

* chore: remove emit event

---------

Co-authored-by: btea <2356281422@qq.com>
2024-05-21 16:58:32 +08:00
Liao-js
1f4ca71c7e fix(components): [select & select-v2] remove-tag when use backspace (#16832) 2024-05-21 16:51:00 +08:00
sea / 神秘海
e35f403515 fix(types): non-null assertion component name (#16804) 2024-05-15 09:24:42 +08:00
Liao-js
ac2662dd56 fix(components): [select-v2] custom options init error in multiple (#16664)
* fix(components): [select-v2] custom options init error in multiple

* test(components): [select-v2] custom options init in multiple
2024-04-26 15:07:13 +08:00
dopamine
d83033020a chore: remove redundant code (#16597)
* chore: remove redundant code

* remove the unused variable
2024-04-23 17:42:16 +08:00
kooriookami
bd1613d599 feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
Liao-js
c962eea712 fix(components): [select-v2] fix has existing option when allow create (#16590) 2024-04-20 15:06:57 +08:00
赵添
ff9771bca8 fix(components): [select & select-v2] fix filterable double click error (#16456)
* fix(components): [select & select-v2] fix filterable double click error

* fix: test error
2024-04-12 13:49:40 +08:00
kooriookami
1163d27f71 feat(components): add empty-values and value-on-clear props (#16361)
* feat(components): add empty values

* feat(hooks): update

* feat(components): update

* feat(components): update

* feat: update

* feat(components): update

* feat(components): update

* feat(components): update

* feat: update doc

* feat: add doc
2024-04-12 13:33:21 +08:00
赵添
18fa408391 fix(components): [select-v2] manually set object type modelValue error (#16473)
* fix(components): [select-v2] manually set object type modelValue error

* fix: update
2024-04-12 09:23:07 +08:00
kooriookami
4165e12c17 fix(components): [select & select-v2] click toggleMenu add prevent (#16149)
fix(components): [select-v2] click prevent
2024-03-18 09:49:42 +08:00
kooriookami
047180899f feat(components): [select & select-v2] support empty string dynamically (#15995)
* feat(components): [select & select-v2] support empty string dynamically

closed #15994

* feat(components): update

* feat(components): update test

* feat(components): update

* feat(components): update
2024-03-01 13:53:06 +08:00
kooriookami
3f4bee5a90 fix(components): [select-v2] set modalValue when filtering display error (#15981)
fix(components): [select-v2] set modalValue when filtering

closed #15973
2024-02-29 11:31:26 +08:00
kooriookami
5cf6f775c6 perf(components): [select & select-v2] optimize performance (#15962)
closed #15932
2024-02-28 12:41:56 +08:00
kooriookami
2b68f465d1 fix(components): [select-v2] show header and footer slots when empty (#15964) 2024-02-28 12:36:50 +08:00
kooriookami
c6d5bce185 fix(components): [select-v2] Tags not update when options sync added (#15838) 2024-02-09 22:02:14 +08:00
赵添
f33979d228 feat(components): [select] & [select-v2] add fallbackPlacements prop (#15765) 2024-02-05 17:16:18 +08:00
nigi
1f6537af4c fix(components): [select] Remote search does not show menu when it has options and no query (#15683)
* fix(components): [select] Remote search does not show menu

* fix(components): fix remote search menu issue without a query
2024-01-26 10:19:35 +08:00
wzc520pyfm
0d3ece03c8 fix(components): [select & select-v2] select can't delete input val (#15607)
closed #15604
2024-01-22 13:04:03 +08:00
kooriookami
feb169fe93 feat(components): [select & select-v2] Add loading slot (#15540)
* feat(components): [select & select-v2] Add loading slot

* feat(components): update
2024-01-18 12:23:41 +08:00
kooriookami
f8f9620bdb fix(components): [select] Fix input key event (#15544)
closed #15536
2024-01-17 10:30:15 +08:00
wzc520pyfm
9e7709b58f test(components): [select-v2] backspace should not delete disabled tag (#15552) 2024-01-16 22:29:26 +08:00
btea
758d375b7e fix(components): [select-v2] the select option style is incorrect (#15501)
* fix(components): [select-v2] the select option style is incorrect

* fix: check option

* chore: update
2024-01-16 16:26:05 +08:00
kooriookami
405a4aa393 feat(components): [select-v2] Add header and footer slots (#15519)
* feat(components): [select-v2] Add header and footer slots

* feat: update
2024-01-16 16:09:51 +08:00
赵添
a01b05d39c fix(components): [select] style break change in multiple collapseTags (#15460)
* fix(components): [select] style break change in multiple collapseTags

* fix(components): [select-v2] style break change in multiple collapseTags

* fix(components): [select & select-v2] popover updated
2024-01-15 15:43:17 +08:00
kooriookami
1afb276ddd fix(components): [select select-v2] fix input click event (#15462)
* fix(components): [select] fix input click event

* fix(components): update
2024-01-12 16:04:53 +08:00
xiaoming
479c25b5fa perf(components): [select & selectV2] hide collapse-tags-tooltip when dropdown (#15478)
perf(components): [select & selectV2] hide tags-tooltip when dropdown
2024-01-12 15:57:41 +08:00
wzc520pyfm
6b886e42a1 docs(components): [select-v2] use new display tag (#15329) 2024-01-12 11:30:25 +08:00
kooriookami
e7c1b53da3 fix(components): [select] Fix value bind object and trigger twice in form label (#15449)
* fix(components): [select] Fix value bind object

* fix(components): update

* fix(components): update
2024-01-11 14:45:23 +08:00
kooriookami
5844947198 refactor(components): [select & select-v2] Refactor components (#15352)
* refactor(components): [select&select-v2] refactor components

* refactor(components): [select-v2]

* refactor(components): update

* refactor(components): update

* refactor(components): [select-v2]

update

* refactor(components): update

* refactor(components): update

* refactor(components): update type

* refactor(components): update

* refactor(components): update

* refactor(components): update style

* refactor(components): update docs

* refactor(components): update

* refactor(components): fix #15323

* refactor(theme-chalk): update

* refactor(components): update

* refactor(components): update

* refactor(components): update

* refactor(components): fix bugs

* fix(components): fix issue

* fix(components): update

* fix(components): fix some bug

* feat(components): update

* feat(components): add tag slot

* feat(components): update

* fix(components): update

* style(theme-chalk): update style

* fix(theme-chalk): update

* feat(theme-chalk): update

* fix(components): update

* feat: update

* feat: update

* feat: update

* feat(components): update
2024-01-10 11:14:58 +08:00
Jevin
77e7f41c17 fix(components): [select-v2] popup height is not accurate (#15012) (#15014)
Co-authored-by: “Jevin” <jevin@mogul-tech.com>
2023-11-30 07:58:56 +00:00