ng-hub-ui-table
Version:
Highly customizable Angular table and list components with pagination, sorting and filtering support.
34 lines (33 loc) • 1.81 kB
TypeScript
import { TemplateRef } from '@angular/core';
import { TableRowEvent } from '../../interfaces';
import { PaginableTableDropdown } from '../../interfaces/paginable-table-dropdown';
import * as i0 from "@angular/core";
export declare class PaginableTableDropdownComponent<T = any> {
#private;
dropdownTpt: TemplateRef<any>;
private vcr;
private embeddedView;
private renderedElement;
readonly row: import("@angular/core").InputSignal<TableRowEvent<T> | undefined>;
get options(): PaginableTableDropdown;
set options(v: PaginableTableDropdown);
readonly appendTo: import("@angular/core").InputSignal<HTMLElement | "body" | null>;
readonly disabled: import("@angular/core").InputSignal<boolean>;
buttonClass: string | null;
shown: boolean;
/**
* Checks if the clicked element is outside the component's native element and if the component is currently shown, and if so,
* it closes the component.
*
* @param event - Represents the event that triggered the clickOut function. It contains information about the event, such as
* the target element that was clicked.
*/
clickOut(event: any): void;
toggle(): void;
/**
* Sets the "shown" property to false.
*/
close(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PaginableTableDropdownComponent<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PaginableTableDropdownComponent<any>, "hub-table-dropdown, paginable-table-dropdown", never, { "row": { "alias": "row"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}