File tree Expand file tree Collapse file tree 3 files changed +1
-35
lines changed Expand file tree Collapse file tree 3 files changed +1
-35
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { Observable } from 'rxjs';
13
13
import { OnChanges } from ' @angular/core' ;
14
14
import { OnDestroy } from ' @angular/core' ;
15
15
import { OnInit } from ' @angular/core' ;
16
- import { Optional } from ' @angular/core' ;
17
16
import { Subject } from ' rxjs' ;
18
17
19
18
// @public @deprecated
@@ -30,16 +29,6 @@ export interface ArrowViewStateTransition {
30
29
// @public
31
30
export const MAT_SORT_DEFAULT_OPTIONS: InjectionToken <MatSortDefaultOptions >;
32
31
33
- // @public @deprecated
34
- export const MAT_SORT_HEADER_INTL_PROVIDER: {
35
- provide: typeof MatSortHeaderIntl ;
36
- deps: Optional [][];
37
- useFactory: typeof MAT_SORT_HEADER_INTL_PROVIDER_FACTORY ;
38
- };
39
-
40
- // @public @deprecated
41
- export function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl : MatSortHeaderIntl ): MatSortHeaderIntl ;
42
-
43
32
// @public
44
33
export class MatSort implements OnChanges , OnDestroy , OnInit {
45
34
constructor (_defaultOptions ? : MatSortDefaultOptions | undefined );
Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.dev/license
7
7
*/
8
8
9
- import { Injectable , SkipSelf , Optional } from '@angular/core' ;
9
+ import { Injectable } from '@angular/core' ;
10
10
import { Subject } from 'rxjs' ;
11
11
12
12
/**
@@ -21,24 +21,3 @@ export class MatSortHeaderIntl {
21
21
*/
22
22
readonly changes : Subject < void > = new Subject < void > ( ) ;
23
23
}
24
-
25
- /**
26
- * @docs -private
27
- * @deprecated No longer used, will be removed.
28
- * @breaking -change 21.0.0
29
- */
30
- export function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY ( parentIntl : MatSortHeaderIntl ) {
31
- return parentIntl || new MatSortHeaderIntl ( ) ;
32
- }
33
-
34
- /**
35
- * @docs -private
36
- * @deprecated No longer used, will be removed.
37
- * @breaking -change 21.0.0
38
- */
39
- export const MAT_SORT_HEADER_INTL_PROVIDER = {
40
- // If there is already an MatSortHeaderIntl available, use that. Otherwise, provide a new one.
41
- provide : MatSortHeaderIntl ,
42
- deps : [ [ new Optional ( ) , new SkipSelf ( ) , MatSortHeaderIntl ] ] ,
43
- useFactory : MAT_SORT_HEADER_INTL_PROVIDER_FACTORY ,
44
- } ;
Original file line number Diff line number Diff line change 9
9
import { NgModule } from '@angular/core' ;
10
10
import { MatSortHeader } from './sort-header' ;
11
11
import { MatSort } from './sort' ;
12
- import { MAT_SORT_HEADER_INTL_PROVIDER } from './sort-header-intl' ;
13
12
import { MatCommonModule } from '../core' ;
14
13
15
14
@NgModule ( {
16
15
imports : [ MatCommonModule , MatSort , MatSortHeader ] ,
17
16
exports : [ MatSort , MatSortHeader ] ,
18
- providers : [ MAT_SORT_HEADER_INTL_PROVIDER ] ,
19
17
} )
20
18
export class MatSortModule { }
You can’t perform that action at this time.
0 commit comments