@angular/forms 21.2.4 → 21.2.6
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/_validation_errors-chunk.mjs.map +1 -1
- package/fesm2022/forms.mjs +131 -131
- package/fesm2022/forms.mjs.map +1 -1
- package/fesm2022/signals-compat.mjs +2 -2
- package/fesm2022/signals-compat.mjs.map +1 -1
- package/fesm2022/signals.mjs +9 -9
- package/fesm2022/signals.mjs.map +1 -1
- package/package.json +4 -4
- package/resources/code-examples.db +0 -0
- package/types/_structure-chunk.d.ts +3 -3
- package/types/forms.d.ts +2 -2
- package/types/signals-compat.d.ts +1 -1
- package/types/signals.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.6",
|
|
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.6",
|
|
16
|
+
"@angular/common": "21.2.6",
|
|
17
|
+
"@angular/platform-browser": "21.2.6",
|
|
18
18
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.6
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { WritableSignal, Signal,
|
|
8
|
+
import { WritableSignal, Signal, Injector, InjectionToken, Provider } from '@angular/core';
|
|
9
9
|
import { AbstractControl, ValidationErrors, FormControlStatus, ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
10
10
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
11
|
|
|
@@ -49,7 +49,7 @@ interface FormSubmitOptions<TRootModel, TSubmittedModel> {
|
|
|
49
49
|
* Whether to ignore any of the validators when submitting:
|
|
50
50
|
* - 'pending': Will submit if there are no invalid validators, pending validators do not block submission (default)
|
|
51
51
|
* - 'none': Will not submit unless all validators are passing, pending validators block submission
|
|
52
|
-
* - '
|
|
52
|
+
* - 'all': Will always submit regardless of invalid or pending validators
|
|
53
53
|
*/
|
|
54
54
|
ignoreValidators?: 'pending' | 'none' | 'all';
|
|
55
55
|
}
|
package/types/forms.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.6
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import {
|
|
8
|
+
import { Renderer2, ElementRef, InjectionToken, OnDestroy, OnChanges, SimpleChanges, OnInit, Injector, EventEmitter, ChangeDetectorRef, AfterViewInit, Version, ModuleWithProviders } from '@angular/core';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
|
|
11
11
|
/**
|
package/types/signals.d.ts
CHANGED