monkey-front-core 0.0.450 → 0.0.452

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.
@@ -22,4 +22,5 @@ export declare class MonkeyEcxUtils {
22
22
  static isLocalhost(): boolean;
23
23
  static isSameOrigin(frontend: string): boolean;
24
24
  static replaceVariables(data: string, obj: any): string;
25
+ static trimValuesToSave(obj: any, fields: string[]): any;
25
26
  }
@@ -13,6 +13,7 @@ export declare function dateValidator(control: AbstractControl): ValidationError
13
13
  export declare function valueGreaterThanZero(control: AbstractControl): ValidationErrors | null;
14
14
  export declare function requiredWithTrimValidator(control: AbstractControl): ValidationErrors | null;
15
15
  export declare function differentFromZero(control: AbstractControl): ValidationErrors | null;
16
+ export declare function documentValidatorByType(type: string, control: AbstractControl): ValidationErrors | null;
16
17
  export declare class Validators {
17
18
  static email(control: AbstractControl): ValidationErrors | null;
18
19
  static dateRange(control: AbstractControl): ValidationErrors | null;
@@ -31,4 +32,5 @@ export declare class Validators {
31
32
  static greaterThanZero(control: AbstractControl): ValidationErrors | null;
32
33
  static required(control: AbstractControl): ValidationErrors | null;
33
34
  static differentFromZero(control: AbstractControl): ValidationErrors | null;
35
+ static documentValidatorByType(type: string): (control: AbstractControl) => ValidationErrors | null;
34
36
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.450",
3
+ "version": "0.0.452",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.1.1",
6
6
  "@angular/common": "^13.1.1",
Binary file