From 1b3b5365e6c59b0b30bfa7aa65f1c091c1733fd5 Mon Sep 17 00:00:00 2001 From: J-michalek Date: Sun, 20 Jul 2025 10:31:56 +0200 Subject: [PATCH] feat(tree): flat structure WIP --- src/runtime/components/Tree.vue | 73 +++++++++++++++------------------ src/theme/tree.ts | 3 +- 2 files changed, 33 insertions(+), 43 deletions(-) diff --git a/src/runtime/components/Tree.vue b/src/runtime/components/Tree.vue index 9677f59b90..97c1a31311 100644 --- a/src/runtime/components/Tree.vue +++ b/src/runtime/components/Tree.vue @@ -25,7 +25,7 @@ export type TreeItem = { onToggle?(e: Event): void onSelect?(e?: Event): void class?: any - ui?: Pick + ui?: Pick [key: string]: any } @@ -101,7 +101,7 @@ export type TreeSlots<