@controladad/ng-base
Version:
Everything you need for Angular
22 lines (21 loc) • 1.09 kB
TypeScript
import { 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 { TableRow } from '../../table.component';
import * as i0 from "@angular/core";
export declare const TABLE_COL_ACTION_PROP = "___action";
export declare class CacTableColActionComponent extends CacTableColBase {
prop: string;
actionColCells?: QueryList<ElementRef<HTMLDivElement>>;
actions: TableAction<any>[];
onAction: EventEmitter<{
action: TableAction<any>;
row: TableRow<any>;
trigger: MatMenuTrigger;
clickEvent: ButtonClickEvent;
}>;
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>;
}