source: trip-planner-front/node_modules/@angular/platform-browser/animations/animations.d.ts.__ivy_ngcc_bak

Last change on this file was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 7.0 KB
Line 
1/**
2 * @license Angular v12.2.13
3 * (c) 2010-2021 Google LLC. https://angular.io/
4 * License: MIT
5 */
6
7import { AnimationBuilder } from '@angular/animations';
8import { AnimationDriver } from '@angular/animations/browser';
9import { AnimationFactory } from '@angular/animations';
10import { AnimationMetadata } from '@angular/animations';
11import { AnimationOptions } from '@angular/animations';
12import { AnimationPlayer } from '@angular/animations';
13import { InjectionToken } from '@angular/core';
14import { ModuleWithProviders } from '@angular/core';
15import { NgZone } from '@angular/core';
16import { OnDestroy } from '@angular/core';
17import { Provider } from '@angular/core';
18import { Renderer2 } from '@angular/core';
19import { RendererFactory2 } from '@angular/core';
20import { RendererStyleFlags2 } from '@angular/core';
21import { RendererType2 } from '@angular/core';
22import { ɵAnimationEngine } from '@angular/animations/browser';
23import { ɵAnimationStyleNormalizer } from '@angular/animations/browser';
24import { ɵCssKeyframesDriver } from '@angular/animations/browser';
25import { ɵDomRendererFactory2 } from '@angular/platform-browser';
26import { ɵWebAnimationsDriver } from '@angular/animations/browser';
27import { ɵWebAnimationsStyleNormalizer } from '@angular/animations/browser';
28
29/**
30 * @publicApi
31 */
32export declare const ANIMATION_MODULE_TYPE: InjectionToken<"NoopAnimations" | "BrowserAnimations">;
33
34/**
35 * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)
36 * for use with animations. See [Animations](guide/animations).
37 * @publicApi
38 */
39export declare class BrowserAnimationsModule {
40 /**
41 * Configures the module based on the specified object.
42 *
43 * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.
44 * @see `BrowserAnimationsModuleConfig`
45 *
46 * @usageNotes
47 * When registering the `BrowserAnimationsModule`, you can use the `withConfig`
48 * function as follows:
49 * ```
50 * @NgModule({
51 * imports: [BrowserAnimationsModule.withConfig(config)]
52 * })
53 * class MyNgModule {}
54 * ```
55 */
56 static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders<BrowserAnimationsModule>;
57}
58
59/**
60 * Object used to configure the behavior of {@link BrowserAnimationsModule}
61 * @publicApi
62 */
63export declare interface BrowserAnimationsModuleConfig {
64 /**
65 * Whether animations should be disabled. Passing this is identical to providing the
66 * `NoopAnimationsModule`, but it can be controlled based on a runtime value.
67 */
68 disableAnimations?: boolean;
69}
70
71/**
72 * A null player that must be imported to allow disabling of animations.
73 * @publicApi
74 */
75export declare class NoopAnimationsModule {
76}
77
78export declare function ɵangular_packages_platform_browser_animations_animations_a(): ɵWebAnimationsDriver | ɵCssKeyframesDriver;
79
80export declare function ɵangular_packages_platform_browser_animations_animations_b(): ɵWebAnimationsStyleNormalizer;
81
82export declare function ɵangular_packages_platform_browser_animations_animations_c(renderer: ɵDomRendererFactory2, engine: ɵAnimationEngine, zone: NgZone): ɵAnimationRendererFactory;
83
84/**
85 * Separate providers from the actual module so that we can do a local modification in Google3 to
86 * include them in the BrowserModule.
87 */
88export declare const ɵangular_packages_platform_browser_animations_animations_d: Provider[];
89
90/**
91 * Separate providers from the actual module so that we can do a local modification in Google3 to
92 * include them in the BrowserTestingModule.
93 */
94export declare const ɵangular_packages_platform_browser_animations_animations_e: Provider[];
95
96export declare class ɵangular_packages_platform_browser_animations_animations_f implements Renderer2 {
97 protected namespaceId: string;
98 delegate: Renderer2;
99 engine: ɵAnimationEngine;
100 constructor(namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine);
101 get data(): {
102 [key: string]: any;
103 };
104 destroyNode: ((n: any) => void) | null;
105 destroy(): void;
106 createElement(name: string, namespace?: string | null | undefined): any;
107 createComment(value: string): any;
108 createText(value: string): any;
109 appendChild(parent: any, newChild: any): void;
110 insertBefore(parent: any, newChild: any, refChild: any, isMove?: boolean): void;
111 removeChild(parent: any, oldChild: any, isHostElement: boolean): void;
112 selectRootElement(selectorOrNode: any, preserveContent?: boolean): any;
113 parentNode(node: any): any;
114 nextSibling(node: any): any;
115 setAttribute(el: any, name: string, value: string, namespace?: string | null | undefined): void;
116 removeAttribute(el: any, name: string, namespace?: string | null | undefined): void;
117 addClass(el: any, name: string): void;
118 removeClass(el: any, name: string): void;
119 setStyle(el: any, style: string, value: any, flags?: RendererStyleFlags2 | undefined): void;
120 removeStyle(el: any, style: string, flags?: RendererStyleFlags2 | undefined): void;
121 setProperty(el: any, name: string, value: any): void;
122 setValue(node: any, value: string): void;
123 listen(target: any, eventName: string, callback: (event: any) => boolean | void): () => void;
124 protected disableAnimations(element: any, value: boolean): void;
125}
126
127export declare class ɵAnimationRenderer extends ɵangular_packages_platform_browser_animations_animations_f implements Renderer2 {
128 factory: ɵAnimationRendererFactory;
129 constructor(factory: ɵAnimationRendererFactory, namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine);
130 setProperty(el: any, name: string, value: any): void;
131 listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => any): () => void;
132}
133
134export declare class ɵAnimationRendererFactory implements RendererFactory2 {
135 private delegate;
136 private engine;
137 private _zone;
138 private _currentId;
139 private _microtaskId;
140 private _animationCallbacksBuffer;
141 private _rendererCache;
142 private _cdRecurDepth;
143 private promise;
144 constructor(delegate: RendererFactory2, engine: ɵAnimationEngine, _zone: NgZone);
145 createRenderer(hostElement: any, type: RendererType2): Renderer2;
146 begin(): void;
147 private _scheduleCountTask;
148 end(): void;
149 whenRenderingDone(): Promise<any>;
150}
151
152export declare class ɵBrowserAnimationBuilder extends AnimationBuilder {
153 private _nextAnimationId;
154 private _renderer;
155 constructor(rootRenderer: RendererFactory2, doc: any);
156 build(animation: AnimationMetadata | AnimationMetadata[]): AnimationFactory;
157}
158
159export declare class ɵBrowserAnimationFactory extends AnimationFactory {
160 private _id;
161 private _renderer;
162 constructor(_id: string, _renderer: ɵAnimationRenderer);
163 create(element: any, options?: AnimationOptions): AnimationPlayer;
164}
165
166export declare class ɵInjectableAnimationEngine extends ɵAnimationEngine implements OnDestroy {
167 constructor(doc: any, driver: AnimationDriver, normalizer: ɵAnimationStyleNormalizer);
168 ngOnDestroy(): void;
169}
170
171export { }
Note: See TracBrowser for help on using the repository browser.