@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.3.91",
3
+ "version": "0.3.93",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {