@angular/animations 8.0.0-rc.3 → 8.0.1
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 +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 +19 -13
- package/bundles/animations-browser.umd.js.map +1 -1
- package/bundles/animations-browser.umd.min.js +8 -8
- 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/browser/src/dsl/style_normalization/web_animations_style_normalizer.js +8 -3
- package/esm2015/browser/src/render/shared.js +27 -19
- package/esm2015/src/version.js +1 -1
- package/esm5/browser/src/dsl/style_normalization/web_animations_style_normalizer.js +5 -3
- package/esm5/browser/src/render/shared.js +16 -11
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +1 -1
- package/fesm2015/browser/testing.js +1 -1
- package/fesm2015/browser.js +33 -21
- package/fesm2015/browser.js.map +1 -1
- package/fesm5/animations.js +1 -1
- package/fesm5/browser/testing.js +1 -1
- package/fesm5/browser.js +19 -13
- 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.0.
|
|
2
|
+
* @license Angular v8.0.1
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -130,17 +130,22 @@ var _isNode = isNode();
|
|
|
130
130
|
if (_isNode || typeof Element !== 'undefined') {
|
|
131
131
|
// this is well supported in all browsers
|
|
132
132
|
_contains = function (elm1, elm2) { return elm1.contains(elm2); };
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
else {
|
|
137
|
-
var proto = Element.prototype;
|
|
138
|
-
var fn_1 = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||
|
|
139
|
-
proto.oMatchesSelector || proto.webkitMatchesSelector;
|
|
140
|
-
if (fn_1) {
|
|
141
|
-
_matches = function (element, selector) { return fn_1.apply(element, [selector]); };
|
|
133
|
+
_matches = (function () {
|
|
134
|
+
if (_isNode || Element.prototype.matches) {
|
|
135
|
+
return function (element, selector) { return element.matches(selector); };
|
|
142
136
|
}
|
|
143
|
-
|
|
137
|
+
else {
|
|
138
|
+
var proto = Element.prototype;
|
|
139
|
+
var fn_1 = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||
|
|
140
|
+
proto.oMatchesSelector || proto.webkitMatchesSelector;
|
|
141
|
+
if (fn_1) {
|
|
142
|
+
return function (element, selector) { return fn_1.apply(element, [selector]); };
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return _matches;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
})();
|
|
144
149
|
_query = function (element, selector, multi) {
|
|
145
150
|
var results = [];
|
|
146
151
|
if (multi) {
|
|
@@ -1988,8 +1993,9 @@ var WebAnimationsStyleNormalizer = /** @class */ (function (_super) {
|
|
|
1988
1993
|
};
|
|
1989
1994
|
return WebAnimationsStyleNormalizer;
|
|
1990
1995
|
}(AnimationStyleNormalizer));
|
|
1991
|
-
var
|
|
1992
|
-
.split(','));
|
|
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'
|
|
1997
|
+
.split(',')); };
|
|
1998
|
+
var DIMENSIONAL_PROP_MAP = (ɵ0)();
|
|
1993
1999
|
function makeBooleanMap(keys) {
|
|
1994
2000
|
var map = {};
|
|
1995
2001
|
keys.forEach(function (key) { return map[key] = true; });
|