mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
Switch withProperties to be withProps (#16380)
* Transition to withProps in arc * Transition to withProps inputbox * Transition to withProps in checkbox * Transition to withProps text * Transition to withProps in declarative table * Transition to withProps hyperlink * Transition to withProps in button * Transition to withProps radiobutton * Transition to withProps in input * Transition to withProps button * Transition to withProps in text * Transition to withProps image * Transition to withProps declare table * Transition to withProps in table * Transition to withProps radio button * Transition to withProps in image * Transition to withProps radio button * Transition to withProps in commit * Transition to withProps div cont * Transition to withProps in comp * Transition to withProps radio card * Transition to withProps in comp icon * Transition to withProps card * Transition to withProps list
This commit is contained in:
@@ -146,7 +146,7 @@ export class DeployAzureSQLVMWizardModel extends ResourceTypeModel {
|
||||
});
|
||||
|
||||
const labelText = view.modelBuilder.text()
|
||||
.withProperties<azdata.TextComponentProperties>(
|
||||
.withProps(
|
||||
{
|
||||
value: title,
|
||||
width: '250px',
|
||||
|
||||
@@ -110,12 +110,12 @@ export class AzureSettingsPage extends BasePage {
|
||||
this.populateAzureSubscriptionsDropdown();
|
||||
});
|
||||
|
||||
this.signInButton = view.modelBuilder.button().withProperties<azdata.ButtonProperties>({
|
||||
this.signInButton = view.modelBuilder.button().withProps({
|
||||
label: localizedConstants.signIn,
|
||||
width: '100px',
|
||||
secondary: true
|
||||
}).component();
|
||||
this.refreshButton = view.modelBuilder.button().withProperties<azdata.ButtonProperties>({
|
||||
this.refreshButton = view.modelBuilder.button().withProps({
|
||||
label: localizedConstants.refresh,
|
||||
width: '100px',
|
||||
secondary: true
|
||||
|
||||
@@ -212,7 +212,7 @@ export class NetworkSettingsPage extends BasePage {
|
||||
|
||||
private async createSubnetDropdown(view: azdata.ModelView) {
|
||||
|
||||
this._newSubnetCheckbox = view.modelBuilder.checkBox().withProperties<azdata.CheckBoxProperties>({
|
||||
this._newSubnetCheckbox = view.modelBuilder.checkBox().withProps({
|
||||
label: constants.NetworkSettingsNewSubnet,
|
||||
checked: false
|
||||
}).component();
|
||||
|
||||
@@ -306,7 +306,7 @@ export class AzureSQLVMSummaryPage extends BasePage {
|
||||
public createSummaryRow(view: azdata.ModelView, title: string, textComponent: azdata.TextComponent): azdata.FlexContainer {
|
||||
|
||||
const labelText = view.modelBuilder.text()
|
||||
.withProperties<azdata.TextComponentProperties>(
|
||||
.withProps(
|
||||
{
|
||||
value: title,
|
||||
width: '250px',
|
||||
|
||||
Reference in New Issue
Block a user