@leanix/components 0.3.91 → 0.3.93
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/forms-ui/components/date-input/date-input.component.mjs +3 -3
- package/esm2020/lib/forms-ui/validators/string-not-in-array.validator.mjs +17 -5
- package/fesm2015/leanix-components.mjs +19 -8
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +19 -8
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/forms-ui/validators/string-not-in-array.validator.d.ts +4 -2
- package/package.json +1 -1
@@ -1,5 +1,7 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
1
|
+
import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
|
2
|
+
import { Observable } from 'rxjs';
|
2
3
|
/**
|
3
4
|
* Validates that a string is not inside an array of strings
|
4
5
|
*/
|
5
|
-
export declare function ValidateStringNotInArray(array: string[], valueMapFunction?: (value: string) => string): ValidatorFn;
|
6
|
+
export declare function ValidateStringNotInArray(array: string[], valueMapFunction?: (value: string) => string, validatorName?: string): ValidatorFn;
|
7
|
+
export declare function ValidateStringNotInArrayAsync(array$: Observable<string[]>, valueMapFunction?: (value: string) => string, validatorName?: string): AsyncValidatorFn;
|