[6a3a178] | 1 | /**
|
---|
| 2 | * @license Angular v12.2.9
|
---|
| 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 | export declare class JitCompilerFactory implements CompilerFactory {
|
---|
| 35 | private _defaultOptions;
|
---|
| 36 | createCompiler(options?: CompilerOptions[]): Compiler;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | /**
|
---|
| 40 | * @publicApi
|
---|
| 41 | */
|
---|
| 42 | export declare const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
---|
| 43 |
|
---|
| 44 | /**
|
---|
| 45 | * @publicApi
|
---|
| 46 | */
|
---|
| 47 | export declare const RESOURCE_CACHE_PROVIDER: Provider[];
|
---|
| 48 |
|
---|
| 49 | /**
|
---|
| 50 | * @publicApi
|
---|
| 51 | */
|
---|
| 52 | export declare const VERSION: Version;
|
---|
| 53 |
|
---|
| 54 | /**
|
---|
| 55 | * An implementation of ResourceLoader that uses a template cache to avoid doing an actual
|
---|
| 56 | * ResourceLoader.
|
---|
| 57 | *
|
---|
| 58 | * The template cache needs to be built and loaded into window.$templateCache
|
---|
| 59 | * via a separate mechanism.
|
---|
| 60 | *
|
---|
| 61 | * @publicApi
|
---|
| 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 const ɵCOMPILER_PROVIDERS__POST_R3__: StaticProvider[];
|
---|
| 70 |
|
---|
| 71 | export declare class ɵCompilerImpl implements Compiler {
|
---|
| 72 | private _metadataResolver;
|
---|
| 73 | private _delegate;
|
---|
| 74 | readonly injector: Injector;
|
---|
| 75 | 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);
|
---|
| 76 | private getExtraNgModuleProviders;
|
---|
| 77 | compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>;
|
---|
| 78 | compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>;
|
---|
| 79 | compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>;
|
---|
| 80 | compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>;
|
---|
| 81 | loadAotSummaries(summaries: () => any[]): void;
|
---|
| 82 | hasAotSummary(ref: Type<any>): boolean;
|
---|
| 83 | getComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
|
---|
| 84 | clearCache(): void;
|
---|
| 85 | clearCacheFor(type: Type<any>): void;
|
---|
| 86 | getModuleId(moduleType: Type<any>): string | undefined;
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | /**
|
---|
| 90 | * @publicApi
|
---|
| 91 | */
|
---|
| 92 | export declare const ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[];
|
---|
| 93 |
|
---|
| 94 | /**
|
---|
| 95 | * A platform that included corePlatform and the compiler.
|
---|
| 96 | *
|
---|
| 97 | * @publicApi
|
---|
| 98 | */
|
---|
| 99 | export declare const ɵplatformCoreDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
---|
| 100 |
|
---|
| 101 | export declare class ɵResourceLoaderImpl extends ResourceLoader {
|
---|
| 102 | get(url: string): Promise<string>;
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | export { }
|
---|