UNPKG

ngx-gem-spaas

Version:

This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.

34 lines (33 loc) 1.33 kB
import { EventEmitter, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare class TableSelectionFreeDirective implements OnDestroy { freeSelectionMatrix: number[][]; freeSelectionLockAxis: '' | 'x' | 'y'; selectionChanged: EventEmitter<{ row: number; column: number; }>; isSelecting: boolean; private selectionId; fromCol: number; fromRow: number; toCol: number; toRow: number; private onDestroy; mouseDown(e: MouseEvent): void; mouseMove(e: MouseEvent): void; mouseUp(): void; mouseLeave(): void; sort(): void; ngOnDestroy(): void; private checkMouseData; private onClickCell; private onSelecting; private onStopSelect; private emitNewSelection; private setTo; private resetSelectionRange; private updateSelectionRange; static ɵfac: i0.ɵɵFactoryDeclaration<TableSelectionFreeDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TableSelectionFreeDirective, "[spaasTableSelectionFree]", ["spaasTableSelectionFree"], { "freeSelectionMatrix": { "alias": "freeSelectionMatrix"; "required": false; }; "freeSelectionLockAxis": { "alias": "freeSelectionLockAxis"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>; }