@progress/kendo-angular-treeview
Version:
Kendo UI TreeView for Angular
39 lines (38 loc) • 1.8 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { DataBoundComponent } from "./data-bound-component";
import { TreeItemFilterState } from "./drag-and-drop/models/tree-item-filter-state";
import { TreeViewFilterSettings } from "./treeview-filter-settings";
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare abstract class FilteringBase {
protected component: DataBoundComponent;
/**
* Stores the unfiltered nodes
*/
protected filterData: TreeItemFilterState[];
protected visibleNodes: Set<any>;
/**
* The settings which are applied when performing a filter on the component's data.
*/
set filterSettings(settings: TreeViewFilterSettings);
get filterSettings(): TreeViewFilterSettings;
private _filterSettings;
/**
* Applies a filter and changes the visibility of the component's nodes accordingly.
*/
set filter(term: string);
constructor(component: DataBoundComponent);
/**
* @hidden
*/
handleFilterChange(term: string): void;
protected updateVisibleNodes(items: TreeItemFilterState[]): void;
protected resetNodesVisibility(items: TreeItemFilterState[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FilteringBase, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<FilteringBase, never, never, { "filterSettings": { "alias": "filterSettings"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
}