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';
1313import { OnChanges } from ' @angular/core' ;
1414import { OnDestroy } from ' @angular/core' ;
1515import { OnInit } from ' @angular/core' ;
16- import { Optional } from ' @angular/core' ;
1716import { Subject } from ' rxjs' ;
1817
1918// @public @deprecated
@@ -30,16 +29,6 @@ export interface ArrowViewStateTransition {
3029// @public
3130export const MAT_SORT_DEFAULT_OPTIONS: InjectionToken <MatSortDefaultOptions >;
3231
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-
4332// @public
4433export class MatSort implements OnChanges , OnDestroy , OnInit {
4534 constructor (_defaultOptions ? : MatSortDefaultOptions | undefined );
Original file line number Diff line number Diff line change 66 * found in the LICENSE file at https://angular.dev/license
77 */
88
9- import { Injectable , SkipSelf , Optional } from '@angular/core' ;
9+ import { Injectable } from '@angular/core' ;
1010import { Subject } from 'rxjs' ;
1111
1212/**
@@ -21,24 +21,3 @@ export class MatSortHeaderIntl {
2121 */
2222 readonly changes : Subject < void > = new Subject < void > ( ) ;
2323}
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 99import { NgModule } from '@angular/core' ;
1010import { MatSortHeader } from './sort-header' ;
1111import { MatSort } from './sort' ;
12- import { MAT_SORT_HEADER_INTL_PROVIDER } from './sort-header-intl' ;
1312import { MatCommonModule } from '../core' ;
1413
1514@NgModule ( {
1615 imports : [ MatCommonModule , MatSort , MatSortHeader ] ,
1716 exports : [ MatSort , MatSortHeader ] ,
18- providers : [ MAT_SORT_HEADER_INTL_PROVIDER ] ,
1917} )
2018export class MatSortModule { }
You can’t perform that action at this time.
0 commit comments