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

import { PageRoutingModule } from './page-routing.module';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { PagerModule } from 'src/app/lib/pager/pager.module';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { ListComponent } from './list.component';
import { ArtCardComponent } from './art-card.cmoponent';
import { NzPageHeaderModule } from 'ng-zorro-antd/page-header';
import { DetailComponent } from './detail.component';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { UtilsModule } from 'src/app/lib/utils/utils.module';
import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { ArtStatusComponent } from './art-status.component';
import { MetaComponent } from './meta.component';
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 { NzCalendarModule } from 'ng-zorro-antd/calendar';

import { AuthModule } from 'src/app/auth/auth.module';
import { NzTimePickerModule } from 'ng-zorro-antd/time-picker';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzCardModule } from 'ng-zorro-antd/card';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { NzSwitchModule } from 'ng-zorro-antd/switch';

import { EditableModule } from '@ngneat/edit-in-place';
import { ArtRefuseReasonComponent } from './art-refuse-reason.component';
import { NzImageModule } from 'ng-zorro-antd/image';
import { NzRateModule } from 'ng-zorro-antd/rate';


@NgModule({
  declarations: [
    ListComponent,
    ArtCardComponent,
    DetailComponent,
    ArtStatusComponent,
    MetaComponent,
    ArtRefuseReasonComponent,
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    UtilsModule,
    NgbModule,
    PagerModule,
    PageRoutingModule,
    NzButtonModule,
    NzDividerModule,
    NzDropDownModule,
    NzPageHeaderModule,
    NzGridModule,
    NzTagModule,
    NzDescriptionsModule,
    NzPopconfirmModule,
    NzMessageModule,
    NzSelectModule,
    NzFormModule,
    NzInputModule,
    NzModalModule,
    NzIconModule,
    NzResultModule,
    NzSpinModule,
    NzImageModule,
    NzCalendarModule,
    NzTimePickerModule,
    NzDatePickerModule,
    NzRadioModule,
    AuthModule,
    DragDropModule,
    NzTableModule,
    NzCardModule,
    NzTabsModule,
    NzCheckboxModule,
    NzUploadModule,
    NzToolTipModule,
    NzSwitchModule,
    NzRateModule,
    EditableModule
  ],
  exports: [MetaComponent, ArtStatusComponent, ArtCardComponent]
})
export class PageModule { }
