@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
35 lines (34 loc) • 1.92 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { ClrTreetableActionOverflow } from './treetable-action-overflow';
import { Selection } from './providers';
import { SelectionType } from './enums/selection-type';
import * as i0 from "@angular/core";
export declare class ClrTreetableRow<T> implements OnInit {
readonly selection: Selection<any>;
private readonly _cdr;
private readonly _destroyRef;
private _selected;
shouldAnimate: import("@angular/core").WritableSignal<boolean>;
expanded: boolean;
clickable: boolean;
expandable: boolean;
clrTtItem: import("@angular/core").InputSignal<T>;
hasActionOverflow: EventEmitter<boolean>;
expandedChange: EventEmitter<boolean>;
selectedChanged: EventEmitter<boolean>;
showActionOverflow: boolean;
showEmptyActionOverflow: boolean;
showClickClass: boolean;
set actionOverflow(actionOverflow: ClrTreetableActionOverflow);
ngOnInit(): void;
onExpandCollapseClick(): void;
toggle(selected?: boolean): void;
private toggleExpand;
onRowClick(event: MouseEvent): void;
onCaretClick(): void;
get selected(): boolean | string;
set selected(value: boolean | string);
protected readonly SelectionType: typeof SelectionType;
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTreetableRow<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTreetableRow<any>, "clr-tt-row", never, { "expanded": { "alias": "clrExpanded"; "required": false; }; "clickable": { "alias": "clrClickable"; "required": false; }; "expandable": { "alias": "clrExpandable"; "required": false; }; "clrTtItem": { "alias": "clrTtItem"; "required": false; "isSignal": true; }; }, { "hasActionOverflow": "hasActionOverflow"; "expandedChange": "clrExpandedChange"; "selectedChanged": "clrTtSelectedChange"; }, ["actionOverflow"], ["clr-tt-action-overflow", "clr-tt-cell", "clr-tt-row"], false, never>;
}