@sumaris-net/ngx-components 1.13.0 → 1.13.1
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/bundles/sumaris-net.ngx-components.umd.js +10 -29
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/observables.js +2 -12
- package/esm2015/src/app/shared/validator/validators.js +12 -21
- package/fesm2015/sumaris-net.ngx-components.js +12 -30
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/observables.d.ts +0 -1
- package/src/app/shared/validator/validators.d.ts +0 -5
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -22,4 +22,3 @@ export declare function firstFalse(obs: Observable<boolean>): Observable<void>;
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function waitFor(predicate: Predicate<void>, opts?: WaitForOptions): Promise<void>;
|
|
24
24
|
export declare function waitForTrue(observable: Observable<boolean>, opts?: WaitForOptions): Promise<void>;
|
|
25
|
-
export declare function fromPromise<T>(promise: Promise<T>): Observable<T>;
|
|
@@ -75,11 +75,6 @@ export declare class SharedFormArrayValidators {
|
|
|
75
75
|
export declare type ObservableValidatorFn = (control: AbstractControl) => Observable<ValidationErrors | null>;
|
|
76
76
|
export declare type PromiseValidatorFn = (control: AbstractControl) => Promise<ValidationErrors | null>;
|
|
77
77
|
export declare class SharedAsyncValidators {
|
|
78
|
-
/**
|
|
79
|
-
* Create an observable validator function. Will execute the validator, then cnvert the result into an observable
|
|
80
|
-
* @param validatorFn any validator
|
|
81
|
-
*/
|
|
82
|
-
static of(validatorFn: ValidatorFn | AsyncValidatorFn): ObservableValidatorFn;
|
|
83
78
|
private static DEBOUNCE_TIME_VALIDATOR_ID;
|
|
84
79
|
/**
|
|
85
80
|
* Add a debounce time to a validator.
|