mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 09:35:40 -05:00
Vscode merge (#4582)
* Merge from vscode 37cb23d3dd4f9433d56d4ba5ea3203580719a0bd * fix issues with merges * bump node version in azpipe * replace license headers * remove duplicate launch task * fix build errors * fix build errors * fix tslint issues * working through package and linux build issues * more work * wip * fix packaged builds * working through linux build errors * wip * wip * wip * fix mac and linux file limits * iterate linux pipeline * disable editor typing * revert series to parallel * remove optimize vscode from linux * fix linting issues * revert testing change * add work round for new node * readd packaging for extensions * fix issue with angular not resolving decorator dependencies
This commit is contained in:
@@ -37,18 +37,18 @@ export interface IInputOptions extends IInputBoxStyles {
|
||||
}
|
||||
|
||||
export interface IInputBoxStyles {
|
||||
readonly inputBackground?: Color | null;
|
||||
readonly inputForeground?: Color | null;
|
||||
readonly inputBorder?: Color | null;
|
||||
readonly inputValidationInfoBorder?: Color | null;
|
||||
readonly inputValidationInfoBackground?: Color | null;
|
||||
readonly inputValidationInfoForeground?: Color | null;
|
||||
readonly inputValidationWarningBorder?: Color | null;
|
||||
readonly inputValidationWarningBackground?: Color | null;
|
||||
readonly inputValidationWarningForeground?: Color | null;
|
||||
readonly inputValidationErrorBorder?: Color | null;
|
||||
readonly inputValidationErrorBackground?: Color | null;
|
||||
readonly inputValidationErrorForeground?: Color | null;
|
||||
readonly inputBackground?: Color;
|
||||
readonly inputForeground?: Color;
|
||||
readonly inputBorder?: Color;
|
||||
readonly inputValidationInfoBorder?: Color;
|
||||
readonly inputValidationInfoBackground?: Color;
|
||||
readonly inputValidationInfoForeground?: Color;
|
||||
readonly inputValidationWarningBorder?: Color;
|
||||
readonly inputValidationWarningBackground?: Color;
|
||||
readonly inputValidationWarningForeground?: Color;
|
||||
readonly inputValidationErrorBorder?: Color;
|
||||
readonly inputValidationErrorBackground?: Color;
|
||||
readonly inputValidationErrorForeground?: Color;
|
||||
}
|
||||
|
||||
export interface IInputValidator {
|
||||
@@ -104,20 +104,20 @@ export class InputBox extends Widget {
|
||||
|
||||
// {{SQL CARBON EDIT}} - Add showValidationMessage and set inputBackground, inputForeground, and inputBorder as protected
|
||||
protected showValidationMessage: boolean;
|
||||
protected inputBackground?: Color | null;
|
||||
protected inputForeground?: Color | null;
|
||||
protected inputBorder?: Color | null;
|
||||
protected inputBackground?: Color;
|
||||
protected inputForeground?: Color;
|
||||
protected inputBorder?: Color;
|
||||
// {{SQL CARBON EDIT}} - End
|
||||
|
||||
private inputValidationInfoBorder?: Color | null;
|
||||
private inputValidationInfoBackground?: Color | null;
|
||||
private inputValidationInfoForeground?: Color | null;
|
||||
private inputValidationWarningBorder?: Color | null;
|
||||
private inputValidationWarningBackground?: Color | null;
|
||||
private inputValidationWarningForeground?: Color | null;
|
||||
private inputValidationErrorBorder?: Color | null;
|
||||
private inputValidationErrorBackground?: Color | null;
|
||||
private inputValidationErrorForeground?: Color | null;
|
||||
private inputValidationInfoBorder?: Color;
|
||||
private inputValidationInfoBackground?: Color;
|
||||
private inputValidationInfoForeground?: Color;
|
||||
private inputValidationWarningBorder?: Color;
|
||||
private inputValidationWarningBackground?: Color;
|
||||
private inputValidationWarningForeground?: Color;
|
||||
private inputValidationErrorBorder?: Color;
|
||||
private inputValidationErrorBackground?: Color;
|
||||
private inputValidationErrorForeground?: Color;
|
||||
|
||||
private _onDidChange = this._register(new Emitter<string>());
|
||||
public readonly onDidChange: Event<string> = this._onDidChange.event;
|
||||
@@ -253,6 +253,10 @@ export class InputBox extends Widget {
|
||||
}
|
||||
}
|
||||
|
||||
public get mirrorElement(): HTMLElement {
|
||||
return this.mirror;
|
||||
}
|
||||
|
||||
public get inputElement(): HTMLInputElement {
|
||||
return this.input;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user