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
|
@@ -265,41 +265,41 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
265
265
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
266
266
|
*/
|
|
267
267
|
get actualBorderColor() {
|
|
268
|
-
return brushToString(this.i.
|
|
268
|
+
return brushToString(this.i.na);
|
|
269
269
|
}
|
|
270
270
|
set actualBorderColor(v) {
|
|
271
|
-
this.i.
|
|
272
|
-
this._a("actualBorderColor", brushToString(this.i.
|
|
271
|
+
this.i.na = stringToBrush(v);
|
|
272
|
+
this._a("actualBorderColor", brushToString(this.i.na));
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
275
275
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
276
276
|
*/
|
|
277
277
|
get actualUmbraShadowColor() {
|
|
278
|
-
return brushToString(this.i.
|
|
278
|
+
return brushToString(this.i.nl);
|
|
279
279
|
}
|
|
280
280
|
set actualUmbraShadowColor(v) {
|
|
281
|
-
this.i.
|
|
282
|
-
this._a("actualUmbraShadowColor", brushToString(this.i.
|
|
281
|
+
this.i.nl = stringToBrush(v);
|
|
282
|
+
this._a("actualUmbraShadowColor", brushToString(this.i.nl));
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
286
286
|
*/
|
|
287
287
|
get actualPenumbraShadowColor() {
|
|
288
|
-
return brushToString(this.i.
|
|
288
|
+
return brushToString(this.i.ni);
|
|
289
289
|
}
|
|
290
290
|
set actualPenumbraShadowColor(v) {
|
|
291
|
-
this.i.
|
|
292
|
-
this._a("actualPenumbraShadowColor", brushToString(this.i.
|
|
291
|
+
this.i.ni = stringToBrush(v);
|
|
292
|
+
this._a("actualPenumbraShadowColor", brushToString(this.i.ni));
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
295
295
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
296
296
|
*/
|
|
297
297
|
get actualAmbientShadowColor() {
|
|
298
|
-
return brushToString(this.i.
|
|
298
|
+
return brushToString(this.i.m8);
|
|
299
299
|
}
|
|
300
300
|
set actualAmbientShadowColor(v) {
|
|
301
|
-
this.i.
|
|
302
|
-
this._a("actualAmbientShadowColor", brushToString(this.i.
|
|
301
|
+
this.i.m8 = stringToBrush(v);
|
|
302
|
+
this._a("actualAmbientShadowColor", brushToString(this.i.m8));
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
305
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
@@ -335,93 +335,93 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
335
335
|
* Gets or sets the color to use for the ripple when the button is pressed.
|
|
336
336
|
*/
|
|
337
337
|
get actualRippleColor() {
|
|
338
|
-
return brushToString(this.i.
|
|
338
|
+
return brushToString(this.i.nj);
|
|
339
339
|
}
|
|
340
340
|
set actualRippleColor(v) {
|
|
341
|
-
this.i.
|
|
342
|
-
this._a("actualRippleColor", brushToString(this.i.
|
|
341
|
+
this.i.nj = stringToBrush(v);
|
|
342
|
+
this._a("actualRippleColor", brushToString(this.i.nj));
|
|
343
343
|
}
|
|
344
344
|
get actualCornerRadiusBottomRight() {
|
|
345
|
-
return this.i.
|
|
345
|
+
return this.i.kd ? this.i.kd.b : NaN;
|
|
346
346
|
}
|
|
347
347
|
set actualCornerRadiusBottomRight(v) {
|
|
348
348
|
this.ensureActualCornerRadius();
|
|
349
|
-
this.i.
|
|
350
|
-
this._a("actualCornerRadiusBottomRight", this.i.
|
|
351
|
-
this.i.
|
|
349
|
+
this.i.kd.b = +v;
|
|
350
|
+
this._a("actualCornerRadiusBottomRight", this.i.kd.b);
|
|
351
|
+
this.i.kd = this.i.kd;
|
|
352
352
|
}
|
|
353
353
|
get actualCornerRadiusBottomLeft() {
|
|
354
|
-
return this.i.
|
|
354
|
+
return this.i.kd ? this.i.kd.a : NaN;
|
|
355
355
|
}
|
|
356
356
|
set actualCornerRadiusBottomLeft(v) {
|
|
357
357
|
this.ensureActualCornerRadius();
|
|
358
|
-
this.i.
|
|
359
|
-
this._a("actualCornerRadiusBottomLeft", this.i.
|
|
360
|
-
this.i.
|
|
358
|
+
this.i.kd.a = +v;
|
|
359
|
+
this._a("actualCornerRadiusBottomLeft", this.i.kd.a);
|
|
360
|
+
this.i.kd = this.i.kd;
|
|
361
361
|
}
|
|
362
362
|
get actualCornerRadiusTopLeft() {
|
|
363
|
-
return this.i.
|
|
363
|
+
return this.i.kd ? this.i.kd.c : NaN;
|
|
364
364
|
}
|
|
365
365
|
set actualCornerRadiusTopLeft(v) {
|
|
366
366
|
this.ensureActualCornerRadius();
|
|
367
|
-
this.i.
|
|
368
|
-
this._a("actualCornerRadiusTopLeft", this.i.
|
|
369
|
-
this.i.
|
|
367
|
+
this.i.kd.c = +v;
|
|
368
|
+
this._a("actualCornerRadiusTopLeft", this.i.kd.c);
|
|
369
|
+
this.i.kd = this.i.kd;
|
|
370
370
|
}
|
|
371
371
|
get actualCornerRadiusTopRight() {
|
|
372
|
-
return this.i.
|
|
372
|
+
return this.i.kd ? this.i.kd.d : NaN;
|
|
373
373
|
}
|
|
374
374
|
set actualCornerRadiusTopRight(v) {
|
|
375
375
|
this.ensureActualCornerRadius();
|
|
376
|
-
this.i.
|
|
377
|
-
this._a("actualCornerRadiusTopRight", this.i.
|
|
378
|
-
this.i.
|
|
376
|
+
this.i.kd.d = +v;
|
|
377
|
+
this._a("actualCornerRadiusTopRight", this.i.kd.d);
|
|
378
|
+
this.i.kd = this.i.kd;
|
|
379
379
|
}
|
|
380
380
|
ensureActualCornerRadius() {
|
|
381
|
-
if (this.i.
|
|
381
|
+
if (this.i.kd) {
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
384
|
-
this.i.
|
|
384
|
+
this.i.kd = new CornerRadius(2);
|
|
385
385
|
}
|
|
386
386
|
/**
|
|
387
387
|
* Gets the color to use for the actual background.
|
|
388
388
|
*/
|
|
389
389
|
get actualBackgroundColor() {
|
|
390
|
-
return brushToString(this.i.
|
|
390
|
+
return brushToString(this.i.m9);
|
|
391
391
|
}
|
|
392
392
|
set actualBackgroundColor(v) {
|
|
393
|
-
this.i.
|
|
394
|
-
this._a("actualBackgroundColor", brushToString(this.i.
|
|
393
|
+
this.i.m9 = stringToBrush(v);
|
|
394
|
+
this._a("actualBackgroundColor", brushToString(this.i.m9));
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
397
|
* Gets the actual color to use for the disabled background of the button.
|
|
398
398
|
*/
|
|
399
399
|
get actualDisabledBackgroundColor() {
|
|
400
|
-
return brushToString(this.i.
|
|
400
|
+
return brushToString(this.i.nb);
|
|
401
401
|
}
|
|
402
402
|
set actualDisabledBackgroundColor(v) {
|
|
403
|
-
this.i.
|
|
404
|
-
this._a("actualDisabledBackgroundColor", brushToString(this.i.
|
|
403
|
+
this.i.nb = stringToBrush(v);
|
|
404
|
+
this._a("actualDisabledBackgroundColor", brushToString(this.i.nb));
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
407
|
* Gets the actual color to use for the disabled border of the button.
|
|
408
408
|
*/
|
|
409
409
|
get actualDisabledBorderColor() {
|
|
410
|
-
return brushToString(this.i.
|
|
410
|
+
return brushToString(this.i.nc);
|
|
411
411
|
}
|
|
412
412
|
set actualDisabledBorderColor(v) {
|
|
413
|
-
this.i.
|
|
414
|
-
this._a("actualDisabledBorderColor", brushToString(this.i.
|
|
413
|
+
this.i.nc = stringToBrush(v);
|
|
414
|
+
this._a("actualDisabledBorderColor", brushToString(this.i.nc));
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* Gets the actual color to use for the disabled text of the button.
|
|
418
418
|
*/
|
|
419
419
|
get actualDisabledTextColor() {
|
|
420
|
-
return brushToString(this.i.
|
|
420
|
+
return brushToString(this.i.nd);
|
|
421
421
|
}
|
|
422
422
|
set actualDisabledTextColor(v) {
|
|
423
|
-
this.i.
|
|
424
|
-
this._a("actualDisabledTextColor", brushToString(this.i.
|
|
423
|
+
this.i.nd = stringToBrush(v);
|
|
424
|
+
this._a("actualDisabledTextColor", brushToString(this.i.nd));
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* Gets the actual disabled elevation to use for the button.
|
|
@@ -447,51 +447,51 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
447
447
|
* Gets the color to use for the actual background.
|
|
448
448
|
*/
|
|
449
449
|
get actualTextColor() {
|
|
450
|
-
return brushToString(this.i.
|
|
450
|
+
return brushToString(this.i.nk);
|
|
451
451
|
}
|
|
452
452
|
set actualTextColor(v) {
|
|
453
|
-
this.i.
|
|
454
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
453
|
+
this.i.nk = stringToBrush(v);
|
|
454
|
+
this._a("actualTextColor", brushToString(this.i.nk));
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* Gets the color to use for the actual background.
|
|
458
458
|
*/
|
|
459
459
|
get actualHoverTextColor() {
|
|
460
|
-
return brushToString(this.i.
|
|
460
|
+
return brushToString(this.i.nh);
|
|
461
461
|
}
|
|
462
462
|
set actualHoverTextColor(v) {
|
|
463
|
-
this.i.
|
|
464
|
-
this._a("actualHoverTextColor", brushToString(this.i.
|
|
463
|
+
this.i.nh = stringToBrush(v);
|
|
464
|
+
this._a("actualHoverTextColor", brushToString(this.i.nh));
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* Gets the color to use for the actual background.
|
|
468
468
|
*/
|
|
469
469
|
get actualFocusBackgroundColor() {
|
|
470
|
-
return brushToString(this.i.
|
|
470
|
+
return brushToString(this.i.ne);
|
|
471
471
|
}
|
|
472
472
|
set actualFocusBackgroundColor(v) {
|
|
473
|
-
this.i.
|
|
474
|
-
this._a("actualFocusBackgroundColor", brushToString(this.i.
|
|
473
|
+
this.i.ne = stringToBrush(v);
|
|
474
|
+
this._a("actualFocusBackgroundColor", brushToString(this.i.ne));
|
|
475
475
|
}
|
|
476
476
|
/**
|
|
477
477
|
* Gets the actual color to use for the focused text.
|
|
478
478
|
*/
|
|
479
479
|
get actualFocusTextColor() {
|
|
480
|
-
return brushToString(this.i.
|
|
480
|
+
return brushToString(this.i.nf);
|
|
481
481
|
}
|
|
482
482
|
set actualFocusTextColor(v) {
|
|
483
|
-
this.i.
|
|
484
|
-
this._a("actualFocusTextColor", brushToString(this.i.
|
|
483
|
+
this.i.nf = stringToBrush(v);
|
|
484
|
+
this._a("actualFocusTextColor", brushToString(this.i.nf));
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
487
|
* Gets the hover color to use for the actual background.
|
|
488
488
|
*/
|
|
489
489
|
get actualHoverBackgroundColor() {
|
|
490
|
-
return brushToString(this.i.
|
|
490
|
+
return brushToString(this.i.ng);
|
|
491
491
|
}
|
|
492
492
|
set actualHoverBackgroundColor(v) {
|
|
493
|
-
this.i.
|
|
494
|
-
this._a("actualHoverBackgroundColor", brushToString(this.i.
|
|
493
|
+
this.i.ng = stringToBrush(v);
|
|
494
|
+
this._a("actualHoverBackgroundColor", brushToString(this.i.ng));
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
497
497
|
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
@@ -507,41 +507,41 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
507
507
|
* Gets or sets the color to use for the background of the button when the type is raised.
|
|
508
508
|
*/
|
|
509
509
|
get raisedBackgroundColor() {
|
|
510
|
-
return brushToString(this.i.
|
|
510
|
+
return brushToString(this.i.tx);
|
|
511
511
|
}
|
|
512
512
|
set raisedBackgroundColor(v) {
|
|
513
|
-
this.i.
|
|
514
|
-
this._a("raisedBackgroundColor", brushToString(this.i.
|
|
513
|
+
this.i.tx = stringToBrush(v);
|
|
514
|
+
this._a("raisedBackgroundColor", brushToString(this.i.tx));
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
517
|
* Gets or sets the color to use for the disabled background of the button when the type is raised.
|
|
518
518
|
*/
|
|
519
519
|
get raisedDisabledBackgroundColor() {
|
|
520
|
-
return brushToString(this.i.
|
|
520
|
+
return brushToString(this.i.tz);
|
|
521
521
|
}
|
|
522
522
|
set raisedDisabledBackgroundColor(v) {
|
|
523
|
-
this.i.
|
|
524
|
-
this._a("raisedDisabledBackgroundColor", brushToString(this.i.
|
|
523
|
+
this.i.tz = stringToBrush(v);
|
|
524
|
+
this._a("raisedDisabledBackgroundColor", brushToString(this.i.tz));
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
528
528
|
*/
|
|
529
529
|
get raisedDisabledBorderColor() {
|
|
530
|
-
return brushToString(this.i.
|
|
530
|
+
return brushToString(this.i.t0);
|
|
531
531
|
}
|
|
532
532
|
set raisedDisabledBorderColor(v) {
|
|
533
|
-
this.i.
|
|
534
|
-
this._a("raisedDisabledBorderColor", brushToString(this.i.
|
|
533
|
+
this.i.t0 = stringToBrush(v);
|
|
534
|
+
this._a("raisedDisabledBorderColor", brushToString(this.i.t0));
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
537
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
538
538
|
*/
|
|
539
539
|
get raisedDisabledTextColor() {
|
|
540
|
-
return brushToString(this.i.
|
|
540
|
+
return brushToString(this.i.t1);
|
|
541
541
|
}
|
|
542
542
|
set raisedDisabledTextColor(v) {
|
|
543
|
-
this.i.
|
|
544
|
-
this._a("raisedDisabledTextColor", brushToString(this.i.
|
|
543
|
+
this.i.t1 = stringToBrush(v);
|
|
544
|
+
this._a("raisedDisabledTextColor", brushToString(this.i.t1));
|
|
545
545
|
}
|
|
546
546
|
/**
|
|
547
547
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
@@ -557,21 +557,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
557
557
|
* Gets or sets the hover color to use for the background of the button when the type is raised.
|
|
558
558
|
*/
|
|
559
559
|
get raisedHoverBackgroundColor() {
|
|
560
|
-
return brushToString(this.i.
|
|
560
|
+
return brushToString(this.i.t4);
|
|
561
561
|
}
|
|
562
562
|
set raisedHoverBackgroundColor(v) {
|
|
563
|
-
this.i.
|
|
564
|
-
this._a("raisedHoverBackgroundColor", brushToString(this.i.
|
|
563
|
+
this.i.t4 = stringToBrush(v);
|
|
564
|
+
this._a("raisedHoverBackgroundColor", brushToString(this.i.t4));
|
|
565
565
|
}
|
|
566
566
|
/**
|
|
567
567
|
* Gets or sets the border color to use for the button when the type is raised.
|
|
568
568
|
*/
|
|
569
569
|
get raisedBorderColor() {
|
|
570
|
-
return brushToString(this.i.
|
|
570
|
+
return brushToString(this.i.ty);
|
|
571
571
|
}
|
|
572
572
|
set raisedBorderColor(v) {
|
|
573
|
-
this.i.
|
|
574
|
-
this._a("raisedBorderColor", brushToString(this.i.
|
|
573
|
+
this.i.ty = stringToBrush(v);
|
|
574
|
+
this._a("raisedBorderColor", brushToString(this.i.ty));
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
577
|
* Gets or sets the elevation to use for the button when the type is raised.
|
|
@@ -614,96 +614,96 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
614
614
|
this._a("raisedBorderWidth", this.i.bj);
|
|
615
615
|
}
|
|
616
616
|
get raisedCornerRadiusBottomRight() {
|
|
617
|
-
return this.i.
|
|
617
|
+
return this.i.kz ? this.i.kz.b : NaN;
|
|
618
618
|
}
|
|
619
619
|
set raisedCornerRadiusBottomRight(v) {
|
|
620
620
|
this.ensureRaisedCornerRadius();
|
|
621
|
-
this.i.
|
|
622
|
-
this._a("raisedCornerRadiusBottomRight", this.i.
|
|
623
|
-
this.i.
|
|
621
|
+
this.i.kz.b = +v;
|
|
622
|
+
this._a("raisedCornerRadiusBottomRight", this.i.kz.b);
|
|
623
|
+
this.i.kz = this.i.kz;
|
|
624
624
|
}
|
|
625
625
|
get raisedCornerRadiusBottomLeft() {
|
|
626
|
-
return this.i.
|
|
626
|
+
return this.i.kz ? this.i.kz.a : NaN;
|
|
627
627
|
}
|
|
628
628
|
set raisedCornerRadiusBottomLeft(v) {
|
|
629
629
|
this.ensureRaisedCornerRadius();
|
|
630
|
-
this.i.
|
|
631
|
-
this._a("raisedCornerRadiusBottomLeft", this.i.
|
|
632
|
-
this.i.
|
|
630
|
+
this.i.kz.a = +v;
|
|
631
|
+
this._a("raisedCornerRadiusBottomLeft", this.i.kz.a);
|
|
632
|
+
this.i.kz = this.i.kz;
|
|
633
633
|
}
|
|
634
634
|
get raisedCornerRadiusTopLeft() {
|
|
635
|
-
return this.i.
|
|
635
|
+
return this.i.kz ? this.i.kz.c : NaN;
|
|
636
636
|
}
|
|
637
637
|
set raisedCornerRadiusTopLeft(v) {
|
|
638
638
|
this.ensureRaisedCornerRadius();
|
|
639
|
-
this.i.
|
|
640
|
-
this._a("raisedCornerRadiusTopLeft", this.i.
|
|
641
|
-
this.i.
|
|
639
|
+
this.i.kz.c = +v;
|
|
640
|
+
this._a("raisedCornerRadiusTopLeft", this.i.kz.c);
|
|
641
|
+
this.i.kz = this.i.kz;
|
|
642
642
|
}
|
|
643
643
|
get raisedCornerRadiusTopRight() {
|
|
644
|
-
return this.i.
|
|
644
|
+
return this.i.kz ? this.i.kz.d : NaN;
|
|
645
645
|
}
|
|
646
646
|
set raisedCornerRadiusTopRight(v) {
|
|
647
647
|
this.ensureRaisedCornerRadius();
|
|
648
|
-
this.i.
|
|
649
|
-
this._a("raisedCornerRadiusTopRight", this.i.
|
|
650
|
-
this.i.
|
|
648
|
+
this.i.kz.d = +v;
|
|
649
|
+
this._a("raisedCornerRadiusTopRight", this.i.kz.d);
|
|
650
|
+
this.i.kz = this.i.kz;
|
|
651
651
|
}
|
|
652
652
|
ensureRaisedCornerRadius() {
|
|
653
|
-
if (this.i.
|
|
653
|
+
if (this.i.kz) {
|
|
654
654
|
return;
|
|
655
655
|
}
|
|
656
|
-
this.i.
|
|
656
|
+
this.i.kz = new CornerRadius(2);
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
660
660
|
*/
|
|
661
661
|
get raisedRippleColor() {
|
|
662
|
-
return brushToString(this.i.
|
|
662
|
+
return brushToString(this.i.t6);
|
|
663
663
|
}
|
|
664
664
|
set raisedRippleColor(v) {
|
|
665
|
-
this.i.
|
|
666
|
-
this._a("raisedRippleColor", brushToString(this.i.
|
|
665
|
+
this.i.t6 = stringToBrush(v);
|
|
666
|
+
this._a("raisedRippleColor", brushToString(this.i.t6));
|
|
667
667
|
}
|
|
668
668
|
/**
|
|
669
669
|
* Gets or sets the color to use for the background of the button when the type is flat.
|
|
670
670
|
*/
|
|
671
671
|
get flatBackgroundColor() {
|
|
672
|
-
return brushToString(this.i.
|
|
672
|
+
return brushToString(this.i.sw);
|
|
673
673
|
}
|
|
674
674
|
set flatBackgroundColor(v) {
|
|
675
|
-
this.i.
|
|
676
|
-
this._a("flatBackgroundColor", brushToString(this.i.
|
|
675
|
+
this.i.sw = stringToBrush(v);
|
|
676
|
+
this._a("flatBackgroundColor", brushToString(this.i.sw));
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
679
|
* Gets or sets the color to use for the disabled background of the button when the type is flat.
|
|
680
680
|
*/
|
|
681
681
|
get flatDisabledBackgroundColor() {
|
|
682
|
-
return brushToString(this.i.
|
|
682
|
+
return brushToString(this.i.sy);
|
|
683
683
|
}
|
|
684
684
|
set flatDisabledBackgroundColor(v) {
|
|
685
|
-
this.i.
|
|
686
|
-
this._a("flatDisabledBackgroundColor", brushToString(this.i.
|
|
685
|
+
this.i.sy = stringToBrush(v);
|
|
686
|
+
this._a("flatDisabledBackgroundColor", brushToString(this.i.sy));
|
|
687
687
|
}
|
|
688
688
|
/**
|
|
689
689
|
* Gets or sets the color to use for the disabled border of the button when the type is flat.
|
|
690
690
|
*/
|
|
691
691
|
get flatDisabledBorderColor() {
|
|
692
|
-
return brushToString(this.i.
|
|
692
|
+
return brushToString(this.i.sz);
|
|
693
693
|
}
|
|
694
694
|
set flatDisabledBorderColor(v) {
|
|
695
|
-
this.i.
|
|
696
|
-
this._a("flatDisabledBorderColor", brushToString(this.i.
|
|
695
|
+
this.i.sz = stringToBrush(v);
|
|
696
|
+
this._a("flatDisabledBorderColor", brushToString(this.i.sz));
|
|
697
697
|
}
|
|
698
698
|
/**
|
|
699
699
|
* Gets or sets the color to use for the disabled text of the button when the type is flat.
|
|
700
700
|
*/
|
|
701
701
|
get flatDisabledTextColor() {
|
|
702
|
-
return brushToString(this.i.
|
|
702
|
+
return brushToString(this.i.s0);
|
|
703
703
|
}
|
|
704
704
|
set flatDisabledTextColor(v) {
|
|
705
|
-
this.i.
|
|
706
|
-
this._a("flatDisabledTextColor", brushToString(this.i.
|
|
705
|
+
this.i.s0 = stringToBrush(v);
|
|
706
|
+
this._a("flatDisabledTextColor", brushToString(this.i.s0));
|
|
707
707
|
}
|
|
708
708
|
/**
|
|
709
709
|
* Gets or sets the disabled elevation to use for the button when the type is flat.
|
|
@@ -719,21 +719,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
719
719
|
* Gets or sets the hover color to use for the background of the button when the type is flat.
|
|
720
720
|
*/
|
|
721
721
|
get flatHoverBackgroundColor() {
|
|
722
|
-
return brushToString(this.i.
|
|
722
|
+
return brushToString(this.i.s3);
|
|
723
723
|
}
|
|
724
724
|
set flatHoverBackgroundColor(v) {
|
|
725
|
-
this.i.
|
|
726
|
-
this._a("flatHoverBackgroundColor", brushToString(this.i.
|
|
725
|
+
this.i.s3 = stringToBrush(v);
|
|
726
|
+
this._a("flatHoverBackgroundColor", brushToString(this.i.s3));
|
|
727
727
|
}
|
|
728
728
|
/**
|
|
729
729
|
* Gets or sets the border color to use for the button when the type is flat.
|
|
730
730
|
*/
|
|
731
731
|
get flatBorderColor() {
|
|
732
|
-
return brushToString(this.i.
|
|
732
|
+
return brushToString(this.i.sx);
|
|
733
733
|
}
|
|
734
734
|
set flatBorderColor(v) {
|
|
735
|
-
this.i.
|
|
736
|
-
this._a("flatBorderColor", brushToString(this.i.
|
|
735
|
+
this.i.sx = stringToBrush(v);
|
|
736
|
+
this._a("flatBorderColor", brushToString(this.i.sx));
|
|
737
737
|
}
|
|
738
738
|
/**
|
|
739
739
|
* Gets or sets the elevation to use for the button when the type is flat.
|
|
@@ -769,51 +769,51 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
769
769
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
770
770
|
*/
|
|
771
771
|
get flatRippleColor() {
|
|
772
|
-
return brushToString(this.i.
|
|
772
|
+
return brushToString(this.i.s5);
|
|
773
773
|
}
|
|
774
774
|
set flatRippleColor(v) {
|
|
775
|
-
this.i.
|
|
776
|
-
this._a("flatRippleColor", brushToString(this.i.
|
|
775
|
+
this.i.s5 = stringToBrush(v);
|
|
776
|
+
this._a("flatRippleColor", brushToString(this.i.s5));
|
|
777
777
|
}
|
|
778
778
|
/**
|
|
779
779
|
* Gets or sets the color to use for the text of the button when type is flat.
|
|
780
780
|
*/
|
|
781
781
|
get flatTextColor() {
|
|
782
|
-
return brushToString(this.i.
|
|
782
|
+
return brushToString(this.i.s6);
|
|
783
783
|
}
|
|
784
784
|
set flatTextColor(v) {
|
|
785
|
-
this.i.
|
|
786
|
-
this._a("flatTextColor", brushToString(this.i.
|
|
785
|
+
this.i.s6 = stringToBrush(v);
|
|
786
|
+
this._a("flatTextColor", brushToString(this.i.s6));
|
|
787
787
|
}
|
|
788
788
|
/**
|
|
789
789
|
* Gets or sets the color to use for the hovered text of the button when type is flat.
|
|
790
790
|
*/
|
|
791
791
|
get flatHoverTextColor() {
|
|
792
|
-
return brushToString(this.i.
|
|
792
|
+
return brushToString(this.i.s4);
|
|
793
793
|
}
|
|
794
794
|
set flatHoverTextColor(v) {
|
|
795
|
-
this.i.
|
|
796
|
-
this._a("flatHoverTextColor", brushToString(this.i.
|
|
795
|
+
this.i.s4 = stringToBrush(v);
|
|
796
|
+
this._a("flatHoverTextColor", brushToString(this.i.s4));
|
|
797
797
|
}
|
|
798
798
|
/**
|
|
799
799
|
* Gets or sets the color to use for the backround the button when it is focused and flat.
|
|
800
800
|
*/
|
|
801
801
|
get flatFocusBackgroundColor() {
|
|
802
|
-
return brushToString(this.i.
|
|
802
|
+
return brushToString(this.i.s1);
|
|
803
803
|
}
|
|
804
804
|
set flatFocusBackgroundColor(v) {
|
|
805
|
-
this.i.
|
|
806
|
-
this._a("flatFocusBackgroundColor", brushToString(this.i.
|
|
805
|
+
this.i.s1 = stringToBrush(v);
|
|
806
|
+
this._a("flatFocusBackgroundColor", brushToString(this.i.s1));
|
|
807
807
|
}
|
|
808
808
|
/**
|
|
809
809
|
* Gets or sets the color to use for the text the button when it is focused and flat.
|
|
810
810
|
*/
|
|
811
811
|
get flatFocusTextColor() {
|
|
812
|
-
return brushToString(this.i.
|
|
812
|
+
return brushToString(this.i.s2);
|
|
813
813
|
}
|
|
814
814
|
set flatFocusTextColor(v) {
|
|
815
|
-
this.i.
|
|
816
|
-
this._a("flatFocusTextColor", brushToString(this.i.
|
|
815
|
+
this.i.s2 = stringToBrush(v);
|
|
816
|
+
this._a("flatFocusTextColor", brushToString(this.i.s2));
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
819
819
|
* Gets or sets the width to use for the button border when the type is flat.
|
|
@@ -826,86 +826,86 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
826
826
|
this._a("flatBorderWidth", this.i.be);
|
|
827
827
|
}
|
|
828
828
|
get flatCornerRadiusBottomRight() {
|
|
829
|
-
return this.i.
|
|
829
|
+
return this.i.kw ? this.i.kw.b : NaN;
|
|
830
830
|
}
|
|
831
831
|
set flatCornerRadiusBottomRight(v) {
|
|
832
832
|
this.ensureFlatCornerRadius();
|
|
833
|
-
this.i.
|
|
834
|
-
this._a("flatCornerRadiusBottomRight", this.i.
|
|
835
|
-
this.i.
|
|
833
|
+
this.i.kw.b = +v;
|
|
834
|
+
this._a("flatCornerRadiusBottomRight", this.i.kw.b);
|
|
835
|
+
this.i.kw = this.i.kw;
|
|
836
836
|
}
|
|
837
837
|
get flatCornerRadiusBottomLeft() {
|
|
838
|
-
return this.i.
|
|
838
|
+
return this.i.kw ? this.i.kw.a : NaN;
|
|
839
839
|
}
|
|
840
840
|
set flatCornerRadiusBottomLeft(v) {
|
|
841
841
|
this.ensureFlatCornerRadius();
|
|
842
|
-
this.i.
|
|
843
|
-
this._a("flatCornerRadiusBottomLeft", this.i.
|
|
844
|
-
this.i.
|
|
842
|
+
this.i.kw.a = +v;
|
|
843
|
+
this._a("flatCornerRadiusBottomLeft", this.i.kw.a);
|
|
844
|
+
this.i.kw = this.i.kw;
|
|
845
845
|
}
|
|
846
846
|
get flatCornerRadiusTopLeft() {
|
|
847
|
-
return this.i.
|
|
847
|
+
return this.i.kw ? this.i.kw.c : NaN;
|
|
848
848
|
}
|
|
849
849
|
set flatCornerRadiusTopLeft(v) {
|
|
850
850
|
this.ensureFlatCornerRadius();
|
|
851
|
-
this.i.
|
|
852
|
-
this._a("flatCornerRadiusTopLeft", this.i.
|
|
853
|
-
this.i.
|
|
851
|
+
this.i.kw.c = +v;
|
|
852
|
+
this._a("flatCornerRadiusTopLeft", this.i.kw.c);
|
|
853
|
+
this.i.kw = this.i.kw;
|
|
854
854
|
}
|
|
855
855
|
get flatCornerRadiusTopRight() {
|
|
856
|
-
return this.i.
|
|
856
|
+
return this.i.kw ? this.i.kw.d : NaN;
|
|
857
857
|
}
|
|
858
858
|
set flatCornerRadiusTopRight(v) {
|
|
859
859
|
this.ensureFlatCornerRadius();
|
|
860
|
-
this.i.
|
|
861
|
-
this._a("flatCornerRadiusTopRight", this.i.
|
|
862
|
-
this.i.
|
|
860
|
+
this.i.kw.d = +v;
|
|
861
|
+
this._a("flatCornerRadiusTopRight", this.i.kw.d);
|
|
862
|
+
this.i.kw = this.i.kw;
|
|
863
863
|
}
|
|
864
864
|
ensureFlatCornerRadius() {
|
|
865
|
-
if (this.i.
|
|
865
|
+
if (this.i.kw) {
|
|
866
866
|
return;
|
|
867
867
|
}
|
|
868
|
-
this.i.
|
|
868
|
+
this.i.kw = new CornerRadius(2);
|
|
869
869
|
}
|
|
870
870
|
/**
|
|
871
871
|
* Gets or sets the color to use for the background when the button regardless of type.
|
|
872
872
|
*/
|
|
873
873
|
get backgroundColor() {
|
|
874
|
-
return brushToString(this.i.
|
|
874
|
+
return brushToString(this.i.nm);
|
|
875
875
|
}
|
|
876
876
|
set backgroundColor(v) {
|
|
877
|
-
this.i.
|
|
878
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
877
|
+
this.i.nm = stringToBrush(v);
|
|
878
|
+
this._a("backgroundColor", brushToString(this.i.nm));
|
|
879
879
|
}
|
|
880
880
|
/**
|
|
881
881
|
* Gets or sets the color to use for the disabled background of the button when the type is disabled.
|
|
882
882
|
*/
|
|
883
883
|
get disabledBackgroundColor() {
|
|
884
|
-
return brushToString(this.i.
|
|
884
|
+
return brushToString(this.i.si);
|
|
885
885
|
}
|
|
886
886
|
set disabledBackgroundColor(v) {
|
|
887
|
-
this.i.
|
|
888
|
-
this._a("disabledBackgroundColor", brushToString(this.i.
|
|
887
|
+
this.i.si = stringToBrush(v);
|
|
888
|
+
this._a("disabledBackgroundColor", brushToString(this.i.si));
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
891
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
892
892
|
*/
|
|
893
893
|
get disabledBorderColor() {
|
|
894
|
-
return brushToString(this.i.
|
|
894
|
+
return brushToString(this.i.sj);
|
|
895
895
|
}
|
|
896
896
|
set disabledBorderColor(v) {
|
|
897
|
-
this.i.
|
|
898
|
-
this._a("disabledBorderColor", brushToString(this.i.
|
|
897
|
+
this.i.sj = stringToBrush(v);
|
|
898
|
+
this._a("disabledBorderColor", brushToString(this.i.sj));
|
|
899
899
|
}
|
|
900
900
|
/**
|
|
901
901
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
902
902
|
*/
|
|
903
903
|
get disabledTextColor() {
|
|
904
|
-
return brushToString(this.i.
|
|
904
|
+
return brushToString(this.i.sk);
|
|
905
905
|
}
|
|
906
906
|
set disabledTextColor(v) {
|
|
907
|
-
this.i.
|
|
908
|
-
this._a("disabledTextColor", brushToString(this.i.
|
|
907
|
+
this.i.sk = stringToBrush(v);
|
|
908
|
+
this._a("disabledTextColor", brushToString(this.i.sk));
|
|
909
909
|
}
|
|
910
910
|
/**
|
|
911
911
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
@@ -931,21 +931,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
931
931
|
* Gets or sets the hover color to use for the background of the button when the type is hovered.
|
|
932
932
|
*/
|
|
933
933
|
get hoverBackgroundColor() {
|
|
934
|
-
return brushToString(this.i.
|
|
934
|
+
return brushToString(this.i.s9);
|
|
935
935
|
}
|
|
936
936
|
set hoverBackgroundColor(v) {
|
|
937
|
-
this.i.
|
|
938
|
-
this._a("hoverBackgroundColor", brushToString(this.i.
|
|
937
|
+
this.i.s9 = stringToBrush(v);
|
|
938
|
+
this._a("hoverBackgroundColor", brushToString(this.i.s9));
|
|
939
939
|
}
|
|
940
940
|
/**
|
|
941
941
|
* Gets or sets the border color to use for the button regardless of type.
|
|
942
942
|
*/
|
|
943
943
|
get borderColor() {
|
|
944
|
-
return brushToString(this.i.
|
|
944
|
+
return brushToString(this.i.nn);
|
|
945
945
|
}
|
|
946
946
|
set borderColor(v) {
|
|
947
|
-
this.i.
|
|
948
|
-
this._a("borderColor", brushToString(this.i.
|
|
947
|
+
this.i.nn = stringToBrush(v);
|
|
948
|
+
this._a("borderColor", brushToString(this.i.nn));
|
|
949
949
|
}
|
|
950
950
|
/**
|
|
951
951
|
* Gets or sets the elevation to use for the button regardless of type.
|
|
@@ -996,91 +996,91 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
996
996
|
* Gets or sets the color to use for the text of the button regardless of type.
|
|
997
997
|
*/
|
|
998
998
|
get textColor() {
|
|
999
|
-
return brushToString(this.i.
|
|
999
|
+
return brushToString(this.i.t9);
|
|
1000
1000
|
}
|
|
1001
1001
|
set textColor(v) {
|
|
1002
|
-
this.i.
|
|
1003
|
-
this._a("textColor", brushToString(this.i.
|
|
1002
|
+
this.i.t9 = stringToBrush(v);
|
|
1003
|
+
this._a("textColor", brushToString(this.i.t9));
|
|
1004
1004
|
}
|
|
1005
1005
|
/**
|
|
1006
1006
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
1007
1007
|
*/
|
|
1008
1008
|
get hoverTextColor() {
|
|
1009
|
-
return brushToString(this.i.
|
|
1009
|
+
return brushToString(this.i.ta);
|
|
1010
1010
|
}
|
|
1011
1011
|
set hoverTextColor(v) {
|
|
1012
|
-
this.i.
|
|
1013
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
1012
|
+
this.i.ta = stringToBrush(v);
|
|
1013
|
+
this._a("hoverTextColor", brushToString(this.i.ta));
|
|
1014
1014
|
}
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Gets or sets the color to use for the background of the button regardless of type.
|
|
1017
1017
|
*/
|
|
1018
1018
|
get rippleColor() {
|
|
1019
|
-
return brushToString(this.i.
|
|
1019
|
+
return brushToString(this.i.t8);
|
|
1020
1020
|
}
|
|
1021
1021
|
set rippleColor(v) {
|
|
1022
|
-
this.i.
|
|
1023
|
-
this._a("rippleColor", brushToString(this.i.
|
|
1022
|
+
this.i.t8 = stringToBrush(v);
|
|
1023
|
+
this._a("rippleColor", brushToString(this.i.t8));
|
|
1024
1024
|
}
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Gets or sets the color to use for the text of the button when type is raised.
|
|
1027
1027
|
*/
|
|
1028
1028
|
get raisedTextColor() {
|
|
1029
|
-
return brushToString(this.i.
|
|
1029
|
+
return brushToString(this.i.t7);
|
|
1030
1030
|
}
|
|
1031
1031
|
set raisedTextColor(v) {
|
|
1032
|
-
this.i.
|
|
1033
|
-
this._a("raisedTextColor", brushToString(this.i.
|
|
1032
|
+
this.i.t7 = stringToBrush(v);
|
|
1033
|
+
this._a("raisedTextColor", brushToString(this.i.t7));
|
|
1034
1034
|
}
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Gets or sets the color to use for the hovered text of the button when type is raised.
|
|
1037
1037
|
*/
|
|
1038
1038
|
get raisedHoverTextColor() {
|
|
1039
|
-
return brushToString(this.i.
|
|
1039
|
+
return brushToString(this.i.t5);
|
|
1040
1040
|
}
|
|
1041
1041
|
set raisedHoverTextColor(v) {
|
|
1042
|
-
this.i.
|
|
1043
|
-
this._a("raisedHoverTextColor", brushToString(this.i.
|
|
1042
|
+
this.i.t5 = stringToBrush(v);
|
|
1043
|
+
this._a("raisedHoverTextColor", brushToString(this.i.t5));
|
|
1044
1044
|
}
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Gets or sets the color to use for the backround the button when it is focused and raised.
|
|
1047
1047
|
*/
|
|
1048
1048
|
get raisedFocusBackgroundColor() {
|
|
1049
|
-
return brushToString(this.i.
|
|
1049
|
+
return brushToString(this.i.t2);
|
|
1050
1050
|
}
|
|
1051
1051
|
set raisedFocusBackgroundColor(v) {
|
|
1052
|
-
this.i.
|
|
1053
|
-
this._a("raisedFocusBackgroundColor", brushToString(this.i.
|
|
1052
|
+
this.i.t2 = stringToBrush(v);
|
|
1053
|
+
this._a("raisedFocusBackgroundColor", brushToString(this.i.t2));
|
|
1054
1054
|
}
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Gets or sets the color to use for the text the button when it is focused and raised.
|
|
1057
1057
|
*/
|
|
1058
1058
|
get raisedFocusTextColor() {
|
|
1059
|
-
return brushToString(this.i.
|
|
1059
|
+
return brushToString(this.i.t3);
|
|
1060
1060
|
}
|
|
1061
1061
|
set raisedFocusTextColor(v) {
|
|
1062
|
-
this.i.
|
|
1063
|
-
this._a("raisedFocusTextColor", brushToString(this.i.
|
|
1062
|
+
this.i.t3 = stringToBrush(v);
|
|
1063
|
+
this._a("raisedFocusTextColor", brushToString(this.i.t3));
|
|
1064
1064
|
}
|
|
1065
1065
|
/**
|
|
1066
1066
|
* Gets or sets the color to use for the backround the button when it is focused.
|
|
1067
1067
|
*/
|
|
1068
1068
|
get focusBackgroundColor() {
|
|
1069
|
-
return brushToString(this.i.
|
|
1069
|
+
return brushToString(this.i.s7);
|
|
1070
1070
|
}
|
|
1071
1071
|
set focusBackgroundColor(v) {
|
|
1072
|
-
this.i.
|
|
1073
|
-
this._a("focusBackgroundColor", brushToString(this.i.
|
|
1072
|
+
this.i.s7 = stringToBrush(v);
|
|
1073
|
+
this._a("focusBackgroundColor", brushToString(this.i.s7));
|
|
1074
1074
|
}
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Gets or sets the color to use for the text of the button when it is focused.
|
|
1077
1077
|
*/
|
|
1078
1078
|
get focusTextColor() {
|
|
1079
|
-
return brushToString(this.i.
|
|
1079
|
+
return brushToString(this.i.s8);
|
|
1080
1080
|
}
|
|
1081
1081
|
set focusTextColor(v) {
|
|
1082
|
-
this.i.
|
|
1083
|
-
this._a("focusTextColor", brushToString(this.i.
|
|
1082
|
+
this.i.s8 = stringToBrush(v);
|
|
1083
|
+
this._a("focusTextColor", brushToString(this.i.s8));
|
|
1084
1084
|
}
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Gets or sets the width to use for the button border regardless of type.
|
|
@@ -1093,86 +1093,86 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1093
1093
|
this._a("borderWidth", this.i.ax);
|
|
1094
1094
|
}
|
|
1095
1095
|
get cornerRadiusBottomRight() {
|
|
1096
|
-
return this.i.
|
|
1096
|
+
return this.i.kf ? this.i.kf.b : NaN;
|
|
1097
1097
|
}
|
|
1098
1098
|
set cornerRadiusBottomRight(v) {
|
|
1099
1099
|
this.ensureCornerRadius();
|
|
1100
|
-
this.i.
|
|
1101
|
-
this._a("cornerRadiusBottomRight", this.i.
|
|
1102
|
-
this.i.
|
|
1100
|
+
this.i.kf.b = +v;
|
|
1101
|
+
this._a("cornerRadiusBottomRight", this.i.kf.b);
|
|
1102
|
+
this.i.kf = this.i.kf;
|
|
1103
1103
|
}
|
|
1104
1104
|
get cornerRadiusBottomLeft() {
|
|
1105
|
-
return this.i.
|
|
1105
|
+
return this.i.kf ? this.i.kf.a : NaN;
|
|
1106
1106
|
}
|
|
1107
1107
|
set cornerRadiusBottomLeft(v) {
|
|
1108
1108
|
this.ensureCornerRadius();
|
|
1109
|
-
this.i.
|
|
1110
|
-
this._a("cornerRadiusBottomLeft", this.i.
|
|
1111
|
-
this.i.
|
|
1109
|
+
this.i.kf.a = +v;
|
|
1110
|
+
this._a("cornerRadiusBottomLeft", this.i.kf.a);
|
|
1111
|
+
this.i.kf = this.i.kf;
|
|
1112
1112
|
}
|
|
1113
1113
|
get cornerRadiusTopLeft() {
|
|
1114
|
-
return this.i.
|
|
1114
|
+
return this.i.kf ? this.i.kf.c : NaN;
|
|
1115
1115
|
}
|
|
1116
1116
|
set cornerRadiusTopLeft(v) {
|
|
1117
1117
|
this.ensureCornerRadius();
|
|
1118
|
-
this.i.
|
|
1119
|
-
this._a("cornerRadiusTopLeft", this.i.
|
|
1120
|
-
this.i.
|
|
1118
|
+
this.i.kf.c = +v;
|
|
1119
|
+
this._a("cornerRadiusTopLeft", this.i.kf.c);
|
|
1120
|
+
this.i.kf = this.i.kf;
|
|
1121
1121
|
}
|
|
1122
1122
|
get cornerRadiusTopRight() {
|
|
1123
|
-
return this.i.
|
|
1123
|
+
return this.i.kf ? this.i.kf.d : NaN;
|
|
1124
1124
|
}
|
|
1125
1125
|
set cornerRadiusTopRight(v) {
|
|
1126
1126
|
this.ensureCornerRadius();
|
|
1127
|
-
this.i.
|
|
1128
|
-
this._a("cornerRadiusTopRight", this.i.
|
|
1129
|
-
this.i.
|
|
1127
|
+
this.i.kf.d = +v;
|
|
1128
|
+
this._a("cornerRadiusTopRight", this.i.kf.d);
|
|
1129
|
+
this.i.kf = this.i.kf;
|
|
1130
1130
|
}
|
|
1131
1131
|
ensureCornerRadius() {
|
|
1132
|
-
if (this.i.
|
|
1132
|
+
if (this.i.kf) {
|
|
1133
1133
|
return;
|
|
1134
1134
|
}
|
|
1135
|
-
this.i.
|
|
1135
|
+
this.i.kf = new CornerRadius(2);
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Gets or sets the color to use for the background of the button when the type is outlined.
|
|
1139
1139
|
*/
|
|
1140
1140
|
get outlinedBackgroundColor() {
|
|
1141
|
-
return brushToString(this.i.
|
|
1141
|
+
return brushToString(this.i.tm);
|
|
1142
1142
|
}
|
|
1143
1143
|
set outlinedBackgroundColor(v) {
|
|
1144
|
-
this.i.
|
|
1145
|
-
this._a("outlinedBackgroundColor", brushToString(this.i.
|
|
1144
|
+
this.i.tm = stringToBrush(v);
|
|
1145
|
+
this._a("outlinedBackgroundColor", brushToString(this.i.tm));
|
|
1146
1146
|
}
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Gets or sets the color to use for the disabled background of the button when the type is outlined.
|
|
1149
1149
|
*/
|
|
1150
1150
|
get outlinedDisabledBackgroundColor() {
|
|
1151
|
-
return brushToString(this.i.
|
|
1151
|
+
return brushToString(this.i.to);
|
|
1152
1152
|
}
|
|
1153
1153
|
set outlinedDisabledBackgroundColor(v) {
|
|
1154
|
-
this.i.
|
|
1155
|
-
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.
|
|
1154
|
+
this.i.to = stringToBrush(v);
|
|
1155
|
+
this._a("outlinedDisabledBackgroundColor", brushToString(this.i.to));
|
|
1156
1156
|
}
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Gets or sets the color to use for the disabled border of the button when the type is outlined.
|
|
1159
1159
|
*/
|
|
1160
1160
|
get outlinedDisabledBorderColor() {
|
|
1161
|
-
return brushToString(this.i.
|
|
1161
|
+
return brushToString(this.i.tp);
|
|
1162
1162
|
}
|
|
1163
1163
|
set outlinedDisabledBorderColor(v) {
|
|
1164
|
-
this.i.
|
|
1165
|
-
this._a("outlinedDisabledBorderColor", brushToString(this.i.
|
|
1164
|
+
this.i.tp = stringToBrush(v);
|
|
1165
|
+
this._a("outlinedDisabledBorderColor", brushToString(this.i.tp));
|
|
1166
1166
|
}
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Gets or sets the color to use for the disabled text of the button when the type is outlined.
|
|
1169
1169
|
*/
|
|
1170
1170
|
get outlinedDisabledTextColor() {
|
|
1171
|
-
return brushToString(this.i.
|
|
1171
|
+
return brushToString(this.i.tq);
|
|
1172
1172
|
}
|
|
1173
1173
|
set outlinedDisabledTextColor(v) {
|
|
1174
|
-
this.i.
|
|
1175
|
-
this._a("outlinedDisabledTextColor", brushToString(this.i.
|
|
1174
|
+
this.i.tq = stringToBrush(v);
|
|
1175
|
+
this._a("outlinedDisabledTextColor", brushToString(this.i.tq));
|
|
1176
1176
|
}
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Gets or sets the disabled elevation to use for the button when the type is outlined.
|
|
@@ -1188,21 +1188,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1188
1188
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
|
|
1189
1189
|
*/
|
|
1190
1190
|
get outlinedHoverBackgroundColor() {
|
|
1191
|
-
return brushToString(this.i.
|
|
1191
|
+
return brushToString(this.i.tt);
|
|
1192
1192
|
}
|
|
1193
1193
|
set outlinedHoverBackgroundColor(v) {
|
|
1194
|
-
this.i.
|
|
1195
|
-
this._a("outlinedHoverBackgroundColor", brushToString(this.i.
|
|
1194
|
+
this.i.tt = stringToBrush(v);
|
|
1195
|
+
this._a("outlinedHoverBackgroundColor", brushToString(this.i.tt));
|
|
1196
1196
|
}
|
|
1197
1197
|
/**
|
|
1198
1198
|
* Gets or sets the border color to use for the button when the type is outlined.
|
|
1199
1199
|
*/
|
|
1200
1200
|
get outlinedBorderColor() {
|
|
1201
|
-
return brushToString(this.i.
|
|
1201
|
+
return brushToString(this.i.tn);
|
|
1202
1202
|
}
|
|
1203
1203
|
set outlinedBorderColor(v) {
|
|
1204
|
-
this.i.
|
|
1205
|
-
this._a("outlinedBorderColor", brushToString(this.i.
|
|
1204
|
+
this.i.tn = stringToBrush(v);
|
|
1205
|
+
this._a("outlinedBorderColor", brushToString(this.i.tn));
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Gets or sets the elevation to use for the button when the type is outlined.
|
|
@@ -1245,136 +1245,136 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1245
1245
|
this._a("outlinedBorderWidth", this.i.bi);
|
|
1246
1246
|
}
|
|
1247
1247
|
get outlinedCornerRadiusBottomRight() {
|
|
1248
|
-
return this.i.
|
|
1248
|
+
return this.i.ky ? this.i.ky.b : NaN;
|
|
1249
1249
|
}
|
|
1250
1250
|
set outlinedCornerRadiusBottomRight(v) {
|
|
1251
1251
|
this.ensureOutlinedCornerRadius();
|
|
1252
|
-
this.i.
|
|
1253
|
-
this._a("outlinedCornerRadiusBottomRight", this.i.
|
|
1254
|
-
this.i.
|
|
1252
|
+
this.i.ky.b = +v;
|
|
1253
|
+
this._a("outlinedCornerRadiusBottomRight", this.i.ky.b);
|
|
1254
|
+
this.i.ky = this.i.ky;
|
|
1255
1255
|
}
|
|
1256
1256
|
get outlinedCornerRadiusBottomLeft() {
|
|
1257
|
-
return this.i.
|
|
1257
|
+
return this.i.ky ? this.i.ky.a : NaN;
|
|
1258
1258
|
}
|
|
1259
1259
|
set outlinedCornerRadiusBottomLeft(v) {
|
|
1260
1260
|
this.ensureOutlinedCornerRadius();
|
|
1261
|
-
this.i.
|
|
1262
|
-
this._a("outlinedCornerRadiusBottomLeft", this.i.
|
|
1263
|
-
this.i.
|
|
1261
|
+
this.i.ky.a = +v;
|
|
1262
|
+
this._a("outlinedCornerRadiusBottomLeft", this.i.ky.a);
|
|
1263
|
+
this.i.ky = this.i.ky;
|
|
1264
1264
|
}
|
|
1265
1265
|
get outlinedCornerRadiusTopLeft() {
|
|
1266
|
-
return this.i.
|
|
1266
|
+
return this.i.ky ? this.i.ky.c : NaN;
|
|
1267
1267
|
}
|
|
1268
1268
|
set outlinedCornerRadiusTopLeft(v) {
|
|
1269
1269
|
this.ensureOutlinedCornerRadius();
|
|
1270
|
-
this.i.
|
|
1271
|
-
this._a("outlinedCornerRadiusTopLeft", this.i.
|
|
1272
|
-
this.i.
|
|
1270
|
+
this.i.ky.c = +v;
|
|
1271
|
+
this._a("outlinedCornerRadiusTopLeft", this.i.ky.c);
|
|
1272
|
+
this.i.ky = this.i.ky;
|
|
1273
1273
|
}
|
|
1274
1274
|
get outlinedCornerRadiusTopRight() {
|
|
1275
|
-
return this.i.
|
|
1275
|
+
return this.i.ky ? this.i.ky.d : NaN;
|
|
1276
1276
|
}
|
|
1277
1277
|
set outlinedCornerRadiusTopRight(v) {
|
|
1278
1278
|
this.ensureOutlinedCornerRadius();
|
|
1279
|
-
this.i.
|
|
1280
|
-
this._a("outlinedCornerRadiusTopRight", this.i.
|
|
1281
|
-
this.i.
|
|
1279
|
+
this.i.ky.d = +v;
|
|
1280
|
+
this._a("outlinedCornerRadiusTopRight", this.i.ky.d);
|
|
1281
|
+
this.i.ky = this.i.ky;
|
|
1282
1282
|
}
|
|
1283
1283
|
ensureOutlinedCornerRadius() {
|
|
1284
|
-
if (this.i.
|
|
1284
|
+
if (this.i.ky) {
|
|
1285
1285
|
return;
|
|
1286
1286
|
}
|
|
1287
|
-
this.i.
|
|
1287
|
+
this.i.ky = new CornerRadius(2);
|
|
1288
1288
|
}
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1291
1291
|
*/
|
|
1292
1292
|
get outlinedRippleColor() {
|
|
1293
|
-
return brushToString(this.i.
|
|
1293
|
+
return brushToString(this.i.tv);
|
|
1294
1294
|
}
|
|
1295
1295
|
set outlinedRippleColor(v) {
|
|
1296
|
-
this.i.
|
|
1297
|
-
this._a("outlinedRippleColor", brushToString(this.i.
|
|
1296
|
+
this.i.tv = stringToBrush(v);
|
|
1297
|
+
this._a("outlinedRippleColor", brushToString(this.i.tv));
|
|
1298
1298
|
}
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Gets or sets the color to use for the text of the button when type is outlined.
|
|
1301
1301
|
*/
|
|
1302
1302
|
get outlinedTextColor() {
|
|
1303
|
-
return brushToString(this.i.
|
|
1303
|
+
return brushToString(this.i.tw);
|
|
1304
1304
|
}
|
|
1305
1305
|
set outlinedTextColor(v) {
|
|
1306
|
-
this.i.
|
|
1307
|
-
this._a("outlinedTextColor", brushToString(this.i.
|
|
1306
|
+
this.i.tw = stringToBrush(v);
|
|
1307
|
+
this._a("outlinedTextColor", brushToString(this.i.tw));
|
|
1308
1308
|
}
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Gets or sets the color to use for the hovered text of the button when type is outlined.
|
|
1311
1311
|
*/
|
|
1312
1312
|
get outlinedHoverTextColor() {
|
|
1313
|
-
return brushToString(this.i.
|
|
1313
|
+
return brushToString(this.i.tu);
|
|
1314
1314
|
}
|
|
1315
1315
|
set outlinedHoverTextColor(v) {
|
|
1316
|
-
this.i.
|
|
1317
|
-
this._a("outlinedHoverTextColor", brushToString(this.i.
|
|
1316
|
+
this.i.tu = stringToBrush(v);
|
|
1317
|
+
this._a("outlinedHoverTextColor", brushToString(this.i.tu));
|
|
1318
1318
|
}
|
|
1319
1319
|
/**
|
|
1320
1320
|
* Gets or sets the color to use for the backround the button when it is focused and outlined.
|
|
1321
1321
|
*/
|
|
1322
1322
|
get outlinedFocusBackgroundColor() {
|
|
1323
|
-
return brushToString(this.i.
|
|
1323
|
+
return brushToString(this.i.tr);
|
|
1324
1324
|
}
|
|
1325
1325
|
set outlinedFocusBackgroundColor(v) {
|
|
1326
|
-
this.i.
|
|
1327
|
-
this._a("outlinedFocusBackgroundColor", brushToString(this.i.
|
|
1326
|
+
this.i.tr = stringToBrush(v);
|
|
1327
|
+
this._a("outlinedFocusBackgroundColor", brushToString(this.i.tr));
|
|
1328
1328
|
}
|
|
1329
1329
|
/**
|
|
1330
1330
|
* Gets or sets the color to use for the text the button when it is focused and outlined.
|
|
1331
1331
|
*/
|
|
1332
1332
|
get outlinedFocusTextColor() {
|
|
1333
|
-
return brushToString(this.i.
|
|
1333
|
+
return brushToString(this.i.ts);
|
|
1334
1334
|
}
|
|
1335
1335
|
set outlinedFocusTextColor(v) {
|
|
1336
|
-
this.i.
|
|
1337
|
-
this._a("outlinedFocusTextColor", brushToString(this.i.
|
|
1336
|
+
this.i.ts = stringToBrush(v);
|
|
1337
|
+
this._a("outlinedFocusTextColor", brushToString(this.i.ts));
|
|
1338
1338
|
}
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Gets or sets the color to use for the background of the button when the type is floating action button.
|
|
1341
1341
|
*/
|
|
1342
1342
|
get fabBackgroundColor() {
|
|
1343
|
-
return brushToString(this.i.
|
|
1343
|
+
return brushToString(this.i.sl);
|
|
1344
1344
|
}
|
|
1345
1345
|
set fabBackgroundColor(v) {
|
|
1346
|
-
this.i.
|
|
1347
|
-
this._a("fabBackgroundColor", brushToString(this.i.
|
|
1346
|
+
this.i.sl = stringToBrush(v);
|
|
1347
|
+
this._a("fabBackgroundColor", brushToString(this.i.sl));
|
|
1348
1348
|
}
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Gets or sets the color to use for the disabled background of the button when the type is fab.
|
|
1351
1351
|
*/
|
|
1352
1352
|
get fabDisabledBackgroundColor() {
|
|
1353
|
-
return brushToString(this.i.
|
|
1353
|
+
return brushToString(this.i.sn);
|
|
1354
1354
|
}
|
|
1355
1355
|
set fabDisabledBackgroundColor(v) {
|
|
1356
|
-
this.i.
|
|
1357
|
-
this._a("fabDisabledBackgroundColor", brushToString(this.i.
|
|
1356
|
+
this.i.sn = stringToBrush(v);
|
|
1357
|
+
this._a("fabDisabledBackgroundColor", brushToString(this.i.sn));
|
|
1358
1358
|
}
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Gets or sets the color to use for the disabled border of the button when the type is fab.
|
|
1361
1361
|
*/
|
|
1362
1362
|
get fabDisabledBorderColor() {
|
|
1363
|
-
return brushToString(this.i.
|
|
1363
|
+
return brushToString(this.i.so);
|
|
1364
1364
|
}
|
|
1365
1365
|
set fabDisabledBorderColor(v) {
|
|
1366
|
-
this.i.
|
|
1367
|
-
this._a("fabDisabledBorderColor", brushToString(this.i.
|
|
1366
|
+
this.i.so = stringToBrush(v);
|
|
1367
|
+
this._a("fabDisabledBorderColor", brushToString(this.i.so));
|
|
1368
1368
|
}
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Gets or sets the color to use for the disabled text of the button when the type is fab.
|
|
1371
1371
|
*/
|
|
1372
1372
|
get fabDisabledTextColor() {
|
|
1373
|
-
return brushToString(this.i.
|
|
1373
|
+
return brushToString(this.i.sp);
|
|
1374
1374
|
}
|
|
1375
1375
|
set fabDisabledTextColor(v) {
|
|
1376
|
-
this.i.
|
|
1377
|
-
this._a("fabDisabledTextColor", brushToString(this.i.
|
|
1376
|
+
this.i.sp = stringToBrush(v);
|
|
1377
|
+
this._a("fabDisabledTextColor", brushToString(this.i.sp));
|
|
1378
1378
|
}
|
|
1379
1379
|
/**
|
|
1380
1380
|
* Gets or sets the disabled elevation to use for the button when the type is fab.
|
|
@@ -1390,21 +1390,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1390
1390
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
|
|
1391
1391
|
*/
|
|
1392
1392
|
get fabHoverBackgroundColor() {
|
|
1393
|
-
return brushToString(this.i.
|
|
1393
|
+
return brushToString(this.i.ss);
|
|
1394
1394
|
}
|
|
1395
1395
|
set fabHoverBackgroundColor(v) {
|
|
1396
|
-
this.i.
|
|
1397
|
-
this._a("fabHoverBackgroundColor", brushToString(this.i.
|
|
1396
|
+
this.i.ss = stringToBrush(v);
|
|
1397
|
+
this._a("fabHoverBackgroundColor", brushToString(this.i.ss));
|
|
1398
1398
|
}
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Gets or sets the border color to use for the button when the type is floating action button.
|
|
1401
1401
|
*/
|
|
1402
1402
|
get fabBorderColor() {
|
|
1403
|
-
return brushToString(this.i.
|
|
1403
|
+
return brushToString(this.i.sm);
|
|
1404
1404
|
}
|
|
1405
1405
|
set fabBorderColor(v) {
|
|
1406
|
-
this.i.
|
|
1407
|
-
this._a("fabBorderColor", brushToString(this.i.
|
|
1406
|
+
this.i.sm = stringToBrush(v);
|
|
1407
|
+
this._a("fabBorderColor", brushToString(this.i.sm));
|
|
1408
1408
|
}
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Gets or sets the elevation to use for the button when the type is floating action button.
|
|
@@ -1447,136 +1447,136 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1447
1447
|
this._a("fabBorderWidth", this.i.bd);
|
|
1448
1448
|
}
|
|
1449
1449
|
get fabCornerRadiusBottomRight() {
|
|
1450
|
-
return this.i.
|
|
1450
|
+
return this.i.kv ? this.i.kv.b : NaN;
|
|
1451
1451
|
}
|
|
1452
1452
|
set fabCornerRadiusBottomRight(v) {
|
|
1453
1453
|
this.ensureFabCornerRadius();
|
|
1454
|
-
this.i.
|
|
1455
|
-
this._a("fabCornerRadiusBottomRight", this.i.
|
|
1456
|
-
this.i.
|
|
1454
|
+
this.i.kv.b = +v;
|
|
1455
|
+
this._a("fabCornerRadiusBottomRight", this.i.kv.b);
|
|
1456
|
+
this.i.kv = this.i.kv;
|
|
1457
1457
|
}
|
|
1458
1458
|
get fabCornerRadiusBottomLeft() {
|
|
1459
|
-
return this.i.
|
|
1459
|
+
return this.i.kv ? this.i.kv.a : NaN;
|
|
1460
1460
|
}
|
|
1461
1461
|
set fabCornerRadiusBottomLeft(v) {
|
|
1462
1462
|
this.ensureFabCornerRadius();
|
|
1463
|
-
this.i.
|
|
1464
|
-
this._a("fabCornerRadiusBottomLeft", this.i.
|
|
1465
|
-
this.i.
|
|
1463
|
+
this.i.kv.a = +v;
|
|
1464
|
+
this._a("fabCornerRadiusBottomLeft", this.i.kv.a);
|
|
1465
|
+
this.i.kv = this.i.kv;
|
|
1466
1466
|
}
|
|
1467
1467
|
get fabCornerRadiusTopLeft() {
|
|
1468
|
-
return this.i.
|
|
1468
|
+
return this.i.kv ? this.i.kv.c : NaN;
|
|
1469
1469
|
}
|
|
1470
1470
|
set fabCornerRadiusTopLeft(v) {
|
|
1471
1471
|
this.ensureFabCornerRadius();
|
|
1472
|
-
this.i.
|
|
1473
|
-
this._a("fabCornerRadiusTopLeft", this.i.
|
|
1474
|
-
this.i.
|
|
1472
|
+
this.i.kv.c = +v;
|
|
1473
|
+
this._a("fabCornerRadiusTopLeft", this.i.kv.c);
|
|
1474
|
+
this.i.kv = this.i.kv;
|
|
1475
1475
|
}
|
|
1476
1476
|
get fabCornerRadiusTopRight() {
|
|
1477
|
-
return this.i.
|
|
1477
|
+
return this.i.kv ? this.i.kv.d : NaN;
|
|
1478
1478
|
}
|
|
1479
1479
|
set fabCornerRadiusTopRight(v) {
|
|
1480
1480
|
this.ensureFabCornerRadius();
|
|
1481
|
-
this.i.
|
|
1482
|
-
this._a("fabCornerRadiusTopRight", this.i.
|
|
1483
|
-
this.i.
|
|
1481
|
+
this.i.kv.d = +v;
|
|
1482
|
+
this._a("fabCornerRadiusTopRight", this.i.kv.d);
|
|
1483
|
+
this.i.kv = this.i.kv;
|
|
1484
1484
|
}
|
|
1485
1485
|
ensureFabCornerRadius() {
|
|
1486
|
-
if (this.i.
|
|
1486
|
+
if (this.i.kv) {
|
|
1487
1487
|
return;
|
|
1488
1488
|
}
|
|
1489
|
-
this.i.
|
|
1489
|
+
this.i.kv = new CornerRadius(2);
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1493
1493
|
*/
|
|
1494
1494
|
get fabRippleColor() {
|
|
1495
|
-
return brushToString(this.i.
|
|
1495
|
+
return brushToString(this.i.su);
|
|
1496
1496
|
}
|
|
1497
1497
|
set fabRippleColor(v) {
|
|
1498
|
-
this.i.
|
|
1499
|
-
this._a("fabRippleColor", brushToString(this.i.
|
|
1498
|
+
this.i.su = stringToBrush(v);
|
|
1499
|
+
this._a("fabRippleColor", brushToString(this.i.su));
|
|
1500
1500
|
}
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Gets or sets the color to use for the text of the button when type is floating action button.
|
|
1503
1503
|
*/
|
|
1504
1504
|
get fabTextColor() {
|
|
1505
|
-
return brushToString(this.i.
|
|
1505
|
+
return brushToString(this.i.sv);
|
|
1506
1506
|
}
|
|
1507
1507
|
set fabTextColor(v) {
|
|
1508
|
-
this.i.
|
|
1509
|
-
this._a("fabTextColor", brushToString(this.i.
|
|
1508
|
+
this.i.sv = stringToBrush(v);
|
|
1509
|
+
this._a("fabTextColor", brushToString(this.i.sv));
|
|
1510
1510
|
}
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Gets or sets the color to use for the hovered text of the button when type is floating action button.
|
|
1513
1513
|
*/
|
|
1514
1514
|
get fabHoverTextColor() {
|
|
1515
|
-
return brushToString(this.i.
|
|
1515
|
+
return brushToString(this.i.st);
|
|
1516
1516
|
}
|
|
1517
1517
|
set fabHoverTextColor(v) {
|
|
1518
|
-
this.i.
|
|
1519
|
-
this._a("fabHoverTextColor", brushToString(this.i.
|
|
1518
|
+
this.i.st = stringToBrush(v);
|
|
1519
|
+
this._a("fabHoverTextColor", brushToString(this.i.st));
|
|
1520
1520
|
}
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Gets or sets the color to use for the backround the button when it is focused and fab.
|
|
1523
1523
|
*/
|
|
1524
1524
|
get fabFocusBackgroundColor() {
|
|
1525
|
-
return brushToString(this.i.
|
|
1525
|
+
return brushToString(this.i.sq);
|
|
1526
1526
|
}
|
|
1527
1527
|
set fabFocusBackgroundColor(v) {
|
|
1528
|
-
this.i.
|
|
1529
|
-
this._a("fabFocusBackgroundColor", brushToString(this.i.
|
|
1528
|
+
this.i.sq = stringToBrush(v);
|
|
1529
|
+
this._a("fabFocusBackgroundColor", brushToString(this.i.sq));
|
|
1530
1530
|
}
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Gets or sets the color to use for the text the button when it is focused and fab.
|
|
1533
1533
|
*/
|
|
1534
1534
|
get fabFocusTextColor() {
|
|
1535
|
-
return brushToString(this.i.
|
|
1535
|
+
return brushToString(this.i.sr);
|
|
1536
1536
|
}
|
|
1537
1537
|
set fabFocusTextColor(v) {
|
|
1538
|
-
this.i.
|
|
1539
|
-
this._a("fabFocusTextColor", brushToString(this.i.
|
|
1538
|
+
this.i.sr = stringToBrush(v);
|
|
1539
|
+
this._a("fabFocusTextColor", brushToString(this.i.sr));
|
|
1540
1540
|
}
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Gets or sets the color to use for the background of the button when the type is icon.
|
|
1543
1543
|
*/
|
|
1544
1544
|
get iconBackgroundColor() {
|
|
1545
|
-
return brushToString(this.i.
|
|
1545
|
+
return brushToString(this.i.tb);
|
|
1546
1546
|
}
|
|
1547
1547
|
set iconBackgroundColor(v) {
|
|
1548
|
-
this.i.
|
|
1549
|
-
this._a("iconBackgroundColor", brushToString(this.i.
|
|
1548
|
+
this.i.tb = stringToBrush(v);
|
|
1549
|
+
this._a("iconBackgroundColor", brushToString(this.i.tb));
|
|
1550
1550
|
}
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Gets or sets the color to use for the disabled background of the button when the type is icon.
|
|
1553
1553
|
*/
|
|
1554
1554
|
get iconDisabledBackgroundColor() {
|
|
1555
|
-
return brushToString(this.i.
|
|
1555
|
+
return brushToString(this.i.td);
|
|
1556
1556
|
}
|
|
1557
1557
|
set iconDisabledBackgroundColor(v) {
|
|
1558
|
-
this.i.
|
|
1559
|
-
this._a("iconDisabledBackgroundColor", brushToString(this.i.
|
|
1558
|
+
this.i.td = stringToBrush(v);
|
|
1559
|
+
this._a("iconDisabledBackgroundColor", brushToString(this.i.td));
|
|
1560
1560
|
}
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Gets or sets the color to use for the disabled border of the button when the type is icon.
|
|
1563
1563
|
*/
|
|
1564
1564
|
get iconDisabledBorderColor() {
|
|
1565
|
-
return brushToString(this.i.
|
|
1565
|
+
return brushToString(this.i.te);
|
|
1566
1566
|
}
|
|
1567
1567
|
set iconDisabledBorderColor(v) {
|
|
1568
|
-
this.i.
|
|
1569
|
-
this._a("iconDisabledBorderColor", brushToString(this.i.
|
|
1568
|
+
this.i.te = stringToBrush(v);
|
|
1569
|
+
this._a("iconDisabledBorderColor", brushToString(this.i.te));
|
|
1570
1570
|
}
|
|
1571
1571
|
/**
|
|
1572
1572
|
* Gets or sets the color to use for the disabled text of the button when the type is icon.
|
|
1573
1573
|
*/
|
|
1574
1574
|
get iconDisabledTextColor() {
|
|
1575
|
-
return brushToString(this.i.
|
|
1575
|
+
return brushToString(this.i.tf);
|
|
1576
1576
|
}
|
|
1577
1577
|
set iconDisabledTextColor(v) {
|
|
1578
|
-
this.i.
|
|
1579
|
-
this._a("iconDisabledTextColor", brushToString(this.i.
|
|
1578
|
+
this.i.tf = stringToBrush(v);
|
|
1579
|
+
this._a("iconDisabledTextColor", brushToString(this.i.tf));
|
|
1580
1580
|
}
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Gets or sets the disabled elevation to use for the button when the type is icon.
|
|
@@ -1592,21 +1592,21 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1592
1592
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
|
|
1593
1593
|
*/
|
|
1594
1594
|
get iconHoverBackgroundColor() {
|
|
1595
|
-
return brushToString(this.i.
|
|
1595
|
+
return brushToString(this.i.ti);
|
|
1596
1596
|
}
|
|
1597
1597
|
set iconHoverBackgroundColor(v) {
|
|
1598
|
-
this.i.
|
|
1599
|
-
this._a("iconHoverBackgroundColor", brushToString(this.i.
|
|
1598
|
+
this.i.ti = stringToBrush(v);
|
|
1599
|
+
this._a("iconHoverBackgroundColor", brushToString(this.i.ti));
|
|
1600
1600
|
}
|
|
1601
1601
|
/**
|
|
1602
1602
|
* Gets or sets the border color to use for the button when the type is icon.
|
|
1603
1603
|
*/
|
|
1604
1604
|
get iconBorderColor() {
|
|
1605
|
-
return brushToString(this.i.
|
|
1605
|
+
return brushToString(this.i.tc);
|
|
1606
1606
|
}
|
|
1607
1607
|
set iconBorderColor(v) {
|
|
1608
|
-
this.i.
|
|
1609
|
-
this._a("iconBorderColor", brushToString(this.i.
|
|
1608
|
+
this.i.tc = stringToBrush(v);
|
|
1609
|
+
this._a("iconBorderColor", brushToString(this.i.tc));
|
|
1610
1610
|
}
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Gets or sets the elevation to use for the button when the type is icon.
|
|
@@ -1649,96 +1649,96 @@ export let IgcXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1649
1649
|
this._a("iconBorderWidth", this.i.bf);
|
|
1650
1650
|
}
|
|
1651
1651
|
get iconCornerRadiusBottomRight() {
|
|
1652
|
-
return this.i.
|
|
1652
|
+
return this.i.kx ? this.i.kx.b : NaN;
|
|
1653
1653
|
}
|
|
1654
1654
|
set iconCornerRadiusBottomRight(v) {
|
|
1655
1655
|
this.ensureIconCornerRadius();
|
|
1656
|
-
this.i.
|
|
1657
|
-
this._a("iconCornerRadiusBottomRight", this.i.
|
|
1658
|
-
this.i.
|
|
1656
|
+
this.i.kx.b = +v;
|
|
1657
|
+
this._a("iconCornerRadiusBottomRight", this.i.kx.b);
|
|
1658
|
+
this.i.kx = this.i.kx;
|
|
1659
1659
|
}
|
|
1660
1660
|
get iconCornerRadiusBottomLeft() {
|
|
1661
|
-
return this.i.
|
|
1661
|
+
return this.i.kx ? this.i.kx.a : NaN;
|
|
1662
1662
|
}
|
|
1663
1663
|
set iconCornerRadiusBottomLeft(v) {
|
|
1664
1664
|
this.ensureIconCornerRadius();
|
|
1665
|
-
this.i.
|
|
1666
|
-
this._a("iconCornerRadiusBottomLeft", this.i.
|
|
1667
|
-
this.i.
|
|
1665
|
+
this.i.kx.a = +v;
|
|
1666
|
+
this._a("iconCornerRadiusBottomLeft", this.i.kx.a);
|
|
1667
|
+
this.i.kx = this.i.kx;
|
|
1668
1668
|
}
|
|
1669
1669
|
get iconCornerRadiusTopLeft() {
|
|
1670
|
-
return this.i.
|
|
1670
|
+
return this.i.kx ? this.i.kx.c : NaN;
|
|
1671
1671
|
}
|
|
1672
1672
|
set iconCornerRadiusTopLeft(v) {
|
|
1673
1673
|
this.ensureIconCornerRadius();
|
|
1674
|
-
this.i.
|
|
1675
|
-
this._a("iconCornerRadiusTopLeft", this.i.
|
|
1676
|
-
this.i.
|
|
1674
|
+
this.i.kx.c = +v;
|
|
1675
|
+
this._a("iconCornerRadiusTopLeft", this.i.kx.c);
|
|
1676
|
+
this.i.kx = this.i.kx;
|
|
1677
1677
|
}
|
|
1678
1678
|
get iconCornerRadiusTopRight() {
|
|
1679
|
-
return this.i.
|
|
1679
|
+
return this.i.kx ? this.i.kx.d : NaN;
|
|
1680
1680
|
}
|
|
1681
1681
|
set iconCornerRadiusTopRight(v) {
|
|
1682
1682
|
this.ensureIconCornerRadius();
|
|
1683
|
-
this.i.
|
|
1684
|
-
this._a("iconCornerRadiusTopRight", this.i.
|
|
1685
|
-
this.i.
|
|
1683
|
+
this.i.kx.d = +v;
|
|
1684
|
+
this._a("iconCornerRadiusTopRight", this.i.kx.d);
|
|
1685
|
+
this.i.kx = this.i.kx;
|
|
1686
1686
|
}
|
|
1687
1687
|
ensureIconCornerRadius() {
|
|
1688
|
-
if (this.i.
|
|
1688
|
+
if (this.i.kx) {
|
|
1689
1689
|
return;
|
|
1690
1690
|
}
|
|
1691
|
-
this.i.
|
|
1691
|
+
this.i.kx = new CornerRadius(2);
|
|
1692
1692
|
}
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1695
1695
|
*/
|
|
1696
1696
|
get iconRippleColor() {
|
|
1697
|
-
return brushToString(this.i.
|
|
1697
|
+
return brushToString(this.i.tk);
|
|
1698
1698
|
}
|
|
1699
1699
|
set iconRippleColor(v) {
|
|
1700
|
-
this.i.
|
|
1701
|
-
this._a("iconRippleColor", brushToString(this.i.
|
|
1700
|
+
this.i.tk = stringToBrush(v);
|
|
1701
|
+
this._a("iconRippleColor", brushToString(this.i.tk));
|
|
1702
1702
|
}
|
|
1703
1703
|
/**
|
|
1704
1704
|
* Gets or sets the color to use for the text of the button when type is icon.
|
|
1705
1705
|
*/
|
|
1706
1706
|
get iconTextColor() {
|
|
1707
|
-
return brushToString(this.i.
|
|
1707
|
+
return brushToString(this.i.tl);
|
|
1708
1708
|
}
|
|
1709
1709
|
set iconTextColor(v) {
|
|
1710
|
-
this.i.
|
|
1711
|
-
this._a("iconTextColor", brushToString(this.i.
|
|
1710
|
+
this.i.tl = stringToBrush(v);
|
|
1711
|
+
this._a("iconTextColor", brushToString(this.i.tl));
|
|
1712
1712
|
}
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Gets or sets the color to use for the hovered text of the button when type is icon.
|
|
1715
1715
|
*/
|
|
1716
1716
|
get iconHoverTextColor() {
|
|
1717
|
-
return brushToString(this.i.
|
|
1717
|
+
return brushToString(this.i.tj);
|
|
1718
1718
|
}
|
|
1719
1719
|
set iconHoverTextColor(v) {
|
|
1720
|
-
this.i.
|
|
1721
|
-
this._a("iconHoverTextColor", brushToString(this.i.
|
|
1720
|
+
this.i.tj = stringToBrush(v);
|
|
1721
|
+
this._a("iconHoverTextColor", brushToString(this.i.tj));
|
|
1722
1722
|
}
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Gets or sets the color to use for the backround the button when it is focused and icon.
|
|
1725
1725
|
*/
|
|
1726
1726
|
get iconFocusBackgroundColor() {
|
|
1727
|
-
return brushToString(this.i.
|
|
1727
|
+
return brushToString(this.i.tg);
|
|
1728
1728
|
}
|
|
1729
1729
|
set iconFocusBackgroundColor(v) {
|
|
1730
|
-
this.i.
|
|
1731
|
-
this._a("iconFocusBackgroundColor", brushToString(this.i.
|
|
1730
|
+
this.i.tg = stringToBrush(v);
|
|
1731
|
+
this._a("iconFocusBackgroundColor", brushToString(this.i.tg));
|
|
1732
1732
|
}
|
|
1733
1733
|
/**
|
|
1734
1734
|
* Gets or sets the color to use for the text the button when it is focused and icon.
|
|
1735
1735
|
*/
|
|
1736
1736
|
get iconFocusTextColor() {
|
|
1737
|
-
return brushToString(this.i.
|
|
1737
|
+
return brushToString(this.i.th);
|
|
1738
1738
|
}
|
|
1739
1739
|
set iconFocusTextColor(v) {
|
|
1740
|
-
this.i.
|
|
1741
|
-
this._a("iconFocusTextColor", brushToString(this.i.
|
|
1740
|
+
this.i.th = stringToBrush(v);
|
|
1741
|
+
this._a("iconFocusTextColor", brushToString(this.i.th));
|
|
1742
1742
|
}
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Gets or sets the id to use for the internal native checkbox.
|