11import * as i0 from '@angular/core' ;
22import { Injectable , inject , ElementRef , NgZone , EventEmitter , Injector , Renderer2 , afterNextRender , Component , ViewEncapsulation , ChangeDetectionStrategy , Input , Output , Optional , SkipSelf , InjectionToken , ChangeDetectorRef , ViewChild , ViewContainerRef , booleanAttribute , Directive , forwardRef , signal , HostAttributeToken , ContentChild , TemplateRef , NgModule } from '@angular/core' ;
3- import * as i1 from '@angular/material/core' ;
4- import { DateAdapter } from '@angular/material/core' ;
53import { Subject , Subscription , merge , of } from 'rxjs' ;
4+ import { D as DateAdapter , a as MAT_DATE_FORMATS } from './date-formats-7bf66210.mjs' ;
65import { _IdGenerator , CdkMonitorFocus , CdkTrapFocus , A11yModule } from '@angular/cdk/a11y' ;
76import { Directionality } from '@angular/cdk/bidi' ;
87import { coerceStringArray } from '@angular/cdk/coercion' ;
@@ -14,7 +13,6 @@ import { NgClass, DOCUMENT } from '@angular/common';
1413import { startWith , take , filter } from 'rxjs/operators' ;
1514import { _CdkPrivateStyleLoader , _VisuallyHiddenLoader } from '@angular/cdk/private' ;
1615import { _ as _StructuralStylesLoader } from './structural-styles-efc7816b.mjs' ;
17- import { a as MAT_DATE_FORMATS , D as DateAdapter$1 } from './date-formats-7bf66210.mjs' ;
1816import { M as MatButton , h as MatButtonModule } from './module-6b891d2d.mjs' ;
1917import { a as MatIconButton } from './icon-button-b18e0678.mjs' ;
2018import { _ as _animationsDisabled } from './animation-89957083.mjs' ;
@@ -707,7 +705,7 @@ class MatDateSelectionModel {
707705}
708706i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatDateSelectionModel , decorators : [ {
709707 type : Injectable
710- } ] , ctorParameters : ( ) => [ { type : undefined } , { type : i1 . DateAdapter } ] } ) ;
708+ } ] , ctorParameters : ( ) => [ { type : undefined } , { type : DateAdapter } ] } ) ;
711709/**
712710 * A selection model that contains a single date.
713711 * @docs -private
@@ -740,12 +738,12 @@ class MatSingleDateSelectionModel extends MatDateSelectionModel {
740738 clone . updateSelection ( this . selection , this ) ;
741739 return clone ;
742740 }
743- static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatSingleDateSelectionModel , deps : [ { token : i1 . DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
741+ static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatSingleDateSelectionModel , deps : [ { token : DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
744742 static ɵprov = i0 . ɵɵngDeclareInjectable ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatSingleDateSelectionModel } ) ;
745743}
746744i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatSingleDateSelectionModel , decorators : [ {
747745 type : Injectable
748- } ] , ctorParameters : ( ) => [ { type : i1 . DateAdapter } ] } ) ;
746+ } ] , ctorParameters : ( ) => [ { type : DateAdapter } ] } ) ;
749747/**
750748 * A selection model that contains a date range.
751749 * @docs -private
@@ -803,12 +801,12 @@ class MatRangeDateSelectionModel extends MatDateSelectionModel {
803801 clone . updateSelection ( this . selection , this ) ;
804802 return clone ;
805803 }
806- static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatRangeDateSelectionModel , deps : [ { token : i1 . DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
804+ static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatRangeDateSelectionModel , deps : [ { token : DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
807805 static ɵprov = i0 . ɵɵngDeclareInjectable ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatRangeDateSelectionModel } ) ;
808806}
809807i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : MatRangeDateSelectionModel , decorators : [ {
810808 type : Injectable
811- } ] , ctorParameters : ( ) => [ { type : i1 . DateAdapter } ] } ) ;
809+ } ] , ctorParameters : ( ) => [ { type : DateAdapter } ] } ) ;
812810/**
813811 * @docs -private
814812 * @deprecated No longer used, will be removed.
@@ -917,12 +915,12 @@ class DefaultMatCalendarRangeStrategy {
917915 }
918916 return new DateRange ( start , end ) ;
919917 }
920- static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : DefaultMatCalendarRangeStrategy , deps : [ { token : i1 . DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
918+ static ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : DefaultMatCalendarRangeStrategy , deps : [ { token : DateAdapter } ] , target : i0 . ɵɵFactoryTarget . Injectable } ) ;
921919 static ɵprov = i0 . ɵɵngDeclareInjectable ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : DefaultMatCalendarRangeStrategy } ) ;
922920}
923921i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "20.0.0-next.4" , ngImport : i0 , type : DefaultMatCalendarRangeStrategy , decorators : [ {
924922 type : Injectable
925- } ] , ctorParameters : ( ) => [ { type : i1 . DateAdapter } ] } ) ;
923+ } ] , ctorParameters : ( ) => [ { type : DateAdapter } ] } ) ;
926924/**
927925 * @docs -private
928926 * @deprecated No longer used, will be removed.
@@ -951,7 +949,7 @@ let uniqueIdCounter = 0;
951949class MatMonthView {
952950 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
953951 _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ;
954- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
952+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
955953 _dir = inject ( Directionality , { optional : true } ) ;
956954 _rangeStrategy = inject ( MAT_DATE_RANGE_SELECTION_STRATEGY , { optional : true } ) ;
957955 _rerenderSubscription = Subscription . EMPTY ;
@@ -1421,7 +1419,7 @@ const yearsPerRow = 4;
14211419 */
14221420class MatMultiYearView {
14231421 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
1424- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
1422+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
14251423 _dir = inject ( Directionality , { optional : true } ) ;
14261424 _rerenderSubscription = Subscription . EMPTY ;
14271425 /** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -1745,7 +1743,7 @@ function euclideanModulo(a, b) {
17451743class MatYearView {
17461744 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
17471745 _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ;
1748- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
1746+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
17491747 _dir = inject ( Directionality , { optional : true } ) ;
17501748 _rerenderSubscription = Subscription . EMPTY ;
17511749 /** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -2061,7 +2059,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
20612059class MatCalendarHeader {
20622060 _intl = inject ( MatDatepickerIntl ) ;
20632061 calendar = inject ( MatCalendar ) ;
2064- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
2062+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
20652063 _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ;
20662064 constructor ( ) {
20672065 inject ( _CdkPrivateStyleLoader ) . load ( _VisuallyHiddenLoader ) ;
@@ -2184,7 +2182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
21842182 } ] , ctorParameters : ( ) => [ ] } ) ;
21852183/** A calendar that is used as part of the datepicker. */
21862184class MatCalendar {
2187- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
2185+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
21882186 _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ;
21892187 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
21902188 /** An input indicating the type of the header component, if set. */
@@ -2511,7 +2509,7 @@ class MatDatepickerContent {
25112509 _animationsDisabled = _animationsDisabled ( ) ;
25122510 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
25132511 _globalModel = inject ( MatDateSelectionModel ) ;
2514- _dateAdapter = inject ( DateAdapter$1 ) ;
2512+ _dateAdapter = inject ( DateAdapter ) ;
25152513 _ngZone = inject ( NgZone ) ;
25162514 _rangeSelectionStrategy = inject ( MAT_DATE_RANGE_SELECTION_STRATEGY , { optional : true } ) ;
25172515 _stateChanges ;
@@ -2678,7 +2676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
26782676class MatDatepickerBase {
26792677 _overlay = inject ( Overlay ) ;
26802678 _viewContainerRef = inject ( ViewContainerRef ) ;
2681- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
2679+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
26822680 _dir = inject ( Directionality , { optional : true } ) ;
26832681 _model = inject ( MatDateSelectionModel ) ;
26842682 _animationsDisabled = _animationsDisabled ( ) ;
@@ -3172,7 +3170,7 @@ class MatDatepickerInputEvent {
31723170/** Base class for datepicker inputs. */
31733171class MatDatepickerInputBase {
31743172 _elementRef = inject ( ElementRef ) ;
3175- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
3173+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
31763174 _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ;
31773175 /** Whether the component has been initialized. */
31783176 _isInitialized ;
@@ -3743,7 +3741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
37433741class MatDateRangeInput {
37443742 _changeDetectorRef = inject ( ChangeDetectorRef ) ;
37453743 _elementRef = inject ( ElementRef ) ;
3746- _dateAdapter = inject ( DateAdapter$1 , { optional : true } ) ;
3744+ _dateAdapter = inject ( DateAdapter , { optional : true } ) ;
37473745 _formField = inject ( MAT_FORM_FIELD , { optional : true } ) ;
37483746 _closedSubscription = Subscription . EMPTY ;
37493747 _openedSubscription = Subscription . EMPTY ;
0 commit comments