@rxap/table-system
Version:
This package provides a set of Angular directives, components, and services to enhance data tables with features like row expansion, full-text search, and row selection with checkboxes. It includes modules for easy integration of these features into exist
19 lines (18 loc) • 1.19 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": "rxap-expand-row"; "required": true; }; }, {}, ["expandCellContent"], ["*"], true, never>;
}