@@ -13,7 +13,7 @@ export class TextInputPeer extends InputPeer<FluentUITextInput> {
13
13
public static readonly regexProperty = new StringPropertyEditor ( Adaptive . Versions . v1_3 , "regex" , "Pattern" ) ;
14
14
15
15
16
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
16
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
17
17
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
18
18
19
19
propertySheet . add (
@@ -55,7 +55,7 @@ export class TextInputPeer extends InputPeer<FluentUITextInput> {
55
55
TextInputPeer . regexProperty ) ;
56
56
}
57
57
58
- public initializeCardElement ( ) {
58
+ public initializeCardElement ( ) : void {
59
59
super . initializeCardElement ( ) ;
60
60
61
61
this . cardElement . placeholder = "Placeholder text" ;
@@ -68,7 +68,7 @@ export class NumberInputPeer extends InputPeer<FluentUINumberInput> {
68
68
public static readonly minProperty = new NumberPropertyEditor ( Adaptive . Versions . v1_0 , "min" , "Minimum value" ) ;
69
69
public static readonly maxProperty = new NumberPropertyEditor ( Adaptive . Versions . v1_0 , "max" , "Maximum value" ) ;
70
70
71
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
71
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
72
72
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
73
73
74
74
propertySheet . add (
@@ -79,7 +79,7 @@ export class NumberInputPeer extends InputPeer<FluentUINumberInput> {
79
79
NumberInputPeer . maxProperty ) ;
80
80
}
81
81
82
- public initializeCardElement ( ) {
82
+ public initializeCardElement ( ) : void {
83
83
super . initializeCardElement ( ) ;
84
84
85
85
this . cardElement . placeholder = "Placeholder text" ;
@@ -92,7 +92,7 @@ export class DateInputPeer extends InputPeer<FluentUIDateInput> {
92
92
public static readonly minProperty = new StringPropertyEditor ( Adaptive . Versions . v1_0 , "min" , "Minimum value" ) ;
93
93
public static readonly maxProperty = new StringPropertyEditor ( Adaptive . Versions . v1_0 , "max" , "Maximum value" ) ;
94
94
95
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
95
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
96
96
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
97
97
98
98
propertySheet . add (
@@ -108,7 +108,7 @@ export class TimeInputPeer extends InputPeer<FluentUITimeInput> {
108
108
public static readonly minProperty = new StringPropertyEditor ( Adaptive . Versions . v1_0 , "min" , "Minimum value" ) ;
109
109
public static readonly maxProperty = new StringPropertyEditor ( Adaptive . Versions . v1_0 , "max" , "Maximum value" ) ;
110
110
111
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
111
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
112
112
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
113
113
114
114
propertySheet . add (
@@ -126,7 +126,7 @@ export class ToggleInputPeer extends InputPeer<FluentUIToggleInput> {
126
126
public static readonly valueOffProperty = new StringPropertyEditor ( Adaptive . Versions . v1_0 , "valueOff" , "Value when off" ) ;
127
127
public static readonly wrapProperty = new BooleanPropertyEditor ( Adaptive . Versions . v1_2 , "wrap" , "Wrap" ) ;
128
128
129
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
129
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
130
130
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
131
131
132
132
propertySheet . add (
@@ -141,7 +141,7 @@ export class ToggleInputPeer extends InputPeer<FluentUIToggleInput> {
141
141
ToggleInputPeer . wrapProperty ) ;
142
142
}
143
143
144
- public initializeCardElement ( ) {
144
+ public initializeCardElement ( ) : void {
145
145
this . cardElement . title = "New Input.Toggle" ;
146
146
}
147
147
}
@@ -172,7 +172,7 @@ export class ChoiceSetInputPeer extends InputPeer<FluentUIChoiceSetInput> {
172
172
"Add a new choice" ,
173
173
"This ChoiceSet is empty" ) ;
174
174
175
- public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) {
175
+ public populatePropertySheet ( propertySheet : PropertySheet , defaultCategory : string = PropertySheetCategory . DefaultCategory ) : void {
176
176
super . populatePropertySheet ( propertySheet , defaultCategory ) ;
177
177
178
178
propertySheet . add (
@@ -191,12 +191,12 @@ export class ChoiceSetInputPeer extends InputPeer<FluentUIChoiceSetInput> {
191
191
ChoiceSetInputPeer . choicesProperty ) ;
192
192
}
193
193
194
- public initializeCardElement ( ) {
194
+ public initializeCardElement ( ) : void {
195
195
this . cardElement . placeholder = "Placeholder text" ;
196
196
197
197
this . cardElement . choices . push (
198
198
new Adaptive . Choice ( "Choice 1" , "Choice 1" ) ,
199
199
new Adaptive . Choice ( "Choice 2" , "Choice 2" )
200
200
) ;
201
201
}
202
- }
202
+ }
0 commit comments