import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FormsModule } from "@angular/forms";
import { TabsModule } from "ngx-bootstrap/tabs";

import { DataTablesModule } from "angular-datatables";
import { AgmCoreModule } from "@agm/core";
import { LoadingModule } from "ngx-loading";
import { MomentModule } from 'ngx-moment';
import {MomentTimezoneModule} from 'angular-moment-timezone';

import { SetRoutingModule } from "./set-routing.module";
import { Set001Component } from "./set001/set001.component";
import { Set001CreateSiteComponent } from "./set001/set001-create-site.component";
import { Set001SetSiteComponent } from "./set001/set001-set-site.component";
import { Set001ViewSiteComponent } from "./set001/set001-view-site.component";
import { Set002Component } from "./set002/set002.component";
import { Set002CreateReasonComponent } from "./set002/set002-create-reason.component";
import { Set002SetReasonComponent } from "./set002/set002-set-reason.component";
import { Set002ViewReasonComponent } from "./set002/set002-view-reason.component";
import { Set003Component } from "./set003/set003.component";
import { Set003CreateVendorComponent } from "./set003/set003-create-vendor.component";
import { Set003SetVendorComponent } from "./set003/set003-set-vendor.component";
import { Set003ViewVendorComponent } from "./set003/set003-view-vendor.component";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    MomentModule,
    MomentTimezoneModule,
    SetRoutingModule,
    DataTablesModule,
    TabsModule.forRoot(),
    AgmCoreModule.forRoot({
      apiKey: "",
      language: "zh-TW"
    }),
    LoadingModule
  ],
  declarations: [
    Set001Component,
    Set001CreateSiteComponent,
    Set001SetSiteComponent,
    Set001ViewSiteComponent,
    Set002Component,
    Set002CreateReasonComponent,
    Set002SetReasonComponent,
    Set002ViewReasonComponent,
    Set003Component,
    Set003CreateVendorComponent,
    Set003SetVendorComponent,
    Set003ViewVendorComponent,
  ]
})
export class SetModule {}
