Commit Graph

70 Commits

Author SHA1 Message Date
btea
67d9d7c09b fix(components): [tree-select] empty slot display error (#16943)
* fix(components): [tree-select] empty slot display error

* fix: style
2024-05-25 12:29:43 +08:00
sea / 神秘海
e35f403515 fix(types): non-null assertion component name (#16804) 2024-05-15 09:24:42 +08:00
Alixhan
7f7dae2fa0 fix(components): [tree] dragging a node will deselect the node (#14830)
* fix(components): [tree] Dragging a node will deselect the node(#13912)

* fix(components): [tree] Dragging a node will deselect the node (#13912)

* fix(components): [tree] Dragging a node will deselect the node (#13912)

The Node class adds a method to set the checked state, which only affects the parent node state.

* refactor: optimized code

* fix(components): [tree] Dragging  a node will deselect the node (#13912)

checkStrictly is true no need reInitCheckek

* fix(components): [tree] Dragging a node will deselect the node (#13912)
2024-03-29 16:58:47 +08:00
btea
39a61350d3 feat(components): [tree] lazy load provide reject (#16099) 2024-03-23 10:55:23 +08:00
btea
fec8a5de05 fix(components): [tree] the value of append can be zero (#16130) 2024-03-18 07:34:27 +08:00
Sean
442a4627a1 fix(components): [tree] remove duplicate type declaration (#16106)
fix(components): [tree] remove duplicate type declaration

Co-authored-by: s554595966@qq.com <sujunyan5545@dingtalk.com>
2024-03-12 16:03:56 +08:00
btea
880417bbec test(components): [tree] setCheckedNodes with disabled node (#15753) 2024-02-02 15:06:43 +08:00
btea
345a374362 fix(components): [tree] setCheckedNodes incorrectly checked node (#15377)
* fix(components): [tree] setCheckedNodes incorrectly checked node

* fix: update

* fix: update
2024-01-16 16:26:30 +08:00
btea
ef4fbe3be2 feat(components): [tree] export TreeInstance (#15293) 2023-12-28 19:07:00 +08:00
btea
6416bb24a4 test(components): [tree] filter expand loaded node (#15175) 2023-12-17 12:49:06 +08:00
Zenyb
d408533ca8 fix(components): [tree] node drag error when using custom allowDrop method (#15005)
fix(components): [tree] fix issue #14704

- Reset dragState.value.dropNode to null when allowDrop is transfered from true to false.(For issue #14704)

Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com>
2023-12-16 19:48:52 +08:00
btea
834fb38c51 fix(components): [tree] filter expand loaded node (#15150) 2023-12-16 12:39:11 +08:00
一只前端汪
23201e2f4d fix(components): [tree] default slots not displayed (#14939)
* fix(components): [tree] default slots not displayed

* test: add customize some node contents
2023-11-27 16:33:35 +08:00
btea
c886ba44b1 test(components): [tree] custom label and children test case (#13902) 2023-08-08 19:38:22 +08:00
zepeng
b10eae152c fix(components): [tree] the issue with retrieving childrenKey (#13798)
* fix(components): [tree] the issue with retrieving childrenKey

* Update tree-node.vue

* Update tree-node.vue
2023-08-07 21:31:43 +08:00
init-qy
d46b3f3b2c fix(components): [tree] fix node can drop inner (#9770) 2023-06-27 22:26:11 +08:00
lyric-zemin
ea82d3f7c3 fix(components): [tree] Fix TreeOptionProps (#12511)
fix(components): fix TreeOptionProps

Co-authored-by: wu.zeMin <244@qq.com>
2023-05-13 13:12:25 +09:00
init-qy
9f693f01de fix(components): [tree] fix always trigger drag (#12612) 2023-05-01 10:29:09 +08:00
Lov`u`e
5cd6d61400 feat(components): [tree] support customize content when data is empty (#12459) 2023-04-17 14:06:34 +08:00
Jeremy
11925c8231 refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
热爱vue的小菜鸟
f19ae83e3c fix(components): [tree] setCheckedKeys keys attribute add type (#11390)
* fix(components): [tree] setCheckedKeys keys attribute add type

* fix(components): [tree] setCheckedKeys keys attribute add type
2023-02-16 21:29:11 +08:00
btea
ce467449e6 fix(components): [tree] update refNode type (#11421) 2023-02-06 22:56:38 +08:00
Xc
fd711d5c0f fix(components): [tree] revert inherits the label class (#10812)
* revert slot inherit style
* Adjust the size style attribute to tree
2022-11-29 11:54:42 +08:00
jarven
4726d44494 fix(components): [tree] tree node click parameter (#9872)
fix(components): [tree] tree node click parameter (#9869)
2022-09-23 14:04:38 +08:00
zhiyuanzmj
daefb75224 fix(components): [tree] setCurrentKey() type error (#9709) 2022-09-08 16:47:57 +08:00
zz
390f5bd8ee fix(components): [tree] repeat trigger change event on the same node (#9645) 2022-09-06 12:18:12 +08:00
Xc
adc468cb50 fix(components): [tree-node-content] slot inherit styles (#9613) 2022-09-03 22:56:55 +08:00
zhiyuanzmj
c063276da8 feat(components): el-tree.currentNodekey responsive. close #9576 (#9577) 2022-09-01 23:30:04 +08:00
jarven
8b96cb153a fix(components): [tree] fix setCurrentKey setCurrentNode emit (#8881)
* fix(components): [tree] fix setCurrentKey setCurrentNode emit (#8855)

* fix(components): [tree] fix setCurrentKey setCurrentNode emit
2022-09-01 10:22:18 +08:00
zz
1884b1d7c8 refactor(utils): refine iconPropType (#9515) 2022-08-29 03:23:35 +00:00
zz
3be8b536b8 fix(utils): fix iconPropType (#9506) 2022-08-28 19:13:58 +08:00
zz
f5fa7e741f refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
LIUCHAO
27e447b3ca refactor(components): [tree] fix typo (#9477) 2022-08-26 18:18:46 +08:00
LIUCHAO
6bd98685e6 fix(components): [tree] calc parentNode state after doCreateChildren (#9362)
closed #8410
2022-08-18 20:10:09 +08:00
Zhongxiang Wang
ea75ef2f81 feat(components): [tree-v2] expose several helpful methods (#9156)
* feat(components): [tree-v2] expose several helpful methods

* fix(components): [tree] use `isObject` helper
2022-08-02 15:14:44 +08:00
LIUCHAO
7bb6b6d99f refactor(utils): drop off/on/once, use EventListener instead (#8960)
* refactor(utils): drop off/on/once, use EventListener instead

* refactor(utils): use useEventListener

* refactor(utils): use useEventListener

* style(components): [roving-focus-group] useEventListener  pass ref
2022-07-26 23:01:07 +08:00
Xc
59154e639a fix(components): [tree] allow and node drop-type (#8681) 2022-07-12 00:54:50 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
opengraphica
652333e395 fix(components): [tree] remove form item context (#7956) 2022-05-30 09:15:45 +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
三咲智子
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
啝裳
857a94afa8 fix: el-tree isLeaf type is string (#5954)
* fix: el-tree isLeaf type is string

* fix: update
2022-02-11 18:18:24 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
bqy
d132e6e000 refactor(components): [tree] use useNamespace (#5754) 2022-02-11 03:57:10 +08:00
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
jeremywu
44dc9a1cf5 test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +08:00
Alan Wang
22d2df4267 fix(components): [el-tree] accordion attribute error at third level (#3862) 2022-01-22 10:38:30 +08:00