mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 17:23:51 -05:00
add options to customize the model view dashboard (#9872)
* add options to customize the mv dashboard * rename the property
This commit is contained in:
26
src/sql/azdata.proposed.d.ts
vendored
26
src/sql/azdata.proposed.d.ts
vendored
@@ -224,8 +224,20 @@ declare module 'azdata' {
|
||||
* Layout of TabbedPanelComponent, can be used to initialize the component when using ModelBuilder
|
||||
*/
|
||||
export interface TabbedPanelLayout {
|
||||
/**
|
||||
* Tab orientation
|
||||
*/
|
||||
orientation: TabOrientation;
|
||||
|
||||
/**
|
||||
* Whether to show the tab icon
|
||||
*/
|
||||
showIcon: boolean;
|
||||
|
||||
/**
|
||||
* Whether to show the tab navigation pane even when there is only one tab
|
||||
*/
|
||||
alwaysShowTabs: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -300,7 +312,7 @@ declare module 'azdata' {
|
||||
open(): Thenable<void>;
|
||||
}
|
||||
|
||||
export function createModelViewDashboard(title: string): ModelViewDashboard;
|
||||
export function createModelViewDashboard(title: string, options?: ModelViewDashboardOptions): ModelViewDashboard;
|
||||
}
|
||||
|
||||
export interface DashboardTab extends Tab {
|
||||
@@ -321,5 +333,17 @@ declare module 'azdata' {
|
||||
*/
|
||||
tabs: DashboardTab[];
|
||||
}
|
||||
|
||||
export interface ModelViewDashboardOptions {
|
||||
/**
|
||||
* Whether to show the tab icon, default is true
|
||||
*/
|
||||
showIcon?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to show the tab navigation pane even when there is only one tab, default is false
|
||||
*/
|
||||
alwaysShowTabs?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user