mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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;
|
removeFormItem(formComponent: FormComponent | FormComponentGroup): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Component {
|
export interface Component extends ComponentProperties {
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2618,13 +2618,6 @@ declare module 'azdata' {
|
|||||||
*/
|
*/
|
||||||
updateCssStyles(cssStyles: { [key: string]: string }): Thenable<void>;
|
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
|
* 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
|
* Without this the component will fail to correctly size itself
|
||||||
*/
|
*/
|
||||||
position?: PositionType;
|
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.
|
* Matches the CSS style key and its available values.
|
||||||
*/
|
*/
|
||||||
|
|||||||
19
src/sql/sqlops.proposed.d.ts
vendored
19
src/sql/sqlops.proposed.d.ts
vendored
@@ -143,7 +143,7 @@ declare module 'sqlops' {
|
|||||||
removeFormItem(formComponent: FormComponent | FormComponentGroup): boolean;
|
removeFormItem(formComponent: FormComponent | FormComponentGroup): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Component {
|
export interface Component extends ComponentProperties {
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -169,13 +169,6 @@ declare module 'sqlops' {
|
|||||||
*/
|
*/
|
||||||
updateCssStyles(cssStyles: { [key: string]: string }): Thenable<void>;
|
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
|
* Event fired to notify that the component's validity has changed
|
||||||
*/
|
*/
|
||||||
@@ -519,7 +512,15 @@ declare module 'sqlops' {
|
|||||||
* set to 'absolute', with the parent FlexContainer having 'relative' position.
|
* set to 'absolute', with the parent FlexContainer having 'relative' position.
|
||||||
* Without this the component will fail to correctly size itself
|
* Without this the component will fail to correctly size itself
|
||||||
*/
|
*/
|
||||||
position?: string;
|
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.
|
* Matches the CSS style key and its available values.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user