@docgeni/template
Version:
Docgeni - Angular Template Components
44 lines • 2.14 kB
TypeScript
import { NgModuleFactory, OnDestroy, OnInit, Type } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Observable, Subject } from 'rxjs';
import { NavigationItem } from '../../interfaces/public-api';
import { PageTitleService } from '../../services/page-title.service';
import { NavigationService } from '../../services/public-api';
import { TocService } from '../../services/toc.service';
import { TableOfContentsComponent } from '../../shared/toc/toc.component';
import * as i0 from "@angular/core";
export declare class DocViewerComponent implements OnInit, OnDestroy {
private route;
private router;
private navigationService;
private pageTitle;
private tocService;
isDocViewer: boolean;
isSingle: boolean;
hasContentToc: boolean;
/** Component type for the current example. */
exampleComponentType: Type<any> | null;
exampleModuleFactory: NgModuleFactory<any> | null;
docItem$: Observable<NavigationItem | null>;
docPages$: Observable<{
pre: NavigationItem;
next: NavigationItem;
} | null>;
tableOfContents: TableOfContentsComponent;
private destroyed;
get channel(): import("../../interfaces/navigation-item").ChannelItem;
constructor(route: ActivatedRoute, router: Router, navigationService: NavigationService, pageTitle: PageTitleService, tocService: TocService);
ngOnInit(): void;
close(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DocViewerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DocViewerComponent, "dg-doc-viewer", never, {}, {}, never, never, false, never>;
}
export declare class DocViewerHomeComponent implements OnDestroy {
destroy$: Subject<void>;
constructor(navigationService: NavigationService, route: ActivatedRoute, router: Router);
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DocViewerHomeComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DocViewerHomeComponent, "doc-viewer-home", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=doc-viewer.component.d.ts.map