Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngneat/reactive-forms

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngneat/reactive-forms - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

2

esm2015/lib/control-actions.js

@@ -72,2 +72,2 @@ import { defer, merge, of } from 'rxjs';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC1hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nbmVhdC9yZWFjdGl2ZS1mb3Jtcy8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9sLWFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQWMsRUFBRSxFQUFnQixNQUFNLE1BQU0sQ0FBQztBQUNsRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFLM0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFFN0MsU0FBUyxlQUFlLENBQUksT0FBMkI7SUFDckQsSUFBSyxPQUFlLENBQUMsV0FBVyxFQUFFO1FBQ2hDLE9BQVEsT0FBZSxDQUFDLFdBQVcsRUFBRSxDQUFDO0tBQ3ZDO0lBQ0QsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDO0FBQ3ZCLENBQUM7QUFFRCxTQUFTLGFBQWEsQ0FBQyxDQUEwQixFQUFFLENBQTBCO0lBQzNFLElBQUksS0FBSyxDQUFDLENBQUMsQ0FBQyxJQUFJLEtBQUssQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUN4QixPQUFPLENBQUMsS0FBSyxDQUFDLENBQ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PFQ+LFxuICAgIHZhbGlkYXRvck9yT3B0cz86IFZhbGlkYXRvckZuIHwgVmFsaWRhdG9yRm5bXSB8IEFic3RyYWN0Q29udHJvbE9wdGlvbnMgfCBudWxsLFxuICAgIGFzeW5jVmFsaWRhdG9yPzogQXN5bmNWYWxpZGF0b3JGbiB8IEFzeW5jVmFsaWRhdG9yRm5bXSB8IG51bGxcbiAgKTogRm9ybUNvbnRyb2w8VCwgRT4ge1xuICAgIHJldHVybiBuZXcgRm9ybUNvbnRyb2woZm9ybVN0YXRlLCB2YWxpZGF0b3JPck9wdHMsIGFzeW5jVmFsaWRhdG9yKTtcbiAgfVxuXG4gIGFycmF5PFQsIEUgZXh0ZW5kcyBvYmplY3QgPSBhbnk+KFxuICAgIGNvbnRyb2xzQ29uZmlnOiBGYkNvbnRyb2xDb25maWc8VD5bXSxcbiAgICB2YWxpZGF0b3JPck9wdHM/OiBWYWxpZGF0b3JGbiB8IFZhbGlkYXRvckZuW10gfCBBYnN0cmFjdENvbnRyb2xPcHRpb25zIHwgbnVsbCxcbiAgICBhc3luY1ZhbGlkYXRvcj86IEFzeW5jVmFsaWRhdG9yRm4gfCBBc3luY1ZhbGlkYXRvckZuW10gfCBudWxsXG4gICk6IEZvcm1BcnJheTxULCBFPiB7XG4gICAgY29uc3QgY29udHJvbHMgPSBjb250cm9sc0NvbmZpZy5tYXAoYyA9PiAodGhpcyBhcyBhbnkpLl9jcmVhdGVDb250cm9sKGMpKTtcbiAgICByZXR1cm4gbmV3IEZvcm1BcnJheShjb250cm9scywgdmFsaWRhdG9yT3JPcHRzLCBhc3luY1ZhbGlkYXRvcik7XG4gIH1cbn1cbiJdfQ==

@@ -110,2 +110,2 @@ import { FormControl as NgFormControl } from '@angular/forms';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybUNvbnRyb2wuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmduZWF0L3JlYWN0aXZlLWZvcm1zLy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FjdDxULCBzdHJpbmcgJiBudW1iZXIgJiBib29sZWFuICYgb2JqZWN0ICYgbnVsbCAmIHVuZGVmaW5lZD4gPyBhbnkgOiBuZXZlcjtcbmV4cG9ydCB0eXBlIENvbnRyb2w8VCBleHRlbmRzIG9iamVjdD4gPSBUICYgVW5pcVRva2VuO1xuXG5leHBvcnQgdHlwZSBDb250cm9sVHlwZTxUPiA9IFtUXSBleHRlbmRzIFtFeHRyYWN0QW55PFQ+XVxuICA/IEZvcm1Db250cm9sPGFueT4gfCBGb3JtR3JvdXA8YW55PiB8IEZvcm1BcnJheTxhbnk+XG4gIDogW1RdIGV4dGVuZHMgW0NvbnRyb2w8aW5mZXIgVHlwZT5dXG4gID8gRm9ybUNvbnRyb2w8VHlwZT5cbiAgOiBbVF0gZXh0ZW5kcyBbQXJyYXk8aW5mZXIgSXRlbVR5cGU+XVxuICA/IEZvcm1BcnJheTxJdGVtVHlwZT4gfCBGb3JtQ29udHJvbDxUPlxuICA6IFtUXSBleHRlbmRzIFtvYmplY3RdXG4gID8gRm9ybUdyb3VwPFQ+IHwgRm9ybUNvbnRyb2w8VD5cbiAgOiBGb3JtQ29udHJvbDxUPjtcbiJdfQ==

