UNPKG

@rxap/material-table-system

Version:

This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c

27 lines (26 loc) 950 B
import { Method } from '@rxap/pattern'; export declare const RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA = "rxap-table-header-button-method-metadata"; export interface TableHeaderButtonMethodOptions { /** * If true, the table will be refreshed after the action is executed. */ refresh?: boolean; /** * If true, the user will be asked to confirm the action before execution. */ confirm?: boolean; /** * The tooltip of the action button. */ tooltip?: string; /** * The error message that will be displayed if the action fails. */ errorMessage?: string; /** * The success message that will be displayed if the action succeeds. */ successMessage?: string; } export declare function TableHeaderButtonMethod(options?: TableHeaderButtonMethodOptions): ClassDecorator; export declare function GetTableHeaderButtonMetadata(method: Method): TableHeaderButtonMethodOptions;