@anglr/grid
Version:
Angular module displaying grid
65 lines • 2.83 kB
TypeScript
import { AfterContentInit, QueryList, WritableSignal, Signal } from '@angular/core';
import { GridComponent } from '../grid/grid.component';
import { Grid, MatrixGridMetadata, MetadataGatherer } from '../../interfaces';
import { ContentContainerTemplateDirective, ContentRowContainerTemplateDirective, FooterContainerTemplateDirective, FooterRowContainerTemplateDirective, GridContainerTemplateDirective, HeaderContainerTemplateDirective, HeaderRowContainerTemplateDirective, MatrixGridColumnDirective } from '../../directives';
import * as i0 from "@angular/core";
/**
* Grid component used for rendering grid, configured with special content renderer and metadata gatherer
*/
export declare class MatrixGridComponent extends GridComponent implements Grid, MetadataGatherer<MatrixGridMetadata>, AfterContentInit {
/**
* Signal for metadata value
*/
protected metadataValue: WritableSignal<MatrixGridMetadata>;
/**
* @inheritdoc
*/
protected get metadataGatherer(): MetadataGatherer | undefined | null;
/**
* @inheritdoc
*/
get metadata(): Signal<MatrixGridMetadata>;
/**
* Grid container template
*/
protected gridContainer: QueryList<GridContainerTemplateDirective> | undefined | null;
/**
* Header container template
*/
protected headerContainer: QueryList<HeaderContainerTemplateDirective> | undefined | null;
/**
* Content container template
*/
protected contentContainer: QueryList<ContentContainerTemplateDirective> | undefined | null;
/**
* Footer container template
*/
protected footerContainer: QueryList<FooterContainerTemplateDirective> | undefined | null;
/**
* Header container template
*/
protected headerRowContainer: QueryList<HeaderRowContainerTemplateDirective> | undefined | null;
/**
* Content container template
*/
protected contentRowContainer: QueryList<ContentRowContainerTemplateDirective> | undefined | null;
/**
* Footer container template
*/
protected footerRowContainer: QueryList<FooterRowContainerTemplateDirective> | undefined | null;
/**
* Obtains definition of columns
*/
protected columns: QueryList<MatrixGridColumnDirective> | undefined | null;
/**
* Called when content was initialized
*/
ngAfterContentInit(): void;
/**
* Sets metadata
*/
setMetadata(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixGridComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixGridComponent, "[ngGrid]", never, {}, {}, ["gridContainer", "headerContainer", "contentContainer", "footerContainer", "headerRowContainer", "contentRowContainer", "footerRowContainer", "columns"], never, true, never>;
}
//# sourceMappingURL=matrixGrid.component.d.ts.map