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