mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
Update Component API properties (#7694)
This commit is contained in:
17
src/sql/azdata.d.ts
vendored
17
src/sql/azdata.d.ts
vendored
@@ -2592,7 +2592,7 @@ declare module 'azdata' {
|
||||
removeFormItem(formComponent: FormComponent | FormComponentGroup): boolean;
|
||||
}
|
||||
|
||||
export interface Component {
|
||||
export interface Component extends ComponentProperties {
|
||||
readonly id: string;
|
||||
|
||||
/**
|
||||
@@ -2618,13 +2618,6 @@ declare module 'azdata' {
|
||||
*/
|
||||
updateCssStyles(cssStyles: { [key: string]: string }): Thenable<void>;
|
||||
|
||||
enabled: boolean;
|
||||
|
||||
/**
|
||||
* Corresponds to the display CSS property for the element
|
||||
*/
|
||||
display: DisplayType;
|
||||
|
||||
/**
|
||||
* Event fired to notify that the component's validity has changed
|
||||
*/
|
||||
@@ -2995,6 +2988,14 @@ declare module 'azdata' {
|
||||
* Without this the component will fail to correctly size itself
|
||||
*/
|
||||
position?: PositionType;
|
||||
/**
|
||||
* Whether the component is enabled in the DOM
|
||||
*/
|
||||
enabled?: boolean;
|
||||
/**
|
||||
* Corresponds to the display CSS property for the element
|
||||
*/
|
||||
display?: DisplayType;
|
||||
/**
|
||||
* Matches the CSS style key and its available values.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user