@firestitch/form 12.4.13 → 12.4.14
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/form-dialog-actions/form-dialog-actions.component.d.ts +23 -23
- package/app/consts/error-messages.const.d.ts +19 -19
- package/app/directives/button.directive.d.ts +35 -35
- package/app/directives/form/form.directive.d.ts +122 -122
- package/app/directives/form-dialog-close.directive.d.ts +12 -12
- package/app/directives/index.d.ts +2 -2
- 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 +48 -48
- 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.directive.d.ts +13 -13
- package/app/directives/validators/integer.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 +13 -13
- 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/fs-form.module.d.ts +37 -37
- package/app/guards/form-deactivate.guard.d.ts +14 -14
- package/app/helpers/confirm-result-continue.d.ts +1 -1
- package/app/helpers/confirm-unsaved.d.ts +5 -5
- 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 +2 -2
- 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 +25 -25
- package/app/services/fsform.service.d.ts +16 -16
- package/app/validators/validators.d.ts +12 -12
- package/bundles/firestitch-form.umd.js +2832 -2839
- package/bundles/firestitch-form.umd.js.map +1 -1
- package/esm2015/app/components/form-dialog-actions/form-dialog-actions.component.js +91 -91
- package/esm2015/app/consts/error-messages.const.js +19 -19
- package/esm2015/app/directives/button.directive.js +152 -152
- package/esm2015/app/directives/form/form.directive.js +695 -695
- package/esm2015/app/directives/form-dialog-close.directive.js +30 -30
- package/esm2015/app/directives/index.js +2 -2
- package/esm2015/app/directives/submit-button.directive.js +13 -13
- package/esm2015/app/directives/validators/compare.directive.js +48 -48
- package/esm2015/app/directives/validators/control.directive.js +258 -265
- package/esm2015/app/directives/validators/daterange.directive.js +40 -40
- package/esm2015/app/directives/validators/email.directive.js +40 -40
- package/esm2015/app/directives/validators/emails.directive.js +40 -40
- package/esm2015/app/directives/validators/function.directive.js +40 -40
- package/esm2015/app/directives/validators/greater.directive.js +39 -39
- package/esm2015/app/directives/validators/integer.directive.js +40 -40
- package/esm2015/app/directives/validators/lesser.directive.js +39 -39
- package/esm2015/app/directives/validators/max.directive.js +35 -35
- package/esm2015/app/directives/validators/maxlength.directive.js +34 -34
- package/esm2015/app/directives/validators/min.directive.js +35 -35
- package/esm2015/app/directives/validators/minlength.directive.js +34 -34
- package/esm2015/app/directives/validators/no-fs-validators.directive.js +46 -46
- package/esm2015/app/directives/validators/numeric.directive.js +40 -40
- package/esm2015/app/directives/validators/pattern.directive.js +34 -34
- package/esm2015/app/directives/validators/phone.directive.js +40 -40
- package/esm2015/app/directives/validators/required.directive.js +70 -70
- package/esm2015/app/directives/validators/url.directive.js +46 -46
- package/esm2015/app/directives/validators/validate.directive.js +42 -42
- package/esm2015/app/enums/confirm-result.js +8 -8
- package/esm2015/app/enums/form-status.js +11 -11
- package/esm2015/app/fs-form.module.js +180 -180
- package/esm2015/app/guards/form-deactivate.guard.js +44 -44
- package/esm2015/app/helpers/confirm-result-continue.js +4 -4
- package/esm2015/app/helpers/confirm-unsaved.js +71 -71
- package/esm2015/app/helpers/get-active-route.js +6 -6
- package/esm2015/app/helpers/get-form-errors.js +24 -24
- package/esm2015/app/helpers/index.js +2 -2
- package/esm2015/app/helpers/is-enabled.js +3 -3
- package/esm2015/app/interfaces/async-validator.js +1 -1
- package/esm2015/app/interfaces/confirm-config.js +1 -1
- package/esm2015/app/interfaces/confirm-tab-group.js +1 -1
- package/esm2015/app/interfaces/index.js +4 -4
- package/esm2015/app/interfaces/submit-event.js +1 -1
- package/esm2015/app/interfaces/submitted-event.js +1 -1
- package/esm2015/app/interfaces/validator.js +1 -1
- package/esm2015/app/providers/validate-messages.provider.js +10 -10
- package/esm2015/app/services/fsform.service.js +39 -39
- package/esm2015/app/validators/validators.js +96 -96
- package/esm2015/firestitch-form.js +4 -4
- package/esm2015/public_api.js +36 -36
- package/fesm2015/firestitch-form.js +2269 -2276
- package/fesm2015/firestitch-form.js.map +1 -1
- package/firestitch-form.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +34 -34
|
@@ -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 { FsControlDirective } from './control.directive';
|
|
5
|
-
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
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 { FsControlDirective } from './control.directive';
|
|
5
|
+
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
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 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,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 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 { FsControlDirective } from './control.directive';
|
|
4
|
+
import { FsValidator } from '../../interfaces/validator';
|
|
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 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,13 +1,13 @@
|
|
|
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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNoFsValidatorsDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, never>;
|
|
13
|
-
}
|
|
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
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNoFsValidatorsDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, 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 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
|
+
}
|
|
@@ -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 FsFormPatternDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormPattern: RegExp | string;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormPatternDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormPatternDirective, "[fsFormPattern]", never, { "fsFormPattern": "fsFormPattern"; "validationMessage": "fsFormPatternMessage"; }, {}, 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 FsFormPatternDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormPattern: RegExp | string;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormPatternDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormPatternDirective, "[fsFormPattern]", never, { "fsFormPattern": "fsFormPattern"; "validationMessage": "fsFormPatternMessage"; }, {}, 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 FsFormPhoneDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormPhone: any;
|
|
8
|
-
set validationMessage(value: string);
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormPhoneDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormPhoneDirective, "[fsFormPhone]", never, { "fsFormPhone": "fsFormPhone"; "validationMessage": "fsFormPhoneMessage"; }, {}, 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 FsFormPhoneDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormPhone: any;
|
|
8
|
+
set validationMessage(value: string);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormPhoneDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormPhoneDirective, "[fsFormPhone]", never, { "fsFormPhone": "fsFormPhone"; "validationMessage": "fsFormPhoneMessage"; }, {}, never>;
|
|
13
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
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 FsFormRequiredDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
required: boolean;
|
|
8
|
-
set setFsFormRequired(value: any);
|
|
9
|
-
set setRequired(value: any);
|
|
10
|
-
set validationMessage(value: string);
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
13
|
-
protected render(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormRequiredDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormRequiredDirective, "[fsFormRequired],[ngModel][required]", never, { "setFsFormRequired": "fsFormRequired"; "setRequired": "required"; "validationMessage": "fsFormRequiredMessage"; }, {}, never>;
|
|
16
|
-
}
|
|
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 FsFormRequiredDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
required: boolean;
|
|
8
|
+
set setFsFormRequired(value: any);
|
|
9
|
+
set setRequired(value: any);
|
|
10
|
+
set validationMessage(value: string);
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
13
|
+
protected render(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormRequiredDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormRequiredDirective, "[fsFormRequired],[ngModel][required]", never, { "setFsFormRequired": "fsFormRequired"; "setRequired": "required"; "validationMessage": "fsFormRequiredMessage"; }, {}, never>;
|
|
16
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
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 FsFormUrlDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
-
fsFormUrl: any;
|
|
8
|
-
fsFormUrlProtocol: boolean;
|
|
9
|
-
set validationMessage(value: string);
|
|
10
|
-
ngOnChanges(): void;
|
|
11
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormUrlDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormUrlDirective, "[fsFormUrl]", never, { "fsFormUrl": "fsFormUrl"; "fsFormUrlProtocol": "fsFormUrlProtocol"; "validationMessage": "fsFormUrlMessage"; }, {}, never>;
|
|
14
|
-
}
|
|
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 FsFormUrlDirective extends FsControlDirective implements OnChanges, FsValidator {
|
|
7
|
+
fsFormUrl: any;
|
|
8
|
+
fsFormUrlProtocol: boolean;
|
|
9
|
+
set validationMessage(value: string);
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormUrlDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormUrlDirective, "[fsFormUrl]", never, { "fsFormUrl": "fsFormUrl"; "fsFormUrlProtocol": "fsFormUrlProtocol"; "validationMessage": "fsFormUrlMessage"; }, {}, never>;
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FsControlDirective } from './control.directive';
|
|
5
|
-
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FsFormValidateDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
-
validateFn: any;
|
|
9
|
-
validateFnData: any;
|
|
10
|
-
validateOnSubmit: boolean;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormValidateDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormValidateDirective, "[validate]", never, { "validateFn": "validate"; "validateFnData": "validateData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FsControlDirective } from './control.directive';
|
|
5
|
+
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FsFormValidateDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
+
validateFn: any;
|
|
9
|
+
validateFnData: any;
|
|
10
|
+
validateOnSubmit: boolean;
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormValidateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormValidateDirective, "[validate]", never, { "validateFn": "validate"; "validateFnData": "validateData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum ConfirmResult {
|
|
2
|
-
Save = "save",
|
|
3
|
-
Discard = "discard",
|
|
4
|
-
Review = "review",
|
|
5
|
-
Invalid = "invalid",
|
|
6
|
-
Pristine = "pristine"
|
|
7
|
-
}
|
|
1
|
+
export declare enum ConfirmResult {
|
|
2
|
+
Save = "save",
|
|
3
|
+
Discard = "discard",
|
|
4
|
+
Review = "review",
|
|
5
|
+
Invalid = "invalid",
|
|
6
|
+
Pristine = "pristine"
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare enum FormStatus {
|
|
2
|
-
Valid = "valid",
|
|
3
|
-
Invalid = "invalid",
|
|
4
|
-
Validating = "validating",
|
|
5
|
-
Submitting = "submitting",
|
|
6
|
-
Submitted = "submitted",
|
|
7
|
-
Error = "error",
|
|
8
|
-
Success = "success",
|
|
9
|
-
Completing = "completing"
|
|
10
|
-
}
|
|
1
|
+
export declare enum FormStatus {
|
|
2
|
+
Valid = "valid",
|
|
3
|
+
Invalid = "invalid",
|
|
4
|
+
Validating = "validating",
|
|
5
|
+
Submitting = "submitting",
|
|
6
|
+
Submitted = "submitted",
|
|
7
|
+
Error = "error",
|
|
8
|
+
Success = "success",
|
|
9
|
+
Completing = "completing"
|
|
10
|
+
}
|
package/app/fs-form.module.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./directives/form/form.directive";
|
|
4
|
-
import * as i2 from "./directives/validators/control.directive";
|
|
5
|
-
import * as i3 from "./directives/validators/required.directive";
|
|
6
|
-
import * as i4 from "./directives/validators/min.directive";
|
|
7
|
-
import * as i5 from "./directives/validators/max.directive";
|
|
8
|
-
import * as i6 from "./directives/validators/minlength.directive";
|
|
9
|
-
import * as i7 from "./directives/validators/maxlength.directive";
|
|
10
|
-
import * as i8 from "./directives/validators/email.directive";
|
|
11
|
-
import * as i9 from "./directives/validators/emails.directive";
|
|
12
|
-
import * as i10 from "./directives/validators/phone.directive";
|
|
13
|
-
import * as i11 from "./directives/validators/compare.directive";
|
|
14
|
-
import * as i12 from "./directives/validators/integer.directive";
|
|
15
|
-
import * as i13 from "./directives/validators/numeric.directive";
|
|
16
|
-
import * as i14 from "./directives/validators/pattern.directive";
|
|
17
|
-
import * as i15 from "./directives/validators/function.directive";
|
|
18
|
-
import * as i16 from "./directives/validators/daterange.directive";
|
|
19
|
-
import * as i17 from "./directives/validators/greater.directive";
|
|
20
|
-
import * as i18 from "./directives/validators/lesser.directive";
|
|
21
|
-
import * as i19 from "./directives/validators/url.directive";
|
|
22
|
-
import * as i20 from "./directives/form-dialog-close.directive";
|
|
23
|
-
import * as i21 from "./directives/validators/validate.directive";
|
|
24
|
-
import * as i22 from "./components/form-dialog-actions/form-dialog-actions.component";
|
|
25
|
-
import * as i23 from "./directives/validators/no-fs-validators.directive";
|
|
26
|
-
import * as i24 from "./directives/button.directive";
|
|
27
|
-
import * as i25 from "./directives/submit-button.directive";
|
|
28
|
-
import * as i26 from "@angular/common";
|
|
29
|
-
import * as i27 from "@angular/forms";
|
|
30
|
-
import * as i28 from "@angular/material/button";
|
|
31
|
-
import * as i29 from "@angular/material/dialog";
|
|
32
|
-
export declare class FsFormModule {
|
|
33
|
-
static forRoot(): ModuleWithProviders<FsFormModule>;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FsFormModule, [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective], [typeof i26.CommonModule, typeof i27.FormsModule, typeof i28.MatButtonModule, typeof i29.MatDialogModule], [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective]>;
|
|
36
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FsFormModule>;
|
|
37
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./directives/form/form.directive";
|
|
4
|
+
import * as i2 from "./directives/validators/control.directive";
|
|
5
|
+
import * as i3 from "./directives/validators/required.directive";
|
|
6
|
+
import * as i4 from "./directives/validators/min.directive";
|
|
7
|
+
import * as i5 from "./directives/validators/max.directive";
|
|
8
|
+
import * as i6 from "./directives/validators/minlength.directive";
|
|
9
|
+
import * as i7 from "./directives/validators/maxlength.directive";
|
|
10
|
+
import * as i8 from "./directives/validators/email.directive";
|
|
11
|
+
import * as i9 from "./directives/validators/emails.directive";
|
|
12
|
+
import * as i10 from "./directives/validators/phone.directive";
|
|
13
|
+
import * as i11 from "./directives/validators/compare.directive";
|
|
14
|
+
import * as i12 from "./directives/validators/integer.directive";
|
|
15
|
+
import * as i13 from "./directives/validators/numeric.directive";
|
|
16
|
+
import * as i14 from "./directives/validators/pattern.directive";
|
|
17
|
+
import * as i15 from "./directives/validators/function.directive";
|
|
18
|
+
import * as i16 from "./directives/validators/daterange.directive";
|
|
19
|
+
import * as i17 from "./directives/validators/greater.directive";
|
|
20
|
+
import * as i18 from "./directives/validators/lesser.directive";
|
|
21
|
+
import * as i19 from "./directives/validators/url.directive";
|
|
22
|
+
import * as i20 from "./directives/form-dialog-close.directive";
|
|
23
|
+
import * as i21 from "./directives/validators/validate.directive";
|
|
24
|
+
import * as i22 from "./components/form-dialog-actions/form-dialog-actions.component";
|
|
25
|
+
import * as i23 from "./directives/validators/no-fs-validators.directive";
|
|
26
|
+
import * as i24 from "./directives/button.directive";
|
|
27
|
+
import * as i25 from "./directives/submit-button.directive";
|
|
28
|
+
import * as i26 from "@angular/common";
|
|
29
|
+
import * as i27 from "@angular/forms";
|
|
30
|
+
import * as i28 from "@angular/material/button";
|
|
31
|
+
import * as i29 from "@angular/material/dialog";
|
|
32
|
+
export declare class FsFormModule {
|
|
33
|
+
static forRoot(): ModuleWithProviders<FsFormModule>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormModule, never>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FsFormModule, [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective], [typeof i26.CommonModule, typeof i27.FormsModule, typeof i28.MatButtonModule, typeof i29.MatDialogModule], [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FsFormModule>;
|
|
37
|
+
}
|