@angular/forms 21.2.6 → 21.2.8
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/_validation_errors-chunk.mjs +1 -1
- package/fesm2022/forms.mjs +129 -129
- package/fesm2022/forms.mjs.map +1 -1
- package/fesm2022/signals-compat.mjs +1 -1
- package/fesm2022/signals.mjs +7 -7
- package/package.json +4 -4
- package/resources/code-examples.db +0 -0
- package/types/_structure-chunk.d.ts +1 -1
- package/types/forms.d.ts +5 -3
- package/types/signals-compat.d.ts +1 -1
- package/types/signals.d.ts +1 -1
package/fesm2022/signals.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.8
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1051,7 +1051,7 @@ class FormField {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1053
1053
|
minVersion: "12.0.0",
|
|
1054
|
-
version: "21.2.
|
|
1054
|
+
version: "21.2.8",
|
|
1055
1055
|
ngImport: i0,
|
|
1056
1056
|
type: FormField,
|
|
1057
1057
|
deps: [],
|
|
@@ -1059,7 +1059,7 @@ class FormField {
|
|
|
1059
1059
|
});
|
|
1060
1060
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1061
1061
|
minVersion: "17.1.0",
|
|
1062
|
-
version: "21.2.
|
|
1062
|
+
version: "21.2.8",
|
|
1063
1063
|
type: FormField,
|
|
1064
1064
|
isStandalone: true,
|
|
1065
1065
|
selector: "[formField]",
|
|
@@ -1091,7 +1091,7 @@ class FormField {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
i0.ɵɵngDeclareClassMetadata({
|
|
1093
1093
|
minVersion: "12.0.0",
|
|
1094
|
-
version: "21.2.
|
|
1094
|
+
version: "21.2.8",
|
|
1095
1095
|
ngImport: i0,
|
|
1096
1096
|
type: FormField,
|
|
1097
1097
|
decorators: [{
|
|
@@ -1136,7 +1136,7 @@ class FormRoot {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1138
1138
|
minVersion: "12.0.0",
|
|
1139
|
-
version: "21.2.
|
|
1139
|
+
version: "21.2.8",
|
|
1140
1140
|
ngImport: i0,
|
|
1141
1141
|
type: FormRoot,
|
|
1142
1142
|
deps: [],
|
|
@@ -1144,7 +1144,7 @@ class FormRoot {
|
|
|
1144
1144
|
});
|
|
1145
1145
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1146
1146
|
minVersion: "17.1.0",
|
|
1147
|
-
version: "21.2.
|
|
1147
|
+
version: "21.2.8",
|
|
1148
1148
|
type: FormRoot,
|
|
1149
1149
|
isStandalone: true,
|
|
1150
1150
|
selector: "form[formRoot]",
|
|
@@ -1170,7 +1170,7 @@ class FormRoot {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
i0.ɵɵngDeclareClassMetadata({
|
|
1172
1172
|
minVersion: "12.0.0",
|
|
1173
|
-
version: "21.2.
|
|
1173
|
+
version: "21.2.8",
|
|
1174
1174
|
ngImport: i0,
|
|
1175
1175
|
type: FormRoot,
|
|
1176
1176
|
decorators: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.8",
|
|
4
4
|
"description": "Angular - directives and services for creating forms",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"@standard-schema/spec": "^1.0.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/core": "21.2.
|
|
16
|
-
"@angular/common": "21.2.
|
|
17
|
-
"@angular/platform-browser": "21.2.
|
|
15
|
+
"@angular/core": "21.2.8",
|
|
16
|
+
"@angular/common": "21.2.8",
|
|
17
|
+
"@angular/platform-browser": "21.2.8",
|
|
18
18
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
Binary file
|
package/types/forms.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.8
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1014,7 +1014,8 @@ type ɵFormArrayRawValue<T extends AbstractControl<any>> = ɵTypedOrUntyped<T, A
|
|
|
1014
1014
|
*
|
|
1015
1015
|
* A `FormArray` aggregates the values of each child `FormControl` into an array.
|
|
1016
1016
|
* It calculates its status by reducing the status values of its children. For example, if one of
|
|
1017
|
-
* the controls in a `FormArray` is invalid, the entire array becomes invalid.
|
|
1017
|
+
* the controls in a `FormArray` is invalid, the entire array becomes invalid. Similarly, if all
|
|
1018
|
+
* controls in a `FormArray` are disabled, the entire array becomes disabled.
|
|
1018
1019
|
*
|
|
1019
1020
|
* `FormArray` accepts one generic argument, which is the type of the controls inside.
|
|
1020
1021
|
* If you need a heterogenous array, use {@link UntypedFormArray}.
|
|
@@ -2543,7 +2544,8 @@ declare abstract class AbstractControl<TValue = any, TRawValue extends TValue =
|
|
|
2543
2544
|
* with a key-value pair for each member of the group.
|
|
2544
2545
|
* * For a disabled `FormGroup`, the values of all controls as an object
|
|
2545
2546
|
* with a key-value pair for each member of the group.
|
|
2546
|
-
* * For
|
|
2547
|
+
* * For an enabled `FormArray`, the values of enabled controls as an array.
|
|
2548
|
+
* * For a disabled `FormArray`, the values of all controls as an array.
|
|
2547
2549
|
*
|
|
2548
2550
|
*/
|
|
2549
2551
|
readonly value: TValue;
|
package/types/signals.d.ts
CHANGED