@esfaenza/forms-and-validations 11.2.55 → 11.2.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.
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, ElementRef, SimpleChanges } from "@angular/core";
2
2
  import { ControlValueAccessor, NgControl } from "@angular/forms";
3
3
  import { LocalizationService } from "@esfaenza/localizations";
4
- import { UtilityService } from "@esfaenza/extensions";
4
+ import { DateService, UtilityService } from "@esfaenza/extensions";
5
5
  import { AccessControlService, ComponentContext } from '@esfaenza/access-control';
6
6
  import { NgxMatDateAdapter } from "@angular-material-components/datetime-picker";
7
7
  import { BaseFormControl } from "../base-form-control";
@@ -12,6 +12,7 @@ import { Observable } from "rxjs";
12
12
  */
13
13
  export declare class FormAdaptiveComponent extends BaseFormControl implements ControlValueAccessor {
14
14
  private utiExts;
15
+ private datesExts;
15
16
  private dateAdapter;
16
17
  lc: LocalizationService;
17
18
  /**
@@ -77,12 +78,16 @@ export declare class FormAdaptiveComponent extends BaseFormControl implements Co
77
78
  id: string;
78
79
  description: string;
79
80
  }[];
81
+ /**
82
+ * Solo per gli input di tipo "date". Capisce che modalità usare per il validation-date sottostante
83
+ */
84
+ useJsDates: boolean;
80
85
  /**
81
86
  * Costruttore
82
87
  *
83
88
  * @ignore
84
89
  */
85
- constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, dateAdapter: NgxMatDateAdapter<any>, lc: LocalizationService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string);
90
+ constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, datesExts: DateService, dateAdapter: NgxMatDateAdapter<any>, lc: LocalizationService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string);
86
91
  /**
87
92
  * @ignore
88
93
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/forms-and-validations",
3
- "version": "11.2.55",
3
+ "version": "11.2.58",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"