From 1a9736c856ae79a34d9a879e127f7bf179b52eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 8 May 2023 10:13:02 +0300 Subject: [PATCH] Refactor #3922 - For TreeSelect .d.ts --- components/lib/treeselect/TreeSelect.d.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index 4e3e6e0fa..b55d0ce25 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -8,7 +8,7 @@ * */ import { InputHTMLAttributes, VNode } from 'vue'; -import { TreeNode, TreePassThroughOptionType } from '../tree'; +import { TreeExpandedKeys, TreeNode, TreePassThroughOptionType } from '../tree'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type TreeSelectPassThroughOptionType = TreeSelectPassThroughAttributes | ((options: TreeSelectPassThroughMethodOptions) => TreeSelectPassThroughAttributes) | null | undefined; @@ -93,10 +93,19 @@ export interface TreeSelectPassThroughAttributes { */ export interface TreeSelectState { /** - * Current collapsed state as a boolean. + * Current focused state as a boolean. * @defaultValue false */ - d_collapsed: boolean; + focused: boolean; + /** + * Current overlay visible state as a boolean. + * @defaultValue false + */ + overlayVisible: boolean; + /** + * Current expanded keys state. + */ + expandedKeys: TreeExpandedKeys; } /**