@angular/animations 8.2.1 → 8.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations.d.ts +1 -1
- package/browser/browser.d.ts +1 -1
- package/browser/testing/testing.d.ts +1 -1
- package/browser/testing.d.ts +1 -1
- package/browser.d.ts +1 -1
- package/bundles/animations-browser-testing.umd.js +159 -1
- package/bundles/animations-browser-testing.umd.js.map +1 -1
- package/bundles/animations-browser-testing.umd.min.js +1 -1
- package/bundles/animations-browser-testing.umd.min.js.map +1 -1
- package/bundles/animations-browser.umd.js +138 -3
- package/bundles/animations-browser.umd.js.map +1 -1
- package/bundles/animations-browser.umd.min.js +1 -1
- package/bundles/animations-browser.umd.min.js.map +1 -1
- package/bundles/animations.umd.js +1 -1
- package/bundles/animations.umd.min.js +1 -1
- package/bundles/animations.umd.min.js.map +1 -1
- package/esm2015/animations.externs.js +1 -1
- package/esm2015/browser/browser.externs.js +4 -4
- package/esm2015/src/version.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +592 -1
- package/fesm2015/animations.js.map +1 -1
- package/fesm2015/browser/testing.js +38 -1
- package/fesm2015/browser/testing.js.map +1 -1
- package/fesm2015/browser.js +926 -6
- package/fesm2015/browser.js.map +1 -1
- package/fesm5/animations.js +1 -1
- package/fesm5/browser/testing.js +1 -1
- package/fesm5/browser.js +32 -3
- package/fesm5/browser.js.map +1 -1
- package/package.json +2 -2
package/fesm5/animations.js
CHANGED
package/fesm5/browser/testing.js
CHANGED
package/fesm5/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.2.
|
|
2
|
+
* @license Angular v8.2.5
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -118,12 +118,15 @@ function parseTimelineCommand(command) {
|
|
|
118
118
|
return [id, action];
|
|
119
119
|
}
|
|
120
120
|
var _contains = function (elm1, elm2) { return false; };
|
|
121
|
+
var ɵ0 = _contains;
|
|
121
122
|
var _matches = function (element, selector) {
|
|
122
123
|
return false;
|
|
123
124
|
};
|
|
125
|
+
var ɵ1 = _matches;
|
|
124
126
|
var _query = function (element, selector, multi) {
|
|
125
127
|
return [];
|
|
126
128
|
};
|
|
129
|
+
var ɵ2 = _query;
|
|
127
130
|
// Define utility methods for browsers and platform-server(domino) where Element
|
|
128
131
|
// and utility methods exist.
|
|
129
132
|
var _isNode = isNode();
|
|
@@ -248,6 +251,8 @@ var SUBSTITUTION_EXPR_START = '{{';
|
|
|
248
251
|
var SUBSTITUTION_EXPR_END = '}}';
|
|
249
252
|
var ENTER_CLASSNAME = 'ng-enter';
|
|
250
253
|
var LEAVE_CLASSNAME = 'ng-leave';
|
|
254
|
+
var ENTER_SELECTOR = '.ng-enter';
|
|
255
|
+
var LEAVE_SELECTOR = '.ng-leave';
|
|
251
256
|
var NG_TRIGGER_CLASSNAME = 'ng-trigger';
|
|
252
257
|
var NG_TRIGGER_SELECTOR = '.ng-trigger';
|
|
253
258
|
var NG_ANIMATING_CLASSNAME = 'ng-animating';
|
|
@@ -456,6 +461,21 @@ function iteratorToArray(iterator) {
|
|
|
456
461
|
}
|
|
457
462
|
return arr;
|
|
458
463
|
}
|
|
464
|
+
function mergeAnimationOptions(source, destination) {
|
|
465
|
+
if (source.params) {
|
|
466
|
+
var p0_1 = source.params;
|
|
467
|
+
if (!destination.params) {
|
|
468
|
+
destination.params = {};
|
|
469
|
+
}
|
|
470
|
+
var p1_1 = destination.params;
|
|
471
|
+
Object.keys(p0_1).forEach(function (param) {
|
|
472
|
+
if (!p1_1.hasOwnProperty(param)) {
|
|
473
|
+
p1_1[param] = p0_1[param];
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
return destination;
|
|
478
|
+
}
|
|
459
479
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
460
480
|
function dashCaseToCamelCase(input) {
|
|
461
481
|
return input.replace(DASH_CASE_REGEXP, function () {
|
|
@@ -1993,9 +2013,9 @@ var WebAnimationsStyleNormalizer = /** @class */ (function (_super) {
|
|
|
1993
2013
|
};
|
|
1994
2014
|
return WebAnimationsStyleNormalizer;
|
|
1995
2015
|
}(AnimationStyleNormalizer));
|
|
1996
|
-
var ɵ0 = function () { return makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'
|
|
2016
|
+
var ɵ0$1 = function () { return makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'
|
|
1997
2017
|
.split(',')); };
|
|
1998
|
-
var DIMENSIONAL_PROP_MAP = (ɵ0)();
|
|
2018
|
+
var DIMENSIONAL_PROP_MAP = (ɵ0$1)();
|
|
1999
2019
|
function makeBooleanMap(keys) {
|
|
2000
2020
|
var map = {};
|
|
2001
2021
|
keys.forEach(function (key) { return map[key] = true; });
|
|
@@ -3732,6 +3752,15 @@ function buildRootMap(roots, nodes) {
|
|
|
3732
3752
|
return rootMap;
|
|
3733
3753
|
}
|
|
3734
3754
|
var CLASSES_CACHE_KEY = '$$classes';
|
|
3755
|
+
function containsClass(element, className) {
|
|
3756
|
+
if (element.classList) {
|
|
3757
|
+
return element.classList.contains(className);
|
|
3758
|
+
}
|
|
3759
|
+
else {
|
|
3760
|
+
var classes = element[CLASSES_CACHE_KEY];
|
|
3761
|
+
return classes && classes[className];
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3735
3764
|
function addClass(element, className) {
|
|
3736
3765
|
if (element.classList) {
|
|
3737
3766
|
element.classList.add(className);
|