monkey-front-core 0.0.545 → 0.0.547
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/validators.mjs +20 -1
- package/fesm2015/monkey-front-core.mjs +20 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +20 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/utils/validators.d.ts +2 -0
- package/monkey-front-core-0.0.547.tgz +0 -0
- package/package.json +2 -2
- package/monkey-front-core-0.0.545.tgz +0 -0
|
@@ -9,6 +9,7 @@ export declare function trueValidator(control: AbstractControl): ValidationError
|
|
|
9
9
|
export declare function comboValidator(control: AbstractControl): ValidationErrors | null;
|
|
10
10
|
export declare function zipCodeValidator(control: AbstractControl, country?: string): ValidationErrors | null;
|
|
11
11
|
export declare function documentValidator(control: AbstractControl, country: string): ValidationErrors | null;
|
|
12
|
+
export declare function minYearsValidator(param: number, control: AbstractControl): ValidationErrors | null;
|
|
12
13
|
export declare function dateValidator(control: AbstractControl): ValidationErrors | null;
|
|
13
14
|
export declare function valueGreaterThanZero(control: AbstractControl): ValidationErrors | null;
|
|
14
15
|
export declare function requiredWithTrimValidator(control: AbstractControl): ValidationErrors | null;
|
|
@@ -30,6 +31,7 @@ export declare class Validators {
|
|
|
30
31
|
static documentCL(control: AbstractControl): ValidationErrors | null;
|
|
31
32
|
static documentMX(control: AbstractControl): ValidationErrors | null;
|
|
32
33
|
static date(control: AbstractControl): ValidationErrors | null;
|
|
34
|
+
static minYears(param: number): ValidationErrors | null;
|
|
33
35
|
static greaterThanZero(control: AbstractControl): ValidationErrors | null;
|
|
34
36
|
static required(control: AbstractControl): ValidationErrors | null;
|
|
35
37
|
static differentFromZero(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.
|
|
3
|
+
"version": "0.0.547",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^13.1.1",
|
|
6
6
|
"@angular/common": "^13.1.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"rxjs": "^6.6.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"monkey-style-guide": "^2.0.
|
|
28
|
+
"monkey-style-guide": "^2.0.204",
|
|
29
29
|
"tslib": "^2.3.0"
|
|
30
30
|
},
|
|
31
31
|
"module": "fesm2015/monkey-front-core.mjs",
|
|
Binary file
|