import { OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { UserService } from '../../services/user.service'; import { MatTableDataSource } from '@angular/material/table'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; import { UserQuery } from '../../../state/user/user.query'; import { CookieService } from 'ngx-cookie'; import { AuthService } from '../../services/auth.service'; import { Router } from '@angular/router'; import { MatSlideToggleChange } from '@angular/material/slide-toggle'; import { DatePipe } from '@angular/common'; import * as i0 from "@angular/core"; export interface User { position: number; userName: String; empId: String; corpId: String; loginId: String; emailId: String; role: String; status: boolean; creationDate: string[]; } export declare class UserlistComponent implements OnInit { private userService; private dialog; private userQuery; private cookies; private authService; private router; datepipe: DatePipe; userData: never[]; CorpID: string; environment: { production: boolean; api: { baseUrl: string; auth: { login: string; userAuthentication: string; changePassword: string; getUsers: string; jwtToken: string; user_like: string; user_snowlike: string; searchSolution: string; searchSolutionDetail: string; updateUser: string; activeUser: string; deleteUser: string; getUser: string; addAction: string; updateAction: string; deleteAction: string; getAction: string; getActionById: string; addFeature: string; updateFeature: string; deleteFeature: string; getFeature: string; getFeatureByID: string; }; }; keys: { ENCRYPT_DECRYPT_KEY: string; IV: string; }; }; getAllUserUrl: string; addUserApiUrl: string; editUserApiUrl: string; activateUserUrl: string; deleteUserApiUrl: string; getUserByIdUrl: string; selection: any; usersList: User[]; totalCount: number; displayedColumns: string[]; dataSource: MatTableDataSource; paginator: MatPaginator; sort: MatSort; noOfDataShow: number; isBtnDeleteShow: boolean; isDateFilterShow: boolean; currentDate: string; lastSixMonthDate: string; lastOneYearDate: string; lastTwoYearDate: string; customFromDate: string; customToDate: string; timePeriod: string; constructor(userService: UserService, dialog: MatDialog, userQuery: UserQuery, cookies: CookieService, authService: AuthService, router: Router, datepipe: DatePipe); ngOnInit(): void; ngAfterViewInit(): void; getUsersList(): void; callRefreshTokenAPI(): void; redirectToLoginPage(): void; openDialog(): void; openDeleteDialog(): void; openUpdateDialog(data: any): void; changeUserStatus(event: MatSlideToggleChange, corpId: any): void; callUpdateStatusAPI(corpId: any, status: boolean): void; /** Whether the number of selected elements matches the total number of rows. */ isAllSelected(): boolean; /** Selects all rows if they are not all selected; otherwise clear selection. */ masterToggle(): void; /** The label for the checkbox on the passed row */ checkboxLabel(row?: User): string; selectRow(row: any): void; applyFilter(event: Event): void; handleBtnApply(): void; initializeAllDate(): void; handleDateFilterBtnApply(): void; filterUserList(fromDate: string | number | Date, toDate: string | number | Date): void; handleDateFilterBtnReset(): void; handleDateFilterBtnCancel(): void; setTimePeriod(period: string): void; onChangeDatePickerFrom(e: any): void; onChangeDatePickerTo(e: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }