matcha-components 19.113.0 → 19.114.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.
|
@@ -1698,6 +1698,7 @@ class MatchaCheckboxComponent {
|
|
|
1698
1698
|
this.indeterminate = false;
|
|
1699
1699
|
this._disabled = false;
|
|
1700
1700
|
this._checked = false;
|
|
1701
|
+
this.checkedChange = new EventEmitter();
|
|
1701
1702
|
this.change = new EventEmitter();
|
|
1702
1703
|
// ControlValueAccessor methods
|
|
1703
1704
|
this.onChange = () => { };
|
|
@@ -1737,10 +1738,12 @@ class MatchaCheckboxComponent {
|
|
|
1737
1738
|
const input = event.target;
|
|
1738
1739
|
this.checked = input.checked;
|
|
1739
1740
|
this.onTouched();
|
|
1740
|
-
|
|
1741
|
+
const eventData = { checked: this.checked };
|
|
1742
|
+
this.checkedChange.emit(eventData);
|
|
1743
|
+
this.change.emit(event);
|
|
1741
1744
|
}
|
|
1742
1745
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MatchaCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1743
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MatchaCheckboxComponent, isStandalone: false, selector: "matcha-checkbox", inputs: { color: "color", indeterminate: "indeterminate", disabled: "disabled", checked: "checked" }, outputs: { change: "change" }, providers: [
|
|
1746
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MatchaCheckboxComponent, isStandalone: false, selector: "matcha-checkbox", inputs: { color: "color", indeterminate: "indeterminate", disabled: "disabled", checked: "checked" }, outputs: { checkedChange: "checkedChange", change: "change" }, providers: [
|
|
1744
1747
|
{
|
|
1745
1748
|
provide: NG_VALUE_ACCESSOR,
|
|
1746
1749
|
useExisting: forwardRef(() => MatchaCheckboxComponent),
|
|
@@ -1765,6 +1768,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1765
1768
|
type: Input
|
|
1766
1769
|
}], checked: [{
|
|
1767
1770
|
type: Input
|
|
1771
|
+
}], checkedChange: [{
|
|
1772
|
+
type: Output
|
|
1768
1773
|
}], change: [{
|
|
1769
1774
|
type: Output
|
|
1770
1775
|
}] } });
|