mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Add TextType property (#16421)
This commit is contained in:
@@ -1377,6 +1377,13 @@ class TextComponentWrapper extends ComponentWrapper implements azdata.TextCompon
|
||||
public set headingLevel(headingLevel: azdata.HeadingLevel | undefined) {
|
||||
this.setProperty('headingLevel', headingLevel);
|
||||
}
|
||||
|
||||
public get textType(): azdata.TextType | undefined {
|
||||
return this.properties['textType'];
|
||||
}
|
||||
public set textType(type: azdata.TextType | undefined) {
|
||||
this.setProperty('textType', type);
|
||||
}
|
||||
}
|
||||
|
||||
class ImageComponentWrapper extends ComponentWithIconWrapper implements azdata.ImageComponentProperties {
|
||||
|
||||
@@ -610,7 +610,8 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
ColumnSizingMode: sqlExtHostTypes.ColumnSizingMode,
|
||||
DatabaseEngineEdition: sqlExtHostTypes.DatabaseEngineEdition,
|
||||
TabOrientation: sqlExtHostTypes.TabOrientation,
|
||||
sqlAssessment
|
||||
sqlAssessment,
|
||||
TextType: sqlExtHostTypes.TextType
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -887,3 +887,8 @@ export enum ButtonType {
|
||||
Normal = 'Normal',
|
||||
Informational = 'Informational'
|
||||
}
|
||||
|
||||
export enum TextType {
|
||||
Normal = 'Normal',
|
||||
Error = 'Error'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user