import { TemplateRef } from '@angular/core'; import { FormArray, FormControl } from '@angular/forms'; import { ItemClickEvent } from '../../interfaces/item-click-event'; import { PaginableTableButton } from '../../interfaces/paginable-table-button'; import { PaginableTableDropdown } from '../../interfaces/paginable-table-dropdown'; import { PaginableTableOptions } from '../../interfaces/paginable-table-options'; import * as i0 from "@angular/core"; export declare class PaginableListComponent { #private; bindValue?: string; bindLabel: string; bindChildren: string; selectable: string | null; options: PaginableTableOptions; private _items; get items(): Array; set items(v: Array); clickFn: (event: ItemClickEvent) => void | Promise; form: FormArray; value: Array; itemTpt?: TemplateRef; noDataTpt?: TemplateRef; isDisabled: boolean; onChange: any; onTouch: any; searchFG: FormControl<{} | null>; /** * Collection of actions for items * * @type {PaginableTableRowAction[]} * @memberof PaginableTableComponent */ private _batchActions; get batchActions(): Array; set batchActions(v: Array); writeValue(value?: Array): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; /** * Handles the action to be executed in a batch * * @param {Event} event * @memberof PaginableTableComponent */ handleBatchAction(event: any): void; buildForm(form: FormArray, items: Array): void; buildValue(items: Array): Array; toggleCollapsed(control: FormControl): void; /** * Handles click events by extracting specific properties and passing them to a callback function. * * @param - The `onItemClick` function takes in the following parameters: collapsed, selected and item. * @param {number} depth - The `depth` parameter in the `onItemClick` function represents the depth level of the item being * clicked. It is a number that indicates how deep the item is nested within a hierarchical structure. * @param {number} index - The `index` parameter in the `onItemClick` function represents the position of the item that was clicked * within a list or array. It is a number that indicates the index of the clicked item. * * @returns If the `clickFn` property is not defined in the current context, the `onItemClick` function will return without * executing any further code. */ onItemClick({ collapsed, selected, ...item }: { [x: string]: any; collapsed: any; selected: any; }, depth: number, index: number): void; onPageClicked(page: number): void; filter(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "hub-ui-paginable-list, ng80-paginable-list", never, { "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindChildren": { "alias": "bindChildren"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "options": { "alias": "options"; "required": false; }; "items": { "alias": "items"; "required": false; }; "clickFn": { "alias": "clickFn"; "required": false; }; "batchActions": { "alias": "batchActions"; "required": false; }; }, {}, ["itemTpt", "noDataTpt"], never, true, never>; }