UNPKG

ngx-jenga-api

Version:

Angular wrapper for Equity's Jenga API. Still in progress

30 lines (29 loc) 1.42 kB
import { AfterViewInit, OnDestroy } from '@angular/core'; import { MatSort } from '@angular/material/sort'; import { MatPaginator } from '@angular/material/paginator'; import { MatTableDataSource } from '@angular/material/table'; import { ApiService } from '../../services/api.service'; import { AuthService } from '../../services/auth.service'; import { LoaderService } from '../../services/loader.service'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class MerchantsComponent implements AfterViewInit, OnDestroy { private api; loadingService: LoaderService; private authenticateEndpoint; merchantList: any; dataSource: MatTableDataSource<any>; destroyComponent: Subject<void>; tableShadow: boolean; showSearchBar: boolean; paginator: MatPaginator; sort: MatSort; constructor(api: ApiService, loadingService: LoaderService, authenticateEndpoint: AuthService); ngAfterViewInit(): void; ngOnDestroy(): void; getMerchants(per_page?: number): void; updatePageSize(event: any): void; applyFilter(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<MerchantsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MerchantsComponent, "jenga-all-merchants", never, { "tableShadow": "tableShadow"; "showSearchBar": "showSearchBar"; }, {}, never, never, false, never>; }