@@ -34,14 +34,11 @@ import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';
34
34
import {
35
35
CanColor ,
36
36
CanColorCtor ,
37
- CanDisable ,
38
- CanDisableCtor ,
39
37
CanDisableRipple ,
40
38
CanDisableRippleCtor ,
41
39
HasTabIndex ,
42
40
HasTabIndexCtor ,
43
41
mixinColor ,
44
- mixinDisabled ,
45
42
mixinDisableRipple ,
46
43
mixinTabIndex ,
47
44
} from '@angular/material/core' ;
@@ -71,13 +68,6 @@ export class MatRadioChange {
71
68
public value : any ) { }
72
69
}
73
70
74
-
75
- // Boilerplate for applying mixins to MatRadioGroup.
76
- /** @docs -private */
77
- export class MatRadioGroupBase { }
78
- export const _MatRadioGroupMixinBase : CanDisableCtor & typeof MatRadioGroupBase =
79
- mixinDisabled ( MatRadioGroupBase ) ;
80
-
81
71
/**
82
72
* A group of radio buttons. May contain one or more `<mat-radio-button>` elements.
83
73
*/
@@ -89,11 +79,8 @@ export const _MatRadioGroupMixinBase: CanDisableCtor & typeof MatRadioGroupBase
89
79
'role' : 'radiogroup' ,
90
80
'class' : 'mat-radio-group' ,
91
81
} ,
92
- inputs : [ 'disabled' ] ,
93
82
} )
94
- export class MatRadioGroup extends _MatRadioGroupMixinBase
95
- implements AfterContentInit , ControlValueAccessor , CanDisable {
96
-
83
+ export class MatRadioGroup implements AfterContentInit , ControlValueAccessor {
97
84
/** Selected value for the radio group. */
98
85
private _value : any = null ;
99
86
@@ -205,9 +192,7 @@ export class MatRadioGroup extends _MatRadioGroupMixinBase
205
192
this . _markRadiosForCheck ( ) ;
206
193
}
207
194
208
- constructor ( private _changeDetector : ChangeDetectorRef ) {
209
- super ( ) ;
210
- }
195
+ constructor ( private _changeDetector : ChangeDetectorRef ) { }
211
196
212
197
/**
213
198
* Initialize properties once content children are available.
0 commit comments