source: trip-planner-front/node_modules/@angular/compiler/src/directive_normalizer.d.ts@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { CompileDirectiveMetadata, CompileTemplateMetadata } from './compile_metadata';
9import { CompilerConfig } from './config';
10import { ViewEncapsulation } from './core';
11import { HtmlParser } from './ml_parser/html_parser';
12import { ResourceLoader } from './resource_loader';
13import { UrlResolver } from './url_resolver';
14import { SyncAsync } from './util';
15export interface PrenormalizedTemplateMetadata {
16 ngModuleType: any;
17 componentType: any;
18 moduleUrl: string;
19 template: string | null;
20 templateUrl: string | null;
21 styles: string[];
22 styleUrls: string[];
23 interpolation: [string, string] | null;
24 encapsulation: ViewEncapsulation | null;
25 animations: any[];
26 preserveWhitespaces: boolean | null;
27}
28export declare class DirectiveNormalizer {
29 private _resourceLoader;
30 private _urlResolver;
31 private _htmlParser;
32 private _config;
33 private _resourceLoaderCache;
34 constructor(_resourceLoader: ResourceLoader, _urlResolver: UrlResolver, _htmlParser: HtmlParser, _config: CompilerConfig);
35 clearCache(): void;
36 clearCacheFor(normalizedDirective: CompileDirectiveMetadata): void;
37 private _fetch;
38 normalizeTemplate(prenormData: PrenormalizedTemplateMetadata): SyncAsync<CompileTemplateMetadata>;
39 private _preParseTemplate;
40 private _preparseLoadedTemplate;
41 private _normalizeTemplateMetadata;
42 private _normalizeLoadedTemplateMetadata;
43 private _inlineStyles;
44 private _loadMissingExternalStylesheets;
45 private _normalizeStylesheet;
46}
Note: See TracBrowser for help on using the repository browser.