UNPKG

@controladad/ng-base

Version:
24 lines (23 loc) 1.16 kB
import { AfterViewInit, ElementRef, EventEmitter, QueryList } from '@angular/core'; import { CacTableColBase } from '../_table_col_base'; import { MatMenuTrigger } from '@angular/material/menu'; import { ButtonClickEvent } from '../../../../ui'; import { TableAction } from '../../table.interfaces'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare const TABLE_COL_ACTION_PROP = "___action"; export declare class CacTableColActionComponent extends CacTableColBase implements AfterViewInit { prop: string; actionColCells?: QueryList<ElementRef<HTMLDivElement>>; actions: TableAction<any>[]; onAction: EventEmitter<{ action: TableAction<any>; row: any; trigger: MatMenuTrigger; clickEvent: ButtonClickEvent; }>; onVisible$: Subject<boolean>; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CacTableColActionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CacTableColActionComponent, "cac-table-col-action", never, { "actions": { "alias": "actions"; "required": false; }; }, { "onAction": "onAction"; }, never, never, true, never>; }