import { Injector } from '@angular/core'; import { ComponentStore } from '@ngrx/component-store'; import { Store } from '@ngrx/store'; import { PermissionSetService } from 'blg-akaun-ts-lib'; import { PermissionFacade } from '../../../../../modules/permission/facades/permission.facade'; import { ViewColumnComponent } from '../../../../../view-column.component'; import { Observable } from 'rxjs'; import { PermissionStates } from '../../../permission-controller/root'; interface LocalState { deactivateAdd: boolean; deactivateList: boolean; } export declare class PermSetListingComponent extends ViewColumnComponent { private permissionSetService; private viewColFacade; private store; private componentStore; private injector; protected readonly index = 0; private localState; readonly localState$: Observable; readonly deactivateAdd$: Observable; readonly deactivateList$: Observable; toggleColumn$: Observable; apiVisa: import("blg-akaun-ts-lib").ApiVisa; private subSink; searchModel: import("../../../../..").SearchModelV2; generalSearchValue: string; advancedSearchModel: any; gridApi: any; gridOptions: { serverSideStoreType: string; rowModelType: string; defaultColDef: { filter: string; floatingFilter: boolean; floatingFilterComponentParams: { suppressFilterButton: boolean; }; minWidth: number; flex: number; sortable: boolean; resizable: boolean; wrapText: boolean; autoHeight: boolean; suppressCsvExport: boolean; }; pagination: boolean; animateRows: boolean; sideBar: string; }; columnsDefs: any; rowSelection: string; appletGuid: string; private paginationComponent; code_text: string; name_text: string; created_date_text: string; modified_date_text: string; create_button: string; constructor(permissionSetService: PermissionSetService, viewColFacade: PermissionFacade, store: Store, componentStore: ComponentStore<{ localState: LocalState; }>, injector: Injector); /** * Lifecycle method: Called when the component is first initialised. */ ngOnInit(): void; /** * This function is called when the user clicks on the Add button in the UI. * Will trigger the add component to be shown on the screen. * */ onNext(): void; /** * Function called when AG grid is initialised. * * @param params : grid parameters */ onGridReady(params: any): void; /** * Sets the datasource on the AG grid to response data returned from the * getByCriteria API. * * @param conditionalCriteria : any custom criteria to search for in the API * @returns datasource for AG grid */ getDatasource(): { getRows: (grid: any) => void; }; /** * This function is called every time the user clicks on a row in the * AG grid. * * @param entity : the entity on the AG grid that was clicked on */ onRowClicked(entity: any): void; /** * This function is called every time the user clicks on the toggle column * button. It wil trigger the screen to show either one or two columns at a * time. * * @param e : event */ onToggle(e: boolean): void; onSearch(value: string): void; onAdvancedSearch(criteria: any): void; onReset(): void; /** * Lifecycle method: Called when component is destroyed. */ ngOnDestroy(): void; } export {};