Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
fix: core barrel fixed for ngc
Browse files Browse the repository at this point in the history
  • Loading branch information
matheo committed Feb 26, 2018
1 parent a100910 commit 3ed2596
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/datepicker/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import { first } from 'rxjs/operator/first';
import { Subscription } from 'rxjs/Subscription';
import { MatClockView } from './clock-view';
import { coerceDateProperty } from './coerce-date-property';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { DateAdapter } from './core/index';
import { controlActive, slideCalendar } from './datepicker-animations';
import { createMissingDateImplError } from './datepicker-errors';
import { MatDatepickerIntl } from './datepicker-intl';
Expand Down
4 changes: 2 additions & 2 deletions src/datepicker/clock-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
Output
} from '@angular/core';
import { coerceDateProperty } from './coerce-date-property';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { DateAdapter } from './core/index';

export const CLOCK_RADIUS = 50;
export const CLOCK_INNER_RADIUS = 27.5;
Expand Down
2 changes: 1 addition & 1 deletion src/datepicker/coerce-date-property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/

import { DateAdapter } from './core';
import { DateAdapter } from './core/index';

/**
* Function that attempts to coerce a value to a date using a DateAdapter. Date instances, null,
Expand Down
4 changes: 2 additions & 2 deletions src/datepicker/datepicker-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
import { MatFormField } from '@angular/material/form-field';
import { Subscription } from 'rxjs/Subscription';
import { coerceDateProperty } from './coerce-date-property';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core/index';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { MatDatepicker } from './datepicker';
import { createMissingDateImplError } from './datepicker-errors';

Expand Down
2 changes: 1 addition & 1 deletion src/datepicker/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { Subject } from 'rxjs/Subject';
import { Subscription } from 'rxjs/Subscription';
import { MatCalendar } from './calendar';
import { coerceDateProperty } from './coerce-date-property';
import { DateAdapter } from './core';
import { DateAdapter } from './core/index';
import { createMissingDateImplError } from './datepicker-errors';
import { MatDatepickerInput } from './datepicker-input';

Expand Down
2 changes: 1 addition & 1 deletion src/datepicker/moment-adapter/moment-date-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { Inject, Injectable, Optional } from '@angular/core';
import { DateAdapter, MAT_DATE_LOCALE } from '../core';
import { DateAdapter, MAT_DATE_LOCALE } from '../core/index';

import * as momentNs from 'moment-timezone';
export type Moment = momentNs.Moment;
Expand Down
2 changes: 1 addition & 1 deletion src/datepicker/moment-adapter/moment-date-formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/

import { MatDateFormats } from '../';
import { MatDateFormats } from '../core/index';

export const MAT_MOMENT_DATE_FORMATS: MatDateFormats = {
parse: {
Expand Down
4 changes: 2 additions & 2 deletions src/datepicker/month-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {
} from '@angular/core';
import { MatCalendarCell } from './calendar-body';
import { coerceDateProperty } from './coerce-date-property';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { DateAdapter } from './core/index';
import { slideCalendar } from './datepicker-animations';
import { createMissingDateImplError } from './datepicker-errors';

Expand Down
4 changes: 2 additions & 2 deletions src/datepicker/year-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {
} from '@angular/core';
import { MatCalendarCell } from './calendar-body';
import { coerceDateProperty } from './coerce-date-property';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { DateAdapter } from './core/index';
import { slideCalendar } from './datepicker-animations';
import { createMissingDateImplError } from './datepicker-errors';

Expand Down
4 changes: 2 additions & 2 deletions src/datepicker/years-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import 'rxjs/add/operator/sampleTime';
import { Observable } from 'rxjs/Observable';
import { Subscription } from 'rxjs/Subscription';
import { coerceDateProperty } from './coerce-date-property';
import { MAT_DATE_FORMATS, MatDateFormats } from './core';
import { DateAdapter } from './core';
import { MAT_DATE_FORMATS, MatDateFormats } from './core/index';
import { DateAdapter } from './core/index';
import { createMissingDateImplError } from './datepicker-errors';

const YEAR_LINE_HEIGHT = 35;
Expand Down

0 comments on commit 3ed2596

Please sign in to comment.