[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { A11yModule } from '@angular/cdk/a11y';
|
---|
| 9 | import { OverlayModule } from '@angular/cdk/overlay';
|
---|
| 10 | import { PortalModule } from '@angular/cdk/portal';
|
---|
| 11 | import { CommonModule } from '@angular/common';
|
---|
| 12 | import { NgModule } from '@angular/core';
|
---|
| 13 | import { MatButtonModule } from '@angular/material/button';
|
---|
| 14 | import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
---|
| 15 | import { MatCommonModule } from '@angular/material/core';
|
---|
| 16 | import { MatCalendar, MatCalendarHeader } from './calendar';
|
---|
| 17 | import { MatCalendarBody } from './calendar-body';
|
---|
| 18 | import { MatDatepicker } from './datepicker';
|
---|
| 19 | import { MatDatepickerContent, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, } from './datepicker-base';
|
---|
| 20 | import { MatDatepickerInput } from './datepicker-input';
|
---|
| 21 | import { MatDatepickerIntl } from './datepicker-intl';
|
---|
| 22 | import { MatDatepickerToggle, MatDatepickerToggleIcon } from './datepicker-toggle';
|
---|
| 23 | import { MatMonthView } from './month-view';
|
---|
| 24 | import { MatMultiYearView } from './multi-year-view';
|
---|
| 25 | import { MatYearView } from './year-view';
|
---|
| 26 | import { MatDateRangeInput } from './date-range-input';
|
---|
| 27 | import { MatStartDate, MatEndDate } from './date-range-input-parts';
|
---|
| 28 | import { MatDateRangePicker } from './date-range-picker';
|
---|
| 29 | import { MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel } from './datepicker-actions';
|
---|
| 30 | export class MatDatepickerModule {
|
---|
| 31 | }
|
---|
| 32 | MatDatepickerModule.decorators = [
|
---|
| 33 | { type: NgModule, args: [{
|
---|
| 34 | imports: [
|
---|
| 35 | CommonModule,
|
---|
| 36 | MatButtonModule,
|
---|
| 37 | OverlayModule,
|
---|
| 38 | A11yModule,
|
---|
| 39 | PortalModule,
|
---|
| 40 | MatCommonModule,
|
---|
| 41 | ],
|
---|
| 42 | exports: [
|
---|
| 43 | CdkScrollableModule,
|
---|
| 44 | MatCalendar,
|
---|
| 45 | MatCalendarBody,
|
---|
| 46 | MatDatepicker,
|
---|
| 47 | MatDatepickerContent,
|
---|
| 48 | MatDatepickerInput,
|
---|
| 49 | MatDatepickerToggle,
|
---|
| 50 | MatDatepickerToggleIcon,
|
---|
| 51 | MatMonthView,
|
---|
| 52 | MatYearView,
|
---|
| 53 | MatMultiYearView,
|
---|
| 54 | MatCalendarHeader,
|
---|
| 55 | MatDateRangeInput,
|
---|
| 56 | MatStartDate,
|
---|
| 57 | MatEndDate,
|
---|
| 58 | MatDateRangePicker,
|
---|
| 59 | MatDatepickerActions,
|
---|
| 60 | MatDatepickerCancel,
|
---|
| 61 | MatDatepickerApply
|
---|
| 62 | ],
|
---|
| 63 | declarations: [
|
---|
| 64 | MatCalendar,
|
---|
| 65 | MatCalendarBody,
|
---|
| 66 | MatDatepicker,
|
---|
| 67 | MatDatepickerContent,
|
---|
| 68 | MatDatepickerInput,
|
---|
| 69 | MatDatepickerToggle,
|
---|
| 70 | MatDatepickerToggleIcon,
|
---|
| 71 | MatMonthView,
|
---|
| 72 | MatYearView,
|
---|
| 73 | MatMultiYearView,
|
---|
| 74 | MatCalendarHeader,
|
---|
| 75 | MatDateRangeInput,
|
---|
| 76 | MatStartDate,
|
---|
| 77 | MatEndDate,
|
---|
| 78 | MatDateRangePicker,
|
---|
| 79 | MatDatepickerActions,
|
---|
| 80 | MatDatepickerCancel,
|
---|
| 81 | MatDatepickerApply
|
---|
| 82 | ],
|
---|
| 83 | providers: [
|
---|
| 84 | MatDatepickerIntl,
|
---|
| 85 | MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER
|
---|
| 86 | ],
|
---|
| 87 | entryCom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