@firestitch/form 13.3.7 → 13.3.9
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/app/components/confirm-unsaved/confirm-unsaved.component.d.ts +21 -21
- package/app/components/confirm-unsaved/index.d.ts +1 -1
- package/app/components/form-dialog-actions/form-dialog-actions.component.d.ts +22 -22
- package/app/components/form-dialog-actions/index.d.ts +1 -1
- package/app/components/form-template/form-template.component.d.ts +13 -13
- package/app/components/form-template/index.d.ts +1 -1
- package/app/components/form-template-outlet/form-template-outlet.component.d.ts +13 -13
- package/app/components/form-template-outlet/index.d.ts +1 -1
- package/app/components/index.d.ts +4 -4
- package/app/consts/error-messages.const.d.ts +21 -21
- package/app/directives/button.directive.d.ts +35 -35
- package/app/directives/form/form.directive.d.ts +122 -122
- package/app/directives/form/index.d.ts +1 -1
- package/app/directives/form-dialog-close.directive.d.ts +16 -16
- package/app/directives/form-template.directive.d.ts +10 -10
- package/app/directives/index.d.ts +6 -6
- package/app/directives/submit-button.directive.d.ts +6 -6
- package/app/directives/validators/compare.directive.d.ts +15 -15
- package/app/directives/validators/control.directive.d.ts +49 -49
- package/app/directives/validators/daterange.directive.d.ts +13 -13
- package/app/directives/validators/email.directive.d.ts +13 -13
- package/app/directives/validators/emails.directive.d.ts +13 -13
- package/app/directives/validators/function.directive.d.ts +15 -15
- package/app/directives/validators/greater-equal.directive.d.ts +13 -13
- package/app/directives/validators/greater.directive.d.ts +13 -13
- package/app/directives/validators/index.d.ts +22 -22
- package/app/directives/validators/integer.directive.d.ts +13 -13
- package/app/directives/validators/lesser-equal.directive.d.ts +13 -13
- package/app/directives/validators/lesser.directive.d.ts +13 -13
- package/app/directives/validators/max.directive.d.ts +13 -13
- package/app/directives/validators/maxlength.directive.d.ts +13 -13
- package/app/directives/validators/min.directive.d.ts +13 -13
- package/app/directives/validators/minlength.directive.d.ts +13 -13
- package/app/directives/validators/no-fs-validators.directive.d.ts +14 -14
- package/app/directives/validators/numeric.directive.d.ts +13 -13
- package/app/directives/validators/pattern.directive.d.ts +13 -13
- package/app/directives/validators/phone.directive.d.ts +13 -13
- package/app/directives/validators/required.directive.d.ts +16 -16
- package/app/directives/validators/url.directive.d.ts +14 -14
- package/app/directives/validators/validate.directive.d.ts +15 -15
- package/app/enums/confirm-result.d.ts +7 -7
- package/app/enums/form-status.d.ts +10 -10
- package/app/enums/index.d.ts +2 -2
- package/app/fs-form.module.d.ts +44 -44
- package/app/guards/form-deactivate.guard.d.ts +12 -12
- package/app/helpers/confirm-result-continue.d.ts +1 -1
- package/app/helpers/get-active-route.d.ts +2 -2
- package/app/helpers/get-form-errors.d.ts +2 -2
- package/app/helpers/index.d.ts +1 -1
- package/app/helpers/is-enabled.d.ts +1 -1
- package/app/interfaces/async-validator.d.ts +14 -14
- package/app/interfaces/confirm-config.d.ts +7 -7
- package/app/interfaces/confirm-tab-group.d.ts +10 -10
- package/app/interfaces/index.d.ts +4 -4
- package/app/interfaces/submit-event.d.ts +6 -6
- package/app/interfaces/submitted-event.d.ts +7 -7
- package/app/interfaces/validator.d.ts +13 -13
- package/app/providers/validate-messages.provider.d.ts +27 -27
- package/app/services/fsform.service.d.ts +20 -20
- package/app/validators/validators.d.ts +12 -12
- package/esm2020/app/components/confirm-unsaved/confirm-unsaved.component.mjs +43 -43
- package/esm2020/app/components/confirm-unsaved/index.mjs +1 -1
- package/esm2020/app/components/form-dialog-actions/form-dialog-actions.component.mjs +74 -74
- package/esm2020/app/components/form-dialog-actions/index.mjs +1 -1
- package/esm2020/app/components/form-template/form-template.component.mjs +31 -31
- package/esm2020/app/components/form-template/index.mjs +2 -2
- package/esm2020/app/components/form-template-outlet/form-template-outlet.component.mjs +30 -30
- package/esm2020/app/components/form-template-outlet/index.mjs +2 -2
- package/esm2020/app/components/index.mjs +4 -4
- package/esm2020/app/consts/error-messages.const.mjs +21 -21
- package/esm2020/app/directives/button.directive.mjs +151 -151
- package/esm2020/app/directives/form/form.directive.mjs +692 -689
- package/esm2020/app/directives/form/index.mjs +1 -1
- package/esm2020/app/directives/form-dialog-close.directive.mjs +53 -53
- package/esm2020/app/directives/form-template.directive.mjs +19 -19
- package/esm2020/app/directives/index.mjs +6 -6
- package/esm2020/app/directives/submit-button.directive.mjs +13 -13
- package/esm2020/app/directives/validators/compare.directive.mjs +46 -46
- package/esm2020/app/directives/validators/control.directive.mjs +257 -257
- package/esm2020/app/directives/validators/daterange.directive.mjs +40 -40
- package/esm2020/app/directives/validators/email.directive.mjs +40 -40
- package/esm2020/app/directives/validators/emails.directive.mjs +40 -40
- package/esm2020/app/directives/validators/function.directive.mjs +40 -40
- package/esm2020/app/directives/validators/greater-equal.directive.mjs +39 -39
- package/esm2020/app/directives/validators/greater.directive.mjs +39 -39
- package/esm2020/app/directives/validators/index.mjs +22 -22
- package/esm2020/app/directives/validators/integer.directive.mjs +38 -38
- package/esm2020/app/directives/validators/lesser-equal.directive.mjs +39 -39
- package/esm2020/app/directives/validators/lesser.directive.mjs +39 -39
- package/esm2020/app/directives/validators/max.directive.mjs +35 -35
- package/esm2020/app/directives/validators/maxlength.directive.mjs +34 -34
- package/esm2020/app/directives/validators/min.directive.mjs +35 -35
- package/esm2020/app/directives/validators/minlength.directive.mjs +34 -34
- package/esm2020/app/directives/validators/no-fs-validators.directive.mjs +52 -52
- package/esm2020/app/directives/validators/numeric.directive.mjs +40 -40
- package/esm2020/app/directives/validators/pattern.directive.mjs +34 -34
- package/esm2020/app/directives/validators/phone.directive.mjs +40 -40
- package/esm2020/app/directives/validators/required.directive.mjs +68 -68
- package/esm2020/app/directives/validators/url.directive.mjs +44 -44
- package/esm2020/app/directives/validators/validate.directive.mjs +42 -42
- package/esm2020/app/enums/confirm-result.mjs +8 -8
- package/esm2020/app/enums/form-status.mjs +11 -11
- package/esm2020/app/enums/index.mjs +2 -2
- package/esm2020/app/fs-form.module.mjs +210 -210
- package/esm2020/app/guards/form-deactivate.guard.mjs +41 -41
- package/esm2020/app/helpers/confirm-result-continue.mjs +4 -4
- package/esm2020/app/helpers/get-active-route.mjs +6 -6
- package/esm2020/app/helpers/get-form-errors.mjs +24 -24
- package/esm2020/app/helpers/index.mjs +1 -1
- package/esm2020/app/helpers/is-enabled.mjs +3 -3
- package/esm2020/app/interfaces/async-validator.mjs +1 -1
- package/esm2020/app/interfaces/confirm-config.mjs +1 -1
- package/esm2020/app/interfaces/confirm-tab-group.mjs +1 -1
- package/esm2020/app/interfaces/index.mjs +4 -4
- package/esm2020/app/interfaces/submit-event.mjs +1 -1
- package/esm2020/app/interfaces/submitted-event.mjs +1 -1
- package/esm2020/app/interfaces/validator.mjs +1 -1
- package/esm2020/app/providers/validate-messages.provider.mjs +10 -10
- package/esm2020/app/services/fsform.service.mjs +91 -91
- package/esm2020/app/validators/validators.mjs +92 -92
- package/esm2020/firestitch-form.mjs +4 -4
- package/esm2020/public_api.mjs +36 -36
- package/fesm2015/firestitch-form.mjs +2452 -2450
- package/fesm2015/firestitch-form.mjs.map +1 -1
- package/fesm2020/firestitch-form.mjs +2439 -2436
- package/fesm2020/firestitch-form.mjs.map +1 -1
- package/firestitch-form.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +34 -34
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
4
|
-
import { FsControlDirective } from './control.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormCompareDirective extends FsControlDirective implements OnChanges, AfterViewInit, OnDestroy, FsValidator {
|
|
7
|
-
fsFormCompare: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormCompareDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormCompareDirective, "[fsFormCompare]", never, { "fsFormCompare": "fsFormCompare"; "validationMessage": "fsFormCompareMessage"; }, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
4
|
+
import { FsControlDirective } from './control.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormCompareDirective extends FsControlDirective implements OnChanges, AfterViewInit, OnDestroy, FsValidator {
|
|
7
|
+
fsFormCompare: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormCompareDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormCompareDirective, "[fsFormCompare]", never, { "fsFormCompare": "fsFormCompare"; "validationMessage": "fsFormCompareMessage"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { AbstractControl, NgControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FsFormDirective } from '../form/form.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface FsControlDirective {
|
|
7
|
-
validate?(control: AbstractControl): ValidationErrors | null;
|
|
8
|
-
validateAsync?(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
9
|
-
}
|
|
10
|
-
export declare class FsControlDirective implements OnInit, AfterContentInit, OnDestroy {
|
|
11
|
-
protected _elementRef: ElementRef;
|
|
12
|
-
protected renderer2: Renderer2;
|
|
13
|
-
protected injector: Injector;
|
|
14
|
-
protected _validateMessages: any;
|
|
15
|
-
protected ngControl: NgControl;
|
|
16
|
-
protected formDirective: FsFormDirective;
|
|
17
|
-
wrapperSelector: string | false;
|
|
18
|
-
messageSelector: string | false;
|
|
19
|
-
hintSelector: string | false;
|
|
20
|
-
labelSelector: string | false;
|
|
21
|
-
appendMessageClass: string;
|
|
22
|
-
appendLabelClass: string;
|
|
23
|
-
appendErrorClass: string;
|
|
24
|
-
appendHintClass: string;
|
|
25
|
-
set validateMessages(messages: Record<string, string>);
|
|
26
|
-
errors: any[];
|
|
27
|
-
protected _control: AbstractControl;
|
|
28
|
-
private _destroy$;
|
|
29
|
-
constructor(_elementRef: ElementRef, renderer2: Renderer2, injector: Injector, _validateMessages: any, ngControl: NgControl, formDirective: FsFormDirective);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
ngAfterContentInit(): void;
|
|
33
|
-
getMessageSelector(): string;
|
|
34
|
-
getHintWrapperSelector(): string;
|
|
35
|
-
getWrapperSelector(): string;
|
|
36
|
-
getlabelSelector(): string;
|
|
37
|
-
getWrapperElement(): any;
|
|
38
|
-
protected render(): void;
|
|
39
|
-
protected _subscribeToStatusChagnes(): void;
|
|
40
|
-
protected getWrapper(node: any, count?: number): any;
|
|
41
|
-
protected parseErrorMessage(message: any, args: any): string;
|
|
42
|
-
protected getError(controlRef: any): {
|
|
43
|
-
name: string;
|
|
44
|
-
message: string;
|
|
45
|
-
};
|
|
46
|
-
private _setupValidators;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsControlDirective, [null, null, null, { self: true; }, { optional: true; }, { optional: true; }]>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsControlDirective, "[fsFormControl]", never, { "wrapperSelector": "wrapperSelector"; "messageSelector": "messageSelector"; "hintSelector": "hintSelector"; "labelSelector": "labelSelector"; "appendMessageClass": "appendMessageClass"; "appendLabelClass": "appendLabelClass"; "appendErrorClass": "appendErrorClass"; "appendHintClass": "appendHintClass"; "validateMessages": "validateMessages"; }, {}, never>;
|
|
49
|
-
}
|
|
1
|
+
import { AfterContentInit, ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { AbstractControl, NgControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FsFormDirective } from '../form/form.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface FsControlDirective {
|
|
7
|
+
validate?(control: AbstractControl): ValidationErrors | null;
|
|
8
|
+
validateAsync?(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FsControlDirective implements OnInit, AfterContentInit, OnDestroy {
|
|
11
|
+
protected _elementRef: ElementRef;
|
|
12
|
+
protected renderer2: Renderer2;
|
|
13
|
+
protected injector: Injector;
|
|
14
|
+
protected _validateMessages: any;
|
|
15
|
+
protected ngControl: NgControl;
|
|
16
|
+
protected formDirective: FsFormDirective;
|
|
17
|
+
wrapperSelector: string | false;
|
|
18
|
+
messageSelector: string | false;
|
|
19
|
+
hintSelector: string | false;
|
|
20
|
+
labelSelector: string | false;
|
|
21
|
+
appendMessageClass: string;
|
|
22
|
+
appendLabelClass: string;
|
|
23
|
+
appendErrorClass: string;
|
|
24
|
+
appendHintClass: string;
|
|
25
|
+
set validateMessages(messages: Record<string, string>);
|
|
26
|
+
errors: any[];
|
|
27
|
+
protected _control: AbstractControl;
|
|
28
|
+
private _destroy$;
|
|
29
|
+
constructor(_elementRef: ElementRef, renderer2: Renderer2, injector: Injector, _validateMessages: any, ngControl: NgControl, formDirective: FsFormDirective);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
ngAfterContentInit(): void;
|
|
33
|
+
getMessageSelector(): string;
|
|
34
|
+
getHintWrapperSelector(): string;
|
|
35
|
+
getWrapperSelector(): string;
|
|
36
|
+
getlabelSelector(): string;
|
|
37
|
+
getWrapperElement(): any;
|
|
38
|
+
protected render(): void;
|
|
39
|
+
protected _subscribeToStatusChagnes(): void;
|
|
40
|
+
protected getWrapper(node: any, count?: number): any;
|
|
41
|
+
protected parseErrorMessage(message: any, args: any): string;
|
|
42
|
+
protected getError(controlRef: any): {
|
|
43
|
+
name: string;
|
|
44
|
+
message: string;
|
|
45
|
+
};
|
|
46
|
+
private _setupValidators;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsControlDirective, [null, null, null, { self: true; }, { optional: true; }, { optional: true; }]>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsControlDirective, "[fsFormControl]", never, { "wrapperSelector": "wrapperSelector"; "messageSelector": "messageSelector"; "hintSelector": "hintSelector"; "labelSelector": "labelSelector"; "appendMessageClass": "appendMessageClass"; "appendLabelClass": "appendLabelClass"; "appendErrorClass": "appendErrorClass"; "appendHintClass": "appendHintClass"; "validateMessages": "validateMessages"; }, {}, never>;
|
|
49
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormDateRangeDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormDateRange: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDateRangeDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDateRangeDirective, "[fsFormDateRange]", never, { "fsFormDateRange": "fsFormDateRange"; "validationMessage": "fsFormDateRangeMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormDateRangeDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormDateRange: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDateRangeDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDateRangeDirective, "[fsFormDateRange]", never, { "fsFormDateRange": "fsFormDateRange"; "validationMessage": "fsFormDateRangeMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormEmailDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormEmail: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormEmailDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormEmailDirective, "[fsFormEmail]", never, { "fsFormEmail": "fsFormEmail"; "validationMessage": "fsFormEmailMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormEmailDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormEmail: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormEmailDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormEmailDirective, "[fsFormEmail]", never, { "fsFormEmail": "fsFormEmail"; "validationMessage": "fsFormEmailMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormEmailsDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormEmails: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormEmailsDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormEmailsDirective, "[fsFormEmails]", never, { "fsFormEmails": "fsFormEmails"; "validationMessage": "fsFormEmailsMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormEmailsDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormEmails: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormEmailsDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormEmailsDirective, "[fsFormEmails]", never, { "fsFormEmails": "fsFormEmails"; "validationMessage": "fsFormEmailsMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
5
|
-
import { FsControlDirective } from './control.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FsFormFunctionDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
-
fsFormFunction: any;
|
|
9
|
-
fsFormFunctionData: any;
|
|
10
|
-
validateOnSubmit: boolean;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormFunctionDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormFunctionDirective, "[fsFormFunction]", never, { "fsFormFunction": "fsFormFunction"; "fsFormFunctionData": "fsFormFunctionData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
5
|
+
import { FsControlDirective } from './control.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FsFormFunctionDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
+
fsFormFunction: any;
|
|
9
|
+
fsFormFunctionData: any;
|
|
10
|
+
validateOnSubmit: boolean;
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormFunctionDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormFunctionDirective, "[fsFormFunction]", never, { "fsFormFunction": "fsFormFunction"; "fsFormFunctionData": "fsFormFunctionData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormGreaterEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormGreaterEqual: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGreaterEqualDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGreaterEqualDirective, "[fsFormGreaterEqual]", never, { "fsFormGreaterEqual": "fsFormGreaterEqual"; "validationMessage": "fsFormGreaterEqualMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormGreaterEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormGreaterEqual: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGreaterEqualDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGreaterEqualDirective, "[fsFormGreaterEqual]", never, { "fsFormGreaterEqual": "fsFormGreaterEqual"; "validationMessage": "fsFormGreaterEqualMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormGreaterDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormGreater: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGreaterDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGreaterDirective, "[fsFormGreater]", never, { "fsFormGreater": "fsFormGreater"; "validationMessage": "fsFormGreaterMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormGreaterDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormGreater: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGreaterDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGreaterDirective, "[fsFormGreater]", never, { "fsFormGreater": "fsFormGreater"; "validationMessage": "fsFormGreaterMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './compare.directive';
|
|
2
|
-
export * from './control.directive';
|
|
3
|
-
export * from './daterange.directive';
|
|
4
|
-
export * from './email.directive';
|
|
5
|
-
export * from './emails.directive';
|
|
6
|
-
export * from './function.directive';
|
|
7
|
-
export * from './greater-equal.directive';
|
|
8
|
-
export * from './greater.directive';
|
|
9
|
-
export * from './integer.directive';
|
|
10
|
-
export * from './lesser-equal.directive';
|
|
11
|
-
export * from './lesser.directive';
|
|
12
|
-
export * from './max.directive';
|
|
13
|
-
export * from './maxlength.directive';
|
|
14
|
-
export * from './min.directive';
|
|
15
|
-
export * from './minlength.directive';
|
|
16
|
-
export * from './no-fs-validators.directive';
|
|
17
|
-
export * from './numeric.directive';
|
|
18
|
-
export * from './pattern.directive';
|
|
19
|
-
export * from './phone.directive';
|
|
20
|
-
export * from './required.directive';
|
|
21
|
-
export * from './url.directive';
|
|
22
|
-
export * from './validate.directive';
|
|
1
|
+
export * from './compare.directive';
|
|
2
|
+
export * from './control.directive';
|
|
3
|
+
export * from './daterange.directive';
|
|
4
|
+
export * from './email.directive';
|
|
5
|
+
export * from './emails.directive';
|
|
6
|
+
export * from './function.directive';
|
|
7
|
+
export * from './greater-equal.directive';
|
|
8
|
+
export * from './greater.directive';
|
|
9
|
+
export * from './integer.directive';
|
|
10
|
+
export * from './lesser-equal.directive';
|
|
11
|
+
export * from './lesser.directive';
|
|
12
|
+
export * from './max.directive';
|
|
13
|
+
export * from './maxlength.directive';
|
|
14
|
+
export * from './min.directive';
|
|
15
|
+
export * from './minlength.directive';
|
|
16
|
+
export * from './no-fs-validators.directive';
|
|
17
|
+
export * from './numeric.directive';
|
|
18
|
+
export * from './pattern.directive';
|
|
19
|
+
export * from './phone.directive';
|
|
20
|
+
export * from './required.directive';
|
|
21
|
+
export * from './url.directive';
|
|
22
|
+
export * from './validate.directive';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
4
|
-
import { FsControlDirective } from './control.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormIntegerDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormInteger: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormIntegerDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormIntegerDirective, "[fsFormInteger]", never, { "fsFormInteger": "fsFormInteger"; "validationMessage": "fsFormIntegerMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
4
|
+
import { FsControlDirective } from './control.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormIntegerDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormInteger: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormIntegerDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormIntegerDirective, "[fsFormInteger]", never, { "fsFormInteger": "fsFormInteger"; "validationMessage": "fsFormIntegerMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormLesserEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormLesserEqual: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormLesserEqualDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormLesserEqualDirective, "[fsFormLesserEqual]", never, { "fsFormLesserEqual": "fsFormLesserEqual"; "validationMessage": "fsFormLesserEqualMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormLesserEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormLesserEqual: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormLesserEqualDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormLesserEqualDirective, "[fsFormLesserEqual]", never, { "fsFormLesserEqual": "fsFormLesserEqual"; "validationMessage": "fsFormLesserEqualMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormLesserDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormLesser: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormLesserDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormLesserDirective, "[fsFormLesser]", never, { "fsFormLesser": "fsFormLesser"; "validationMessage": "fsFormLesserMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormLesserDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormLesser: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormLesserDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormLesserDirective, "[fsFormLesser]", never, { "fsFormLesser": "fsFormLesser"; "validationMessage": "fsFormLesserMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormMaxDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormMax: number;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMaxDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMaxDirective, "[fsFormMax]", never, { "fsFormMax": "fsFormMax"; "validationMessage": "fsFormMaxMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormMaxDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormMax: number;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMaxDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMaxDirective, "[fsFormMax]", never, { "fsFormMax": "fsFormMax"; "validationMessage": "fsFormMaxMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormMaxLengthDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormMaxLength: number;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMaxLengthDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMaxLengthDirective, "[fsFormMaxLength]", never, { "fsFormMaxLength": "fsFormMaxLength"; "validationMessage": "fsFormMaxLengthMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormMaxLengthDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormMaxLength: number;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMaxLengthDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMaxLengthDirective, "[fsFormMaxLength]", never, { "fsFormMaxLength": "fsFormMaxLength"; "validationMessage": "fsFormMaxLengthMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormMinDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormMin: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMinDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMinDirective, "[fsFormMin]", never, { "fsFormMin": "fsFormMin"; "validationMessage": "fsFormMinMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormMinDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormMin: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMinDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMinDirective, "[fsFormMin]", never, { "fsFormMin": "fsFormMin"; "validationMessage": "fsFormMinMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormMinLengthDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormMinLength: number;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMinLengthDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMinLengthDirective, "[fsFormMinLength]", never, { "fsFormMinLength": "fsFormMinLength"; "validationMessage": "fsFormMinLengthMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormMinLengthDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormMinLength: number;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormMinLengthDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormMinLengthDirective, "[fsFormMinLength]", never, { "fsFormMinLength": "fsFormMinLength"; "validationMessage": "fsFormMinLengthMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { FsControlDirective } from './control.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* This directive required for cases when we have custom Control like <fs-phone-field> but without any of our validators applied
|
|
6
|
-
*
|
|
7
|
-
* This directive required for automatic validation messages
|
|
8
|
-
*/
|
|
9
|
-
export declare class FsFormNoFsValidatorsDirective extends FsControlDirective implements OnChanges {
|
|
10
|
-
ngOnChanges(): void;
|
|
11
|
-
protected _subscribeToStatusChagnes(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNoFsValidatorsDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormGreaterEqual]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, never>;
|
|
14
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { FsControlDirective } from './control.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* This directive required for cases when we have custom Control like <fs-phone-field> but without any of our validators applied
|
|
6
|
+
*
|
|
7
|
+
* This directive required for automatic validation messages
|
|
8
|
+
*/
|
|
9
|
+
export declare class FsFormNoFsValidatorsDirective extends FsControlDirective implements OnChanges {
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
protected _subscribeToStatusChagnes(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNoFsValidatorsDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormGreaterEqual]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, never>;
|
|
14
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { FsControlDirective } from './control.directive';
|
|
4
|
-
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsFormNumericDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormNumeric: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNumericDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNumericDirective, "[fsFormNumeric]", never, { "fsFormNumeric": "fsFormNumeric"; "validationMessage": "fsFormNumericMessage"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsFormNumericDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormNumeric: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNumericDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNumericDirective, "[fsFormNumeric]", never, { "fsFormNumeric": "fsFormNumeric"; "validationMessage": "fsFormNumericMessage"; }, {}, never>;
|
|
13
|
+
}
|