zek 16.0.23 → 16.0.25
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/esm2022/lib/modules/validators/directive.mjs +12 -12
- package/esm2022/lib/modules/validators/module.mjs +7 -3
- package/esm2022/lib/modules/validators/validator.mjs +18 -10
- package/fesm2022/zek.mjs +35 -23
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/modules/validators/directive.d.ts +4 -3
- package/lib/modules/validators/module.d.ts +1 -1
- package/lib/modules/validators/validator.d.ts +1 -1
- package/package.json +1 -1
|
@@ -53,6 +53,7 @@ declare abstract class AbstractValidatorDirective implements Validator, OnChange
|
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractValidatorDirective, never>;
|
|
54
54
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractValidatorDirective, never, never, {}, {}, never, never, false, never>;
|
|
55
55
|
}
|
|
56
|
+
export declare const RANGE_VALIDATOR: any;
|
|
56
57
|
export declare class RangeValidator extends AbstractValidatorDirective {
|
|
57
58
|
range: [number, number] | null;
|
|
58
59
|
/** @internal */
|
|
@@ -70,14 +71,14 @@ export declare class RangeValidator extends AbstractValidatorDirective {
|
|
|
70
71
|
*/
|
|
71
72
|
export declare const MATCH_VALIDATOR: any;
|
|
72
73
|
export declare class MatchValidator extends AbstractValidatorDirective {
|
|
73
|
-
|
|
74
|
+
match: string;
|
|
74
75
|
/** @internal */
|
|
75
76
|
inputName: string;
|
|
76
77
|
/** @internal */
|
|
77
78
|
normalizeInput: (input: string) => string;
|
|
78
79
|
/** @internal */
|
|
79
|
-
createValidator: (
|
|
80
|
+
createValidator: (input: string) => ValidatorFn;
|
|
80
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchValidator, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchValidator, "
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchValidator, "[match][formControlName],match][formControl],[match][ngModel]", never, { "match": { "alias": "match"; "required": false; }; }, {}, never, never, false, never>;
|
|
82
83
|
}
|
|
83
84
|
export {};
|
|
@@ -3,6 +3,6 @@ import * as i1 from "./directive";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
export declare class ValidatorsModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidatorsModule, [typeof i1.RangeValidator, typeof i1.MatchValidator], [typeof i2.CommonModule], [typeof i1.RangeValidator]>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidatorsModule, [typeof i1.RangeValidator, typeof i1.MatchValidator], [typeof i2.CommonModule], [typeof i1.RangeValidator, typeof i1.MatchValidator]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<ValidatorsModule>;
|
|
8
8
|
}
|
|
@@ -52,4 +52,4 @@ export declare class Validators {
|
|
|
52
52
|
* See `Validators.range` for additional information.
|
|
53
53
|
*/
|
|
54
54
|
export declare function rangeValidator(range: Array<number>): ValidatorFn;
|
|
55
|
-
export declare function matchValidator(
|
|
55
|
+
export declare function matchValidator(input: string): ValidatorFn;
|