UNPKG

@progress/kendo-angular-treeview

Version:
67 lines (66 loc) 2.68 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { LocalizationService } from '@progress/kendo-angular-l10n'; import { Subject } from 'rxjs'; import { NavigationItem } from './navigation-item.interface'; import { NavigationModel } from './navigation-model'; import { NavigationState } from './navigation-state.interface'; import { SelectionMode } from '../selection/selection-mode'; import * as i0 from "@angular/core"; /** * @hidden */ export declare class NavigationService { private localization; readonly expands: Subject<NavigationState>; readonly moves: Subject<NavigationState>; readonly checks: Subject<string>; readonly selects: Subject<string>; readonly deselectAllButCurrentItem: Subject<any>; readonly loadMore: Subject<string>; navigable: boolean; selection: SelectionMode; isTreeViewActive: boolean; get model(): NavigationModel; set model(model: NavigationModel); actions: { [x: string]: Function; }; private activeItem; private isFocused; private shouldScroll; private _model; private get activeIndex(); private get isActiveExpanded(); private get isLoadMoreButton(); get focusableItem(): NavigationItem; constructor(localization: LocalizationService); activate(item: NavigationItem, shouldScroll?: boolean): void; activateParent(index: string): void; activateIndex(index: string): void; activateClosest(index: string): void; activateFocusable(): void; deactivate(): void; checkIndex(index: string): void; selectIndex(index: string): void; notifyLoadMore(index: string): void; isActive(index: string): boolean; isFocusable(index: string): boolean; isDisabled(index: string): boolean; registerItem(id: number, index: string, disabled: boolean, loadMoreButton?: boolean, visible?: boolean): void; updateItem(index: string, disabled: boolean, visible?: boolean): void; unregisterItem(id: number, index: string): void; move(e: any): void; private expand; private moveToParent; private moveToFirstVisibleChild; private notifyExpand; private notifyMove; private navigationState; private handleEnter; private handleSpace; static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>; }