/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TreeViewComponent } from '../../treeview.component'; import { TreeItemLookup } from '../../treeitem-lookup.interface'; import { DropPosition } from './drop-position'; /** * Provides information for TreeView drag-and-drop [`addItem`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/treeviewcomponent#additem) * and [`removeItem`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/treeviewcomponent#removeitem) events. */ export interface TreeItemAddRemoveArgs { /** * Reference to the TreeView from which the dragged item originates. */ sourceTree: TreeViewComponent; /** * Reference to the TreeView onto which the dragged item is dropped. */ destinationTree: TreeViewComponent; /** * Lookup information for the dragged item. */ sourceItem: TreeItemLookup; /** * Lookup information for the item onto which the dragged item is dropped. */ destinationItem: TreeItemLookup; /** * Represents the drop position relative to the target item. */ dropPosition: DropPosition; }