import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { FormsModule } from '@angular/forms' ; import { OverlayModule } from '@angular/cdk/overlay' ; import { NglIconsModule } from '../icons/module' ; import { NglInternalOutletModule } from '../util/outlet.module' ; import { NglClickOutsideModule } from '../common/clickoutside.module' ; import { NglDatepicker } from './datepicker' ; import { NglDatepickerInput } from './input/datepicker-input' ; import { NglDatepickerInputDirective } from './input/datepicker-input.directive' ; import { NglDatepickerWeekdays } from './weekdays' ; import { NglDay } from './day' ; import { NglDatepickerYear } from './year' ; import { NglDatepickerMonth } from './month' ; import { NglDateAdapter } from './adapters/date-fns-adapter' ; import { NglOverlayModule } from '../common/overlay/overlay.module' ; import { NglFormsModule } from '../forms/module' ; const EXPORTS = [ NglDatepicker , NglDatepickerInput , NglDatepickerInputDirective , ] ; @ NgModule ( { declarations : [ ... EXPORTS , NglDay , NglDatepickerWeekdays , NglDatepickerYear , NglDatepickerMonth ] , exports : EXPORTS , imports : [ CommonModule , FormsModule , NglIconsModule , NglInternalOutletModule , OverlayModule , NglClickOutsideModule , NglOverlayModule , NglFormsModule ] , providers : [ NglDateAdapter ] , } ) export class NglDatepickersModule { }