@leanix/components 0.3.91 → 0.3.93
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/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;
|