@esfaenza/admin-module 13.1.0-beta4 → 13.1.0-beta5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ import * as i7 from '@angular/router';
8
8
  import { RouterModule } from '@angular/router';
9
9
  import { MatIconModule } from '@angular/material/icon';
10
10
  import { MatDatepickerModule } from '@angular/material/datepicker';
11
- import { MatDayjsDateModule } from '@esfaenza/material-dayjs-adapter';
11
+ import { MatDayjsDateModule, DayJsDateAdapter } from '@esfaenza/material-dayjs-adapter';
12
12
  import { MatInputModule } from '@angular/material/input';
13
13
  import { NgxMatDatetimePickerModule } from '@angular-material-components/datetime-picker';
14
14
  import * as i11 from 'ngx-bootstrap/modal';
@@ -34,6 +34,7 @@ import * as i3 from '@esfaenza/preferences';
34
34
  import * as i6 from '@esfaenza/httpservice';
35
35
  import { map } from 'rxjs/operators';
36
36
  import { HttpParams } from '@angular/common/http';
37
+ import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
37
38
 
38
39
  const ADM_LOCALE = new InjectionToken('ADM_LOCALE');
39
40
  const ADM_BACKEND_URL = new InjectionToken('ADM_BACKEND_URL');
@@ -1266,13 +1267,17 @@ AdmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
1266
1267
  FormsAndValidationsModule,
1267
1268
  EsChartsModule,
1268
1269
  NgxMatDatetimePickerModule, i7.RouterModule] });
1269
- AdmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, providers: [], imports: [[...MODULES]] });
1270
+ AdmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, providers: [
1271
+ { provide: DateAdapter, useClass: DayJsDateAdapter, deps: [MAT_DATE_LOCALE] }
1272
+ ], imports: [[...MODULES]] });
1270
1273
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, decorators: [{
1271
1274
  type: NgModule,
1272
1275
  args: [{
1273
1276
  imports: [...MODULES],
1274
1277
  declarations: [...COMPONENTS],
1275
- providers: []
1278
+ providers: [
1279
+ { provide: DateAdapter, useClass: DayJsDateAdapter, deps: [MAT_DATE_LOCALE] }
1280
+ ]
1276
1281
  }]
1277
1282
  }] });
1278
1283