mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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:
@@ -99,7 +99,7 @@ export class SparkAdvancedTab {
|
||||
});
|
||||
|
||||
this._driverCoresInputBox = builder.inputBox()
|
||||
.withProperties<azdata.InputBoxProperties>({ inputType: 'number', min: 1 })
|
||||
.withProps({ inputType: 'number', min: 1 })
|
||||
.component();
|
||||
|
||||
formContainer.addFormItem(
|
||||
@@ -124,7 +124,7 @@ export class SparkAdvancedTab {
|
||||
});
|
||||
|
||||
this._executorCoresInputBox = builder.inputBox()
|
||||
.withProperties<azdata.InputBoxProperties>({ inputType: 'number', min: 1 })
|
||||
.withProps({ inputType: 'number', min: 1 })
|
||||
.component();
|
||||
formContainer.addFormItem(
|
||||
{
|
||||
@@ -137,7 +137,7 @@ export class SparkAdvancedTab {
|
||||
});
|
||||
|
||||
this._executorCountInputBox = builder.inputBox()
|
||||
.withProperties<azdata.InputBoxProperties>({ inputType: 'number', min: 1 })
|
||||
.withProps({ inputType: 'number', min: 1 })
|
||||
.component();
|
||||
formContainer.addFormItem(
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@ export class SparkConfigurationTab {
|
||||
title: localize('sparkJobSubmission.SparkCluster', "Spark Cluster")
|
||||
}, baseFormItemLayout);
|
||||
|
||||
this._fileSourceDropDown = builder.dropDown().withProperties<azdata.DropDownProperties>({
|
||||
this._fileSourceDropDown = builder.dropDown().withProps({
|
||||
values: [SparkFileSource.Local.toString(), SparkFileSource.HDFS.toString()],
|
||||
value: (this._path) ? SparkFileSource.HDFS.toString() : SparkFileSource.Local.toString()
|
||||
}).component();
|
||||
|
||||
Reference in New Issue
Block a user