@angular/forms 16.0.0 → 16.0.2
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/src/directives/abstract_form_group_directive.mjs +3 -3
- package/esm2022/src/directives/checkbox_value_accessor.mjs +3 -3
- package/esm2022/src/directives/control_value_accessor.mjs +6 -6
- package/esm2022/src/directives/default_value_accessor.mjs +3 -3
- package/esm2022/src/directives/ng_control_status.mjs +6 -6
- package/esm2022/src/directives/ng_form.mjs +3 -3
- package/esm2022/src/directives/ng_model.mjs +6 -6
- package/esm2022/src/directives/ng_model_group.mjs +3 -3
- package/esm2022/src/directives/ng_no_validate_directive.mjs +3 -3
- package/esm2022/src/directives/number_value_accessor.mjs +3 -3
- package/esm2022/src/directives/radio_control_value_accessor.mjs +10 -10
- package/esm2022/src/directives/range_value_accessor.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_control_directive.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_control_name.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_group_directive.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_group_name.mjs +6 -6
- package/esm2022/src/directives/select_control_value_accessor.mjs +8 -8
- package/esm2022/src/directives/select_multiple_control_value_accessor.mjs +8 -8
- package/esm2022/src/directives/validators.mjs +27 -27
- package/esm2022/src/directives.mjs +4 -4
- package/esm2022/src/form_builder.mjs +9 -9
- package/esm2022/src/form_providers.mjs +8 -8
- package/esm2022/src/model/abstract_model.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/forms.mjs +130 -130
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +9 -3
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.
|
|
2
|
+
* @license Angular v16.0.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -179,6 +179,12 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
|
|
|
179
179
|
* A multicasting observable that emits an event every time the value of the control changes, in
|
|
180
180
|
* the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
181
181
|
* without passing along {emitEvent: false} as a function argument.
|
|
182
|
+
*
|
|
183
|
+
* **Note**: the emit happens right after a value of this control is updated. The value of a
|
|
184
|
+
* parent control (for example if this FormControl is a part of a FormGroup) is updated later, so
|
|
185
|
+
* accessing a value of a parent control (using the `value` property) from the callback of this
|
|
186
|
+
* event might result in getting a value that has not been updated yet. Subscribe to the
|
|
187
|
+
* `valueChanges` event of the parent control instead.
|
|
182
188
|
*/
|
|
183
189
|
readonly valueChanges: Observable<TValue>;
|
|
184
190
|
/**
|
|
@@ -3907,8 +3913,8 @@ declare const ngGroupStatusHost: {
|
|
|
3907
3913
|
|
|
3908
3914
|
/**
|
|
3909
3915
|
* @description
|
|
3910
|
-
* Creates a `FormControl` instance from a domain
|
|
3911
|
-
* to a form control element.
|
|
3916
|
+
* Creates a `FormControl` instance from a [domain
|
|
3917
|
+
* model](https://en.wikipedia.org/wiki/Domain_model) and binds it to a form control element.
|
|
3912
3918
|
*
|
|
3913
3919
|
* The `FormControl` instance tracks the value, user interaction, and
|
|
3914
3920
|
* validation status of the control and keeps the view synced with the model. If used
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.2",
|
|
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": "16.0.
|
|
15
|
-
"@angular/common": "16.0.
|
|
16
|
-
"@angular/platform-browser": "16.0.
|
|
14
|
+
"@angular/core": "16.0.2",
|
|
15
|
+
"@angular/common": "16.0.2",
|
|
16
|
+
"@angular/platform-browser": "16.0.2",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|