@angular/forms 20.0.0-next.0 → 20.0.0-next.1
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/fesm2022/forms.mjs +133 -133
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +13 -13
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v20.0.0-next.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -4948,7 +4948,7 @@ export declare class Validators {
|
|
|
4948
4948
|
* @returns A validator function that returns an error map with the
|
|
4949
4949
|
* `min` property if the validation check fails, otherwise `null`.
|
|
4950
4950
|
*
|
|
4951
|
-
* @see {@link updateValueAndValidity
|
|
4951
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
4952
4952
|
*
|
|
4953
4953
|
*/
|
|
4954
4954
|
static min(min: number): ValidatorFn;
|
|
@@ -4969,7 +4969,7 @@ export declare class Validators {
|
|
|
4969
4969
|
* @returns A validator function that returns an error map with the
|
|
4970
4970
|
* `max` property if the validation check fails, otherwise `null`.
|
|
4971
4971
|
*
|
|
4972
|
-
* @see {@link updateValueAndValidity
|
|
4972
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
4973
4973
|
*
|
|
4974
4974
|
*/
|
|
4975
4975
|
static max(max: number): ValidatorFn;
|
|
@@ -4990,7 +4990,7 @@ export declare class Validators {
|
|
|
4990
4990
|
* @returns An error map with the `required` property
|
|
4991
4991
|
* if the validation check fails, otherwise `null`.
|
|
4992
4992
|
*
|
|
4993
|
-
* @see {@link updateValueAndValidity
|
|
4993
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
4994
4994
|
*
|
|
4995
4995
|
*/
|
|
4996
4996
|
static required(control: AbstractControl): ValidationErrors | null;
|
|
@@ -5012,7 +5012,7 @@ export declare class Validators {
|
|
|
5012
5012
|
* @returns An error map that contains the `required` property
|
|
5013
5013
|
* set to `true` if the validation check fails, otherwise `null`.
|
|
5014
5014
|
*
|
|
5015
|
-
* @see {@link updateValueAndValidity
|
|
5015
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5016
5016
|
*
|
|
5017
5017
|
*/
|
|
5018
5018
|
static requiredTrue(control: AbstractControl): ValidationErrors | null;
|
|
@@ -5049,7 +5049,7 @@ export declare class Validators {
|
|
|
5049
5049
|
* @returns An error map with the `email` property
|
|
5050
5050
|
* if the validation check fails, otherwise `null`.
|
|
5051
5051
|
*
|
|
5052
|
-
* @see {@link updateValueAndValidity
|
|
5052
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5053
5053
|
*
|
|
5054
5054
|
*/
|
|
5055
5055
|
static email(control: AbstractControl): ValidationErrors | null;
|
|
@@ -5081,7 +5081,7 @@ export declare class Validators {
|
|
|
5081
5081
|
* @returns A validator function that returns an error map with the
|
|
5082
5082
|
* `minlength` property if the validation check fails, otherwise `null`.
|
|
5083
5083
|
*
|
|
5084
|
-
* @see {@link updateValueAndValidity
|
|
5084
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5085
5085
|
*
|
|
5086
5086
|
*/
|
|
5087
5087
|
static minLength(minLength: number): ValidatorFn;
|
|
@@ -5110,7 +5110,7 @@ export declare class Validators {
|
|
|
5110
5110
|
* @returns A validator function that returns an error map with the
|
|
5111
5111
|
* `maxlength` property if the validation check fails, otherwise `null`.
|
|
5112
5112
|
*
|
|
5113
|
-
* @see {@link updateValueAndValidity
|
|
5113
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5114
5114
|
*
|
|
5115
5115
|
*/
|
|
5116
5116
|
static maxLength(maxLength: number): ValidatorFn;
|
|
@@ -5160,7 +5160,7 @@ export declare class Validators {
|
|
|
5160
5160
|
* @returns A validator function that returns an error map with the
|
|
5161
5161
|
* `pattern` property if the validation check fails, otherwise `null`.
|
|
5162
5162
|
*
|
|
5163
|
-
* @see {@link updateValueAndValidity
|
|
5163
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5164
5164
|
*
|
|
5165
5165
|
*/
|
|
5166
5166
|
static pattern(pattern: string | RegExp): ValidatorFn;
|
|
@@ -5168,7 +5168,7 @@ export declare class Validators {
|
|
|
5168
5168
|
* @description
|
|
5169
5169
|
* Validator that performs no operation.
|
|
5170
5170
|
*
|
|
5171
|
-
* @see {@link updateValueAndValidity
|
|
5171
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5172
5172
|
*
|
|
5173
5173
|
*/
|
|
5174
5174
|
static nullValidator(control: AbstractControl): ValidationErrors | null;
|
|
@@ -5180,7 +5180,7 @@ export declare class Validators {
|
|
|
5180
5180
|
* @returns A validator function that returns an error map with the
|
|
5181
5181
|
* merged error maps of the validators if the validation check fails, otherwise `null`.
|
|
5182
5182
|
*
|
|
5183
|
-
* @see {@link updateValueAndValidity
|
|
5183
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5184
5184
|
*
|
|
5185
5185
|
*/
|
|
5186
5186
|
static compose(validators: null): null;
|
|
@@ -5193,7 +5193,7 @@ export declare class Validators {
|
|
|
5193
5193
|
* @returns A validator function that returns an error map with the
|
|
5194
5194
|
* merged error objects of the async validators if the validation check fails, otherwise `null`.
|
|
5195
5195
|
*
|
|
5196
|
-
* @see {@link updateValueAndValidity
|
|
5196
|
+
* @see {@link /api/forms/AbstractControl#updateValueAndValidity updateValueAndValidity}
|
|
5197
5197
|
*
|
|
5198
5198
|
*/
|
|
5199
5199
|
static composeAsync(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.1",
|
|
4
4
|
"description": "Angular - directives and services for creating forms",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/core": "20.0.0-next.
|
|
15
|
-
"@angular/common": "20.0.0-next.
|
|
16
|
-
"@angular/platform-browser": "20.0.0-next.
|
|
14
|
+
"@angular/core": "20.0.0-next.1",
|
|
15
|
+
"@angular/common": "20.0.0-next.1",
|
|
16
|
+
"@angular/platform-browser": "20.0.0-next.1",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|