rzzf
29ccccf416
fix(components): [tree-v2] checkbox selection wrong with disabled nodes ( #22627 )
...
* fix(components): [tree-v2] checkbox selection wrong with disabled nodes
* fix: update
* test: add case
* chore: update
* chore: add comment
* chore: rename var
* Update packages/components/tree-v2/src/composables/useCheck.ts
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2025-11-05 13:49:32 +01:00
Jevin
7b01021cf7
fix(components): [tree-v2] call collapseNode/expandNode expand/collapse icon status error ( #22205 )
...
* fix: call collapseNode/expandNode icon status error
* chore: add test
* chore: update
* chore: update
* chore: update
* chore: update
2025-10-21 14:42:08 +08:00
Rainbow
0808687d07
fix(components): [tree-v2] icon display is abnormal when expanding nodes ( #21506 )
...
* fix(components): [tree-v2] icon display is abnormal when expanding nodes
* fix: update
* fix: update
* test: add unit tests
* fix: update
* test: update test
* fix: avoid the icon issue when using filter-method
* test: update unit tests
* fix: reduce nested if statements
* fix: update
2025-08-26 07:29:58 +08:00
Noblet Ouways
5447972845
feat(components): [tree-v2] add scrollbar-always-on attribute ( #21293 )
2025-07-11 17:48:45 +08:00
scvzerng
f9fa5d3329
fix(components): [tree-v2] props defaultExpandedKeys not reactive ( #21173 )
2025-06-27 22:51:04 +08:00
Noblet Ouways
2f17df1209
style(eslint-config): newline before import type ( #21036 )
...
* perf: change to import-x
* feat: add rules
* chore: fix rule
* chore: fix
* chore: fix
* chore: fix
* style: `pnpm lint:fix`
* Revert "style: `pnpm lint:fix`"
This reverts commit db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Noblet Ouways
0ed86e74ce
feat(components): [tree/tree-select] add check-on-click-leaf attribute ( #19494 )
...
* chore: last leaf node clickable on `show-checkbox`
* chore: revert
* chore: leaf node checkable
* test: checkable by click on leaf node
* chore: test & doc
* chore: add version
* feat: handle tree-v2
* test: tree-v2
2025-02-26 21:24:58 +08:00
知晓同丶
9bf729fbeb
feat(components): [tree-v2] add slot empty ( #18980 )
...
* feat(components): [tree-v2] add slot `empty`
* prettier format
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
* fix: prettier format
* test: add test case
---------
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
2024-11-21 20:49:50 +08:00
jiaxiang
e0777ef567
feat(components): [tree-v2] add props.class prop ( #18911 )
...
* feat(components): [tree-v2] allow tree node to have customizable class
* docs: update docs
* docs: add demo
* docs: update
* fix: update
2024-11-16 23:44:06 +08:00
MoConWu
b2a17f0689
feat(components): [tree-v2] support node-drop event ( #16935 )
...
* Update tree.vue
* Update tree-node.vue
* Update tree.vue
* Update virtual-tree.ts
* Update useTree.ts
* Update virtual-tree.ts
* Update tree.test.ts
* Update useTree.ts
* Update tree-node.vue
* Update tree.vue
* Update virtual-tree.ts
* Update tree-v2.md
* Update tree-v2.md
* Update virtual-tree.ts
* Update tree-node.vue
* Update useTree.ts
* Update tree.vue
* Update virtual-tree.ts
* Update tree.test.ts
* 修改错误的提交 tree-v2.md
* Update useTree wrong.ts
* Update tree-node.vue
拖拽事件更新
* Update tree-v2.md, add version info
* Update tree-v2.md format
* Update tree-v2.md, version change to 2.8.3
2024-09-11 15:33:26 +08:00
Manshu Tusker
fcf2249cc9
fix(components): [tree-v2] expand all ancestor nodes of the specified node ( #18077 )
...
* fix(components): [tree-v2] Allow only all nodes to be expandable
closed #18073
* fix(components): [tree-v2] Allow all nodes to be expandable
closed #18073
* fix(components): [tree-v2] Allow all nodes to be expandable
closed #18073
* fix(components): [tree-v2] Allow all nodes to be expandable
closed #18073
* fix(components): [tree-v2] Allow all nodes to be expandable
closed #18073
---------
Co-authored-by: Tusker Manshu <dadaguai-git>
2024-09-03 07:16:27 +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
Kaine
333e1f9c42
feat(components): [tree-v2] add scrollTo method ( #14050 )
...
* feat(components): [tree-v2] add scrollTo method
* docs(components): [tree-v2] scrollTo method
* refactor(components): [tree-v2] rename strollToNode
1. expose scrollTo from listRef
2. rename scrollTo to scrollToNode
3. add test
4. change docs
* docs(components): [tree-v2] add version tag
2024-08-02 20:16:32 +08:00
zepeng
665cc59b19
fix(components): [tree-v2] modify the condition for when the value of currentKey is 0 ( #13935 )
...
* modify the condition for when the value of currentKey is 0
* add a test case
* add a test case
* add a test case
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2023-08-14 12:49:36 +08:00
btea
7914f10af7
feat(components): [tree-v2] add item-size attribute ( #11522 )
...
* feat(components): [tree-v2] add item-size attribute
* fix: modify internal variable name
* fix: extract itemSize prop
* test: add test case
* test: update test
2023-02-19 21:55:02 +08:00
init-qy
d8ee83dd4a
fix(components): [tree-v2] default icon render test ( #10342 )
...
Co-authored-by: zz <2418184580@qq.com >
Co-authored-by: init-qy <953218204@qq.com >
2022-11-01 12:03:19 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-04-19 12:46:57 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +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