import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';

import { 
  NbAlertModule,
  NbButtonModule,
  NbCheckboxModule,
  NbInputModule,
  NbMenuModule,
  NbCardModule,
  NbSelectModule,
  NbToggleModule
} from '@nebular/theme';
import { PermissionsComponent } from './permissions-layout.component';
import { ThemeModule } from '../../@theme/theme.module';
import { ChangePermissionsComponent } from './changePermissions/changePermissions.component';

@NgModule({
  imports: [
    NbToggleModule,
    CommonModule,
    FormsModule,
    RouterModule,
    NbAlertModule,
    NbInputModule,
    NbButtonModule,
    NbCheckboxModule,
    ThemeModule,
    NbMenuModule,
    NbCardModule,
    NbSelectModule
  ],
  declarations: [
    PermissionsComponent,
    ChangePermissionsComponent,
  ],
})
export class PermissionsModule {
}