1 |
|
2 |
|
3 |
|
4 |
|
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 |
|
33 |
|
34 | export declare class JitCompilerFactory implements CompilerFactory {
|
35 | private _defaultOptions;
|
36 | createCompiler(options?: CompilerOptions[]): Compiler;
|
37 | }
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | export declare const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export declare const RESOURCE_CACHE_PROVIDER: Provider[];
|
48 |
|
49 |
|
50 |
|
51 |
|
52 | export declare const VERSION: Version;
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 | export declare class ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a extends ResourceLoader {
|
64 | private _cache;
|
65 | constructor();
|
66 | get(url: string): Promise<string>;
|
67 | }
|
68 |
|
69 | export declare class ɵCompilerImpl implements Compiler {
|
70 | private _metadataResolver;
|
71 | private _delegate;
|
72 | readonly injector: Injector;
|
73 | 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);
|
74 | private getExtraNgModuleProviders;
|
75 | compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>;
|
76 | compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>;
|
77 | compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>;
|
78 | compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>;
|
79 | loadAotSummaries(summaries: () => any[]): void;
|
80 | hasAotSummary(ref: Type<any>): boolean;
|
81 | getComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
|
82 | clearCache(): void;
|
83 | clearCacheFor(type: Type<any>): void;
|
84 | getModuleId(moduleType: Type<any>): string | undefined;
|
85 | }
|
86 |
|
87 | /**
|
88 | * @publicApi
|
89 | */
|
90 | export declare const ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[];
|
91 |
|
92 | /**
|
93 | * A platform that included corePlatform and the compiler.
|
94 | *
|
95 | * @publicApi
|
96 | */
|
97 | export declare const ɵplatformCoreDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
98 |
|
99 | export declare class ɵResourceLoaderImpl extends ResourceLoader {
|
100 | get(url: string): Promise<string>;
|
101 | }
|
102 |
|
103 | export { }
|