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

import { SysRoutingModule } from './sys-routing.module';
import { UsersComponent } from './users.component';
import { RolesComponent } from './roles.component';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NzPageHeaderModule } from 'ng-zorro-antd/page-header';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzResultModule } from 'ng-zorro-antd/result';
import { NzSpinModule } from 'ng-zorro-antd/spin';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { UtilsModule } from 'src/app/lib/utils/utils.module';
import { PagerModule } from 'src/app/lib/pager/pager.module';
import { UserCreateComponent } from './user-create.component';
import { RoleEditComponent } from './role-edit.component';
import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { UserEditComponent } from './user-edit.component';
import { SessionsComponent } from './sessions.component';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { AuthModule } from 'src/app/auth/auth.module';


@NgModule({
  declarations: [
    UsersComponent,
    RolesComponent,
    UserCreateComponent,
    RoleEditComponent,
    UserEditComponent,
    SessionsComponent,
  ],
  imports: [
    RouterModule, 
    FormsModule,
    ReactiveFormsModule,
    UtilsModule,
    PagerModule,
    CommonModule,
    SysRoutingModule,
    NzButtonModule,
    NzDividerModule,
    NzDropDownModule,
    NzPageHeaderModule,
    NzGridModule,
    NzTagModule,
    NzDescriptionsModule,
    NzPopconfirmModule,
    NzMessageModule,
    NzSelectModule,
    NzFormModule,
    NzInputModule,
    NzModalModule,
    NzIconModule,
    NzResultModule,
    NzSpinModule,
    NzNoAnimationModule,
    NzCheckboxModule,
    NzRadioModule,
    AuthModule,
  ]
})
export class SysModule { }
