matcha-components 20.264.0 → 20.265.0
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.
|
@@ -3611,6 +3611,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
3611
3611
|
}] });
|
|
3612
3612
|
|
|
3613
3613
|
class MatchaCheckboxComponent {
|
|
3614
|
+
get colorAttr() {
|
|
3615
|
+
return this._color;
|
|
3616
|
+
}
|
|
3617
|
+
get color() {
|
|
3618
|
+
return this._color;
|
|
3619
|
+
}
|
|
3620
|
+
set color(value) {
|
|
3621
|
+
this._color = value || 'accent';
|
|
3622
|
+
}
|
|
3614
3623
|
get indeterminate() {
|
|
3615
3624
|
return this._indeterminate;
|
|
3616
3625
|
}
|
|
@@ -3623,6 +3632,9 @@ class MatchaCheckboxComponent {
|
|
|
3623
3632
|
this.cdr.markForCheck();
|
|
3624
3633
|
}
|
|
3625
3634
|
}
|
|
3635
|
+
get disabledAttr() {
|
|
3636
|
+
return this._disabled ? '' : null;
|
|
3637
|
+
}
|
|
3626
3638
|
get disabled() {
|
|
3627
3639
|
return this._disabled;
|
|
3628
3640
|
}
|
|
@@ -3661,7 +3673,7 @@ class MatchaCheckboxComponent {
|
|
|
3661
3673
|
}
|
|
3662
3674
|
constructor(cdr) {
|
|
3663
3675
|
this.cdr = cdr;
|
|
3664
|
-
this.
|
|
3676
|
+
this._color = 'accent';
|
|
3665
3677
|
this._indeterminate = false;
|
|
3666
3678
|
this._disabled = false;
|
|
3667
3679
|
this._checked = false;
|
|
@@ -3689,7 +3701,7 @@ class MatchaCheckboxComponent {
|
|
|
3689
3701
|
this.cdr.markForCheck();
|
|
3690
3702
|
}
|
|
3691
3703
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: MatchaCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3692
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: MatchaCheckboxComponent, isStandalone: false, selector: "matcha-checkbox", inputs: { color: "color", indeterminate: "indeterminate", disabled: "disabled", checked: "checked" }, outputs: { checkedChange: "checkedChange", change: "change" }, providers: [
|
|
3704
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: MatchaCheckboxComponent, isStandalone: false, selector: "matcha-checkbox", inputs: { color: "color", indeterminate: "indeterminate", disabled: "disabled", checked: "checked" }, outputs: { checkedChange: "checkedChange", change: "change" }, host: { properties: { "attr.color": "this.colorAttr", "attr.disabled": "this.disabledAttr" } }, providers: [
|
|
3693
3705
|
{
|
|
3694
3706
|
provide: NG_VALUE_ACCESSOR,
|
|
3695
3707
|
useExisting: forwardRef(() => MatchaCheckboxComponent),
|
|
@@ -3709,10 +3721,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
3709
3721
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { inputElement: [{
|
|
3710
3722
|
type: ViewChild,
|
|
3711
3723
|
args: ['input', { static: true }]
|
|
3724
|
+
}], colorAttr: [{
|
|
3725
|
+
type: HostBinding,
|
|
3726
|
+
args: ['attr.color']
|
|
3712
3727
|
}], color: [{
|
|
3713
3728
|
type: Input
|
|
3714
3729
|
}], indeterminate: [{
|
|
3715
3730
|
type: Input
|
|
3731
|
+
}], disabledAttr: [{
|
|
3732
|
+
type: HostBinding,
|
|
3733
|
+
args: ['attr.disabled']
|
|
3716
3734
|
}], disabled: [{
|
|
3717
3735
|
type: Input
|
|
3718
3736
|
}], checked: [{
|