UNPKG

@rxap/material-table-system

Version:

This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c

19 lines (18 loc) 1.02 kB
import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { SelectRowService } from './select-row.service'; import * as i0 from "@angular/core"; export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> { $implicit: Data[]; } export declare class SelectedRowsDirective<Data extends Record<string, any>> implements OnInit, OnDestroy { private readonly template; private readonly viewContainerRef; private readonly cdr; private readonly selectRowService; private _subscription?; constructor(template: TemplateRef<SelectedRowsDirectiveContext<Data>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, selectRowService: SelectRowService<Data>); ngOnDestroy(): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>; }