@arsedizioni/ars-utils 19.0.103 → 19.0.104

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.
@@ -669,6 +669,10 @@ class PromptDialogComponent {
669
669
  this.dialogService.error("Ci sono degli errori da correggere.");
670
670
  return;
671
671
  }
672
+ if (this.dialogData.type === 1 && this.value.getYear() > 9999) {
673
+ this.dialogService.error("Anno non valido.");
674
+ return;
675
+ }
672
676
  this.done.emit({ value: this.value, options: this.dialogData.options });
673
677
  }
674
678
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: PromptDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }