Skip to content

Commit 50f745c

Browse files
76c60a6 refactor(core): move signal toString to primitives (#60365)
1 parent 5f910ce commit 50f745c

17 files changed

+3400
-3354
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Thu Mar 27 18:23:27 UTC 2025
2-
f7385b414030ae9db31c79c8d3b12926c1f487b4
1+
Thu Mar 27 19:49:36 UTC 2025
2+
76c60a609fecb7bb7d9de576e9486d22fc4e932e

animation_driver.d-Chtv1cvS.d.ts

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/**
2+
* @license Angular v20.0.0-next.4+sha-76c60a6
3+
* (c) 2010-2025 Google LLC. https://angular.io/
4+
* License: MIT
5+
*/
6+
7+
import * as i0 from '@angular/core';
8+
import { b as AnimationPlayer } from './animation_player.d-BR41_NcW.js';
9+
10+
/**
11+
* @publicApi
12+
*
13+
* `AnimationDriver` implentation for Noop animations
14+
*/
15+
declare class NoopAnimationDriver implements AnimationDriver {
16+
/**
17+
* @returns Whether `prop` is a valid CSS property
18+
*/
19+
validateStyleProperty(prop: string): boolean;
20+
/**
21+
*
22+
* @returns Whether elm1 contains elm2.
23+
*/
24+
containsElement(elm1: any, elm2: any): boolean;
25+
/**
26+
* @returns Rhe parent of the given element or `null` if the element is the `document`
27+
*/
28+
getParentElement(element: unknown): unknown;
29+
/**
30+
* @returns The result of the query selector on the element. The array will contain up to 1 item
31+
* if `multi` is `false`.
32+
*/
33+
query(element: any, selector: string, multi: boolean): any[];
34+
/**
35+
* @returns The `defaultValue` or empty string
36+
*/
37+
computeStyle(element: any, prop: string, defaultValue?: string): string;
38+
/**
39+
* @returns An `NoopAnimationPlayer`
40+
*/
41+
animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): AnimationPlayer;
42+
static ɵfac: i0.ɵɵFactoryDeclaration<NoopAnimationDriver, never>;
43+
static ɵprov: i0.ɵɵInjectableDeclaration<NoopAnimationDriver>;
44+
}
45+
/**
46+
* @publicApi
47+
*/
48+
declare abstract class AnimationDriver {
49+
/**
50+
* @deprecated Use the NoopAnimationDriver class.
51+
*/
52+
static NOOP: AnimationDriver;
53+
abstract validateStyleProperty(prop: string): boolean;
54+
abstract validateAnimatableStyleProperty?: (prop: string) => boolean;
55+
abstract containsElement(elm1: any, elm2: any): boolean;
56+
/**
57+
* Obtains the parent element, if any. `null` is returned if the element does not have a parent.
58+
*/
59+
abstract getParentElement(element: unknown): unknown;
60+
abstract query(element: any, selector: string, multi: boolean): any[];
61+
abstract computeStyle(element: any, prop: string, defaultValue?: string): string;
62+
abstract animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing?: string | null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any;
63+
}
64+
65+
export { AnimationDriver as A, NoopAnimationDriver as N };

0 commit comments

Comments
 (0)