Repository URL to install this package:
import { OnInit } from '@angular/core';
import { WCGridConfiguration, WCToasterService } from 'web-console-ui-kit';
import { SortDescriptor, GroupDescriptor, DataResult } from '@progress/kendo-data-query';
import { PageChangeEvent, GridComponent } from '@progress/kendo-angular-grid';
import { MotifQueryService } from 'web-console-core';
import { WCSlideDownPanelComponent } from 'web-console-ui-kit';
import { WCOverlayPaneService } from 'web-console-ui-kit';
import { DomainsService, DomainsList, Domain, UsersService, UsersList } from '@wa-motif-open-api/platform-service';
export interface NewUserModel {
userId?: string;
userIdInt?: number;
msisdn?: number;
serial?: number;
}
export declare class UsersListComponent implements OnInit {
private usersService;
private domainsService;
private motifQueryService;
private toaster;
private overlayPaneService;
_grid: GridComponent;
_slideDownEditor: WCSlideDownPanelComponent;
usersList: UsersList;
domainList: DomainsList;
_selectedDomain: Domain;
gridConfiguration: WCGridConfiguration;
sort: SortDescriptor[];
groups: GroupDescriptor[];
gridView: DataResult;
type: 'numeric' | 'input';
pageSize: number;
skip: number;
currentPage: number;
totalPages: number;
totalRecords: number;
isFieldSortable: boolean;
newUserId: string;
newUserModel: NewUserModel;
constructor(usersService: UsersService, domainsService: DomainsService, motifQueryService: MotifQueryService, toaster: WCToasterService, overlayPaneService: WCOverlayPaneService);
ngOnInit(): void;
/**
* Get the list of the available Domains
*/
refreshDomainList(): void;
pageChange({skip, take}: PageChangeEvent): void;
private loadData(domain, pageIndex, pageSize);
private getUserListEx(domain, pageIndex, pageSize, sort, filter);
private calculatePageIndex(skip, take);
private buildQuerySort();
/**
* Reload the list of users for the selected domain
*/
refreshData(): void;
/**
* Set the selcted domain
*/
selectedDomain: Domain;
sortChange(sort: SortDescriptor[]): void;
groupChange(groups: GroupDescriptor[]): void;
doSort(): void;
onStatusChangeOKPressed(dataItem: any): void;
onStatusChangeCancelPressed(dataItem: any): void;
onDeleteOKPressed(dataItem: any): void;
onDeleteCancelPressed(dataItem: any): void;
onAddButtonPressed(): void;
onEditorDismissButtonPressed(): void;
onEditorConfirmButtonPressed(): void;
dismissNewUserEditor(): void;
readonly statusButtonClass: string;
getStatusButtonClass(statusStr: string): string;
getStatusButtonQuestion(statusStr: string): string;
}