UNPKG

1.53 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(): Promise<void>;
20 protected renderHeader(): React.ReactNode;
21 protected renderExtensions(): React.ReactNode;
22 protected render(): React.ReactNode;
23 protected onAfterAttach(msg: Message): void;
24 /**
25 * Open a link in an external window.
26 * @param url the link.
27 */
28 protected doOpenExternalLink: (url: string) => undefined;
29 protected doOpenExternalLinkEnter: (e: React.KeyboardEvent, url: string) => void;
30 protected isEnterKey(e: React.KeyboardEvent): boolean;
31 get value(): undefined;
32}
33//# sourceMappingURL=about-dialog.d.ts.map
\No newline at end of file