1 | import { EventEmitter } from '@angular/core';
|
2 | import { SelectionType } from '../../types/selection.type';
|
3 | import * as i0 from "@angular/core";
|
4 | export interface Model {
|
5 | type: string;
|
6 | event: MouseEvent | KeyboardEvent;
|
7 | row: any;
|
8 | rowElement: any;
|
9 | cellElement: any;
|
10 | cellIndex: number;
|
11 | }
|
12 | export declare class DataTableSelectionComponent {
|
13 | rows: any[];
|
14 | selected: any[];
|
15 | selectEnabled: boolean;
|
16 | selectionType: SelectionType;
|
17 | rowIdentity: any;
|
18 | selectCheck: any;
|
19 | activate: EventEmitter<any>;
|
20 | select: EventEmitter<any>;
|
21 | prevIndex: number;
|
22 | selectRow(event: KeyboardEvent | MouseEvent, index: number, row: any): void;
|
23 | onActivate(model: Model, index: number): void;
|
24 | onKeyboardFocus(model: Model): void;
|
25 | focusRow(rowElement: any, keyCode: number): void;
|
26 | getPrevNextRow(rowElement: any, keyCode: number): any;
|
27 | focusCell(cellElement: any, rowElement: any, keyCode: number, cellIndex: number): void;
|
28 | getRowSelected(row: any): boolean;
|
29 | getRowSelectedIdx(row: any, selected: any[]): number;
|
30 | static ɵfac: i0.ɵɵFactoryDeclaration<DataTableSelectionComponent, never>;
|
31 | static ɵcmp: i0.ɵɵComponentDeclaration<DataTableSelectionComponent, "datatable-selection", never, { "rows": "rows"; "selected": "selected"; "selectEnabled": "selectEnabled"; "selectionType": "selectionType"; "rowIdentity": "rowIdentity"; "selectCheck": "selectCheck"; }, { "activate": "activate"; "select": "select"; }, never, ["*"]>;
|
32 | }
|