UNPKG

systelab-components

Version:

systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.

18 lines (17 loc) 853 B
import { OnInit } from '@angular/core'; import { IDatasource, IGetRowsParams } from 'ag-grid-community'; import { Observable } from 'rxjs'; import { AbstractListBox } from './abstract-listbox.component'; import * as i0 from "@angular/core"; export declare abstract class AbstractApiListBox<T> extends AbstractListBox<T> implements IDatasource, OnInit { abstract getInstance(): T; protected constructor(); ngOnInit(): void; abstract getTotalItems(): number; protected abstract getData(page: number, itemsPerPage: number): Observable<Array<T>>; getRows(params: IGetRowsParams): void; private getElements; refresh(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AbstractApiListBox<any>, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractApiListBox<any>, never, never, {}, {}, never, never, false, never>; }