mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
Feature/webview for model view (#1463)
* support webview for view model * formatting * remove unused imports
This commit is contained in:
20
src/sql/sqlops.proposed.d.ts
vendored
20
src/sql/sqlops.proposed.d.ts
vendored
@@ -22,11 +22,12 @@ declare module 'sqlops' {
|
||||
inputBox(): ComponentBuilder<InputBoxComponent>;
|
||||
checkBox(): ComponentBuilder<CheckBoxComponent>;
|
||||
radioButton(): ComponentBuilder<RadioButtonComponent>;
|
||||
webView(): ComponentBuilder<WebViewComponent>;
|
||||
text(): ComponentBuilder<TextComponent>;
|
||||
button(): ComponentBuilder<ButtonComponent>;
|
||||
dropDown(): ComponentBuilder<DropDownComponent>;
|
||||
dashboardWidget(widgetId: string): ComponentBuilder<WidgetComponent>;
|
||||
dashboardWebview(webviewId: string): ComponentBuilder<WebviewComponent>;
|
||||
dashboardWidget(widgetId: string): ComponentBuilder<DashboardWidgetComponent>;
|
||||
dashboardWebview(webviewId: string): ComponentBuilder<DashboardWebviewComponent>;
|
||||
formContainer(): FormBuilder;
|
||||
}
|
||||
|
||||
@@ -273,6 +274,11 @@ declare module 'sqlops' {
|
||||
editable?: boolean;
|
||||
}
|
||||
|
||||
export interface WebViewProperties {
|
||||
message?: any;
|
||||
html?: string;
|
||||
}
|
||||
|
||||
export interface ButtonProperties {
|
||||
label?: string;
|
||||
}
|
||||
@@ -308,16 +314,22 @@ declare module 'sqlops' {
|
||||
onValueChanged: vscode.Event<any>;
|
||||
}
|
||||
|
||||
export interface WebViewComponent extends Component {
|
||||
html: string;
|
||||
message: any;
|
||||
onMessage: vscode.Event<any>;
|
||||
}
|
||||
|
||||
export interface ButtonComponent extends Component {
|
||||
label: string;
|
||||
onDidClick: vscode.Event<any>;
|
||||
}
|
||||
|
||||
export interface WidgetComponent extends Component {
|
||||
export interface DashboardWidgetComponent extends Component {
|
||||
widgetId: string;
|
||||
}
|
||||
|
||||
export interface WebviewComponent extends Component {
|
||||
export interface DashboardWebviewComponent extends Component {
|
||||
webviewId: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user