withProperties -> withProps (#15876)

* withProperties -> withProps

* Fix errors

* remove ,

* fixes

* Update azdata-test

* Fix dacpac tests

* Add required and remove added layout
This commit is contained in:
Charles Gagnon
2021-06-23 14:26:14 -07:00
committed by GitHub
parent e21f56d719
commit 3a3d7f5271
73 changed files with 417 additions and 414 deletions

View File

@@ -31,7 +31,7 @@ export class LanguageContentView extends LanguageViewBase {
) {
super(apiWrapper, parent.root, parent);
this._localPath = this._modelBuilder.radioButton()
.withProperties({
.withProps({
value: 'local',
name: 'extensionLocation',
label: constants.extLangLocal,
@@ -39,7 +39,7 @@ export class LanguageContentView extends LanguageViewBase {
}).component();
this._serverPath = this._modelBuilder.radioButton()
.withProperties({
.withProps({
value: 'server',
name: 'extensionLocation',
label: this.getServerTitle(),
@@ -62,7 +62,7 @@ export class LanguageContentView extends LanguageViewBase {
this._localPath, this._serverPath]
).component();
this.extensionFile = this._modelBuilder.inputBox().withProperties({
this.extensionFile = this._modelBuilder.inputBox().withProps({
value: '',
width: parent.componentMaxLength - parent.browseButtonMaxLength - parent.spaceBetweenComponentsLength
}).component();
@@ -89,16 +89,16 @@ export class LanguageContentView extends LanguageViewBase {
this.onOpenFileBrowser({ filePath: '', target: this._isLocalPath ? constants.localhost : this.connectionUrl });
});
this.extensionFileName = this._modelBuilder.inputBox().withProperties({
this.extensionFileName = this._modelBuilder.inputBox().withProps({
value: '',
width: parent.componentMaxLength
}).component();
this.envVariables = this._modelBuilder.inputBox().withProperties({
this.envVariables = this._modelBuilder.inputBox().withProps({
value: '',
width: parent.componentMaxLength
}).component();
this.parameters = this._modelBuilder.inputBox().withProperties({
this.parameters = this._modelBuilder.inputBox().withProps({
value: '',
width: parent.componentMaxLength
}).component();