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

import { ContentRoutingModule } from './content-routing.module';
import { CategoryComponent } from './category.component';
import { CategoryAddComponent } from './category-add.component';
import { CategoryAddLangModalComponent } from './category-add-lang-modal.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { HttpClientModule } from '@angular/common/http';
import { LangConfigComponent } from './lang-config.component';
import { ToolboxModule } from '../toolbox/toolbox.module';

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 { TestComponent } from './test.component';
import { AuthModule } from 'src/app/auth/auth.module';
import { TranslateComponent } from './translate.component';
import { TranslateAddComponent } from './translate-add.component';
import { I18nComponent } from './i18n.component';
import { NzTableModule } from 'ng-zorro-antd/table';

@NgModule({
  declarations: [
    CategoryComponent,
    CategoryAddComponent,
    CategoryAddLangModalComponent,
    LangConfigComponent,
    TestComponent,
    TranslateComponent,
    TranslateAddComponent,
    I18nComponent,
  ],
  imports: [
    CommonModule,
    AuthModule,
    ContentRoutingModule,
    FormsModule,
    ReactiveFormsModule,
    NgbModule,
    HttpClientModule,
    ToolboxModule,
    NzButtonModule,
    NzDividerModule,
    NzDropDownModule,
    NzPageHeaderModule,
    NzGridModule,
    NzTagModule,
    NzDescriptionsModule,
    NzPopconfirmModule,
    NzMessageModule,
    NzSelectModule,
    NzFormModule,
    NzInputModule,
    NzModalModule,
    NzIconModule,
    NzResultModule,
    NzSpinModule,
    NzTableModule,
  ],
  entryComponents: [CategoryAddLangModalComponent, CategoryAddComponent, LangConfigComponent],
})
export class ContentModule { }
