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.
- package/esm2020/lib/core/utils/utils.mjs +15 -1
- package/esm2020/lib/core/utils/validators.mjs +23 -1
- package/fesm2015/monkey-front-core.mjs +34 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +37 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/utils/utils.d.ts +1 -0
- package/lib/core/utils/validators.d.ts +2 -0
- package/monkey-front-core-0.0.452.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.450.tgz +0 -0
|
@@ -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
|
Binary file
|