import { NgModule } from '@angular/core';

import { LayoutComponent } from './layout.component';
import { SidebarComponent } from './sidebar/sidebar.component';
import { HeaderComponent } from './header/header.component';
import { OffsidebarComponent } from './offsidebar/offsidebar.component';
import { UserblockComponent } from './sidebar/userblock/userblock.component';
import { UserblockService } from './sidebar/userblock/userblock.service';
import { FooterComponent } from './footer/footer.component';

import { SharedModule } from '../shared/shared.module';
import {FrameOptrEditComponent} from '../routes/frame/optr/frame-optr-edit/frame-optr-edit.component';
import {FrameOptrPasswordComponent} from '../routes/frame/optr/frame-optr-password/frame-optr-password.component';
import {FrameThreadRunningComponent} from '../routes/frame/thread/frame-thread-running/frame-thread-running.component';

@NgModule({
    imports: [
        SharedModule
    ],
    providers: [
        UserblockService
    ],
  entryComponents: [FrameOptrEditComponent, FrameOptrPasswordComponent, FrameThreadRunningComponent],
    declarations: [
        LayoutComponent,
        SidebarComponent,
        UserblockComponent,
        HeaderComponent,
        OffsidebarComponent,
        FooterComponent,
        FrameOptrEditComponent,
        FrameOptrPasswordComponent,
        FrameThreadRunningComponent
    ],
    exports: [
        LayoutComponent,
        SidebarComponent,
        UserblockComponent,
        HeaderComponent,
        OffsidebarComponent,
        FooterComponent
    ]
})
export class LayoutModule { }
