mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 17:22:51 -05:00
Add ModelView ImageComponent (#7106)
* Add ModelView ImageComponent * Remove duplicate property declarations * Fix sqlops too
This commit is contained in:
31
src/sql/sqlops.proposed.d.ts
vendored
31
src/sql/sqlops.proposed.d.ts
vendored
@@ -627,9 +627,21 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface ButtonProperties extends ComponentProperties, ComponentWithIcon {
|
||||
/**
|
||||
* The label for the button
|
||||
*/
|
||||
label?: string;
|
||||
/**
|
||||
* Whether the button opens the file browser dialog
|
||||
*/
|
||||
isFile?: boolean;
|
||||
/**
|
||||
* The content of the currently selected file
|
||||
*/
|
||||
fileContent?: string;
|
||||
/**
|
||||
* The title for the button. This title will show when hovered over
|
||||
*/
|
||||
title?: string;
|
||||
fileType?: string;
|
||||
}
|
||||
@@ -665,8 +677,6 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface HyperlinkComponent extends Component, HyperlinkComponentProperties {
|
||||
label: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface InputBoxComponent extends Component, InputBoxProperties {
|
||||
@@ -684,8 +694,6 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface DropDownComponent extends Component, DropDownProperties {
|
||||
value: string | CategoryValue;
|
||||
values: string[] | CategoryValue[];
|
||||
onValueChanged: vscode.Event<any>;
|
||||
}
|
||||
|
||||
@@ -700,8 +708,6 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface ListBoxComponent extends Component, ListBoxProperties {
|
||||
selectedRow?: number;
|
||||
values: string[];
|
||||
onRowSelected: vscode.Event<any>;
|
||||
}
|
||||
|
||||
@@ -765,19 +771,6 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface ButtonComponent extends Component, ButtonProperties {
|
||||
/**
|
||||
* The label for the button
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* The title for the button. This title will show when it hovers
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* Icon Path for the button.
|
||||
*/
|
||||
iconPath: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
|
||||
/**
|
||||
* An event called when the button is clicked
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user