From 670e362c94a35b4e0d16ce27ecf5575a88941568 Mon Sep 17 00:00:00 2001 From: Kara Erickson Date: Wed, 14 Jun 2017 09:58:00 -0700 Subject: [PATCH] chore(): add license comments to src files --- src/cdk/public_api.ts | 8 ++++++++ src/lib/autocomplete/autocomplete-trigger.ts | 8 ++++++++ src/lib/autocomplete/autocomplete.ts | 8 ++++++++ src/lib/autocomplete/index.ts | 8 ++++++++ src/lib/button-toggle/button-toggle.ts | 8 ++++++++ src/lib/button-toggle/index.ts | 8 ++++++++ src/lib/button/button.ts | 8 ++++++++ src/lib/button/index.ts | 8 ++++++++ src/lib/card/card.ts | 8 ++++++++ src/lib/card/index.ts | 8 ++++++++ src/lib/checkbox/checkbox.ts | 8 ++++++++ src/lib/checkbox/index.ts | 8 ++++++++ src/lib/chips/chip-list.ts | 8 ++++++++ src/lib/chips/chip.ts | 8 ++++++++ src/lib/chips/index.ts | 8 ++++++++ src/lib/core.ts | 8 ++++++++ src/lib/core/a11y/activedescendant-key-manager.ts | 8 ++++++++ src/lib/core/a11y/fake-mousedown.ts | 7 +++++++ src/lib/core/a11y/focus-key-manager.ts | 7 +++++++ src/lib/core/a11y/focus-trap.ts | 8 ++++++++ src/lib/core/a11y/index.ts | 8 ++++++++ src/lib/core/a11y/interactivity-checker.ts | 8 ++++++++ src/lib/core/a11y/list-key-manager.ts | 8 ++++++++ src/lib/core/a11y/live-announcer.ts | 8 ++++++++ src/lib/core/animation/animation.ts | 8 ++++++++ src/lib/core/async/promise-completer.ts | 8 ++++++++ src/lib/core/coercion/boolean-property.ts | 8 ++++++++ src/lib/core/coercion/number-property.ts | 8 ++++++++ src/lib/core/common-behaviors/color.ts | 8 ++++++++ src/lib/core/common-behaviors/common-module.ts | 8 ++++++++ src/lib/core/common-behaviors/constructor.ts | 8 ++++++++ src/lib/core/common-behaviors/disabled.ts | 8 ++++++++ src/lib/core/common-behaviors/index.ts | 8 ++++++++ src/lib/core/compatibility/compatibility.ts | 8 ++++++++ src/lib/core/coordination/unique-selection-dispatcher.ts | 8 ++++++++ src/lib/core/core.ts | 8 ++++++++ src/lib/core/data-table/cell.ts | 8 ++++++++ src/lib/core/data-table/data-source.ts | 8 ++++++++ src/lib/core/data-table/data-table.ts | 8 ++++++++ src/lib/core/data-table/index.ts | 8 ++++++++ src/lib/core/data-table/row.ts | 8 ++++++++ src/lib/core/datetime/date-adapter.ts | 8 ++++++++ src/lib/core/datetime/date-formats.ts | 8 ++++++++ src/lib/core/datetime/index.ts | 8 ++++++++ src/lib/core/datetime/native-date-adapter.ts | 8 ++++++++ src/lib/core/datetime/native-date-formats.ts | 8 ++++++++ src/lib/core/gestures/gesture-annotations.ts | 8 ++++++++ src/lib/core/gestures/gesture-config.ts | 8 ++++++++ src/lib/core/index.ts | 8 ++++++++ src/lib/core/keyboard/keycodes.ts | 7 +++++++ src/lib/core/line/line.ts | 8 ++++++++ src/lib/core/observe-content/observe-content.ts | 8 ++++++++ src/lib/core/option/index.ts | 8 ++++++++ src/lib/core/option/optgroup.ts | 8 ++++++++ src/lib/core/option/option.ts | 8 ++++++++ src/lib/core/overlay/fullscreen-overlay-container.ts | 8 ++++++++ src/lib/core/overlay/generic-component-type.ts | 7 +++++++ src/lib/core/overlay/index.ts | 8 ++++++++ src/lib/core/overlay/overlay-container.ts | 8 ++++++++ src/lib/core/overlay/overlay-directives.ts | 8 ++++++++ src/lib/core/overlay/overlay-ref.ts | 8 ++++++++ src/lib/core/overlay/overlay-state.ts | 8 ++++++++ src/lib/core/overlay/overlay.ts | 8 ++++++++ .../core/overlay/position/connected-position-strategy.ts | 8 ++++++++ src/lib/core/overlay/position/connected-position.ts | 8 ++++++++ src/lib/core/overlay/position/fake-viewport-ruler.ts | 8 ++++++++ src/lib/core/overlay/position/global-position-strategy.ts | 8 ++++++++ src/lib/core/overlay/position/overlay-position-builder.ts | 8 ++++++++ src/lib/core/overlay/position/position-strategy.ts | 8 ++++++++ src/lib/core/overlay/position/viewport-ruler.ts | 8 ++++++++ src/lib/core/overlay/scroll/block-scroll-strategy.ts | 8 ++++++++ src/lib/core/overlay/scroll/close-scroll-strategy.ts | 8 ++++++++ src/lib/core/overlay/scroll/index.ts | 8 ++++++++ src/lib/core/overlay/scroll/noop-scroll-strategy.ts | 8 ++++++++ src/lib/core/overlay/scroll/reposition-scroll-strategy.ts | 8 ++++++++ src/lib/core/overlay/scroll/scroll-dispatcher.ts | 8 ++++++++ src/lib/core/overlay/scroll/scroll-strategy-options.ts | 8 ++++++++ src/lib/core/overlay/scroll/scroll-strategy.ts | 8 ++++++++ src/lib/core/overlay/scroll/scrollable.ts | 8 ++++++++ src/lib/core/placeholder/placeholder-options.ts | 8 ++++++++ src/lib/core/platform/features.ts | 8 ++++++++ src/lib/core/platform/index.ts | 8 ++++++++ src/lib/core/platform/platform.ts | 8 ++++++++ src/lib/core/portal/dom-portal-host.ts | 8 ++++++++ src/lib/core/portal/portal-directives.ts | 8 ++++++++ src/lib/core/portal/portal-errors.ts | 8 ++++++++ src/lib/core/portal/portal.ts | 8 ++++++++ src/lib/core/ripple/index.ts | 8 ++++++++ src/lib/core/ripple/ripple-ref.ts | 8 ++++++++ src/lib/core/ripple/ripple-renderer.ts | 8 ++++++++ src/lib/core/ripple/ripple.ts | 8 ++++++++ src/lib/core/rtl/dir.ts | 8 ++++++++ src/lib/core/selection/index.ts | 8 ++++++++ src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts | 8 ++++++++ src/lib/core/selection/selection.ts | 8 ++++++++ src/lib/core/style/apply-transform.ts | 8 ++++++++ src/lib/core/style/focus-origin-monitor.ts | 8 ++++++++ src/lib/core/style/index.ts | 8 ++++++++ src/lib/core/testing/dispatch-events.ts | 8 ++++++++ src/lib/core/testing/event-objects.ts | 8 ++++++++ src/lib/core/testing/jasmine-matchers.ts | 8 ++++++++ src/lib/core/testing/type-in-element.ts | 8 ++++++++ src/lib/core/testing/wrapped-error-message.ts | 8 ++++++++ src/lib/core/util/object-extend.ts | 8 ++++++++ src/lib/datepicker/calendar-body.ts | 8 ++++++++ src/lib/datepicker/calendar.ts | 8 ++++++++ src/lib/datepicker/datepicker-errors.ts | 8 ++++++++ src/lib/datepicker/datepicker-input.ts | 8 ++++++++ src/lib/datepicker/datepicker-intl.ts | 8 ++++++++ src/lib/datepicker/datepicker-toggle.ts | 8 ++++++++ src/lib/datepicker/datepicker.ts | 8 ++++++++ src/lib/datepicker/index.ts | 8 ++++++++ src/lib/datepicker/month-view.ts | 8 ++++++++ src/lib/datepicker/year-view.ts | 8 ++++++++ src/lib/dialog/dialog-config.ts | 8 ++++++++ src/lib/dialog/dialog-container.ts | 8 ++++++++ src/lib/dialog/dialog-content-directives.ts | 8 ++++++++ src/lib/dialog/dialog-injector.ts | 8 ++++++++ src/lib/dialog/dialog-ref.ts | 8 ++++++++ src/lib/dialog/dialog.ts | 8 ++++++++ src/lib/dialog/index.ts | 8 ++++++++ src/lib/expansion/accordion-item.ts | 8 ++++++++ src/lib/expansion/accordion.ts | 8 ++++++++ src/lib/expansion/expansion-panel-header.ts | 8 ++++++++ src/lib/expansion/expansion-panel.ts | 8 ++++++++ src/lib/expansion/index.ts | 8 ++++++++ src/lib/grid-list/grid-list-measure.ts | 7 +++++++ src/lib/grid-list/grid-list.ts | 8 ++++++++ src/lib/grid-list/grid-tile.ts | 8 ++++++++ src/lib/grid-list/index.ts | 8 ++++++++ src/lib/grid-list/tile-coordinator.ts | 8 ++++++++ src/lib/grid-list/tile-styler.ts | 8 ++++++++ src/lib/icon/fake-svgs.ts | 8 ++++++++ src/lib/icon/icon-registry.ts | 8 ++++++++ src/lib/icon/icon.ts | 8 ++++++++ src/lib/icon/index.ts | 8 ++++++++ src/lib/input/autosize.ts | 8 ++++++++ src/lib/input/index.ts | 8 ++++++++ src/lib/input/input-container-errors.ts | 8 ++++++++ src/lib/input/input-container.ts | 8 ++++++++ src/lib/list/index.ts | 8 ++++++++ src/lib/list/list.ts | 8 ++++++++ src/lib/menu/index.ts | 8 ++++++++ src/lib/menu/menu-animations.ts | 8 ++++++++ src/lib/menu/menu-directive.ts | 8 +++++++- src/lib/menu/menu-errors.ts | 8 ++++++++ src/lib/menu/menu-item.ts | 8 ++++++++ src/lib/menu/menu-panel.ts | 8 ++++++++ src/lib/menu/menu-positions.ts | 7 +++++++ src/lib/menu/menu-trigger.ts | 8 ++++++++ src/lib/menu/menu.ts | 8 ++++++++ src/lib/module.ts | 8 ++++++++ src/lib/progress-bar/index.ts | 8 ++++++++ src/lib/progress-bar/progress-bar.ts | 8 ++++++++ src/lib/progress-spinner/index.ts | 8 ++++++++ src/lib/progress-spinner/progress-spinner.ts | 8 ++++++++ src/lib/public_api.ts | 8 ++++++++ src/lib/radio/index.ts | 8 ++++++++ src/lib/radio/radio.ts | 8 ++++++++ src/lib/select/index.ts | 8 ++++++++ src/lib/select/select-animations.ts | 8 ++++++++ src/lib/select/select-errors.ts | 8 ++++++++ src/lib/select/select.ts | 8 ++++++++ src/lib/sidenav/index.ts | 8 ++++++++ src/lib/sidenav/sidenav.ts | 8 ++++++++ src/lib/slide-toggle/index.ts | 8 ++++++++ src/lib/slide-toggle/slide-toggle.ts | 8 ++++++++ src/lib/slider/index.ts | 8 ++++++++ src/lib/slider/slider.ts | 8 ++++++++ src/lib/slider/test-gesture-config.ts | 8 ++++++++ src/lib/snack-bar/index.ts | 8 ++++++++ src/lib/snack-bar/simple-snack-bar.ts | 8 ++++++++ src/lib/snack-bar/snack-bar-config.ts | 8 ++++++++ src/lib/snack-bar/snack-bar-container.ts | 8 ++++++++ src/lib/snack-bar/snack-bar-ref.ts | 8 ++++++++ src/lib/snack-bar/snack-bar.ts | 8 ++++++++ src/lib/tabs/index.ts | 8 ++++++++ src/lib/tabs/ink-bar.ts | 8 ++++++++ src/lib/tabs/tab-body.ts | 8 ++++++++ src/lib/tabs/tab-group.ts | 8 ++++++++ src/lib/tabs/tab-header.ts | 8 ++++++++ src/lib/tabs/tab-label-wrapper.ts | 8 ++++++++ src/lib/tabs/tab-label.ts | 8 ++++++++ src/lib/tabs/tab-nav-bar/index.ts | 8 ++++++++ src/lib/tabs/tab-nav-bar/tab-nav-bar.ts | 8 ++++++++ src/lib/tabs/tab.ts | 8 ++++++++ src/lib/toolbar/index.ts | 8 ++++++++ src/lib/toolbar/toolbar.ts | 8 ++++++++ src/lib/tooltip/index.ts | 8 ++++++++ src/lib/tooltip/tooltip.ts | 8 ++++++++ 190 files changed, 1513 insertions(+), 1 deletion(-) diff --git a/src/cdk/public_api.ts b/src/cdk/public_api.ts index 15ae40dfc919..004bb90c919f 100644 --- a/src/cdk/public_api.ts +++ b/src/cdk/public_api.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export const __TEMP__ = -1; diff --git a/src/lib/autocomplete/autocomplete-trigger.ts b/src/lib/autocomplete/autocomplete-trigger.ts index 4b379c859ddc..62ddede4f5eb 100644 --- a/src/lib/autocomplete/autocomplete-trigger.ts +++ b/src/lib/autocomplete/autocomplete-trigger.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/autocomplete/autocomplete.ts b/src/lib/autocomplete/autocomplete.ts index 994b0c9a8ee0..4a3140a5fb10 100644 --- a/src/lib/autocomplete/autocomplete.ts +++ b/src/lib/autocomplete/autocomplete.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Component, diff --git a/src/lib/autocomplete/index.ts b/src/lib/autocomplete/index.ts index 960b3eebb029..1ec27f6d292e 100644 --- a/src/lib/autocomplete/index.ts +++ b/src/lib/autocomplete/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdOptionModule, OverlayModule, MdCommonModule} from '../core'; import {CommonModule} from '@angular/common'; diff --git a/src/lib/button-toggle/button-toggle.ts b/src/lib/button-toggle/button-toggle.ts index 83ca6af3ad7e..efdf17e6a342 100644 --- a/src/lib/button-toggle/button-toggle.ts +++ b/src/lib/button-toggle/button-toggle.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ContentChildren, diff --git a/src/lib/button-toggle/index.ts b/src/lib/button-toggle/index.ts index cfdfeb590665..e7d0553297f1 100644 --- a/src/lib/button-toggle/index.ts +++ b/src/lib/button-toggle/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {MdButtonToggleGroup, MdButtonToggleGroupMultiple, MdButtonToggle} from './button-toggle'; diff --git a/src/lib/button/button.ts b/src/lib/button/button.ts index 4099d91ea4e6..22a0f6b00785 100644 --- a/src/lib/button/button.ts +++ b/src/lib/button/button.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ChangeDetectionStrategy, Component, diff --git a/src/lib/button/index.ts b/src/lib/button/index.ts index d0aa23583ea0..07311f39bb7d 100644 --- a/src/lib/button/index.ts +++ b/src/lib/button/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdCommonModule, MdRippleModule, StyleModule} from '../core'; diff --git a/src/lib/card/card.ts b/src/lib/card/card.ts index 98b8a2d3e346..3bb042255c6c 100644 --- a/src/lib/card/card.ts +++ b/src/lib/card/card.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ViewEncapsulation, diff --git a/src/lib/card/index.ts b/src/lib/card/index.ts index 7e21eb8b2e0f..b6441d8bd9a9 100644 --- a/src/lib/card/index.ts +++ b/src/lib/card/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdCommonModule} from '../core'; import { diff --git a/src/lib/checkbox/checkbox.ts b/src/lib/checkbox/checkbox.ts index b3ad56726829..dec7ef647811 100644 --- a/src/lib/checkbox/checkbox.ts +++ b/src/lib/checkbox/checkbox.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterViewInit, ChangeDetectionStrategy, diff --git a/src/lib/checkbox/index.ts b/src/lib/checkbox/index.ts index cfcce8f5d697..5ef5e81afebe 100644 --- a/src/lib/checkbox/index.ts +++ b/src/lib/checkbox/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdRippleModule, MdCommonModule, FocusOriginMonitor, ObserveContentModule} from '../core'; diff --git a/src/lib/chips/chip-list.ts b/src/lib/chips/chip-list.ts index 2c34195226c9..77713c36073f 100644 --- a/src/lib/chips/chip-list.ts +++ b/src/lib/chips/chip-list.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/chips/chip.ts b/src/lib/chips/chip.ts index 6cd3f058e812..be1533f9815f 100644 --- a/src/lib/chips/chip.ts +++ b/src/lib/chips/chip.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/chips/index.ts b/src/lib/chips/index.ts index 572f33c54b8b..d4e2dbde8dd6 100644 --- a/src/lib/chips/index.ts +++ b/src/lib/chips/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdChipList} from './chip-list'; import {MdChip, MdBasicChip} from './chip'; diff --git a/src/lib/core.ts b/src/lib/core.ts index 65c514e92521..442e5925d59d 100644 --- a/src/lib/core.ts +++ b/src/lib/core.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './core/index'; diff --git a/src/lib/core/a11y/activedescendant-key-manager.ts b/src/lib/core/a11y/activedescendant-key-manager.ts index 8a688a193999..c0df3831339a 100644 --- a/src/lib/core/a11y/activedescendant-key-manager.ts +++ b/src/lib/core/a11y/activedescendant-key-manager.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {QueryList} from '@angular/core'; import {ListKeyManager, CanDisable} from './list-key-manager'; diff --git a/src/lib/core/a11y/fake-mousedown.ts b/src/lib/core/a11y/fake-mousedown.ts index c0ef6a5289c8..87f6eb92592e 100644 --- a/src/lib/core/a11y/fake-mousedown.ts +++ b/src/lib/core/a11y/fake-mousedown.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ /** * Screenreaders will often fire fake mousedown events when a focusable element diff --git a/src/lib/core/a11y/focus-key-manager.ts b/src/lib/core/a11y/focus-key-manager.ts index dbf1b6107b59..8473b84560ea 100644 --- a/src/lib/core/a11y/focus-key-manager.ts +++ b/src/lib/core/a11y/focus-key-manager.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ import {QueryList} from '@angular/core'; import {ListKeyManager, CanDisable} from './list-key-manager'; diff --git a/src/lib/core/a11y/focus-trap.ts b/src/lib/core/a11y/focus-trap.ts index fdd44921b5fb..70fba4a667cf 100644 --- a/src/lib/core/a11y/focus-trap.ts +++ b/src/lib/core/a11y/focus-trap.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/core/a11y/index.ts b/src/lib/core/a11y/index.ts index feab38419638..4e8d6a5eac76 100644 --- a/src/lib/core/a11y/index.ts +++ b/src/lib/core/a11y/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {FocusTrapDirective, FocusTrapDeprecatedDirective, FocusTrapFactory} from './focus-trap'; import {LIVE_ANNOUNCER_PROVIDER} from './live-announcer'; diff --git a/src/lib/core/a11y/interactivity-checker.ts b/src/lib/core/a11y/interactivity-checker.ts index f9feb4853339..e98ba2b62576 100644 --- a/src/lib/core/a11y/interactivity-checker.ts +++ b/src/lib/core/a11y/interactivity-checker.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {Platform} from '../platform/platform'; diff --git a/src/lib/core/a11y/list-key-manager.ts b/src/lib/core/a11y/list-key-manager.ts index e9e11197b203..cbcde0d44644 100644 --- a/src/lib/core/a11y/list-key-manager.ts +++ b/src/lib/core/a11y/list-key-manager.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {QueryList} from '@angular/core'; import {UP_ARROW, DOWN_ARROW, TAB} from '../core'; import {Observable} from 'rxjs/Observable'; diff --git a/src/lib/core/a11y/live-announcer.ts b/src/lib/core/a11y/live-announcer.ts index bbfecc9733eb..a827c47238b9 100644 --- a/src/lib/core/a11y/live-announcer.ts +++ b/src/lib/core/a11y/live-announcer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Injectable, InjectionToken, diff --git a/src/lib/core/animation/animation.ts b/src/lib/core/animation/animation.ts index 5f98f2692a4b..fae799bb1d0a 100644 --- a/src/lib/core/animation/animation.ts +++ b/src/lib/core/animation/animation.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export class AnimationCurves { static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)'; diff --git a/src/lib/core/async/promise-completer.ts b/src/lib/core/async/promise-completer.ts index 093d8cfd0b49..53691f201d11 100644 --- a/src/lib/core/async/promise-completer.ts +++ b/src/lib/core/async/promise-completer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export class PromiseCompleter { promise: Promise; diff --git a/src/lib/core/coercion/boolean-property.ts b/src/lib/core/coercion/boolean-property.ts index eebe9f2f2d66..a48fe51187ad 100644 --- a/src/lib/core/coercion/boolean-property.ts +++ b/src/lib/core/coercion/boolean-property.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Coerces a data-bound value (typically a string) to a boolean. */ export function coerceBooleanProperty(value: any): boolean { return value != null && `${value}` !== 'false'; diff --git a/src/lib/core/coercion/number-property.ts b/src/lib/core/coercion/number-property.ts index c23b74316d43..eaa782c97c63 100644 --- a/src/lib/core/coercion/number-property.ts +++ b/src/lib/core/coercion/number-property.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Coerces a data-bound value (typically a string) to a number. */ export function coerceNumberProperty(value: any, fallbackValue = 0) { // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string, diff --git a/src/lib/core/common-behaviors/color.ts b/src/lib/core/common-behaviors/color.ts index 82855231726d..89484fff724e 100644 --- a/src/lib/core/common-behaviors/color.ts +++ b/src/lib/core/common-behaviors/color.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Constructor} from './constructor'; import {ElementRef, Renderer2} from '@angular/core'; diff --git a/src/lib/core/common-behaviors/common-module.ts b/src/lib/core/common-behaviors/common-module.ts index 9f47553ba425..a33a30e4f7ba 100644 --- a/src/lib/core/common-behaviors/common-module.ts +++ b/src/lib/core/common-behaviors/common-module.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule, InjectionToken, Optional, Inject, isDevMode} from '@angular/core'; import {DOCUMENT} from '@angular/platform-browser'; import {CompatibilityModule} from '../compatibility/compatibility'; diff --git a/src/lib/core/common-behaviors/constructor.ts b/src/lib/core/common-behaviors/constructor.ts index 5a695a1b4d23..956c9b408deb 100644 --- a/src/lib/core/common-behaviors/constructor.ts +++ b/src/lib/core/common-behaviors/constructor.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export type Constructor = new(...args: any[]) => T; diff --git a/src/lib/core/common-behaviors/disabled.ts b/src/lib/core/common-behaviors/disabled.ts index 5db4d2968f2d..95c6316dbb1e 100644 --- a/src/lib/core/common-behaviors/disabled.ts +++ b/src/lib/core/common-behaviors/disabled.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {coerceBooleanProperty} from '../coercion/boolean-property'; import {Constructor} from './constructor'; diff --git a/src/lib/core/common-behaviors/index.ts b/src/lib/core/common-behaviors/index.ts index 5aaccb7b57d7..93bd48368c36 100644 --- a/src/lib/core/common-behaviors/index.ts +++ b/src/lib/core/common-behaviors/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {CanDisable, mixinDisabled} from './disabled'; diff --git a/src/lib/core/compatibility/compatibility.ts b/src/lib/core/compatibility/compatibility.ts index 6847a818c4e1..2acc1f3f132c 100644 --- a/src/lib/core/compatibility/compatibility.ts +++ b/src/lib/core/compatibility/compatibility.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule, Directive, Inject, Optional, ElementRef, InjectionToken} from '@angular/core'; export const MATERIAL_COMPATIBILITY_MODE = new InjectionToken('md-compatibility-mode'); diff --git a/src/lib/core/coordination/unique-selection-dispatcher.ts b/src/lib/core/coordination/unique-selection-dispatcher.ts index 7816a424e5dd..46eb5d0b8189 100644 --- a/src/lib/core/coordination/unique-selection-dispatcher.ts +++ b/src/lib/core/coordination/unique-selection-dispatcher.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, Optional, SkipSelf} from '@angular/core'; diff --git a/src/lib/core/core.ts b/src/lib/core/core.ts index 8cae512882d5..c6d863d7c102 100644 --- a/src/lib/core/core.ts +++ b/src/lib/core/core.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdLineModule} from './line/line'; import {RtlModule} from './rtl/dir'; diff --git a/src/lib/core/data-table/cell.ts b/src/lib/core/data-table/cell.ts index b63ee504eea3..dfa733a8eaf4 100644 --- a/src/lib/core/data-table/cell.ts +++ b/src/lib/core/data-table/cell.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ContentChild, Directive, ElementRef, Input, Renderer2, TemplateRef} from '@angular/core'; /** diff --git a/src/lib/core/data-table/data-source.ts b/src/lib/core/data-table/data-source.ts index b0a57593ef40..acd4b59d16a1 100644 --- a/src/lib/core/data-table/data-source.ts +++ b/src/lib/core/data-table/data-source.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Observable} from 'rxjs/Observable'; export interface CollectionViewer { diff --git a/src/lib/core/data-table/data-table.ts b/src/lib/core/data-table/data-table.ts index 8d8e76537d9a..070f1fba1efc 100644 --- a/src/lib/core/data-table/data-table.ts +++ b/src/lib/core/data-table/data-table.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Attribute, ChangeDetectionStrategy, diff --git a/src/lib/core/data-table/index.ts b/src/lib/core/data-table/index.ts index 03d8d5491a6f..afa44b9a3a2d 100644 --- a/src/lib/core/data-table/index.ts +++ b/src/lib/core/data-table/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {HeaderRowPlaceholder, RowPlaceholder, CdkTable} from './data-table'; diff --git a/src/lib/core/data-table/row.ts b/src/lib/core/data-table/row.ts index 5c794b04733f..8095990e26d7 100644 --- a/src/lib/core/data-table/row.ts +++ b/src/lib/core/data-table/row.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ChangeDetectionStrategy, Component, diff --git a/src/lib/core/datetime/date-adapter.ts b/src/lib/core/datetime/date-adapter.ts index 938d318339af..b304da615075 100644 --- a/src/lib/core/datetime/date-adapter.ts +++ b/src/lib/core/datetime/date-adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Adapts type `D` to be usable as a date by cdk-based components that work with dates. */ export abstract class DateAdapter { /** The locale to use for all dates. */ diff --git a/src/lib/core/datetime/date-formats.ts b/src/lib/core/datetime/date-formats.ts index b5e4bf29aee5..9ea86e42bbae 100644 --- a/src/lib/core/datetime/date-formats.ts +++ b/src/lib/core/datetime/date-formats.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {InjectionToken} from '@angular/core'; diff --git a/src/lib/core/datetime/index.ts b/src/lib/core/datetime/index.ts index 050b40d2a1d0..bdacc4d1f010 100644 --- a/src/lib/core/datetime/index.ts +++ b/src/lib/core/datetime/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {DateAdapter} from './date-adapter'; import {NativeDateAdapter} from './native-date-adapter'; diff --git a/src/lib/core/datetime/native-date-adapter.ts b/src/lib/core/datetime/native-date-adapter.ts index 6e67c8143a41..dea7fb571bb5 100644 --- a/src/lib/core/datetime/native-date-adapter.ts +++ b/src/lib/core/datetime/native-date-adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DateAdapter} from './date-adapter'; diff --git a/src/lib/core/datetime/native-date-formats.ts b/src/lib/core/datetime/native-date-formats.ts index cfc0ea1e61d4..631cfcb010b5 100644 --- a/src/lib/core/datetime/native-date-formats.ts +++ b/src/lib/core/datetime/native-date-formats.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MdDateFormats} from './date-formats'; diff --git a/src/lib/core/gestures/gesture-annotations.ts b/src/lib/core/gestures/gesture-annotations.ts index 480b0a0f4136..be533f539b68 100644 --- a/src/lib/core/gestures/gesture-annotations.ts +++ b/src/lib/core/gestures/gesture-annotations.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Stripped-down HammerJS annotations to be used within Material, which are necessary, * because HammerJS is an optional dependency. For the full annotations see: diff --git a/src/lib/core/gestures/gesture-config.ts b/src/lib/core/gestures/gesture-config.ts index d18afca20015..ad145d7593f3 100644 --- a/src/lib/core/gestures/gesture-config.ts +++ b/src/lib/core/gestures/gesture-config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, isDevMode} from '@angular/core'; import {HammerGestureConfig} from '@angular/platform-browser'; import {HammerStatic, HammerInstance, Recognizer, RecognizerStatic} from './gesture-annotations'; diff --git a/src/lib/core/index.ts b/src/lib/core/index.ts index 4b0e04137627..60d0a63c1f2e 100644 --- a/src/lib/core/index.ts +++ b/src/lib/core/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './core'; diff --git a/src/lib/core/keyboard/keycodes.ts b/src/lib/core/keyboard/keycodes.ts index 6056b7a97ec0..0ddf23c4798c 100644 --- a/src/lib/core/keyboard/keycodes.ts +++ b/src/lib/core/keyboard/keycodes.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ // Due to a bug in the ChromeDriver, Angular keyboard events are not triggered by `sendKeys` // during E2E tests when using dot notation such as `(keydown.rightArrow)`. To get around this, diff --git a/src/lib/core/line/line.ts b/src/lib/core/line/line.ts index 9ba6624b9cb9..747adc0ccdeb 100644 --- a/src/lib/core/line/line.ts +++ b/src/lib/core/line/line.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { NgModule, Directive, diff --git a/src/lib/core/observe-content/observe-content.ts b/src/lib/core/observe-content/observe-content.ts index 102a24674e0c..2ab239f485da 100644 --- a/src/lib/core/observe-content/observe-content.ts +++ b/src/lib/core/observe-content/observe-content.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/core/option/index.ts b/src/lib/core/option/index.ts index d67e0382941f..5340908cebb6 100644 --- a/src/lib/core/option/index.ts +++ b/src/lib/core/option/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdRippleModule} from '../ripple/index'; diff --git a/src/lib/core/option/optgroup.ts b/src/lib/core/option/optgroup.ts index d73b34c1ed5d..64baea2acdac 100644 --- a/src/lib/core/option/optgroup.ts +++ b/src/lib/core/option/optgroup.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, ViewEncapsulation, ContentChildren, QueryList, Input} from '@angular/core'; import {mixinDisabled, CanDisable} from '../common-behaviors/disabled'; diff --git a/src/lib/core/option/option.ts b/src/lib/core/option/option.ts index 21cab9f941b6..b41ef375fb73 100644 --- a/src/lib/core/option/option.ts +++ b/src/lib/core/option/option.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ElementRef, diff --git a/src/lib/core/overlay/fullscreen-overlay-container.ts b/src/lib/core/overlay/fullscreen-overlay-container.ts index 7dfd7893bced..08f1db6b3f4e 100644 --- a/src/lib/core/overlay/fullscreen-overlay-container.ts +++ b/src/lib/core/overlay/fullscreen-overlay-container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {OverlayContainer} from './overlay-container'; diff --git a/src/lib/core/overlay/generic-component-type.ts b/src/lib/core/overlay/generic-component-type.ts index e7b31c68c4aa..e4c7688dba2f 100644 --- a/src/lib/core/overlay/generic-component-type.ts +++ b/src/lib/core/overlay/generic-component-type.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ export interface ComponentType { new (...args: any[]): T; diff --git a/src/lib/core/overlay/index.ts b/src/lib/core/overlay/index.ts index cb265698e4e2..87986c10dfc7 100644 --- a/src/lib/core/overlay/index.ts +++ b/src/lib/core/overlay/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {Overlay, OVERLAY_PROVIDERS} from './overlay'; export {OverlayContainer} from './overlay-container'; export {FullscreenOverlayContainer} from './fullscreen-overlay-container'; diff --git a/src/lib/core/overlay/overlay-container.ts b/src/lib/core/overlay/overlay-container.ts index f7c9649f76df..ff8fddc38d0d 100644 --- a/src/lib/core/overlay/overlay-container.ts +++ b/src/lib/core/overlay/overlay-container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, Optional, SkipSelf} from '@angular/core'; diff --git a/src/lib/core/overlay/overlay-directives.ts b/src/lib/core/overlay/overlay-directives.ts index a7a66df277b8..a85358b5a6b1 100644 --- a/src/lib/core/overlay/overlay-directives.ts +++ b/src/lib/core/overlay/overlay-directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { NgModule, Directive, diff --git a/src/lib/core/overlay/overlay-ref.ts b/src/lib/core/overlay/overlay-ref.ts index f1deae352c6f..f2d25ce2e83a 100644 --- a/src/lib/core/overlay/overlay-ref.ts +++ b/src/lib/core/overlay/overlay-ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgZone} from '@angular/core'; import {PortalHost, Portal} from '../portal/portal'; import {OverlayState} from './overlay-state'; diff --git a/src/lib/core/overlay/overlay-state.ts b/src/lib/core/overlay/overlay-state.ts index 930e4293f974..35d1fb316462 100644 --- a/src/lib/core/overlay/overlay-state.ts +++ b/src/lib/core/overlay/overlay-state.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PositionStrategy} from './position/position-strategy'; import {LayoutDirection} from '../rtl/dir'; import {ScrollStrategy} from './scroll/scroll-strategy'; diff --git a/src/lib/core/overlay/overlay.ts b/src/lib/core/overlay/overlay.ts index 0cdcfd1df12c..0c40e677a531 100644 --- a/src/lib/core/overlay/overlay.ts +++ b/src/lib/core/overlay/overlay.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ComponentFactoryResolver, Injectable, diff --git a/src/lib/core/overlay/position/connected-position-strategy.ts b/src/lib/core/overlay/position/connected-position-strategy.ts index be515bcb1ce9..f43dd798e61a 100644 --- a/src/lib/core/overlay/position/connected-position-strategy.ts +++ b/src/lib/core/overlay/position/connected-position-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PositionStrategy} from './position-strategy'; import {ElementRef} from '@angular/core'; import {ViewportRuler} from './viewport-ruler'; diff --git a/src/lib/core/overlay/position/connected-position.ts b/src/lib/core/overlay/position/connected-position.ts index a995851bcf89..02021649d230 100644 --- a/src/lib/core/overlay/position/connected-position.ts +++ b/src/lib/core/overlay/position/connected-position.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Horizontal dimension of a connection point on the perimeter of the origin or overlay element. */ import {Optional} from '@angular/core'; export type HorizontalConnectionPos = 'start' | 'center' | 'end'; diff --git a/src/lib/core/overlay/position/fake-viewport-ruler.ts b/src/lib/core/overlay/position/fake-viewport-ruler.ts index e258ee275828..b2f894ab3f07 100644 --- a/src/lib/core/overlay/position/fake-viewport-ruler.ts +++ b/src/lib/core/overlay/position/fake-viewport-ruler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export class FakeViewportRuler { getViewportRect() { diff --git a/src/lib/core/overlay/position/global-position-strategy.ts b/src/lib/core/overlay/position/global-position-strategy.ts index 75dd78b94b36..2b9629f87db8 100644 --- a/src/lib/core/overlay/position/global-position-strategy.ts +++ b/src/lib/core/overlay/position/global-position-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PositionStrategy} from './position-strategy'; diff --git a/src/lib/core/overlay/position/overlay-position-builder.ts b/src/lib/core/overlay/position/overlay-position-builder.ts index b4362d7f2be9..a7535269a4fa 100644 --- a/src/lib/core/overlay/position/overlay-position-builder.ts +++ b/src/lib/core/overlay/position/overlay-position-builder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewportRuler} from './viewport-ruler'; import {ConnectedPositionStrategy} from './connected-position-strategy'; import {ElementRef, Injectable} from '@angular/core'; diff --git a/src/lib/core/overlay/position/position-strategy.ts b/src/lib/core/overlay/position/position-strategy.ts index 3f9f2c9e0d62..00ab1ad3fec9 100644 --- a/src/lib/core/overlay/position/position-strategy.ts +++ b/src/lib/core/overlay/position/position-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Strategy for setting the position on an overlay. */ export interface PositionStrategy { diff --git a/src/lib/core/overlay/position/viewport-ruler.ts b/src/lib/core/overlay/position/viewport-ruler.ts index 079316e0c4d0..426fa5ae4789 100644 --- a/src/lib/core/overlay/position/viewport-ruler.ts +++ b/src/lib/core/overlay/position/viewport-ruler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, Optional, SkipSelf} from '@angular/core'; import {ScrollDispatcher} from '../scroll/scroll-dispatcher'; diff --git a/src/lib/core/overlay/scroll/block-scroll-strategy.ts b/src/lib/core/overlay/scroll/block-scroll-strategy.ts index 438db2efb560..69ef569a8606 100644 --- a/src/lib/core/overlay/scroll/block-scroll-strategy.ts +++ b/src/lib/core/overlay/scroll/block-scroll-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ScrollStrategy} from './scroll-strategy'; import {ViewportRuler} from '../position/viewport-ruler'; diff --git a/src/lib/core/overlay/scroll/close-scroll-strategy.ts b/src/lib/core/overlay/scroll/close-scroll-strategy.ts index 7caca425cde3..dddee65fe44b 100644 --- a/src/lib/core/overlay/scroll/close-scroll-strategy.ts +++ b/src/lib/core/overlay/scroll/close-scroll-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ScrollStrategy, getMdScrollStrategyAlreadyAttachedError} from './scroll-strategy'; import {OverlayRef} from '../overlay-ref'; import {Subscription} from 'rxjs/Subscription'; diff --git a/src/lib/core/overlay/scroll/index.ts b/src/lib/core/overlay/scroll/index.ts index acf5039b6188..692330838ce0 100644 --- a/src/lib/core/overlay/scroll/index.ts +++ b/src/lib/core/overlay/scroll/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {SCROLL_DISPATCHER_PROVIDER} from './scroll-dispatcher'; import {Scrollable} from './scrollable'; diff --git a/src/lib/core/overlay/scroll/noop-scroll-strategy.ts b/src/lib/core/overlay/scroll/noop-scroll-strategy.ts index 3d50a8f7743a..64a4bfb1276b 100644 --- a/src/lib/core/overlay/scroll/noop-scroll-strategy.ts +++ b/src/lib/core/overlay/scroll/noop-scroll-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ScrollStrategy} from './scroll-strategy'; /** diff --git a/src/lib/core/overlay/scroll/reposition-scroll-strategy.ts b/src/lib/core/overlay/scroll/reposition-scroll-strategy.ts index 23a7e70d49e4..fe711edc52db 100644 --- a/src/lib/core/overlay/scroll/reposition-scroll-strategy.ts +++ b/src/lib/core/overlay/scroll/reposition-scroll-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Subscription} from 'rxjs/Subscription'; import {ScrollStrategy, getMdScrollStrategyAlreadyAttachedError} from './scroll-strategy'; import {OverlayRef} from '../overlay-ref'; diff --git a/src/lib/core/overlay/scroll/scroll-dispatcher.ts b/src/lib/core/overlay/scroll/scroll-dispatcher.ts index eb77ffb59672..2bcfb901c626 100644 --- a/src/lib/core/overlay/scroll/scroll-dispatcher.ts +++ b/src/lib/core/overlay/scroll/scroll-dispatcher.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ElementRef, Injectable, NgZone, Optional, SkipSelf} from '@angular/core'; import {Platform} from '../../platform/index'; import {Scrollable} from './scrollable'; diff --git a/src/lib/core/overlay/scroll/scroll-strategy-options.ts b/src/lib/core/overlay/scroll/scroll-strategy-options.ts index 9123cfe27fcf..be6a2dec0b8b 100644 --- a/src/lib/core/overlay/scroll/scroll-strategy-options.ts +++ b/src/lib/core/overlay/scroll/scroll-strategy-options.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {ScrollStrategy} from './scroll-strategy'; import {CloseScrollStrategy} from './close-scroll-strategy'; diff --git a/src/lib/core/overlay/scroll/scroll-strategy.ts b/src/lib/core/overlay/scroll/scroll-strategy.ts index d8631ffafb0a..d9a6bf533247 100644 --- a/src/lib/core/overlay/scroll/scroll-strategy.ts +++ b/src/lib/core/overlay/scroll/scroll-strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OverlayRef} from '../overlay-ref'; /** diff --git a/src/lib/core/overlay/scroll/scrollable.ts b/src/lib/core/overlay/scroll/scrollable.ts index 963235cadc58..8f3fa9497b18 100644 --- a/src/lib/core/overlay/scroll/scrollable.ts +++ b/src/lib/core/overlay/scroll/scrollable.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, OnInit, OnDestroy, NgZone, Renderer2} from '@angular/core'; import {Observable} from 'rxjs/Observable'; import {Subject} from 'rxjs/Subject'; diff --git a/src/lib/core/placeholder/placeholder-options.ts b/src/lib/core/placeholder/placeholder-options.ts index 1d354f8efdf9..ee79b824fa86 100644 --- a/src/lib/core/placeholder/placeholder-options.ts +++ b/src/lib/core/placeholder/placeholder-options.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { InjectionToken } from '@angular/core'; /** InjectionToken that can be used to specify the global placeholder options. */ diff --git a/src/lib/core/platform/features.ts b/src/lib/core/platform/features.ts index 4dec5fa5b94e..67dfeb589e0f 100644 --- a/src/lib/core/platform/features.ts +++ b/src/lib/core/platform/features.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Cached result Set of input types support by the current browser. */ let supportedInputTypes: Set; diff --git a/src/lib/core/platform/index.ts b/src/lib/core/platform/index.ts index f37e660b07c2..ea7a9a4b4cf4 100644 --- a/src/lib/core/platform/index.ts +++ b/src/lib/core/platform/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {Platform} from './platform'; diff --git a/src/lib/core/platform/platform.ts b/src/lib/core/platform/platform.ts index afd34e872a4d..11e12b85eb71 100755 --- a/src/lib/core/platform/platform.ts +++ b/src/lib/core/platform/platform.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; // Whether the current platform supports the V8 Break Iterator. The V8 check diff --git a/src/lib/core/portal/dom-portal-host.ts b/src/lib/core/portal/dom-portal-host.ts index c2244fd4d551..445fe135f4f5 100644 --- a/src/lib/core/portal/dom-portal-host.ts +++ b/src/lib/core/portal/dom-portal-host.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ComponentFactoryResolver, ComponentRef, diff --git a/src/lib/core/portal/portal-directives.ts b/src/lib/core/portal/portal-directives.ts index 36a786e3cac8..3839005b9f94 100644 --- a/src/lib/core/portal/portal-directives.ts +++ b/src/lib/core/portal/portal-directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { NgModule, ComponentRef, diff --git a/src/lib/core/portal/portal-errors.ts b/src/lib/core/portal/portal-errors.ts index e8db7395a946..57a687da44d5 100644 --- a/src/lib/core/portal/portal-errors.ts +++ b/src/lib/core/portal/portal-errors.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Throws an exception when attempting to attach a null portal to a host. * @docs-private diff --git a/src/lib/core/portal/portal.ts b/src/lib/core/portal/portal.ts index b7a09b73c9e6..db6481e9be8d 100644 --- a/src/lib/core/portal/portal.ts +++ b/src/lib/core/portal/portal.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { TemplateRef, ViewContainerRef, diff --git a/src/lib/core/ripple/index.ts b/src/lib/core/ripple/index.ts index c16b39d08958..f2e9272cf7e0 100644 --- a/src/lib/core/ripple/index.ts +++ b/src/lib/core/ripple/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdRipple} from './ripple'; import {MdCommonModule} from '../common-behaviors/common-module'; diff --git a/src/lib/core/ripple/ripple-ref.ts b/src/lib/core/ripple/ripple-ref.ts index 91dbc430c4ad..1f1ec0984ca3 100644 --- a/src/lib/core/ripple/ripple-ref.ts +++ b/src/lib/core/ripple/ripple-ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {RippleConfig, RippleRenderer} from './ripple-renderer'; /** Possible states for a ripple element. */ diff --git a/src/lib/core/ripple/ripple-renderer.ts b/src/lib/core/ripple/ripple-renderer.ts index bd93b5c54854..0a67cc63c829 100644 --- a/src/lib/core/ripple/ripple-renderer.ts +++ b/src/lib/core/ripple/ripple-renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ElementRef, NgZone} from '@angular/core'; import {Platform} from '../platform/platform'; import {ViewportRuler} from '../overlay/position/viewport-ruler'; diff --git a/src/lib/core/ripple/ripple.ts b/src/lib/core/ripple/ripple.ts index 3cf0f097cfee..410c760e8be7 100644 --- a/src/lib/core/ripple/ripple.ts +++ b/src/lib/core/ripple/ripple.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/core/rtl/dir.ts b/src/lib/core/rtl/dir.ts index e00680aa74a6..caca9ed0c332 100644 --- a/src/lib/core/rtl/dir.ts +++ b/src/lib/core/rtl/dir.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { NgModule, Directive, diff --git a/src/lib/core/selection/index.ts b/src/lib/core/selection/index.ts index 5a6f826091fd..1797864dfded 100644 --- a/src/lib/core/selection/index.ts +++ b/src/lib/core/selection/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdPseudoCheckbox} from './pseudo-checkbox/pseudo-checkbox'; diff --git a/src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts b/src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts index 11bbea9d20de..f19baec5aea7 100644 --- a/src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts +++ b/src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ViewEncapsulation, diff --git a/src/lib/core/selection/selection.ts b/src/lib/core/selection/selection.ts index cbbd0b8c246c..a024c2990de9 100644 --- a/src/lib/core/selection/selection.ts +++ b/src/lib/core/selection/selection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Subject} from 'rxjs/Subject'; diff --git a/src/lib/core/style/apply-transform.ts b/src/lib/core/style/apply-transform.ts index 7a856e819588..593fde30eb0f 100644 --- a/src/lib/core/style/apply-transform.ts +++ b/src/lib/core/style/apply-transform.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Applies a CSS transform to an element, including browser-prefixed properties. * @param element diff --git a/src/lib/core/style/focus-origin-monitor.ts b/src/lib/core/style/focus-origin-monitor.ts index cd27e6112ad5..eae2d69a2121 100644 --- a/src/lib/core/style/focus-origin-monitor.ts +++ b/src/lib/core/style/focus-origin-monitor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Directive, ElementRef, diff --git a/src/lib/core/style/index.ts b/src/lib/core/style/index.ts index 52da7eded97f..ef0610762e15 100644 --- a/src/lib/core/style/index.ts +++ b/src/lib/core/style/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CdkMonitorFocus, FOCUS_ORIGIN_MONITOR_PROVIDER} from './focus-origin-monitor'; import {PlatformModule} from '../platform/index'; diff --git a/src/lib/core/testing/dispatch-events.ts b/src/lib/core/testing/dispatch-events.ts index 523989b87b3a..6e7739c22454 100644 --- a/src/lib/core/testing/dispatch-events.ts +++ b/src/lib/core/testing/dispatch-events.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {createFakeEvent, createKeyboardEvent, createMouseEvent} from './event-objects'; /** Utility to dispatch any event on a Node. */ diff --git a/src/lib/core/testing/event-objects.ts b/src/lib/core/testing/event-objects.ts index 5e29bcfcea3d..6b47eb916633 100644 --- a/src/lib/core/testing/event-objects.ts +++ b/src/lib/core/testing/event-objects.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** Creates a browser MouseEvent with the specified options. */ export function createMouseEvent(type: string, x = 0, y = 0) { let event = document.createEvent('MouseEvent'); diff --git a/src/lib/core/testing/jasmine-matchers.ts b/src/lib/core/testing/jasmine-matchers.ts index c13baec5bb08..444e7290a72a 100644 --- a/src/lib/core/testing/jasmine-matchers.ts +++ b/src/lib/core/testing/jasmine-matchers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Collection of useful custom jasmine matchers for tests. */ diff --git a/src/lib/core/testing/type-in-element.ts b/src/lib/core/testing/type-in-element.ts index aba451157d14..b33f6e86af20 100644 --- a/src/lib/core/testing/type-in-element.ts +++ b/src/lib/core/testing/type-in-element.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {dispatchFakeEvent} from './dispatch-events'; /** diff --git a/src/lib/core/testing/wrapped-error-message.ts b/src/lib/core/testing/wrapped-error-message.ts index 7b5bf620303c..3cfd0dbe6298 100644 --- a/src/lib/core/testing/wrapped-error-message.ts +++ b/src/lib/core/testing/wrapped-error-message.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Gets a RegExp used to detect an angular wrapped error message. * See https://github.com/angular/angular/issues/8348 diff --git a/src/lib/core/util/object-extend.ts b/src/lib/core/util/object-extend.ts index 168b8d84abc7..e111ff997524 100644 --- a/src/lib/core/util/object-extend.ts +++ b/src/lib/core/util/object-extend.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Extends an object with the *enumerable* and *own* properties of one or more source objects, * similar to Object.assign. diff --git a/src/lib/datepicker/calendar-body.ts b/src/lib/datepicker/calendar-body.ts index aebe993462bb..b73d92379a1f 100644 --- a/src/lib/datepicker/calendar-body.ts +++ b/src/lib/datepicker/calendar-body.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ChangeDetectionStrategy, Component, diff --git a/src/lib/datepicker/calendar.ts b/src/lib/datepicker/calendar.ts index 2f4d48b989e2..1df35403115c 100644 --- a/src/lib/datepicker/calendar.ts +++ b/src/lib/datepicker/calendar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/datepicker/datepicker-errors.ts b/src/lib/datepicker/datepicker-errors.ts index 494b0d49232e..f438d9ed228a 100644 --- a/src/lib/datepicker/datepicker-errors.ts +++ b/src/lib/datepicker/datepicker-errors.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export function createMissingDateImplError(provider: string) { return new Error( diff --git a/src/lib/datepicker/datepicker-input.ts b/src/lib/datepicker/datepicker-input.ts index ef2a03456639..30e85f30c348 100644 --- a/src/lib/datepicker/datepicker-input.ts +++ b/src/lib/datepicker/datepicker-input.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Directive, diff --git a/src/lib/datepicker/datepicker-intl.ts b/src/lib/datepicker/datepicker-intl.ts index 973bf29cccef..7b7f12ede359 100644 --- a/src/lib/datepicker/datepicker-intl.ts +++ b/src/lib/datepicker/datepicker-intl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; diff --git a/src/lib/datepicker/datepicker-toggle.ts b/src/lib/datepicker/datepicker-toggle.ts index f6382d7b49a4..c3f4a5944540 100644 --- a/src/lib/datepicker/datepicker-toggle.ts +++ b/src/lib/datepicker/datepicker-toggle.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectionStrategy, Component, Input, ViewEncapsulation} from '@angular/core'; import {MdDatepicker} from './datepicker'; import {MdDatepickerIntl} from './datepicker-intl'; diff --git a/src/lib/datepicker/datepicker.ts b/src/lib/datepicker/datepicker.ts index d2077b0dca0c..0f11519edc8b 100644 --- a/src/lib/datepicker/datepicker.ts +++ b/src/lib/datepicker/datepicker.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/datepicker/index.ts b/src/lib/datepicker/index.ts index 9b1c9527f42a..3c3045621bb2 100644 --- a/src/lib/datepicker/index.ts +++ b/src/lib/datepicker/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdMonthView} from './month-view'; import {CommonModule} from '@angular/common'; diff --git a/src/lib/datepicker/month-view.ts b/src/lib/datepicker/month-view.ts index 19c7570d204d..5e19d982a632 100644 --- a/src/lib/datepicker/month-view.ts +++ b/src/lib/datepicker/month-view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/datepicker/year-view.ts b/src/lib/datepicker/year-view.ts index 16532964571f..fa7dfc146cf9 100644 --- a/src/lib/datepicker/year-view.ts +++ b/src/lib/datepicker/year-view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/dialog/dialog-config.ts b/src/lib/dialog/dialog-config.ts index fe00f899abdb..bea6fd8aea30 100644 --- a/src/lib/dialog/dialog-config.ts +++ b/src/lib/dialog/dialog-config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewContainerRef} from '@angular/core'; import {LayoutDirection} from '../core'; diff --git a/src/lib/dialog/dialog-container.ts b/src/lib/dialog/dialog-container.ts index a6db1e8fd40b..c7792cdad42e 100644 --- a/src/lib/dialog/dialog-container.ts +++ b/src/lib/dialog/dialog-container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ComponentRef, diff --git a/src/lib/dialog/dialog-content-directives.ts b/src/lib/dialog/dialog-content-directives.ts index de8769ca7241..1f1487efc034 100644 --- a/src/lib/dialog/dialog-content-directives.ts +++ b/src/lib/dialog/dialog-content-directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Input} from '@angular/core'; import {MdDialogRef} from './dialog-ref'; diff --git a/src/lib/dialog/dialog-injector.ts b/src/lib/dialog/dialog-injector.ts index 8da3c9412946..f8bedc1960f7 100644 --- a/src/lib/dialog/dialog-injector.ts +++ b/src/lib/dialog/dialog-injector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector, InjectionToken} from '@angular/core'; import {MdDialogRef} from './dialog-ref'; diff --git a/src/lib/dialog/dialog-ref.ts b/src/lib/dialog/dialog-ref.ts index b80f4f0b38b5..7ff36ade05d2 100644 --- a/src/lib/dialog/dialog-ref.ts +++ b/src/lib/dialog/dialog-ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OverlayRef, GlobalPositionStrategy} from '../core'; import {AnimationEvent} from '@angular/animations'; import {DialogPosition} from './dialog-config'; diff --git a/src/lib/dialog/dialog.ts b/src/lib/dialog/dialog.ts index aaa2c2a6a03d..46dd99d807d8 100644 --- a/src/lib/dialog/dialog.ts +++ b/src/lib/dialog/dialog.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector, ComponentRef, Injectable, Optional, SkipSelf, TemplateRef} from '@angular/core'; import {Location} from '@angular/common'; import {Observable} from 'rxjs/Observable'; diff --git a/src/lib/dialog/index.ts b/src/lib/dialog/index.ts index bd9fa9e334db..4cf53ae2c605 100644 --- a/src/lib/dialog/index.ts +++ b/src/lib/dialog/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import { diff --git a/src/lib/expansion/accordion-item.ts b/src/lib/expansion/accordion-item.ts index 95c57ee74126..08cbfb4467da 100644 --- a/src/lib/expansion/accordion-item.ts +++ b/src/lib/expansion/accordion-item.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Output, EventEmitter, Input, Injectable, OnDestroy, Optional} from '@angular/core'; import {UniqueSelectionDispatcher} from '../core'; import {CdkAccordion} from './accordion'; diff --git a/src/lib/expansion/accordion.ts b/src/lib/expansion/accordion.ts index 804887d3772f..25cb7cc623a9 100644 --- a/src/lib/expansion/accordion.ts +++ b/src/lib/expansion/accordion.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Input} from '@angular/core'; import {coerceBooleanProperty} from '../core/coercion/boolean-property'; diff --git a/src/lib/expansion/expansion-panel-header.ts b/src/lib/expansion/expansion-panel-header.ts index 1d1875f304e8..d2ba9541fb50 100644 --- a/src/lib/expansion/expansion-panel-header.ts +++ b/src/lib/expansion/expansion-panel-header.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, Directive, diff --git a/src/lib/expansion/expansion-panel.ts b/src/lib/expansion/expansion-panel.ts index 7c7c960c8a48..d7d56b21fa35 100644 --- a/src/lib/expansion/expansion-panel.ts +++ b/src/lib/expansion/expansion-panel.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, Directive, diff --git a/src/lib/expansion/index.ts b/src/lib/expansion/index.ts index 9dbeb268a2e1..63fafd759912 100644 --- a/src/lib/expansion/index.ts +++ b/src/lib/expansion/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule, ModuleWithProviders} from '@angular/core'; import {CommonModule} from '@angular/common'; import {CompatibilityModule, UNIQUE_SELECTION_DISPATCHER_PROVIDER} from '../core'; diff --git a/src/lib/grid-list/grid-list-measure.ts b/src/lib/grid-list/grid-list-measure.ts index e6662469ed98..e6ec02e9450c 100644 --- a/src/lib/grid-list/grid-list-measure.ts +++ b/src/lib/grid-list/grid-list-measure.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ /** * Converts values into strings. Falsy values become empty strings. diff --git a/src/lib/grid-list/grid-list.ts b/src/lib/grid-list/grid-list.ts index b3eb4699bbb2..d32a43e3dacb 100644 --- a/src/lib/grid-list/grid-list.ts +++ b/src/lib/grid-list/grid-list.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ViewEncapsulation, diff --git a/src/lib/grid-list/grid-tile.ts b/src/lib/grid-list/grid-tile.ts index 4a609d833a06..5e22cc7d2d21 100644 --- a/src/lib/grid-list/grid-tile.ts +++ b/src/lib/grid-list/grid-tile.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ViewEncapsulation, diff --git a/src/lib/grid-list/index.ts b/src/lib/grid-list/index.ts index 88129a173572..66e84f2b73cb 100644 --- a/src/lib/grid-list/index.ts +++ b/src/lib/grid-list/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdLineModule, MdCommonModule} from '../core'; import { diff --git a/src/lib/grid-list/tile-coordinator.ts b/src/lib/grid-list/tile-coordinator.ts index eee25638b809..46c78b144c54 100644 --- a/src/lib/grid-list/tile-coordinator.ts +++ b/src/lib/grid-list/tile-coordinator.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {QueryList} from '@angular/core'; import {MdGridTile} from './grid-tile'; diff --git a/src/lib/grid-list/tile-styler.ts b/src/lib/grid-list/tile-styler.ts index 65a3648ff9d8..a5d0dcd5b84a 100644 --- a/src/lib/grid-list/tile-styler.ts +++ b/src/lib/grid-list/tile-styler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MdGridTile} from './grid-tile'; import {TileCoordinator} from './tile-coordinator'; diff --git a/src/lib/icon/fake-svgs.ts b/src/lib/icon/fake-svgs.ts index 6486efbe6e7e..c4acf7c7e18c 100644 --- a/src/lib/icon/fake-svgs.ts +++ b/src/lib/icon/fake-svgs.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Response, ResponseOptions} from '@angular/http'; /** diff --git a/src/lib/icon/icon-registry.ts b/src/lib/icon/icon-registry.ts index 33c03be51cff..84b2c91d4c45 100644 --- a/src/lib/icon/icon-registry.ts +++ b/src/lib/icon/icon-registry.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, SecurityContext, Optional, SkipSelf} from '@angular/core'; import {SafeResourceUrl, DomSanitizer} from '@angular/platform-browser'; import {Http} from '@angular/http'; diff --git a/src/lib/icon/icon.ts b/src/lib/icon/icon.ts index ad7f403da86f..ff6e7ff9fbef 100644 --- a/src/lib/icon/icon.ts +++ b/src/lib/icon/icon.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ChangeDetectionStrategy, Component, diff --git a/src/lib/icon/index.ts b/src/lib/icon/index.ts index 69aafaf239c2..12c584996da7 100644 --- a/src/lib/icon/index.ts +++ b/src/lib/icon/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdCommonModule} from '../core'; import {MdIcon} from './icon'; diff --git a/src/lib/input/autosize.ts b/src/lib/input/autosize.ts index 14a4f67f434e..fbc8ecd8afb3 100644 --- a/src/lib/input/autosize.ts +++ b/src/lib/input/autosize.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Input, AfterViewInit} from '@angular/core'; diff --git a/src/lib/input/index.ts b/src/lib/input/index.ts index f9e09470e688..b15a025e2b38 100644 --- a/src/lib/input/index.ts +++ b/src/lib/input/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import { MdErrorDirective, diff --git a/src/lib/input/input-container-errors.ts b/src/lib/input/input-container-errors.ts index 50a6a86061f1..9763f4e6326e 100644 --- a/src/lib/input/input-container-errors.ts +++ b/src/lib/input/input-container-errors.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** @docs-private */ export function getMdInputContainerPlaceholderConflictError(): Error { return new Error('Placeholder attribute and child element were both specified.'); diff --git a/src/lib/input/input-container.ts b/src/lib/input/input-container.ts index 0fd64f02646f..21a52d8ab734 100644 --- a/src/lib/input/input-container.ts +++ b/src/lib/input/input-container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, AfterContentChecked, diff --git a/src/lib/list/index.ts b/src/lib/list/index.ts index 4d547ae4323f..986b20a1f23a 100644 --- a/src/lib/list/index.ts +++ b/src/lib/list/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdLineModule, MdRippleModule, MdCommonModule} from '../core'; import { diff --git a/src/lib/list/list.ts b/src/lib/list/list.ts index dcc7a77d16fc..e853bcef4201 100644 --- a/src/lib/list/list.ts +++ b/src/lib/list/list.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Component, diff --git a/src/lib/menu/index.ts b/src/lib/menu/index.ts index e4cd4ee8f876..41a9e9f5672a 100644 --- a/src/lib/menu/index.ts +++ b/src/lib/menu/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {OverlayModule, MdCommonModule} from '../core'; diff --git a/src/lib/menu/menu-animations.ts b/src/lib/menu/menu-animations.ts index 4d1caf5bf2a5..07a42bf805c6 100644 --- a/src/lib/menu/menu-animations.ts +++ b/src/lib/menu/menu-animations.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import{ trigger, state, diff --git a/src/lib/menu/menu-directive.ts b/src/lib/menu/menu-directive.ts index fd5991726eb2..e8e674e6beb4 100644 --- a/src/lib/menu/menu-directive.ts +++ b/src/lib/menu/menu-directive.ts @@ -1,4 +1,10 @@ -// TODO(kara): prevent-close functionality +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ import { AfterContentInit, diff --git a/src/lib/menu/menu-errors.ts b/src/lib/menu/menu-errors.ts index caa66addd1dd..e28312bc2c56 100644 --- a/src/lib/menu/menu-errors.ts +++ b/src/lib/menu/menu-errors.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Throws an exception for the case when menu trigger doesn't have a valid md-menu instance * @docs-private diff --git a/src/lib/menu/menu-item.ts b/src/lib/menu/menu-item.ts index 273019f46662..491a6099691b 100644 --- a/src/lib/menu/menu-item.ts +++ b/src/lib/menu/menu-item.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, ElementRef, Input} from '@angular/core'; import {Focusable} from '../core/a11y/focus-key-manager'; import {coerceBooleanProperty} from '../core/coercion/boolean-property'; diff --git a/src/lib/menu/menu-panel.ts b/src/lib/menu/menu-panel.ts index 82fab04e19d5..72e9b81f86a4 100644 --- a/src/lib/menu/menu-panel.ts +++ b/src/lib/menu/menu-panel.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, TemplateRef} from '@angular/core'; import {MenuPositionX, MenuPositionY} from './menu-positions'; diff --git a/src/lib/menu/menu-positions.ts b/src/lib/menu/menu-positions.ts index ed599e3d7c91..6569e76a6c71 100644 --- a/src/lib/menu/menu-positions.ts +++ b/src/lib/menu/menu-positions.ts @@ -1,3 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ export type MenuPositionX = 'before' | 'after'; diff --git a/src/lib/menu/menu-trigger.ts b/src/lib/menu/menu-trigger.ts index a54df373ef40..11de10b053e7 100644 --- a/src/lib/menu/menu-trigger.ts +++ b/src/lib/menu/menu-trigger.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterViewInit, Directive, diff --git a/src/lib/menu/menu.ts b/src/lib/menu/menu.ts index d5041a9068f7..ac3ee4140b25 100644 --- a/src/lib/menu/menu.ts +++ b/src/lib/menu/menu.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {MdMenu} from './menu-directive'; export {MdMenuItem} from './menu-item'; export {MdMenuTrigger} from './menu-trigger'; diff --git a/src/lib/module.ts b/src/lib/module.ts index 2041b0d2c7e5..eb3fa6ccc85f 100644 --- a/src/lib/module.ts +++ b/src/lib/module.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import { diff --git a/src/lib/progress-bar/index.ts b/src/lib/progress-bar/index.ts index ccfe247228c4..c9a403119cd1 100644 --- a/src/lib/progress-bar/index.ts +++ b/src/lib/progress-bar/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdCommonModule} from '../core'; diff --git a/src/lib/progress-bar/progress-bar.ts b/src/lib/progress-bar/progress-bar.ts index 5f4bf5320b04..603a61e350a3 100644 --- a/src/lib/progress-bar/progress-bar.ts +++ b/src/lib/progress-bar/progress-bar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ChangeDetectionStrategy, diff --git a/src/lib/progress-spinner/index.ts b/src/lib/progress-spinner/index.ts index a86596d01eed..159ca80fc4d2 100644 --- a/src/lib/progress-spinner/index.ts +++ b/src/lib/progress-spinner/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdCommonModule} from '../core'; import { diff --git a/src/lib/progress-spinner/progress-spinner.ts b/src/lib/progress-spinner/progress-spinner.ts index c28e034c2888..b19d3a318732 100644 --- a/src/lib/progress-spinner/progress-spinner.ts +++ b/src/lib/progress-spinner/progress-spinner.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, HostBinding, diff --git a/src/lib/public_api.ts b/src/lib/public_api.ts index 1a7a77478014..e28998467e46 100644 --- a/src/lib/public_api.ts +++ b/src/lib/public_api.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/src/lib/radio/index.ts b/src/lib/radio/index.ts index 2be276835c90..d81f789abf17 100644 --- a/src/lib/radio/index.ts +++ b/src/lib/radio/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {VIEWPORT_RULER_PROVIDER} from '../core/overlay/position/viewport-ruler'; diff --git a/src/lib/radio/radio.ts b/src/lib/radio/radio.ts index 6d1a3f16c385..2d141f3fd7c4 100644 --- a/src/lib/radio/radio.ts +++ b/src/lib/radio/radio.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/select/index.ts b/src/lib/select/index.ts index 5fd63dc2b9fc..de0337e3a297 100644 --- a/src/lib/select/index.ts +++ b/src/lib/select/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdSelect} from './select'; diff --git a/src/lib/select/select-animations.ts b/src/lib/select/select-animations.ts index 59c776d95456..e92230508043 100644 --- a/src/lib/select/select-animations.ts +++ b/src/lib/select/select-animations.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { animate, AnimationTriggerMetadata, diff --git a/src/lib/select/select-errors.ts b/src/lib/select/select-errors.ts index 5309f82feccb..5b490b234692 100644 --- a/src/lib/select/select-errors.ts +++ b/src/lib/select/select-errors.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Returns an exception to be thrown when attempting to change a s * elect's `multiple` option after initialization. diff --git a/src/lib/select/select.ts b/src/lib/select/select.ts index 486adc707a67..7be1cf9f60e8 100644 --- a/src/lib/select/select.ts +++ b/src/lib/select/select.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Component, diff --git a/src/lib/sidenav/index.ts b/src/lib/sidenav/index.ts index 9fb2b83154ce..d1a9e3261da3 100644 --- a/src/lib/sidenav/index.ts +++ b/src/lib/sidenav/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {MdCommonModule} from '../core'; diff --git a/src/lib/sidenav/sidenav.ts b/src/lib/sidenav/sidenav.ts index 8dd8116e9377..cb3cd76c2a0c 100644 --- a/src/lib/sidenav/sidenav.ts +++ b/src/lib/sidenav/sidenav.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Component, diff --git a/src/lib/slide-toggle/index.ts b/src/lib/slide-toggle/index.ts index 6bc7a71df5f0..a7454d797f80 100644 --- a/src/lib/slide-toggle/index.ts +++ b/src/lib/slide-toggle/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {HAMMER_GESTURE_CONFIG} from '@angular/platform-browser'; diff --git a/src/lib/slide-toggle/slide-toggle.ts b/src/lib/slide-toggle/slide-toggle.ts index d7b554583710..67087a9afad8 100644 --- a/src/lib/slide-toggle/slide-toggle.ts +++ b/src/lib/slide-toggle/slide-toggle.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, ChangeDetectionStrategy, diff --git a/src/lib/slider/index.ts b/src/lib/slider/index.ts index a01a1936b0f8..118e58930505 100644 --- a/src/lib/slider/index.ts +++ b/src/lib/slider/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {HAMMER_GESTURE_CONFIG} from '@angular/platform-browser'; import {CommonModule} from '@angular/common'; diff --git a/src/lib/slider/slider.ts b/src/lib/slider/slider.ts index d0860a840626..f15cab396b06 100644 --- a/src/lib/slider/slider.ts +++ b/src/lib/slider/slider.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ElementRef, diff --git a/src/lib/slider/test-gesture-config.ts b/src/lib/slider/test-gesture-config.ts index 4efd37318381..65fa7662ca66 100644 --- a/src/lib/slider/test-gesture-config.ts +++ b/src/lib/slider/test-gesture-config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {GestureConfig, HammerManager} from '../core'; diff --git a/src/lib/snack-bar/index.ts b/src/lib/snack-bar/index.ts index 1ad1ce36d376..ad0818aad0d8 100644 --- a/src/lib/snack-bar/index.ts +++ b/src/lib/snack-bar/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {OverlayModule, PortalModule, MdCommonModule, LIVE_ANNOUNCER_PROVIDER} from '../core'; import {CommonModule} from '@angular/common'; diff --git a/src/lib/snack-bar/simple-snack-bar.ts b/src/lib/snack-bar/simple-snack-bar.ts index 6c2ba029c0bd..686db49694a3 100644 --- a/src/lib/snack-bar/simple-snack-bar.ts +++ b/src/lib/snack-bar/simple-snack-bar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, ViewEncapsulation} from '@angular/core'; import {MdSnackBarRef} from './snack-bar-ref'; diff --git a/src/lib/snack-bar/snack-bar-config.ts b/src/lib/snack-bar/snack-bar-config.ts index 031c9c3af9e1..868462cb5e2b 100644 --- a/src/lib/snack-bar/snack-bar-config.ts +++ b/src/lib/snack-bar/snack-bar-config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewContainerRef} from '@angular/core'; import {AriaLivePoliteness, LayoutDirection} from '../core'; diff --git a/src/lib/snack-bar/snack-bar-container.ts b/src/lib/snack-bar/snack-bar-container.ts index c34caeedaf63..6cc3415088ce 100644 --- a/src/lib/snack-bar/snack-bar-container.ts +++ b/src/lib/snack-bar/snack-bar-container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ComponentRef, diff --git a/src/lib/snack-bar/snack-bar-ref.ts b/src/lib/snack-bar/snack-bar-ref.ts index c4e45c59a67f..67f422a4e345 100644 --- a/src/lib/snack-bar/snack-bar-ref.ts +++ b/src/lib/snack-bar/snack-bar-ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OverlayRef} from '../core'; import {Observable} from 'rxjs/Observable'; import {Subject} from 'rxjs/Subject'; diff --git a/src/lib/snack-bar/snack-bar.ts b/src/lib/snack-bar/snack-bar.ts index 473bd0ef8925..84ef02aa59d2 100644 --- a/src/lib/snack-bar/snack-bar.ts +++ b/src/lib/snack-bar/snack-bar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, ComponentRef, Optional, SkipSelf} from '@angular/core'; import { ComponentType, diff --git a/src/lib/tabs/index.ts b/src/lib/tabs/index.ts index a0b6b59b003b..ec129b58e0e9 100644 --- a/src/lib/tabs/index.ts +++ b/src/lib/tabs/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {PortalModule} from '../core'; diff --git a/src/lib/tabs/ink-bar.ts b/src/lib/tabs/ink-bar.ts index 9418e15f9713..9ec6f2b8b0ed 100644 --- a/src/lib/tabs/ink-bar.ts +++ b/src/lib/tabs/ink-bar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Renderer2, ElementRef, NgZone} from '@angular/core'; diff --git a/src/lib/tabs/tab-body.ts b/src/lib/tabs/tab-body.ts index debf68e2665e..61848ed848bd 100644 --- a/src/lib/tabs/tab-body.ts +++ b/src/lib/tabs/tab-body.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ViewChild, Component, diff --git a/src/lib/tabs/tab-group.ts b/src/lib/tabs/tab-group.ts index fbe3745bb277..9c053f1cd9f6 100644 --- a/src/lib/tabs/tab-group.ts +++ b/src/lib/tabs/tab-group.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ViewChild, Component, diff --git a/src/lib/tabs/tab-header.ts b/src/lib/tabs/tab-header.ts index b607266aad9b..410f6559b8c1 100644 --- a/src/lib/tabs/tab-header.ts +++ b/src/lib/tabs/tab-header.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { ViewChild, Component, diff --git a/src/lib/tabs/tab-label-wrapper.ts b/src/lib/tabs/tab-label-wrapper.ts index f7c2988c7aa8..f458e4a85b69 100644 --- a/src/lib/tabs/tab-label-wrapper.ts +++ b/src/lib/tabs/tab-label-wrapper.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Input} from '@angular/core'; import {coerceBooleanProperty} from '../core/coercion/boolean-property'; diff --git a/src/lib/tabs/tab-label.ts b/src/lib/tabs/tab-label.ts index 67eda41d9c6d..702463c3ab5e 100644 --- a/src/lib/tabs/tab-label.ts +++ b/src/lib/tabs/tab-label.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, TemplateRef, ViewContainerRef} from '@angular/core'; import {TemplatePortalDirective} from '../core'; diff --git a/src/lib/tabs/tab-nav-bar/index.ts b/src/lib/tabs/tab-nav-bar/index.ts index f66d9f31e3dd..bf99775fe360 100644 --- a/src/lib/tabs/tab-nav-bar/index.ts +++ b/src/lib/tabs/tab-nav-bar/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './tab-nav-bar'; diff --git a/src/lib/tabs/tab-nav-bar/tab-nav-bar.ts b/src/lib/tabs/tab-nav-bar/tab-nav-bar.ts index b74e33f729fc..579a0c742c64 100644 --- a/src/lib/tabs/tab-nav-bar/tab-nav-bar.ts +++ b/src/lib/tabs/tab-nav-bar/tab-nav-bar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { AfterContentInit, Component, diff --git a/src/lib/tabs/tab.ts b/src/lib/tabs/tab.ts index 530075c7d8af..b8265e25fb5c 100644 --- a/src/lib/tabs/tab.ts +++ b/src/lib/tabs/tab.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {TemplatePortal} from '../core/portal/portal'; import { ViewContainerRef, Input, TemplateRef, ViewChild, OnInit, ContentChild, diff --git a/src/lib/toolbar/index.ts b/src/lib/toolbar/index.ts index 6bf3f7e86d1b..eb66854ca316 100644 --- a/src/lib/toolbar/index.ts +++ b/src/lib/toolbar/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {MdCommonModule} from '../core'; import {MdToolbar, MdToolbarRow} from './toolbar'; diff --git a/src/lib/toolbar/toolbar.ts b/src/lib/toolbar/toolbar.ts index eae0b087d167..28df0fa5bef4 100644 --- a/src/lib/toolbar/toolbar.ts +++ b/src/lib/toolbar/toolbar.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, ChangeDetectionStrategy, diff --git a/src/lib/tooltip/index.ts b/src/lib/tooltip/index.ts index 968a4334c6fa..3bc729d4165b 100644 --- a/src/lib/tooltip/index.ts +++ b/src/lib/tooltip/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgModule} from '@angular/core'; import {OverlayModule, MdCommonModule} from '../core'; import {PlatformModule} from '../core/platform/index'; diff --git a/src/lib/tooltip/tooltip.ts b/src/lib/tooltip/tooltip.ts index 2274f5279023..21479e73f7ac 100644 --- a/src/lib/tooltip/tooltip.ts +++ b/src/lib/tooltip/tooltip.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, Directive,