@sbcore/ng-absolute-validator 14.0.0
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/README.md +257 -0
- package/esm2020/i18n/bn.mjs +68 -0
- package/esm2020/i18n/de.mjs +68 -0
- package/esm2020/i18n/en.mjs +68 -0
- package/esm2020/i18n/es.mjs +68 -0
- package/esm2020/i18n/fr.mjs +68 -0
- package/esm2020/i18n/hi.mjs +68 -0
- package/esm2020/i18n/ja.mjs +68 -0
- package/esm2020/i18n/pt.mjs +68 -0
- package/esm2020/i18n/ru.mjs +68 -0
- package/esm2020/i18n/zh.mjs +68 -0
- package/esm2020/lib/common.utils.mjs +49 -0
- package/esm2020/lib/config-interface.mjs +3 -0
- package/esm2020/lib/constant.mjs +87 -0
- package/esm2020/lib/directive/error-trigger/error-trigger-on.directive.mjs +35 -0
- package/esm2020/lib/directive/index.mjs +3 -0
- package/esm2020/lib/directive/native-element/native-element.directive.mjs +34 -0
- package/esm2020/lib/interface.mjs +14 -0
- package/esm2020/lib/ng-absolute-validator.component.mjs +194 -0
- package/esm2020/lib/ng-absolute-validator.module.mjs +125 -0
- package/esm2020/lib/ng-absolute-validator.service.mjs +67 -0
- package/esm2020/lib/rule/above/above.directive.mjs +45 -0
- package/esm2020/lib/rule/accepted/accepted.directive.mjs +44 -0
- package/esm2020/lib/rule/after/after.directive.mjs +46 -0
- package/esm2020/lib/rule/alpha/alpha.directive.mjs +41 -0
- package/esm2020/lib/rule/alpha_dash/alpha-dash.directive.mjs +41 -0
- package/esm2020/lib/rule/alpha_numeric/alpha-numeric.directive.mjs +41 -0
- package/esm2020/lib/rule/array/array.directive.mjs +41 -0
- package/esm2020/lib/rule/before/before.directive.mjs +46 -0
- package/esm2020/lib/rule/between/between.directive.mjs +46 -0
- package/esm2020/lib/rule/boolean/boolean.directive.mjs +41 -0
- package/esm2020/lib/rule/confirmed/confirmed.directive.mjs +64 -0
- package/esm2020/lib/rule/credit_card/credit-card.directive.mjs +43 -0
- package/esm2020/lib/rule/cvv/cvv.directive.mjs +41 -0
- package/esm2020/lib/rule/date/date.directive.mjs +46 -0
- package/esm2020/lib/rule/date_format/date-format.directive.mjs +46 -0
- package/esm2020/lib/rule/debit_card/debit-card.directive.mjs +43 -0
- package/esm2020/lib/rule/different/different.directive.mjs +63 -0
- package/esm2020/lib/rule/dimension/dimension.directive.mjs +49 -0
- package/esm2020/lib/rule/email/email.directive.mjs +41 -0
- package/esm2020/lib/rule/ends_with/ends-with.directive.mjs +45 -0
- package/esm2020/lib/rule/equals/equals.directive.mjs +45 -0
- package/esm2020/lib/rule/exists/exists.directive.mjs +49 -0
- package/esm2020/lib/rule/image/image.directive.mjs +41 -0
- package/esm2020/lib/rule/in/in.directive.mjs +45 -0
- package/esm2020/lib/rule/includes/includes.directive.mjs +45 -0
- package/esm2020/lib/rule/index.mjs +60 -0
- package/esm2020/lib/rule/integer/integer.directive.mjs +41 -0
- package/esm2020/lib/rule/ip/ip.directive.mjs +41 -0
- package/esm2020/lib/rule/ipv4/ipv4.directive.mjs +41 -0
- package/esm2020/lib/rule/ipv6/ipv6.directive.mjs +41 -0
- package/esm2020/lib/rule/json/json.directive.mjs +41 -0
- package/esm2020/lib/rule/max/max.directive.mjs +51 -0
- package/esm2020/lib/rule/mimes/mimes.directive.mjs +47 -0
- package/esm2020/lib/rule/min/min.directive.mjs +51 -0
- package/esm2020/lib/rule/not_equals/not-equals.directive.mjs +44 -0
- package/esm2020/lib/rule/not_in/not-in.directive.mjs +45 -0
- package/esm2020/lib/rule/not_regex/not-regex.directive.mjs +45 -0
- package/esm2020/lib/rule/number/number.directive.mjs +41 -0
- package/esm2020/lib/rule/phone_no/phone-no.directive.mjs +45 -0
- package/esm2020/lib/rule/range/range.directive.mjs +46 -0
- package/esm2020/lib/rule/regex/regex.directive.mjs +45 -0
- package/esm2020/lib/rule/required/required.directive.mjs +41 -0
- package/esm2020/lib/rule/required_if/required-if.directive.mjs +66 -0
- package/esm2020/lib/rule/required_unless/required-unless.directive.mjs +65 -0
- package/esm2020/lib/rule/required_with/required-with.directive.mjs +67 -0
- package/esm2020/lib/rule/required_with_all/required-with-all.directive.mjs +67 -0
- package/esm2020/lib/rule/required_without/required-without.directive.mjs +67 -0
- package/esm2020/lib/rule/required_without_all/required-without-all.directive.mjs +67 -0
- package/esm2020/lib/rule/rule.directive.mjs +35 -0
- package/esm2020/lib/rule/rule.module.mjs +141 -0
- package/esm2020/lib/rule/same/same.directive.mjs +62 -0
- package/esm2020/lib/rule/size/size.directive.mjs +44 -0
- package/esm2020/lib/rule/starts_with/starts-with.directive.mjs +45 -0
- package/esm2020/lib/rule/strength/strength.directive.mjs +47 -0
- package/esm2020/lib/rule/string/string.directive.mjs +41 -0
- package/esm2020/lib/rule/under/under.directive.mjs +44 -0
- package/esm2020/lib/rule/unique/unique.directive.mjs +48 -0
- package/esm2020/lib/rule/url/url.directive.mjs +41 -0
- package/esm2020/lib/rule/uuid/uuid.directive.mjs +41 -0
- package/esm2020/lib/rule/video/video.directive.mjs +41 -0
- package/esm2020/lib/services/http.request.service.mjs +20 -0
- package/esm2020/lib/services/messages-builder.service.mjs +46 -0
- package/esm2020/lib/services/reactive.validate.mjs +69 -0
- package/esm2020/lib/services/utils.service.mjs +476 -0
- package/esm2020/lib/services/validate-rule.service.mjs +103 -0
- package/esm2020/lib/transator.loader.mjs +38 -0
- package/esm2020/public-api.mjs +11 -0
- package/esm2020/sbcore-ng-absolute-validator.mjs +5 -0
- package/fesm2015/sbcore-ng-absolute-validator.mjs +4488 -0
- package/fesm2015/sbcore-ng-absolute-validator.mjs.map +1 -0
- package/fesm2020/sbcore-ng-absolute-validator.mjs +4480 -0
- package/fesm2020/sbcore-ng-absolute-validator.mjs.map +1 -0
- package/i18n/bn.d.ts +68 -0
- package/i18n/de.d.ts +68 -0
- package/i18n/en.d.ts +68 -0
- package/i18n/es.d.ts +68 -0
- package/i18n/fr.d.ts +68 -0
- package/i18n/hi.d.ts +68 -0
- package/i18n/ja.d.ts +68 -0
- package/i18n/pt.d.ts +68 -0
- package/i18n/ru.d.ts +68 -0
- package/i18n/zh.d.ts +68 -0
- package/index.d.ts +5 -0
- package/lib/directive/error-trigger/error-trigger-on.directive.d.ts +10 -0
- package/lib/directive/index.d.ts +2 -0
- package/lib/directive/native-element/native-element.directive.d.ts +12 -0
- package/lib/ng-absolute-validator.module.d.ts +20 -0
- package/lib/rule/above/above.directive.d.ts +20 -0
- package/lib/rule/accepted/accepted.directive.d.ts +20 -0
- package/lib/rule/after/after.directive.d.ts +20 -0
- package/lib/rule/alpha/alpha.directive.d.ts +19 -0
- package/lib/rule/alpha_dash/alpha-dash.directive.d.ts +19 -0
- package/lib/rule/alpha_numeric/alpha-numeric.directive.d.ts +19 -0
- package/lib/rule/array/array.directive.d.ts +19 -0
- package/lib/rule/before/before.directive.d.ts +20 -0
- package/lib/rule/between/between.directive.d.ts +20 -0
- package/lib/rule/boolean/boolean.directive.d.ts +19 -0
- package/lib/rule/confirmed/confirmed.directive.d.ts +24 -0
- package/lib/rule/credit_card/credit-card.directive.d.ts +19 -0
- package/lib/rule/cvv/cvv.directive.d.ts +19 -0
- package/lib/rule/date/date.directive.d.ts +20 -0
- package/lib/rule/date_format/date-format.directive.d.ts +20 -0
- package/lib/rule/debit_card/debit-card.directive.d.ts +19 -0
- package/lib/rule/different/different.directive.d.ts +24 -0
- package/lib/rule/dimension/dimension.directive.d.ts +21 -0
- package/lib/rule/email/email.directive.d.ts +19 -0
- package/lib/rule/ends_with/ends-with.directive.d.ts +20 -0
- package/lib/rule/equals/equals.directive.d.ts +20 -0
- package/lib/rule/exists/exists.directive.d.ts +21 -0
- package/lib/rule/image/image.directive.d.ts +19 -0
- package/lib/rule/in/in.directive.d.ts +20 -0
- package/lib/rule/includes/includes.directive.d.ts +20 -0
- package/lib/rule/index.d.ts +59 -0
- package/lib/rule/integer/integer.directive.d.ts +19 -0
- package/lib/rule/ip/ip.directive.d.ts +19 -0
- package/lib/rule/ipv4/ipv4.directive.d.ts +19 -0
- package/lib/rule/ipv6/ipv6.directive.d.ts +19 -0
- package/lib/rule/json/json.directive.d.ts +19 -0
- package/lib/rule/max/max.directive.d.ts +20 -0
- package/lib/rule/mimes/mimes.directive.d.ts +20 -0
- package/lib/rule/min/min.directive.d.ts +20 -0
- package/lib/rule/not_equals/not-equals.directive.d.ts +20 -0
- package/lib/rule/not_in/not-in.directive.d.ts +20 -0
- package/lib/rule/not_regex/not-regex.directive.d.ts +20 -0
- package/lib/rule/number/number.directive.d.ts +19 -0
- package/lib/rule/phone_no/phone-no.directive.d.ts +20 -0
- package/lib/rule/range/range.directive.d.ts +20 -0
- package/lib/rule/regex/regex.directive.d.ts +20 -0
- package/lib/rule/required/required.directive.d.ts +19 -0
- package/lib/rule/required_if/required-if.directive.d.ts +24 -0
- package/lib/rule/required_unless/required-unless.directive.d.ts +24 -0
- package/lib/rule/required_with/required-with.directive.d.ts +24 -0
- package/lib/rule/required_with_all/required-with-all.directive.d.ts +24 -0
- package/lib/rule/required_without/required-without.directive.d.ts +24 -0
- package/lib/rule/required_without_all/required-without-all.directive.d.ts +24 -0
- package/lib/rule/rule.module.d.ts +65 -0
- package/lib/rule/same/same.directive.d.ts +24 -0
- package/lib/rule/size/size.directive.d.ts +20 -0
- package/lib/rule/starts_with/starts-with.directive.d.ts +20 -0
- package/lib/rule/strength/strength.directive.d.ts +20 -0
- package/lib/rule/string/string.directive.d.ts +19 -0
- package/lib/rule/under/under.directive.d.ts +20 -0
- package/lib/rule/unique/unique.directive.d.ts +21 -0
- package/lib/rule/url/url.directive.d.ts +19 -0
- package/lib/rule/uuid/uuid.directive.d.ts +19 -0
- package/lib/rule/video/video.directive.d.ts +19 -0
- package/lib/services/reactive.validate.d.ts +21 -0
- package/lib/transator.loader.d.ts +10 -0
- package/package.json +66 -0
- package/public-api.d.ts +7 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NativeElementDirective {
|
|
5
|
+
private el;
|
|
6
|
+
private control;
|
|
7
|
+
field_name: string;
|
|
8
|
+
constructor(el: ElementRef, control: NgControl);
|
|
9
|
+
setNativElement(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeElementDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementDirective, "[formControl],[formControlName]", never, { "field_name": "formControlName"; }, {}, never, never, false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { ConfigInterface } from './config-interface';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { InlineTranslateLoader } from './transator.loader';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./ng-absolute-validator.component";
|
|
7
|
+
import * as i2 from "./directive/native-element/native-element.directive";
|
|
8
|
+
import * as i3 from "./directive/error-trigger/error-trigger-on.directive";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
import * as i5 from "./rule/rule.module";
|
|
11
|
+
import * as i6 from "@angular/common/http";
|
|
12
|
+
import * as i7 from "@ngx-translate/core";
|
|
13
|
+
export declare function TranslateLoaderFactory(config: ConfigInterface): InlineTranslateLoader;
|
|
14
|
+
export declare function appInitializerFactory(translate: TranslateService, config: ConfigInterface): () => Promise<any>;
|
|
15
|
+
export declare class NgAbsoluteValidatorModule {
|
|
16
|
+
static forRoot(config?: ConfigInterface): ModuleWithProviders<NgAbsoluteValidatorModule>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgAbsoluteValidatorModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgAbsoluteValidatorModule, [typeof i1.NgAbsoluteValidatorComponent, typeof i2.NativeElementDirective, typeof i3.ErrorTriggerOnDirective], [typeof i4.CommonModule, typeof i5.RuleModule, typeof i6.HttpClientModule, typeof i7.TranslateModule], [typeof i5.RuleModule, typeof i1.NgAbsoluteValidatorComponent, typeof i2.NativeElementDirective, typeof i3.ErrorTriggerOnDirective, typeof i7.TranslateModule]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgAbsoluteValidatorModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AboveDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
above: number;
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AboveDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AboveDirective, "[above]", never, { "above": "above"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AcceptedDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
accepted: any;
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcceptedDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AcceptedDirective, "[accepted]", never, { "accepted": "accepted"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AfterDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
after: string | string[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AfterDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AfterDirective, "[after]", never, { "after": "after"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AlphaDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlphaDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlphaDirective, "[alpha]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AlphaDashDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlphaDashDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlphaDashDirective, "[alphaDash]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AlphaNumericDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlphaNumericDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlphaNumericDirective, "[alphaNumeric]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ArrayDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArrayDirective, "[array]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BeforeDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
before: string | string[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BeforeDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BeforeDirective, "[before]", never, { "before": "before"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BetweenDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
between: string | string[] | number[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BetweenDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BetweenDirective, "[between]", never, { "between": "between"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BooleanDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanDirective, "[boolean]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ConfirmedDirective implements Validator, OnDestroy {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private destroy$;
|
|
13
|
+
private wired;
|
|
14
|
+
private fieldName;
|
|
15
|
+
confirmed: string;
|
|
16
|
+
set message(data: LocalizedMessage);
|
|
17
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
18
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
19
|
+
private isValid;
|
|
20
|
+
private wireSiblingWatchers;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmedDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmedDirective, "[confirmed]", never, { "confirmed": "confirmed"; "message": "message"; }, {}, never, never, false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CreditCardDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreditCardDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CreditCardDirective, "[creditCard]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CvvDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CvvDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CvvDirective, "[cvv]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DateDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
date: string;
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateDirective, "[date]", never, { "date": "date"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DateFormatDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateFormatDirective, "[dateFormat]", never, { "dateFormat": "dateFormat"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DebitCardDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebitCardDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DebitCardDirective, "[debitCard]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DifferentDirective implements Validator, OnDestroy {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private destroy$;
|
|
13
|
+
private wired;
|
|
14
|
+
private fieldName;
|
|
15
|
+
different: any;
|
|
16
|
+
set message(data: LocalizedMessage);
|
|
17
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
18
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
19
|
+
private isValid;
|
|
20
|
+
private wireSiblingWatchers;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DifferentDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DifferentDirective, "[different]", never, { "different": "different"; "message": "message"; }, {}, never, never, false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { AsyncValidator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DimensionDirective implements AsyncValidator {
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private mb;
|
|
12
|
+
private vmessage;
|
|
13
|
+
private fieldName;
|
|
14
|
+
dimension: string[];
|
|
15
|
+
set message(data: LocalizedMessage);
|
|
16
|
+
constructor(el: ElementRef, utl: UtilService, mb: MessageBuilderService);
|
|
17
|
+
validate(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
18
|
+
private isValid;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DimensionDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DimensionDirective, "[dimension]", never, { "dimension": "dimension"; "message": "message"; }, {}, never, never, false>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EmailDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EmailDirective, "[email]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EndsWithDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
endsWith: string[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EndsWithDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EndsWithDirective, "[endsWith]", never, { "endsWith": "endsWith"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EqualsDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
equals: string;
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EqualsDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EqualsDirective, "[equals]", never, { "equals": "equals"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { AsyncValidator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { HttpRequestArgs, LocalizedMessage } from '../../interface';
|
|
6
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ExistsDirective implements AsyncValidator {
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private mb;
|
|
12
|
+
private vmessage;
|
|
13
|
+
private fieldName;
|
|
14
|
+
exists: HttpRequestArgs;
|
|
15
|
+
set message(data: LocalizedMessage);
|
|
16
|
+
constructor(el: ElementRef, utl: UtilService, mb: MessageBuilderService);
|
|
17
|
+
validate(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
18
|
+
private isValid;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExistsDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExistsDirective, "[exists]", never, { "exists": "exists"; "message": "message"; }, {}, never, never, false>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ImageDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
set message(data: LocalizedMessage);
|
|
14
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
15
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
private isValid;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageDirective, "[image]", never, { "message": "message"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class InDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
in: string | string[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InDirective, "[in]", never, { "in": "in"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UtilService } from '../../services/utils.service';
|
|
4
|
+
import { MessageBuilderService } from '../../services/messages-builder.service';
|
|
5
|
+
import { LocalizedMessage } from '../../interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IncludesDirective implements Validator {
|
|
8
|
+
private mb;
|
|
9
|
+
private el;
|
|
10
|
+
private utl;
|
|
11
|
+
private vmessage;
|
|
12
|
+
private fieldName;
|
|
13
|
+
includes: string | string[];
|
|
14
|
+
set message(data: LocalizedMessage);
|
|
15
|
+
constructor(mb: MessageBuilderService, el: ElementRef, utl: UtilService);
|
|
16
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
private isValid;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IncludesDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IncludesDirective, "[includes]", never, { "includes": "includes"; "message": "message"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export * from './above/above.directive';
|
|
2
|
+
export * from './accepted/accepted.directive';
|
|
3
|
+
export * from './after/after.directive';
|
|
4
|
+
export * from './alpha/alpha.directive';
|
|
5
|
+
export * from './alpha_numeric/alpha-numeric.directive';
|
|
6
|
+
export * from './array/array.directive';
|
|
7
|
+
export * from './before/before.directive';
|
|
8
|
+
export * from './boolean/boolean.directive';
|
|
9
|
+
export * from './confirmed/confirmed.directive';
|
|
10
|
+
export * from './date/date.directive';
|
|
11
|
+
export * from './date_format/date-format.directive';
|
|
12
|
+
export * from './different/different.directive';
|
|
13
|
+
export * from './email/email.directive';
|
|
14
|
+
export * from './ends_with/ends-with.directive';
|
|
15
|
+
export * from './equals/equals.directive';
|
|
16
|
+
export * from './in/in.directive';
|
|
17
|
+
export * from './includes/includes.directive';
|
|
18
|
+
export * from './integer/integer.directive';
|
|
19
|
+
export * from './ip/ip.directive';
|
|
20
|
+
export * from './ipv4/ipv4.directive';
|
|
21
|
+
export * from './ipv6/ipv6.directive';
|
|
22
|
+
export * from './json/json.directive';
|
|
23
|
+
export * from './max/max.directive';
|
|
24
|
+
export * from './min/min.directive';
|
|
25
|
+
export * from './not_equals/not-equals.directive';
|
|
26
|
+
export * from './not_in/not-in.directive';
|
|
27
|
+
export * from './number/number.directive';
|
|
28
|
+
export * from './range/range.directive';
|
|
29
|
+
export * from './between/between.directive';
|
|
30
|
+
export * from './regex/regex.directive';
|
|
31
|
+
export * from './same/same.directive';
|
|
32
|
+
export * from './starts_with/starts-with.directive';
|
|
33
|
+
export * from './string/string.directive';
|
|
34
|
+
export * from './under/under.directive';
|
|
35
|
+
export * from './url/url.directive';
|
|
36
|
+
export * from './alpha_dash/alpha-dash.directive';
|
|
37
|
+
export * from './not_regex/not-regex.directive';
|
|
38
|
+
export * from './uuid/uuid.directive';
|
|
39
|
+
export * from './unique/unique.directive';
|
|
40
|
+
export * from './credit_card/credit-card.directive';
|
|
41
|
+
export * from './debit_card/debit-card.directive';
|
|
42
|
+
export * from './cvv/cvv.directive';
|
|
43
|
+
export * from './strength/strength.directive';
|
|
44
|
+
export * from './phone_no/phone-no.directive';
|
|
45
|
+
export * from './required/required.directive';
|
|
46
|
+
export * from './required_if/required-if.directive';
|
|
47
|
+
export * from './required_unless/required-unless.directive';
|
|
48
|
+
export * from './required_with/required-with.directive';
|
|
49
|
+
export * from './required_with_all/required-with-all.directive';
|
|
50
|
+
export * from './required_without/required-without.directive';
|
|
51
|
+
export * from './required_without_all/required-without-all.directive';
|
|
52
|
+
export * from './mimes/mimes.directive';
|
|
53
|
+
export * from './size/size.directive';
|
|
54
|
+
export * from './dimension/dimension.directive';
|
|
55
|
+
export * from './image/image.directive';
|
|
56
|
+
export * from './video/video.directive';
|
|
57
|
+
export * from './exists/exists.directive';
|
|
58
|
+
export * from './rule.directive';
|
|
59
|
+
export * from './rule.module';
|