1 | import { Theme } from '../theme';
|
2 | import { Renderer } from '../renderer';
|
3 | import { Reflection, ReflectionKind, ProjectReflection, ContainerReflection, DeclarationReflection } from '../../models/reflections/index';
|
4 | import { ReflectionGroup } from '../../models/ReflectionGroup';
|
5 | import { UrlMapping } from '../models/UrlMapping';
|
6 | import { NavigationItem } from '../models/NavigationItem';
|
7 | export interface TemplateMapping {
|
8 | kind: ReflectionKind[];
|
9 | isLeaf: boolean;
|
10 | directory: string;
|
11 | template: string;
|
12 | }
|
13 | export declare class DefaultTheme extends Theme {
|
14 | static MAPPINGS: TemplateMapping[];
|
15 | static URL_PREFIX: RegExp;
|
16 | constructor(renderer: Renderer, basePath: string);
|
17 | isOutputDirectory(path: string): boolean;
|
18 | getUrls(project: ProjectReflection): UrlMapping[];
|
19 | getEntryPoint(project: ProjectReflection): ContainerReflection;
|
20 | getNavigation(project: ProjectReflection): NavigationItem;
|
21 | private onRendererBegin;
|
22 | static getUrl(reflection: Reflection, relative?: Reflection, separator?: string): string;
|
23 | static getMapping(reflection: DeclarationReflection): TemplateMapping | undefined;
|
24 | static buildUrls(reflection: DeclarationReflection, urls: UrlMapping[]): UrlMapping[];
|
25 | static applyAnchorUrl(reflection: Reflection, container: Reflection): void;
|
26 | static applyReflectionClasses(reflection: DeclarationReflection): void;
|
27 | static applyGroupClasses(group: ReflectionGroup): void;
|
28 | static toStyleClass(str: string): string;
|
29 | }
|