@fluxhub/fluxhub-lib 19.0.57 → 19.0.58
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.
|
@@ -42,7 +42,7 @@ import * as i8$1 from 'ngx-flexible-layout/flex';
|
|
|
42
42
|
import * as i3$3 from '@angular/material/progress-bar';
|
|
43
43
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
44
44
|
import * as i10$1 from 'ngx-flexible-layout/extended';
|
|
45
|
-
import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter,
|
|
45
|
+
import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter, provideMomentDateAdapter, MAT_MOMENT_DATE_FORMATS } from '@angular/material-moment-adapter';
|
|
46
46
|
import * as i3$4 from '@angular/material/core';
|
|
47
47
|
import { MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
48
48
|
import 'moment/locale/it';
|
|
@@ -5330,6 +5330,17 @@ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a = {
|
|
|
5330
5330
|
useExisting: forwardRef(() => FHDatePickerComponent),
|
|
5331
5331
|
multi: true,
|
|
5332
5332
|
};
|
|
5333
|
+
const CUSTOM_DATE_FORMATS = {
|
|
5334
|
+
parse: {
|
|
5335
|
+
dateInput: 'DD/MM/YYYY',
|
|
5336
|
+
},
|
|
5337
|
+
display: {
|
|
5338
|
+
dateInput: 'DD/MM/YYYY',
|
|
5339
|
+
monthYearLabel: 'MMM YYYY',
|
|
5340
|
+
dateA11yLabel: 'LL',
|
|
5341
|
+
monthYearA11yLabel: 'MMMM YYYY',
|
|
5342
|
+
},
|
|
5343
|
+
};
|
|
5333
5344
|
class FHDatePickerComponent {
|
|
5334
5345
|
uti_s;
|
|
5335
5346
|
_apps;
|
|
@@ -5550,18 +5561,13 @@ class FHDatePickerComponent {
|
|
|
5550
5561
|
}
|
|
5551
5562
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHDatePickerComponent, deps: [{ token: UtilityService }, { token: AppService }, { token: i3$4.DateAdapter }], target: i0.ɵɵFactoryTarget.Component });
|
|
5552
5563
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHDatePickerComponent, isStandalone: true, selector: "FHDatePicker", inputs: { label: "label", error: "error", required: "required", show_buttons: "show_buttons", hidden: "hidden", enabled: "enabled", min_date: "min_date", max_date: "max_date" }, outputs: { change: "change", init_end: "init_end" }, providers: [
|
|
5553
|
-
// The locale would typically be provided on the root module of your application. We do it at
|
|
5554
|
-
// the component level here, due to limitations of our example generation script.
|
|
5555
5564
|
{ provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
5556
|
-
// `MomentDateAdapter` and `MAT_MOMENT_DATE_FORMATS` can be automatically provided by importing
|
|
5557
|
-
// `MatMomentDateModule` in your applications root module. We provide it at the component level
|
|
5558
|
-
// here, due to limitations of our example generation script.
|
|
5559
5565
|
{
|
|
5560
5566
|
provide: DateAdapter,
|
|
5561
5567
|
useClass: MomentDateAdapter,
|
|
5562
5568
|
deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
|
|
5563
5569
|
},
|
|
5564
|
-
{ provide: MAT_DATE_FORMATS, useValue:
|
|
5570
|
+
{ provide: MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS },
|
|
5565
5571
|
CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a
|
|
5566
5572
|
], viewQueries: [{ propertyName: "pickerId", first: true, predicate: ["pickerId"], descendants: true }], ngImport: i0, template: `
|
|
5567
5573
|
|
|
@@ -5639,18 +5645,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
5639
5645
|
MatDatepickerModule,
|
|
5640
5646
|
MatInputModule
|
|
5641
5647
|
], providers: [
|
|
5642
|
-
// The locale would typically be provided on the root module of your application. We do it at
|
|
5643
|
-
// the component level here, due to limitations of our example generation script.
|
|
5644
5648
|
{ provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
5645
|
-
// `MomentDateAdapter` and `MAT_MOMENT_DATE_FORMATS` can be automatically provided by importing
|
|
5646
|
-
// `MatMomentDateModule` in your applications root module. We provide it at the component level
|
|
5647
|
-
// here, due to limitations of our example generation script.
|
|
5648
5649
|
{
|
|
5649
5650
|
provide: DateAdapter,
|
|
5650
5651
|
useClass: MomentDateAdapter,
|
|
5651
5652
|
deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
|
|
5652
5653
|
},
|
|
5653
|
-
{ provide: MAT_DATE_FORMATS, useValue:
|
|
5654
|
+
{ provide: MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS },
|
|
5654
5655
|
CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a
|
|
5655
5656
|
], template: `
|
|
5656
5657
|
|