import { Component, Injector, OnInit, ViewChild, ViewEncapsulation, Input, OnChanges } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { AppConsts } from '@shared/AppConsts';
import { appModuleAnimation } from '@shared/animations/routerTransition';
import { AppComponentBase } from '@shared/common/app-component-base';
import { RouteListDto, RouteServiceProxy } from '@shared/service-proxies/service-proxies';

import * as moment from 'moment';
import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent';
import { Paginator } from 'primeng/components/paginator/paginator';
import { Table } from 'primeng/components/table/table';
import { HttpClient } from '@angular/common/http';
import { finalize } from 'rxjs/operators';
import { AppSessionService } from '@shared/common/session/app-session.service';

@Component({
	selector: 'routes-container',
    templateUrl: './routes-container.component.html',
    encapsulation: ViewEncapsulation.None,
    animations: [appModuleAnimation()]
})

export class ControllerContainerComponent extends AppComponentBase implements OnInit {
    isEnabledLaboratory: boolean = false;
    controller_edition_type: string = 'STANDARD';
	constructor(
        injector: Injector,
        private _routeService: RouteServiceProxy
        
    ) {
        super(injector);

        this.isEnabledLaboratory = abp.features.isEnabled('App.ControllerRouteManagementFeature.RouteDetailsManagementFeature');
        if(this.isEnabledLaboratory)
        {
            this.controller_edition_type = 'LABORATORY';
        }
    }

    ngOnInit(): void {
      
       
   }
    onShown(): void {
       
    }
    ngOnChanges(): void {
       
    }

}