import * as i0 from '@angular/core'; import { OnInit, Injector, EventEmitter, OnChanges, SimpleChanges, ModuleWithProviders } from '@angular/core'; import * as i8 from '@angular/common/http'; import { HttpClient, HttpParams } from '@angular/common/http'; import * as rxjs from 'rxjs'; import { Observable, Subject, Observer } from 'rxjs'; import * as i9 from '@angular/router'; import { Router, ActivatedRoute, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import * as i12 from '@angular/common'; import { Location } from '@angular/common'; import * as i7 from '@angular/forms'; import * as i10 from '@progress/kendo-angular-popup'; import * as i11 from '@progress/kendo-angular-dialog'; declare class CBMSBaseAppService { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CBMSBaseAppComponent implements OnInit { title: string; constructor(); userInfoId: number; IsAuthenticate: boolean; xid: any; uid: string; envirnment: any; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface IEnvironmentsInfo { apiBaseUrl: string; CBMSServiceUrl: string; CBMSManageClient: string; CBMSHomePage: string; commonApiServiceUrl: string; moduleName: string; appLoginURL: string; production: boolean; } declare class HeadComponent implements OnInit { private http; imageUrl: string; nonProdBackColor: boolean; prodBackColor: boolean; headerBackgroundColor: any; constructor(http: HttpClient); currentDate: Date; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DialogComponent { opened: boolean; successFunction: any; isAlert: boolean; failureFunction: any; message: string; title: string; close(status: any): void; open(): void; showAlert(message: string, successFunc: any): void; showConfirm(message: string, successFunc: any, failureFunc: any): void; closeDialog(status: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BaseService { injector: Injector; private API_ENDPOINT; private RM_ENDPOINT; private config; private headers; private postheaders; http: HttpClient; private getConfig; constructor(injector: Injector); get(path: any): Observable; getApi(path: any): Observable; postData(path: any, data: any): Observable; post(path: any, data: any): Observable; put(path: any, data: any): Observable; protected postDataAsync(path: any, data: any): Promise; protected getAsync(path: string): Promise; protected getRMAsync(path: string, data: any): Promise; protected postCommonApi(path: string, data: any): Promise; private handleError; private extractData; debugValidateUidHeaders(): void; postDataForValidateUid(path: string, data: any): Observable; postValidateUidWithFallbacks(path: string, uid: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class BaseMenuService { private config; private http; private location; private route; constructor(config: IEnvironmentsInfo, http: HttpClient, location: Location, route: Router); get options(): IEnvironmentsInfo; private serviceUrl; private formatErrors; get(path: string, body?: Object, params?: HttpParams): Observable; put(path: string, body?: Object): Observable; post(path: string, body?: Object): Observable; postExcel(path: string, body?: Object): Observable; contractPost(path: string, body?: Object): Observable; delete(path: string, body?: Object): Observable; patch(path: string, body?: Object): Observable; postasync(path: string, body?: Object): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CbmsService extends BaseService { private apiService; http: HttpClient; injector: Injector; private queryStringRouter; constructor(apiService: BaseMenuService, http: HttpClient, injector: Injector, queryStringRouter: ActivatedRoute); ValidateLogin(obj: any): any; SaveUser(obj: any): any; GetData(): any; GetMenu(uid: any): any; ValidateXid(xid: any): any; ValidateUid(xid: any): Promise; debugValidateUidSetup(): void; debugCallingProjectIssues(): void; getClientList(ClientSearchData: any): any; Validatexid(strXid: any): Promise; Validateuid(strXid: any): Promise; GetPermissionsByUserId(obj: any): Promise; GetMenuWithUidOrXid(ObjUserValidate: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface Menu { Displaytext: string; Displayorder: number; MenuId: number; Menulevel: number; ParentMenuId: number; TargetAction: string; TargetServer: string; } declare class MenuComponent implements OnInit { private cbmsApi; private location; MenuData: Menu[]; data1: any; ngMenu: Menu[]; wantedData: any; collapse: boolean; id: any; private blnIsUid; constructor(cbmsApi: CbmsService, location: Location); ngOnInit(): void; GetCBMenu(): void; Logout(url: any): void; HelpOpenUrlInNewTab(url: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PopupComponent { title: string; popUpClosed: EventEmitter; hideClose: boolean; backgroundColor: string; marginTop: string; width: string; isClosable: boolean; show: boolean; showPopup(): void; hidePopup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BreadcrumbService { private pageName; currentName: rxjs.Observable; constructor(); changeName(data: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CbmsBreadcrumpComponent implements OnInit, OnChanges { router: Router; breadcrumbService: BreadcrumbService; moreInfoText: any[]; title: any[]; json: any; pageName: any[]; breadcrums: any[]; breadCrumbs: any[]; constructor(router: Router, breadcrumbService: BreadcrumbService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; bindBreadCrump(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CBMSBaseAppModule { static forRoot(config: IEnvironmentsInfo): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface IRoutesInfo { route: string; permissions: string[]; } declare class CbmsSharedService { userInfoId: Subject; userInfoId$: Observable; constructor(); setUserInfoId(data: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CbmsBaseUtilService { injector: Injector; private cbmsService; private cbmsSharedService; private router; userInfoId: number; lstRoutes: Array; IsAuthenticate: boolean; isuidValid: boolean; xid: any; uid: string; constructor(injector: Injector, cbmsService: CbmsService, cbmsSharedService: CbmsSharedService, router: ActivatedRoute); get RoutesInfo(): IRoutesInfo[]; authenticateUser(obj: any): any; UidValidation(userInfo: any): Promise; setRoutesInfo(lstRoutes: Array): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PermissionService implements OnInit { private cbmsService; private cbmsShared; dataObserver: Observer; isPermissionLoaded: boolean; permissionLst: any; userInfoId: any; permissionLoaded: Observable; constructor(cbmsService: CbmsService, cbmsShared: CbmsSharedService); ngOnInit(): void; loadModulePermissions(userInfoId: any): Promise; hasAnyPermissions(keys: string[]): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AuthGuard { private router; injector: Injector; private cbmsService; private queryStringRouter; private cbmsbaseutil; private permissionService; config: any; constructor(router: Router, injector: Injector, cbmsService: CbmsService, queryStringRouter: ActivatedRoute, cbmsbaseutil: CbmsBaseUtilService, permissionService: PermissionService); canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | Observable; isValid(url: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AppSettings { static API_ENDPOINT: string; static CBMS_LOGIN_URL: string; static CBMS_SERVICES_URL: string; static apiBaseUrl: string; } export { AppSettings, AuthGuard, BaseService, CBMSBaseAppComponent, CBMSBaseAppModule, CBMSBaseAppService, CbmsBaseUtilService, CbmsBreadcrumpComponent, CbmsService, CbmsSharedService, DialogComponent, HeadComponent, MenuComponent, PermissionService, PopupComponent }; export type { IRoutesInfo, Menu };