@esfaenza/forms-and-validations 13.1.13 → 13.1.16

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";
@@ -13,6 +13,7 @@ import * as i0 from "@angular/core";
13
13
  */
14
14
  export declare class FormAdaptiveComponent extends BaseFormControl implements ControlValueAccessor {
15
15
  private utiExts;
16
+ private datesExts;
16
17
  private dateAdapter;
17
18
  lc: LocalizationService;
18
19
  /**
@@ -78,12 +79,16 @@ export declare class FormAdaptiveComponent extends BaseFormControl implements Co
78
79
  id: string;
79
80
  description: string;
80
81
  }[];
82
+ /**
83
+ * Solo per gli input di tipo "date". Capisce che modalità usare per il validation-date sottostante
84
+ */
85
+ useJsDates: boolean;
81
86
  /**
82
87
  * Costruttore
83
88
  *
84
89
  * @ignore
85
90
  */
86
- constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, dateAdapter: NgxMatDateAdapter<any>, lc: LocalizationService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string);
91
+ constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, datesExts: DateService, dateAdapter: NgxMatDateAdapter<any>, lc: LocalizationService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string);
87
92
  /**
88
93
  * @ignore
89
94
  */
@@ -135,6 +140,6 @@ export declare class FormAdaptiveComponent extends BaseFormControl implements Co
135
140
  private executionTimers;
136
141
  /** @ignore */
137
142
  private throttla;
138
- static ɵfac: i0.ɵɵFactoryDeclaration<FormAdaptiveComponent, [null, null, null, null, { optional: true; self: true; }, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormAdaptiveComponent, [null, null, null, null, null, { optional: true; self: true; }, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
139
144
  static ɵcmp: i0.ɵɵComponentDeclaration<FormAdaptiveComponent, "form-adaptive", never, { "Type": "Type"; "TypeMissingMessage": "TypeMissingMessage"; "Pattern": "Pattern"; "AllowDownload": "AllowDownload"; "Precision": "Precision"; "Alignment": "Alignment"; "SearchFunction": "SearchFunction"; "MinChars": "MinChars"; "CaseSensitive": "CaseSensitive"; }, {}, never, never>;
140
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/forms-and-validations",
3
- "version": "13.1.13",
3
+ "version": "13.1.16",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"