@@ -34,2 +34,2 @@ import { Validators as NgValidators } from '@angular/forms';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ25lYXQvcmVhY3RpdmUtZm9ybXMvIiwic291cmNlcyI6WyJsaWIvdmFsaWRhdG9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxJQUFJLFlBQVksRUFBbUIsTUFBTSxnQkFBZ0IsQ0FBQztBQUc3RSxNQUFNLE9BQU8sVUFBVyxTQUFRLFlBQVk7SUFDMUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxPQUF3QjtRQUN0QyxPQUFPLFlBQVks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hdG9yczogbnVsbCk6IG51bGw7XG4gIHN0YXRpYyBjb21wb3NlPEUgZXh0ZW5kcyBvYmplY3QgPSBhbnk+KHZhbGlkYXRvcnM6IChWYWxpZGF0b3JGbiB8IG51bGwgfCB1bmRlZmluZWQpW10pOiBWYWxpZGF0b3JGbjxFPiB8IG51bGw7XG4gIHN0YXRpYyBjb21wb3NlPEUgZXh0ZW5kcyBvYmplY3QgPSBhbnk+KHZhbGlkYXRvcnM6IChWYWxpZGF0b3JGbiB8IG51bGwgfCB1bmRlZmluZWQpW10gfCBudWxsKTogVmFsaWRhdG9yRm48RT4gfCBudWxsIHtcbiAgICByZXR1cm4gTmdWYWxpZGF0b3JzLmNvbXBvc2UodmFsaWRhdG9ycykgYXMgVmFsaWRhdG9yRm48RT4gfCBudWxsO1xuICB9XG5cbiAgc3RhdGljIGNvbXBvc2VBc3luYzxFIGV4dGVuZHMgb2JqZWN0ID0gYW55Pih2YWxpZGF0b3JzOiAoQXN5bmNWYWxpZGF0b3JGbjxFPiB8IG51bGwpW10pIHtcbiAgICByZXR1cm4gTmdWYWxpZGF0b3JzLmNvbXBvc2VBc3luYyh2YWxpZGF0b3JzKSBhcyBBc3luY1ZhbGlkYXRvckZuPEU+IHwgbnVsbDtcbiAgfVxufVxuIl19

@@ -73,2 +73,2 @@ import { __read, __spread } from "tslib";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC1hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nbmVhdC9yZWFjdGl2ZS1mb3Jtcy8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9sLWFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFjLEVBQUUsRUFBZ0IsTUFBTSxNQUFNLENBQUM7QUFDbEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLEdBQUcsR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lZDtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGhhc0Vycm9yQW5kRGlydHk8VD4oY29udHJvbDogQWJzdHJhY3RDb250cm9sPFQ+LCBlcnJvcjogc3RyaW5nLCBwYXRoPzogQ29udHJvbFBhdGgpOiBib29sZWFuIHtcbiAgY29uc3QgaGFzRXJyb3IgPSBjb250cm9sLmhhc0Vycm9yKGVycm9yLCAhcGF0aCB8fCBwYXRoLmxlbmd0aCA9PT0gMCA/IHVuZGVmaW5lZCA6IHBhdGgpO1xuICByZXR1cm4gaGFzRXJyb3IgJiYgY29udHJvbC5kaXJ0eTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG1hcmtBbGxEaXJ0eTxUPihjb250cm9sOiBGb3JtQXJyYXk8VD4gfCBGb3JtR3JvdXA8VD4pOiB2b2lkIHtcbiAgY29udHJvbC5tYXJrQXNEaXJ0eSh7IG9ubHlTZWxmOiB0cnVlIH0pO1xuICAoY29udHJvbCBhcyBhbnkpLl9mb3JFYWNoQ2hpbGQoY29udHJvbCA9PiBjb250cm9sLm1hcmtBbGxBc0RpcnR5KCkpO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gc2VsZWN0Q29udHJvbFZhbHVlJDxULCBSPihcbiAgY29udHJvbDogRm9ybUdyb3VwPFQ+IHwgRm9ybUFycmF5PFQ+IHwgRm9ybUNvbnRyb2w8VD4sXG4gIG1hcEZuOiAoc3RhdGU6IFQgfCBUW10pID0+IFJcbik6IE9ic2VydmFibGU8Uj4ge1xuICByZXR1cm4gKGNvbnRyb2wudmFsdWVDaGFuZ2VzJCBhcyBPYnNlcnZhYmxlPGFueT4pLnBpcGUobWFwKG1hcEZuKSwgZGlzdGluY3RVbnRpbENoYW5nZWQoKSk7XG59XG4iXX0=

