1 | import { ActivatedRoute } from '@angular/router';
|
2 | import { OnInit } from '@angular/core';
|
3 | import { Compiler, ViewContainerRef } from '@angular/core';
|
4 | import { SingleChange } from './patch-definition';
|
5 | import { Observable } from 'rxjs';
|
6 | import { Http } from '@angular/http';
|
7 | export declare class DiffBoxCode {
|
8 | private compiler;
|
9 | private vcRef;
|
10 | diffboxCode: string;
|
11 | constructor(compiler: Compiler, vcRef: ViewContainerRef);
|
12 | ngOnChanges(): void;
|
13 | }
|
14 | export declare class DiffBoxComponent implements OnInit {
|
15 | private route;
|
16 | private http;
|
17 | step: string;
|
18 | optionalFilename: string;
|
19 | hideRemoved: boolean;
|
20 | tutorialName: string;
|
21 | htmlContainer: any;
|
22 | private diffDetails;
|
23 | private tutorialData;
|
24 | private files;
|
25 | private revision;
|
26 | constructor(route: ActivatedRoute, http: Http);
|
27 | ngOnInit(): void;
|
28 | getFileModification(filename: any): SingleChange[];
|
29 | getImproveLink(filename: any): Observable<{
|
30 | url: string;
|
31 | }>;
|
32 | getFileContent(filename: any): string;
|
33 | buildGitHubLink(filename: string): string;
|
34 | getLineNumbers(filename: any): any;
|
35 | getLines(filename: string): any;
|
36 | }
|