@angular/animations 13.3.1 → 13.3.4
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/esm2020/browser/src/dsl/animation_ast_builder.mjs +4 -5
- package/esm2020/browser/src/dsl/animation_timeline_instruction.mjs +1 -1
- package/esm2020/browser/src/render/animation_driver.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/animations.mjs +1 -1
- package/fesm2015/browser/testing.mjs +1 -1
- package/fesm2015/browser.mjs +7 -8
- package/fesm2015/browser.mjs.map +1 -1
- package/fesm2020/animations.mjs +1 -1
- package/fesm2020/browser/testing.mjs +1 -1
- package/fesm2020/browser.mjs +7 -8
- package/fesm2020/browser.mjs.map +1 -1
- package/package.json +2 -2
package/fesm2020/animations.mjs
CHANGED
package/fesm2020/browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.3.
|
|
2
|
+
* @license Angular v13.3.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -372,9 +372,9 @@ class NoopAnimationDriver {
|
|
|
372
372
|
return new NoopAnimationPlayer(duration, delay);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
376
|
-
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
375
|
+
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
376
|
+
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: NoopAnimationDriver });
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
|
378
378
|
type: Injectable
|
|
379
379
|
}] });
|
|
380
380
|
/**
|
|
@@ -1251,11 +1251,10 @@ function isObject(value) {
|
|
|
1251
1251
|
return !Array.isArray(value) && typeof value == 'object';
|
|
1252
1252
|
}
|
|
1253
1253
|
function constructTimingAst(value, errors) {
|
|
1254
|
-
let timings = null;
|
|
1255
1254
|
if (value.hasOwnProperty('duration')) {
|
|
1256
|
-
|
|
1255
|
+
return value;
|
|
1257
1256
|
}
|
|
1258
|
-
|
|
1257
|
+
if (typeof value == 'number') {
|
|
1259
1258
|
const duration = resolveTiming(value, errors).duration;
|
|
1260
1259
|
return makeTimingAst(duration, 0, '');
|
|
1261
1260
|
}
|
|
@@ -1267,7 +1266,7 @@ function constructTimingAst(value, errors) {
|
|
|
1267
1266
|
ast.strValue = strValue;
|
|
1268
1267
|
return ast;
|
|
1269
1268
|
}
|
|
1270
|
-
timings =
|
|
1269
|
+
const timings = resolveTiming(strValue, errors);
|
|
1271
1270
|
return makeTimingAst(timings.duration, timings.delay, timings.easing);
|
|
1272
1271
|
}
|
|
1273
1272
|
function normalizeAnimationOptions(options) {
|