|
|
|
|
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
|
|
|
|
|
import { Platform, Events, MenuController } from '@ionic/angular';
|
|
|
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
|
|
|
|
import { TranslatorService } from './hmg-common/services/translator/translator.service';
|
|
|
|
|
import { CommonService } from './hmg-common/services/common/common.service';
|
|
|
|
|
import { AuthenticationService } from './hmg-common/services/authentication/authentication.service';
|
|
|
|
|
import { AuthenticatedUser } from './hmg-common/services/authentication/models/authenticated-user';
|
|
|
|
|
import { TabsBarComponent } from './hmg-common/ui/tabs-bar/tabs-bar.component';
|
|
|
|
|
import { KeyboardService } from './hmg-common/services/keyboard/keyboard.service';
|
|
|
|
|
import { Router, RouteConfigLoadStart, RouteConfigLoadEnd, NavigationStart, NavigationEnd, NavigationCancel } from '@angular/router';
|
|
|
|
|
import { LazyLoadingService } from './hmg-common/services/lazy-loading/lazy-loading.service';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-root',
|
|
|
|
|
styleUrls: ['./app.component.scss'],
|
|
|
|
|
templateUrl: 'app.component.html'
|
|
|
|
|
})
|
|
|
|
|
export class AppComponent implements OnInit, AfterViewInit {
|
|
|
|
|
// rootPage:any = LoginPage;
|
|
|
|
|
// @ViewChild(Nav) nav: Nav;
|
|
|
|
|
|
|
|
|
|
menuList:any=[];
|
|
|
|
|
User_name_Emp:string="";
|
|
|
|
|
user_image:string="";
|
|
|
|
|
menuSide:string="left";
|
|
|
|
|
notBadge:number;
|
|
|
|
|
companyUrl:string="../assets/imgs/CS.png";
|
|
|
|
|
companyDesc:string="Powered By Cloud Solutions";
|
|
|
|
|
public direction = 'ltr';
|
|
|
|
|
ngOnInit(){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
ngAfterViewInit(){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|