mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Update Component API properties (#7694)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
export interface Component {
|
||||
export interface Component extends ComponentProperties {
|
||||
readonly id: string;
|
||||
|
||||
/**
|
||||
@@ -169,13 +169,6 @@ declare module 'sqlops' {
|
||||
*/
|
||||
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
|
||||
*/
|
||||
@@ -519,7 +512,15 @@ declare module 'sqlops' {
|
||||
* set to 'absolute', with the parent FlexContainer having 'relative' position.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user