import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DateInputComponent } from './date-input.component';
import { NbInputModule, NbDatepickerModule, NbIconModule, NbButtonModule, NbCardModule, NbCalendarKitModule, NbTooltipModule } from '@nebular/theme';
import { FormsModule } from '@angular/forms';
import { CalendarViewComponent } from './calendar-view/calendar-view.component';
import { RegexValidatorModule } from '../../directives/regex-validator/regex-validator.module';

@NgModule({
    declarations: [DateInputComponent, CalendarViewComponent],
    imports: [
        CommonModule,
        FormsModule,
        NbInputModule,
        NbDatepickerModule,
        NbIconModule,
        NbButtonModule,
        RegexValidatorModule,
        NbIconModule,
        NbButtonModule,
        NbCardModule,
        NbCalendarKitModule,
        NbTooltipModule,
    ],
    exports: [
        DateInputComponent
    ]
})
export class DateInputModule { }
