import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NbMenuModule, NbInputModule, NbCardModule, NbButtonModule, NbActionsModule, NbCheckboxModule, NbRadioModule, NbDatepickerModule, NbSelectModule, NbIconModule, NbTagModule, NbStepperModule, NbListModule, NbUserModule, NbSpinnerModule, NbDialogModule, NbAlertModule } from '@nebular/theme';
import { NgxMaskModule } from 'ngx-mask';
import { ThemeModule } from '../@theme/theme.module';
import { MaskDirectiveModule } from '../directives/mask-directive/mask-directive.module';
import { AlertDlgModule } from '../ui/alert-dlg/alert-dlg.module';
import { CurrencyInputModule } from '../ui/currency-input/currency-input.module';
import { DateInputModule } from '../ui/date-input/date-input.module';
import { DropDownListModule } from '../ui/drop-down-list/drop-down-list.module';
import { FancyTableModule } from '../ui/fancy-table/fancy-table.module';
import { WeekTaskEditorComponent } from './week-task-editor/week-task-editor.component';
import { HappinessWeekEditorComponent } from './happiness-week-editor/happiness-week-editor.component';
import { BestListDlgComponent } from './best-list-dlg/best-list-dlg.component';
import { HappinessWeekListDlgComponent } from './happiness-week-list-dlg/happiness-week-list-dlg.component';
import { BestEditorDlgComponent } from './best-list-dlg/best-editor-dlg/best-editor-dlg.component';
import { LoadingSpinnerModule } from '../ui/loading-spinner/loading-spinner.module';
import { AddNewCostDlgComponent } from './week-task-editor/add-new-cost-dlg/add-new-cost-dlg.component';



@NgModule({
  declarations: [
    WeekTaskEditorComponent,
    HappinessWeekEditorComponent,
    BestListDlgComponent,
    HappinessWeekListDlgComponent,
    BestEditorDlgComponent,
    AddNewCostDlgComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    ThemeModule,
    NbMenuModule,
    NbInputModule,
    NbCardModule,
    NbButtonModule,
    NbActionsModule,
    NbCheckboxModule,
    NbRadioModule,
    NbDatepickerModule,
    NbSelectModule,
    NbIconModule,
    NbTagModule,
    NbStepperModule,
    NbListModule,
    NbUserModule,
    NbSpinnerModule,
    NbDialogModule,
    NbAlertModule,
    NbSpinnerModule,
    AlertDlgModule,
    FancyTableModule,
    DropDownListModule,
    CurrencyInputModule,
    MaskDirectiveModule,
    DateInputModule,
    LoadingSpinnerModule
  ],
  exports: [
    BestListDlgComponent,
    HappinessWeekListDlgComponent
  ]
})
export class HappinessModule { }
