@esfaenza/forms-and-validations 15.2.50 → 15.2.52

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,5 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, SimpleChanges } from "@angular/core";
2
- import { ControlValueAccessor, NgControl } from "@angular/forms";
2
+ import { ControlValueAccessor, NgControl, ValidatorFn } from "@angular/forms";
3
3
  import { LocalizationService } from "@esfaenza/localizations";
4
4
  import { DateService, UtilityService } from "@esfaenza/extensions";
5
5
  import { AccessControlService, ComponentContext } from '@esfaenza/access-control';
@@ -62,6 +62,8 @@ export declare class FormAdaptiveComponent extends BaseFormControl implements Co
62
62
  }[];
63
63
  /** Solo per gli input di tipo "date". Capisce che modalità usare per il validation-date sottostante */
64
64
  useJsDates: boolean;
65
+ /** Variabile interna che salva il valore degli input float prima dell'aggiustamento */
66
+ private floatValuePreAdjustmente;
65
67
  /** @ignore Costruttore */
66
68
  constructor(cdr: ChangeDetectorRef, utiExts: UtilityService, datesExts: DateService, dateAdapter: NgxMatDateAdapter<any>, lc: LocalizationService, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string, FAV_DEBUG_MODE: boolean);
67
69
  IntPattern: string;
@@ -74,6 +76,11 @@ export declare class FormAdaptiveComponent extends BaseFormControl implements Co
74
76
  */
75
77
  private nvl;
76
78
  ngOnInit(): void;
79
+ /**
80
+ * Validator that requires the control's value to match a regex pattern.
81
+ * See `Validators.pattern` for additional information.
82
+ */
83
+ customPatternValidator(pattern: string | RegExp): ValidatorFn;
77
84
  /** @ignore */
78
85
  ngOnChanges(changes: SimpleChanges): Promise<void>;
79
86
  /** @ignore */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/forms-and-validations",
3
- "version": "15.2.50",
3
+ "version": "15.2.52",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"