@@ -15,2 +15,2 @@ var ControlValueAccessor = /** @class */ (function () {

export { ControlValueAccessor };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbFZhbHVlQWNj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ICAgIGNvbnN0IGNvbnRyb2xzID0gY29udHJvbHNDb25maWcubWFwKGMgPT4gKHRoaXMgYXMgYW55KS5fY3JlYXRlQ29udHJvbChjKSk7XG4gICAgcmV0dXJuIG5ldyBGb3JtQXJyYXkoY29udHJvbHMsIHZhbGlkYXRvck9yT3B0cywgYXN5bmNWYWxpZGF0b3IpO1xuICB9XG59XG4iXX0=

@@ -120,2 +120,2 @@ import { __extends, __read, __spread } from "tslib";

export { FormControl };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybUNvbnRyb2wuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmduZWF0L3JlYWN0aXZlLWZvcm1zLyIsInNvdXJjZXMiOlsibGliL2Zvcm1Db250cm9sLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsV0FBVyxJQUFJLGFBQWEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzlELE9BQU8sRUFBRSxZQUFZLEVBQWMsT0FBTyxFQUFnQixNQUFNLE1BQU0sQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RCxPQUFPLEVBQ0wsZ0JBQWdCLEVBQ2hCLG9CQUFvQixFQUNwQixlQUFlLEVBQ2YsbUJBQW1CLEVBQ25CLG9CQUFvQixFQUNwQixxQkFBcUIsRUFDckIsb0JBQW9CLEVBQ3BCLGNBQWMsRUFDZCxhQUFhLEVBQ2IsZ0JBQWdCLEVBQ2hCLGtCQUFrQixFQUNsQixzQkFBc0IsRUFDdEIsbUJBQW1CLEVBQ25CLGlCQUFpQixFQUNsQixNQUFNLG1CQUFtQixDQUFDO0FBYzNCLE9BQU8sRUFBRSxXQUFXLEVBQUUsVUFBVSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBRWxEO0lBQWtFLCtCQUFhO0lBb0I3RSxxQkFDRSxTQUE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T4+KGVycm9yQ29kZTogSyk6IEVbS10gfCBudWxsIHtcbiAgICByZXR1cm4gc3VwZXIuZ2V0RXJyb3IoZXJyb3JDb2RlKSBhcyBFW0tdIHwgbnVsbDtcbiAgfVxuXG4gIGhhc0Vycm9yPEsgZXh0ZW5kcyBFeHRyYWN0U3RyaW5nczxFPj4oZXJyb3JDb2RlOiBLKSB7XG4gICAgcmV0dXJuIHN1cGVyLmhhc0Vycm9yKGVycm9yQ29kZSk7XG4gIH1cblxuICBzZXRFcnJvcnMoZXJyb3JzOiBQYXJ0aWFsPEU+IHwgbnVsbCwgb3B0czogRW1pdEV2ZW50ID0ge30pIHtcbiAgICByZXR1cm4gc3VwZXIuc2V0RXJyb3JzKGVycm9ycywgb3B0cyk7XG4gIH1cblxuICBoYXNFcnJvckFuZFRvdWNoZWQoZXJyb3I6IEV4dHJhY3RTdHJpbmdzPEU+KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIGhhc0Vycm9yQW5kVG91Y2hlZCh0aGlzLCBlcnJvcik7XG4gIH1cblxuICBoYXNFcnJvckFuZERpcnR5KGVycm9yOiBFeHRyYWN0U3RyaW5nczxFPik6IGJvb2xlYW4ge1xuICAgIHJldHVybiBoYXNFcnJvckFuZERpcnR5KHRoaXMsIGVycm9yKTtcbiAgfVxuXG4gIHNldEVuYWJsZShlbmFibGUgPSB0cnVlLCBvcHRzPzogQ29udHJvbEV2ZW50T3B0aW9ucykge1xuICAgIGVuYWJsZUNvbnRyb2wodGhpcywgZW5hYmxlLCBvcHRzKTtcbiAgfVxuXG4gIHNldERpc2FibGUoZGlzYWJsZSA9IHRydWUsIG9wdHM/OiBDb250cm9sRXZlbnRPcHRpb25zKSB7XG4gICAgZGlzYWJsZUNvbnRyb2wodGhpcywgZGlzYWJsZSwgb3B0cyk7XG4gIH1cbn1cbiJdfQ==

@@ -154,2 +154,2 @@ import { __extends, __read, __spread } from "tslib";

export { FormGroup };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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zLmNvbXBvc2UodmFsaWRhdG9ycykgYXMgVmFsaWRhdG9yRm48RT4gfCBudWxsO1xuICB9XG5cbiAgc3RhdGljIGNvbXBvc2VBc3luYzxFIGV4dGVuZHMgb2JqZWN0ID0gYW55Pih2YWxpZGF0b3JzOiAoQXN5bmNWYWxpZGF0b3JGbjxFPiB8IG51bGwpW10pIHtcbiAgICByZXR1cm4gTmdWYWxpZGF0b3JzLmNvbXBvc2VBc3luYyh2YWxpZGF0b3JzKSBhcyBBc3luY1ZhbGlkYXRvckZuPEU+IHwgbnVsbDtcbiAgfVxufVxuIl19

@@ -1,2 +0,1 @@

import { ValidationErrors } from '@angular/forms';
import { Observable, Subscription } from 'rxjs';

@@ -7,3 +6,2 @@ import { FormArray } from './formArray';

import { AbstractControl, ControlOptions, ControlState, ValidatorFn, ControlPath } from './types';
declare type getControlType<T> = T extends AbstractControl<infer U> ? U : unknown;
export declare function controlValueChanges$<T>(control: AbstractControl<T>): Observable<T>;

@@ -13,3 +11,3 @@ export declare function controlDisabled$<T>(control: AbstractControl<T>): Observable<boolean>;

export declare function controlStatusChanges$<T>(control: AbstractControl<T>): Observable<ControlState>;
export declare function controlErrorChanges$<T, E = ValidationErrors>(control: AbstractControl<T>): Observable<E | null>;
export declare function controlErrorChanges$<E>(control: AbstractControl): Observable<E | null>;
export declare function enableControl<T>(control: AbstractControl<T>, enabled: boolean, opts?: ControlOptions): void;

@@ -19,3 +17,3 @@ export declare function disableControl<T>(control: AbstractControl<T>, disabled: boolean, opts?: ControlOptions): void;

export declare function controlEnabledWhile<T>(control: AbstractControl<T>, observable: Observable<boolean>, opts?: ControlOptions): Subscription;
export declare function mergeControlValidators<T, Control extends AbstractControl<T>, Validator extends ValidatorFn<T>>(control: Control, validators: ValidatorFn<getControlType<Control>> | ValidatorFn<getControlType<Control>>[]): void;
export declare function mergeControlValidators<T, Control extends AbstractControl<T>, Validator extends ValidatorFn>(control: Control, validators: ValidatorFn | ValidatorFn[]): void;
export declare function validateControlOn<T>(control: AbstractControl<T>, validation: Observable<null | object>): Subscription;

@@ -26,2 +24,1 @@ export declare function hasErrorAndTouched<T>(control: AbstractControl<T>, error: string, path?: ControlPath): boolean;

export declare function selectControlValue$<T, R>(control: FormGroup<T> | FormArray<T> | FormControl<T>, mapFn: (state: T | T[]) => R): Observable<R>;
export {};
import { ControlValueAccessor as NgControlValueAccessor } from '@angular/forms';
export declare abstract class ControlValueAccessor<T = any> implements NgControlValueAccessor {
abstract writeValue(value: T): void;
onChange: (value: T) => void;
onTouched: () => void;
onChange?: (value: T) => void;
onTouched?: () => void;
registerOnChange(fn: (value: T | null) => void): void;
registerOnTouched(fn: () => void): void;
}
import { FormArray as NgFormArray } from '@angular/forms';
import { Observable, Subscription } from 'rxjs';
import { AbstractControlOptions, AsyncValidatorFn, ControlOptions, ExtractStrings, ControlEventOptions, ValidationErrors, ValidatorFn, ControlType, ControlPath, EmitEvent, OnlySelf, ControlState } from './types';
import { AbstractControlOptions, AsyncValidatorFn, ControlOptions, ExtractStrings, ControlEventOptions, ValidatorFn, ControlType, ControlPath, EmitEvent, OnlySelf, ControlState } from './types';
export declare class FormArray<T = any, E extends object = any> extends NgFormArray {

@@ -10,4 +10,4 @@ controls: Array<ControlType<T>>;

statusChanges: Observable<ControlState>;
errors: ValidationErrors<E> | null;
asyncValidator: AsyncValidatorFn<T[], E> | null;
errors: E | null;
asyncValidator: AsyncValidatorFn | null;
private touchChanges;

@@ -22,3 +22,3 @@ private dirtyChanges;

errorChanges$: Observable<E>;
constructor(controls: Array<ControlType<T>>, validatorOrOpts?: ValidatorFn<T[], E> | ValidatorFn<T[], E>[] | AbstractControlOptions<T[], E> | null, asyncValidator?: AsyncValidatorFn<T[], E> | AsyncValidatorFn<T[], E>[] | null);
constructor(controls: Array<ControlType<T>>, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null);
select<R>(mapFn: (state: T[]) => R): Observable<R>;

@@ -37,4 +37,4 @@ getRawValue(): T[];

enabledWhile(observable: Observable<boolean>, options?: ControlOptions): Subscription;
mergeValidators(validators: ValidatorFn<T[], E> | ValidatorFn<T[], E>[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn<T[], E> | AsyncValidatorFn<T[], E>[]): void;
mergeValidators(validators: ValidatorFn | ValidatorFn[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn | AsyncValidatorFn[]): void;
markAsTouched(opts?: OnlySelf): void;

@@ -46,4 +46,4 @@ markAsUntouched(opts?: OnlySelf): void;

reset(value?: T[], options?: ControlEventOptions): void;
setValidators(newValidator: ValidatorFn<T[], Partial<E>> | ValidatorFn<T[], Partial<E>>[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn<T[], Partial<E>> | AsyncValidatorFn<T[], Partial<E>>[] | null): void;
setValidators(newValidator: ValidatorFn | ValidatorFn[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn | AsyncValidatorFn[] | null): void;
validateOn(observableValidation: Observable<null | object>): Subscription;

@@ -50,0 +50,0 @@ hasError(errorCode: ExtractStrings<E>, path?: ControlPath): boolean;

@@ -6,12 +6,12 @@ import { FormBuilder as NgFormBuilder } from '@angular/forms';

import { AbstractControlOptions, AsyncValidatorFn, ControlType, OrBoxedValue, ValidatorFn } from './types';
export declare type FbControlConfig<T = any> = ControlType<T> | [OrBoxedValue<T>, ValidatorFn<T> | ValidatorFn<T>[] | null, AsyncValidatorFn<T> | AsyncValidatorFn<T>[] | null] | [OrBoxedValue<T>, ValidatorFn<T> | ValidatorFn<T>[] | AbstractControlOptions<T> | null] | [T | OrBoxedValue<T>] | OrBoxedValue<T> | T;
export declare type FbControlConfig<T = any> = ControlType<T> | [OrBoxedValue<T>, ValidatorFn | ValidatorFn[] | null, AsyncValidatorFn | AsyncValidatorFn[] | null] | [OrBoxedValue<T>, ValidatorFn | ValidatorFn[] | AbstractControlOptions<T> | null] | [T | OrBoxedValue<T>] | OrBoxedValue<T> | T;
export declare class FormBuilder extends NgFormBuilder {
group<T extends object, E extends object = any>(controlsConfig: {
[K in keyof T]: FbControlConfig<T[K]>;
}, options?: AbstractControlOptions<T, E> | {
validator?: ValidatorFn<T, E> | ValidatorFn<T, E>[];
asyncValidator?: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[];
}, options?: AbstractControlOptions | {
validator?: ValidatorFn | ValidatorFn[];
asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[];
} | null): FormGroup<T, E>;
control<T, E extends object = any>(formState: OrBoxedValue<T>, validatorOrOpts?: ValidatorFn<T, E> | ValidatorFn<T, E>[] | AbstractControlOptions<T, E> | null, asyncValidator?: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[] | null): FormControl<T, E>;
array<T, E extends object = any>(controlsConfig: FbControlConfig<T>[], validatorOrOpts?: ValidatorFn<T[], E> | ValidatorFn<T[], E>[] | AbstractControlOptions<T[], E> | null, asyncValidator?: AsyncValidatorFn<T[], E> | AsyncValidatorFn<T[], E>[] | null): FormArray<T, E>;
control<T, E extends object = any>(formState: OrBoxedValue<T>, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl<T, E>;
array<T, E extends object = any>(controlsConfig: FbControlConfig<T>[], validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormArray<T, E>;
}
import { FormControl as NgFormControl } from '@angular/forms';
import { Observable, Subscription } from 'rxjs';
import { AbstractControlOptions, AsyncValidatorFn, ControlEventOptions, ControlOptions, EmitEvent, ExtractStrings, OnlySelf, OrBoxedValue, ValidationErrors, ValidatorFn, ControlState } from './types';
import { AbstractControlOptions, AsyncValidatorFn, ControlEventOptions, ControlOptions, EmitEvent, ExtractStrings, OnlySelf, OrBoxedValue, ValidatorFn, ControlState } from './types';
export declare class FormControl<T = any, E extends object = any> extends NgFormControl {
value: T;
errors: ValidationErrors<E> | null;
asyncValidator: AsyncValidatorFn<T, E>;
errors: E | null;
asyncValidator: AsyncValidatorFn<E>;
valueChanges: Observable<T>;

@@ -20,3 +20,3 @@ status: ControlState;

errorChanges$: Observable<E>;
constructor(formState?: OrBoxedValue<T>, validatorOrOpts?: ValidatorFn<T, E> | ValidatorFn<T, E>[] | AbstractControlOptions<T, E> | null, asyncValidator?: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[] | null);
constructor(formState?: OrBoxedValue<T>, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null);
select<R>(mapFn: (state: T) => R): Observable<R>;

@@ -30,4 +30,4 @@ setValue(valueOrObservable: Observable<T>, options?: ControlOptions): Subscription;

enabledWhile(observable: Observable<boolean>, options?: ControlOptions): Subscription;
mergeValidators(validators: ValidatorFn<T, E> | ValidatorFn<T, E>[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[]): void;
mergeValidators(validators: ValidatorFn | ValidatorFn[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn | AsyncValidatorFn[]): void;
markAsTouched(opts?: OnlySelf): void;

@@ -39,4 +39,4 @@ markAsUntouched(opts?: OnlySelf): void;

reset(formState?: OrBoxedValue<T>, options?: ControlEventOptions): void;
setValidators(newValidator: ValidatorFn<T, Partial<E>> | ValidatorFn<T, Partial<E>>[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn<T, Partial<E>> | AsyncValidatorFn<T, Partial<E>>[] | null): void;
setValidators(newValidator: ValidatorFn | ValidatorFn[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn | AsyncValidatorFn[] | null): void;
validateOn(observableValidation: Observable<null | object>): Subscription;

@@ -43,0 +43,0 @@ getError<K extends ExtractStrings<E>>(errorCode: K): E[K] | null;

import { FormGroup as NgFormGroup } from '@angular/forms';
import { Observable, Subscription } from 'rxjs';
import { AbstractControl, AbstractControlOptions, AsyncValidatorFn, ControlEventOptions, ControlOptions, ControlType, EmitEvent, ExtractStrings, ValidationErrors, ValidatorFn, ControlState, OnlySelf } from './types';
import { AbstractControl, AbstractControlOptions, AsyncValidatorFn, ControlEventOptions, ControlOptions, ControlType, EmitEvent, ExtractStrings, ValidatorFn, ControlState, OnlySelf } from './types';
export declare class FormGroup<T = any, E extends object = any> extends NgFormGroup {

@@ -9,3 +9,3 @@ controls: {

value: T;
errors: ValidationErrors<E> | null;
errors: E | null;
valueChanges: Observable<T>;

@@ -25,3 +25,3 @@ status: ControlState;

[K in keyof T]: ControlType<T[K]>;
}, validatorOrOpts?: ValidatorFn<T, E> | ValidatorFn<T, E>[] | AbstractControlOptions<T, E> | null, asyncValidator?: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[] | null);
}, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null);
select<R>(mapFn: (state: T) => R): Observable<R>;

@@ -48,4 +48,4 @@ getRawValue(): T;

enabledWhile(observable: Observable<boolean>, options?: ControlOptions): Subscription;
mergeValidators(validators: ValidatorFn<T, E> | ValidatorFn<T, E>[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[]): void;
mergeValidators(validators: ValidatorFn | ValidatorFn[]): void;
mergeAsyncValidators(validators: AsyncValidatorFn | AsyncValidatorFn[]): void;
markAsTouched(opts?: OnlySelf): void;

@@ -57,4 +57,4 @@ markAsUntouched(opts?: OnlySelf): void;

reset(formState?: T, options?: ControlEventOptions): void;
setValidators(newValidator: ValidatorFn<T> | ValidatorFn<T>[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn<T> | AsyncValidatorFn<T>[] | null): void;
setValidators(newValidator: ValidatorFn | ValidatorFn[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn | AsyncValidatorFn[] | null): void;
validateOn(observableValidation: Observable<null | object>): Subscription;

@@ -61,0 +61,0 @@ hasError<K1 extends keyof T>(errorCode: ExtractStrings<E>, path?: [K1]): boolean;

@@ -6,14 +6,14 @@ import { AbstractControl as AngularAbstractControl, Validator as NgValidator } from '@angular/forms';

import { FormArray } from './formArray';
export interface Validator<T = any, E extends object = any> extends NgValidator {
validate(control: AbstractControl<T>): ValidationErrors<Partial<E>> | null;
export interface Validator<E extends object = any> extends NgValidator {
validate(control: AbstractControl): Partial<E> | null;
}
export interface ValidatorFn<T = any, E extends object = any> {
(control: AbstractControl<T>): ValidationErrors<Partial<E>> | null;
export interface ValidatorFn<E extends object = any> {
(control: AbstractControl): Partial<E> | null;
}
export interface AsyncValidatorFn<T = any, E extends object = any> {
(control: AbstractControl<T>): Promise<ValidationErrors<Partial<E>> | null> | Observable<ValidationErrors<Partial<E>> | null>;
export interface AsyncValidatorFn<E extends object = any> {
(control: AbstractControl): Promise<Partial<E> | null> | Observable<Partial<E> | null>;
}
export interface AbstractControlOptions<T = any, E extends object = any> {
validators?: ValidatorFn<T, Partial<E>> | ValidatorFn<T, Partial<E>>[] | null;
asyncValidators?: AsyncValidatorFn<T, Partial<E>> | AsyncValidatorFn<T, Partial<E>>[] | null;
validators?: ValidatorFn<Partial<E>> | ValidatorFn<Partial<E>>[] | null;
asyncValidators?: AsyncValidatorFn<E> | AsyncValidatorFn<E>[] | null;
updateOn?: 'change' | 'blur' | 'submit';

@@ -34,8 +34,4 @@ }

value: T;
validator: ValidatorFn<T> | null;
asyncValidator: AsyncValidatorFn<T> | null;
setValue(value: T, options?: ControlOptions): void;
patchValue(value: Partial<T>, options?: ControlOptions): void;
setValidators(newValidator: ValidatorFn<T> | ValidatorFn<T>[] | null): void;
setAsyncValidators(newValidator: AsyncValidatorFn<T> | AsyncValidatorFn<T>[] | null): void;
}

@@ -72,3 +68,2 @@ export declare type ExtractStrings<T> = Extract<keyof T, string>;

export declare type OrBoxedValue<T> = T | BoxedValue<T>;
export declare type ValidationErrors<T extends object = any> = T;
declare const uniqueKey: unique symbol;

@@ -80,3 +75,3 @@ interface UniqToken {

export declare type Control<T extends object> = T & UniqToken;
export declare type ControlType<T> = [T] extends [ExtractAny<T>] ? FormControl<any> | FormGroup<any> | FormArray<any> : [T] extends [Control<infer Type>] ? FormControl<Type> : [T] extends [Array<infer ItemType>] ? FormArray<ItemType> : [T] extends [object] ? FormGroup<T> : FormControl<T>;
export declare type ControlType<T> = [T] extends [ExtractAny<T>] ? FormControl<any> | FormGroup<any> | FormArray<any> : [T] extends [Control<infer Type>] ? FormControl<Type> : [T] extends [Array<infer ItemType>] ? FormArray<ItemType> | FormControl<T> : [T] extends [object] ? FormGroup<T> | FormControl<T> : FormControl<T>;
export {};

@@ -13,3 +13,3 @@ import { Validators as NgValidators, AbstractControl } from '@angular/forms';

};
static min<T = any>(min: number): ValidatorFn<T, {
static min(min: number): ValidatorFn<{
min: {

@@ -20,3 +20,3 @@ min: number;

}>;
static max<T = any>(max: number): ValidatorFn<T, {
static max(max: number): ValidatorFn<{
max: {

@@ -27,3 +27,3 @@ max: number;

}>;
static minLength<T = any>(minLength: number): ValidatorFn<T, {
static minLength(minLength: number): ValidatorFn<{
minlength: {

@@ -34,3 +34,3 @@ requiredLength: number;

}>;
static maxLength<T = any>(maxLength: number): ValidatorFn<T, {
static maxLength(maxLength: number): ValidatorFn<{
maxlength: {

@@ -41,3 +41,3 @@ requiredLength: number;

}>;
static pattern<T = any>(pattern: string | RegExp): ValidatorFn<T, {
static pattern(pattern: string | RegExp): ValidatorFn<{
pattern: {

@@ -50,3 +50,3 @@ requiredPattern: string;

static compose<E extends object = any>(validators: (ValidatorFn | null | undefined)[]): ValidatorFn<E> | null;
static composeAsync<E extends object = any>(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn<E, any>;
static composeAsync<E extends object = any>(validators: (AsyncValidatorFn<E> | null)[]): AsyncValidatorFn<E>;
}

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"FormArray":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormArray","line":34,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵb"}]},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"getRawValue":[{"__symbolic":"method"}],"at":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"push":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"setControl":[{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormControl":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormControl","line":34,"character":66},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormGroup":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormGroup","line":36,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":56,"character":21,"module":"./lib/formGroup"},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"getRawValue":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"getControl":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"addControl":[{"__symbolic":"method"}],"removeControl":[{"__symbolic":"method"}],"contains":[{"__symbolic":"method"}],"setControl":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormBuilder":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":26,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":25,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"group":[{"__symbolic":"method"}],"control":[{"__symbolic":"method"}],"array":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"Validators":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":3,"character":32},"members":{},"statics":{"required":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":5,"character":11},"member":"required"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"requiredTrue":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":9,"character":11},"member":"requiredTrue"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"email":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":13,"character":11},"member":"email"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"min":{"__symbolic":"function","parameters":["min"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":17,"character":11},"member":"min"},"arguments":[{"__symbolic":"reference","name":"min"}]}},"max":{"__symbolic":"function","parameters":["max"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":21,"character":11},"member":"max"},"arguments":[{"__symbolic":"reference","name":"max"}]}},"minLength":{"__symbolic":"function","parameters":["minLength"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":25,"character":11},"member":"minLength"},"arguments":[{"__symbolic":"reference","name":"minLength"}]}},"maxLength":{"__symbolic":"function","parameters":["maxLength"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":34,"character":11},"member":"maxLength"},"arguments":[{"__symbolic":"reference","name":"maxLength"}]}},"pattern":{"__symbolic":"function","parameters":["pattern"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":43,"character":11},"member":"pattern"},"arguments":[{"__symbolic":"reference","name":"pattern"}]}},"compose":{"__symbolic":"function","parameters":["validators"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":54,"character":11},"member":"compose"},"arguments":[{"__symbolic":"reference","name":"validators"}]}},"composeAsync":{"__symbolic":"function","parameters":["validators"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":58,"character":11},"member":"composeAsync"},"arguments":[{"__symbolic":"reference","name":"validators"}]}}}},"ɵa":{"__symbolic":"interface"},"ɵb":{"__symbolic":"interface"},"AbstractControl":{"__symbolic":"interface"},"ValidatorFn":{"__symbolic":"interface"},"AsyncValidatorFn":{"__symbolic":"interface"},"NgValidatorsErrors":{"__symbolic":"interface"},"Validator":{"__symbolic":"interface"},"ControlValueAccessor":{"__symbolic":"class","arity":1,"members":{"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}]}}},"origins":{"FormArray":"./lib/formArray","FormControl":"./lib/formControl","FormGroup":"./lib/formGroup","FormBuilder":"./lib/formBuilder","Validators":"./lib/validators","ɵa":"./lib/types","ɵb":"./lib/types","AbstractControl":"./lib/types","ValidatorFn":"./lib/types","AsyncValidatorFn":"./lib/types","NgValidatorsErrors":"./lib/types","Validator":"./lib/types","ControlValueAccessor":"./lib/controlValueAccessor"},"importAs":"@ngneat/reactive-forms"}
{"__symbolic":"module","version":4,"metadata":{"FormArray":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormArray","line":33,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵb"}]},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"getRawValue":[{"__symbolic":"method"}],"at":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"push":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"setControl":[{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormControl":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormControl","line":33,"character":66},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormGroup":{"__symbolic":"class","arity":2,"extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormGroup","line":35,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":55,"character":21,"module":"./lib/formGroup"},{"__symbolic":"reference","name":"ValidatorFn"},{"__symbolic":"reference","name":"AsyncValidatorFn"}]}],"select":[{"__symbolic":"method"}],"getRawValue":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"getControl":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"addControl":[{"__symbolic":"method"}],"removeControl":[{"__symbolic":"method"}],"contains":[{"__symbolic":"method"}],"setControl":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patchValue":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"disabledWhile":[{"__symbolic":"method"}],"enabledWhile":[{"__symbolic":"method"}],"mergeValidators":[{"__symbolic":"method"}],"mergeAsyncValidators":[{"__symbolic":"method"}],"markAsTouched":[{"__symbolic":"method"}],"markAsUntouched":[{"__symbolic":"method"}],"markAsPristine":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}],"markAllAsDirty":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setValidators":[{"__symbolic":"method"}],"setAsyncValidators":[{"__symbolic":"method"}],"validateOn":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setErrors":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"hasErrorAndTouched":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"hasErrorAndDirty":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setEnable":[{"__symbolic":"method"}],"setDisable":[{"__symbolic":"method"}]}},"FormBuilder":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":26,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":25,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"group":[{"__symbolic":"method"}],"control":[{"__symbolic":"method"}],"array":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"Validators":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":3,"character":32},"members":{},"statics":{"required":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":5,"character":11},"member":"required"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"requiredTrue":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":9,"character":11},"member":"requiredTrue"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"email":{"__symbolic":"function","parameters":["control"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":13,"character":11},"member":"email"},"arguments":[{"__symbolic":"reference","name":"control"}]}},"min":{"__symbolic":"function","parameters":["min"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":17,"character":11},"member":"min"},"arguments":[{"__symbolic":"reference","name":"min"}]}},"max":{"__symbolic":"function","parameters":["max"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":21,"character":11},"member":"max"},"arguments":[{"__symbolic":"reference","name":"max"}]}},"minLength":{"__symbolic":"function","parameters":["minLength"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":25,"character":11},"member":"minLength"},"arguments":[{"__symbolic":"reference","name":"minLength"}]}},"maxLength":{"__symbolic":"function","parameters":["maxLength"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":31,"character":11},"member":"maxLength"},"arguments":[{"__symbolic":"reference","name":"maxLength"}]}},"pattern":{"__symbolic":"function","parameters":["pattern"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":37,"character":11},"member":"pattern"},"arguments":[{"__symbolic":"reference","name":"pattern"}]}},"compose":{"__symbolic":"function","parameters":["validators"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":45,"character":11},"member":"compose"},"arguments":[{"__symbolic":"reference","name":"validators"}]}},"composeAsync":{"__symbolic":"function","parameters":["validators"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/forms","name":"Validators","line":49,"character":11},"member":"composeAsync"},"arguments":[{"__symbolic":"reference","name":"validators"}]}}}},"ɵa":{"__symbolic":"interface"},"ɵb":{"__symbolic":"interface"},"AbstractControl":{"__symbolic":"interface"},"ValidatorFn":{"__symbolic":"interface"},"AsyncValidatorFn":{"__symbolic":"interface"},"NgValidatorsErrors":{"__symbolic":"interface"},"Validator":{"__symbolic":"interface"},"ControlValueAccessor":{"__symbolic":"class","arity":1,"members":{"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}]}}},"origins":{"FormArray":"./lib/formArray","FormControl":"./lib/formControl","FormGroup":"./lib/formGroup","FormBuilder":"./lib/formBuilder","Validators":"./lib/validators","ɵa":"./lib/types","ɵb":"./lib/types","AbstractControl":"./lib/types","ValidatorFn":"./lib/types","AsyncValidatorFn":"./lib/types","NgValidatorsErrors":"./lib/types","Validator":"./lib/types","ControlValueAccessor":"./lib/controlValueAccessor"},"importAs":"@ngneat/reactive-forms"}
{
"name": "@ngneat/reactive-forms",
"description": "(Angular Reactive) Forms with Benefits",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"schematics": "./schematics/collection.json",

@@ -6,0 +6,0 @@ "keywords": [

@@ -20,3 +20,3 @@ <p align="center">

Your wish is my command! This library extends every Angular `AbstractControl`, and provides features that don't exist in the original one. It adds types, reactive queries, and helper methods. The most important thing is that you can start using it today! The only thing that you need to change is the import path. So don't worry, no form refactoring required - we've got you covered; One schematics command (link), and you're done!
Your wish is my command! This library extends every Angular `AbstractControl`, and provides features that don't exist in the original one. It adds types, reactive queries, and helper methods. The most important thing is that you can start using it today! The only thing that you need to change is the import path. So don't worry, no form refactoring required - we've got you covered; One schematics [command](https://github.com/ngneat/reactive-forms/blob/master/schematics/src/migrate/migration.md), and you're done!

@@ -32,3 +32,2 @@ Let's take a look at all the neat things we provide:

✅ Typed and DRY `ControlValueAccessor` <br>
✅ Typed Validators <br>
✅ Typed `FormBuilder`

@@ -46,3 +45,2 @@

- [Control Errors](#control-errors)
- [Control Validators](#control-validators)
- [ControlValueAccessor](#control-value-accessor)

@@ -364,4 +362,2 @@ - [Form Builder](#form-builder)

There is no need to infer it! (i.e. no need to add `as FormControl`)
### Control Path

@@ -400,12 +396,2 @@

## Control Validators
The library exposes a **`typed`** version of the built-in Angular validators. In the following example we'll get a type error because `Validator.required` doesn't return the correct type:
```ts
import { FormControl, Validators } from '@ngneat/reactive-forms';
new FormControl<string, { isEqual: false }>('', Validators.required);
```
## ControlValueAccessor

@@ -412,0 +398,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc