Revize 9f45a114
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
frontend/src/app/day-picker/day-picker.module.ts | ||
---|---|---|
1 | 1 |
import { NgModule } from '@angular/core'; |
2 |
import { CommonModule } from '@angular/common'; |
|
3 |
import { FormsModule } from '@angular/forms'; |
|
4 |
import { FlatpickrModule } from 'angularx-flatpickr'; |
|
5 | 2 |
import { CalendarModule, DateAdapter } from 'angular-calendar'; |
6 | 3 |
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns'; |
7 |
import { NgbModalModule } from '@ng-bootstrap/ng-bootstrap'; |
|
8 | 4 |
import { DayPickerComponent } from './day-picker.component'; |
9 | 5 |
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
10 | 6 |
|
11 | 7 |
@NgModule({ |
12 |
imports: [ |
|
13 |
CommonModule, |
|
14 |
FormsModule, |
|
15 |
NgbModalModule, |
|
16 |
FlatpickrModule.forRoot(), |
|
17 |
CalendarModule.forRoot({ |
|
18 |
provide: DateAdapter, |
|
19 |
useFactory: adapterFactory |
|
20 |
}), |
|
21 |
BrowserAnimationsModule |
|
22 |
], |
|
23 |
declarations: [DayPickerComponent], |
|
24 |
exports: [DayPickerComponent] |
|
8 |
declarations: [ DayPickerComponent ], |
|
9 |
exports: [ DayPickerComponent ], |
|
10 |
imports: [ |
|
11 |
CalendarModule.forRoot({ |
|
12 |
provide: DateAdapter, |
|
13 |
useFactory: adapterFactory |
|
14 |
}), |
|
15 |
BrowserAnimationsModule |
|
16 |
], |
|
25 | 17 |
}) |
26 | 18 |
export class DayPickerModule {} |
Také k dispozici: Unified diff
Re #7263 Day picker component modified