monkey-front-core 0.0.417 → 0.0.418

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.
@@ -9,6 +9,7 @@ export declare class MonkeyEcxUtils {
9
9
  static isValidRUT(document: string): boolean;
10
10
  static isValidUrl(txt: string): boolean;
11
11
  static isValidZipCode(zipCode: string, country?: string): boolean;
12
+ static isValidEmail(email: string): boolean;
12
13
  static getRandomString(len: number, charSet?: string): string;
13
14
  static handleOnlyNumbers(value: any): any;
14
15
  static handleOnlyAlphaNumeric(value: any): any;
@@ -1,4 +1,5 @@
1
1
  import { AbstractControl, ValidationErrors } from '@angular/forms';
2
+ export declare const EMAIL_REGEXP: RegExp;
2
3
  export declare function emailValidator(control: AbstractControl): ValidationErrors | null;
3
4
  export declare function dateRangeValidator(control: AbstractControl): ValidationErrors | null;
4
5
  export declare function registerValidator(control: AbstractControl, type: string): ValidationErrors | null;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.417",
3
+ "version": "0.0.418",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.1.1",
6
6
  "@angular/common": "^13.1.1",
Binary file