@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
102 lines (101 loc) • 5.46 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 { SimpleChange, NgZone, Renderer2, ElementRef, OnInit, OnDestroy, OnChanges, TrackByFunction } from '@angular/core';
import { ColumnBase } from '../columns/column-base';
import { ChangeNotificationService } from '../data/change-notification.service';
import { NoRecordsTemplateDirective } from './no-records-template.directive';
import { EditService } from '../editing/edit.service';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { RowClassFn } from './common/row-class';
import { DomEventsService } from '../common/dom-events.service';
import { ColumnInfoService } from "../common/column-info.service";
import { FilterableSettings } from '../filtering/filterable';
import { NavigationService } from '../navigation/navigation.service';
import { TreeListItem } from '../data/treelist-item.interface';
import { ExpandStateService } from '../expand-state/expand-state.service';
import { SelectionService } from '../selection/selection.service';
import { ColumnsContainer } from '../columns/columns-container';
import { SVGIcon } from '@progress/kendo-angular-icons';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges {
private changeNotification;
editService: EditService;
private localization;
private ngZone;
private renderer;
private element;
private domEvents;
private columnInfoService;
private navigationService;
private expandState;
private selection;
hostClass: boolean;
columns: Array<ColumnBase>;
allColumns: Array<ColumnBase>;
noRecordsTemplate: NoRecordsTemplateDirective;
view: any;
skip: number;
filterable: FilterableSettings;
noRecordsText: string;
isLocked: boolean;
lockedColumnsCount: number;
totalColumnsCount: number;
virtualColumns: boolean;
expandIcons: boolean;
trackBy: TrackByFunction<TreeListItem>;
totalColumns: ColumnsContainer;
noneIcon: SVGIcon;
private clickSubscription;
private l10nSubscription;
private cellKeydownSubscription;
private clickTimeout;
private headerOffset;
rowClass: RowClassFn;
constructor(changeNotification: ChangeNotificationService, editService: EditService, localization: LocalizationService, ngZone: NgZone, renderer: Renderer2, element: ElementRef, domEvents: DomEventsService, columnInfoService: ColumnInfoService, navigationService: NavigationService, expandState: ExpandStateService, selection: SelectionService);
get newDataItem(): any;
unlockedColumnsCount(item?: any): number;
get hasData(): boolean;
isOdd(item: any): boolean;
trackByWrapper(index: number, item: TreeListItem): any;
trackByColumns(index: number, item: any): any;
ngOnChanges(changes: {
[propertyName: string]: SimpleChange;
}): void;
addRowLogicalIndex(): number;
logicalColIndex(column: any): number;
cellExpandable(item: any, column: any): any;
ariaRowExpanded(item: any): boolean;
ariaRowSelected(item: any): boolean;
ariaExpanded(item: any, column: any): any;
ariaSelected(item: any, column: any, columnIndex: number): any;
ngOnInit(): void;
ngDoCheck(): void;
ngOnDestroy(): void;
isEditingCell(item: any, column: any): boolean;
isEditingRow(item: any): boolean;
get columnsContainer(): any;
get hasFooter(): boolean;
get columnsSpan(): number;
get allColumnsSpan(): number;
get colSpan(): number;
get footerColumns(): ColumnBase[];
logicalRowIndex(rowIndex: number): number;
isCellSelected(dataItem: any, column: any, columnIndex: number): boolean;
targetArgs(target: any, skipFocusable?: boolean): any;
private checkIfClickable;
private clickHandler;
private emitCellClick;
private cellKeydownHandler;
private cellClickArgs;
private targetElements;
private expandClick;
private checkboxClick;
private rowItem;
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "[kendoTreeListTableBody]", never, { "columns": { "alias": "columns"; "required": false; }; "allColumns": { "alias": "allColumns"; "required": false; }; "noRecordsTemplate": { "alias": "noRecordsTemplate"; "required": false; }; "view": { "alias": "view"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "noRecordsText": { "alias": "noRecordsText"; "required": false; }; "isLocked": { "alias": "isLocked"; "required": false; }; "lockedColumnsCount": { "alias": "lockedColumnsCount"; "required": false; }; "totalColumnsCount": { "alias": "totalColumnsCount"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "expandIcons": { "alias": "expandIcons"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; }, {}, never, never, true, never>;
}