@skyux/validation
Advanced tools
Comparing version 7.0.0-alpha.0 to 7.0.0-beta.0
@@ -20,3 +20,3 @@ { | ||
{ | ||
"id": 30, | ||
"id": 27, | ||
"name": "SkyEmailValidationModule", | ||
@@ -46,3 +46,3 @@ "kind": 128, | ||
"children": [ | ||
31 | ||
28 | ||
] | ||
@@ -60,3 +60,3 @@ } | ||
{ | ||
"id": 35, | ||
"id": 32, | ||
"name": "SkyUrlValidationModule", | ||
@@ -86,3 +86,3 @@ "kind": 128, | ||
"children": [ | ||
36 | ||
33 | ||
] | ||
@@ -100,3 +100,3 @@ } | ||
{ | ||
"id": 38, | ||
"id": 35, | ||
"name": "SkyValidation", | ||
@@ -110,3 +110,3 @@ "kind": 128, | ||
{ | ||
"id": 39, | ||
"id": 36, | ||
"name": "isEmail", | ||
@@ -128,3 +128,3 @@ "kind": 2048, | ||
{ | ||
"id": 40, | ||
"id": 37, | ||
"name": "isEmail", | ||
@@ -136,3 +136,3 @@ "kind": 4096, | ||
{ | ||
"id": 41, | ||
"id": 38, | ||
"name": "emailAddress", | ||
@@ -156,3 +156,3 @@ "kind": 32768, | ||
{ | ||
"id": 42, | ||
"id": 39, | ||
"name": "isUrl", | ||
@@ -174,3 +174,3 @@ "kind": 2048, | ||
{ | ||
"id": 43, | ||
"id": 40, | ||
"name": "isUrl", | ||
@@ -182,3 +182,3 @@ "kind": 4096, | ||
{ | ||
"id": 44, | ||
"id": 41, | ||
"name": "value", | ||
@@ -194,3 +194,3 @@ "kind": 32768, | ||
{ | ||
"id": 45, | ||
"id": 42, | ||
"name": "options", | ||
@@ -204,3 +204,3 @@ "kind": 32768, | ||
"type": "reference", | ||
"id": 33, | ||
"id": 30, | ||
"name": "SkyUrlValidationOptions" | ||
@@ -223,3 +223,3 @@ } | ||
"children": [ | ||
46 | ||
43 | ||
] | ||
@@ -231,4 +231,4 @@ }, | ||
"children": [ | ||
39, | ||
42 | ||
36, | ||
39 | ||
] | ||
@@ -246,3 +246,3 @@ } | ||
{ | ||
"id": 48, | ||
"id": 45, | ||
"name": "SkyValidators", | ||
@@ -254,3 +254,3 @@ "kind": 128, | ||
{ | ||
"id": 49, | ||
"id": 46, | ||
"name": "email", | ||
@@ -272,3 +272,3 @@ "kind": 2048, | ||
{ | ||
"id": 50, | ||
"id": 47, | ||
"name": "email", | ||
@@ -283,3 +283,3 @@ "kind": 4096, | ||
{ | ||
"id": 51, | ||
"id": 48, | ||
"name": "control", | ||
@@ -317,3 +317,3 @@ "kind": 32768, | ||
{ | ||
"id": 52, | ||
"id": 49, | ||
"name": "url", | ||
@@ -335,3 +335,3 @@ "kind": 2048, | ||
{ | ||
"id": 53, | ||
"id": 50, | ||
"name": "url", | ||
@@ -346,3 +346,3 @@ "kind": 4096, | ||
{ | ||
"id": 54, | ||
"id": 51, | ||
"name": "abstractControl", | ||
@@ -378,3 +378,3 @@ "kind": 32768, | ||
{ | ||
"id": 55, | ||
"id": 52, | ||
"name": "url", | ||
@@ -389,3 +389,3 @@ "kind": 4096, | ||
{ | ||
"id": 56, | ||
"id": 53, | ||
"name": "skyUrlValidationOptions", | ||
@@ -397,3 +397,3 @@ "kind": 32768, | ||
"type": "reference", | ||
"id": 33, | ||
"id": 30, | ||
"name": "SkyUrlValidationOptions" | ||
@@ -418,3 +418,3 @@ } | ||
"children": [ | ||
57 | ||
54 | ||
] | ||
@@ -426,4 +426,4 @@ }, | ||
"children": [ | ||
49, | ||
52 | ||
46, | ||
49 | ||
] | ||
@@ -447,3 +447,3 @@ } | ||
"comment": { | ||
"shortText": "Creates an input to validate email addresses. Place this attribute on an `input` element.\nIf users enter values that are not valid email addresses, an error message appears.\nThe directive uses `NgModel` to bind data." | ||
"shortText": "Adds email address validation to an input element. The directive uses `NgModel` to bind data." | ||
}, | ||
@@ -466,3 +466,3 @@ "decorators": [ | ||
{ | ||
"id": 10, | ||
"id": 7, | ||
"name": "emailIsValid", | ||
@@ -477,3 +477,3 @@ "kind": 2048, | ||
"fileName": "projects/validation/src/modules/email-validation/email-validation.directive.ts", | ||
"line": 38, | ||
"line": 39, | ||
"character": 9 | ||
@@ -484,3 +484,3 @@ } | ||
{ | ||
"id": 11, | ||
"id": 8, | ||
"name": "emailIsValid", | ||
@@ -492,3 +492,3 @@ "kind": 4096, | ||
{ | ||
"id": 12, | ||
"id": 9, | ||
"name": "email", | ||
@@ -522,3 +522,3 @@ "kind": 32768, | ||
"fileName": "projects/validation/src/modules/email-validation/email-validation.directive.ts", | ||
"line": 22, | ||
"line": 25, | ||
"character": 9 | ||
@@ -560,33 +560,6 @@ } | ||
"type": { | ||
"type": "reflection", | ||
"declaration": { | ||
"id": 7, | ||
"name": "__type", | ||
"kind": 65536, | ||
"kindString": "Type literal", | ||
"flags": {}, | ||
"indexSignature": { | ||
"id": 8, | ||
"name": "__index", | ||
"kind": 8192, | ||
"kindString": "Index signature", | ||
"flags": {}, | ||
"parameters": [ | ||
{ | ||
"id": 9, | ||
"name": "key", | ||
"kind": 32768, | ||
"flags": {}, | ||
"type": { | ||
"type": "intrinsic", | ||
"name": "string" | ||
} | ||
} | ||
], | ||
"type": { | ||
"type": "intrinsic", | ||
"name": "any" | ||
} | ||
} | ||
} | ||
"type": "reference", | ||
"qualifiedName": "ValidationErrors", | ||
"package": "@angular/forms", | ||
"name": "ValidationErrors" | ||
}, | ||
@@ -617,3 +590,3 @@ "implementationOf": { | ||
"children": [ | ||
10, | ||
7, | ||
4 | ||
@@ -626,3 +599,3 @@ ] | ||
"fileName": "projects/validation/src/modules/email-validation/email-validation.directive.ts", | ||
"line": 21, | ||
"line": 24, | ||
"character": 13 | ||
@@ -641,3 +614,3 @@ } | ||
{ | ||
"id": 13, | ||
"id": 10, | ||
"name": "SkyUrlValidationDirective", | ||
@@ -648,3 +621,3 @@ "kind": 128, | ||
"comment": { | ||
"shortText": "Creates an input to validate URLs. Place this attribute on an `input` element.\nIf users enters values that are not valid URLs, an error message appears.\nThis directive uses `NgModel` to bind data." | ||
"shortText": "Adds URL validation to an input element. The directive uses `NgModel` to bind data." | ||
}, | ||
@@ -667,3 +640,3 @@ "decorators": [ | ||
{ | ||
"id": 16, | ||
"id": 13, | ||
"name": "skyUrlValidation", | ||
@@ -690,3 +663,3 @@ "kind": 262144, | ||
"fileName": "projects/validation/src/modules/url-validation/url-validation.directive.ts", | ||
"line": 34, | ||
"line": 32, | ||
"character": 13 | ||
@@ -697,3 +670,3 @@ } | ||
{ | ||
"id": 17, | ||
"id": 14, | ||
"name": "skyUrlValidation", | ||
@@ -708,3 +681,3 @@ "kind": 1048576, | ||
{ | ||
"id": 18, | ||
"id": 15, | ||
"name": "value", | ||
@@ -716,3 +689,3 @@ "kind": 32768, | ||
"type": "reference", | ||
"id": 33, | ||
"id": 30, | ||
"name": "SkyUrlValidationOptions" | ||
@@ -730,3 +703,3 @@ } | ||
{ | ||
"id": 25, | ||
"id": 22, | ||
"name": "registerOnValidatorChange", | ||
@@ -741,3 +714,3 @@ "kind": 2048, | ||
"fileName": "projects/validation/src/modules/url-validation/url-validation.directive.ts", | ||
"line": 56, | ||
"line": 54, | ||
"character": 9 | ||
@@ -748,3 +721,3 @@ } | ||
{ | ||
"id": 26, | ||
"id": 23, | ||
"name": "registerOnValidatorChange", | ||
@@ -756,3 +729,3 @@ "kind": 4096, | ||
{ | ||
"id": 27, | ||
"id": 24, | ||
"name": "fn", | ||
@@ -765,3 +738,3 @@ "kind": 32768, | ||
"declaration": { | ||
"id": 28, | ||
"id": 25, | ||
"name": "__type", | ||
@@ -773,3 +746,3 @@ "kind": 65536, | ||
{ | ||
"id": 29, | ||
"id": 26, | ||
"name": "__type", | ||
@@ -805,3 +778,3 @@ "kind": 4096, | ||
{ | ||
"id": 22, | ||
"id": 19, | ||
"name": "validate", | ||
@@ -816,3 +789,3 @@ "kind": 2048, | ||
"fileName": "projects/validation/src/modules/url-validation/url-validation.directive.ts", | ||
"line": 44, | ||
"line": 42, | ||
"character": 9 | ||
@@ -823,3 +796,3 @@ } | ||
{ | ||
"id": 23, | ||
"id": 20, | ||
"name": "validate", | ||
@@ -831,3 +804,3 @@ "kind": 4096, | ||
{ | ||
"id": 24, | ||
"id": 21, | ||
"name": "control", | ||
@@ -878,3 +851,3 @@ "kind": 32768, | ||
"children": [ | ||
14 | ||
11 | ||
] | ||
@@ -886,3 +859,3 @@ }, | ||
"children": [ | ||
16 | ||
13 | ||
] | ||
@@ -894,4 +867,4 @@ }, | ||
"children": [ | ||
25, | ||
22 | ||
22, | ||
19 | ||
] | ||
@@ -903,3 +876,3 @@ } | ||
"fileName": "projects/validation/src/modules/url-validation/url-validation.directive.ts", | ||
"line": 29, | ||
"line": 27, | ||
"character": 13 | ||
@@ -918,3 +891,3 @@ } | ||
{ | ||
"id": 33, | ||
"id": 30, | ||
"name": "SkyUrlValidationOptions", | ||
@@ -929,3 +902,3 @@ "kind": 256, | ||
{ | ||
"id": 34, | ||
"id": 31, | ||
"name": "rulesetVersion", | ||
@@ -965,3 +938,3 @@ "kind": 1024, | ||
"children": [ | ||
34 | ||
31 | ||
] | ||
@@ -984,8 +957,8 @@ } | ||
"children": [ | ||
30, | ||
27, | ||
32, | ||
35, | ||
38, | ||
48, | ||
45, | ||
1, | ||
13 | ||
10 | ||
] | ||
@@ -997,3 +970,3 @@ }, | ||
"children": [ | ||
33 | ||
30 | ||
] | ||
@@ -1000,0 +973,0 @@ } |
@@ -1,12 +0,8 @@ | ||
import { AbstractControl, Validator } from '@angular/forms'; | ||
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
* Creates an input to validate email addresses. Place this attribute on an `input` element. | ||
* If users enter values that are not valid email addresses, an error message appears. | ||
* The directive uses `NgModel` to bind data. | ||
* Adds email address validation to an input element. The directive uses `NgModel` to bind data. | ||
*/ | ||
export declare class SkyEmailValidationDirective implements Validator { | ||
validate(control: AbstractControl): { | ||
[key: string]: any; | ||
}; | ||
validate(control: AbstractControl): ValidationErrors | null; | ||
emailIsValid(email: string): boolean; | ||
@@ -13,0 +9,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<SkyEmailValidationDirective, never>; |
@@ -5,5 +5,3 @@ import { AbstractControl, ValidationErrors, Validator } from '@angular/forms'; | ||
/** | ||
* Creates an input to validate URLs. Place this attribute on an `input` element. | ||
* If users enters values that are not valid URLs, an error message appears. | ||
* This directive uses `NgModel` to bind data. | ||
* Adds URL validation to an input element. The directive uses `NgModel` to bind data. | ||
*/ | ||
@@ -10,0 +8,0 @@ export declare class SkyUrlValidationDirective implements Validator { |
{ | ||
"name": "@skyux/validation", | ||
"version": "7.0.0-alpha.0", | ||
"version": "7.0.0-beta.0", | ||
"author": "Blackbaud, Inc.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120648
1686