Socket
Socket
Sign inDemoInstall

@angular/animations

Package Overview
Dependencies
Maintainers
1
Versions
785
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/animations - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0-beta.1

233

@angular/animations.es5.js
/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -7,7 +7,4 @@ * License: MIT

/**
* @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
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/

@@ -57,8 +54,2 @@ /**

}
/**
* @abstract
* @param {?} animation
* @return {?}
*/
AnimationBuilder.prototype.build = function (animation) { };
return AnimationBuilder;

@@ -76,16 +67,168 @@ }());

}
/**
* @abstract
* @param {?} element
* @param {?=} options
* @return {?}
*/
AnimationFactory.prototype.create = function (element, options) { };
return AnimationFactory;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* An instance of this class is returned as an event parameter when an animation
* callback is captured for an animation either during the start or done phase.
*
* ```typescript
* \@Component({
* host: {
* '[\@myAnimationTrigger]': 'someExpression',
* '(\@myAnimationTrigger.start)': 'captureStartEvent($event)',
* '(\@myAnimationTrigger.done)': 'captureDoneEvent($event)',
* },
* animations: [
* trigger("myAnimationTrigger", [
* // ...
* ])
* ]
* })
* class MyComponent {
* someExpression: any = false;
* captureStartEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
*
* captureDoneEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
* }
* ```
*
* \@experimental Animation support is experimental.
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function AnimationEvent() { }
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @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
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function ɵStyleData() { }
/**
* \@experimental Animation support is experimental.
*/
var AUTO_STYLE = '*';
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link trigger trigger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTriggerMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link state state animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link transition transition animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTransitionMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationReferenceMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationQueryMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link keyframes keyframes animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationKeyframesSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link style style animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStyleMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animate animate animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animateChild animateChild animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateChildMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link useAnimation useAnimation animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateRefMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link sequence sequence animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link group group animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationGroupMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link stagger stagger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStaggerMetadata() { }
/**
* `trigger` is an animation-specific function that is designed to be used inside of Angular's

@@ -1021,2 +1164,6 @@ * animation DSL language. If this information is new, please navigate to the

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1030,6 +1177,13 @@ * Copyright Google Inc. All Rights Reserved.

*/
function scheduleMicroTask(cb) {
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function scheduleMicroTask(cb) {
Promise.resolve(null).then(cb);
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1042,4 +1196,13 @@ * Copyright Google Inc. All Rights Reserved.

/**
* AnimationPlayer controls an animation sequence that was produced from a programmatic animation.
* (see {\@link AnimationBuilder AnimationBuilder} for more information on how to create programmatic
* animations.)
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationPlayer() { }
/**
* \@experimental Animation support is experimental.
*/
var NoopAnimationPlayer = (function () {

@@ -1155,2 +1318,6 @@ function NoopAnimationPlayer() {

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1177,6 +1344,6 @@ * Copyright Google Inc. All Rights Reserved.

this.totalTime = 0;
var doneCount = 0;
var destroyCount = 0;
var startCount = 0;
var total = this._players.length;
var /** @type {?} */ doneCount = 0;
var /** @type {?} */ destroyCount = 0;
var /** @type {?} */ startCount = 0;
var /** @type {?} */ total = this._players.length;
if (total == 0) {

@@ -1343,2 +1510,6 @@ scheduleMicroTask(function () { return _this._onFinish(); });

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1352,2 +1523,6 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1365,2 +1540,6 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1378,5 +1557,9 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Generated bundle index. Do not edit.
*/
export { AnimationBuilder, AnimationFactory, AUTO_STYLE, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, NoopAnimationPlayer, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };
export { AnimationBuilder, AnimationFactory, AnimationEvent, AUTO_STYLE, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationQueryMetadata, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, ɵStyleData, AnimationPlayer, NoopAnimationPlayer, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };
//# sourceMappingURL=animations.es5.js.map
/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -7,7 +7,4 @@ * License: MIT

/**
* @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
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/

@@ -55,8 +52,2 @@ /**

class AnimationBuilder {
/**
* @abstract
* @param {?} animation
* @return {?}
*/
build(animation) { }
}

@@ -71,16 +62,169 @@ /**

class AnimationFactory {
/**
* @abstract
* @param {?} element
* @param {?=} options
* @return {?}
*/
create(element, options) { }
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* An instance of this class is returned as an event parameter when an animation
* callback is captured for an animation either during the start or done phase.
*
* ```typescript
* \@Component({
* host: {
* '[\@myAnimationTrigger]': 'someExpression',
* '(\@myAnimationTrigger.start)': 'captureStartEvent($event)',
* '(\@myAnimationTrigger.done)': 'captureDoneEvent($event)',
* },
* animations: [
* trigger("myAnimationTrigger", [
* // ...
* ])
* ]
* })
* class MyComponent {
* someExpression: any = false;
* captureStartEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
*
* captureDoneEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
* }
* ```
*
* \@experimental Animation support is experimental.
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function AnimationEvent() { }
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @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
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function ɵStyleData() { }
/**
* \@experimental Animation support is experimental.
*/
const AUTO_STYLE = '*';
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link trigger trigger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTriggerMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link state state animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link transition transition animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTransitionMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationReferenceMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationQueryMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link keyframes keyframes animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationKeyframesSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link style style animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStyleMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animate animate animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animateChild animateChild animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateChildMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link useAnimation useAnimation animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateRefMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link sequence sequence animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link group group animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationGroupMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link stagger stagger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStaggerMetadata() { }
/**
* `trigger` is an animation-specific function that is designed to be used inside of Angular's

@@ -1009,2 +1153,6 @@ * animation DSL language. If this information is new, please navigate to the

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1018,3 +1166,6 @@ * Copyright Google Inc. All Rights Reserved.

*/
function scheduleMicroTask(cb) {
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function scheduleMicroTask(cb) {
Promise.resolve(null).then(cb);

@@ -1024,2 +1175,6 @@ }

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1032,4 +1187,13 @@ * Copyright Google Inc. All Rights Reserved.

/**
* AnimationPlayer controls an animation sequence that was produced from a programmatic animation.
* (see {\@link AnimationBuilder AnimationBuilder} for more information on how to create programmatic
* animations.)
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationPlayer() { }
/**
* \@experimental Animation support is experimental.
*/
class NoopAnimationPlayer {

@@ -1142,2 +1306,6 @@ constructor() {

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1163,6 +1331,6 @@ * Copyright Google Inc. All Rights Reserved.

this.totalTime = 0;
let doneCount = 0;
let destroyCount = 0;
let startCount = 0;
const total = this._players.length;
let /** @type {?} */ doneCount = 0;
let /** @type {?} */ destroyCount = 0;
let /** @type {?} */ startCount = 0;
const /** @type {?} */ total = this._players.length;
if (total == 0) {

@@ -1325,2 +1493,6 @@ scheduleMicroTask(() => this._onFinish());

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1335,2 +1507,6 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1349,2 +1525,6 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1363,6 +1543,10 @@ * Copyright Google Inc. All Rights Reserved.

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Generated bundle index. Do not edit.
*/
export { AnimationBuilder, AnimationFactory, AUTO_STYLE, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, NoopAnimationPlayer, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };
export { AnimationBuilder, AnimationFactory, AnimationEvent, AUTO_STYLE, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationQueryMetadata, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, ɵStyleData, AnimationPlayer, NoopAnimationPlayer, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };
//# sourceMappingURL=animations.js.map

2

@angular/animations/browser/testing.es5.js
import * as tslib_1 from "tslib";
/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -5,0 +5,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -39,3 +39,3 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -42,0 +42,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -13,3 +13,3 @@ * License: MIT

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -19,7 +19,4 @@ * License: MIT

/**
* @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
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/

@@ -69,8 +66,2 @@ /**

}
/**
* @abstract
* @param {?} animation
* @return {?}
*/
AnimationBuilder.prototype.build = function (animation) { };
return AnimationBuilder;

@@ -88,16 +79,168 @@ }());

}
/**
* @abstract
* @param {?} element
* @param {?=} options
* @return {?}
*/
AnimationFactory.prototype.create = function (element, options) { };
return AnimationFactory;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* An instance of this class is returned as an event parameter when an animation
* callback is captured for an animation either during the start or done phase.
*
* ```typescript
* \@Component({
* host: {
* '[\@myAnimationTrigger]': 'someExpression',
* '(\@myAnimationTrigger.start)': 'captureStartEvent($event)',
* '(\@myAnimationTrigger.done)': 'captureDoneEvent($event)',
* },
* animations: [
* trigger("myAnimationTrigger", [
* // ...
* ])
* ]
* })
* class MyComponent {
* someExpression: any = false;
* captureStartEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
*
* captureDoneEvent(event: AnimationEvent) {
* // the toState, fromState and totalTime data is accessible from the event variable
* }
* }
* ```
*
* \@experimental Animation support is experimental.
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function AnimationEvent() { }
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @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
* @record
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function ɵStyleData() { }
/**
* \@experimental Animation support is experimental.
*/
var AUTO_STYLE = '*';
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link trigger trigger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTriggerMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link state state animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link transition transition animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationTransitionMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationReferenceMetadata() { }
/**
* \@experimental Animation support is experimental.
* @record
*/
function AnimationQueryMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link keyframes keyframes animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationKeyframesSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link style style animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStyleMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animate animate animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link animateChild animateChild animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateChildMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link useAnimation useAnimation animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationAnimateRefMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link sequence sequence animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationSequenceMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link group group animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationGroupMetadata() { }
/**
* Metadata representing the entry of animations. Instances of this interface are provided via the
* animation DSL when the {\@link stagger stagger animation function} is called.
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationStaggerMetadata() { }
/**
* `trigger` is an animation-specific function that is designed to be used inside of Angular's

@@ -1033,2 +1176,6 @@ * animation DSL language. If this information is new, please navigate to the

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1042,6 +1189,13 @@ * Copyright Google Inc. All Rights Reserved.

*/
function scheduleMicroTask(cb) {
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/ function scheduleMicroTask(cb) {
Promise.resolve(null).then(cb);
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1054,4 +1208,13 @@ * Copyright Google Inc. All Rights Reserved.

/**
* AnimationPlayer controls an animation sequence that was produced from a programmatic animation.
* (see {\@link AnimationBuilder AnimationBuilder} for more information on how to create programmatic
* animations.)
*
* \@experimental Animation support is experimental.
* @record
*/
function AnimationPlayer() { }
/**
* \@experimental Animation support is experimental.
*/
var NoopAnimationPlayer = (function () {

@@ -1167,2 +1330,6 @@ function NoopAnimationPlayer() {

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1189,6 +1356,6 @@ * Copyright Google Inc. All Rights Reserved.

this.totalTime = 0;
var doneCount = 0;
var destroyCount = 0;
var startCount = 0;
var total = this._players.length;
var /** @type {?} */ doneCount = 0;
var /** @type {?} */ destroyCount = 0;
var /** @type {?} */ startCount = 0;
var /** @type {?} */ total = this._players.length;
if (total == 0) {

@@ -1355,2 +1522,6 @@ scheduleMicroTask(function () { return _this._onFinish(); });

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license

@@ -1366,3 +1537,18 @@ * Copyright Google Inc. All Rights Reserved.

exports.AnimationFactory = AnimationFactory;
exports.AnimationEvent = AnimationEvent;
exports.AUTO_STYLE = AUTO_STYLE;
exports.AnimationAnimateChildMetadata = AnimationAnimateChildMetadata;
exports.AnimationAnimateMetadata = AnimationAnimateMetadata;
exports.AnimationAnimateRefMetadata = AnimationAnimateRefMetadata;
exports.AnimationGroupMetadata = AnimationGroupMetadata;
exports.AnimationKeyframesSequenceMetadata = AnimationKeyframesSequenceMetadata;
exports.AnimationMetadata = AnimationMetadata;
exports.AnimationQueryMetadata = AnimationQueryMetadata;
exports.AnimationReferenceMetadata = AnimationReferenceMetadata;
exports.AnimationSequenceMetadata = AnimationSequenceMetadata;
exports.AnimationStaggerMetadata = AnimationStaggerMetadata;
exports.AnimationStateMetadata = AnimationStateMetadata;
exports.AnimationStyleMetadata = AnimationStyleMetadata;
exports.AnimationTransitionMetadata = AnimationTransitionMetadata;
exports.AnimationTriggerMetadata = AnimationTriggerMetadata;
exports.animate = animate;

@@ -1381,2 +1567,4 @@ exports.animateChild = animateChild;

exports.useAnimation = useAnimation;
exports.ɵStyleData = ɵStyleData;
exports.AnimationPlayer = AnimationPlayer;
exports.NoopAnimationPlayer = NoopAnimationPlayer;

@@ -1383,0 +1571,0 @@ exports.ɵAnimationGroupPlayer = AnimationGroupPlayer;

/**
* @license Angular v5.0.0-beta.0
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports):"function"==typeof define&&define.amd?define(["exports"],factory):factory((global.ng=global.ng||{},global.ng.animations=global.ng.animations||{}))}(this,function(exports){"use strict";function trigger(name,definitions){return{type:7,name:name,definitions:definitions,options:{}}}function animate(timings,styles){return void 0===styles&&(styles=null),{type:4,styles:styles,timings:timings}}function group(steps,options){return void 0===options&&(options=null),{type:3,steps:steps,options:options}}function sequence(steps,options){return void 0===options&&(options=null),{type:2,steps:steps,options:options}}function style(tokens){return{type:6,styles:tokens,offset:null}}function state(name,styles){return{type:0,name:name,styles:styles}}function keyframes(steps){return{type:5,steps:steps}}function transition(stateChangeExpr,steps,options){return void 0===options&&(options=null),{type:1,expr:stateChangeExpr,animation:steps,options:options}}function animation(steps,options){return void 0===options&&(options=null),{type:8,animation:steps,options:options}}function animateChild(options){return void 0===options&&(options=null),{type:9,options:options}}function useAnimation(animation,options){return void 0===options&&(options=null),{type:10,animation:animation,options:options}}function query(selector,animation,options){return void 0===options&&(options=null),{type:11,selector:selector,animation:animation,options:options}}function stagger(timings,animation){return{type:12,timings:timings,animation:animation}}/**
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports):"function"==typeof define&&define.amd?define(["exports"],factory):factory((global.ng=global.ng||{},global.ng.animations=global.ng.animations||{}))}(this,function(exports){"use strict";function AnimationEvent(){}/**
* @license

@@ -12,2 +12,10 @@ * Copyright Google Inc. All Rights Reserved.

* found in the LICENSE file at https://angular.io/license
* @record
*/
function ɵStyleData(){}function AnimationMetadata(){}function AnimationTriggerMetadata(){}function AnimationStateMetadata(){}function AnimationTransitionMetadata(){}function AnimationReferenceMetadata(){}function AnimationQueryMetadata(){}function AnimationKeyframesSequenceMetadata(){}function AnimationStyleMetadata(){}function AnimationAnimateMetadata(){}function AnimationAnimateChildMetadata(){}function AnimationAnimateRefMetadata(){}function AnimationSequenceMetadata(){}function AnimationGroupMetadata(){}function AnimationStaggerMetadata(){}function trigger(name,definitions){return{type:7,name:name,definitions:definitions,options:{}}}function animate(timings,styles){return void 0===styles&&(styles=null),{type:4,styles:styles,timings:timings}}function group(steps,options){return void 0===options&&(options=null),{type:3,steps:steps,options:options}}function sequence(steps,options){return void 0===options&&(options=null),{type:2,steps:steps,options:options}}function style(tokens){return{type:6,styles:tokens,offset:null}}function state(name,styles){return{type:0,name:name,styles:styles}}function keyframes(steps){return{type:5,steps:steps}}function transition(stateChangeExpr,steps,options){return void 0===options&&(options=null),{type:1,expr:stateChangeExpr,animation:steps,options:options}}function animation(steps,options){return void 0===options&&(options=null),{type:8,animation:steps,options:options}}function animateChild(options){return void 0===options&&(options=null),{type:9,options:options}}function useAnimation(animation,options){return void 0===options&&(options=null),{type:10,animation:animation,options:options}}function query(selector,animation,options){return void 0===options&&(options=null),{type:11,selector:selector,animation:animation,options:options}}function stagger(timings,animation){return{type:12,timings:timings,animation:animation}}/**
* @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
* @param {?} cb

@@ -17,7 +25,2 @@ * @return {?}

function scheduleMicroTask(cb){Promise.resolve(null).then(cb)}/**
* @license Angular v5.0.0-beta.0
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @license

@@ -29,3 +32,8 @@ * Copyright Google Inc. All Rights Reserved.

*/
var AnimationBuilder=function(){function AnimationBuilder(){}return AnimationBuilder.prototype.build=function(animation){},AnimationBuilder}(),AnimationFactory=function(){function AnimationFactory(){}return AnimationFactory.prototype.create=function(element,options){},AnimationFactory}(),AUTO_STYLE="*",NoopAnimationPlayer=function(){function NoopAnimationPlayer(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return NoopAnimationPlayer.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(fn){return fn()}),this._onDoneFns=[])},NoopAnimationPlayer.prototype.onStart=function(fn){this._onStartFns.push(fn)},NoopAnimationPlayer.prototype.onDone=function(fn){this._onDoneFns.push(fn)},NoopAnimationPlayer.prototype.onDestroy=function(fn){this._onDestroyFns.push(fn)},NoopAnimationPlayer.prototype.hasStarted=function(){return this._started},NoopAnimationPlayer.prototype.init=function(){},NoopAnimationPlayer.prototype.play=function(){this.hasStarted()||(this.triggerMicrotask(),this._onStart()),this._started=!0},NoopAnimationPlayer.prototype.triggerMicrotask=function(){var _this=this;scheduleMicroTask(function(){return _this._onFinish()})},NoopAnimationPlayer.prototype._onStart=function(){this._onStartFns.forEach(function(fn){return fn()}),this._onStartFns=[]},NoopAnimationPlayer.prototype.pause=function(){},NoopAnimationPlayer.prototype.restart=function(){},NoopAnimationPlayer.prototype.finish=function(){this._onFinish()},NoopAnimationPlayer.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(fn){return fn()}),this._onDestroyFns=[])},NoopAnimationPlayer.prototype.reset=function(){},NoopAnimationPlayer.prototype.setPosition=function(p){},NoopAnimationPlayer.prototype.getPosition=function(){return 0},NoopAnimationPlayer}(),AnimationGroupPlayer=function(){function AnimationGroupPlayer(_players){var _this=this;this._players=_players,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0;var doneCount=0,destroyCount=0,startCount=0,total=this._players.length;0==total?scheduleMicroTask(function(){return _this._onFinish()}):this._players.forEach(function(player){player.parentPlayer=_this,player.onDone(function(){++doneCount>=total&&_this._onFinish()}),player.onDestroy(function(){++destroyCount>=total&&_this._onDestroy()}),player.onStart(function(){++startCount>=total&&_this._onStart()})}),this.totalTime=this._players.reduce(function(time,player){return Math.max(time,player.totalTime)},0)}return AnimationGroupPlayer.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(fn){return fn()}),this._onDoneFns=[])},AnimationGroupPlayer.prototype.init=function(){this._players.forEach(function(player){return player.init()})},AnimationGroupPlayer.prototype.onStart=function(fn){this._onStartFns.push(fn)},AnimationGroupPlayer.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(fn){return fn()}),this._onStartFns=[],this._started=!0)},AnimationGroupPlayer.prototype.onDone=function(fn){this._onDoneFns.push(fn)},AnimationGroupPlayer.prototype.onDestroy=function(fn){this._onDestroyFns.push(fn)},AnimationGroupPlayer.prototype.hasStarted=function(){return this._started},AnimationGroupPlayer.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this._players.forEach(function(player){return player.play()})},AnimationGroupPlayer.prototype.pause=function(){this._players.forEach(function(player){return player.pause()})},AnimationGroupPlayer.prototype.restart=function(){this._players.forEach(function(player){return player.restart()})},AnimationGroupPlayer.prototype.finish=function(){this._onFinish(),this._players.forEach(function(player){return player.finish()})},AnimationGroupPlayer.prototype.destroy=function(){this._onDestroy()},AnimationGroupPlayer.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this._players.forEach(function(player){return player.destroy()}),this._onDestroyFns.forEach(function(fn){return fn()}),this._onDestroyFns=[])},AnimationGroupPlayer.prototype.reset=function(){this._players.forEach(function(player){return player.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},AnimationGroupPlayer.prototype.setPosition=function(p){var timeAtPosition=p*this.totalTime;this._players.forEach(function(player){var position=player.totalTime?Math.min(1,timeAtPosition/player.totalTime):1;player.setPosition(position)})},AnimationGroupPlayer.prototype.getPosition=function(){var min=0;return this._players.forEach(function(player){var p=player.getPosition();min=Math.min(p,min)}),min},Object.defineProperty(AnimationGroupPlayer.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),AnimationGroupPlayer.prototype.beforeDestroy=function(){this.players.forEach(function(player){player.beforeDestroy&&player.beforeDestroy()})},AnimationGroupPlayer}(),ɵPRE_STYLE="!";exports.AnimationBuilder=AnimationBuilder,exports.AnimationFactory=AnimationFactory,exports.AUTO_STYLE=AUTO_STYLE,exports.animate=animate,exports.animateChild=animateChild,exports.animation=animation,exports.group=group,exports.keyframes=keyframes,exports.query=query,exports.sequence=sequence,exports.stagger=stagger,exports.state=state,exports.style=style,exports.transition=transition,exports.trigger=trigger,exports.useAnimation=useAnimation,exports.NoopAnimationPlayer=NoopAnimationPlayer,exports.ɵAnimationGroupPlayer=AnimationGroupPlayer,exports.ɵPRE_STYLE=ɵPRE_STYLE,Object.defineProperty(exports,"__esModule",{value:!0})});
function AnimationPlayer(){}/**
* @license Angular v5.0.0-beta.1
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
var AnimationBuilder=function(){function AnimationBuilder(){}return AnimationBuilder}(),AnimationFactory=function(){function AnimationFactory(){}return AnimationFactory}(),AUTO_STYLE="*",NoopAnimationPlayer=function(){function NoopAnimationPlayer(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return NoopAnimationPlayer.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(fn){return fn()}),this._onDoneFns=[])},NoopAnimationPlayer.prototype.onStart=function(fn){this._onStartFns.push(fn)},NoopAnimationPlayer.prototype.onDone=function(fn){this._onDoneFns.push(fn)},NoopAnimationPlayer.prototype.onDestroy=function(fn){this._onDestroyFns.push(fn)},NoopAnimationPlayer.prototype.hasStarted=function(){return this._started},NoopAnimationPlayer.prototype.init=function(){},NoopAnimationPlayer.prototype.play=function(){this.hasStarted()||(this.triggerMicrotask(),this._onStart()),this._started=!0},NoopAnimationPlayer.prototype.triggerMicrotask=function(){var _this=this;scheduleMicroTask(function(){return _this._onFinish()})},NoopAnimationPlayer.prototype._onStart=function(){this._onStartFns.forEach(function(fn){return fn()}),this._onStartFns=[]},NoopAnimationPlayer.prototype.pause=function(){},NoopAnimationPlayer.prototype.restart=function(){},NoopAnimationPlayer.prototype.finish=function(){this._onFinish()},NoopAnimationPlayer.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(fn){return fn()}),this._onDestroyFns=[])},NoopAnimationPlayer.prototype.reset=function(){},NoopAnimationPlayer.prototype.setPosition=function(p){},NoopAnimationPlayer.prototype.getPosition=function(){return 0},NoopAnimationPlayer}(),AnimationGroupPlayer=function(){function AnimationGroupPlayer(_players){var _this=this;this._players=_players,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0;var doneCount=0,destroyCount=0,startCount=0,total=this._players.length;0==total?scheduleMicroTask(function(){return _this._onFinish()}):this._players.forEach(function(player){player.parentPlayer=_this,player.onDone(function(){++doneCount>=total&&_this._onFinish()}),player.onDestroy(function(){++destroyCount>=total&&_this._onDestroy()}),player.onStart(function(){++startCount>=total&&_this._onStart()})}),this.totalTime=this._players.reduce(function(time,player){return Math.max(time,player.totalTime)},0)}return AnimationGroupPlayer.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(fn){return fn()}),this._onDoneFns=[])},AnimationGroupPlayer.prototype.init=function(){this._players.forEach(function(player){return player.init()})},AnimationGroupPlayer.prototype.onStart=function(fn){this._onStartFns.push(fn)},AnimationGroupPlayer.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(fn){return fn()}),this._onStartFns=[],this._started=!0)},AnimationGroupPlayer.prototype.onDone=function(fn){this._onDoneFns.push(fn)},AnimationGroupPlayer.prototype.onDestroy=function(fn){this._onDestroyFns.push(fn)},AnimationGroupPlayer.prototype.hasStarted=function(){return this._started},AnimationGroupPlayer.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this._players.forEach(function(player){return player.play()})},AnimationGroupPlayer.prototype.pause=function(){this._players.forEach(function(player){return player.pause()})},AnimationGroupPlayer.prototype.restart=function(){this._players.forEach(function(player){return player.restart()})},AnimationGroupPlayer.prototype.finish=function(){this._onFinish(),this._players.forEach(function(player){return player.finish()})},AnimationGroupPlayer.prototype.destroy=function(){this._onDestroy()},AnimationGroupPlayer.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this._players.forEach(function(player){return player.destroy()}),this._onDestroyFns.forEach(function(fn){return fn()}),this._onDestroyFns=[])},AnimationGroupPlayer.prototype.reset=function(){this._players.forEach(function(player){return player.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},AnimationGroupPlayer.prototype.setPosition=function(p){var timeAtPosition=p*this.totalTime;this._players.forEach(function(player){var position=player.totalTime?Math.min(1,timeAtPosition/player.totalTime):1;player.setPosition(position)})},AnimationGroupPlayer.prototype.getPosition=function(){var min=0;return this._players.forEach(function(player){var p=player.getPosition();min=Math.min(p,min)}),min},Object.defineProperty(AnimationGroupPlayer.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),AnimationGroupPlayer.prototype.beforeDestroy=function(){this.players.forEach(function(player){player.beforeDestroy&&player.beforeDestroy()})},AnimationGroupPlayer}(),ɵPRE_STYLE="!";exports.AnimationBuilder=AnimationBuilder,exports.AnimationFactory=AnimationFactory,exports.AnimationEvent=AnimationEvent,exports.AUTO_STYLE=AUTO_STYLE,exports.AnimationAnimateChildMetadata=AnimationAnimateChildMetadata,exports.AnimationAnimateMetadata=AnimationAnimateMetadata,exports.AnimationAnimateRefMetadata=AnimationAnimateRefMetadata,exports.AnimationGroupMetadata=AnimationGroupMetadata,exports.AnimationKeyframesSequenceMetadata=AnimationKeyframesSequenceMetadata,exports.AnimationMetadata=AnimationMetadata,exports.AnimationQueryMetadata=AnimationQueryMetadata,exports.AnimationReferenceMetadata=AnimationReferenceMetadata,exports.AnimationSequenceMetadata=AnimationSequenceMetadata,exports.AnimationStaggerMetadata=AnimationStaggerMetadata,exports.AnimationStateMetadata=AnimationStateMetadata,exports.AnimationStyleMetadata=AnimationStyleMetadata,exports.AnimationTransitionMetadata=AnimationTransitionMetadata,exports.AnimationTriggerMetadata=AnimationTriggerMetadata,exports.animate=animate,exports.animateChild=animateChild,exports.animation=animation,exports.group=group,exports.keyframes=keyframes,exports.query=query,exports.sequence=sequence,exports.stagger=stagger,exports.state=state,exports.style=style,exports.transition=transition,exports.trigger=trigger,exports.useAnimation=useAnimation,exports.ɵStyleData=ɵStyleData,exports.AnimationPlayer=AnimationPlayer,exports.NoopAnimationPlayer=NoopAnimationPlayer,exports.ɵAnimationGroupPlayer=AnimationGroupPlayer,exports.ɵPRE_STYLE=ɵPRE_STYLE,Object.defineProperty(exports,"__esModule",{value:!0})});
//# sourceMappingURL=animations.umd.min.js.map
{
"name": "@angular/animations",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"description": "Angular - animations integration with web-animationss",

@@ -15,3 +15,3 @@ "main": "./bundles/animations.umd.js",

"peerDependencies": {
"@angular/core": "5.0.0-beta.0"
"@angular/core": "5.0.0-beta.1"
},

@@ -18,0 +18,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc