monkey-front-core 0.0.616 → 0.0.618

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.
@@ -33,5 +33,6 @@ export declare enum CountryMasks {
33
33
  RUT1 = "0000000-A",
34
34
  RUT2 = "00000000-A",
35
35
  RFC1 = "AAAA000000AA0",
36
- RFC2 = "AAA000000AA0"
36
+ RFC2 = "AAA000000AA0",
37
+ EIN = "00-0000000"
37
38
  }
@@ -9,6 +9,7 @@ export declare class MonkeyEcxUtils {
9
9
  static isCPFAlphanumericCNPJValid(document: any): boolean;
10
10
  static isValidRUT(document: string): boolean;
11
11
  static isValidRFC(document: string): boolean;
12
+ static isValidEIN(ein: string): boolean;
12
13
  static isValidUrl(txt: string): boolean;
13
14
  static isValidZipCode(zipCode: string, country?: string): boolean;
14
15
  static isValidEmail(email: string): boolean;
@@ -19,6 +19,11 @@ export declare class DocumentRutValidator {
19
19
  invalidRut: boolean;
20
20
  } | null;
21
21
  }
22
+ export declare class DocumentEINValidator {
23
+ static do(control: AbstractControl): {
24
+ invalidEin: boolean;
25
+ } | null;
26
+ }
22
27
  export declare class DocumentRFCValidator {
23
28
  static do(control: AbstractControl): {
24
29
  invalidRfc: boolean;
@@ -32,6 +32,7 @@ export declare class Validators {
32
32
  static documentBR(control: AbstractControl): ValidationErrors | null;
33
33
  static documentCL(control: AbstractControl): ValidationErrors | null;
34
34
  static documentMX(control: AbstractControl): ValidationErrors | null;
35
+ static documentUS(control: AbstractControl): ValidationErrors | null;
35
36
  static date(control: AbstractControl): ValidationErrors | null;
36
37
  static minYears(param: number): ValidationErrors | null;
37
38
  static greaterThanZero(control: AbstractControl): ValidationErrors | null;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.616",
3
+ "version": "0.0.618",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.1.1",
6
6
  "@angular/common": "^13.1.1",
Binary file