@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.
- package/esm2020/lib/forms/base-form-control.mjs +2 -2
- package/esm2020/lib/forms/form-adaptive/form-adaptive.component.mjs +23 -16
- package/esm2020/lib/validations/validation-autocomplete/validation-autocomplete.component.mjs +3 -3
- package/esm2020/lib/validations/validation-currency/validation-currency.component.mjs +3 -3
- package/esm2020/lib/validations/validation-date/validation-date.component.mjs +3 -3
- package/esm2020/lib/validations/validation-datetime/validation-datetime.component.mjs +3 -3
- package/esm2020/lib/validations/validation-input/validation-input.component.mjs +3 -3
- package/esm2020/lib/validations/validation-text-area/validation-text-area.component.mjs +3 -3
- package/fesm2015/esfaenza-forms-and-validations.mjs +76 -69
- package/fesm2015/esfaenza-forms-and-validations.mjs.map +1 -1
- package/fesm2020/esfaenza-forms-and-validations.mjs +76 -69
- package/fesm2020/esfaenza-forms-and-validations.mjs.map +1 -1
- package/lib/forms/form-adaptive/form-adaptive.component.d.ts +8 -3
- package/package.json +1 -1
|
@@ -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
|
}
|