Commit Graph

57 Commits

Author SHA1 Message Date
sea
d47d68b1e8 docs: improve slots type (#22855)
* docs: improve slots type

* docs: update

Co-authored-by: Zhong <cszhjh@gmail.com>

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-11-19 22:19:46 +08:00
rzzf
85ac706325 feat(components): [cascader] expose focus and blur methods (#22737) 2025-11-10 12:57:57 +08:00
btea
046815e33d feat(components): [cascader] lazyLoad support reject (#22283)
* feat(components): [cascader] `lazyLoad` support reject

* feat: update

* fix: update

* feat: remove unnecessary change

* test: add new test

* fix: update

* feat: update

* docs: update

* docs: update
2025-09-29 12:27:16 +02:00
Rainbow
f467998a9e docs(components): [cascader] improve the description of popper (#22267) 2025-09-21 10:02:43 +08:00
Noblet Ouways
68a6b13f57 fix(components): [cascader] allow object type in modelValue (#21880)
fix(components): [cascader] allow object type as modelValue

closed #21868
2025-08-24 20:10:03 +02:00
Noblet Ouways
6ad90520d6 docs: remove object from cascader modelValue (#21869)
closed #21868
2025-08-23 07:37:57 +08:00
Noblet Ouways
7644c1fe4a feat(components): [cascader/select/date-picker] add popper-style (#21807)
* feat(components): add popper style

* test: enforce ci passing

* chore: handle select-v2 & apply review

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

* chore: bump for select component

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 10:46:06 +02:00
Coder Goo
bf0568cacf feat(components): add custom clear icon (#21699)
* feat(components): add custom clear icon function

added `clear-icon` property to Cascader, Input, and InputTag components to customize the clear icon.

* Update docs/en-US/component/cascader.md

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

* Update docs/en-US/component/cascader.md

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

* feat(components): add custom clear icon use case

* docs(components): reduce cascader clear-icon use case options

* Update packages/components/input-tag/src/input-tag.vue

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

* Update packages/components/input/src/input.vue

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-15 18:47:30 +02:00
Zhong
72a26a48f0 docs: fix typo & prettier & unify attribute name format (#21600) 2025-08-03 16:47:48 +08:00
sea
100ae5cbb8 docs: add quick jump to props attribute (#21572) 2025-08-01 14:22:22 +08:00
Noblet Ouways
907b7b2766 feat(components): [cascader] add check-on-click-leaf attribute (#21508)
* feat(components): [cascader] add `check-on-click-leaf` attribute

* chore: chore
2025-08-01 10:31:17 +08:00
Zhong
ffbb9e49ad feat(components): [cascader] add effect prop (#21507)
* feat(components): [cascader] add effect prop

* fix(components): [cascader] use light as the default value
2025-07-27 20:54:33 +08:00
zepeng
d688af16b0 feat(components): [cascader] add show-checked-strategy prop (#16922)
* feat(components): [cascader] add showCheckedStrategy prop

* fix(components): [cascader] fix props

* feat(components): [cascader] add `show-checked-strategy`  documentation

* Update docs/en-US/component/cascader.md

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

* fix(components): [cascader] replace inline props with variables

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-24 21:27:38 +02:00
Zhong
283fa72bc9 feat(components): [cascader] add header and footer slot (#21486)
* feat(components): [cascader] add header and footer slot

* docs(components): [cascader] simplify the code

* docs(components): [cascader] merge header and footer example

* docs(components): [cascader] add clear case
2025-07-24 12:03:41 +00:00
snowbitx
7ec0f3a442 feat(components): [cascader] add checkOnClickNode and prefix prop (#21089)
* feat(components): [cascader] Hide radio in single mode

* feat(components): [cascader] Renamed prop to \`selectOnClick\`

* feat(components): [cascader] Update doc

* feat(components): [cascader] Adjust how data is fetched

* feat(components): [cascader] update type

* Update packages/components/cascader-panel/src/node-content.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* feat(components): [cascader] Merge and fix v-model bug

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] merge

* feat(components): [cascader] Add a check

* feat(components): [cascader] Add test case

* feat(components): [cascader] Fix type error

* feat(components): [cascader] Add checkOnClickNode, showRadio props

* feat(components): [cascader] Update doc

* Update packages/components/cascader/src/cascader.ts

Done, thanks!

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

* fix: showRadio defaults checkOnClickNode

* test: showRadio fallback behavior

* refactor: rename prop and support checkOnClickNode for multiple mode

* doc:update

* Update packages/components/cascader-panel/src/config.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* docs: tweak props

* docs: update doc

* chore: update doc & fix toggle check

* Update docs/en-US/component/cascader.md

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

* Update docs/en-US/component/cascader.md

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

* Update docs/en-US/component/cascader.md

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

* Update cascader-panel.test.tsx

---------

Co-authored-by: WANGXIAOYU1995 <109521682+WANGXIAOYU1995@users.noreply.github.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-22 17:23:20 +08:00
Noblet Ouways
4f8cca0f6c feat(components): [select/select-v2/cascader] expose more tag options (#21157)
* feat(components): [select/select-v2] bind `data` for tag slot

* chore: remove console.log

* feat: expose `deleteTag` aswell

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-29 13:17:20 +00:00
jiaxiang
29f5783d81 refactor(components): [cascader-panel] remove @ts-nocheck and optimize code (#20014)
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code

* chore: chore

* revert: revert

* chore: add menu type

* chore: remove tsnocheck

* revert: revert

* revert: revert

* refactor: use setup syntax

* fix: type

* chore: add line

* chore: chore

* chore: add update:modelValue Events

* chore: format

* chore: revert

* chore: chore

* fix: error

* chore: remove any and code loss

* fix: code loss

* fix: code loss

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-23 17:09:40 +08:00
WANGXIAOYU1995
4f56d01f04 feat(components): [cascader] add tag slot (#20994)
* feat(components): [cascader] add showFirstOnly to show top-level label

* feat(components): [cascader] add unit test cases

* Revert "feat(components): [cascader] add unit test cases"

This reverts commit 8cbb9d44ee.

* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"

This reverts commit 5ca520dff8.

* feat(components): [cascader]  Added a new slot `tag`

* Revert "feat(components): [cascader]  Added a new slot `tag`"

This reverts commit 99062da169.

* feat(components): [cascader]  Added a new slot `tag`

* feat(components): [cascader] Optimize slot and update doc

* Update packages/components/cascader/src/cascader.vue

Good catch, committed.

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* Update docs/en-US/component/form.md

Sure, I’ve committed the suggestion. Thanks again!

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* feat(components): [cascader] Add test case

* feat(components): [cascader] update to expose tree node info

* feat(components): [cascader] update 'presentTags' and docs

* feat(components): [cascader] optimize code

* feat(components): [cascader] update doc

* feat(components): [cascader] update function name

* Update packages/components/cascader/src/cascader.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* Update packages/components/cascader/src/cascader.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* chore: minor tweaks

* feat(components): [cascader] Update test case

* docs: update Cascader Slots

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-18 15:51:59 +00:00
Robert Zeng
0d466303c0 feat(components): [cascader]add a props to control tooltip maxHeight (#20933)
* feat(components): [cascader]add a props  to control tooltip maxHeight

* fix(components): [cascader] fix max-height setting of scrollbar

* docs(components): [cascader]add props maxCollapseTagsTooltipHeight docs

* feat(components): [cascader]add unit test

* feat(components): [cascader]remove extra logic of max tooltip height

* fix(components): [cascader]remove props defalut value

* docs(components): [cascader]add version for the new props

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

* docs(components): [cascader]fix lint

* test(components): [cascader]optimize max height props test case

* test(components): [cascader]optimize component import

* Update packages/components/cascader/src/cascader.vue

* fix: lint

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-12 21:39:39 +08:00
btea
15b98154c1 Revert "docs: optimization API style (#19793)" (#20039)
This reverts commit fe9cc6351b.
2025-03-07 09:29:45 +08:00
Noblet Ouways
392db28b27 chore: format docs (#19965)
chore: format
2025-02-24 20:26:18 +08:00
DiamondYuan
7700838ed3 feat(components): [cascader] add suggestion slot (#19866)
* feat(components): [cascader] add suggestion-item slot

* docs:  add version to suggestion item slot demo

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

* Update docs/en-US/component/cascader.md

---------

Co-authored-by: btea <2356281422@qq.com>
2025-02-18 11:37:18 +08:00
jiaxiang
fe9cc6351b docs: optimization API style (#19793)
* docs: optimization API style

* chore: Transfer

* chore: update

* fix: update
2025-02-09 13:35:08 +08:00
David Kitano
40a616ea1a feat(components): [cascader] add prefix slot (#19631)
* feat(components): [cascader] add prefix slot

* docs(components): [cascader] add preview slot

* Revert "docs(components): [cascader] add preview slot"

This reverts commit 1a40ca13ea.

* docs(components): [cascader] revert for typo

* fix(components): do not render prefix if prefix slot is not used

* docs(components): [cascader] prefix version number added

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

* docs(components): [cascader] format docs

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-18 09:23:33 +08:00
dopamine
da3e68791b docs: move deprecated APIs to the end of the table (#18547) 2024-10-15 08:10:59 +08:00
0song
7a1a6a304b feat(components): [cascader] update cascader component to expost presentText (#18338)
* fix: update cascader component to expost presentText

* chore: update

* chore: update
2024-09-24 14:09:24 +08:00
btea
ca677519b9 feat(components): [cascader-panel] add empty slot (#16274)
* feat(components): [cascader] add `empty-panel` slot

* chore: update version tag

* chore: update

* feat: rename empty-panel to empty

* chore: format

* test: add test case

* test: update

* Update docs/en-US/component/cascader.md
2024-09-13 09:34:40 +08:00
qiang
c0f06a4fc4 docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
btea
e608456ad2 feat(components): [cascader] support placement & fallback-placements (#17840) 2024-08-12 09:10:58 +08:00
ntnyq
8f9d512129 feat(components): [cascader] add tag-effect prop (#17443)
* feat(components): [cascader] add `tag-effect` prop

* docs: sync version tag

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-07-20 08:55:15 +08:00
0song
38a4b0ac8c feat(components): [cascader] add persistent props to cascader to improve performace (#17526)
* feat: add persistent props to cascader to improve performace

* chore: update doc
2024-07-15 21:21:21 +08:00
sea
17fc769abd feat(components): improve event and supplement docs (#17150)
* feat: improve event and supplement documentation

* feat: improve event and supplement documentation

* style: lint back old

* docs: autocomplate select event content back old

* docs: cascader clear event add version

* fix: delete redundant code

* feat: back old code

* feat: back old code

* feat: back old code

* chore: update version
2024-06-26 11:07:29 +08:00
btea
2c0db96109 docs: format docs (#16364) 2024-06-13 07:34:47 +09: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
Dewdew
f379af8aab feat(style): add og-image & apply lint (#15588)
* feat(style): add og-image & apply lint

* update Review
2024-02-04 07:56:02 +00:00
wzc520pyfm
7d0c0985f6 docs(components): [cascader] doc description use setup (#15557) 2024-01-17 17:00:25 +08:00
btea
50860b7c66 docs: [cascader] add version tag (#14082) 2023-08-24 21:33:20 +08:00
chenweiyi
013809f829 feat(components): [cascader] add max-collpase-tags prop (#13386)
* feat(components): add max-collapse-tags prop

show more than one tag in cascade when multiple enable and use collapse-tags true

* test(test-utils): add unit test for cascader prop 'max-collapse-tags'

* Update packages/components/cascader/src/cascader.vue

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

* Update cascader.vue

* refactor(components): [cascader] style lint

---------

Co-authored-by: chenweiyi01 <chenweiyi01@zuoyebang.com>
Co-authored-by: btea <2356281422@qq.com>
2023-08-24 17:34:24 +08:00
Kaine
3e7d3ea7d8 docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
Xc
7059ed1fc7 fix(components): [cascader] clickoutside (#11997)
* fix(components): [cascader] clickoutside

* fix(components): [cascader] clickoutside

* fix(components): [cascader] clickoutside

* fix(components): [cascader] clickoutside
2023-03-14 00:19:05 +08:00
Xc
aba0d26537 docs(components): [cascader] (#11556)
* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]

* docs(components): [cascader]

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations
2023-02-17 13:59:52 +08:00
井柏然
19e5bb8425 feat(components): [cascader] add togglePopperVisible for expose (#11559)
* feat(components): [cascader] add togglePopperVisible for expose

* feat(components): [cascader] add togglePopperVisible for expose
2023-02-14 23:54:42 +08:00
acyza
73f0863a75 docs(components): [cascader] adjust some formats (#11281)
docs(components): [calendar] adjust some formats
2023-02-04 22:13:02 +08:00
LooSheng
91c79c955e docs(ssr): component ssr/ssg usage tips (#10982) 2022-12-15 19:59:34 +08:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
Xc
262bb786c8 docs(components): adjust the type of focus event (#9620) 2022-09-04 17:07:19 +08:00
Hefty
72d0bc2177 fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
류한경
2805cb8aae docs: fix typo (#8078)
* docs: fix typo

* fix: restore text
2022-06-04 06:48:44 +08:00
btea
d083be90c9 feat(components): [cascader] add tag-type attribute (#6726)
* feat(components): [cascader] add tag-type attribute

* chore: add comment
2022-03-21 12:42:03 +08:00
Alan Wang
103bb1b104 feat(components): [cascader]add collapse-tags-tooltip (#6331) 2022-03-11 15:58:00 +08:00