@codetectonics/mantle 1.0.12 → 1.0.13
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/index.d.ts
CHANGED
|
@@ -1003,14 +1003,18 @@ declare class NumberInputComponent implements ControlValueAccessor, Validator, O
|
|
|
1003
1003
|
disable: boolean;
|
|
1004
1004
|
required: boolean;
|
|
1005
1005
|
error: string | undefined;
|
|
1006
|
-
value:
|
|
1006
|
+
value: number | null;
|
|
1007
1007
|
errorMessage: string | undefined;
|
|
1008
1008
|
constructor();
|
|
1009
|
-
onChange: (newValue:
|
|
1010
|
-
registerOnChange(fn: (newValue:
|
|
1009
|
+
onChange: (newValue: number | null) => void;
|
|
1010
|
+
registerOnChange(fn: (newValue: number | null) => void): void;
|
|
1011
1011
|
onTouched: () => void;
|
|
1012
1012
|
registerOnTouched(fn: () => void): void;
|
|
1013
1013
|
ngOnChanges(): void;
|
|
1014
|
+
/**
|
|
1015
|
+
* Utility: safely coerce input into number or null
|
|
1016
|
+
*/
|
|
1017
|
+
private coerceToNumber;
|
|
1014
1018
|
writeValue(newValue: any): void;
|
|
1015
1019
|
onValueChanged(event: any): void;
|
|
1016
1020
|
validate(control: AbstractControl): ValidationErrors | null;
|