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 { RegexValidatorModule } from '../../directives/regex-validator/regex-validator.module';
import { FormsModule } from '@angular/forms';
import { ForceFocusMsgModule } from '../../directives/force-focus-msg/force-focus-msg.module';
import { CalendarViewComponent } from './calendar-view/calendar-view.component';
import { MaskDirectiveModule } from '../../directives/mask-directive/mask-directive.module';
import { DxCalendarModule } from 'devextreme-angular';

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