UNPKG

1.56 kBTypeScriptView Raw
1import * as React from 'react';
2import { DialogProps } from './dialogs';
3import { ReactDialog } from './dialogs/react-dialog';
4import { ApplicationServer, ApplicationInfo, ExtensionInfo } from '../common/application-protocol';
5import { Message } from './widgets/widget';
6import { WindowService } from './window/window-service';
7export declare const ABOUT_CONTENT_CLASS = "theia-aboutDialog";
8export declare const ABOUT_EXTENSIONS_CLASS = "theia-aboutExtensions";
9export declare class AboutDialogProps extends DialogProps {
10}
11export declare class AboutDialog extends ReactDialog<void> {
12 protected readonly props: AboutDialogProps;
13 protected applicationInfo: ApplicationInfo | undefined;
14 protected extensionsInfos: ExtensionInfo[];
15 protected readonly okButton: HTMLButtonElement;
16 protected readonly appServer: ApplicationServer;
17 protected readonly windowService: WindowService;
18 constructor(props: AboutDialogProps);
19 protected init(): void;
20 protected doInit(): Promise<void>;
21 protected renderHeader(): React.ReactNode;
22 protected renderExtensions(): React.ReactNode;
23 protected render(): React.ReactNode;
24 protected onAfterAttach(msg: Message): void;
25 /**
26 * Open a link in an external window.
27 * @param url the link.
28 */
29 protected doOpenExternalLink: (url: string) => undefined;
30 protected doOpenExternalLinkEnter: (e: React.KeyboardEvent, url: string) => void;
31 protected isEnterKey(e: React.KeyboardEvent): boolean;
32 get value(): undefined;
33}
34//# sourceMappingURL=about-dialog.d.ts.map
\No newline at end of file