@carefirst/library 2.0.29 → 2.0.30
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/form-input/form-input.component.mjs +13 -3
- package/esm2022/lib/utils/form-validators-utility.mjs +10 -1
- package/fesm2022/carefirst-library.mjs +129 -111
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/form-input/form-input.component.d.ts +4 -2
- package/lib/utils/form-validators-utility.d.ts +1 -0
- package/package.json +1 -1
@@ -9,8 +9,8 @@ declare const inputsC: {
|
|
9
9
|
};
|
10
10
|
export declare class FormInputComponent implements OnChanges {
|
11
11
|
label: string;
|
12
|
-
min: number |
|
13
|
-
max: number |
|
12
|
+
min: string | number | undefined;
|
13
|
+
max: string | number | undefined;
|
14
14
|
labelPlacement?: (typeof inputsC.labelPlacement)[number];
|
15
15
|
placeholder?: string | undefined;
|
16
16
|
inputmode?: (typeof inputsC.inputMode)[number];
|
@@ -31,6 +31,8 @@ export declare class FormInputComponent implements OnChanges {
|
|
31
31
|
inputAutoCapitalize: typeof this.autoCapitalize;
|
32
32
|
inputGreyBackground: boolean;
|
33
33
|
showPassword: boolean;
|
34
|
+
dateValidatorMin: string | null;
|
35
|
+
dateValidatorMax: string | null;
|
34
36
|
ngOnChanges(changes: SimpleChanges): void;
|
35
37
|
togglePasswordShow(): void;
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
@@ -5,4 +5,5 @@ export declare class CFPFormValidators {
|
|
5
5
|
static asEmail(canBeEmpty?: true): ValidatorFn;
|
6
6
|
static isIn(list: (string | number)[]): ValidatorFn;
|
7
7
|
static isSAIDNumber(canBeEmpty?: true): ValidatorFn;
|
8
|
+
static isValidDate(minDate: string | null, maxDate?: string | null): ValidatorFn;
|
8
9
|
}
|