@esfaenza/forms-and-validations 11.2.141 → 11.2.143

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.
@@ -2,21 +2,24 @@ import { ChangeDetectorRef, ElementRef } from "@angular/core";
2
2
  import { ControlValueAccessor, NgControl, Validator, AbstractControl, ValidationErrors } from "@angular/forms";
3
3
  import { AccessControlService, ComponentContext } from '@esfaenza/access-control';
4
4
  import { LocalizationService } from "@esfaenza/localizations";
5
- import { UtilityService } from "@esfaenza/extensions";
5
+ import { MessageService, UtilityService } from "@esfaenza/extensions";
6
6
  import { BaseFormControl } from "../base-form-control";
7
7
  import { AppFile } from "../../models/AppFile";
8
8
  /** Componente che permette all'utente di caricare/scaricare un file all'interno di un campo Input */
9
9
  export declare class FormFileComponent extends BaseFormControl implements ControlValueAccessor, Validator {
10
+ private msgs;
10
11
  private utiExts;
11
12
  lc: LocalizationService;
12
13
  /** Permette di caricare file multipli */
13
14
  Multiple: boolean;
14
15
  /** Permette di scaricare l'eventuale file selezionato */
15
16
  AllowDownload: boolean;
17
+ /** Controllo sulla dimensione di ogni singolo file in Byte. 0 -> nessun limite */
18
+ MaxSize: number;
16
19
  /** Riferimento all'elemento input di tipo file */
17
20
  inputEl: ElementRef;
18
21
  /** @ignore Costruttore */
19
- constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string, lc: LocalizationService, FAV_DEBUG_MODE: boolean);
22
+ constructor(msgs: MessageService, cdr: ChangeDetectorRef, utiExts: UtilityService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string, lc: LocalizationService, FAV_DEBUG_MODE: boolean);
20
23
  ngOnInit(): void;
21
24
  validate(control: AbstractControl): ValidationErrors;
22
25
  /** @ignore */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/forms-and-validations",
3
- "version": "11.2.141",
3
+ "version": "11.2.143",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"