File tree 12 files changed +0
-44
lines changed
12 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,3 @@ export class MatTextareaAutosize extends CdkTextareaAutosize {
43
43
get matTextareaAutosize ( ) : boolean { return this . enabled ; }
44
44
set matTextareaAutosize ( value : boolean ) { this . enabled = value ; }
45
45
}
46
-
47
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
48
- ( MatTextareaAutosize as any ) [ 'ctorParameters' ] = ( ) =>
49
- ( CdkTextareaAutosize as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -13,6 +13,3 @@ import {CdkStepLabel} from '@angular/cdk/stepper';
13
13
selector : '[matStepLabel]' ,
14
14
} )
15
15
export class MatStepLabel extends CdkStepLabel { }
16
-
17
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
18
- ( MatStepLabel as any ) [ 'ctorParameters' ] = ( ) => ( CdkStepLabel as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -33,8 +33,3 @@ export class MatStepperNext extends CdkStepperNext {}
33
33
providers : [ { provide : CdkStepper , useExisting : MatStepper } ]
34
34
} )
35
35
export class MatStepperPrevious extends CdkStepperPrevious { }
36
-
37
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
38
- ( MatStepperNext as any ) [ 'ctorParameters' ] = ( ) => ( CdkStepperNext as any ) [ 'ctorParameters' ] ;
39
- ( MatStepperPrevious as any ) [ 'ctorParameters' ] = ( ) =>
40
- ( CdkStepperPrevious as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -123,9 +123,6 @@ export class MatStepper extends CdkStepper implements AfterContentInit {
123
123
}
124
124
}
125
125
126
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
127
- ( MatStepper as any ) [ 'ctorParameters' ] = ( ) => ( CdkStepper as any ) [ 'ctorParameters' ] ;
128
-
129
126
@Component ( {
130
127
moduleId : module . id ,
131
128
selector : 'mat-horizontal-stepper' ,
Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ export class MatHeaderCellDef extends CdkHeaderCellDef {}
45
45
} )
46
46
export class MatFooterCellDef extends CdkFooterCellDef { }
47
47
48
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
49
- ( MatCellDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkCellDef as any ) [ 'ctorParameters' ] ;
50
- ( MatHeaderCellDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkHeaderCellDef as any ) [ 'ctorParameters' ] ;
51
- ( MatFooterCellDef as any ) [ 'ctorParameters' ] = ( ) => ( MatFooterCellDef as any ) [ 'ctorParameters' ] ;
52
-
53
48
/**
54
49
* Column definition for the mat-table.
55
50
* Defines a set of cells available for a table column.
Original file line number Diff line number Diff line change @@ -54,11 +54,6 @@ export class MatFooterRowDef extends CdkFooterRowDef {}
54
54
} )
55
55
export class MatRowDef < T > extends CdkRowDef < T > { }
56
56
57
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
58
- ( MatHeaderRowDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkHeaderRowDef as any ) [ 'ctorParameters' ] ;
59
- ( MatFooterRowDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkFooterRowDef as any ) [ 'ctorParameters' ] ;
60
- ( MatRowDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkRowDef as any ) [ 'ctorParameters' ] ;
61
-
62
57
/** Footer template container that contains the cell outlet. Adds the right class and role. */
63
58
@Component ( {
64
59
moduleId : module . id ,
Original file line number Diff line number Diff line change @@ -28,6 +28,3 @@ export class MatTable<T> extends CdkTable<T> {
28
28
/** Overrides the sticky CSS class set by the `CdkTable`. */
29
29
protected stickyCssClass = 'mat-table-sticky' ;
30
30
}
31
-
32
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
33
- ( MatTable as any ) [ 'ctorParameters' ] = ( ) => ( CdkTable as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -14,6 +14,3 @@ import {CdkPortal} from '@angular/cdk/portal';
14
14
selector : '[mat-tab-label], [matTabLabel]' ,
15
15
} )
16
16
export class MatTabLabel extends CdkPortal { }
17
-
18
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
19
- ( MatTabLabel as any ) [ 'ctorParameters' ] = ( ) => ( CdkPortal as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ export class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {
76
76
@Input ( 'matTreeNode' ) data : T ;
77
77
}
78
78
79
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
80
- ( MatTreeNodeDef as any ) [ 'ctorParameters' ] = ( ) => ( CdkTreeNodeDef as any ) [ 'ctorParameters' ] ;
81
-
82
79
/**
83
80
* Wrapper for the CdkTree nested node with Material design styles.
84
81
*/
Original file line number Diff line number Diff line change @@ -23,7 +23,3 @@ export class MatTreeNodePadding<T> extends CdkTreeNodePadding<T> {
23
23
/** The indent for each level. Default number 40px from material design menu sub-menu spec. */
24
24
@Input ( 'matTreeNodePaddingIndent' ) indent : number ;
25
25
}
26
-
27
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
28
- ( MatTreeNodePadding as any ) [ 'ctorParameters' ] = ( ) =>
29
- ( CdkTreeNodePadding as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -22,6 +22,3 @@ import {Directive, Input} from '@angular/core';
22
22
export class MatTreeNodeToggle < T > extends CdkTreeNodeToggle < T > {
23
23
@Input ( 'matTreeNodeToggleRecursive' ) recursive : boolean = false ;
24
24
}
25
-
26
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
27
- ( MatTreeNodeToggle as any ) [ 'ctorParameters' ] = ( ) => ( CdkTreeNodeToggle as any ) [ 'ctorParameters' ] ;
Original file line number Diff line number Diff line change @@ -31,6 +31,3 @@ export class MatTree<T> extends CdkTree<T> {
31
31
// Outlets within the tree's template where the dataNodes will be inserted.
32
32
@ViewChild ( MatTreeNodeOutlet ) _nodeOutlet : MatTreeNodeOutlet ;
33
33
}
34
-
35
- // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
36
- ( MatTree as any ) [ 'ctorParameters' ] = ( ) => ( CdkTree as any ) [ 'ctorParameters' ] ;
You can’t perform that action at this time.
0 commit comments