igniteui-webcomponents-inputs 4.0.3 → 4.2.2
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 +2781 -2143
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +17 -17
- package/esm2015/lib/ButtonView_combined.js +945 -939
- package/esm2015/lib/CalendarView_combined.js +80 -80
- package/esm2015/lib/DatePickerView_combined.js +82 -64
- package/esm2015/lib/IconView_combined.js +250 -238
- package/esm2015/lib/InputGroupView_combined.js +368 -357
- package/esm2015/lib/NativeUIXInputsFactory.js +143 -0
- package/esm2015/lib/XButtonBridge.js +101 -0
- package/esm2015/lib/XCheckboxBridge.js +69 -0
- package/esm2015/lib/XComponentBridge.js +34 -0
- package/esm2015/lib/XIconButtonBridge.js +65 -0
- package/esm2015/lib/XInputBridge.js +162 -0
- package/esm2015/lib/igc-x-button-component.js +366 -366
- package/esm2015/lib/igc-x-icon-component.js +74 -63
- package/esm2015/lib/igc-x-input-component.js +65 -54
- package/esm2015/public_api.js +6 -0
- package/esm5/lib/ButtonGroupView_combined.js +17 -17
- package/esm5/lib/ButtonView_combined.js +941 -935
- package/esm5/lib/CalendarView_combined.js +80 -80
- package/esm5/lib/DatePickerView_combined.js +82 -64
- package/esm5/lib/IconView_combined.js +240 -224
- package/esm5/lib/InputGroupView_combined.js +353 -338
- package/esm5/lib/NativeUIXInputsFactory.js +153 -0
- package/esm5/lib/XButtonBridge.js +103 -0
- package/esm5/lib/XCheckboxBridge.js +71 -0
- package/esm5/lib/XComponentBridge.js +36 -0
- package/esm5/lib/XIconButtonBridge.js +67 -0
- package/esm5/lib/XInputBridge.js +164 -0
- package/esm5/lib/igc-x-button-component.js +366 -366
- package/esm5/lib/igc-x-icon-component.js +79 -64
- package/esm5/lib/igc-x-input-component.js +70 -55
- package/esm5/public_api.js +6 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +2785 -2178
- package/fesm5/igniteui-webcomponents-inputs.js +2772 -2141
- package/lib/ButtonView_combined.d.ts +262 -260
- package/lib/DatePickerView_combined.d.ts +22 -21
- package/lib/DatePickerVisualModelExport.d.ts +1 -1
- package/lib/IconView_combined.d.ts +59 -56
- package/lib/InputGroupView_combined.d.ts +91 -89
- package/lib/NativeUIXInputsFactory.d.ts +22 -0
- package/lib/XButtonBridge.d.ts +21 -0
- package/lib/XCheckboxBridge.d.ts +19 -0
- package/lib/XComponentBridge.d.ts +17 -0
- package/lib/XIconButtonBridge.d.ts +16 -0
- package/lib/XInputBridge.d.ts +24 -0
- package/lib/igc-x-icon-component.d.ts +6 -1
- package/lib/igc-x-input-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +6 -0
|
@@ -317,11 +317,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
317
317
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
318
318
|
*/
|
|
319
319
|
get: function () {
|
|
320
|
-
return brushToString(this.i.
|
|
320
|
+
return brushToString(this.i.na);
|
|
321
321
|
},
|
|
322
322
|
set: function (v) {
|
|
323
|
-
this.i.
|
|
324
|
-
this._a("actualBorderColor", brushToString(this.i.
|
|
323
|
+
this.i.na = stringToBrush(v);
|
|
324
|
+
this._a("actualBorderColor", brushToString(this.i.na));
|
|
325
325
|
},
|
|
326
326
|
enumerable: true,
|
|
327
327
|
configurable: true
|
|
@@ -331,11 +331,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
331
331
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
332
332
|
*/
|
|
333
333
|
get: function () {
|
|
334
|
-
return brushToString(this.i.
|
|
334
|
+
return brushToString(this.i.nl);
|
|
335
335
|
},
|
|
336
336
|
set: function (v) {
|
|
337
|
-
this.i.
|
|
338
|
-
this._a("actualUmbraShadowColor", brushToString(this.i.
|
|
337
|
+
this.i.nl = stringToBrush(v);
|
|
338
|
+
this._a("actualUmbraShadowColor", brushToString(this.i.nl));
|
|
339
339
|
},
|
|
340
340
|
enumerable: true,
|
|
341
341
|
configurable: true
|
|
@@ -345,11 +345,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
345
345
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
346
346
|
*/
|
|
347
347
|
get: function () {
|
|
348
|
-
return brushToString(this.i.
|
|
348
|
+
return brushToString(this.i.ni);
|
|
349
349
|
},
|
|
350
350
|
set: function (v) {
|
|
351
|
-
this.i.
|
|
352
|
-
this._a("actualPenumbraShadowColor", brushToString(this.i.
|
|
351
|
+
this.i.ni = stringToBrush(v);
|
|
352
|
+
this._a("actualPenumbraShadowColor", brushToString(this.i.ni));
|
|
353
353
|
},
|
|
354
354
|
enumerable: true,
|
|
355
355
|
configurable: true
|
|
@@ -359,11 +359,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
359
359
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
360
360
|
*/
|
|
361
361
|
get: function () {
|
|
362
|
-
return brushToString(this.i.
|
|
362
|
+
return brushToString(this.i.m8);
|
|
363
363
|
},
|
|
364
364
|
set: function (v) {
|
|
365
|
-
this.i.
|
|
366
|
-
this._a("actualAmbientShadowColor", brushToString(this.i.
|
|
365
|
+
this.i.m8 = stringToBrush(v);
|
|
366
|
+
this._a("actualAmbientShadowColor", brushToString(this.i.m8));
|
|
367
367
|
},
|
|
368
368
|
enumerable: true,
|
|
369
369
|
configurable: true
|
|
@@ -415,83 +415,83 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
415
415
|
* Gets or sets the color to use for the ripple when the button is pressed.
|
|
416
416
|
*/
|
|
417
417
|
get: function () {
|
|
418
|
-
return brushToString(this.i.
|
|
418
|
+
return brushToString(this.i.nj);
|
|
419
419
|
},
|
|
420
420
|
set: function (v) {
|
|
421
|
-
this.i.
|
|
422
|
-
this._a("actualRippleColor", brushToString(this.i.
|
|
421
|
+
this.i.nj = stringToBrush(v);
|
|
422
|
+
this._a("actualRippleColor", brushToString(this.i.nj));
|
|
423
423
|
},
|
|
424
424
|
enumerable: true,
|
|
425
425
|
configurable: true
|
|
426
426
|
});
|
|
427
427
|
Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusBottomRight", {
|
|
428
428
|
get: function () {
|
|
429
|
-
return this.i.
|
|
429
|
+
return this.i.kd ? this.i.kd.b : NaN;
|
|
430
430
|
},
|
|
431
431
|
set: function (v) {
|
|
432
432
|
this.ensureActualCornerRadius();
|
|
433
|
-
this.i.
|
|
434
|
-
this._a("actualCornerRadiusBottomRight", this.i.
|
|
435
|
-
this.i.
|
|
433
|
+
this.i.kd.b = +v;
|
|
434
|
+
this._a("actualCornerRadiusBottomRight", this.i.kd.b);
|
|
435
|
+
this.i.kd = this.i.kd;
|
|
436
436
|
},
|
|
437
437
|
enumerable: true,
|
|
438
438
|
configurable: true
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusBottomLeft", {
|
|
441
441
|
get: function () {
|
|
442
|
-
return this.i.
|
|
442
|
+
return this.i.kd ? this.i.kd.a : NaN;
|
|
443
443
|
},
|
|
444
444
|
set: function (v) {
|
|
445
445
|
this.ensureActualCornerRadius();
|
|
446
|
-
this.i.
|
|
447
|
-
this._a("actualCornerRadiusBottomLeft", this.i.
|
|
448
|
-
this.i.
|
|
446
|
+
this.i.kd.a = +v;
|
|
447
|
+
this._a("actualCornerRadiusBottomLeft", this.i.kd.a);
|
|
448
|
+
this.i.kd = this.i.kd;
|
|
449
449
|
},
|
|
450
450
|
enumerable: true,
|
|
451
451
|
configurable: true
|
|
452
452
|
});
|
|
453
453
|
Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusTopLeft", {
|
|
454
454
|
get: function () {
|
|
455
|
-
return this.i.
|
|
455
|
+
return this.i.kd ? this.i.kd.c : NaN;
|
|
456
456
|
},
|
|
457
457
|
set: function (v) {
|
|
458
458
|
this.ensureActualCornerRadius();
|
|
459
|
-
this.i.
|
|
460
|
-
this._a("actualCornerRadiusTopLeft", this.i.
|
|
461
|
-
this.i.
|
|
459
|
+
this.i.kd.c = +v;
|
|
460
|
+
this._a("actualCornerRadiusTopLeft", this.i.kd.c);
|
|
461
|
+
this.i.kd = this.i.kd;
|
|
462
462
|
},
|
|
463
463
|
enumerable: true,
|
|
464
464
|
configurable: true
|
|
465
465
|
});
|
|
466
466
|
Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusTopRight", {
|
|
467
467
|
get: function () {
|
|
468
|
-
return this.i.
|
|
468
|
+
return this.i.kd ? this.i.kd.d : NaN;
|
|
469
469
|
},
|
|
470
470
|
set: function (v) {
|
|
471
471
|
this.ensureActualCornerRadius();
|
|
472
|
-
this.i.
|
|
473
|
-
this._a("actualCornerRadiusTopRight", this.i.
|
|
474
|
-
this.i.
|
|
472
|
+
this.i.kd.d = +v;
|
|
473
|
+
this._a("actualCornerRadiusTopRight", this.i.kd.d);
|
|
474
|
+
this.i.kd = this.i.kd;
|
|
475
475
|
},
|
|
476
476
|
enumerable: true,
|
|
477
477
|
configurable: true
|
|
478
478
|
});
|
|
479
479
|
IgcXButtonComponent.prototype.ensureActualCornerRadius = function () {
|
|
480
|
-
if (this.i.
|
|
480
|
+
if (this.i.kd) {
|
|
481
481
|
return;
|
|
482
482
|
}
|
|
483
|
-
this.i.
|
|
483
|
+
this.i.kd = new CornerRadius(2);
|
|
484
484
|
};
|
|
485
485
|
Object.defineProperty(IgcXButtonComponent.prototype, "actualBackgroundColor", {
|
|
486
486
|
/**
|
|
487
487
|
* Gets the color to use for the actual background.
|
|
488
488
|
*/
|
|
489
489
|
get: function () {
|
|
490
|
-
return brushToString(this.i.
|
|
490
|
+
return brushToString(this.i.m9);
|
|
491
491
|
},
|
|
492
492
|
set: function (v) {
|
|
493
|
-
this.i.
|
|
494
|
-
this._a("actualBackgroundColor", brushToString(this.i.
|
|
493
|
+
this.i.m9 = stringToBrush(v);
|
|
494
|
+
this._a("actualBackgroundColor", brushToString(this.i.m9));
|
|
495
495
|
},
|
|
496
496
|
enumerable: true,
|
|
497
497
|
configurable: true
|
|
@@ -501,11 +501,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
501
501
|
* Gets the actual color to use for the disabled background of the button.
|
|
502
502
|
*/
|
|
503
503
|
get: function () {
|
|
504
|
-
return brushToString(this.i.
|
|
504
|
+
return brushToString(this.i.nb);
|
|
505
505
|
},
|
|
506
506
|
set: function (v) {
|
|
507
|
-
this.i.
|
|
508
|
-
this._a("actualDisabledBackgroundColor", brushToString(this.i.
|
|
507
|
+
this.i.nb = stringToBrush(v);
|
|
508
|
+
this._a("actualDisabledBackgroundColor", brushToString(this.i.nb));
|
|
509
509
|
},
|
|
510
510
|
enumerable: true,
|
|
511
511
|
configurable: true
|
|
@@ -515,11 +515,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
515
515
|
* Gets the actual color to use for the disabled border of the button.
|
|
516
516
|
*/
|
|
517
517
|
get: function () {
|
|
518
|
-
return brushToString(this.i.
|
|
518
|
+
return brushToString(this.i.nc);
|
|
519
519
|
},
|
|
520
520
|
set: function (v) {
|
|
521
|
-
this.i.
|
|
522
|
-
this._a("actualDisabledBorderColor", brushToString(this.i.
|
|
521
|
+
this.i.nc = stringToBrush(v);
|
|
522
|
+
this._a("actualDisabledBorderColor", brushToString(this.i.nc));
|
|
523
523
|
},
|
|
524
524
|
enumerable: true,
|
|
525
525
|
configurable: true
|
|
@@ -529,11 +529,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
529
529
|
* Gets the actual color to use for the disabled text of the button.
|
|
530
530
|
*/
|
|
531
531
|
get: function () {
|
|
532
|
-
return brushToString(this.i.
|
|
532
|
+
return brushToString(this.i.nd);
|
|
533
533
|
},
|
|
534
534
|
set: function (v) {
|
|
535
|
-
this.i.
|
|
536
|
-
this._a("actualDisabledTextColor", brushToString(this.i.
|
|
535
|
+
this.i.nd = stringToBrush(v);
|
|
536
|
+
this._a("actualDisabledTextColor", brushToString(this.i.nd));
|
|
537
537
|
},
|
|
538
538
|
enumerable: true,
|
|
539
539
|
configurable: true
|
|
@@ -571,11 +571,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
571
571
|
* Gets the color to use for the actual background.
|
|
572
572
|
*/
|
|
573
573
|
get: function () {
|
|
574
|
-
return brushToString(this.i.
|
|
574
|
+
return brushToString(this.i.nk);
|
|
575
575
|
},
|
|
576
576
|
set: function (v) {
|
|
577
|
-
this.i.
|
|
578
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
577
|
+
this.i.nk = stringToBrush(v);
|
|
578
|
+
this._a("actualTextColor", brushToString(this.i.nk));
|
|
579
579
|
},
|
|
580
580
|
enumerable: true,
|
|
581
581
|
configurable: true
|
|
@@ -585,11 +585,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
585
585
|
* Gets the color to use for the actual background.
|
|
586
586
|
*/
|
|
587
587
|
get: function () {
|
|
588
|
-
return brushToString(this.i.
|
|
588
|
+
return brushToString(this.i.nh);
|
|
589
589
|
},
|
|
590
590
|
set: function (v) {
|
|
591
|
-
this.i.
|
|
592
|
-
this._a("actualHoverTextColor", brushToString(this.i.
|
|
591
|
+
this.i.nh = stringToBrush(v);
|
|
592
|
+
this._a("actualHoverTextColor", brushToString(this.i.nh));
|
|
593
593
|
},
|
|
594
594
|
enumerable: true,
|
|
595
595
|
configurable: true
|
|
@@ -599,11 +599,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
599
599
|
* Gets the color to use for the actual background.
|
|
600
600
|
*/
|
|
601
601
|
get: function () {
|
|
602
|
-
return brushToString(this.i.
|
|
602
|
+
return brushToString(this.i.ne);
|
|
603
603
|
},
|
|
604
604
|
set: function (v) {
|
|
605
|
-
this.i.
|
|
606
|
-
this._a("actualFocusBackgroundColor", brushToString(this.i.
|
|
605
|
+
this.i.ne = stringToBrush(v);
|
|
606
|
+
this._a("actualFocusBackgroundColor", brushToString(this.i.ne));
|
|
607
607
|
},
|
|
608
608
|
enumerable: true,
|
|
609
609
|
configurable: true
|
|
@@ -613,11 +613,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
613
613
|
* Gets the actual color to use for the focused text.
|
|
614
614
|
*/
|
|
615
615
|
get: function () {
|
|
616
|
-
return brushToString(this.i.
|
|
616
|
+
return brushToString(this.i.nf);
|
|
617
617
|
},
|
|
618
618
|
set: function (v) {
|
|
619
|
-
this.i.
|
|
620
|
-
this._a("actualFocusTextColor", brushToString(this.i.
|
|
619
|
+
this.i.nf = stringToBrush(v);
|
|
620
|
+
this._a("actualFocusTextColor", brushToString(this.i.nf));
|
|
621
621
|
},
|
|
622
622
|
enumerable: true,
|
|
623
623
|
configurable: true
|
|
@@ -627,11 +627,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
627
627
|
* Gets the hover color to use for the actual background.
|
|
628
628
|
*/
|
|
629
629
|
get: function () {
|
|
630
|
-
return brushToString(this.i.
|
|
630
|
+
return brushToString(this.i.ng);
|
|
631
631
|
},
|
|
632
632
|
set: function (v) {
|
|
633
|
-
this.i.
|
|
634
|
-
this._a("actualHoverBackgroundColor", brushToString(this.i.
|
|
633
|
+
this.i.ng = stringToBrush(v);
|
|
634
|
+
this._a("actualHoverBackgroundColor", brushToString(this.i.ng));
|
|
635
635
|
},
|
|
636
636
|
enumerable: true,
|
|
637
637
|
configurable: true
|
|
@@ -655,11 +655,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
655
655
|
* Gets or sets the color to use for the background of the button when the type is raised.
|
|
656
656
|
*/
|
|
657
657
|
get: function () {
|
|
658
|
-
return brushToString(this.i.
|
|
658
|
+
return brushToString(this.i.tx);
|
|
659
659
|
},
|
|
660
660
|
set: function (v) {
|
|
661
|
-
this.i.
|
|
662
|
-
this._a("raisedBackgroundColor", brushToString(this.i.
|
|
661
|
+
this.i.tx = stringToBrush(v);
|
|
662
|
+
this._a("raisedBackgroundColor", brushToString(this.i.tx));
|
|
663
663
|
},
|
|
664
664
|
enumerable: true,
|
|
665
665
|
configurable: true
|
|
@@ -669,11 +669,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
669
669
|
* Gets or sets the color to use for the disabled background of the button when the type is raised.
|
|
670
670
|
*/
|
|
671
671
|
get: function () {
|
|
672
|
-
return brushToString(this.i.
|
|
672
|
+
return brushToString(this.i.tz);
|
|
673
673
|
},
|
|
674
674
|
set: function (v) {
|
|
675
|
-
this.i.
|
|
676
|
-
this._a("raisedDisabledBackgroundColor", brushToString(this.i.
|
|
675
|
+
this.i.tz = stringToBrush(v);
|
|
676
|
+
this._a("raisedDisabledBackgroundColor", brushToString(this.i.tz));
|
|
677
677
|
},
|
|
678
678
|
enumerable: true,
|
|
679
679
|
configurable: true
|
|
@@ -683,11 +683,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
683
683
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
684
684
|
*/
|
|
685
685
|
get: function () {
|
|
686
|
-
return brushToString(this.i.
|
|
686
|
+
return brushToString(this.i.t0);
|
|
687
687
|
},
|
|
688
688
|
set: function (v) {
|
|
689
|
-
this.i.
|
|
690
|
-
this._a("raisedDisabledBorderColor", brushToString(this.i.
|
|
689
|
+
this.i.t0 = stringToBrush(v);
|
|
690
|
+
this._a("raisedDisabledBorderColor", brushToString(this.i.t0));
|
|
691
691
|
},
|
|
692
692
|
enumerable: true,
|
|
693
693
|
configurable: true
|
|
@@ -697,11 +697,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
697
697
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
698
698
|
*/
|
|
699
699
|
get: function () {
|
|
700
|
-
return brushToString(this.i.
|
|
700
|
+
return brushToString(this.i.t1);
|
|
701
701
|
},
|
|
702
702
|
set: function (v) {
|
|
703
|
-
this.i.
|
|
704
|
-
this._a("raisedDisabledTextColor", brushToString(this.i.
|
|
703
|
+
this.i.t1 = stringToBrush(v);
|
|
704
|
+
this._a("raisedDisabledTextColor", brushToString(this.i.t1));
|
|
705
705
|
},
|
|
706
706
|
enumerable: true,
|
|
707
707
|
configurable: true
|
|
@@ -725,11 +725,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
725
725
|
* Gets or sets the hover color to use for the background of the button when the type is raised.
|
|
726
726
|
*/
|
|
727
727
|
get: function () {
|
|
728
|
-
return brushToString(this.i.
|
|
728
|
+
return brushToString(this.i.t4);
|
|
729
729
|
},
|
|
730
730
|
set: function (v) {
|
|
731
|
-
this.i.
|
|
732
|
-
this._a("raisedHoverBackgroundColor", brushToString(this.i.
|
|
731
|
+
this.i.t4 = stringToBrush(v);
|
|
732
|
+
this._a("raisedHoverBackgroundColor", brushToString(this.i.t4));
|
|
733
733
|
},
|
|
734
734
|
enumerable: true,
|
|
735
735
|
configurable: true
|
|
@@ -739,11 +739,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
739
739
|
* Gets or sets the border color to use for the button when the type is raised.
|
|
740
740
|
*/
|
|
741
741
|
get: function () {
|
|
742
|
-
return brushToString(this.i.
|
|
742
|
+
return brushToString(this.i.ty);
|
|
743
743
|
},
|
|
744
744
|
set: function (v) {
|
|
745
|
-
this.i.
|
|
746
|
-
this._a("raisedBorderColor", brushToString(this.i.
|
|
745
|
+
this.i.ty = stringToBrush(v);
|
|
746
|
+
this._a("raisedBorderColor", brushToString(this.i.ty));
|
|
747
747
|
},
|
|
748
748
|
enumerable: true,
|
|
749
749
|
configurable: true
|
|
@@ -806,72 +806,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
806
806
|
});
|
|
807
807
|
Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusBottomRight", {
|
|
808
808
|
get: function () {
|
|
809
|
-
return this.i.
|
|
809
|
+
return this.i.kz ? this.i.kz.b : NaN;
|
|
810
810
|
},
|
|
811
811
|
set: function (v) {
|
|
812
812
|
this.ensureRaisedCornerRadius();
|
|
813
|
-
this.i.
|
|
814
|
-
this._a("raisedCornerRadiusBottomRight", this.i.
|
|
815
|
-
this.i.
|
|
813
|
+
this.i.kz.b = +v;
|
|
814
|
+
this._a("raisedCornerRadiusBottomRight", this.i.kz.b);
|
|
815
|
+
this.i.kz = this.i.kz;
|
|
816
816
|
},
|
|
817
817
|
enumerable: true,
|
|
818
818
|
configurable: true
|
|
819
819
|
});
|
|
820
820
|
Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusBottomLeft", {
|
|
821
821
|
get: function () {
|
|
822
|
-
return this.i.
|
|
822
|
+
return this.i.kz ? this.i.kz.a : NaN;
|
|
823
823
|
},
|
|
824
824
|
set: function (v) {
|
|
825
825
|
this.ensureRaisedCornerRadius();
|
|
826
|
-
this.i.
|
|
827
|
-
this._a("raisedCornerRadiusBottomLeft", this.i.
|
|
828
|
-
this.i.
|
|
826
|
+
this.i.kz.a = +v;
|
|
827
|
+
this._a("raisedCornerRadiusBottomLeft", this.i.kz.a);
|
|
828
|
+
this.i.kz = this.i.kz;
|
|
829
829
|
},
|
|
830
830
|
enumerable: true,
|
|
831
831
|
configurable: true
|
|
832
832
|
});
|
|
833
833
|
Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusTopLeft", {
|
|
834
834
|
get: function () {
|
|
835
|
-
return this.i.
|
|
835
|
+
return this.i.kz ? this.i.kz.c : NaN;
|
|
836
836
|
},
|
|
837
837
|
set: function (v) {
|
|
838
838
|
this.ensureRaisedCornerRadius();
|
|
839
|
-
this.i.
|
|
840
|
-
this._a("raisedCornerRadiusTopLeft", this.i.
|
|
841
|
-
this.i.
|
|
839
|
+
this.i.kz.c = +v;
|
|
840
|
+
this._a("raisedCornerRadiusTopLeft", this.i.kz.c);
|
|
841
|
+
this.i.kz = this.i.kz;
|
|
842
842
|
},
|
|
843
843
|
enumerable: true,
|
|
844
844
|
configurable: true
|
|
845
845
|
});
|
|
846
846
|
Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusTopRight", {
|
|
847
847
|
get: function () {
|
|
848
|
-
return this.i.
|
|
848
|
+
return this.i.kz ? this.i.kz.d : NaN;
|
|
849
849
|
},
|
|
850
850
|
set: function (v) {
|
|
851
851
|
this.ensureRaisedCornerRadius();
|
|
852
|
-
this.i.
|
|
853
|
-
this._a("raisedCornerRadiusTopRight", this.i.
|
|
854
|
-
this.i.
|
|
852
|
+
this.i.kz.d = +v;
|
|
853
|
+
this._a("raisedCornerRadiusTopRight", this.i.kz.d);
|
|
854
|
+
this.i.kz = this.i.kz;
|
|
855
855
|
},
|
|
856
856
|
enumerable: true,
|
|
857
857
|
configurable: true
|
|
858
858
|
});
|
|
859
859
|
IgcXButtonComponent.prototype.ensureRaisedCornerRadius = function () {
|
|
860
|
-
if (this.i.
|
|
860
|
+
if (this.i.kz) {
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
|
-
this.i.
|
|
863
|
+
this.i.kz = new CornerRadius(2);
|
|
864
864
|
};
|
|
865
865
|
Object.defineProperty(IgcXButtonComponent.prototype, "raisedRippleColor", {
|
|
866
866
|
/**
|
|
867
867
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
868
868
|
*/
|
|
869
869
|
get: function () {
|
|
870
|
-
return brushToString(this.i.
|
|
870
|
+
return brushToString(this.i.t6);
|
|
871
871
|
},
|
|
872
872
|
set: function (v) {
|
|
873
|
-
this.i.
|
|
874
|
-
this._a("raisedRippleColor", brushToString(this.i.
|
|
873
|
+
this.i.t6 = stringToBrush(v);
|
|
874
|
+
this._a("raisedRippleColor", brushToString(this.i.t6));
|
|
875
875
|
},
|
|
876
876
|
enumerable: true,
|
|
877
877
|
configurable: true
|
|
@@ -881,11 +881,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
881
881
|
* Gets or sets the color to use for the background of the button when the type is flat.
|
|
882
882
|
*/
|
|
883
883
|
get: function () {
|
|
884
|
-
return brushToString(this.i.
|
|
884
|
+
return brushToString(this.i.sw);
|
|
885
885
|
},
|
|
886
886
|
set: function (v) {
|
|
887
|
-
this.i.
|
|
888
|
-
this._a("flatBackgroundColor", brushToString(this.i.
|
|
887
|
+
this.i.sw = stringToBrush(v);
|
|
888
|
+
this._a("flatBackgroundColor", brushToString(this.i.sw));
|
|
889
889
|
},
|
|
890
890
|
enumerable: true,
|
|
891
891
|
configurable: true
|
|
@@ -895,11 +895,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
895
895
|
* Gets or sets the color to use for the disabled background of the button when the type is flat.
|
|
896
896
|
*/
|
|
897
897
|
get: function () {
|
|
898
|
-
return brushToString(this.i.
|
|
898
|
+
return brushToString(this.i.sy);
|
|
899
899
|
},
|
|
900
900
|
set: function (v) {
|
|
901
|
-
this.i.
|
|
902
|
-
this._a("flatDisabledBackgroundColor", brushToString(this.i.
|
|
901
|
+
this.i.sy = stringToBrush(v);
|
|
902
|
+
this._a("flatDisabledBackgroundColor", brushToString(this.i.sy));
|
|
903
903
|
},
|
|
904
904
|
enumerable: true,
|
|
905
905
|
configurable: true
|
|
@@ -909,11 +909,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
909
909
|
* Gets or sets the color to use for the disabled border of the button when the type is flat.
|
|
910
910
|
*/
|
|
911
911
|
get: function () {
|
|
912
|
-
return brushToString(this.i.
|
|
912
|
+
return brushToString(this.i.sz);
|
|
913
913
|
},
|
|
914
914
|
set: function (v) {
|
|
915
|
-
this.i.
|
|
916
|
-
this._a("flatDisabledBorderColor", brushToString(this.i.
|
|
915
|
+
this.i.sz = stringToBrush(v);
|
|
916
|
+
this._a("flatDisabledBorderColor", brushToString(this.i.sz));
|
|
917
917
|
},
|
|
918
918
|
enumerable: true,
|
|
919
919
|
configurable: true
|
|
@@ -923,11 +923,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
923
923
|
* Gets or sets the color to use for the disabled text of the button when the type is flat.
|
|
924
924
|
*/
|
|
925
925
|
get: function () {
|
|
926
|
-
return brushToString(this.i.
|
|
926
|
+
return brushToString(this.i.s0);
|
|
927
927
|
},
|
|
928
928
|
set: function (v) {
|
|
929
|
-
this.i.
|
|
930
|
-
this._a("flatDisabledTextColor", brushToString(this.i.
|
|
929
|
+
this.i.s0 = stringToBrush(v);
|
|
930
|
+
this._a("flatDisabledTextColor", brushToString(this.i.s0));
|
|
931
931
|
},
|
|
932
932
|
enumerable: true,
|
|
933
933
|
configurable: true
|
|
@@ -951,11 +951,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
951
951
|
* Gets or sets the hover color to use for the background of the button when the type is flat.
|
|
952
952
|
*/
|
|
953
953
|
get: function () {
|
|
954
|
-
return brushToString(this.i.
|
|
954
|
+
return brushToString(this.i.s3);
|
|
955
955
|
},
|
|
956
956
|
set: function (v) {
|
|
957
|
-
this.i.
|
|
958
|
-
this._a("flatHoverBackgroundColor", brushToString(this.i.
|
|
957
|
+
this.i.s3 = stringToBrush(v);
|
|
958
|
+
this._a("flatHoverBackgroundColor", brushToString(this.i.s3));
|
|
959
959
|
},
|
|
960
960
|
enumerable: true,
|
|
961
961
|
configurable: true
|
|
@@ -965,11 +965,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
965
965
|
* Gets or sets the border color to use for the button when the type is flat.
|
|
966
966
|
*/
|
|
967
967
|
get: function () {
|
|
968
|
-
return brushToString(this.i.
|
|
968
|
+
return brushToString(this.i.sx);
|
|
969
969
|
},
|
|
970
970
|
set: function (v) {
|
|
971
|
-
this.i.
|
|
972
|
-
this._a("flatBorderColor", brushToString(this.i.
|
|
971
|
+
this.i.sx = stringToBrush(v);
|
|
972
|
+
this._a("flatBorderColor", brushToString(this.i.sx));
|
|
973
973
|
},
|
|
974
974
|
enumerable: true,
|
|
975
975
|
configurable: true
|
|
@@ -1021,11 +1021,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1021
1021
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1022
1022
|
*/
|
|
1023
1023
|
get: function () {
|
|
1024
|
-
return brushToString(this.i.
|
|
1024
|
+
return brushToString(this.i.s5);
|
|
1025
1025
|
},
|
|
1026
1026
|
set: function (v) {
|
|
1027
|
-
this.i.
|
|
1028
|
-
this._a("flatRippleColor", brushToString(this.i.
|
|
1027
|
+
this.i.s5 = stringToBrush(v);
|
|
1028
|
+
this._a("flatRippleColor", brushToString(this.i.s5));
|
|
1029
1029
|
},
|
|
1030
1030
|
enumerable: true,
|
|
1031
1031
|
configurable: true
|
|
@@ -1035,11 +1035,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1035
1035
|
* Gets or sets the color to use for the text of the button when type is flat.
|
|
1036
1036
|
*/
|
|
1037
1037
|
get: function () {
|
|
1038
|
-
return brushToString(this.i.
|
|
1038
|
+
return brushToString(this.i.s6);
|
|
1039
1039
|
},
|
|
1040
1040
|
set: function (v) {
|
|
1041
|
-
this.i.
|
|
1042
|
-
this._a("flatTextColor", brushToString(this.i.
|
|
1041
|
+
this.i.s6 = stringToBrush(v);
|
|
1042
|
+
this._a("flatTextColor", brushToString(this.i.s6));
|
|
1043
1043
|
},
|
|
1044
1044
|
enumerable: true,
|
|
1045
1045
|
configurable: true
|
|
@@ -1049,11 +1049,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1049
1049
|
* Gets or sets the color to use for the hovered text of the button when type is flat.
|
|
1050
1050
|
*/
|
|
1051
1051
|
get: function () {
|
|
1052
|
-
return brushToString(this.i.
|
|
1052
|
+
return brushToString(this.i.s4);
|
|
1053
1053
|
},
|
|
1054
1054
|
set: function (v) {
|
|
1055
|
-
this.i.
|
|
1056
|
-
this._a("flatHoverTextColor", brushToString(this.i.
|
|
1055
|
+
this.i.s4 = stringToBrush(v);
|
|
1056
|
+
this._a("flatHoverTextColor", brushToString(this.i.s4));
|
|
1057
1057
|
},
|
|
1058
1058
|
enumerable: true,
|
|
1059
1059
|
configurable: true
|
|
@@ -1063,11 +1063,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1063
1063
|
* Gets or sets the color to use for the backround the button when it is focused and flat.
|
|
1064
1064
|
*/
|
|
1065
1065
|
get: function () {
|
|
1066
|
-
return brushToString(this.i.
|
|
1066
|
+
return brushToString(this.i.s1);
|
|
1067
1067
|
},
|
|
1068
1068
|
set: function (v) {
|
|
1069
|
-
this.i.
|
|
1070
|
-
this._a("flatFocusBackgroundColor", brushToString(this.i.
|
|
1069
|
+
this.i.s1 = stringToBrush(v);
|
|
1070
|
+
this._a("flatFocusBackgroundColor", brushToString(this.i.s1));
|
|
1071
1071
|
},
|
|
1072
1072
|
enumerable: true,
|
|
1073
1073
|
configurable: true
|
|
@@ -1077,11 +1077,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1077
1077
|
* Gets or sets the color to use for the text the button when it is focused and flat.
|
|
1078
1078
|
*/
|
|
1079
1079
|
get: function () {
|
|
1080
|
-
return brushToString(this.i.
|
|
1080
|
+
return brushToString(this.i.s2);
|
|
1081
1081
|
},
|
|
1082
1082
|
set: function (v) {
|
|
1083
|
-
this.i.
|
|
1084
|
-
this._a("flatFocusTextColor", brushToString(this.i.
|
|
1083
|
+
this.i.s2 = stringToBrush(v);
|
|
1084
|
+
this._a("flatFocusTextColor", brushToString(this.i.s2));
|
|
1085
1085
|
},
|
|
1086
1086
|
enumerable: true,
|
|
1087
1087
|
configurable: true
|
|
@@ -1102,72 +1102,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1102
1102
|
});
|
|
1103
1103
|
Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusBottomRight", {
|
|
1104
1104
|
get: function () {
|
|
1105
|
-
return this.i.
|
|
1105
|
+
return this.i.kw ? this.i.kw.b : NaN;
|
|
1106
1106
|
},
|
|
1107
1107
|
set: function (v) {
|
|
1108
1108
|
this.ensureFlatCornerRadius();
|
|
1109
|
-
this.i.
|
|
1110
|
-
this._a("flatCornerRadiusBottomRight", this.i.
|
|
1111
|
-
this.i.
|
|
1109
|
+
this.i.kw.b = +v;
|
|
1110
|
+
this._a("flatCornerRadiusBottomRight", this.i.kw.b);
|
|
1111
|
+
this.i.kw = this.i.kw;
|
|
1112
1112
|
},
|
|
1113
1113
|
enumerable: true,
|
|
1114
1114
|
configurable: true
|
|
1115
1115
|
});
|
|
1116
1116
|
Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusBottomLeft", {
|
|
1117
1117
|
get: function () {
|
|
1118
|
-
return this.i.
|
|
1118
|
+
return this.i.kw ? this.i.kw.a : NaN;
|
|
1119
1119
|
},
|
|
1120
1120
|
set: function (v) {
|
|
1121
1121
|
this.ensureFlatCornerRadius();
|
|
1122
|
-
this.i.
|
|
1123
|
-
this._a("flatCornerRadiusBottomLeft", this.i.
|
|
1124
|
-
this.i.
|
|
1122
|
+
this.i.kw.a = +v;
|
|
1123
|
+
this._a("flatCornerRadiusBottomLeft", this.i.kw.a);
|
|
1124
|
+
this.i.kw = this.i.kw;
|
|
1125
1125
|
},
|
|
1126
1126
|
enumerable: true,
|
|
1127
1127
|
configurable: true
|
|
1128
1128
|
});
|
|
1129
1129
|
Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusTopLeft", {
|
|
1130
1130
|
get: function () {
|
|
1131
|
-
return this.i.
|
|
1131
|
+
return this.i.kw ? this.i.kw.c : NaN;
|
|
1132
1132
|
},
|
|
1133
1133
|
set: function (v) {
|
|
1134
1134
|
this.ensureFlatCornerRadius();
|
|
1135
|
-
this.i.
|
|
1136
|
-
this._a("flatCornerRadiusTopLeft", this.i.
|
|
1137
|
-
this.i.
|
|
1135
|
+
this.i.kw.c = +v;
|
|
1136
|
+
this._a("flatCornerRadiusTopLeft", this.i.kw.c);
|
|
1137
|
+
this.i.kw = this.i.kw;
|
|
1138
1138
|
},
|
|
1139
1139
|
enumerable: true,
|
|
1140
1140
|
configurable: true
|
|
1141
1141
|
});
|
|
1142
1142
|
Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusTopRight", {
|
|
1143
1143
|
get: function () {
|
|
1144
|
-
return this.i.
|
|
1144
|
+
return this.i.kw ? this.i.kw.d : NaN;
|
|
1145
1145
|
},
|
|
1146
1146
|
set: function (v) {
|
|
1147
1147
|
this.ensureFlatCornerRadius();
|
|
1148
|
-
this.i.
|
|
1149
|
-
this._a("flatCornerRadiusTopRight", this.i.
|
|
1150
|
-
this.i.
|
|
1148
|
+
this.i.kw.d = +v;
|
|
1149
|
+
this._a("flatCornerRadiusTopRight", this.i.kw.d);
|
|
1150
|
+
this.i.kw = this.i.kw;
|
|
1151
1151
|
},
|
|
1152
1152
|
enumerable: true,
|
|
1153
1153
|
configurable: true
|
|
1154
1154
|
});
|
|
1155
1155
|
IgcXButtonComponent.prototype.ensureFlatCornerRadius = function () {
|
|
1156
|
-
if (this.i.
|
|
1156
|
+
if (this.i.kw) {
|
|
1157
1157
|
return;
|
|
1158
1158
|
}
|
|
1159
|
-
this.i.
|
|
1159
|
+
this.i.kw = new CornerRadius(2);
|
|
1160
1160
|
};
|
|
1161
1161
|
Object.defineProperty(IgcXButtonComponent.prototype, "backgroundColor", {
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Gets or sets the color to use for the background when the button regardless of type.
|
|
1164
1164
|
*/
|
|
1165
1165
|
get: function () {
|
|
1166
|
-
return brushToString(this.i.
|
|
1166
|
+
return brushToString(this.i.nm);
|
|
1167
1167
|
},
|
|
1168
1168
|
set: function (v) {
|
|
1169
|
-
this.i.
|
|
1170
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
1169
|
+
this.i.nm = stringToBrush(v);
|
|
1170
|
+
this._a("backgroundColor", brushToString(this.i.nm));
|
|
1171
1171
|
},
|
|
1172
1172
|
enumerable: true,
|
|
1173
1173
|
configurable: true
|
|
@@ -1177,11 +1177,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1177
1177
|
* Gets or sets the color to use for the disabled background of the button when the type is disabled.
|
|
1178
1178
|
*/
|
|
1179
1179
|
get: function () {
|
|
1180
|
-
return brushToString(this.i.
|
|
1180
|
+
return brushToString(this.i.si);
|
|
1181
1181
|
},
|
|
1182
1182
|
set: function (v) {
|
|
1183
|
-
this.i.
|
|
1184
|
-
this._a("disabledBackgroundColor", brushToString(this.i.
|
|
1183
|
+
this.i.si = stringToBrush(v);
|
|
1184
|
+
this._a("disabledBackgroundColor", brushToString(this.i.si));
|
|
1185
1185
|
},
|
|
1186
1186
|
enumerable: true,
|
|
1187
1187
|
configurable: true
|
|
@@ -1191,11 +1191,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1191
1191
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
1192
1192
|
*/
|
|
1193
1193
|
get: function () {
|
|
1194
|
-
return brushToString(this.i.
|
|
1194
|
+
return brushToString(this.i.sj);
|
|
1195
1195
|
},
|
|
1196
1196
|
set: function (v) {
|
|
1197
|
-
this.i.
|
|
1198
|
-
this._a("disabledBorderColor", brushToString(this.i.
|
|
1197
|
+
this.i.sj = stringToBrush(v);
|
|
1198
|
+
this._a("disabledBorderColor", brushToString(this.i.sj));
|
|
1199
1199
|
},
|
|
1200
1200
|
enumerable: true,
|
|
1201
1201
|
configurable: true
|
|
@@ -1205,11 +1205,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1205
1205
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
1206
1206
|
*/
|
|
1207
1207
|
get: function () {
|
|
1208
|
-
return brushToString(this.i.
|
|
1208
|
+
return brushToString(this.i.sk);
|
|
1209
1209
|
},
|
|
1210
1210
|
set: function (v) {
|
|
1211
|
-
this.i.
|
|
1212
|
-
this._a("disabledTextColor", brushToString(this.i.
|
|
1211
|
+
this.i.sk = stringToBrush(v);
|
|
1212
|
+
this._a("disabledTextColor", brushToString(this.i.sk));
|
|
1213
1213
|
},
|
|
1214
1214
|
enumerable: true,
|
|
1215
1215
|
configurable: true
|
|
@@ -1247,11 +1247,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1247
1247
|
* Gets or sets the hover color to use for the background of the button when the type is hovered.
|
|
1248
1248
|
*/
|
|
1249
1249
|
get: function () {
|
|
1250
|
-
return brushToString(this.i.
|
|
1250
|
+
return brushToString(this.i.s9);
|
|
1251
1251
|
},
|
|
1252
1252
|
set: function (v) {
|
|
1253
|
-
this.i.
|
|
1254
|
-
this._a("hoverBackgroundColor", brushToString(this.i.
|
|
1253
|
+
this.i.s9 = stringToBrush(v);
|
|
1254
|
+
this._a("hoverBackgroundColor", brushToString(this.i.s9));
|
|
1255
1255
|
},
|
|
1256
1256
|
enumerable: true,
|
|
1257
1257
|
configurable: true
|
|
@@ -1261,11 +1261,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1261
1261
|
* Gets or sets the border color to use for the button regardless of type.
|
|
1262
1262
|
*/
|
|
1263
1263
|
get: function () {
|
|
1264
|
-
return brushToString(this.i.
|
|
1264
|
+
return brushToString(this.i.nn);
|
|
1265
1265
|
},
|
|
1266
1266
|
set: function (v) {
|
|
1267
|
-
this.i.
|
|
1268
|
-
this._a("borderColor", brushToString(this.i.
|
|
1267
|
+
this.i.nn = stringToBrush(v);
|
|
1268
|
+
this._a("borderColor", brushToString(this.i.nn));
|
|
1269
1269
|
},
|
|
1270
1270
|
enumerable: true,
|
|
1271
1271
|
configurable: true
|
|
@@ -1336,11 +1336,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1336
1336
|
* Gets or sets the color to use for the text of the button regardless of type.
|
|
1337
1337
|
*/
|
|
1338
1338
|
get: function () {
|
|
1339
|
-
return brushToString(this.i.
|
|
1339
|
+
return brushToString(this.i.t9);
|
|
1340
1340
|
},
|
|
1341
1341
|
set: function (v) {
|
|
1342
|
-
this.i.
|
|
1343
|
-
this._a("textColor", brushToString(this.i.
|
|
1342
|
+
this.i.t9 = stringToBrush(v);
|
|
1343
|
+
this._a("textColor", brushToString(this.i.t9));
|
|
1344
1344
|
},
|
|
1345
1345
|
enumerable: true,
|
|
1346
1346
|
configurable: true
|
|
@@ -1350,11 +1350,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1350
1350
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
1351
1351
|
*/
|
|
1352
1352
|
get: function () {
|
|
1353
|
-
return brushToString(this.i.
|
|
1353
|
+
return brushToString(this.i.ta);
|
|
1354
1354
|
},
|
|
1355
1355
|
set: function (v) {
|
|
1356
|
-
this.i.
|
|
1357
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
1356
|
+
this.i.ta = stringToBrush(v);
|
|
1357
|
+
this._a("hoverTextColor", brushToString(this.i.ta));
|
|
1358
1358
|
},
|
|
1359
1359
|
enumerable: true,
|
|
1360
1360
|
configurable: true
|
|
@@ -1364,11 +1364,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1364
1364
|
* Gets or sets the color to use for the background of the button regardless of type.
|
|
1365
1365
|
*/
|
|
1366
1366
|
get: function () {
|
|
1367
|
-
return brushToString(this.i.
|
|
1367
|
+
return brushToString(this.i.t8);
|
|
1368
1368
|
},
|
|
1369
1369
|
set: function (v) {
|
|
1370
|
-
this.i.
|
|
1371
|
-
this._a("rippleColor", brushToString(this.i.
|
|
1370
|
+
this.i.t8 = stringToBrush(v);
|
|
1371
|
+
this._a("rippleColor", brushToString(this.i.t8));
|
|
1372
1372
|
},
|
|
1373
1373
|
enumerable: true,
|
|
1374
1374
|
configurable: true
|
|
@@ -1378,11 +1378,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1378
1378
|
* Gets or sets the color to use for the text of the button when type is raised.
|
|
1379
1379
|
*/
|
|
1380
1380
|
get: function () {
|
|
1381
|
-
return brushToString(this.i.
|
|
1381
|
+
return brushToString(this.i.t7);
|
|
1382
1382
|
},
|
|
1383
1383
|
set: function (v) {
|
|
1384
|
-
this.i.
|
|
1385
|
-
this._a("raisedTextColor", brushToString(this.i.
|
|
1384
|
+
this.i.t7 = stringToBrush(v);
|
|
1385
|
+
this._a("raisedTextColor", brushToString(this.i.t7));
|
|
1386
1386
|
},
|
|
1387
1387
|
enumerable: true,
|
|
1388
1388
|
configurable: true
|
|
@@ -1392,11 +1392,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1392
1392
|
* Gets or sets the color to use for the hovered text of the button when type is raised.
|
|
1393
1393
|
*/
|
|
1394
1394
|
get: function () {
|
|
1395
|
-
return brushToString(this.i.
|
|
1395
|
+
return brushToString(this.i.t5);
|
|
1396
1396
|
},
|
|
1397
1397
|
set: function (v) {
|
|
1398
|
-
this.i.
|
|
1399
|
-
this._a("raisedHoverTextColor", brushToString(this.i.
|
|
1398
|
+
this.i.t5 = stringToBrush(v);
|
|
1399
|
+
this._a("raisedHoverTextColor", brushToString(this.i.t5));
|
|
1400
1400
|
},
|
|
1401
1401
|
enumerable: true,
|
|
1402
1402
|
configurable: true
|
|
@@ -1406,11 +1406,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1406
1406
|
* Gets or sets the color to use for the backround the button when it is focused and raised.
|
|
1407
1407
|
*/
|
|
1408
1408
|
get: function () {
|
|
1409
|
-
return brushToString(this.i.
|
|
1409
|
+
return brushToString(this.i.t2);
|
|
1410
1410
|
},
|
|
1411
1411
|
set: function (v) {
|
|
1412
|
-
this.i.
|
|
1413
|
-
this._a("raisedFocusBackgroundColor", brushToString(this.i.
|
|
1412
|
+
this.i.t2 = stringToBrush(v);
|
|
1413
|
+
this._a("raisedFocusBackgroundColor", brushToString(this.i.t2));
|
|
1414
1414
|
},
|
|
1415
1415
|
enumerable: true,
|
|
1416
1416
|
configurable: true
|
|
@@ -1420,11 +1420,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1420
1420
|
* Gets or sets the color to use for the text the button when it is focused and raised.
|
|
1421
1421
|
*/
|
|
1422
1422
|
get: function () {
|
|
1423
|
-
return brushToString(this.i.
|
|
1423
|
+
return brushToString(this.i.t3);
|
|
1424
1424
|
},
|
|
1425
1425
|
set: function (v) {
|
|
1426
|
-
this.i.
|
|
1427
|
-
this._a("raisedFocusTextColor", brushToString(this.i.
|
|
1426
|
+
this.i.t3 = stringToBrush(v);
|
|
1427
|
+
this._a("raisedFocusTextColor", brushToString(this.i.t3));
|
|
1428
1428
|
},
|
|
1429
1429
|
enumerable: true,
|
|
1430
1430
|
configurable: true
|
|
@@ -1434,11 +1434,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1434
1434
|
* Gets or sets the color to use for the backround the button when it is focused.
|
|
1435
1435
|
*/
|
|
1436
1436
|
get: function () {
|
|
1437
|
-
return brushToString(this.i.
|
|
1437
|
+
return brushToString(this.i.s7);
|
|
1438
1438
|
},
|
|
1439
1439
|
set: function (v) {
|
|
1440
|
-
this.i.
|
|
1441
|
-
this._a("focusBackgroundColor", brushToString(this.i.
|
|
1440
|
+
this.i.s7 = stringToBrush(v);
|
|
1441
|
+
this._a("focusBackgroundColor", brushToString(this.i.s7));
|
|
1442
1442
|
},
|
|
1443
1443
|
enumerable: true,
|
|
1444
1444
|
configurable: true
|
|
@@ -1448,11 +1448,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1448
1448
|
* Gets or sets the color to use for the text of the button when it is focused.
|
|
1449
1449
|
*/
|
|
1450
1450
|
get: function () {
|
|
1451
|
-
return brushToString(this.i.
|
|
1451
|
+
return brushToString(this.i.s8);
|
|
1452
1452
|
},
|
|
1453
1453
|
set: function (v) {
|
|
1454
|
-
this.i.
|
|
1455
|
-
this._a("focusTextColor", brushToString(this.i.
|
|
1454
|
+
this.i.s8 = stringToBrush(v);
|
|
1455
|
+
this._a("focusTextColor", brushToString(this.i.s8));
|
|
1456
1456
|
},
|
|
1457
1457
|
enumerable: true,
|
|
1458
1458
|
configurable: true
|
|
@@ -1473,72 +1473,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1473
1473
|
});
|
|
1474
1474
|
Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusBottomRight", {
|
|
1475
1475
|
get: function () {
|
|
1476
|
-
return this.i.
|
|
1476
|
+
return this.i.kf ? this.i.kf.b : NaN;
|
|
1477
1477
|
},
|
|
1478
1478
|
set: function (v) {
|
|
1479
1479
|
this.ensureCornerRadius();
|
|
1480
|
-
this.i.
|
|
1481
|
-
this._a("cornerRadiusBottomRight", this.i.
|
|
1482
|
-
this.i.
|
|
1480
|
+
this.i.kf.b = +v;
|
|
1481
|
+
this._a("cornerRadiusBottomRight", this.i.kf.b);
|
|
1482
|
+
this.i.kf = this.i.kf;
|
|
1483
1483
|
},
|
|
1484
1484
|
enumerable: true,
|
|
1485
1485
|
configurable: true
|
|
1486
1486
|
});
|
|
1487
1487
|
Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusBottomLeft", {
|
|
1488
1488
|
get: function () {
|
|
1489
|
-
return this.i.
|
|
1489
|
+
return this.i.kf ? this.i.kf.a : NaN;
|
|
1490
1490
|
},
|
|
1491
1491
|
set: function (v) {
|
|
1492
1492
|
this.ensureCornerRadius();
|
|
1493
|
-
this.i.
|
|
1494
|
-
this._a("cornerRadiusBottomLeft", this.i.
|
|
1495
|
-
this.i.
|
|
1493
|
+
this.i.kf.a = +v;
|
|
1494
|
+
this._a("cornerRadiusBottomLeft", this.i.kf.a);
|
|
1495
|
+
this.i.kf = this.i.kf;
|
|
1496
1496
|
},
|
|
1497
1497
|
enumerable: true,
|
|
1498
1498
|
configurable: true
|
|
1499
1499
|
});
|
|
1500
1500
|
Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusTopLeft", {
|
|
1501
1501
|
get: function () {
|
|
1502
|
-
return this.i.
|
|
1502
|
+
return this.i.kf ? this.i.kf.c : NaN;
|
|
1503
1503
|
},
|
|
1504
1504
|
set: function (v) {
|
|
1505
1505
|
this.ensureCornerRadius();
|
|
1506
|
-
this.i.
|
|
1507
|
-
this._a("cornerRadiusTopLeft", this.i.
|
|
1508
|
-
this.i.
|
|
1506
|
+
this.i.kf.c = +v;
|
|
1507
|
+
this._a("cornerRadiusTopLeft", this.i.kf.c);
|
|
1508
|
+
this.i.kf = this.i.kf;
|
|
1509
1509
|
},
|
|
1510
1510
|
enumerable: true,
|
|
1511
1511
|
configurable: true
|
|
1512
1512
|
});
|
|
1513
1513
|
Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusTopRight", {
|
|
1514
1514
|
get: function () {
|
|
1515
|
-
return this.i.
|
|
1515
|
+
return this.i.kf ? this.i.kf.d : NaN;
|
|
1516
1516
|
},
|
|
1517
1517
|
set: function (v) {
|
|
1518
1518
|
this.ensureCornerRadius();
|
|
1519
|
-
this.i.
|
|
1520
|
-
this._a("cornerRadiusTopRight", this.i.
|
|
1521
|
-
this.i.
|
|
1519
|
+
this.i.kf.d = +v;
|
|
1520
|
+
this._a("cornerRadiusTopRight", this.i.kf.d);
|
|
1521
|
+
this.i.kf = this.i.kf;
|
|
1522
1522
|
},
|
|
1523
1523
|
enumerable: true,
|
|
1524
1524
|
configurable: true
|
|
1525
1525
|
});
|
|
1526
1526
|
IgcXButtonComponent.prototype.ensureCornerRadius = function () {
|
|
1527
|
-
if (this.i.
|
|
1527
|
+
if (this.i.kf) {
|
|
1528
1528
|
return;
|
|
1529
1529
|
}
|
|
1530
|
-
this.i.
|
|
1530
|
+
this.i.kf = new CornerRadius(2);
|
|
1531
1531
|
};
|
|
1532
1532
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedBackgroundColor", {
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Gets or sets the color to use for the background of the button when the type is outlined.
|
|
1535
1535
|
*/
|
|
1536
1536
|
get: function () {
|
|
1537
|
-
return brushToString(this.i.
|
|
1537
|
+
return brushToString(this.i.tm);
|
|
1538
1538
|
},
|
|
1539
1539
|
set: function (v) {
|
|
1540
|
-
this.i.
|
|
1541
|
-
this._a("outlinedBackgroundColor", brushToString(this.i.
|
|
1540
|
+
this.i.tm = stringToBrush(v);
|
|
1541
|
+
this._a("outlinedBackgroundColor", brushToString(this.i.tm));
|
|
1542
1542
|
},
|
|
1543
1543
|
enumerable: true,
|
|
1544
1544
|
configurable: true
|
|
@@ -1548,11 +1548,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1548
1548
|
* Gets or sets the color to use for the disabled background of the button when the type is outlined.
|
|
1549
1549
|
*/
|
|
1550
1550
|
get: function () {
|
|
1551
|
-
return brushToString(this.i.
|
|
1551
|
+
return brushToString(this.i.to);
|
|
1552
1552
|
},
|
|
1553
1553
|
set: function (v) {
|
|
1554
|
-
this.i.
|
|
1555
|
-
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.
|
|
1554
|
+
this.i.to = stringToBrush(v);
|
|
1555
|
+
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.to));
|
|
1556
1556
|
},
|
|
1557
1557
|
enumerable: true,
|
|
1558
1558
|
configurable: true
|
|
@@ -1562,11 +1562,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1562
1562
|
* Gets or sets the color to use for the disabled border of the button when the type is outlined.
|
|
1563
1563
|
*/
|
|
1564
1564
|
get: function () {
|
|
1565
|
-
return brushToString(this.i.
|
|
1565
|
+
return brushToString(this.i.tp);
|
|
1566
1566
|
},
|
|
1567
1567
|
set: function (v) {
|
|
1568
|
-
this.i.
|
|
1569
|
-
this._a("outlinedDisabledBorderColor", brushToString(this.i.
|
|
1568
|
+
this.i.tp = stringToBrush(v);
|
|
1569
|
+
this._a("outlinedDisabledBorderColor", brushToString(this.i.tp));
|
|
1570
1570
|
},
|
|
1571
1571
|
enumerable: true,
|
|
1572
1572
|
configurable: true
|
|
@@ -1576,11 +1576,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1576
1576
|
* Gets or sets the color to use for the disabled text of the button when the type is outlined.
|
|
1577
1577
|
*/
|
|
1578
1578
|
get: function () {
|
|
1579
|
-
return brushToString(this.i.
|
|
1579
|
+
return brushToString(this.i.tq);
|
|
1580
1580
|
},
|
|
1581
1581
|
set: function (v) {
|
|
1582
|
-
this.i.
|
|
1583
|
-
this._a("outlinedDisabledTextColor", brushToString(this.i.
|
|
1582
|
+
this.i.tq = stringToBrush(v);
|
|
1583
|
+
this._a("outlinedDisabledTextColor", brushToString(this.i.tq));
|
|
1584
1584
|
},
|
|
1585
1585
|
enumerable: true,
|
|
1586
1586
|
configurable: true
|
|
@@ -1604,11 +1604,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1604
1604
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
|
|
1605
1605
|
*/
|
|
1606
1606
|
get: function () {
|
|
1607
|
-
return brushToString(this.i.
|
|
1607
|
+
return brushToString(this.i.tt);
|
|
1608
1608
|
},
|
|
1609
1609
|
set: function (v) {
|
|
1610
|
-
this.i.
|
|
1611
|
-
this._a("outlinedHoverBackgroundColor", brushToString(this.i.
|
|
1610
|
+
this.i.tt = stringToBrush(v);
|
|
1611
|
+
this._a("outlinedHoverBackgroundColor", brushToString(this.i.tt));
|
|
1612
1612
|
},
|
|
1613
1613
|
enumerable: true,
|
|
1614
1614
|
configurable: true
|
|
@@ -1618,11 +1618,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1618
1618
|
* Gets or sets the border color to use for the button when the type is outlined.
|
|
1619
1619
|
*/
|
|
1620
1620
|
get: function () {
|
|
1621
|
-
return brushToString(this.i.
|
|
1621
|
+
return brushToString(this.i.tn);
|
|
1622
1622
|
},
|
|
1623
1623
|
set: function (v) {
|
|
1624
|
-
this.i.
|
|
1625
|
-
this._a("outlinedBorderColor", brushToString(this.i.
|
|
1624
|
+
this.i.tn = stringToBrush(v);
|
|
1625
|
+
this._a("outlinedBorderColor", brushToString(this.i.tn));
|
|
1626
1626
|
},
|
|
1627
1627
|
enumerable: true,
|
|
1628
1628
|
configurable: true
|
|
@@ -1685,72 +1685,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1685
1685
|
});
|
|
1686
1686
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusBottomRight", {
|
|
1687
1687
|
get: function () {
|
|
1688
|
-
return this.i.
|
|
1688
|
+
return this.i.ky ? this.i.ky.b : NaN;
|
|
1689
1689
|
},
|
|
1690
1690
|
set: function (v) {
|
|
1691
1691
|
this.ensureOutlinedCornerRadius();
|
|
1692
|
-
this.i.
|
|
1693
|
-
this._a("outlinedCornerRadiusBottomRight", this.i.
|
|
1694
|
-
this.i.
|
|
1692
|
+
this.i.ky.b = +v;
|
|
1693
|
+
this._a("outlinedCornerRadiusBottomRight", this.i.ky.b);
|
|
1694
|
+
this.i.ky = this.i.ky;
|
|
1695
1695
|
},
|
|
1696
1696
|
enumerable: true,
|
|
1697
1697
|
configurable: true
|
|
1698
1698
|
});
|
|
1699
1699
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusBottomLeft", {
|
|
1700
1700
|
get: function () {
|
|
1701
|
-
return this.i.
|
|
1701
|
+
return this.i.ky ? this.i.ky.a : NaN;
|
|
1702
1702
|
},
|
|
1703
1703
|
set: function (v) {
|
|
1704
1704
|
this.ensureOutlinedCornerRadius();
|
|
1705
|
-
this.i.
|
|
1706
|
-
this._a("outlinedCornerRadiusBottomLeft", this.i.
|
|
1707
|
-
this.i.
|
|
1705
|
+
this.i.ky.a = +v;
|
|
1706
|
+
this._a("outlinedCornerRadiusBottomLeft", this.i.ky.a);
|
|
1707
|
+
this.i.ky = this.i.ky;
|
|
1708
1708
|
},
|
|
1709
1709
|
enumerable: true,
|
|
1710
1710
|
configurable: true
|
|
1711
1711
|
});
|
|
1712
1712
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusTopLeft", {
|
|
1713
1713
|
get: function () {
|
|
1714
|
-
return this.i.
|
|
1714
|
+
return this.i.ky ? this.i.ky.c : NaN;
|
|
1715
1715
|
},
|
|
1716
1716
|
set: function (v) {
|
|
1717
1717
|
this.ensureOutlinedCornerRadius();
|
|
1718
|
-
this.i.
|
|
1719
|
-
this._a("outlinedCornerRadiusTopLeft", this.i.
|
|
1720
|
-
this.i.
|
|
1718
|
+
this.i.ky.c = +v;
|
|
1719
|
+
this._a("outlinedCornerRadiusTopLeft", this.i.ky.c);
|
|
1720
|
+
this.i.ky = this.i.ky;
|
|
1721
1721
|
},
|
|
1722
1722
|
enumerable: true,
|
|
1723
1723
|
configurable: true
|
|
1724
1724
|
});
|
|
1725
1725
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusTopRight", {
|
|
1726
1726
|
get: function () {
|
|
1727
|
-
return this.i.
|
|
1727
|
+
return this.i.ky ? this.i.ky.d : NaN;
|
|
1728
1728
|
},
|
|
1729
1729
|
set: function (v) {
|
|
1730
1730
|
this.ensureOutlinedCornerRadius();
|
|
1731
|
-
this.i.
|
|
1732
|
-
this._a("outlinedCornerRadiusTopRight", this.i.
|
|
1733
|
-
this.i.
|
|
1731
|
+
this.i.ky.d = +v;
|
|
1732
|
+
this._a("outlinedCornerRadiusTopRight", this.i.ky.d);
|
|
1733
|
+
this.i.ky = this.i.ky;
|
|
1734
1734
|
},
|
|
1735
1735
|
enumerable: true,
|
|
1736
1736
|
configurable: true
|
|
1737
1737
|
});
|
|
1738
1738
|
IgcXButtonComponent.prototype.ensureOutlinedCornerRadius = function () {
|
|
1739
|
-
if (this.i.
|
|
1739
|
+
if (this.i.ky) {
|
|
1740
1740
|
return;
|
|
1741
1741
|
}
|
|
1742
|
-
this.i.
|
|
1742
|
+
this.i.ky = new CornerRadius(2);
|
|
1743
1743
|
};
|
|
1744
1744
|
Object.defineProperty(IgcXButtonComponent.prototype, "outlinedRippleColor", {
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1747
1747
|
*/
|
|
1748
1748
|
get: function () {
|
|
1749
|
-
return brushToString(this.i.
|
|
1749
|
+
return brushToString(this.i.tv);
|
|
1750
1750
|
},
|
|
1751
1751
|
set: function (v) {
|
|
1752
|
-
this.i.
|
|
1753
|
-
this._a("outlinedRippleColor", brushToString(this.i.
|
|
1752
|
+
this.i.tv = stringToBrush(v);
|
|
1753
|
+
this._a("outlinedRippleColor", brushToString(this.i.tv));
|
|
1754
1754
|
},
|
|
1755
1755
|
enumerable: true,
|
|
1756
1756
|
configurable: true
|
|
@@ -1760,11 +1760,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1760
1760
|
* Gets or sets the color to use for the text of the button when type is outlined.
|
|
1761
1761
|
*/
|
|
1762
1762
|
get: function () {
|
|
1763
|
-
return brushToString(this.i.
|
|
1763
|
+
return brushToString(this.i.tw);
|
|
1764
1764
|
},
|
|
1765
1765
|
set: function (v) {
|
|
1766
|
-
this.i.
|
|
1767
|
-
this._a("outlinedTextColor", brushToString(this.i.
|
|
1766
|
+
this.i.tw = stringToBrush(v);
|
|
1767
|
+
this._a("outlinedTextColor", brushToString(this.i.tw));
|
|
1768
1768
|
},
|
|
1769
1769
|
enumerable: true,
|
|
1770
1770
|
configurable: true
|
|
@@ -1774,11 +1774,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1774
1774
|
* Gets or sets the color to use for the hovered text of the button when type is outlined.
|
|
1775
1775
|
*/
|
|
1776
1776
|
get: function () {
|
|
1777
|
-
return brushToString(this.i.
|
|
1777
|
+
return brushToString(this.i.tu);
|
|
1778
1778
|
},
|
|
1779
1779
|
set: function (v) {
|
|
1780
|
-
this.i.
|
|
1781
|
-
this._a("outlinedHoverTextColor", brushToString(this.i.
|
|
1780
|
+
this.i.tu = stringToBrush(v);
|
|
1781
|
+
this._a("outlinedHoverTextColor", brushToString(this.i.tu));
|
|
1782
1782
|
},
|
|
1783
1783
|
enumerable: true,
|
|
1784
1784
|
configurable: true
|
|
@@ -1788,11 +1788,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1788
1788
|
* Gets or sets the color to use for the backround the button when it is focused and outlined.
|
|
1789
1789
|
*/
|
|
1790
1790
|
get: function () {
|
|
1791
|
-
return brushToString(this.i.
|
|
1791
|
+
return brushToString(this.i.tr);
|
|
1792
1792
|
},
|
|
1793
1793
|
set: function (v) {
|
|
1794
|
-
this.i.
|
|
1795
|
-
this._a("outlinedFocusBackgroundColor", brushToString(this.i.
|
|
1794
|
+
this.i.tr = stringToBrush(v);
|
|
1795
|
+
this._a("outlinedFocusBackgroundColor", brushToString(this.i.tr));
|
|
1796
1796
|
},
|
|
1797
1797
|
enumerable: true,
|
|
1798
1798
|
configurable: true
|
|
@@ -1802,11 +1802,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1802
1802
|
* Gets or sets the color to use for the text the button when it is focused and outlined.
|
|
1803
1803
|
*/
|
|
1804
1804
|
get: function () {
|
|
1805
|
-
return brushToString(this.i.
|
|
1805
|
+
return brushToString(this.i.ts);
|
|
1806
1806
|
},
|
|
1807
1807
|
set: function (v) {
|
|
1808
|
-
this.i.
|
|
1809
|
-
this._a("outlinedFocusTextColor", brushToString(this.i.
|
|
1808
|
+
this.i.ts = stringToBrush(v);
|
|
1809
|
+
this._a("outlinedFocusTextColor", brushToString(this.i.ts));
|
|
1810
1810
|
},
|
|
1811
1811
|
enumerable: true,
|
|
1812
1812
|
configurable: true
|
|
@@ -1816,11 +1816,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1816
1816
|
* Gets or sets the color to use for the background of the button when the type is floating action button.
|
|
1817
1817
|
*/
|
|
1818
1818
|
get: function () {
|
|
1819
|
-
return brushToString(this.i.
|
|
1819
|
+
return brushToString(this.i.sl);
|
|
1820
1820
|
},
|
|
1821
1821
|
set: function (v) {
|
|
1822
|
-
this.i.
|
|
1823
|
-
this._a("fabBackgroundColor", brushToString(this.i.
|
|
1822
|
+
this.i.sl = stringToBrush(v);
|
|
1823
|
+
this._a("fabBackgroundColor", brushToString(this.i.sl));
|
|
1824
1824
|
},
|
|
1825
1825
|
enumerable: true,
|
|
1826
1826
|
configurable: true
|
|
@@ -1830,11 +1830,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1830
1830
|
* Gets or sets the color to use for the disabled background of the button when the type is fab.
|
|
1831
1831
|
*/
|
|
1832
1832
|
get: function () {
|
|
1833
|
-
return brushToString(this.i.
|
|
1833
|
+
return brushToString(this.i.sn);
|
|
1834
1834
|
},
|
|
1835
1835
|
set: function (v) {
|
|
1836
|
-
this.i.
|
|
1837
|
-
this._a("fabDisabledBackgroundColor", brushToString(this.i.
|
|
1836
|
+
this.i.sn = stringToBrush(v);
|
|
1837
|
+
this._a("fabDisabledBackgroundColor", brushToString(this.i.sn));
|
|
1838
1838
|
},
|
|
1839
1839
|
enumerable: true,
|
|
1840
1840
|
configurable: true
|
|
@@ -1844,11 +1844,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1844
1844
|
* Gets or sets the color to use for the disabled border of the button when the type is fab.
|
|
1845
1845
|
*/
|
|
1846
1846
|
get: function () {
|
|
1847
|
-
return brushToString(this.i.
|
|
1847
|
+
return brushToString(this.i.so);
|
|
1848
1848
|
},
|
|
1849
1849
|
set: function (v) {
|
|
1850
|
-
this.i.
|
|
1851
|
-
this._a("fabDisabledBorderColor", brushToString(this.i.
|
|
1850
|
+
this.i.so = stringToBrush(v);
|
|
1851
|
+
this._a("fabDisabledBorderColor", brushToString(this.i.so));
|
|
1852
1852
|
},
|
|
1853
1853
|
enumerable: true,
|
|
1854
1854
|
configurable: true
|
|
@@ -1858,11 +1858,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1858
1858
|
* Gets or sets the color to use for the disabled text of the button when the type is fab.
|
|
1859
1859
|
*/
|
|
1860
1860
|
get: function () {
|
|
1861
|
-
return brushToString(this.i.
|
|
1861
|
+
return brushToString(this.i.sp);
|
|
1862
1862
|
},
|
|
1863
1863
|
set: function (v) {
|
|
1864
|
-
this.i.
|
|
1865
|
-
this._a("fabDisabledTextColor", brushToString(this.i.
|
|
1864
|
+
this.i.sp = stringToBrush(v);
|
|
1865
|
+
this._a("fabDisabledTextColor", brushToString(this.i.sp));
|
|
1866
1866
|
},
|
|
1867
1867
|
enumerable: true,
|
|
1868
1868
|
configurable: true
|
|
@@ -1886,11 +1886,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1886
1886
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
|
|
1887
1887
|
*/
|
|
1888
1888
|
get: function () {
|
|
1889
|
-
return brushToString(this.i.
|
|
1889
|
+
return brushToString(this.i.ss);
|
|
1890
1890
|
},
|
|
1891
1891
|
set: function (v) {
|
|
1892
|
-
this.i.
|
|
1893
|
-
this._a("fabHoverBackgroundColor", brushToString(this.i.
|
|
1892
|
+
this.i.ss = stringToBrush(v);
|
|
1893
|
+
this._a("fabHoverBackgroundColor", brushToString(this.i.ss));
|
|
1894
1894
|
},
|
|
1895
1895
|
enumerable: true,
|
|
1896
1896
|
configurable: true
|
|
@@ -1900,11 +1900,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1900
1900
|
* Gets or sets the border color to use for the button when the type is floating action button.
|
|
1901
1901
|
*/
|
|
1902
1902
|
get: function () {
|
|
1903
|
-
return brushToString(this.i.
|
|
1903
|
+
return brushToString(this.i.sm);
|
|
1904
1904
|
},
|
|
1905
1905
|
set: function (v) {
|
|
1906
|
-
this.i.
|
|
1907
|
-
this._a("fabBorderColor", brushToString(this.i.
|
|
1906
|
+
this.i.sm = stringToBrush(v);
|
|
1907
|
+
this._a("fabBorderColor", brushToString(this.i.sm));
|
|
1908
1908
|
},
|
|
1909
1909
|
enumerable: true,
|
|
1910
1910
|
configurable: true
|
|
@@ -1967,72 +1967,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1967
1967
|
});
|
|
1968
1968
|
Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusBottomRight", {
|
|
1969
1969
|
get: function () {
|
|
1970
|
-
return this.i.
|
|
1970
|
+
return this.i.kv ? this.i.kv.b : NaN;
|
|
1971
1971
|
},
|
|
1972
1972
|
set: function (v) {
|
|
1973
1973
|
this.ensureFabCornerRadius();
|
|
1974
|
-
this.i.
|
|
1975
|
-
this._a("fabCornerRadiusBottomRight", this.i.
|
|
1976
|
-
this.i.
|
|
1974
|
+
this.i.kv.b = +v;
|
|
1975
|
+
this._a("fabCornerRadiusBottomRight", this.i.kv.b);
|
|
1976
|
+
this.i.kv = this.i.kv;
|
|
1977
1977
|
},
|
|
1978
1978
|
enumerable: true,
|
|
1979
1979
|
configurable: true
|
|
1980
1980
|
});
|
|
1981
1981
|
Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusBottomLeft", {
|
|
1982
1982
|
get: function () {
|
|
1983
|
-
return this.i.
|
|
1983
|
+
return this.i.kv ? this.i.kv.a : NaN;
|
|
1984
1984
|
},
|
|
1985
1985
|
set: function (v) {
|
|
1986
1986
|
this.ensureFabCornerRadius();
|
|
1987
|
-
this.i.
|
|
1988
|
-
this._a("fabCornerRadiusBottomLeft", this.i.
|
|
1989
|
-
this.i.
|
|
1987
|
+
this.i.kv.a = +v;
|
|
1988
|
+
this._a("fabCornerRadiusBottomLeft", this.i.kv.a);
|
|
1989
|
+
this.i.kv = this.i.kv;
|
|
1990
1990
|
},
|
|
1991
1991
|
enumerable: true,
|
|
1992
1992
|
configurable: true
|
|
1993
1993
|
});
|
|
1994
1994
|
Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusTopLeft", {
|
|
1995
1995
|
get: function () {
|
|
1996
|
-
return this.i.
|
|
1996
|
+
return this.i.kv ? this.i.kv.c : NaN;
|
|
1997
1997
|
},
|
|
1998
1998
|
set: function (v) {
|
|
1999
1999
|
this.ensureFabCornerRadius();
|
|
2000
|
-
this.i.
|
|
2001
|
-
this._a("fabCornerRadiusTopLeft", this.i.
|
|
2002
|
-
this.i.
|
|
2000
|
+
this.i.kv.c = +v;
|
|
2001
|
+
this._a("fabCornerRadiusTopLeft", this.i.kv.c);
|
|
2002
|
+
this.i.kv = this.i.kv;
|
|
2003
2003
|
},
|
|
2004
2004
|
enumerable: true,
|
|
2005
2005
|
configurable: true
|
|
2006
2006
|
});
|
|
2007
2007
|
Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusTopRight", {
|
|
2008
2008
|
get: function () {
|
|
2009
|
-
return this.i.
|
|
2009
|
+
return this.i.kv ? this.i.kv.d : NaN;
|
|
2010
2010
|
},
|
|
2011
2011
|
set: function (v) {
|
|
2012
2012
|
this.ensureFabCornerRadius();
|
|
2013
|
-
this.i.
|
|
2014
|
-
this._a("fabCornerRadiusTopRight", this.i.
|
|
2015
|
-
this.i.
|
|
2013
|
+
this.i.kv.d = +v;
|
|
2014
|
+
this._a("fabCornerRadiusTopRight", this.i.kv.d);
|
|
2015
|
+
this.i.kv = this.i.kv;
|
|
2016
2016
|
},
|
|
2017
2017
|
enumerable: true,
|
|
2018
2018
|
configurable: true
|
|
2019
2019
|
});
|
|
2020
2020
|
IgcXButtonComponent.prototype.ensureFabCornerRadius = function () {
|
|
2021
|
-
if (this.i.
|
|
2021
|
+
if (this.i.kv) {
|
|
2022
2022
|
return;
|
|
2023
2023
|
}
|
|
2024
|
-
this.i.
|
|
2024
|
+
this.i.kv = new CornerRadius(2);
|
|
2025
2025
|
};
|
|
2026
2026
|
Object.defineProperty(IgcXButtonComponent.prototype, "fabRippleColor", {
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
2029
2029
|
*/
|
|
2030
2030
|
get: function () {
|
|
2031
|
-
return brushToString(this.i.
|
|
2031
|
+
return brushToString(this.i.su);
|
|
2032
2032
|
},
|
|
2033
2033
|
set: function (v) {
|
|
2034
|
-
this.i.
|
|
2035
|
-
this._a("fabRippleColor", brushToString(this.i.
|
|
2034
|
+
this.i.su = stringToBrush(v);
|
|
2035
|
+
this._a("fabRippleColor", brushToString(this.i.su));
|
|
2036
2036
|
},
|
|
2037
2037
|
enumerable: true,
|
|
2038
2038
|
configurable: true
|
|
@@ -2042,11 +2042,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2042
2042
|
* Gets or sets the color to use for the text of the button when type is floating action button.
|
|
2043
2043
|
*/
|
|
2044
2044
|
get: function () {
|
|
2045
|
-
return brushToString(this.i.
|
|
2045
|
+
return brushToString(this.i.sv);
|
|
2046
2046
|
},
|
|
2047
2047
|
set: function (v) {
|
|
2048
|
-
this.i.
|
|
2049
|
-
this._a("fabTextColor", brushToString(this.i.
|
|
2048
|
+
this.i.sv = stringToBrush(v);
|
|
2049
|
+
this._a("fabTextColor", brushToString(this.i.sv));
|
|
2050
2050
|
},
|
|
2051
2051
|
enumerable: true,
|
|
2052
2052
|
configurable: true
|
|
@@ -2056,11 +2056,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2056
2056
|
* Gets or sets the color to use for the hovered text of the button when type is floating action button.
|
|
2057
2057
|
*/
|
|
2058
2058
|
get: function () {
|
|
2059
|
-
return brushToString(this.i.
|
|
2059
|
+
return brushToString(this.i.st);
|
|
2060
2060
|
},
|
|
2061
2061
|
set: function (v) {
|
|
2062
|
-
this.i.
|
|
2063
|
-
this._a("fabHoverTextColor", brushToString(this.i.
|
|
2062
|
+
this.i.st = stringToBrush(v);
|
|
2063
|
+
this._a("fabHoverTextColor", brushToString(this.i.st));
|
|
2064
2064
|
},
|
|
2065
2065
|
enumerable: true,
|
|
2066
2066
|
configurable: true
|
|
@@ -2070,11 +2070,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2070
2070
|
* Gets or sets the color to use for the backround the button when it is focused and fab.
|
|
2071
2071
|
*/
|
|
2072
2072
|
get: function () {
|
|
2073
|
-
return brushToString(this.i.
|
|
2073
|
+
return brushToString(this.i.sq);
|
|
2074
2074
|
},
|
|
2075
2075
|
set: function (v) {
|
|
2076
|
-
this.i.
|
|
2077
|
-
this._a("fabFocusBackgroundColor", brushToString(this.i.
|
|
2076
|
+
this.i.sq = stringToBrush(v);
|
|
2077
|
+
this._a("fabFocusBackgroundColor", brushToString(this.i.sq));
|
|
2078
2078
|
},
|
|
2079
2079
|
enumerable: true,
|
|
2080
2080
|
configurable: true
|
|
@@ -2084,11 +2084,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2084
2084
|
* Gets or sets the color to use for the text the button when it is focused and fab.
|
|
2085
2085
|
*/
|
|
2086
2086
|
get: function () {
|
|
2087
|
-
return brushToString(this.i.
|
|
2087
|
+
return brushToString(this.i.sr);
|
|
2088
2088
|
},
|
|
2089
2089
|
set: function (v) {
|
|
2090
|
-
this.i.
|
|
2091
|
-
this._a("fabFocusTextColor", brushToString(this.i.
|
|
2090
|
+
this.i.sr = stringToBrush(v);
|
|
2091
|
+
this._a("fabFocusTextColor", brushToString(this.i.sr));
|
|
2092
2092
|
},
|
|
2093
2093
|
enumerable: true,
|
|
2094
2094
|
configurable: true
|
|
@@ -2098,11 +2098,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2098
2098
|
* Gets or sets the color to use for the background of the button when the type is icon.
|
|
2099
2099
|
*/
|
|
2100
2100
|
get: function () {
|
|
2101
|
-
return brushToString(this.i.
|
|
2101
|
+
return brushToString(this.i.tb);
|
|
2102
2102
|
},
|
|
2103
2103
|
set: function (v) {
|
|
2104
|
-
this.i.
|
|
2105
|
-
this._a("iconBackgroundColor", brushToString(this.i.
|
|
2104
|
+
this.i.tb = stringToBrush(v);
|
|
2105
|
+
this._a("iconBackgroundColor", brushToString(this.i.tb));
|
|
2106
2106
|
},
|
|
2107
2107
|
enumerable: true,
|
|
2108
2108
|
configurable: true
|
|
@@ -2112,11 +2112,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2112
2112
|
* Gets or sets the color to use for the disabled background of the button when the type is icon.
|
|
2113
2113
|
*/
|
|
2114
2114
|
get: function () {
|
|
2115
|
-
return brushToString(this.i.
|
|
2115
|
+
return brushToString(this.i.td);
|
|
2116
2116
|
},
|
|
2117
2117
|
set: function (v) {
|
|
2118
|
-
this.i.
|
|
2119
|
-
this._a("iconDisabledBackgroundColor", brushToString(this.i.
|
|
2118
|
+
this.i.td = stringToBrush(v);
|
|
2119
|
+
this._a("iconDisabledBackgroundColor", brushToString(this.i.td));
|
|
2120
2120
|
},
|
|
2121
2121
|
enumerable: true,
|
|
2122
2122
|
configurable: true
|
|
@@ -2126,11 +2126,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2126
2126
|
* Gets or sets the color to use for the disabled border of the button when the type is icon.
|
|
2127
2127
|
*/
|
|
2128
2128
|
get: function () {
|
|
2129
|
-
return brushToString(this.i.
|
|
2129
|
+
return brushToString(this.i.te);
|
|
2130
2130
|
},
|
|
2131
2131
|
set: function (v) {
|
|
2132
|
-
this.i.
|
|
2133
|
-
this._a("iconDisabledBorderColor", brushToString(this.i.
|
|
2132
|
+
this.i.te = stringToBrush(v);
|
|
2133
|
+
this._a("iconDisabledBorderColor", brushToString(this.i.te));
|
|
2134
2134
|
},
|
|
2135
2135
|
enumerable: true,
|
|
2136
2136
|
configurable: true
|
|
@@ -2140,11 +2140,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2140
2140
|
* Gets or sets the color to use for the disabled text of the button when the type is icon.
|
|
2141
2141
|
*/
|
|
2142
2142
|
get: function () {
|
|
2143
|
-
return brushToString(this.i.
|
|
2143
|
+
return brushToString(this.i.tf);
|
|
2144
2144
|
},
|
|
2145
2145
|
set: function (v) {
|
|
2146
|
-
this.i.
|
|
2147
|
-
this._a("iconDisabledTextColor", brushToString(this.i.
|
|
2146
|
+
this.i.tf = stringToBrush(v);
|
|
2147
|
+
this._a("iconDisabledTextColor", brushToString(this.i.tf));
|
|
2148
2148
|
},
|
|
2149
2149
|
enumerable: true,
|
|
2150
2150
|
configurable: true
|
|
@@ -2168,11 +2168,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2168
2168
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
|
|
2169
2169
|
*/
|
|
2170
2170
|
get: function () {
|
|
2171
|
-
return brushToString(this.i.
|
|
2171
|
+
return brushToString(this.i.ti);
|
|
2172
2172
|
},
|
|
2173
2173
|
set: function (v) {
|
|
2174
|
-
this.i.
|
|
2175
|
-
this._a("iconHoverBackgroundColor", brushToString(this.i.
|
|
2174
|
+
this.i.ti = stringToBrush(v);
|
|
2175
|
+
this._a("iconHoverBackgroundColor", brushToString(this.i.ti));
|
|
2176
2176
|
},
|
|
2177
2177
|
enumerable: true,
|
|
2178
2178
|
configurable: true
|
|
@@ -2182,11 +2182,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2182
2182
|
* Gets or sets the border color to use for the button when the type is icon.
|
|
2183
2183
|
*/
|
|
2184
2184
|
get: function () {
|
|
2185
|
-
return brushToString(this.i.
|
|
2185
|
+
return brushToString(this.i.tc);
|
|
2186
2186
|
},
|
|
2187
2187
|
set: function (v) {
|
|
2188
|
-
this.i.
|
|
2189
|
-
this._a("iconBorderColor", brushToString(this.i.
|
|
2188
|
+
this.i.tc = stringToBrush(v);
|
|
2189
|
+
this._a("iconBorderColor", brushToString(this.i.tc));
|
|
2190
2190
|
},
|
|
2191
2191
|
enumerable: true,
|
|
2192
2192
|
configurable: true
|
|
@@ -2249,72 +2249,72 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2249
2249
|
});
|
|
2250
2250
|
Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusBottomRight", {
|
|
2251
2251
|
get: function () {
|
|
2252
|
-
return this.i.
|
|
2252
|
+
return this.i.kx ? this.i.kx.b : NaN;
|
|
2253
2253
|
},
|
|
2254
2254
|
set: function (v) {
|
|
2255
2255
|
this.ensureIconCornerRadius();
|
|
2256
|
-
this.i.
|
|
2257
|
-
this._a("iconCornerRadiusBottomRight", this.i.
|
|
2258
|
-
this.i.
|
|
2256
|
+
this.i.kx.b = +v;
|
|
2257
|
+
this._a("iconCornerRadiusBottomRight", this.i.kx.b);
|
|
2258
|
+
this.i.kx = this.i.kx;
|
|
2259
2259
|
},
|
|
2260
2260
|
enumerable: true,
|
|
2261
2261
|
configurable: true
|
|
2262
2262
|
});
|
|
2263
2263
|
Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusBottomLeft", {
|
|
2264
2264
|
get: function () {
|
|
2265
|
-
return this.i.
|
|
2265
|
+
return this.i.kx ? this.i.kx.a : NaN;
|
|
2266
2266
|
},
|
|
2267
2267
|
set: function (v) {
|
|
2268
2268
|
this.ensureIconCornerRadius();
|
|
2269
|
-
this.i.
|
|
2270
|
-
this._a("iconCornerRadiusBottomLeft", this.i.
|
|
2271
|
-
this.i.
|
|
2269
|
+
this.i.kx.a = +v;
|
|
2270
|
+
this._a("iconCornerRadiusBottomLeft", this.i.kx.a);
|
|
2271
|
+
this.i.kx = this.i.kx;
|
|
2272
2272
|
},
|
|
2273
2273
|
enumerable: true,
|
|
2274
2274
|
configurable: true
|
|
2275
2275
|
});
|
|
2276
2276
|
Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusTopLeft", {
|
|
2277
2277
|
get: function () {
|
|
2278
|
-
return this.i.
|
|
2278
|
+
return this.i.kx ? this.i.kx.c : NaN;
|
|
2279
2279
|
},
|
|
2280
2280
|
set: function (v) {
|
|
2281
2281
|
this.ensureIconCornerRadius();
|
|
2282
|
-
this.i.
|
|
2283
|
-
this._a("iconCornerRadiusTopLeft", this.i.
|
|
2284
|
-
this.i.
|
|
2282
|
+
this.i.kx.c = +v;
|
|
2283
|
+
this._a("iconCornerRadiusTopLeft", this.i.kx.c);
|
|
2284
|
+
this.i.kx = this.i.kx;
|
|
2285
2285
|
},
|
|
2286
2286
|
enumerable: true,
|
|
2287
2287
|
configurable: true
|
|
2288
2288
|
});
|
|
2289
2289
|
Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusTopRight", {
|
|
2290
2290
|
get: function () {
|
|
2291
|
-
return this.i.
|
|
2291
|
+
return this.i.kx ? this.i.kx.d : NaN;
|
|
2292
2292
|
},
|
|
2293
2293
|
set: function (v) {
|
|
2294
2294
|
this.ensureIconCornerRadius();
|
|
2295
|
-
this.i.
|
|
2296
|
-
this._a("iconCornerRadiusTopRight", this.i.
|
|
2297
|
-
this.i.
|
|
2295
|
+
this.i.kx.d = +v;
|
|
2296
|
+
this._a("iconCornerRadiusTopRight", this.i.kx.d);
|
|
2297
|
+
this.i.kx = this.i.kx;
|
|
2298
2298
|
},
|
|
2299
2299
|
enumerable: true,
|
|
2300
2300
|
configurable: true
|
|
2301
2301
|
});
|
|
2302
2302
|
IgcXButtonComponent.prototype.ensureIconCornerRadius = function () {
|
|
2303
|
-
if (this.i.
|
|
2303
|
+
if (this.i.kx) {
|
|
2304
2304
|
return;
|
|
2305
2305
|
}
|
|
2306
|
-
this.i.
|
|
2306
|
+
this.i.kx = new CornerRadius(2);
|
|
2307
2307
|
};
|
|
2308
2308
|
Object.defineProperty(IgcXButtonComponent.prototype, "iconRippleColor", {
|
|
2309
2309
|
/**
|
|
2310
2310
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
2311
2311
|
*/
|
|
2312
2312
|
get: function () {
|
|
2313
|
-
return brushToString(this.i.
|
|
2313
|
+
return brushToString(this.i.tk);
|
|
2314
2314
|
},
|
|
2315
2315
|
set: function (v) {
|
|
2316
|
-
this.i.
|
|
2317
|
-
this._a("iconRippleColor", brushToString(this.i.
|
|
2316
|
+
this.i.tk = stringToBrush(v);
|
|
2317
|
+
this._a("iconRippleColor", brushToString(this.i.tk));
|
|
2318
2318
|
},
|
|
2319
2319
|
enumerable: true,
|
|
2320
2320
|
configurable: true
|
|
@@ -2324,11 +2324,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2324
2324
|
* Gets or sets the color to use for the text of the button when type is icon.
|
|
2325
2325
|
*/
|
|
2326
2326
|
get: function () {
|
|
2327
|
-
return brushToString(this.i.
|
|
2327
|
+
return brushToString(this.i.tl);
|
|
2328
2328
|
},
|
|
2329
2329
|
set: function (v) {
|
|
2330
|
-
this.i.
|
|
2331
|
-
this._a("iconTextColor", brushToString(this.i.
|
|
2330
|
+
this.i.tl = stringToBrush(v);
|
|
2331
|
+
this._a("iconTextColor", brushToString(this.i.tl));
|
|
2332
2332
|
},
|
|
2333
2333
|
enumerable: true,
|
|
2334
2334
|
configurable: true
|
|
@@ -2338,11 +2338,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2338
2338
|
* Gets or sets the color to use for the hovered text of the button when type is icon.
|
|
2339
2339
|
*/
|
|
2340
2340
|
get: function () {
|
|
2341
|
-
return brushToString(this.i.
|
|
2341
|
+
return brushToString(this.i.tj);
|
|
2342
2342
|
},
|
|
2343
2343
|
set: function (v) {
|
|
2344
|
-
this.i.
|
|
2345
|
-
this._a("iconHoverTextColor", brushToString(this.i.
|
|
2344
|
+
this.i.tj = stringToBrush(v);
|
|
2345
|
+
this._a("iconHoverTextColor", brushToString(this.i.tj));
|
|
2346
2346
|
},
|
|
2347
2347
|
enumerable: true,
|
|
2348
2348
|
configurable: true
|
|
@@ -2352,11 +2352,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2352
2352
|
* Gets or sets the color to use for the backround the button when it is focused and icon.
|
|
2353
2353
|
*/
|
|
2354
2354
|
get: function () {
|
|
2355
|
-
return brushToString(this.i.
|
|
2355
|
+
return brushToString(this.i.tg);
|
|
2356
2356
|
},
|
|
2357
2357
|
set: function (v) {
|
|
2358
|
-
this.i.
|
|
2359
|
-
this._a("iconFocusBackgroundColor", brushToString(this.i.
|
|
2358
|
+
this.i.tg = stringToBrush(v);
|
|
2359
|
+
this._a("iconFocusBackgroundColor", brushToString(this.i.tg));
|
|
2360
2360
|
},
|
|
2361
2361
|
enumerable: true,
|
|
2362
2362
|
configurable: true
|
|
@@ -2366,11 +2366,11 @@ var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2366
2366
|
* Gets or sets the color to use for the text the button when it is focused and icon.
|
|
2367
2367
|
*/
|
|
2368
2368
|
get: function () {
|
|
2369
|
-
return brushToString(this.i.
|
|
2369
|
+
return brushToString(this.i.th);
|
|
2370
2370
|
},
|
|
2371
2371
|
set: function (v) {
|
|
2372
|
-
this.i.
|
|
2373
|
-
this._a("iconFocusTextColor", brushToString(this.i.
|
|
2372
|
+
this.i.th = stringToBrush(v);
|
|
2373
|
+
this._a("iconFocusTextColor", brushToString(this.i.th));
|
|
2374
2374
|
},
|
|
2375
2375
|
enumerable: true,
|
|
2376
2376
|
configurable: true
|