igniteui-webcomponents-inputs 4.2.5 → 4.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +98 -98
- package/esm2015/lib/ButtonView_combined.js +2206 -1799
- package/esm2015/lib/CalendarView_combined.js +156 -156
- package/esm2015/lib/CheckboxView_combined.js +532 -458
- package/esm2015/lib/DatePickerView_combined.js +398 -364
- package/esm2015/lib/IconView_combined.js +553 -355
- package/esm2015/lib/InputGroupView_combined.js +2432 -2152
- package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +131 -7
- package/esm2015/lib/XButtonBridge.js +218 -22
- package/esm2015/lib/XCheckboxBridge.js +25 -16
- package/esm2015/lib/XComponentBridge.js +20 -6
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +45 -33
- package/esm2015/lib/XInputBridge.js +91 -38
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/igc-date-picker-component.js +60 -58
- package/esm2015/lib/igc-x-button-component.js +694 -546
- package/esm2015/lib/igc-x-button-group-component.js +28 -28
- package/esm2015/lib/igc-x-calendar-component.js +16 -16
- package/esm2015/lib/igc-x-checkbox-component.js +77 -77
- package/esm2015/lib/igc-x-icon-component.js +239 -118
- package/esm2015/lib/igc-x-input-component.js +61 -43
- package/esm2015/lib/igc-x-input-group-component.js +576 -576
- package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
- package/esm2015/lib/igc-x-ripple-component.js +35 -35
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/ButtonClickEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupView_combined.js +176 -176
- package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
- package/esm5/lib/ButtonView_combined.js +2259 -1808
- package/esm5/lib/ButtonVisualModelExport.js +2 -2
- package/esm5/lib/CalendarView_combined.js +181 -181
- package/esm5/lib/CalendarVisualModelExport.js +2 -2
- package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
- package/esm5/lib/CheckboxView_combined.js +561 -483
- package/esm5/lib/CheckboxVisualModelExport.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +421 -383
- package/esm5/lib/DatePickerVisualModelExport.js +2 -2
- package/esm5/lib/DateTimeValueFormatter.js +2 -2
- package/esm5/lib/DayInfo.js +2 -2
- package/esm5/lib/ElevationHelper.js +2 -2
- package/esm5/lib/GotFocusEventArgs.js +2 -2
- package/esm5/lib/IconClickedEventArgs.js +2 -2
- package/esm5/lib/IconView_combined.js +600 -362
- package/esm5/lib/IconVisualModelExport.js +3 -3
- package/esm5/lib/InputChangeEventArgs.js +4 -4
- package/esm5/lib/InputGroupView_combined.js +2534 -2246
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +2 -2
- package/esm5/lib/LabelVisualModelExport.js +2 -2
- package/esm5/lib/LostFocusEventArgs.js +2 -2
- package/esm5/lib/MaskOptions.js +2 -2
- package/esm5/lib/MaskParsingService.js +5 -5
- package/esm5/lib/NativeUIXInputsFactory.js +69 -27
- package/esm5/lib/PrefixVisualModelExport.js +2 -2
- package/esm5/lib/Replaced.js +2 -2
- package/esm5/lib/RippleView_combined.js +17 -17
- package/esm5/lib/RippleVisualModelExport.js +2 -2
- package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
- package/esm5/lib/SuffixVisualModelExport.js +2 -2
- package/esm5/lib/TextElementsVisualModelExport.js +2 -2
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +137 -11
- package/esm5/lib/XButtonBridge.js +220 -24
- package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +27 -18
- package/esm5/lib/XComponentBridge.js +26 -8
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +47 -35
- package/esm5/lib/XInputBridge.js +93 -40
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/igc-button-click-event-args.js +1 -1
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
- package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
- package/esm5/lib/igc-date-picker-component.js +80 -78
- package/esm5/lib/igc-got-focus-event-args.js +1 -1
- package/esm5/lib/igc-input-change-event-args.js +3 -3
- package/esm5/lib/igc-lost-focus-event-args.js +1 -1
- package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
- package/esm5/lib/igc-x-button-component.js +908 -710
- package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
- package/esm5/lib/igc-x-button-group-component.js +73 -73
- package/esm5/lib/igc-x-calendar-component.js +30 -30
- package/esm5/lib/igc-x-checkbox-component.js +117 -117
- package/esm5/lib/igc-x-icon-component.js +297 -136
- package/esm5/lib/igc-x-input-component.js +104 -78
- package/esm5/lib/igc-x-input-group-component.js +716 -716
- package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
- package/esm5/lib/igc-x-input-group-item-component.js +6 -6
- package/esm5/lib/igc-x-label-component.js +30 -30
- package/esm5/lib/igc-x-prefix-component.js +9 -9
- package/esm5/lib/igc-x-ripple-component.js +19 -19
- package/esm5/lib/igc-x-suffix-component.js +9 -9
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
- package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
- package/lib/ButtonGroupView_combined.d.ts +136 -70
- package/lib/ButtonView_combined.d.ts +609 -583
- package/lib/CalendarView_combined.d.ts +43 -22
- package/lib/CheckboxChangeEventArgs.d.ts +4 -2
- package/lib/CheckboxView_combined.d.ts +150 -117
- package/lib/DatePickerView_combined.d.ts +109 -81
- package/lib/IconView_combined.d.ts +164 -93
- package/lib/IconVisualModelExport.d.ts +2 -1
- package/lib/InputChangeEventArgs.d.ts +4 -2
- package/lib/InputGroupView_combined.d.ts +771 -771
- package/lib/NativeUIXInputsFactory.d.ts +6 -4
- package/lib/RippleView_combined.d.ts +19 -10
- package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
- package/lib/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +44 -6
- package/lib/XButtonBridge.d.ts +23 -5
- package/lib/XCheckboxBridge.d.ts +3 -3
- package/lib/XComponentBridge.d.ts +2 -1
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +4 -4
- package/lib/XInputBridge.d.ts +11 -7
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/igc-button-click-event-args.d.ts +1 -1
- package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
- package/lib/igc-checkbox-change-event-args.d.ts +5 -3
- package/lib/igc-date-picker-component.d.ts +65 -34
- package/lib/igc-got-focus-event-args.d.ts +1 -1
- package/lib/igc-input-change-event-args.d.ts +5 -3
- package/lib/igc-lost-focus-event-args.d.ts +1 -1
- package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
- package/lib/igc-x-button-component.d.ts +399 -173
- package/lib/igc-x-button-group-component.d.ts +136 -70
- package/lib/igc-x-calendar-component.d.ts +53 -28
- package/lib/igc-x-checkbox-component.d.ts +71 -37
- package/lib/igc-x-icon-component.d.ts +140 -44
- package/lib/igc-x-input-component.d.ts +69 -32
- package/lib/igc-x-input-group-component.d.ts +325 -165
- package/lib/igc-x-input-group-item-component.d.ts +5 -4
- package/lib/igc-x-label-component.d.ts +52 -27
- package/lib/igc-x-prefix-component.d.ts +10 -6
- package/lib/igc-x-ripple-component.d.ts +31 -17
- package/lib/igc-x-suffix-component.d.ts +10 -6
- package/package.json +2 -2
- package/public_api.d.ts +3 -0
|
@@ -12,8 +12,23 @@ import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
|
12
12
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
13
13
|
import { ElevationMode_$type } from "igniteui-webcomponents-core";
|
|
14
14
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
15
|
+
import { HorizontalAlignment_$type } from "igniteui-webcomponents-core";
|
|
16
|
+
import { VerticalAlignment_$type } from "igniteui-webcomponents-core";
|
|
17
|
+
import { IgcFocusEventArgs } from "igniteui-webcomponents-core";
|
|
15
18
|
export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
16
19
|
class IgcXButtonComponent extends IgcHTMLElement {
|
|
20
|
+
_onDisplayChanged() {
|
|
21
|
+
this.style.display = this.display;
|
|
22
|
+
}
|
|
23
|
+
_onFlexDirectionChanged() {
|
|
24
|
+
this.style.flexDirection = this.flexDirection;
|
|
25
|
+
}
|
|
26
|
+
_onFlexGrowChanged() {
|
|
27
|
+
this.style.flexGrow = this.flexGrow;
|
|
28
|
+
}
|
|
29
|
+
_onAlignItemsChanged() {
|
|
30
|
+
this.style.alignItems = this.alignItems;
|
|
31
|
+
}
|
|
17
32
|
constructor() {
|
|
18
33
|
super();
|
|
19
34
|
this._disconnected = false;
|
|
@@ -28,6 +43,10 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
28
43
|
this._inStyling = false;
|
|
29
44
|
this._clicked = null;
|
|
30
45
|
this._clicked_wrapped = null;
|
|
46
|
+
this._gotFocus = null;
|
|
47
|
+
this._gotFocus_wrapped = null;
|
|
48
|
+
this._lostFocus = null;
|
|
49
|
+
this._lostFocus_wrapped = null;
|
|
31
50
|
if (this._styling) {
|
|
32
51
|
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
33
52
|
}
|
|
@@ -64,18 +83,6 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
64
83
|
// this._checkbox.notifySizeChanged();
|
|
65
84
|
//});
|
|
66
85
|
}
|
|
67
|
-
_onDisplayChanged() {
|
|
68
|
-
this.style.display = this.display;
|
|
69
|
-
}
|
|
70
|
-
_onFlexDirectionChanged() {
|
|
71
|
-
this.style.flexDirection = this.flexDirection;
|
|
72
|
-
}
|
|
73
|
-
_onFlexGrowChanged() {
|
|
74
|
-
this.style.flexGrow = this.flexGrow;
|
|
75
|
-
}
|
|
76
|
-
_onAlignItemsChanged() {
|
|
77
|
-
this.style.alignItems = this.alignItems;
|
|
78
|
-
}
|
|
79
86
|
_onChildrenChanged() {
|
|
80
87
|
var children = [];
|
|
81
88
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
@@ -205,21 +212,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
205
212
|
* Gets or sets the min width to use for the button.
|
|
206
213
|
*/
|
|
207
214
|
get minWidth() {
|
|
208
|
-
return this.i.
|
|
215
|
+
return this.i.bu;
|
|
209
216
|
}
|
|
210
217
|
set minWidth(v) {
|
|
211
|
-
this.i.
|
|
212
|
-
this._a("minWidth", this.i.
|
|
218
|
+
this.i.bu = +v;
|
|
219
|
+
this._a("minWidth", this.i.bu);
|
|
213
220
|
}
|
|
214
221
|
/**
|
|
215
222
|
* Gets or sets the min height to use for the button.
|
|
216
223
|
*/
|
|
217
224
|
get minHeight() {
|
|
218
|
-
return this.i.
|
|
225
|
+
return this.i.bt;
|
|
219
226
|
}
|
|
220
227
|
set minHeight(v) {
|
|
221
|
-
this.i.
|
|
222
|
-
this._a("minHeight", this.i.
|
|
228
|
+
this.i.bt = +v;
|
|
229
|
+
this._a("minHeight", this.i.bt);
|
|
223
230
|
}
|
|
224
231
|
/**
|
|
225
232
|
* Gets or sets the display style to use for the button.
|
|
@@ -235,1601 +242,1612 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
235
242
|
* Gets or sets the display density to use for the button.
|
|
236
243
|
*/
|
|
237
244
|
get density() {
|
|
238
|
-
return this.i.
|
|
245
|
+
return this.i.r;
|
|
239
246
|
}
|
|
240
247
|
set density(v) {
|
|
241
|
-
this.i.
|
|
242
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
248
|
+
this.i.r = ensureEnum(ControlDisplayDensity_$type, v);
|
|
249
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.r));
|
|
243
250
|
}
|
|
244
251
|
/**
|
|
245
252
|
* Gets or sets the base built in theme to use for the button.
|
|
246
253
|
*/
|
|
247
254
|
get baseTheme() {
|
|
248
|
-
return this.i.
|
|
255
|
+
return this.i.n;
|
|
249
256
|
}
|
|
250
257
|
set baseTheme(v) {
|
|
251
|
-
this.i.
|
|
252
|
-
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.
|
|
258
|
+
this.i.n = ensureEnum(BaseControlTheme_$type, v);
|
|
259
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.n));
|
|
253
260
|
}
|
|
254
261
|
/**
|
|
255
262
|
* Gets the actual display density to use for the label.
|
|
256
263
|
*/
|
|
257
264
|
get actualDensity() {
|
|
258
|
-
return this.i.
|
|
265
|
+
return this.i.q;
|
|
259
266
|
}
|
|
260
267
|
set actualDensity(v) {
|
|
261
|
-
this.i.
|
|
262
|
-
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.
|
|
268
|
+
this.i.q = ensureEnum(ControlDisplayDensity_$type, v);
|
|
269
|
+
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.q));
|
|
263
270
|
}
|
|
264
271
|
/**
|
|
265
272
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
266
273
|
*/
|
|
267
274
|
get actualBorderColor() {
|
|
268
|
-
return brushToString(this.i.
|
|
275
|
+
return brushToString(this.i.ng);
|
|
269
276
|
}
|
|
270
277
|
set actualBorderColor(v) {
|
|
271
|
-
this.i.
|
|
272
|
-
this._a("actualBorderColor", brushToString(this.i.
|
|
278
|
+
this.i.ng = stringToBrush(v);
|
|
279
|
+
this._a("actualBorderColor", brushToString(this.i.ng));
|
|
273
280
|
}
|
|
274
281
|
/**
|
|
275
282
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
276
283
|
*/
|
|
277
284
|
get actualUmbraShadowColor() {
|
|
278
|
-
return brushToString(this.i.
|
|
285
|
+
return brushToString(this.i.nr);
|
|
279
286
|
}
|
|
280
287
|
set actualUmbraShadowColor(v) {
|
|
281
|
-
this.i.
|
|
282
|
-
this._a("actualUmbraShadowColor", brushToString(this.i.
|
|
288
|
+
this.i.nr = stringToBrush(v);
|
|
289
|
+
this._a("actualUmbraShadowColor", brushToString(this.i.nr));
|
|
283
290
|
}
|
|
284
291
|
/**
|
|
285
292
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
286
293
|
*/
|
|
287
294
|
get actualPenumbraShadowColor() {
|
|
288
|
-
return brushToString(this.i.
|
|
295
|
+
return brushToString(this.i.no);
|
|
289
296
|
}
|
|
290
297
|
set actualPenumbraShadowColor(v) {
|
|
291
|
-
this.i.
|
|
292
|
-
this._a("actualPenumbraShadowColor", brushToString(this.i.
|
|
298
|
+
this.i.no = stringToBrush(v);
|
|
299
|
+
this._a("actualPenumbraShadowColor", brushToString(this.i.no));
|
|
293
300
|
}
|
|
294
301
|
/**
|
|
295
302
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
296
303
|
*/
|
|
297
304
|
get actualAmbientShadowColor() {
|
|
298
|
-
return brushToString(this.i.
|
|
305
|
+
return brushToString(this.i.ne);
|
|
299
306
|
}
|
|
300
307
|
set actualAmbientShadowColor(v) {
|
|
301
|
-
this.i.
|
|
302
|
-
this._a("actualAmbientShadowColor", brushToString(this.i.
|
|
308
|
+
this.i.ne = stringToBrush(v);
|
|
309
|
+
this._a("actualAmbientShadowColor", brushToString(this.i.ne));
|
|
303
310
|
}
|
|
304
311
|
/**
|
|
305
312
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
306
313
|
*/
|
|
307
314
|
get actualRestingElevation() {
|
|
308
|
-
return this.i.
|
|
315
|
+
return this.i.ct;
|
|
309
316
|
}
|
|
310
317
|
set actualRestingElevation(v) {
|
|
311
|
-
this.i.
|
|
312
|
-
this._a("actualRestingElevation", this.i.
|
|
318
|
+
this.i.ct = +v;
|
|
319
|
+
this._a("actualRestingElevation", this.i.ct);
|
|
313
320
|
}
|
|
314
321
|
/**
|
|
315
322
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
316
323
|
*/
|
|
317
324
|
get actualFocusElevation() {
|
|
318
|
-
return this.i.
|
|
325
|
+
return this.i.cr;
|
|
319
326
|
}
|
|
320
327
|
set actualFocusElevation(v) {
|
|
321
|
-
this.i.
|
|
322
|
-
this._a("actualFocusElevation", this.i.
|
|
328
|
+
this.i.cr = +v;
|
|
329
|
+
this._a("actualFocusElevation", this.i.cr);
|
|
323
330
|
}
|
|
324
331
|
/**
|
|
325
332
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
326
333
|
*/
|
|
327
334
|
get actualHoverElevation() {
|
|
328
|
-
return this.i.
|
|
335
|
+
return this.i.cs;
|
|
329
336
|
}
|
|
330
337
|
set actualHoverElevation(v) {
|
|
331
|
-
this.i.
|
|
332
|
-
this._a("actualHoverElevation", this.i.
|
|
338
|
+
this.i.cs = +v;
|
|
339
|
+
this._a("actualHoverElevation", this.i.cs);
|
|
333
340
|
}
|
|
334
341
|
/**
|
|
335
342
|
* Gets or sets the color to use for the ripple when the button is pressed.
|
|
336
343
|
*/
|
|
337
344
|
get actualRippleColor() {
|
|
338
|
-
return brushToString(this.i.
|
|
345
|
+
return brushToString(this.i.np);
|
|
339
346
|
}
|
|
340
347
|
set actualRippleColor(v) {
|
|
341
|
-
this.i.
|
|
342
|
-
this._a("actualRippleColor", brushToString(this.i.
|
|
348
|
+
this.i.np = stringToBrush(v);
|
|
349
|
+
this._a("actualRippleColor", brushToString(this.i.np));
|
|
343
350
|
}
|
|
344
351
|
get actualCornerRadiusBottomRight() {
|
|
345
|
-
return this.i.
|
|
352
|
+
return this.i.kr ? this.i.kr.b : NaN;
|
|
346
353
|
}
|
|
347
354
|
set actualCornerRadiusBottomRight(v) {
|
|
348
355
|
this.ensureActualCornerRadius();
|
|
349
|
-
this.i.
|
|
350
|
-
this._a("actualCornerRadiusBottomRight", this.i.
|
|
351
|
-
this.i.
|
|
356
|
+
this.i.kr.b = +v;
|
|
357
|
+
this._a("actualCornerRadiusBottomRight", this.i.kr.b);
|
|
358
|
+
this.i.kr = this.i.kr;
|
|
352
359
|
}
|
|
353
360
|
get actualCornerRadiusBottomLeft() {
|
|
354
|
-
return this.i.
|
|
361
|
+
return this.i.kr ? this.i.kr.a : NaN;
|
|
355
362
|
}
|
|
356
363
|
set actualCornerRadiusBottomLeft(v) {
|
|
357
364
|
this.ensureActualCornerRadius();
|
|
358
|
-
this.i.
|
|
359
|
-
this._a("actualCornerRadiusBottomLeft", this.i.
|
|
360
|
-
this.i.
|
|
365
|
+
this.i.kr.a = +v;
|
|
366
|
+
this._a("actualCornerRadiusBottomLeft", this.i.kr.a);
|
|
367
|
+
this.i.kr = this.i.kr;
|
|
361
368
|
}
|
|
362
369
|
get actualCornerRadiusTopLeft() {
|
|
363
|
-
return this.i.
|
|
370
|
+
return this.i.kr ? this.i.kr.c : NaN;
|
|
364
371
|
}
|
|
365
372
|
set actualCornerRadiusTopLeft(v) {
|
|
366
373
|
this.ensureActualCornerRadius();
|
|
367
|
-
this.i.
|
|
368
|
-
this._a("actualCornerRadiusTopLeft", this.i.
|
|
369
|
-
this.i.
|
|
374
|
+
this.i.kr.c = +v;
|
|
375
|
+
this._a("actualCornerRadiusTopLeft", this.i.kr.c);
|
|
376
|
+
this.i.kr = this.i.kr;
|
|
370
377
|
}
|
|
371
378
|
get actualCornerRadiusTopRight() {
|
|
372
|
-
return this.i.
|
|
379
|
+
return this.i.kr ? this.i.kr.d : NaN;
|
|
373
380
|
}
|
|
374
381
|
set actualCornerRadiusTopRight(v) {
|
|
375
382
|
this.ensureActualCornerRadius();
|
|
376
|
-
this.i.
|
|
377
|
-
this._a("actualCornerRadiusTopRight", this.i.
|
|
378
|
-
this.i.
|
|
383
|
+
this.i.kr.d = +v;
|
|
384
|
+
this._a("actualCornerRadiusTopRight", this.i.kr.d);
|
|
385
|
+
this.i.kr = this.i.kr;
|
|
379
386
|
}
|
|
380
387
|
ensureActualCornerRadius() {
|
|
381
|
-
if (this.i.
|
|
388
|
+
if (this.i.kr) {
|
|
382
389
|
return;
|
|
383
390
|
}
|
|
384
|
-
this.i.
|
|
391
|
+
this.i.kr = new CornerRadius(2);
|
|
385
392
|
}
|
|
386
393
|
/**
|
|
387
394
|
* Gets the color to use for the actual background.
|
|
388
395
|
*/
|
|
389
396
|
get actualBackgroundColor() {
|
|
390
|
-
return brushToString(this.i.
|
|
397
|
+
return brushToString(this.i.nf);
|
|
391
398
|
}
|
|
392
399
|
set actualBackgroundColor(v) {
|
|
393
|
-
this.i.
|
|
394
|
-
this._a("actualBackgroundColor", brushToString(this.i.
|
|
400
|
+
this.i.nf = stringToBrush(v);
|
|
401
|
+
this._a("actualBackgroundColor", brushToString(this.i.nf));
|
|
395
402
|
}
|
|
396
403
|
/**
|
|
397
404
|
* Gets the actual color to use for the disabled background of the button.
|
|
398
405
|
*/
|
|
399
406
|
get actualDisabledBackgroundColor() {
|
|
400
|
-
return brushToString(this.i.
|
|
407
|
+
return brushToString(this.i.nh);
|
|
401
408
|
}
|
|
402
409
|
set actualDisabledBackgroundColor(v) {
|
|
403
|
-
this.i.
|
|
404
|
-
this._a("actualDisabledBackgroundColor", brushToString(this.i.
|
|
410
|
+
this.i.nh = stringToBrush(v);
|
|
411
|
+
this._a("actualDisabledBackgroundColor", brushToString(this.i.nh));
|
|
405
412
|
}
|
|
406
413
|
/**
|
|
407
414
|
* Gets the actual color to use for the disabled border of the button.
|
|
408
415
|
*/
|
|
409
416
|
get actualDisabledBorderColor() {
|
|
410
|
-
return brushToString(this.i.
|
|
417
|
+
return brushToString(this.i.ni);
|
|
411
418
|
}
|
|
412
419
|
set actualDisabledBorderColor(v) {
|
|
413
|
-
this.i.
|
|
414
|
-
this._a("actualDisabledBorderColor", brushToString(this.i.
|
|
420
|
+
this.i.ni = stringToBrush(v);
|
|
421
|
+
this._a("actualDisabledBorderColor", brushToString(this.i.ni));
|
|
415
422
|
}
|
|
416
423
|
/**
|
|
417
424
|
* Gets the actual color to use for the disabled text of the button.
|
|
418
425
|
*/
|
|
419
426
|
get actualDisabledTextColor() {
|
|
420
|
-
return brushToString(this.i.
|
|
427
|
+
return brushToString(this.i.nj);
|
|
421
428
|
}
|
|
422
429
|
set actualDisabledTextColor(v) {
|
|
423
|
-
this.i.
|
|
424
|
-
this._a("actualDisabledTextColor", brushToString(this.i.
|
|
430
|
+
this.i.nj = stringToBrush(v);
|
|
431
|
+
this._a("actualDisabledTextColor", brushToString(this.i.nj));
|
|
425
432
|
}
|
|
426
433
|
/**
|
|
427
434
|
* Gets the actual disabled elevation to use for the button.
|
|
428
435
|
*/
|
|
429
436
|
get actualDisabledElevation() {
|
|
430
|
-
return this.i.
|
|
437
|
+
return this.i.cq;
|
|
431
438
|
}
|
|
432
439
|
set actualDisabledElevation(v) {
|
|
433
|
-
this.i.
|
|
434
|
-
this._a("actualDisabledElevation", this.i.
|
|
440
|
+
this.i.cq = +v;
|
|
441
|
+
this._a("actualDisabledElevation", this.i.cq);
|
|
435
442
|
}
|
|
436
443
|
/**
|
|
437
444
|
* Gets the actual disabled elevation to use for the button.
|
|
438
445
|
*/
|
|
439
446
|
get actualElevationMode() {
|
|
440
|
-
return this.i.
|
|
447
|
+
return this.i.u;
|
|
441
448
|
}
|
|
442
449
|
set actualElevationMode(v) {
|
|
443
|
-
this.i.
|
|
444
|
-
this._a("actualElevationMode", enumToString(ElevationMode_$type, this.i.
|
|
450
|
+
this.i.u = ensureEnum(ElevationMode_$type, v);
|
|
451
|
+
this._a("actualElevationMode", enumToString(ElevationMode_$type, this.i.u));
|
|
445
452
|
}
|
|
446
453
|
/**
|
|
447
454
|
* Gets the color to use for the actual background.
|
|
448
455
|
*/
|
|
449
456
|
get actualTextColor() {
|
|
450
|
-
return brushToString(this.i.
|
|
457
|
+
return brushToString(this.i.nq);
|
|
451
458
|
}
|
|
452
459
|
set actualTextColor(v) {
|
|
453
|
-
this.i.
|
|
454
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
460
|
+
this.i.nq = stringToBrush(v);
|
|
461
|
+
this._a("actualTextColor", brushToString(this.i.nq));
|
|
455
462
|
}
|
|
456
463
|
/**
|
|
457
464
|
* Gets the color to use for the actual background.
|
|
458
465
|
*/
|
|
459
466
|
get actualHoverTextColor() {
|
|
460
|
-
return brushToString(this.i.
|
|
467
|
+
return brushToString(this.i.nn);
|
|
461
468
|
}
|
|
462
469
|
set actualHoverTextColor(v) {
|
|
463
|
-
this.i.
|
|
464
|
-
this._a("actualHoverTextColor", brushToString(this.i.
|
|
470
|
+
this.i.nn = stringToBrush(v);
|
|
471
|
+
this._a("actualHoverTextColor", brushToString(this.i.nn));
|
|
465
472
|
}
|
|
466
473
|
/**
|
|
467
474
|
* Gets the color to use for the actual background.
|
|
468
475
|
*/
|
|
469
476
|
get actualFocusBackgroundColor() {
|
|
470
|
-
return brushToString(this.i.
|
|
477
|
+
return brushToString(this.i.nk);
|
|
471
478
|
}
|
|
472
479
|
set actualFocusBackgroundColor(v) {
|
|
473
|
-
this.i.
|
|
474
|
-
this._a("actualFocusBackgroundColor", brushToString(this.i.
|
|
480
|
+
this.i.nk = stringToBrush(v);
|
|
481
|
+
this._a("actualFocusBackgroundColor", brushToString(this.i.nk));
|
|
475
482
|
}
|
|
476
483
|
/**
|
|
477
484
|
* Gets the actual color to use for the focused text.
|
|
478
485
|
*/
|
|
479
486
|
get actualFocusTextColor() {
|
|
480
|
-
return brushToString(this.i.
|
|
487
|
+
return brushToString(this.i.nl);
|
|
481
488
|
}
|
|
482
489
|
set actualFocusTextColor(v) {
|
|
483
|
-
this.i.
|
|
484
|
-
this._a("actualFocusTextColor", brushToString(this.i.
|
|
490
|
+
this.i.nl = stringToBrush(v);
|
|
491
|
+
this._a("actualFocusTextColor", brushToString(this.i.nl));
|
|
485
492
|
}
|
|
486
493
|
/**
|
|
487
494
|
* Gets the hover color to use for the actual background.
|
|
488
495
|
*/
|
|
489
496
|
get actualHoverBackgroundColor() {
|
|
490
|
-
return brushToString(this.i.
|
|
497
|
+
return brushToString(this.i.nm);
|
|
491
498
|
}
|
|
492
499
|
set actualHoverBackgroundColor(v) {
|
|
493
|
-
this.i.
|
|
494
|
-
this._a("actualHoverBackgroundColor", brushToString(this.i.
|
|
500
|
+
this.i.nm = stringToBrush(v);
|
|
501
|
+
this._a("actualHoverBackgroundColor", brushToString(this.i.nm));
|
|
495
502
|
}
|
|
496
503
|
/**
|
|
497
504
|
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
498
505
|
*/
|
|
499
506
|
get actualBorderWidth() {
|
|
500
|
-
return this.i.
|
|
507
|
+
return this.i.bf;
|
|
501
508
|
}
|
|
502
509
|
set actualBorderWidth(v) {
|
|
503
|
-
this.i.
|
|
504
|
-
this._a("actualBorderWidth", this.i.
|
|
510
|
+
this.i.bf = +v;
|
|
511
|
+
this._a("actualBorderWidth", this.i.bf);
|
|
505
512
|
}
|
|
506
513
|
/**
|
|
507
514
|
* Gets or sets the color to use for the background of the button when the type is raised.
|
|
508
515
|
*/
|
|
509
516
|
get raisedBackgroundColor() {
|
|
510
|
-
return brushToString(this.i.
|
|
517
|
+
return brushToString(this.i.qv);
|
|
511
518
|
}
|
|
512
519
|
set raisedBackgroundColor(v) {
|
|
513
|
-
this.i.
|
|
514
|
-
this._a("raisedBackgroundColor", brushToString(this.i.
|
|
520
|
+
this.i.qv = stringToBrush(v);
|
|
521
|
+
this._a("raisedBackgroundColor", brushToString(this.i.qv));
|
|
515
522
|
}
|
|
516
523
|
/**
|
|
517
524
|
* Gets or sets the color to use for the disabled background of the button when the type is raised.
|
|
518
525
|
*/
|
|
519
526
|
get raisedDisabledBackgroundColor() {
|
|
520
|
-
return brushToString(this.i.
|
|
527
|
+
return brushToString(this.i.qx);
|
|
521
528
|
}
|
|
522
529
|
set raisedDisabledBackgroundColor(v) {
|
|
523
|
-
this.i.
|
|
524
|
-
this._a("raisedDisabledBackgroundColor", brushToString(this.i.
|
|
530
|
+
this.i.qx = stringToBrush(v);
|
|
531
|
+
this._a("raisedDisabledBackgroundColor", brushToString(this.i.qx));
|
|
525
532
|
}
|
|
526
533
|
/**
|
|
527
534
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
528
535
|
*/
|
|
529
536
|
get raisedDisabledBorderColor() {
|
|
530
|
-
return brushToString(this.i.
|
|
537
|
+
return brushToString(this.i.qy);
|
|
531
538
|
}
|
|
532
539
|
set raisedDisabledBorderColor(v) {
|
|
533
|
-
this.i.
|
|
534
|
-
this._a("raisedDisabledBorderColor", brushToString(this.i.
|
|
540
|
+
this.i.qy = stringToBrush(v);
|
|
541
|
+
this._a("raisedDisabledBorderColor", brushToString(this.i.qy));
|
|
535
542
|
}
|
|
536
543
|
/**
|
|
537
544
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
538
545
|
*/
|
|
539
546
|
get raisedDisabledTextColor() {
|
|
540
|
-
return brushToString(this.i.
|
|
547
|
+
return brushToString(this.i.qz);
|
|
541
548
|
}
|
|
542
549
|
set raisedDisabledTextColor(v) {
|
|
543
|
-
this.i.
|
|
544
|
-
this._a("raisedDisabledTextColor", brushToString(this.i.
|
|
550
|
+
this.i.qz = stringToBrush(v);
|
|
551
|
+
this._a("raisedDisabledTextColor", brushToString(this.i.qz));
|
|
545
552
|
}
|
|
546
553
|
/**
|
|
547
554
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
548
555
|
*/
|
|
549
556
|
get raisedDisabledElevation() {
|
|
550
|
-
return this.i.
|
|
557
|
+
return this.i.dy;
|
|
551
558
|
}
|
|
552
559
|
set raisedDisabledElevation(v) {
|
|
553
|
-
this.i.
|
|
554
|
-
this._a("raisedDisabledElevation", this.i.
|
|
560
|
+
this.i.dy = +v;
|
|
561
|
+
this._a("raisedDisabledElevation", this.i.dy);
|
|
555
562
|
}
|
|
556
563
|
/**
|
|
557
564
|
* Gets or sets the hover color to use for the background of the button when the type is raised.
|
|
558
565
|
*/
|
|
559
566
|
get raisedHoverBackgroundColor() {
|
|
560
|
-
return brushToString(this.i.
|
|
567
|
+
return brushToString(this.i.q2);
|
|
561
568
|
}
|
|
562
569
|
set raisedHoverBackgroundColor(v) {
|
|
563
|
-
this.i.
|
|
564
|
-
this._a("raisedHoverBackgroundColor", brushToString(this.i.
|
|
570
|
+
this.i.q2 = stringToBrush(v);
|
|
571
|
+
this._a("raisedHoverBackgroundColor", brushToString(this.i.q2));
|
|
565
572
|
}
|
|
566
573
|
/**
|
|
567
574
|
* Gets or sets the border color to use for the button when the type is raised.
|
|
568
575
|
*/
|
|
569
576
|
get raisedBorderColor() {
|
|
570
|
-
return brushToString(this.i.
|
|
577
|
+
return brushToString(this.i.qw);
|
|
571
578
|
}
|
|
572
579
|
set raisedBorderColor(v) {
|
|
573
|
-
this.i.
|
|
574
|
-
this._a("raisedBorderColor", brushToString(this.i.
|
|
580
|
+
this.i.qw = stringToBrush(v);
|
|
581
|
+
this._a("raisedBorderColor", brushToString(this.i.qw));
|
|
575
582
|
}
|
|
576
583
|
/**
|
|
577
584
|
* Gets or sets the elevation to use for the button when the type is raised.
|
|
578
585
|
*/
|
|
579
586
|
get raisedRestingElevation() {
|
|
580
|
-
return this.i.
|
|
587
|
+
return this.i.d1;
|
|
581
588
|
}
|
|
582
589
|
set raisedRestingElevation(v) {
|
|
583
|
-
this.i.
|
|
584
|
-
this._a("raisedRestingElevation", this.i.
|
|
590
|
+
this.i.d1 = +v;
|
|
591
|
+
this._a("raisedRestingElevation", this.i.d1);
|
|
585
592
|
}
|
|
586
593
|
/**
|
|
587
594
|
* Gets or sets the hover elevation to use for the button when the type is raised.
|
|
588
595
|
*/
|
|
589
596
|
get raisedHoverElevation() {
|
|
590
|
-
return this.i.
|
|
597
|
+
return this.i.d0;
|
|
591
598
|
}
|
|
592
599
|
set raisedHoverElevation(v) {
|
|
593
|
-
this.i.
|
|
594
|
-
this._a("raisedHoverElevation", this.i.
|
|
600
|
+
this.i.d0 = +v;
|
|
601
|
+
this._a("raisedHoverElevation", this.i.d0);
|
|
595
602
|
}
|
|
596
603
|
/**
|
|
597
604
|
* Gets or sets the focus elevation to use for the button when the type is raised.
|
|
598
605
|
*/
|
|
599
606
|
get raisedFocusElevation() {
|
|
600
|
-
return this.i.
|
|
607
|
+
return this.i.dz;
|
|
601
608
|
}
|
|
602
609
|
set raisedFocusElevation(v) {
|
|
603
|
-
this.i.
|
|
604
|
-
this._a("raisedFocusElevation", this.i.
|
|
610
|
+
this.i.dz = +v;
|
|
611
|
+
this._a("raisedFocusElevation", this.i.dz);
|
|
605
612
|
}
|
|
606
613
|
/**
|
|
607
614
|
* Gets or sets the width to use for the button border when the type is raised.
|
|
608
615
|
*/
|
|
609
616
|
get raisedBorderWidth() {
|
|
610
|
-
return this.i.
|
|
617
|
+
return this.i.bw;
|
|
611
618
|
}
|
|
612
619
|
set raisedBorderWidth(v) {
|
|
613
|
-
this.i.
|
|
614
|
-
this._a("raisedBorderWidth", this.i.
|
|
620
|
+
this.i.bw = +v;
|
|
621
|
+
this._a("raisedBorderWidth", this.i.bw);
|
|
615
622
|
}
|
|
616
623
|
get raisedCornerRadiusBottomRight() {
|
|
617
|
-
return this.i.
|
|
624
|
+
return this.i.k3 ? this.i.k3.b : NaN;
|
|
618
625
|
}
|
|
619
626
|
set raisedCornerRadiusBottomRight(v) {
|
|
620
627
|
this.ensureRaisedCornerRadius();
|
|
621
|
-
this.i.
|
|
622
|
-
this._a("raisedCornerRadiusBottomRight", this.i.
|
|
623
|
-
this.i.
|
|
628
|
+
this.i.k3.b = +v;
|
|
629
|
+
this._a("raisedCornerRadiusBottomRight", this.i.k3.b);
|
|
630
|
+
this.i.k3 = this.i.k3;
|
|
624
631
|
}
|
|
625
632
|
get raisedCornerRadiusBottomLeft() {
|
|
626
|
-
return this.i.
|
|
633
|
+
return this.i.k3 ? this.i.k3.a : NaN;
|
|
627
634
|
}
|
|
628
635
|
set raisedCornerRadiusBottomLeft(v) {
|
|
629
636
|
this.ensureRaisedCornerRadius();
|
|
630
|
-
this.i.
|
|
631
|
-
this._a("raisedCornerRadiusBottomLeft", this.i.
|
|
632
|
-
this.i.
|
|
637
|
+
this.i.k3.a = +v;
|
|
638
|
+
this._a("raisedCornerRadiusBottomLeft", this.i.k3.a);
|
|
639
|
+
this.i.k3 = this.i.k3;
|
|
633
640
|
}
|
|
634
641
|
get raisedCornerRadiusTopLeft() {
|
|
635
|
-
return this.i.
|
|
642
|
+
return this.i.k3 ? this.i.k3.c : NaN;
|
|
636
643
|
}
|
|
637
644
|
set raisedCornerRadiusTopLeft(v) {
|
|
638
645
|
this.ensureRaisedCornerRadius();
|
|
639
|
-
this.i.
|
|
640
|
-
this._a("raisedCornerRadiusTopLeft", this.i.
|
|
641
|
-
this.i.
|
|
646
|
+
this.i.k3.c = +v;
|
|
647
|
+
this._a("raisedCornerRadiusTopLeft", this.i.k3.c);
|
|
648
|
+
this.i.k3 = this.i.k3;
|
|
642
649
|
}
|
|
643
650
|
get raisedCornerRadiusTopRight() {
|
|
644
|
-
return this.i.
|
|
651
|
+
return this.i.k3 ? this.i.k3.d : NaN;
|
|
645
652
|
}
|
|
646
653
|
set raisedCornerRadiusTopRight(v) {
|
|
647
654
|
this.ensureRaisedCornerRadius();
|
|
648
|
-
this.i.
|
|
649
|
-
this._a("raisedCornerRadiusTopRight", this.i.
|
|
650
|
-
this.i.
|
|
655
|
+
this.i.k3.d = +v;
|
|
656
|
+
this._a("raisedCornerRadiusTopRight", this.i.k3.d);
|
|
657
|
+
this.i.k3 = this.i.k3;
|
|
651
658
|
}
|
|
652
659
|
ensureRaisedCornerRadius() {
|
|
653
|
-
if (this.i.
|
|
660
|
+
if (this.i.k3) {
|
|
654
661
|
return;
|
|
655
662
|
}
|
|
656
|
-
this.i.
|
|
663
|
+
this.i.k3 = new CornerRadius(2);
|
|
657
664
|
}
|
|
658
665
|
/**
|
|
659
666
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
660
667
|
*/
|
|
661
668
|
get raisedRippleColor() {
|
|
662
|
-
return brushToString(this.i.
|
|
669
|
+
return brushToString(this.i.q4);
|
|
663
670
|
}
|
|
664
671
|
set raisedRippleColor(v) {
|
|
665
|
-
this.i.
|
|
666
|
-
this._a("raisedRippleColor", brushToString(this.i.
|
|
672
|
+
this.i.q4 = stringToBrush(v);
|
|
673
|
+
this._a("raisedRippleColor", brushToString(this.i.q4));
|
|
667
674
|
}
|
|
668
675
|
/**
|
|
669
676
|
* Gets or sets the color to use for the background of the button when the type is flat.
|
|
670
677
|
*/
|
|
671
678
|
get flatBackgroundColor() {
|
|
672
|
-
return brushToString(this.i.
|
|
679
|
+
return brushToString(this.i.pu);
|
|
673
680
|
}
|
|
674
681
|
set flatBackgroundColor(v) {
|
|
675
|
-
this.i.
|
|
676
|
-
this._a("flatBackgroundColor", brushToString(this.i.
|
|
682
|
+
this.i.pu = stringToBrush(v);
|
|
683
|
+
this._a("flatBackgroundColor", brushToString(this.i.pu));
|
|
677
684
|
}
|
|
678
685
|
/**
|
|
679
686
|
* Gets or sets the color to use for the disabled background of the button when the type is flat.
|
|
680
687
|
*/
|
|
681
688
|
get flatDisabledBackgroundColor() {
|
|
682
|
-
return brushToString(this.i.
|
|
689
|
+
return brushToString(this.i.pw);
|
|
683
690
|
}
|
|
684
691
|
set flatDisabledBackgroundColor(v) {
|
|
685
|
-
this.i.
|
|
686
|
-
this._a("flatDisabledBackgroundColor", brushToString(this.i.
|
|
692
|
+
this.i.pw = stringToBrush(v);
|
|
693
|
+
this._a("flatDisabledBackgroundColor", brushToString(this.i.pw));
|
|
687
694
|
}
|
|
688
695
|
/**
|
|
689
696
|
* Gets or sets the color to use for the disabled border of the button when the type is flat.
|
|
690
697
|
*/
|
|
691
698
|
get flatDisabledBorderColor() {
|
|
692
|
-
return brushToString(this.i.
|
|
699
|
+
return brushToString(this.i.px);
|
|
693
700
|
}
|
|
694
701
|
set flatDisabledBorderColor(v) {
|
|
695
|
-
this.i.
|
|
696
|
-
this._a("flatDisabledBorderColor", brushToString(this.i.
|
|
702
|
+
this.i.px = stringToBrush(v);
|
|
703
|
+
this._a("flatDisabledBorderColor", brushToString(this.i.px));
|
|
697
704
|
}
|
|
698
705
|
/**
|
|
699
706
|
* Gets or sets the color to use for the disabled text of the button when the type is flat.
|
|
700
707
|
*/
|
|
701
708
|
get flatDisabledTextColor() {
|
|
702
|
-
return brushToString(this.i.
|
|
709
|
+
return brushToString(this.i.py);
|
|
703
710
|
}
|
|
704
711
|
set flatDisabledTextColor(v) {
|
|
705
|
-
this.i.
|
|
706
|
-
this._a("flatDisabledTextColor", brushToString(this.i.
|
|
712
|
+
this.i.py = stringToBrush(v);
|
|
713
|
+
this._a("flatDisabledTextColor", brushToString(this.i.py));
|
|
707
714
|
}
|
|
708
715
|
/**
|
|
709
716
|
* Gets or sets the disabled elevation to use for the button when the type is flat.
|
|
710
717
|
*/
|
|
711
718
|
get flatDisabledElevation() {
|
|
712
|
-
return this.i.
|
|
719
|
+
return this.i.dj;
|
|
713
720
|
}
|
|
714
721
|
set flatDisabledElevation(v) {
|
|
715
|
-
this.i.
|
|
716
|
-
this._a("flatDisabledElevation", this.i.
|
|
722
|
+
this.i.dj = +v;
|
|
723
|
+
this._a("flatDisabledElevation", this.i.dj);
|
|
717
724
|
}
|
|
718
725
|
/**
|
|
719
726
|
* Gets or sets the hover color to use for the background of the button when the type is flat.
|
|
720
727
|
*/
|
|
721
728
|
get flatHoverBackgroundColor() {
|
|
722
|
-
return brushToString(this.i.
|
|
729
|
+
return brushToString(this.i.p1);
|
|
723
730
|
}
|
|
724
731
|
set flatHoverBackgroundColor(v) {
|
|
725
|
-
this.i.
|
|
726
|
-
this._a("flatHoverBackgroundColor", brushToString(this.i.
|
|
732
|
+
this.i.p1 = stringToBrush(v);
|
|
733
|
+
this._a("flatHoverBackgroundColor", brushToString(this.i.p1));
|
|
727
734
|
}
|
|
728
735
|
/**
|
|
729
736
|
* Gets or sets the border color to use for the button when the type is flat.
|
|
730
737
|
*/
|
|
731
738
|
get flatBorderColor() {
|
|
732
|
-
return brushToString(this.i.
|
|
739
|
+
return brushToString(this.i.pv);
|
|
733
740
|
}
|
|
734
741
|
set flatBorderColor(v) {
|
|
735
|
-
this.i.
|
|
736
|
-
this._a("flatBorderColor", brushToString(this.i.
|
|
742
|
+
this.i.pv = stringToBrush(v);
|
|
743
|
+
this._a("flatBorderColor", brushToString(this.i.pv));
|
|
737
744
|
}
|
|
738
745
|
/**
|
|
739
746
|
* Gets or sets the elevation to use for the button when the type is flat.
|
|
740
747
|
*/
|
|
741
748
|
get flatRestingElevation() {
|
|
742
|
-
return this.i.
|
|
749
|
+
return this.i.dm;
|
|
743
750
|
}
|
|
744
751
|
set flatRestingElevation(v) {
|
|
745
|
-
this.i.
|
|
746
|
-
this._a("flatRestingElevation", this.i.
|
|
752
|
+
this.i.dm = +v;
|
|
753
|
+
this._a("flatRestingElevation", this.i.dm);
|
|
747
754
|
}
|
|
748
755
|
/**
|
|
749
756
|
* Gets or sets the hover elevation to use for the button when the type is flat.
|
|
750
757
|
*/
|
|
751
758
|
get flatHoverElevation() {
|
|
752
|
-
return this.i.
|
|
759
|
+
return this.i.dl;
|
|
753
760
|
}
|
|
754
761
|
set flatHoverElevation(v) {
|
|
755
|
-
this.i.
|
|
756
|
-
this._a("flatHoverElevation", this.i.
|
|
762
|
+
this.i.dl = +v;
|
|
763
|
+
this._a("flatHoverElevation", this.i.dl);
|
|
757
764
|
}
|
|
758
765
|
/**
|
|
759
766
|
* Gets or sets the focus elevation to use for the button when the type is flat.
|
|
760
767
|
*/
|
|
761
768
|
get flatFocusElevation() {
|
|
762
|
-
return this.i.
|
|
769
|
+
return this.i.dk;
|
|
763
770
|
}
|
|
764
771
|
set flatFocusElevation(v) {
|
|
765
|
-
this.i.
|
|
766
|
-
this._a("flatFocusElevation", this.i.
|
|
772
|
+
this.i.dk = +v;
|
|
773
|
+
this._a("flatFocusElevation", this.i.dk);
|
|
767
774
|
}
|
|
768
775
|
/**
|
|
769
776
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
770
777
|
*/
|
|
771
778
|
get flatRippleColor() {
|
|
772
|
-
return brushToString(this.i.
|
|
779
|
+
return brushToString(this.i.p3);
|
|
773
780
|
}
|
|
774
781
|
set flatRippleColor(v) {
|
|
775
|
-
this.i.
|
|
776
|
-
this._a("flatRippleColor", brushToString(this.i.
|
|
782
|
+
this.i.p3 = stringToBrush(v);
|
|
783
|
+
this._a("flatRippleColor", brushToString(this.i.p3));
|
|
777
784
|
}
|
|
778
785
|
/**
|
|
779
786
|
* Gets or sets the color to use for the text of the button when type is flat.
|
|
780
787
|
*/
|
|
781
788
|
get flatTextColor() {
|
|
782
|
-
return brushToString(this.i.
|
|
789
|
+
return brushToString(this.i.p4);
|
|
783
790
|
}
|
|
784
791
|
set flatTextColor(v) {
|
|
785
|
-
this.i.
|
|
786
|
-
this._a("flatTextColor", brushToString(this.i.
|
|
792
|
+
this.i.p4 = stringToBrush(v);
|
|
793
|
+
this._a("flatTextColor", brushToString(this.i.p4));
|
|
787
794
|
}
|
|
788
795
|
/**
|
|
789
796
|
* Gets or sets the color to use for the hovered text of the button when type is flat.
|
|
790
797
|
*/
|
|
791
798
|
get flatHoverTextColor() {
|
|
792
|
-
return brushToString(this.i.
|
|
799
|
+
return brushToString(this.i.p2);
|
|
793
800
|
}
|
|
794
801
|
set flatHoverTextColor(v) {
|
|
795
|
-
this.i.
|
|
796
|
-
this._a("flatHoverTextColor", brushToString(this.i.
|
|
802
|
+
this.i.p2 = stringToBrush(v);
|
|
803
|
+
this._a("flatHoverTextColor", brushToString(this.i.p2));
|
|
797
804
|
}
|
|
798
805
|
/**
|
|
799
806
|
* Gets or sets the color to use for the backround the button when it is focused and flat.
|
|
800
807
|
*/
|
|
801
808
|
get flatFocusBackgroundColor() {
|
|
802
|
-
return brushToString(this.i.
|
|
809
|
+
return brushToString(this.i.pz);
|
|
803
810
|
}
|
|
804
811
|
set flatFocusBackgroundColor(v) {
|
|
805
|
-
this.i.
|
|
806
|
-
this._a("flatFocusBackgroundColor", brushToString(this.i.
|
|
812
|
+
this.i.pz = stringToBrush(v);
|
|
813
|
+
this._a("flatFocusBackgroundColor", brushToString(this.i.pz));
|
|
807
814
|
}
|
|
808
815
|
/**
|
|
809
816
|
* Gets or sets the color to use for the text the button when it is focused and flat.
|
|
810
817
|
*/
|
|
811
818
|
get flatFocusTextColor() {
|
|
812
|
-
return brushToString(this.i.
|
|
819
|
+
return brushToString(this.i.p0);
|
|
813
820
|
}
|
|
814
821
|
set flatFocusTextColor(v) {
|
|
815
|
-
this.i.
|
|
816
|
-
this._a("flatFocusTextColor", brushToString(this.i.
|
|
822
|
+
this.i.p0 = stringToBrush(v);
|
|
823
|
+
this._a("flatFocusTextColor", brushToString(this.i.p0));
|
|
817
824
|
}
|
|
818
825
|
/**
|
|
819
826
|
* Gets or sets the width to use for the button border when the type is flat.
|
|
820
827
|
*/
|
|
821
828
|
get flatBorderWidth() {
|
|
822
|
-
return this.i.
|
|
829
|
+
return this.i.br;
|
|
823
830
|
}
|
|
824
831
|
set flatBorderWidth(v) {
|
|
825
|
-
this.i.
|
|
826
|
-
this._a("flatBorderWidth", this.i.
|
|
832
|
+
this.i.br = +v;
|
|
833
|
+
this._a("flatBorderWidth", this.i.br);
|
|
827
834
|
}
|
|
828
835
|
get flatCornerRadiusBottomRight() {
|
|
829
|
-
return this.i.
|
|
836
|
+
return this.i.k0 ? this.i.k0.b : NaN;
|
|
830
837
|
}
|
|
831
838
|
set flatCornerRadiusBottomRight(v) {
|
|
832
839
|
this.ensureFlatCornerRadius();
|
|
833
|
-
this.i.
|
|
834
|
-
this._a("flatCornerRadiusBottomRight", this.i.
|
|
835
|
-
this.i.
|
|
840
|
+
this.i.k0.b = +v;
|
|
841
|
+
this._a("flatCornerRadiusBottomRight", this.i.k0.b);
|
|
842
|
+
this.i.k0 = this.i.k0;
|
|
836
843
|
}
|
|
837
844
|
get flatCornerRadiusBottomLeft() {
|
|
838
|
-
return this.i.
|
|
845
|
+
return this.i.k0 ? this.i.k0.a : NaN;
|
|
839
846
|
}
|
|
840
847
|
set flatCornerRadiusBottomLeft(v) {
|
|
841
848
|
this.ensureFlatCornerRadius();
|
|
842
|
-
this.i.
|
|
843
|
-
this._a("flatCornerRadiusBottomLeft", this.i.
|
|
844
|
-
this.i.
|
|
849
|
+
this.i.k0.a = +v;
|
|
850
|
+
this._a("flatCornerRadiusBottomLeft", this.i.k0.a);
|
|
851
|
+
this.i.k0 = this.i.k0;
|
|
845
852
|
}
|
|
846
853
|
get flatCornerRadiusTopLeft() {
|
|
847
|
-
return this.i.
|
|
854
|
+
return this.i.k0 ? this.i.k0.c : NaN;
|
|
848
855
|
}
|
|
849
856
|
set flatCornerRadiusTopLeft(v) {
|
|
850
857
|
this.ensureFlatCornerRadius();
|
|
851
|
-
this.i.
|
|
852
|
-
this._a("flatCornerRadiusTopLeft", this.i.
|
|
853
|
-
this.i.
|
|
858
|
+
this.i.k0.c = +v;
|
|
859
|
+
this._a("flatCornerRadiusTopLeft", this.i.k0.c);
|
|
860
|
+
this.i.k0 = this.i.k0;
|
|
854
861
|
}
|
|
855
862
|
get flatCornerRadiusTopRight() {
|
|
856
|
-
return this.i.
|
|
863
|
+
return this.i.k0 ? this.i.k0.d : NaN;
|
|
857
864
|
}
|
|
858
865
|
set flatCornerRadiusTopRight(v) {
|
|
859
866
|
this.ensureFlatCornerRadius();
|
|
860
|
-
this.i.
|
|
861
|
-
this._a("flatCornerRadiusTopRight", this.i.
|
|
862
|
-
this.i.
|
|
867
|
+
this.i.k0.d = +v;
|
|
868
|
+
this._a("flatCornerRadiusTopRight", this.i.k0.d);
|
|
869
|
+
this.i.k0 = this.i.k0;
|
|
863
870
|
}
|
|
864
871
|
ensureFlatCornerRadius() {
|
|
865
|
-
if (this.i.
|
|
872
|
+
if (this.i.k0) {
|
|
866
873
|
return;
|
|
867
874
|
}
|
|
868
|
-
this.i.
|
|
875
|
+
this.i.k0 = new CornerRadius(2);
|
|
869
876
|
}
|
|
870
877
|
/**
|
|
871
878
|
* Gets or sets the color to use for the background when the button regardless of type.
|
|
872
879
|
*/
|
|
873
880
|
get backgroundColor() {
|
|
874
|
-
return brushToString(this.i.
|
|
881
|
+
return brushToString(this.i.ns);
|
|
875
882
|
}
|
|
876
883
|
set backgroundColor(v) {
|
|
877
|
-
this.i.
|
|
878
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
884
|
+
this.i.ns = stringToBrush(v);
|
|
885
|
+
this._a("backgroundColor", brushToString(this.i.ns));
|
|
879
886
|
}
|
|
880
887
|
/**
|
|
881
888
|
* Gets or sets the color to use for the disabled background of the button when the type is disabled.
|
|
882
889
|
*/
|
|
883
890
|
get disabledBackgroundColor() {
|
|
884
|
-
return brushToString(this.i.
|
|
891
|
+
return brushToString(this.i.pg);
|
|
885
892
|
}
|
|
886
893
|
set disabledBackgroundColor(v) {
|
|
887
|
-
this.i.
|
|
888
|
-
this._a("disabledBackgroundColor", brushToString(this.i.
|
|
894
|
+
this.i.pg = stringToBrush(v);
|
|
895
|
+
this._a("disabledBackgroundColor", brushToString(this.i.pg));
|
|
889
896
|
}
|
|
890
897
|
/**
|
|
891
898
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
892
899
|
*/
|
|
893
900
|
get disabledBorderColor() {
|
|
894
|
-
return brushToString(this.i.
|
|
901
|
+
return brushToString(this.i.ph);
|
|
895
902
|
}
|
|
896
903
|
set disabledBorderColor(v) {
|
|
897
|
-
this.i.
|
|
898
|
-
this._a("disabledBorderColor", brushToString(this.i.
|
|
904
|
+
this.i.ph = stringToBrush(v);
|
|
905
|
+
this._a("disabledBorderColor", brushToString(this.i.ph));
|
|
899
906
|
}
|
|
900
907
|
/**
|
|
901
908
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
902
909
|
*/
|
|
903
910
|
get disabledTextColor() {
|
|
904
|
-
return brushToString(this.i.
|
|
911
|
+
return brushToString(this.i.pi);
|
|
905
912
|
}
|
|
906
913
|
set disabledTextColor(v) {
|
|
907
|
-
this.i.
|
|
908
|
-
this._a("disabledTextColor", brushToString(this.i.
|
|
914
|
+
this.i.pi = stringToBrush(v);
|
|
915
|
+
this._a("disabledTextColor", brushToString(this.i.pi));
|
|
909
916
|
}
|
|
910
917
|
/**
|
|
911
918
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
912
919
|
*/
|
|
913
920
|
get disabledElevation() {
|
|
914
|
-
return this.i.
|
|
921
|
+
return this.i.de;
|
|
915
922
|
}
|
|
916
923
|
set disabledElevation(v) {
|
|
917
|
-
this.i.
|
|
918
|
-
this._a("disabledElevation", this.i.
|
|
924
|
+
this.i.de = +v;
|
|
925
|
+
this._a("disabledElevation", this.i.de);
|
|
919
926
|
}
|
|
920
927
|
/**
|
|
921
928
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
922
929
|
*/
|
|
923
930
|
get elevationMode() {
|
|
924
|
-
return this.i.
|
|
931
|
+
return this.i.w;
|
|
925
932
|
}
|
|
926
933
|
set elevationMode(v) {
|
|
927
|
-
this.i.
|
|
928
|
-
this._a("elevationMode", enumToString(ElevationMode_$type, this.i.
|
|
934
|
+
this.i.w = ensureEnum(ElevationMode_$type, v);
|
|
935
|
+
this._a("elevationMode", enumToString(ElevationMode_$type, this.i.w));
|
|
929
936
|
}
|
|
930
937
|
/**
|
|
931
938
|
* Gets or sets the hover color to use for the background of the button when the type is hovered.
|
|
932
939
|
*/
|
|
933
940
|
get hoverBackgroundColor() {
|
|
934
|
-
return brushToString(this.i.
|
|
941
|
+
return brushToString(this.i.p7);
|
|
935
942
|
}
|
|
936
943
|
set hoverBackgroundColor(v) {
|
|
937
|
-
this.i.
|
|
938
|
-
this._a("hoverBackgroundColor", brushToString(this.i.
|
|
944
|
+
this.i.p7 = stringToBrush(v);
|
|
945
|
+
this._a("hoverBackgroundColor", brushToString(this.i.p7));
|
|
939
946
|
}
|
|
940
947
|
/**
|
|
941
948
|
* Gets or sets the border color to use for the button regardless of type.
|
|
942
949
|
*/
|
|
943
950
|
get borderColor() {
|
|
944
|
-
return brushToString(this.i.
|
|
951
|
+
return brushToString(this.i.nt);
|
|
945
952
|
}
|
|
946
953
|
set borderColor(v) {
|
|
947
|
-
this.i.
|
|
948
|
-
this._a("borderColor", brushToString(this.i.
|
|
954
|
+
this.i.nt = stringToBrush(v);
|
|
955
|
+
this._a("borderColor", brushToString(this.i.nt));
|
|
949
956
|
}
|
|
950
957
|
/**
|
|
951
958
|
* Gets or sets the elevation to use for the button regardless of type.
|
|
952
959
|
*/
|
|
953
960
|
get restingElevation() {
|
|
954
|
-
return this.i.
|
|
961
|
+
return this.i.d2;
|
|
955
962
|
}
|
|
956
963
|
set restingElevation(v) {
|
|
957
|
-
this.i.
|
|
958
|
-
this._a("restingElevation", this.i.
|
|
964
|
+
this.i.d2 = +v;
|
|
965
|
+
this._a("restingElevation", this.i.d2);
|
|
959
966
|
}
|
|
960
967
|
/**
|
|
961
968
|
* Gets or sets the hover elevation to use for the button regardless of type.
|
|
962
969
|
*/
|
|
963
970
|
get hoverElevation() {
|
|
964
|
-
return this.i.
|
|
971
|
+
return this.i.dp;
|
|
965
972
|
}
|
|
966
973
|
set hoverElevation(v) {
|
|
967
|
-
this.i.
|
|
968
|
-
this._a("hoverElevation", this.i.
|
|
974
|
+
this.i.dp = +v;
|
|
975
|
+
this._a("hoverElevation", this.i.dp);
|
|
969
976
|
}
|
|
970
977
|
/**
|
|
971
978
|
* Gets or sets the focus elevation to use for the button regardless of type.
|
|
972
979
|
*/
|
|
973
980
|
get focusElevation() {
|
|
974
|
-
return this.i.
|
|
981
|
+
return this.i.dn;
|
|
975
982
|
}
|
|
976
983
|
set focusElevation(v) {
|
|
977
|
-
this.i.
|
|
978
|
-
this._a("focusElevation", this.i.
|
|
984
|
+
this.i.dn = +v;
|
|
985
|
+
this._a("focusElevation", this.i.dn);
|
|
979
986
|
}
|
|
980
987
|
/**
|
|
981
988
|
* Gets or sets the use for the button.
|
|
982
989
|
*/
|
|
983
990
|
get textStyle() {
|
|
984
|
-
if (this.i.
|
|
991
|
+
if (this.i.aa == null) {
|
|
985
992
|
return null;
|
|
986
993
|
}
|
|
987
|
-
return this.i.
|
|
994
|
+
return this.i.aa.fontString;
|
|
988
995
|
}
|
|
989
996
|
set textStyle(v) {
|
|
990
997
|
let fi = new FontInfo();
|
|
991
998
|
fi.fontString = v;
|
|
992
|
-
this.i.
|
|
993
|
-
this._a("textStyle", this.i.
|
|
999
|
+
this.i.aa = fi;
|
|
1000
|
+
this._a("textStyle", this.i.aa != null ? this.i.aa.fontString : "");
|
|
994
1001
|
}
|
|
995
1002
|
/**
|
|
996
1003
|
* Gets or sets the color to use for the text of the button regardless of type.
|
|
997
1004
|
*/
|
|
998
1005
|
get textColor() {
|
|
999
|
-
return brushToString(this.i.
|
|
1006
|
+
return brushToString(this.i.q7);
|
|
1000
1007
|
}
|
|
1001
1008
|
set textColor(v) {
|
|
1002
|
-
this.i.
|
|
1003
|
-
this._a("textColor", brushToString(this.i.
|
|
1009
|
+
this.i.q7 = stringToBrush(v);
|
|
1010
|
+
this._a("textColor", brushToString(this.i.q7));
|
|
1004
1011
|
}
|
|
1005
1012
|
/**
|
|
1006
1013
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
1007
1014
|
*/
|
|
1008
1015
|
get hoverTextColor() {
|
|
1009
|
-
return brushToString(this.i.
|
|
1016
|
+
return brushToString(this.i.p8);
|
|
1010
1017
|
}
|
|
1011
1018
|
set hoverTextColor(v) {
|
|
1012
|
-
this.i.
|
|
1013
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
1019
|
+
this.i.p8 = stringToBrush(v);
|
|
1020
|
+
this._a("hoverTextColor", brushToString(this.i.p8));
|
|
1014
1021
|
}
|
|
1015
1022
|
/**
|
|
1016
1023
|
* Gets or sets the color to use for the background of the button regardless of type.
|
|
1017
1024
|
*/
|
|
1018
1025
|
get rippleColor() {
|
|
1019
|
-
return brushToString(this.i.
|
|
1026
|
+
return brushToString(this.i.q6);
|
|
1020
1027
|
}
|
|
1021
1028
|
set rippleColor(v) {
|
|
1022
|
-
this.i.
|
|
1023
|
-
this._a("rippleColor", brushToString(this.i.
|
|
1029
|
+
this.i.q6 = stringToBrush(v);
|
|
1030
|
+
this._a("rippleColor", brushToString(this.i.q6));
|
|
1024
1031
|
}
|
|
1025
1032
|
/**
|
|
1026
1033
|
* Gets or sets the color to use for the text of the button when type is raised.
|
|
1027
1034
|
*/
|
|
1028
1035
|
get raisedTextColor() {
|
|
1029
|
-
return brushToString(this.i.
|
|
1036
|
+
return brushToString(this.i.q5);
|
|
1030
1037
|
}
|
|
1031
1038
|
set raisedTextColor(v) {
|
|
1032
|
-
this.i.
|
|
1033
|
-
this._a("raisedTextColor", brushToString(this.i.
|
|
1039
|
+
this.i.q5 = stringToBrush(v);
|
|
1040
|
+
this._a("raisedTextColor", brushToString(this.i.q5));
|
|
1034
1041
|
}
|
|
1035
1042
|
/**
|
|
1036
1043
|
* Gets or sets the color to use for the hovered text of the button when type is raised.
|
|
1037
1044
|
*/
|
|
1038
1045
|
get raisedHoverTextColor() {
|
|
1039
|
-
return brushToString(this.i.
|
|
1046
|
+
return brushToString(this.i.q3);
|
|
1040
1047
|
}
|
|
1041
1048
|
set raisedHoverTextColor(v) {
|
|
1042
|
-
this.i.
|
|
1043
|
-
this._a("raisedHoverTextColor", brushToString(this.i.
|
|
1049
|
+
this.i.q3 = stringToBrush(v);
|
|
1050
|
+
this._a("raisedHoverTextColor", brushToString(this.i.q3));
|
|
1044
1051
|
}
|
|
1045
1052
|
/**
|
|
1046
1053
|
* Gets or sets the color to use for the backround the button when it is focused and raised.
|
|
1047
1054
|
*/
|
|
1048
1055
|
get raisedFocusBackgroundColor() {
|
|
1049
|
-
return brushToString(this.i.
|
|
1056
|
+
return brushToString(this.i.q0);
|
|
1050
1057
|
}
|
|
1051
1058
|
set raisedFocusBackgroundColor(v) {
|
|
1052
|
-
this.i.
|
|
1053
|
-
this._a("raisedFocusBackgroundColor", brushToString(this.i.
|
|
1059
|
+
this.i.q0 = stringToBrush(v);
|
|
1060
|
+
this._a("raisedFocusBackgroundColor", brushToString(this.i.q0));
|
|
1054
1061
|
}
|
|
1055
1062
|
/**
|
|
1056
1063
|
* Gets or sets the color to use for the text the button when it is focused and raised.
|
|
1057
1064
|
*/
|
|
1058
1065
|
get raisedFocusTextColor() {
|
|
1059
|
-
return brushToString(this.i.
|
|
1066
|
+
return brushToString(this.i.q1);
|
|
1060
1067
|
}
|
|
1061
1068
|
set raisedFocusTextColor(v) {
|
|
1062
|
-
this.i.
|
|
1063
|
-
this._a("raisedFocusTextColor", brushToString(this.i.
|
|
1069
|
+
this.i.q1 = stringToBrush(v);
|
|
1070
|
+
this._a("raisedFocusTextColor", brushToString(this.i.q1));
|
|
1064
1071
|
}
|
|
1065
1072
|
/**
|
|
1066
1073
|
* Gets or sets the color to use for the backround the button when it is focused.
|
|
1067
1074
|
*/
|
|
1068
1075
|
get focusBackgroundColor() {
|
|
1069
|
-
return brushToString(this.i.
|
|
1076
|
+
return brushToString(this.i.p5);
|
|
1070
1077
|
}
|
|
1071
1078
|
set focusBackgroundColor(v) {
|
|
1072
|
-
this.i.
|
|
1073
|
-
this._a("focusBackgroundColor", brushToString(this.i.
|
|
1079
|
+
this.i.p5 = stringToBrush(v);
|
|
1080
|
+
this._a("focusBackgroundColor", brushToString(this.i.p5));
|
|
1074
1081
|
}
|
|
1075
1082
|
/**
|
|
1076
1083
|
* Gets or sets the color to use for the text of the button when it is focused.
|
|
1077
1084
|
*/
|
|
1078
1085
|
get focusTextColor() {
|
|
1079
|
-
return brushToString(this.i.
|
|
1086
|
+
return brushToString(this.i.p6);
|
|
1080
1087
|
}
|
|
1081
1088
|
set focusTextColor(v) {
|
|
1082
|
-
this.i.
|
|
1083
|
-
this._a("focusTextColor", brushToString(this.i.
|
|
1089
|
+
this.i.p6 = stringToBrush(v);
|
|
1090
|
+
this._a("focusTextColor", brushToString(this.i.p6));
|
|
1084
1091
|
}
|
|
1085
1092
|
/**
|
|
1086
1093
|
* Gets or sets the width to use for the button border regardless of type.
|
|
1087
1094
|
*/
|
|
1088
1095
|
get borderWidth() {
|
|
1089
|
-
return this.i.
|
|
1096
|
+
return this.i.bg;
|
|
1090
1097
|
}
|
|
1091
1098
|
set borderWidth(v) {
|
|
1092
|
-
this.i.
|
|
1093
|
-
this._a("borderWidth", this.i.
|
|
1099
|
+
this.i.bg = +v;
|
|
1100
|
+
this._a("borderWidth", this.i.bg);
|
|
1094
1101
|
}
|
|
1095
1102
|
get cornerRadiusBottomRight() {
|
|
1096
|
-
return this.i.
|
|
1103
|
+
return this.i.kt ? this.i.kt.b : NaN;
|
|
1097
1104
|
}
|
|
1098
1105
|
set cornerRadiusBottomRight(v) {
|
|
1099
1106
|
this.ensureCornerRadius();
|
|
1100
|
-
this.i.
|
|
1101
|
-
this._a("cornerRadiusBottomRight", this.i.
|
|
1102
|
-
this.i.
|
|
1107
|
+
this.i.kt.b = +v;
|
|
1108
|
+
this._a("cornerRadiusBottomRight", this.i.kt.b);
|
|
1109
|
+
this.i.kt = this.i.kt;
|
|
1103
1110
|
}
|
|
1104
1111
|
get cornerRadiusBottomLeft() {
|
|
1105
|
-
return this.i.
|
|
1112
|
+
return this.i.kt ? this.i.kt.a : NaN;
|
|
1106
1113
|
}
|
|
1107
1114
|
set cornerRadiusBottomLeft(v) {
|
|
1108
1115
|
this.ensureCornerRadius();
|
|
1109
|
-
this.i.
|
|
1110
|
-
this._a("cornerRadiusBottomLeft", this.i.
|
|
1111
|
-
this.i.
|
|
1116
|
+
this.i.kt.a = +v;
|
|
1117
|
+
this._a("cornerRadiusBottomLeft", this.i.kt.a);
|
|
1118
|
+
this.i.kt = this.i.kt;
|
|
1112
1119
|
}
|
|
1113
1120
|
get cornerRadiusTopLeft() {
|
|
1114
|
-
return this.i.
|
|
1121
|
+
return this.i.kt ? this.i.kt.c : NaN;
|
|
1115
1122
|
}
|
|
1116
1123
|
set cornerRadiusTopLeft(v) {
|
|
1117
1124
|
this.ensureCornerRadius();
|
|
1118
|
-
this.i.
|
|
1119
|
-
this._a("cornerRadiusTopLeft", this.i.
|
|
1120
|
-
this.i.
|
|
1125
|
+
this.i.kt.c = +v;
|
|
1126
|
+
this._a("cornerRadiusTopLeft", this.i.kt.c);
|
|
1127
|
+
this.i.kt = this.i.kt;
|
|
1121
1128
|
}
|
|
1122
1129
|
get cornerRadiusTopRight() {
|
|
1123
|
-
return this.i.
|
|
1130
|
+
return this.i.kt ? this.i.kt.d : NaN;
|
|
1124
1131
|
}
|
|
1125
1132
|
set cornerRadiusTopRight(v) {
|
|
1126
1133
|
this.ensureCornerRadius();
|
|
1127
|
-
this.i.
|
|
1128
|
-
this._a("cornerRadiusTopRight", this.i.
|
|
1129
|
-
this.i.
|
|
1134
|
+
this.i.kt.d = +v;
|
|
1135
|
+
this._a("cornerRadiusTopRight", this.i.kt.d);
|
|
1136
|
+
this.i.kt = this.i.kt;
|
|
1130
1137
|
}
|
|
1131
1138
|
ensureCornerRadius() {
|
|
1132
|
-
if (this.i.
|
|
1139
|
+
if (this.i.kt) {
|
|
1133
1140
|
return;
|
|
1134
1141
|
}
|
|
1135
|
-
this.i.
|
|
1142
|
+
this.i.kt = new CornerRadius(2);
|
|
1136
1143
|
}
|
|
1137
1144
|
/**
|
|
1138
1145
|
* Gets or sets the color to use for the background of the button when the type is outlined.
|
|
1139
1146
|
*/
|
|
1140
1147
|
get outlinedBackgroundColor() {
|
|
1141
|
-
return brushToString(this.i.
|
|
1148
|
+
return brushToString(this.i.qk);
|
|
1142
1149
|
}
|
|
1143
1150
|
set outlinedBackgroundColor(v) {
|
|
1144
|
-
this.i.
|
|
1145
|
-
this._a("outlinedBackgroundColor", brushToString(this.i.
|
|
1151
|
+
this.i.qk = stringToBrush(v);
|
|
1152
|
+
this._a("outlinedBackgroundColor", brushToString(this.i.qk));
|
|
1146
1153
|
}
|
|
1147
1154
|
/**
|
|
1148
1155
|
* Gets or sets the color to use for the disabled background of the button when the type is outlined.
|
|
1149
1156
|
*/
|
|
1150
1157
|
get outlinedDisabledBackgroundColor() {
|
|
1151
|
-
return brushToString(this.i.
|
|
1158
|
+
return brushToString(this.i.qm);
|
|
1152
1159
|
}
|
|
1153
1160
|
set outlinedDisabledBackgroundColor(v) {
|
|
1154
|
-
this.i.
|
|
1155
|
-
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.
|
|
1161
|
+
this.i.qm = stringToBrush(v);
|
|
1162
|
+
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.qm));
|
|
1156
1163
|
}
|
|
1157
1164
|
/**
|
|
1158
1165
|
* Gets or sets the color to use for the disabled border of the button when the type is outlined.
|
|
1159
1166
|
*/
|
|
1160
1167
|
get outlinedDisabledBorderColor() {
|
|
1161
|
-
return brushToString(this.i.
|
|
1168
|
+
return brushToString(this.i.qn);
|
|
1162
1169
|
}
|
|
1163
1170
|
set outlinedDisabledBorderColor(v) {
|
|
1164
|
-
this.i.
|
|
1165
|
-
this._a("outlinedDisabledBorderColor", brushToString(this.i.
|
|
1171
|
+
this.i.qn = stringToBrush(v);
|
|
1172
|
+
this._a("outlinedDisabledBorderColor", brushToString(this.i.qn));
|
|
1166
1173
|
}
|
|
1167
1174
|
/**
|
|
1168
1175
|
* Gets or sets the color to use for the disabled text of the button when the type is outlined.
|
|
1169
1176
|
*/
|
|
1170
1177
|
get outlinedDisabledTextColor() {
|
|
1171
|
-
return brushToString(this.i.
|
|
1178
|
+
return brushToString(this.i.qo);
|
|
1172
1179
|
}
|
|
1173
1180
|
set outlinedDisabledTextColor(v) {
|
|
1174
|
-
this.i.
|
|
1175
|
-
this._a("outlinedDisabledTextColor", brushToString(this.i.
|
|
1181
|
+
this.i.qo = stringToBrush(v);
|
|
1182
|
+
this._a("outlinedDisabledTextColor", brushToString(this.i.qo));
|
|
1176
1183
|
}
|
|
1177
1184
|
/**
|
|
1178
1185
|
* Gets or sets the disabled elevation to use for the button when the type is outlined.
|
|
1179
1186
|
*/
|
|
1180
1187
|
get outlinedDisabledElevation() {
|
|
1181
|
-
return this.i.
|
|
1188
|
+
return this.i.du;
|
|
1182
1189
|
}
|
|
1183
1190
|
set outlinedDisabledElevation(v) {
|
|
1184
|
-
this.i.
|
|
1185
|
-
this._a("outlinedDisabledElevation", this.i.
|
|
1191
|
+
this.i.du = +v;
|
|
1192
|
+
this._a("outlinedDisabledElevation", this.i.du);
|
|
1186
1193
|
}
|
|
1187
1194
|
/**
|
|
1188
1195
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
|
|
1189
1196
|
*/
|
|
1190
1197
|
get outlinedHoverBackgroundColor() {
|
|
1191
|
-
return brushToString(this.i.
|
|
1198
|
+
return brushToString(this.i.qr);
|
|
1192
1199
|
}
|
|
1193
1200
|
set outlinedHoverBackgroundColor(v) {
|
|
1194
|
-
this.i.
|
|
1195
|
-
this._a("outlinedHoverBackgroundColor", brushToString(this.i.
|
|
1201
|
+
this.i.qr = stringToBrush(v);
|
|
1202
|
+
this._a("outlinedHoverBackgroundColor", brushToString(this.i.qr));
|
|
1196
1203
|
}
|
|
1197
1204
|
/**
|
|
1198
1205
|
* Gets or sets the border color to use for the button when the type is outlined.
|
|
1199
1206
|
*/
|
|
1200
1207
|
get outlinedBorderColor() {
|
|
1201
|
-
return brushToString(this.i.
|
|
1208
|
+
return brushToString(this.i.ql);
|
|
1202
1209
|
}
|
|
1203
1210
|
set outlinedBorderColor(v) {
|
|
1204
|
-
this.i.
|
|
1205
|
-
this._a("outlinedBorderColor", brushToString(this.i.
|
|
1211
|
+
this.i.ql = stringToBrush(v);
|
|
1212
|
+
this._a("outlinedBorderColor", brushToString(this.i.ql));
|
|
1206
1213
|
}
|
|
1207
1214
|
/**
|
|
1208
1215
|
* Gets or sets the elevation to use for the button when the type is outlined.
|
|
1209
1216
|
*/
|
|
1210
1217
|
get outlinedRestingElevation() {
|
|
1211
|
-
return this.i.
|
|
1218
|
+
return this.i.dx;
|
|
1212
1219
|
}
|
|
1213
1220
|
set outlinedRestingElevation(v) {
|
|
1214
|
-
this.i.
|
|
1215
|
-
this._a("outlinedRestingElevation", this.i.
|
|
1221
|
+
this.i.dx = +v;
|
|
1222
|
+
this._a("outlinedRestingElevation", this.i.dx);
|
|
1216
1223
|
}
|
|
1217
1224
|
/**
|
|
1218
1225
|
* Gets or sets the hover elevation to use for the button when the type is outlined.
|
|
1219
1226
|
*/
|
|
1220
1227
|
get outlinedHoverElevation() {
|
|
1221
|
-
return this.i.
|
|
1228
|
+
return this.i.dw;
|
|
1222
1229
|
}
|
|
1223
1230
|
set outlinedHoverElevation(v) {
|
|
1224
|
-
this.i.
|
|
1225
|
-
this._a("outlinedHoverElevation", this.i.
|
|
1231
|
+
this.i.dw = +v;
|
|
1232
|
+
this._a("outlinedHoverElevation", this.i.dw);
|
|
1226
1233
|
}
|
|
1227
1234
|
/**
|
|
1228
1235
|
* Gets or sets the focus elevation to use for the button when the type is outlined.
|
|
1229
1236
|
*/
|
|
1230
1237
|
get outlinedFocusElevation() {
|
|
1231
|
-
return this.i.
|
|
1238
|
+
return this.i.dv;
|
|
1232
1239
|
}
|
|
1233
1240
|
set outlinedFocusElevation(v) {
|
|
1234
|
-
this.i.
|
|
1235
|
-
this._a("outlinedFocusElevation", this.i.
|
|
1241
|
+
this.i.dv = +v;
|
|
1242
|
+
this._a("outlinedFocusElevation", this.i.dv);
|
|
1236
1243
|
}
|
|
1237
1244
|
/**
|
|
1238
1245
|
* Gets or sets the width to use for the button border when the type is outlined.
|
|
1239
1246
|
*/
|
|
1240
1247
|
get outlinedBorderWidth() {
|
|
1241
|
-
return this.i.
|
|
1248
|
+
return this.i.bv;
|
|
1242
1249
|
}
|
|
1243
1250
|
set outlinedBorderWidth(v) {
|
|
1244
|
-
this.i.
|
|
1245
|
-
this._a("outlinedBorderWidth", this.i.
|
|
1251
|
+
this.i.bv = +v;
|
|
1252
|
+
this._a("outlinedBorderWidth", this.i.bv);
|
|
1246
1253
|
}
|
|
1247
1254
|
get outlinedCornerRadiusBottomRight() {
|
|
1248
|
-
return this.i.
|
|
1255
|
+
return this.i.k2 ? this.i.k2.b : NaN;
|
|
1249
1256
|
}
|
|
1250
1257
|
set outlinedCornerRadiusBottomRight(v) {
|
|
1251
1258
|
this.ensureOutlinedCornerRadius();
|
|
1252
|
-
this.i.
|
|
1253
|
-
this._a("outlinedCornerRadiusBottomRight", this.i.
|
|
1254
|
-
this.i.
|
|
1259
|
+
this.i.k2.b = +v;
|
|
1260
|
+
this._a("outlinedCornerRadiusBottomRight", this.i.k2.b);
|
|
1261
|
+
this.i.k2 = this.i.k2;
|
|
1255
1262
|
}
|
|
1256
1263
|
get outlinedCornerRadiusBottomLeft() {
|
|
1257
|
-
return this.i.
|
|
1264
|
+
return this.i.k2 ? this.i.k2.a : NaN;
|
|
1258
1265
|
}
|
|
1259
1266
|
set outlinedCornerRadiusBottomLeft(v) {
|
|
1260
1267
|
this.ensureOutlinedCornerRadius();
|
|
1261
|
-
this.i.
|
|
1262
|
-
this._a("outlinedCornerRadiusBottomLeft", this.i.
|
|
1263
|
-
this.i.
|
|
1268
|
+
this.i.k2.a = +v;
|
|
1269
|
+
this._a("outlinedCornerRadiusBottomLeft", this.i.k2.a);
|
|
1270
|
+
this.i.k2 = this.i.k2;
|
|
1264
1271
|
}
|
|
1265
1272
|
get outlinedCornerRadiusTopLeft() {
|
|
1266
|
-
return this.i.
|
|
1273
|
+
return this.i.k2 ? this.i.k2.c : NaN;
|
|
1267
1274
|
}
|
|
1268
1275
|
set outlinedCornerRadiusTopLeft(v) {
|
|
1269
1276
|
this.ensureOutlinedCornerRadius();
|
|
1270
|
-
this.i.
|
|
1271
|
-
this._a("outlinedCornerRadiusTopLeft", this.i.
|
|
1272
|
-
this.i.
|
|
1277
|
+
this.i.k2.c = +v;
|
|
1278
|
+
this._a("outlinedCornerRadiusTopLeft", this.i.k2.c);
|
|
1279
|
+
this.i.k2 = this.i.k2;
|
|
1273
1280
|
}
|
|
1274
1281
|
get outlinedCornerRadiusTopRight() {
|
|
1275
|
-
return this.i.
|
|
1282
|
+
return this.i.k2 ? this.i.k2.d : NaN;
|
|
1276
1283
|
}
|
|
1277
1284
|
set outlinedCornerRadiusTopRight(v) {
|
|
1278
1285
|
this.ensureOutlinedCornerRadius();
|
|
1279
|
-
this.i.
|
|
1280
|
-
this._a("outlinedCornerRadiusTopRight", this.i.
|
|
1281
|
-
this.i.
|
|
1286
|
+
this.i.k2.d = +v;
|
|
1287
|
+
this._a("outlinedCornerRadiusTopRight", this.i.k2.d);
|
|
1288
|
+
this.i.k2 = this.i.k2;
|
|
1282
1289
|
}
|
|
1283
1290
|
ensureOutlinedCornerRadius() {
|
|
1284
|
-
if (this.i.
|
|
1291
|
+
if (this.i.k2) {
|
|
1285
1292
|
return;
|
|
1286
1293
|
}
|
|
1287
|
-
this.i.
|
|
1294
|
+
this.i.k2 = new CornerRadius(2);
|
|
1288
1295
|
}
|
|
1289
1296
|
/**
|
|
1290
1297
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1291
1298
|
*/
|
|
1292
1299
|
get outlinedRippleColor() {
|
|
1293
|
-
return brushToString(this.i.
|
|
1300
|
+
return brushToString(this.i.qt);
|
|
1294
1301
|
}
|
|
1295
1302
|
set outlinedRippleColor(v) {
|
|
1296
|
-
this.i.
|
|
1297
|
-
this._a("outlinedRippleColor", brushToString(this.i.
|
|
1303
|
+
this.i.qt = stringToBrush(v);
|
|
1304
|
+
this._a("outlinedRippleColor", brushToString(this.i.qt));
|
|
1298
1305
|
}
|
|
1299
1306
|
/**
|
|
1300
1307
|
* Gets or sets the color to use for the text of the button when type is outlined.
|
|
1301
1308
|
*/
|
|
1302
1309
|
get outlinedTextColor() {
|
|
1303
|
-
return brushToString(this.i.
|
|
1310
|
+
return brushToString(this.i.qu);
|
|
1304
1311
|
}
|
|
1305
1312
|
set outlinedTextColor(v) {
|
|
1306
|
-
this.i.
|
|
1307
|
-
this._a("outlinedTextColor", brushToString(this.i.
|
|
1313
|
+
this.i.qu = stringToBrush(v);
|
|
1314
|
+
this._a("outlinedTextColor", brushToString(this.i.qu));
|
|
1308
1315
|
}
|
|
1309
1316
|
/**
|
|
1310
1317
|
* Gets or sets the color to use for the hovered text of the button when type is outlined.
|
|
1311
1318
|
*/
|
|
1312
1319
|
get outlinedHoverTextColor() {
|
|
1313
|
-
return brushToString(this.i.
|
|
1320
|
+
return brushToString(this.i.qs);
|
|
1314
1321
|
}
|
|
1315
1322
|
set outlinedHoverTextColor(v) {
|
|
1316
|
-
this.i.
|
|
1317
|
-
this._a("outlinedHoverTextColor", brushToString(this.i.
|
|
1323
|
+
this.i.qs = stringToBrush(v);
|
|
1324
|
+
this._a("outlinedHoverTextColor", brushToString(this.i.qs));
|
|
1318
1325
|
}
|
|
1319
1326
|
/**
|
|
1320
1327
|
* Gets or sets the color to use for the backround the button when it is focused and outlined.
|
|
1321
1328
|
*/
|
|
1322
1329
|
get outlinedFocusBackgroundColor() {
|
|
1323
|
-
return brushToString(this.i.
|
|
1330
|
+
return brushToString(this.i.qp);
|
|
1324
1331
|
}
|
|
1325
1332
|
set outlinedFocusBackgroundColor(v) {
|
|
1326
|
-
this.i.
|
|
1327
|
-
this._a("outlinedFocusBackgroundColor", brushToString(this.i.
|
|
1333
|
+
this.i.qp = stringToBrush(v);
|
|
1334
|
+
this._a("outlinedFocusBackgroundColor", brushToString(this.i.qp));
|
|
1328
1335
|
}
|
|
1329
1336
|
/**
|
|
1330
1337
|
* Gets or sets the color to use for the text the button when it is focused and outlined.
|
|
1331
1338
|
*/
|
|
1332
1339
|
get outlinedFocusTextColor() {
|
|
1333
|
-
return brushToString(this.i.
|
|
1340
|
+
return brushToString(this.i.qq);
|
|
1334
1341
|
}
|
|
1335
1342
|
set outlinedFocusTextColor(v) {
|
|
1336
|
-
this.i.
|
|
1337
|
-
this._a("outlinedFocusTextColor", brushToString(this.i.
|
|
1343
|
+
this.i.qq = stringToBrush(v);
|
|
1344
|
+
this._a("outlinedFocusTextColor", brushToString(this.i.qq));
|
|
1338
1345
|
}
|
|
1339
1346
|
/**
|
|
1340
1347
|
* Gets or sets the color to use for the background of the button when the type is floating action button.
|
|
1341
1348
|
*/
|
|
1342
1349
|
get fabBackgroundColor() {
|
|
1343
|
-
return brushToString(this.i.
|
|
1350
|
+
return brushToString(this.i.pj);
|
|
1344
1351
|
}
|
|
1345
1352
|
set fabBackgroundColor(v) {
|
|
1346
|
-
this.i.
|
|
1347
|
-
this._a("fabBackgroundColor", brushToString(this.i.
|
|
1353
|
+
this.i.pj = stringToBrush(v);
|
|
1354
|
+
this._a("fabBackgroundColor", brushToString(this.i.pj));
|
|
1348
1355
|
}
|
|
1349
1356
|
/**
|
|
1350
1357
|
* Gets or sets the color to use for the disabled background of the button when the type is fab.
|
|
1351
1358
|
*/
|
|
1352
1359
|
get fabDisabledBackgroundColor() {
|
|
1353
|
-
return brushToString(this.i.
|
|
1360
|
+
return brushToString(this.i.pl);
|
|
1354
1361
|
}
|
|
1355
1362
|
set fabDisabledBackgroundColor(v) {
|
|
1356
|
-
this.i.
|
|
1357
|
-
this._a("fabDisabledBackgroundColor", brushToString(this.i.
|
|
1363
|
+
this.i.pl = stringToBrush(v);
|
|
1364
|
+
this._a("fabDisabledBackgroundColor", brushToString(this.i.pl));
|
|
1358
1365
|
}
|
|
1359
1366
|
/**
|
|
1360
1367
|
* Gets or sets the color to use for the disabled border of the button when the type is fab.
|
|
1361
1368
|
*/
|
|
1362
1369
|
get fabDisabledBorderColor() {
|
|
1363
|
-
return brushToString(this.i.
|
|
1370
|
+
return brushToString(this.i.pm);
|
|
1364
1371
|
}
|
|
1365
1372
|
set fabDisabledBorderColor(v) {
|
|
1366
|
-
this.i.
|
|
1367
|
-
this._a("fabDisabledBorderColor", brushToString(this.i.
|
|
1373
|
+
this.i.pm = stringToBrush(v);
|
|
1374
|
+
this._a("fabDisabledBorderColor", brushToString(this.i.pm));
|
|
1368
1375
|
}
|
|
1369
1376
|
/**
|
|
1370
1377
|
* Gets or sets the color to use for the disabled text of the button when the type is fab.
|
|
1371
1378
|
*/
|
|
1372
1379
|
get fabDisabledTextColor() {
|
|
1373
|
-
return brushToString(this.i.
|
|
1380
|
+
return brushToString(this.i.pn);
|
|
1374
1381
|
}
|
|
1375
1382
|
set fabDisabledTextColor(v) {
|
|
1376
|
-
this.i.
|
|
1377
|
-
this._a("fabDisabledTextColor", brushToString(this.i.
|
|
1383
|
+
this.i.pn = stringToBrush(v);
|
|
1384
|
+
this._a("fabDisabledTextColor", brushToString(this.i.pn));
|
|
1378
1385
|
}
|
|
1379
1386
|
/**
|
|
1380
1387
|
* Gets or sets the disabled elevation to use for the button when the type is fab.
|
|
1381
1388
|
*/
|
|
1382
1389
|
get fabDisabledElevation() {
|
|
1383
|
-
return this.i.
|
|
1390
|
+
return this.i.df;
|
|
1384
1391
|
}
|
|
1385
1392
|
set fabDisabledElevation(v) {
|
|
1386
|
-
this.i.
|
|
1387
|
-
this._a("fabDisabledElevation", this.i.
|
|
1393
|
+
this.i.df = +v;
|
|
1394
|
+
this._a("fabDisabledElevation", this.i.df);
|
|
1388
1395
|
}
|
|
1389
1396
|
/**
|
|
1390
1397
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
|
|
1391
1398
|
*/
|
|
1392
1399
|
get fabHoverBackgroundColor() {
|
|
1393
|
-
return brushToString(this.i.
|
|
1400
|
+
return brushToString(this.i.pq);
|
|
1394
1401
|
}
|
|
1395
1402
|
set fabHoverBackgroundColor(v) {
|
|
1396
|
-
this.i.
|
|
1397
|
-
this._a("fabHoverBackgroundColor", brushToString(this.i.
|
|
1403
|
+
this.i.pq = stringToBrush(v);
|
|
1404
|
+
this._a("fabHoverBackgroundColor", brushToString(this.i.pq));
|
|
1398
1405
|
}
|
|
1399
1406
|
/**
|
|
1400
1407
|
* Gets or sets the border color to use for the button when the type is floating action button.
|
|
1401
1408
|
*/
|
|
1402
1409
|
get fabBorderColor() {
|
|
1403
|
-
return brushToString(this.i.
|
|
1410
|
+
return brushToString(this.i.pk);
|
|
1404
1411
|
}
|
|
1405
1412
|
set fabBorderColor(v) {
|
|
1406
|
-
this.i.
|
|
1407
|
-
this._a("fabBorderColor", brushToString(this.i.
|
|
1413
|
+
this.i.pk = stringToBrush(v);
|
|
1414
|
+
this._a("fabBorderColor", brushToString(this.i.pk));
|
|
1408
1415
|
}
|
|
1409
1416
|
/**
|
|
1410
1417
|
* Gets or sets the elevation to use for the button when the type is floating action button.
|
|
1411
1418
|
*/
|
|
1412
1419
|
get fabRestingElevation() {
|
|
1413
|
-
return this.i.
|
|
1420
|
+
return this.i.di;
|
|
1414
1421
|
}
|
|
1415
1422
|
set fabRestingElevation(v) {
|
|
1416
|
-
this.i.
|
|
1417
|
-
this._a("fabRestingElevation", this.i.
|
|
1423
|
+
this.i.di = +v;
|
|
1424
|
+
this._a("fabRestingElevation", this.i.di);
|
|
1418
1425
|
}
|
|
1419
1426
|
/**
|
|
1420
1427
|
* Gets or sets the hover elevation to use for the button when the type is floating action button.
|
|
1421
1428
|
*/
|
|
1422
1429
|
get fabHoverElevation() {
|
|
1423
|
-
return this.i.
|
|
1430
|
+
return this.i.dh;
|
|
1424
1431
|
}
|
|
1425
1432
|
set fabHoverElevation(v) {
|
|
1426
|
-
this.i.
|
|
1427
|
-
this._a("fabHoverElevation", this.i.
|
|
1433
|
+
this.i.dh = +v;
|
|
1434
|
+
this._a("fabHoverElevation", this.i.dh);
|
|
1428
1435
|
}
|
|
1429
1436
|
/**
|
|
1430
1437
|
* Gets or sets the focus elevation to use for the button when the type is floating action button.
|
|
1431
1438
|
*/
|
|
1432
1439
|
get fabFocusElevation() {
|
|
1433
|
-
return this.i.
|
|
1440
|
+
return this.i.dg;
|
|
1434
1441
|
}
|
|
1435
1442
|
set fabFocusElevation(v) {
|
|
1436
|
-
this.i.
|
|
1437
|
-
this._a("fabFocusElevation", this.i.
|
|
1443
|
+
this.i.dg = +v;
|
|
1444
|
+
this._a("fabFocusElevation", this.i.dg);
|
|
1438
1445
|
}
|
|
1439
1446
|
/**
|
|
1440
1447
|
* Gets or sets the width to use for the button border when the type is floating action button.
|
|
1441
1448
|
*/
|
|
1442
1449
|
get fabBorderWidth() {
|
|
1443
|
-
return this.i.
|
|
1450
|
+
return this.i.bq;
|
|
1444
1451
|
}
|
|
1445
1452
|
set fabBorderWidth(v) {
|
|
1446
|
-
this.i.
|
|
1447
|
-
this._a("fabBorderWidth", this.i.
|
|
1453
|
+
this.i.bq = +v;
|
|
1454
|
+
this._a("fabBorderWidth", this.i.bq);
|
|
1448
1455
|
}
|
|
1449
1456
|
get fabCornerRadiusBottomRight() {
|
|
1450
|
-
return this.i.
|
|
1457
|
+
return this.i.kz ? this.i.kz.b : NaN;
|
|
1451
1458
|
}
|
|
1452
1459
|
set fabCornerRadiusBottomRight(v) {
|
|
1453
1460
|
this.ensureFabCornerRadius();
|
|
1454
|
-
this.i.
|
|
1455
|
-
this._a("fabCornerRadiusBottomRight", this.i.
|
|
1456
|
-
this.i.
|
|
1461
|
+
this.i.kz.b = +v;
|
|
1462
|
+
this._a("fabCornerRadiusBottomRight", this.i.kz.b);
|
|
1463
|
+
this.i.kz = this.i.kz;
|
|
1457
1464
|
}
|
|
1458
1465
|
get fabCornerRadiusBottomLeft() {
|
|
1459
|
-
return this.i.
|
|
1466
|
+
return this.i.kz ? this.i.kz.a : NaN;
|
|
1460
1467
|
}
|
|
1461
1468
|
set fabCornerRadiusBottomLeft(v) {
|
|
1462
1469
|
this.ensureFabCornerRadius();
|
|
1463
|
-
this.i.
|
|
1464
|
-
this._a("fabCornerRadiusBottomLeft", this.i.
|
|
1465
|
-
this.i.
|
|
1470
|
+
this.i.kz.a = +v;
|
|
1471
|
+
this._a("fabCornerRadiusBottomLeft", this.i.kz.a);
|
|
1472
|
+
this.i.kz = this.i.kz;
|
|
1466
1473
|
}
|
|
1467
1474
|
get fabCornerRadiusTopLeft() {
|
|
1468
|
-
return this.i.
|
|
1475
|
+
return this.i.kz ? this.i.kz.c : NaN;
|
|
1469
1476
|
}
|
|
1470
1477
|
set fabCornerRadiusTopLeft(v) {
|
|
1471
1478
|
this.ensureFabCornerRadius();
|
|
1472
|
-
this.i.
|
|
1473
|
-
this._a("fabCornerRadiusTopLeft", this.i.
|
|
1474
|
-
this.i.
|
|
1479
|
+
this.i.kz.c = +v;
|
|
1480
|
+
this._a("fabCornerRadiusTopLeft", this.i.kz.c);
|
|
1481
|
+
this.i.kz = this.i.kz;
|
|
1475
1482
|
}
|
|
1476
1483
|
get fabCornerRadiusTopRight() {
|
|
1477
|
-
return this.i.
|
|
1484
|
+
return this.i.kz ? this.i.kz.d : NaN;
|
|
1478
1485
|
}
|
|
1479
1486
|
set fabCornerRadiusTopRight(v) {
|
|
1480
1487
|
this.ensureFabCornerRadius();
|
|
1481
|
-
this.i.
|
|
1482
|
-
this._a("fabCornerRadiusTopRight", this.i.
|
|
1483
|
-
this.i.
|
|
1488
|
+
this.i.kz.d = +v;
|
|
1489
|
+
this._a("fabCornerRadiusTopRight", this.i.kz.d);
|
|
1490
|
+
this.i.kz = this.i.kz;
|
|
1484
1491
|
}
|
|
1485
1492
|
ensureFabCornerRadius() {
|
|
1486
|
-
if (this.i.
|
|
1493
|
+
if (this.i.kz) {
|
|
1487
1494
|
return;
|
|
1488
1495
|
}
|
|
1489
|
-
this.i.
|
|
1496
|
+
this.i.kz = new CornerRadius(2);
|
|
1490
1497
|
}
|
|
1491
1498
|
/**
|
|
1492
1499
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1493
1500
|
*/
|
|
1494
1501
|
get fabRippleColor() {
|
|
1495
|
-
return brushToString(this.i.
|
|
1502
|
+
return brushToString(this.i.ps);
|
|
1496
1503
|
}
|
|
1497
1504
|
set fabRippleColor(v) {
|
|
1498
|
-
this.i.
|
|
1499
|
-
this._a("fabRippleColor", brushToString(this.i.
|
|
1505
|
+
this.i.ps = stringToBrush(v);
|
|
1506
|
+
this._a("fabRippleColor", brushToString(this.i.ps));
|
|
1500
1507
|
}
|
|
1501
1508
|
/**
|
|
1502
1509
|
* Gets or sets the color to use for the text of the button when type is floating action button.
|
|
1503
1510
|
*/
|
|
1504
1511
|
get fabTextColor() {
|
|
1505
|
-
return brushToString(this.i.
|
|
1512
|
+
return brushToString(this.i.pt);
|
|
1506
1513
|
}
|
|
1507
1514
|
set fabTextColor(v) {
|
|
1508
|
-
this.i.
|
|
1509
|
-
this._a("fabTextColor", brushToString(this.i.
|
|
1515
|
+
this.i.pt = stringToBrush(v);
|
|
1516
|
+
this._a("fabTextColor", brushToString(this.i.pt));
|
|
1510
1517
|
}
|
|
1511
1518
|
/**
|
|
1512
1519
|
* Gets or sets the color to use for the hovered text of the button when type is floating action button.
|
|
1513
1520
|
*/
|
|
1514
1521
|
get fabHoverTextColor() {
|
|
1515
|
-
return brushToString(this.i.
|
|
1522
|
+
return brushToString(this.i.pr);
|
|
1516
1523
|
}
|
|
1517
1524
|
set fabHoverTextColor(v) {
|
|
1518
|
-
this.i.
|
|
1519
|
-
this._a("fabHoverTextColor", brushToString(this.i.
|
|
1525
|
+
this.i.pr = stringToBrush(v);
|
|
1526
|
+
this._a("fabHoverTextColor", brushToString(this.i.pr));
|
|
1520
1527
|
}
|
|
1521
1528
|
/**
|
|
1522
1529
|
* Gets or sets the color to use for the backround the button when it is focused and fab.
|
|
1523
1530
|
*/
|
|
1524
1531
|
get fabFocusBackgroundColor() {
|
|
1525
|
-
return brushToString(this.i.
|
|
1532
|
+
return brushToString(this.i.po);
|
|
1526
1533
|
}
|
|
1527
1534
|
set fabFocusBackgroundColor(v) {
|
|
1528
|
-
this.i.
|
|
1529
|
-
this._a("fabFocusBackgroundColor", brushToString(this.i.
|
|
1535
|
+
this.i.po = stringToBrush(v);
|
|
1536
|
+
this._a("fabFocusBackgroundColor", brushToString(this.i.po));
|
|
1530
1537
|
}
|
|
1531
1538
|
/**
|
|
1532
1539
|
* Gets or sets the color to use for the text the button when it is focused and fab.
|
|
1533
1540
|
*/
|
|
1534
1541
|
get fabFocusTextColor() {
|
|
1535
|
-
return brushToString(this.i.
|
|
1542
|
+
return brushToString(this.i.pp);
|
|
1536
1543
|
}
|
|
1537
1544
|
set fabFocusTextColor(v) {
|
|
1538
|
-
this.i.
|
|
1539
|
-
this._a("fabFocusTextColor", brushToString(this.i.
|
|
1545
|
+
this.i.pp = stringToBrush(v);
|
|
1546
|
+
this._a("fabFocusTextColor", brushToString(this.i.pp));
|
|
1540
1547
|
}
|
|
1541
1548
|
/**
|
|
1542
1549
|
* Gets or sets the color to use for the background of the button when the type is icon.
|
|
1543
1550
|
*/
|
|
1544
1551
|
get iconBackgroundColor() {
|
|
1545
|
-
return brushToString(this.i.
|
|
1552
|
+
return brushToString(this.i.p9);
|
|
1546
1553
|
}
|
|
1547
1554
|
set iconBackgroundColor(v) {
|
|
1548
|
-
this.i.
|
|
1549
|
-
this._a("iconBackgroundColor", brushToString(this.i.
|
|
1555
|
+
this.i.p9 = stringToBrush(v);
|
|
1556
|
+
this._a("iconBackgroundColor", brushToString(this.i.p9));
|
|
1550
1557
|
}
|
|
1551
1558
|
/**
|
|
1552
1559
|
* Gets or sets the color to use for the disabled background of the button when the type is icon.
|
|
1553
1560
|
*/
|
|
1554
1561
|
get iconDisabledBackgroundColor() {
|
|
1555
|
-
return brushToString(this.i.
|
|
1562
|
+
return brushToString(this.i.qb);
|
|
1556
1563
|
}
|
|
1557
1564
|
set iconDisabledBackgroundColor(v) {
|
|
1558
|
-
this.i.
|
|
1559
|
-
this._a("iconDisabledBackgroundColor", brushToString(this.i.
|
|
1565
|
+
this.i.qb = stringToBrush(v);
|
|
1566
|
+
this._a("iconDisabledBackgroundColor", brushToString(this.i.qb));
|
|
1560
1567
|
}
|
|
1561
1568
|
/**
|
|
1562
1569
|
* Gets or sets the color to use for the disabled border of the button when the type is icon.
|
|
1563
1570
|
*/
|
|
1564
1571
|
get iconDisabledBorderColor() {
|
|
1565
|
-
return brushToString(this.i.
|
|
1572
|
+
return brushToString(this.i.qc);
|
|
1566
1573
|
}
|
|
1567
1574
|
set iconDisabledBorderColor(v) {
|
|
1568
|
-
this.i.
|
|
1569
|
-
this._a("iconDisabledBorderColor", brushToString(this.i.
|
|
1575
|
+
this.i.qc = stringToBrush(v);
|
|
1576
|
+
this._a("iconDisabledBorderColor", brushToString(this.i.qc));
|
|
1570
1577
|
}
|
|
1571
1578
|
/**
|
|
1572
1579
|
* Gets or sets the color to use for the disabled text of the button when the type is icon.
|
|
1573
1580
|
*/
|
|
1574
1581
|
get iconDisabledTextColor() {
|
|
1575
|
-
return brushToString(this.i.
|
|
1582
|
+
return brushToString(this.i.qd);
|
|
1576
1583
|
}
|
|
1577
1584
|
set iconDisabledTextColor(v) {
|
|
1578
|
-
this.i.
|
|
1579
|
-
this._a("iconDisabledTextColor", brushToString(this.i.
|
|
1585
|
+
this.i.qd = stringToBrush(v);
|
|
1586
|
+
this._a("iconDisabledTextColor", brushToString(this.i.qd));
|
|
1580
1587
|
}
|
|
1581
1588
|
/**
|
|
1582
1589
|
* Gets or sets the disabled elevation to use for the button when the type is icon.
|
|
1583
1590
|
*/
|
|
1584
1591
|
get iconDisabledElevation() {
|
|
1585
|
-
return this.i.
|
|
1592
|
+
return this.i.dq;
|
|
1586
1593
|
}
|
|
1587
1594
|
set iconDisabledElevation(v) {
|
|
1588
|
-
this.i.
|
|
1589
|
-
this._a("iconDisabledElevation", this.i.
|
|
1595
|
+
this.i.dq = +v;
|
|
1596
|
+
this._a("iconDisabledElevation", this.i.dq);
|
|
1590
1597
|
}
|
|
1591
1598
|
/**
|
|
1592
1599
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
|
|
1593
1600
|
*/
|
|
1594
1601
|
get iconHoverBackgroundColor() {
|
|
1595
|
-
return brushToString(this.i.
|
|
1602
|
+
return brushToString(this.i.qg);
|
|
1596
1603
|
}
|
|
1597
1604
|
set iconHoverBackgroundColor(v) {
|
|
1598
|
-
this.i.
|
|
1599
|
-
this._a("iconHoverBackgroundColor", brushToString(this.i.
|
|
1605
|
+
this.i.qg = stringToBrush(v);
|
|
1606
|
+
this._a("iconHoverBackgroundColor", brushToString(this.i.qg));
|
|
1600
1607
|
}
|
|
1601
1608
|
/**
|
|
1602
1609
|
* Gets or sets the border color to use for the button when the type is icon.
|
|
1603
1610
|
*/
|
|
1604
1611
|
get iconBorderColor() {
|
|
1605
|
-
return brushToString(this.i.
|
|
1612
|
+
return brushToString(this.i.qa);
|
|
1606
1613
|
}
|
|
1607
1614
|
set iconBorderColor(v) {
|
|
1608
|
-
this.i.
|
|
1609
|
-
this._a("iconBorderColor", brushToString(this.i.
|
|
1615
|
+
this.i.qa = stringToBrush(v);
|
|
1616
|
+
this._a("iconBorderColor", brushToString(this.i.qa));
|
|
1610
1617
|
}
|
|
1611
1618
|
/**
|
|
1612
1619
|
* Gets or sets the elevation to use for the button when the type is icon.
|
|
1613
1620
|
*/
|
|
1614
1621
|
get iconRestingElevation() {
|
|
1615
|
-
return this.i.
|
|
1622
|
+
return this.i.dt;
|
|
1616
1623
|
}
|
|
1617
1624
|
set iconRestingElevation(v) {
|
|
1618
|
-
this.i.
|
|
1619
|
-
this._a("iconRestingElevation", this.i.
|
|
1625
|
+
this.i.dt = +v;
|
|
1626
|
+
this._a("iconRestingElevation", this.i.dt);
|
|
1620
1627
|
}
|
|
1621
1628
|
/**
|
|
1622
1629
|
* Gets or sets the hover elevation to use for the button when the type is icon.
|
|
1623
1630
|
*/
|
|
1624
1631
|
get iconHoverElevation() {
|
|
1625
|
-
return this.i.
|
|
1632
|
+
return this.i.ds;
|
|
1626
1633
|
}
|
|
1627
1634
|
set iconHoverElevation(v) {
|
|
1628
|
-
this.i.
|
|
1629
|
-
this._a("iconHoverElevation", this.i.
|
|
1635
|
+
this.i.ds = +v;
|
|
1636
|
+
this._a("iconHoverElevation", this.i.ds);
|
|
1630
1637
|
}
|
|
1631
1638
|
/**
|
|
1632
1639
|
* Gets or sets the focus elevation to use for the button when the type is icon.
|
|
1633
1640
|
*/
|
|
1634
1641
|
get iconFocusElevation() {
|
|
1635
|
-
return this.i.
|
|
1642
|
+
return this.i.dr;
|
|
1636
1643
|
}
|
|
1637
1644
|
set iconFocusElevation(v) {
|
|
1638
|
-
this.i.
|
|
1639
|
-
this._a("iconFocusElevation", this.i.
|
|
1645
|
+
this.i.dr = +v;
|
|
1646
|
+
this._a("iconFocusElevation", this.i.dr);
|
|
1640
1647
|
}
|
|
1641
1648
|
/**
|
|
1642
1649
|
* Gets or sets the width to use for the button border when the type is icon.
|
|
1643
1650
|
*/
|
|
1644
1651
|
get iconBorderWidth() {
|
|
1645
|
-
return this.i.
|
|
1652
|
+
return this.i.bs;
|
|
1646
1653
|
}
|
|
1647
1654
|
set iconBorderWidth(v) {
|
|
1648
|
-
this.i.
|
|
1649
|
-
this._a("iconBorderWidth", this.i.
|
|
1655
|
+
this.i.bs = +v;
|
|
1656
|
+
this._a("iconBorderWidth", this.i.bs);
|
|
1650
1657
|
}
|
|
1651
1658
|
get iconCornerRadiusBottomRight() {
|
|
1652
|
-
return this.i.
|
|
1659
|
+
return this.i.k1 ? this.i.k1.b : NaN;
|
|
1653
1660
|
}
|
|
1654
1661
|
set iconCornerRadiusBottomRight(v) {
|
|
1655
1662
|
this.ensureIconCornerRadius();
|
|
1656
|
-
this.i.
|
|
1657
|
-
this._a("iconCornerRadiusBottomRight", this.i.
|
|
1658
|
-
this.i.
|
|
1663
|
+
this.i.k1.b = +v;
|
|
1664
|
+
this._a("iconCornerRadiusBottomRight", this.i.k1.b);
|
|
1665
|
+
this.i.k1 = this.i.k1;
|
|
1659
1666
|
}
|
|
1660
1667
|
get iconCornerRadiusBottomLeft() {
|
|
1661
|
-
return this.i.
|
|
1668
|
+
return this.i.k1 ? this.i.k1.a : NaN;
|
|
1662
1669
|
}
|
|
1663
1670
|
set iconCornerRadiusBottomLeft(v) {
|
|
1664
1671
|
this.ensureIconCornerRadius();
|
|
1665
|
-
this.i.
|
|
1666
|
-
this._a("iconCornerRadiusBottomLeft", this.i.
|
|
1667
|
-
this.i.
|
|
1672
|
+
this.i.k1.a = +v;
|
|
1673
|
+
this._a("iconCornerRadiusBottomLeft", this.i.k1.a);
|
|
1674
|
+
this.i.k1 = this.i.k1;
|
|
1668
1675
|
}
|
|
1669
1676
|
get iconCornerRadiusTopLeft() {
|
|
1670
|
-
return this.i.
|
|
1677
|
+
return this.i.k1 ? this.i.k1.c : NaN;
|
|
1671
1678
|
}
|
|
1672
1679
|
set iconCornerRadiusTopLeft(v) {
|
|
1673
1680
|
this.ensureIconCornerRadius();
|
|
1674
|
-
this.i.
|
|
1675
|
-
this._a("iconCornerRadiusTopLeft", this.i.
|
|
1676
|
-
this.i.
|
|
1681
|
+
this.i.k1.c = +v;
|
|
1682
|
+
this._a("iconCornerRadiusTopLeft", this.i.k1.c);
|
|
1683
|
+
this.i.k1 = this.i.k1;
|
|
1677
1684
|
}
|
|
1678
1685
|
get iconCornerRadiusTopRight() {
|
|
1679
|
-
return this.i.
|
|
1686
|
+
return this.i.k1 ? this.i.k1.d : NaN;
|
|
1680
1687
|
}
|
|
1681
1688
|
set iconCornerRadiusTopRight(v) {
|
|
1682
1689
|
this.ensureIconCornerRadius();
|
|
1683
|
-
this.i.
|
|
1684
|
-
this._a("iconCornerRadiusTopRight", this.i.
|
|
1685
|
-
this.i.
|
|
1690
|
+
this.i.k1.d = +v;
|
|
1691
|
+
this._a("iconCornerRadiusTopRight", this.i.k1.d);
|
|
1692
|
+
this.i.k1 = this.i.k1;
|
|
1686
1693
|
}
|
|
1687
1694
|
ensureIconCornerRadius() {
|
|
1688
|
-
if (this.i.
|
|
1695
|
+
if (this.i.k1) {
|
|
1689
1696
|
return;
|
|
1690
1697
|
}
|
|
1691
|
-
this.i.
|
|
1698
|
+
this.i.k1 = new CornerRadius(2);
|
|
1692
1699
|
}
|
|
1693
1700
|
/**
|
|
1694
1701
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1695
1702
|
*/
|
|
1696
1703
|
get iconRippleColor() {
|
|
1697
|
-
return brushToString(this.i.
|
|
1704
|
+
return brushToString(this.i.qi);
|
|
1698
1705
|
}
|
|
1699
1706
|
set iconRippleColor(v) {
|
|
1700
|
-
this.i.
|
|
1701
|
-
this._a("iconRippleColor", brushToString(this.i.
|
|
1707
|
+
this.i.qi = stringToBrush(v);
|
|
1708
|
+
this._a("iconRippleColor", brushToString(this.i.qi));
|
|
1702
1709
|
}
|
|
1703
1710
|
/**
|
|
1704
1711
|
* Gets or sets the color to use for the text of the button when type is icon.
|
|
1705
1712
|
*/
|
|
1706
1713
|
get iconTextColor() {
|
|
1707
|
-
return brushToString(this.i.
|
|
1714
|
+
return brushToString(this.i.qj);
|
|
1708
1715
|
}
|
|
1709
1716
|
set iconTextColor(v) {
|
|
1710
|
-
this.i.
|
|
1711
|
-
this._a("iconTextColor", brushToString(this.i.
|
|
1717
|
+
this.i.qj = stringToBrush(v);
|
|
1718
|
+
this._a("iconTextColor", brushToString(this.i.qj));
|
|
1712
1719
|
}
|
|
1713
1720
|
/**
|
|
1714
1721
|
* Gets or sets the color to use for the hovered text of the button when type is icon.
|
|
1715
1722
|
*/
|
|
1716
1723
|
get iconHoverTextColor() {
|
|
1717
|
-
return brushToString(this.i.
|
|
1724
|
+
return brushToString(this.i.qh);
|
|
1718
1725
|
}
|
|
1719
1726
|
set iconHoverTextColor(v) {
|
|
1720
|
-
this.i.
|
|
1721
|
-
this._a("iconHoverTextColor", brushToString(this.i.
|
|
1727
|
+
this.i.qh = stringToBrush(v);
|
|
1728
|
+
this._a("iconHoverTextColor", brushToString(this.i.qh));
|
|
1722
1729
|
}
|
|
1723
1730
|
/**
|
|
1724
1731
|
* Gets or sets the color to use for the backround the button when it is focused and icon.
|
|
1725
1732
|
*/
|
|
1726
1733
|
get iconFocusBackgroundColor() {
|
|
1727
|
-
return brushToString(this.i.
|
|
1734
|
+
return brushToString(this.i.qe);
|
|
1728
1735
|
}
|
|
1729
1736
|
set iconFocusBackgroundColor(v) {
|
|
1730
|
-
this.i.
|
|
1731
|
-
this._a("iconFocusBackgroundColor", brushToString(this.i.
|
|
1737
|
+
this.i.qe = stringToBrush(v);
|
|
1738
|
+
this._a("iconFocusBackgroundColor", brushToString(this.i.qe));
|
|
1732
1739
|
}
|
|
1733
1740
|
/**
|
|
1734
1741
|
* Gets or sets the color to use for the text the button when it is focused and icon.
|
|
1735
1742
|
*/
|
|
1736
1743
|
get iconFocusTextColor() {
|
|
1737
|
-
return brushToString(this.i.
|
|
1744
|
+
return brushToString(this.i.qf);
|
|
1738
1745
|
}
|
|
1739
1746
|
set iconFocusTextColor(v) {
|
|
1740
|
-
this.i.
|
|
1741
|
-
this._a("iconFocusTextColor", brushToString(this.i.
|
|
1747
|
+
this.i.qf = stringToBrush(v);
|
|
1748
|
+
this._a("iconFocusTextColor", brushToString(this.i.qf));
|
|
1742
1749
|
}
|
|
1743
1750
|
/**
|
|
1744
1751
|
* Gets or sets the id to use for the internal native checkbox.
|
|
1745
1752
|
*/
|
|
1746
1753
|
get inputId() {
|
|
1747
|
-
return this.i.
|
|
1754
|
+
return this.i.hu;
|
|
1748
1755
|
}
|
|
1749
1756
|
set inputId(v) {
|
|
1750
|
-
this.i.
|
|
1757
|
+
this.i.hu = v;
|
|
1751
1758
|
}
|
|
1752
1759
|
/**
|
|
1753
1760
|
* Gets or sets the id to use for the checkbox.
|
|
1754
1761
|
*/
|
|
1755
1762
|
get id() {
|
|
1756
|
-
return this.i.
|
|
1763
|
+
return this.i.hs;
|
|
1757
1764
|
}
|
|
1758
1765
|
set id(v) {
|
|
1759
|
-
this.i.
|
|
1766
|
+
this.i.hs = v;
|
|
1760
1767
|
}
|
|
1761
1768
|
/**
|
|
1762
1769
|
* Gets or sets the id to use for the checkbox.
|
|
1763
1770
|
*/
|
|
1764
1771
|
get display() {
|
|
1765
|
-
return this.i.
|
|
1772
|
+
return this.i.fw;
|
|
1766
1773
|
}
|
|
1767
1774
|
set display(v) {
|
|
1768
|
-
this.i.
|
|
1775
|
+
this.i.fw = v;
|
|
1769
1776
|
}
|
|
1770
1777
|
/**
|
|
1771
1778
|
* Gets or sets the id to use for the checkbox.
|
|
1772
1779
|
*/
|
|
1773
1780
|
get flexDirection() {
|
|
1774
|
-
return this.i.
|
|
1781
|
+
return this.i.g0;
|
|
1775
1782
|
}
|
|
1776
1783
|
set flexDirection(v) {
|
|
1777
|
-
this.i.
|
|
1784
|
+
this.i.g0 = v;
|
|
1778
1785
|
}
|
|
1779
1786
|
/**
|
|
1780
1787
|
* Gets or sets the flex-grow setting for the button.
|
|
1781
1788
|
*/
|
|
1782
1789
|
get flexGrow() {
|
|
1783
|
-
return this.i.
|
|
1790
|
+
return this.i.g2;
|
|
1784
1791
|
}
|
|
1785
1792
|
set flexGrow(v) {
|
|
1786
|
-
this.i.
|
|
1793
|
+
this.i.g2 = v;
|
|
1787
1794
|
}
|
|
1788
1795
|
/**
|
|
1789
1796
|
* Gets or sets the id to use for the checkbox.
|
|
1790
1797
|
*/
|
|
1791
1798
|
get alignItems() {
|
|
1792
|
-
return this.i.
|
|
1799
|
+
return this.i.e7;
|
|
1793
1800
|
}
|
|
1794
1801
|
set alignItems(v) {
|
|
1795
|
-
this.i.
|
|
1802
|
+
this.i.e7 = v;
|
|
1796
1803
|
}
|
|
1797
1804
|
/**
|
|
1798
1805
|
* Gets or sets value to use for the checkbox.
|
|
1799
1806
|
*/
|
|
1800
1807
|
get value() {
|
|
1801
|
-
return this.i.
|
|
1808
|
+
return this.i.ea;
|
|
1802
1809
|
}
|
|
1803
1810
|
set value(v) {
|
|
1804
|
-
this.i.
|
|
1811
|
+
this.i.ea = v;
|
|
1805
1812
|
}
|
|
1806
1813
|
/**
|
|
1807
1814
|
* Gets or sets name to use for the button.
|
|
1808
1815
|
*/
|
|
1809
1816
|
get name() {
|
|
1810
|
-
return this.i.
|
|
1817
|
+
return this.i.h2;
|
|
1811
1818
|
}
|
|
1812
1819
|
set name(v) {
|
|
1813
|
-
this.i.
|
|
1820
|
+
this.i.h2 = v;
|
|
1814
1821
|
}
|
|
1815
1822
|
/**
|
|
1816
1823
|
* Gets or sets TabIndex to use for the checkbox.
|
|
1817
1824
|
*/
|
|
1818
1825
|
get tabIndex() {
|
|
1819
|
-
return this.i.
|
|
1826
|
+
return this.i.d3;
|
|
1820
1827
|
}
|
|
1821
1828
|
set tabIndex(v) {
|
|
1822
|
-
this.i.
|
|
1823
|
-
this._a("tabIndex", this.i.
|
|
1829
|
+
this.i.d3 = +v;
|
|
1830
|
+
this._a("tabIndex", this.i.d3);
|
|
1824
1831
|
}
|
|
1825
1832
|
/**
|
|
1826
1833
|
* Gets or sets the value of the aria-label attribute.
|
|
1827
1834
|
*/
|
|
1828
1835
|
get ariaLabel() {
|
|
1829
|
-
return this.i.
|
|
1836
|
+
return this.i.e9;
|
|
1830
1837
|
}
|
|
1831
1838
|
set ariaLabel(v) {
|
|
1832
|
-
this.i.
|
|
1839
|
+
this.i.e9 = v;
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* Gets or sets whether the button should fill the available space. If false, the button
|
|
1843
|
+
* will use an intrinsic size.
|
|
1844
|
+
*/
|
|
1845
|
+
get fillAvailableSpace() {
|
|
1846
|
+
return this.i.av;
|
|
1847
|
+
}
|
|
1848
|
+
set fillAvailableSpace(v) {
|
|
1849
|
+
this.i.av = ensureBool(v);
|
|
1850
|
+
this._a("fillAvailableSpace", this.i.av);
|
|
1833
1851
|
}
|
|
1834
1852
|
/**
|
|
1835
1853
|
* Gets or sets if the checkbox is Focused.
|
|
@@ -1845,41 +1863,51 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1845
1863
|
* Gets or sets if the button show use styling to show focus.
|
|
1846
1864
|
*/
|
|
1847
1865
|
get isFocusStyleEnabled() {
|
|
1848
|
-
return this.i.
|
|
1866
|
+
return this.i.az;
|
|
1849
1867
|
}
|
|
1850
1868
|
set isFocusStyleEnabled(v) {
|
|
1851
|
-
this.i.
|
|
1852
|
-
this._a("isFocusStyleEnabled", this.i.
|
|
1869
|
+
this.i.az = ensureBool(v);
|
|
1870
|
+
this._a("isFocusStyleEnabled", this.i.az);
|
|
1853
1871
|
}
|
|
1854
1872
|
/**
|
|
1855
1873
|
* Gets or sets whether to disable the ripple effect for the button.
|
|
1856
1874
|
*/
|
|
1857
1875
|
get disableRipple() {
|
|
1858
|
-
return this.i.
|
|
1876
|
+
return this.i.at;
|
|
1859
1877
|
}
|
|
1860
1878
|
set disableRipple(v) {
|
|
1861
|
-
this.i.
|
|
1862
|
-
this._a("disableRipple", this.i.
|
|
1879
|
+
this.i.at = ensureBool(v);
|
|
1880
|
+
this._a("disableRipple", this.i.at);
|
|
1863
1881
|
}
|
|
1864
1882
|
/**
|
|
1865
1883
|
* Gets whether to actually disable the ripple effect for the button.
|
|
1866
1884
|
*/
|
|
1867
1885
|
get actualDisableRipple() {
|
|
1868
|
-
return this.i.
|
|
1886
|
+
return this.i.ap;
|
|
1869
1887
|
}
|
|
1870
1888
|
set actualDisableRipple(v) {
|
|
1871
|
-
this.i.
|
|
1872
|
-
this._a("actualDisableRipple", this.i.
|
|
1889
|
+
this.i.ap = ensureBool(v);
|
|
1890
|
+
this._a("actualDisableRipple", this.i.ap);
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* Gets or sets whether the hover effect is disabled.
|
|
1894
|
+
*/
|
|
1895
|
+
get disableHover() {
|
|
1896
|
+
return this.i.ar;
|
|
1897
|
+
}
|
|
1898
|
+
set disableHover(v) {
|
|
1899
|
+
this.i.ar = ensureBool(v);
|
|
1900
|
+
this._a("disableHover", this.i.ar);
|
|
1873
1901
|
}
|
|
1874
1902
|
/**
|
|
1875
1903
|
* Gets or sets whether the checkbox is checked.
|
|
1876
1904
|
*/
|
|
1877
1905
|
get isHover() {
|
|
1878
|
-
return this.i.
|
|
1906
|
+
return this.i.a0;
|
|
1879
1907
|
}
|
|
1880
1908
|
set isHover(v) {
|
|
1881
|
-
this.i.
|
|
1882
|
-
this._a("isHover", this.i.
|
|
1909
|
+
this.i.a0 = ensureBool(v);
|
|
1910
|
+
this._a("isHover", this.i.a0);
|
|
1883
1911
|
}
|
|
1884
1912
|
/**
|
|
1885
1913
|
* Gets or sets whether the checkbox is disabled.
|
|
@@ -1895,11 +1923,85 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1895
1923
|
* Gets or sets whether the checkbox transitions are disabled.
|
|
1896
1924
|
*/
|
|
1897
1925
|
get disableTransitions() {
|
|
1898
|
-
return this.i.
|
|
1926
|
+
return this.i.au;
|
|
1899
1927
|
}
|
|
1900
1928
|
set disableTransitions(v) {
|
|
1901
|
-
this.i.
|
|
1902
|
-
this._a("disableTransitions", this.i.
|
|
1929
|
+
this.i.au = ensureBool(v);
|
|
1930
|
+
this._a("disableTransitions", this.i.au);
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Gets or sets whether the cursor will change into a pointer when the button is hovered.
|
|
1934
|
+
*/
|
|
1935
|
+
get disablePointer() {
|
|
1936
|
+
return this.i.as;
|
|
1937
|
+
}
|
|
1938
|
+
set disablePointer(v) {
|
|
1939
|
+
this.i.as = ensureBool(v);
|
|
1940
|
+
this._a("disablePointer", this.i.as);
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* Gets or sets the left padding for the button content.
|
|
1944
|
+
*/
|
|
1945
|
+
get contentPaddingLeft() {
|
|
1946
|
+
return this.i.bi;
|
|
1947
|
+
}
|
|
1948
|
+
set contentPaddingLeft(v) {
|
|
1949
|
+
this.i.bi = +v;
|
|
1950
|
+
this._a("contentPaddingLeft", this.i.bi);
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
* Gets or sets the top padding for the button content.
|
|
1954
|
+
*/
|
|
1955
|
+
get contentPaddingTop() {
|
|
1956
|
+
return this.i.bk;
|
|
1957
|
+
}
|
|
1958
|
+
set contentPaddingTop(v) {
|
|
1959
|
+
this.i.bk = +v;
|
|
1960
|
+
this._a("contentPaddingTop", this.i.bk);
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* Gets or sets the right padding for the button content.
|
|
1964
|
+
*/
|
|
1965
|
+
get contentPaddingRight() {
|
|
1966
|
+
return this.i.bj;
|
|
1967
|
+
}
|
|
1968
|
+
set contentPaddingRight(v) {
|
|
1969
|
+
this.i.bj = +v;
|
|
1970
|
+
this._a("contentPaddingRight", this.i.bj);
|
|
1971
|
+
}
|
|
1972
|
+
/**
|
|
1973
|
+
* Gets or sets the bottom padding for the button content.
|
|
1974
|
+
*/
|
|
1975
|
+
get contentPaddingBottom() {
|
|
1976
|
+
return this.i.bh;
|
|
1977
|
+
}
|
|
1978
|
+
set contentPaddingBottom(v) {
|
|
1979
|
+
this.i.bh = +v;
|
|
1980
|
+
this._a("contentPaddingBottom", this.i.bh);
|
|
1981
|
+
}
|
|
1982
|
+
get horizontalContentAlignment() {
|
|
1983
|
+
return this.i.k5;
|
|
1984
|
+
}
|
|
1985
|
+
set horizontalContentAlignment(v) {
|
|
1986
|
+
this.i.k5 = ensureEnum(HorizontalAlignment_$type, v);
|
|
1987
|
+
this._a("horizontalContentAlignment", enumToString(HorizontalAlignment_$type, this.i.k5));
|
|
1988
|
+
}
|
|
1989
|
+
get verticalContentAlignment() {
|
|
1990
|
+
return this.i.q9;
|
|
1991
|
+
}
|
|
1992
|
+
set verticalContentAlignment(v) {
|
|
1993
|
+
this.i.q9 = ensureEnum(VerticalAlignment_$type, v);
|
|
1994
|
+
this._a("verticalContentAlignment", enumToString(VerticalAlignment_$type, this.i.q9));
|
|
1995
|
+
}
|
|
1996
|
+
/**
|
|
1997
|
+
* Gets or sets if clicking on the button is allowed to tunnel down to button content.
|
|
1998
|
+
*/
|
|
1999
|
+
get clickTunneling() {
|
|
2000
|
+
return this.i.aq;
|
|
2001
|
+
}
|
|
2002
|
+
set clickTunneling(v) {
|
|
2003
|
+
this.i.aq = ensureBool(v);
|
|
2004
|
+
this._a("clickTunneling", this.i.aq);
|
|
1903
2005
|
}
|
|
1904
2006
|
findByName(name) {
|
|
1905
2007
|
if (this.findEphemera) {
|
|
@@ -1973,7 +2075,7 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1973
2075
|
|
|
1974
2076
|
*/
|
|
1975
2077
|
exportVisualModel() {
|
|
1976
|
-
let iv = this.i.
|
|
2078
|
+
let iv = this.i.d7();
|
|
1977
2079
|
return (iv);
|
|
1978
2080
|
}
|
|
1979
2081
|
/**
|
|
@@ -1981,7 +2083,7 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1981
2083
|
|
|
1982
2084
|
*/
|
|
1983
2085
|
exportSerializedVisualModel() {
|
|
1984
|
-
let iv = this.i.
|
|
2086
|
+
let iv = this.i.f0();
|
|
1985
2087
|
return (iv);
|
|
1986
2088
|
}
|
|
1987
2089
|
get clicked() {
|
|
@@ -2007,6 +2109,52 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
2007
2109
|
this.i.clicked = delegateCombine(this.i.clicked, this._clicked_wrapped);
|
|
2008
2110
|
;
|
|
2009
2111
|
}
|
|
2112
|
+
get gotFocus() {
|
|
2113
|
+
return this._gotFocus;
|
|
2114
|
+
}
|
|
2115
|
+
set gotFocus(ev) {
|
|
2116
|
+
if (this._gotFocus_wrapped !== null) {
|
|
2117
|
+
this.i.gotFocus = delegateRemove(this.i.gotFocus, this._gotFocus_wrapped);
|
|
2118
|
+
this._gotFocus_wrapped = null;
|
|
2119
|
+
this._gotFocus = null;
|
|
2120
|
+
}
|
|
2121
|
+
this._gotFocus = ev;
|
|
2122
|
+
this._gotFocus_wrapped = (o, e) => {
|
|
2123
|
+
let outerArgs = new IgcFocusEventArgs();
|
|
2124
|
+
outerArgs._provideImplementation(e);
|
|
2125
|
+
if (this.beforeGotFocus) {
|
|
2126
|
+
this.beforeGotFocus(this, outerArgs);
|
|
2127
|
+
}
|
|
2128
|
+
if (this._gotFocus) {
|
|
2129
|
+
this._gotFocus(this, outerArgs);
|
|
2130
|
+
}
|
|
2131
|
+
};
|
|
2132
|
+
this.i.gotFocus = delegateCombine(this.i.gotFocus, this._gotFocus_wrapped);
|
|
2133
|
+
;
|
|
2134
|
+
}
|
|
2135
|
+
get lostFocus() {
|
|
2136
|
+
return this._lostFocus;
|
|
2137
|
+
}
|
|
2138
|
+
set lostFocus(ev) {
|
|
2139
|
+
if (this._lostFocus_wrapped !== null) {
|
|
2140
|
+
this.i.lostFocus = delegateRemove(this.i.lostFocus, this._lostFocus_wrapped);
|
|
2141
|
+
this._lostFocus_wrapped = null;
|
|
2142
|
+
this._lostFocus = null;
|
|
2143
|
+
}
|
|
2144
|
+
this._lostFocus = ev;
|
|
2145
|
+
this._lostFocus_wrapped = (o, e) => {
|
|
2146
|
+
let outerArgs = new IgcFocusEventArgs();
|
|
2147
|
+
outerArgs._provideImplementation(e);
|
|
2148
|
+
if (this.beforeLostFocus) {
|
|
2149
|
+
this.beforeLostFocus(this, outerArgs);
|
|
2150
|
+
}
|
|
2151
|
+
if (this._lostFocus) {
|
|
2152
|
+
this._lostFocus(this, outerArgs);
|
|
2153
|
+
}
|
|
2154
|
+
};
|
|
2155
|
+
this.i.lostFocus = delegateCombine(this.i.lostFocus, this._lostFocus_wrapped);
|
|
2156
|
+
;
|
|
2157
|
+
}
|
|
2010
2158
|
}
|
|
2011
2159
|
IgcXButtonComponent._observedAttributesIgcXButtonComponent = null;
|
|
2012
2160
|
IgcXButtonComponent.htmlTagName = "igc-x-button";
|