1 | import * as React from 'react';
|
2 | import { ReactRenderer } from '../widgets';
|
3 | import { BreadcrumbsService } from './breadcrumbs-service';
|
4 | import { BreadcrumbRenderer } from './breadcrumb-renderer';
|
5 | import PerfectScrollbar from 'perfect-scrollbar';
|
6 | import URI from '../../common/uri';
|
7 | import { Emitter, Event } from '../../common';
|
8 | import { BreadcrumbPopupContainer } from './breadcrumb-popup-container';
|
9 | import { CorePreferences } from '../core-preferences';
|
10 | import { Breadcrumb } from './breadcrumbs-constants';
|
11 | import { LabelProvider } from '../label-provider';
|
12 | interface Cancelable {
|
13 | canceled: boolean;
|
14 | }
|
15 | export declare class BreadcrumbsRenderer extends ReactRenderer {
|
16 | protected readonly breadcrumbsService: BreadcrumbsService;
|
17 | protected readonly breadcrumbRenderer: BreadcrumbRenderer;
|
18 | protected readonly corePreferences: CorePreferences;
|
19 | protected readonly labelProvider: LabelProvider;
|
20 | protected readonly onDidChangeActiveStateEmitter: Emitter<boolean>;
|
21 | get onDidChangeActiveState(): Event<boolean>;
|
22 | protected uri: URI | undefined;
|
23 | protected breadcrumbs: Breadcrumb[];
|
24 | protected popup: BreadcrumbPopupContainer | undefined;
|
25 | protected scrollbar: PerfectScrollbar | undefined;
|
26 | get active(): boolean;
|
27 | protected get breadCrumbsContainer(): Element | undefined;
|
28 | protected refreshCancellationMarker: Cancelable;
|
29 | protected init(): void;
|
30 | dispose(): void;
|
31 | refresh(uri?: URI): Promise<void>;
|
32 | protected update(): void;
|
33 | protected createScrollbar(): void;
|
34 | protected scrollToEnd(): void;
|
35 | protected doRender(): React.ReactNode;
|
36 | protected renderBreadcrumbs(): React.ReactNode;
|
37 | protected togglePopup: (breadcrumb: Breadcrumb, event: React.MouseEvent) => void;
|
38 | }
|
39 | export declare const BreadcrumbsRendererFactory: unique symbol;
|
40 | export interface BreadcrumbsRendererFactory {
|
41 | (): BreadcrumbsRenderer;
|
42 | }
|
43 | export {};
|
44 |
|
\ | No newline at end of file |