/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TreeItem } from './treeitem.interface'; /** * Represents a node-tree lookup structure that stores information about the current node, its parent, and its children * ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes#modifying-the-checked-state)). */ export interface ItemLookup { /** * The current `TreeItem` instance. */ item: TreeItem; /** * The children of the current node. */ children?: TreeItem[]; /** * The parent of the current node. */ parent?: ItemLookup; } /** * Represents a node-tree lookup structure that stores information about the current node, its parent, and its children. * Used in the [`checkedChange`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/treeviewcomponent#checkedchange) event of the TreeView ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes#modifying-the-checked-state)). */ export interface TreeItemLookup { /** * The current `TreeItem` instance. */ item: TreeItem; /** * The lookup details for the parent of the current TreeView node. */ parent?: ItemLookup; /** * The lookup details for the children of the current TreeView node. */ children?: TreeItemLookup[]; }