@jupyterlab/git
Version:
A JupyterLab extension for version control using git
21 lines (20 loc) • 701 B
TypeScript
import { Dialog } from '@jupyterlab/apputils';
import { TranslationBundle } from '@jupyterlab/translation';
import { Widget } from '@lumino/widgets';
import { Git } from '../tokens';
/**
* The UI for the credentials form
*/
export declare class GitCredentialsForm extends Widget implements Dialog.IBodyWidget<Git.IAuth> {
private _passwordPlaceholder;
constructor(trans: TranslationBundle, textContent?: string, warningContent?: string, passwordPlaceholder?: string);
private createBody;
/**
* Returns the input value.
*/
getValue(): Git.IAuth;
protected _trans: TranslationBundle;
private _user;
private _password;
private _checkboxCacheCredentials;
}