1 | /**
|
---|
2 | * @license Angular v12.2.13
|
---|
3 | * (c) 2010-2021 Google LLC. https://angular.io/
|
---|
4 | * License: MIT
|
---|
5 | */
|
---|
6 |
|
---|
7 | import { CompileMetadataResolver } from '@angular/compiler';
|
---|
8 | import { Compiler } from '@angular/core';
|
---|
9 | import { CompilerConfig } from '@angular/compiler';
|
---|
10 | import { CompileReflector } from '@angular/compiler';
|
---|
11 | import { CompilerFactory } from '@angular/core';
|
---|
12 | import { CompilerOptions } from '@angular/core';
|
---|
13 | import { ComponentFactory } from '@angular/core';
|
---|
14 | import { Injector } from '@angular/core';
|
---|
15 | import { JitEvaluator } from '@angular/compiler';
|
---|
16 | import { ModuleWithComponentFactories } from '@angular/core';
|
---|
17 | import { NgModuleCompiler } from '@angular/compiler';
|
---|
18 | import { NgModuleFactory } from '@angular/core';
|
---|
19 | import { PlatformRef } from '@angular/core';
|
---|
20 | import { Provider } from '@angular/core';
|
---|
21 | import { ResourceLoader } from '@angular/compiler';
|
---|
22 | import { StaticProvider } from '@angular/core';
|
---|
23 | import { StyleCompiler } from '@angular/compiler';
|
---|
24 | import { SummaryResolver } from '@angular/compiler';
|
---|
25 | import { TemplateParser } from '@angular/compiler';
|
---|
26 | import { Type } from '@angular/core';
|
---|
27 | import { Version } from '@angular/core';
|
---|
28 | import { ViewCompiler } from '@angular/compiler';
|
---|
29 | import { ɵConsole } from '@angular/core';
|
---|
30 |
|
---|
31 | /**
|
---|
32 | * @publicApi
|
---|
33 | */
|
---|
34 | import * as ɵngcc0 from '@angular/core';
|
---|
35 | export declare class JitCompilerFactory implements CompilerFactory {
|
---|
36 | private _defaultOptions;
|
---|
37 | createCompiler(options?: CompilerOptions[]): Compiler;
|
---|
38 | }
|
---|
39 |
|
---|
40 | /**
|
---|
41 | * @publicApi
|
---|
42 | */
|
---|
43 | export declare const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
---|
44 |
|
---|
45 | /**
|
---|
46 | * @publicApi
|
---|
47 | */
|
---|
48 | export declare const RESOURCE_CACHE_PROVIDER: Provider[];
|
---|
49 |
|
---|
50 | /**
|
---|
51 | * @publicApi
|
---|
52 | */
|
---|
53 | export declare const VERSION: Version;
|
---|
54 |
|
---|
55 | /**
|
---|
56 | * An implementation of ResourceLoader that uses a template cache to avoid doing an actual
|
---|
57 | * ResourceLoader.
|
---|
58 | *
|
---|
59 | * The template cache needs to be built and loaded into window.$templateCache
|
---|
60 | * via a separate mechanism.
|
---|
61 | *
|
---|
62 | * @publicApi
|
---|
63 | */
|
---|
64 | export declare class ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a extends ResourceLoader {
|
---|
65 | private _cache;
|
---|
66 | constructor();
|
---|
67 | get(url: string): Promise<string>;
|
---|
68 | }
|
---|
69 |
|
---|
70 | export declare const ɵCOMPILER_PROVIDERS__POST_R3__: StaticProvider[];
|
---|
71 |
|
---|
72 | export declare class ɵCompilerImpl implements Compiler {
|
---|
73 | private _metadataResolver;
|
---|
74 | private _delegate;
|
---|
75 | readonly injector: Injector;
|
---|
76 | constructor(injector: Injector, _metadataResolver: CompileMetadataResolver, templateParser: TemplateParser, styleCompiler: StyleCompiler, viewCompiler: ViewCompiler, ngModuleCompiler: NgModuleCompiler, summaryResolver: SummaryResolver<Type<any>>, compileReflector: CompileReflector, jitEvaluator: JitEvaluator, compilerConfig: CompilerConfig, console: ɵConsole);
|
---|
77 | private getExtraNgModuleProviders;
|
---|
78 | compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>;
|
---|
79 | compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>;
|
---|
80 | compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>;
|
---|
81 | compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>;
|
---|
82 | loadAotSummaries(summaries: () => any[]): void;
|
---|
83 | hasAotSummary(ref: Type<any>): boolean;
|
---|
84 | getComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
|
---|
85 | clearCache(): void;
|
---|
86 | clearCacheFor(type: Type<any>): void;
|
---|
87 | getModuleId(moduleType: Type<any>): string | undefined;
|
---|
88 | }
|
---|
89 |
|
---|
90 | /**
|
---|
91 | * @publicApi
|
---|
92 | */
|
---|
93 | export declare const ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[];
|
---|
94 |
|
---|
95 | /**
|
---|
96 | * A platform that included corePlatform and the compiler.
|
---|
97 | *
|
---|
98 | * @publicApi
|
---|
99 | */
|
---|
100 | export declare const ɵplatformCoreDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
---|
101 |
|
---|
102 | export declare class ɵResourceLoaderImpl extends ResourceLoader {
|
---|
103 | get(url: string): Promise<string>;
|
---|
104 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ɵResourceLoaderImpl, never>;
|
---|
105 | static ɵprov: ɵngcc0.ɵɵInjectableDeclaration<ɵResourceLoaderImpl>;
|
---|
106 | }
|
---|
107 |
|
---|
108 | export { }
|
---|
109 |
|
---|
110 | //# sourceMappingURL=platform-browser-dynamic.d.ts.map |
---|