@esfaenza/admin-module 13.1.0-beta10 → 13.1.0-beta14
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.
|
@@ -3,14 +3,13 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import * as i10 from '@angular/forms';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { InjectionToken, Injectable, Inject, Component, ViewChild,
|
|
6
|
+
import { InjectionToken, Injectable, Inject, Component, ViewChild, NgModule } from '@angular/core';
|
|
7
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
|
|
11
|
+
import { MatDayjsDateModule } from '@esfaenza/material-dayjs-adapter';
|
|
12
12
|
import { MatInputModule } from '@angular/material/input';
|
|
13
|
-
import { MAT_DATE_LOCALE, MAT_DATE_FORMATS, DateAdapter } from '@angular/material/core';
|
|
14
13
|
import { NgxMatDatetimePickerModule } from '@angular-material-components/datetime-picker';
|
|
15
14
|
import * as i11 from 'ngx-bootstrap/modal';
|
|
16
15
|
import { ModalModule } from 'ngx-bootstrap/modal';
|
|
@@ -1231,16 +1230,6 @@ const COMPONENTS = [
|
|
|
1231
1230
|
AdmEnqComponent,
|
|
1232
1231
|
AdmMetricsComponent
|
|
1233
1232
|
];
|
|
1234
|
-
//Il formato in Display è sempre quello italiano quindi mi faccio pochi problemi di localizzazione e imposto quello
|
|
1235
|
-
const formats = {
|
|
1236
|
-
parse: { dateInput: 'DD/MM/YYYY' },
|
|
1237
|
-
display: {
|
|
1238
|
-
dateInput: 'DD/MM/YYYY',
|
|
1239
|
-
monthYearLabel: 'MM YYYY',
|
|
1240
|
-
dateA11yLabel: 'DD/MM/YYYY',
|
|
1241
|
-
monthYearA11yLabel: 'MM YYYY',
|
|
1242
|
-
}
|
|
1243
|
-
};
|
|
1244
1233
|
class AdmModule {
|
|
1245
1234
|
}
|
|
1246
1235
|
AdmModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1277,23 +1266,12 @@ AdmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
|
1277
1266
|
FormsAndValidationsModule,
|
|
1278
1267
|
EsChartsModule,
|
|
1279
1268
|
NgxMatDatetimePickerModule, i7.RouterModule] });
|
|
1280
|
-
AdmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule,
|
|
1281
|
-
{ provide: LOCALE_ID, useValue: myconfig.SMALL_LOCALE },
|
|
1282
|
-
{ provide: MAT_DATE_LOCALE, useValue: myconfig.LOCALE },
|
|
1283
|
-
{ provide: MAT_DATE_FORMATS, useValue: formats },
|
|
1284
|
-
{ provide: DateAdapter, useClass: DayJsDateAdapter, deps: [MAT_DATE_LOCALE] }
|
|
1285
|
-
], imports: [[...MODULES]] });
|
|
1269
|
+
AdmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, imports: [[...MODULES]] });
|
|
1286
1270
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AdmModule, decorators: [{
|
|
1287
1271
|
type: NgModule,
|
|
1288
1272
|
args: [{
|
|
1289
1273
|
imports: [...MODULES],
|
|
1290
|
-
declarations: [...COMPONENTS]
|
|
1291
|
-
providers: [
|
|
1292
|
-
{ provide: LOCALE_ID, useValue: myconfig.SMALL_LOCALE },
|
|
1293
|
-
{ provide: MAT_DATE_LOCALE, useValue: myconfig.LOCALE },
|
|
1294
|
-
{ provide: MAT_DATE_FORMATS, useValue: formats },
|
|
1295
|
-
{ provide: DateAdapter, useClass: DayJsDateAdapter, deps: [MAT_DATE_LOCALE] }
|
|
1296
|
-
]
|
|
1274
|
+
declarations: [...COMPONENTS]
|
|
1297
1275
|
}]
|
|
1298
1276
|
}] });
|
|
1299
1277
|
|