@angular/animations 19.2.4 → 19.2.6

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.
@@ -1,68 +1,14 @@
1
1
  /**
2
- * @license Angular v19.2.4
2
+ * @license Angular v19.2.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { AnimationPlayer, AnimationTriggerMetadata, ɵStyleDataMap as _StyleDataMap, AnimationMetadata, AnimationOptions, ɵStyleData as _StyleData } from '@angular/animations';
8
- import * as i0 from '@angular/core';
7
+ import { AnimationDriver } from '../animation_driver.d-DZNLUjou.js';
8
+ export { NoopAnimationDriver } from '../animation_driver.d-DZNLUjou.js';
9
+ import { AnimationTriggerMetadata, AnimationPlayer, ɵStyleDataMap as _StyleDataMap, AnimationMetadata, AnimationOptions, ɵStyleData as _StyleData } from '../animation_player.d-CTCg5nkL.js';
9
10
  import { Renderer2, ɵAnimationRendererType as _AnimationRendererType, RendererStyleFlags2, ListenerOptions, RendererFactory2, NgZone, RendererType2 } from '@angular/core';
10
11
 
11
- /**
12
- * @publicApi
13
- *
14
- * `AnimationDriver` implentation for Noop animations
15
- */
16
- declare class NoopAnimationDriver implements AnimationDriver {
17
- /**
18
- * @returns Whether `prop` is a valid CSS property
19
- */
20
- validateStyleProperty(prop: string): boolean;
21
- /**
22
- *
23
- * @returns Whether elm1 contains elm2.
24
- */
25
- containsElement(elm1: any, elm2: any): boolean;
26
- /**
27
- * @returns Rhe parent of the given element or `null` if the element is the `document`
28
- */
29
- getParentElement(element: unknown): unknown;
30
- /**
31
- * @returns The result of the query selector on the element. The array will contain up to 1 item
32
- * if `multi` is `false`.
33
- */
34
- query(element: any, selector: string, multi: boolean): any[];
35
- /**
36
- * @returns The `defaultValue` or empty string
37
- */
38
- computeStyle(element: any, prop: string, defaultValue?: string): string;
39
- /**
40
- * @returns An `NoopAnimationPlayer`
41
- */
42
- animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): AnimationPlayer;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<NoopAnimationDriver, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<NoopAnimationDriver>;
45
- }
46
- /**
47
- * @publicApi
48
- */
49
- declare abstract class AnimationDriver {
50
- /**
51
- * @deprecated Use the NoopAnimationDriver class.
52
- */
53
- static NOOP: AnimationDriver;
54
- abstract validateStyleProperty(prop: string): boolean;
55
- abstract validateAnimatableStyleProperty?: (prop: string) => boolean;
56
- abstract containsElement(elm1: any, elm2: any): boolean;
57
- /**
58
- * Obtains the parent element, if any. `null` is returned if the element does not have a parent.
59
- */
60
- abstract getParentElement(element: unknown): unknown;
61
- abstract query(element: any, selector: string, multi: boolean): any[];
62
- abstract computeStyle(element: any, prop: string, defaultValue?: string): string;
63
- abstract animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing?: string | null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any;
64
- }
65
-
66
12
  declare abstract class AnimationStyleNormalizer {
67
13
  abstract normalizePropertyName(propertyName: string, errors: Error[]): string;
68
14
  abstract normalizeStyleValue(userProvidedProperty: string, normalizedProperty: string, value: string | number, errors: Error[]): string;
@@ -290,4 +236,4 @@ declare function normalizeKeyframes(keyframes: Array<_StyleData> | Array<_StyleD
290
236
  declare function camelCaseToDashCase(input: string): string;
291
237
  declare function allowPreviousPlayerStylesMerge(duration: number, delay: number): boolean;
292
238
 
293
- export { AnimationDriver, NoopAnimationDriver, Animation$1 as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };
239
+ export { AnimationDriver, Animation$1 as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };
@@ -1,11 +1,12 @@
1
1
  /**
2
- * @license Angular v19.2.4
2
+ * @license Angular v19.2.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { AnimationPlayer, ɵStyleDataMap as _StyleDataMap, NoopAnimationPlayer } from '@angular/animations';
8
- import { AnimationDriver } from '@angular/animations/browser';
7
+ import { AnimationPlayer, ɵStyleDataMap as _StyleDataMap, NoopAnimationPlayer } from '../../animation_player.d-CTCg5nkL.js';
8
+ import { AnimationDriver } from '../../animation_driver.d-DZNLUjou.js';
9
+ import '@angular/core';
9
10
 
10
11
  /**
11
12
  * @publicApi