import * as i0 from '@angular/core'; import { ElementRef } from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import * as i1 from '@angular/cdk/table'; import { CdkTable, CdkCellDef, CdkHeaderCellDef, CdkFooterCellDef, CdkColumnDef, CdkHeaderCell, CdkFooterCell, CdkCell, CdkHeaderRowDef, CdkFooterRowDef, CdkRowDef, CdkHeaderRow, CdkFooterRow, CdkRow, CdkNoDataRow, CdkTextColumn } from '@angular/cdk/table'; /** * Table view * @selector x-table-view * @decorator component */ declare const XTableViewPrefix = "x-table-view"; /** * Table view Property */ declare class XTableViewProperty extends CdkTable { config: _ng_nest_ui_core.XTableViewConfig | undefined; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "x-table-view-property", never, {}, {}, never, never, true, never>; } interface XTableHeaderRowHandle { listenerSticky(): void; } interface XTableViewRowHandle { } interface XTableHeaderRowDefHandle { getSticky(): boolean; getColumns(): string[]; } interface XTableHeaderCellHandle { } interface XTableViewCellHandle { setActivedRow(cell: XTableViewCellHandle): void; setActivedColumn(cell: XTableViewCellHandle): void; } interface XTableViewContext { getHeaderRows(): readonly XTableHeaderRowHandle[]; getHeaderRowRefs(): readonly XTableHeaderRowDefHandle[]; getHeaderCells(): readonly XTableHeaderCellHandle[]; getCells(): readonly XTableViewCellHandle[]; getHeaderRowRef(): XTableHeaderRowDefHandle; getSentinelTop(): ElementRef; getRows(): readonly XTableViewRowHandle[]; } declare class XTableViewService { selectedCells: XTableViewCellHandle[]; activedRows: XTableViewRowHandle[]; selectedHeaderCell: XTableHeaderCellHandle | null; activedHeaderCells: XTableHeaderCellHandle[]; stickyHeaderRows: XTableHeaderRowHandle[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class XTableViewCellDef extends CdkCellDef { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableHeaderCellDef extends CdkHeaderCellDef { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableFooterCellDef extends CdkFooterCellDef { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableColumnDef extends CdkColumnDef { get name(): string; set name(name: string); protected _updateColumnCssClassName(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableHeaderCell extends CdkHeaderCell implements XTableHeaderCellHandle { tableViewService: XTableViewService; tableView: XTableViewContext | null; elementRef: ElementRef; get isActived(): boolean; onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableFooterCell extends CdkFooterCell { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableViewCell extends CdkCell implements XTableViewCellHandle { tableViewService: XTableViewService; tableView: XTableViewContext | null; elementRef: ElementRef; get isSelected(): boolean; onClick(): void; setActivedRow(cell: XTableViewCellHandle): void; setActivedColumn(cell: XTableViewCellHandle): void; private convertToColumnBasedArray; private getColumnIndex; private getRowIndex; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableHeaderRowDef extends CdkHeaderRowDef implements XTableHeaderRowDefHandle { getSticky(): boolean; getColumns(): string[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_sticky: unknown; } declare class XTableFooterRowDef extends CdkFooterRowDef { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_sticky: unknown; } declare class XTableViewRowDef extends CdkRowDef { static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[xTableRowDef]", never, { "columns": { "alias": "xTableRowDefColumns"; "required": false; }; "when": { "alias": "xTableRowDefWhen"; "required": false; }; }, {}, never, never, true, never>; } declare class XTableHeaderRow extends CdkHeaderRow implements XTableHeaderRowHandle { tableView: XTableViewContext | null; tableViewService: XTableViewService; sticking: i0.WritableSignal; get isSticking(): boolean; ngAfterViewInit(): void; listenerSticky(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class XTableFooterRow extends CdkFooterRow { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class XTableViewRow extends CdkRow implements XTableViewRowHandle { tableViewService: XTableViewService; get isActived(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class XTableNoDataRow extends CdkNoDataRow { _contentClassNames: string[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XTableView extends XTableViewProperty { elementRef: ElementRef; sentinelTop: i0.Signal | undefined>; headerRowRef: i0.Signal; headerRowRefs: i0.Signal; headerRows: i0.Signal; columnDefs: i0.Signal; headerCells: i0.Signal; cells: i0.Signal; rows: i0.Signal; /** Overrides the sticky CSS class set by the `CdkTable`. */ protected stickyCssClass: string; /** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */ protected needsPositionStickyOnElement: boolean; getHeaderRows(): readonly XTableHeaderRow[]; getHeaderRowRefs(): readonly XTableHeaderRowDef[]; getSentinelTop(): ElementRef | undefined; getHeaderCells(): readonly XTableHeaderCell[]; getCells(): readonly XTableViewCell[]; getRows(): readonly XTableViewRow[]; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "x-table-view, table[x-table-view]", ["xTableView"], {}, {}, ["headerRowRef", "headerRowRefs", "headerRows", "columnDefs", "headerCells", "cells", "rows"], ["caption", "colgroup, col", "*"], true, never>; } declare class XTableTextColumn extends CdkTextColumn { static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "x-table-text-column", never, {}, {}, never, never, true, never>; } declare class XTableViewModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { XTableColumnDef, XTableFooterCell, XTableFooterCellDef, XTableFooterRow, XTableFooterRowDef, XTableHeaderCell, XTableHeaderCellDef, XTableHeaderRow, XTableHeaderRowDef, XTableNoDataRow, XTableTextColumn, XTableView, XTableViewCell, XTableViewCellDef, XTableViewModule, XTableViewPrefix, XTableViewProperty, XTableViewRow, XTableViewRowDef }; export type { XTableHeaderCellHandle, XTableHeaderRowDefHandle, XTableHeaderRowHandle, XTableViewCellHandle, XTableViewRowHandle };