@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.18 kB
TypeScript
import { AfterContentInit, OnDestroy, ViewContainerRef } from '@angular/core';
import { ExpandCellContentDirectiveContext, ExpandRowContentDirective } from './expand-row-content.directive';
import { TemplatePortal } from '@angular/cdk/portal';
import { ExpandRowService } from '../expand-row.service';
import * as i0 from "@angular/core";
export declare class ExpandRowContainerComponent<Data extends Record<string, any>> implements AfterContentInit, OnDestroy {
private readonly viewContainerRef;
readonly expandCell: ExpandRowService<Data>;
element: Data;
expandCellContent?: ExpandRowContentDirective<Data>;
portal: TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null;
private _subscription?;
constructor(viewContainerRef: ViewContainerRef, expandCell: ExpandRowService<Data>);
ngOnDestroy(): void;
ngAfterContentInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowContainerComponent<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, { "element": { "alias": "element"; "required": true; }; }, {}, ["expandCellContent"], ["*"], true, never>;
}