@angular/forms 15.2.0-next.4 → 15.2.0-rc.0
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/esm2020/src/directives/abstract_form_group_directive.mjs +3 -3
- package/esm2020/src/directives/checkbox_value_accessor.mjs +3 -3
- package/esm2020/src/directives/control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/default_value_accessor.mjs +3 -3
- package/esm2020/src/directives/ng_control_status.mjs +6 -6
- package/esm2020/src/directives/ng_form.mjs +3 -3
- package/esm2020/src/directives/ng_model.mjs +3 -3
- package/esm2020/src/directives/ng_model_group.mjs +3 -3
- package/esm2020/src/directives/ng_no_validate_directive.mjs +3 -3
- package/esm2020/src/directives/number_value_accessor.mjs +3 -3
- package/esm2020/src/directives/radio_control_value_accessor.mjs +41 -12
- package/esm2020/src/directives/range_value_accessor.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_control_directive.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_control_name.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_group_directive.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_group_name.mjs +6 -6
- package/esm2020/src/directives/select_control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/select_multiple_control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/validators.mjs +27 -27
- package/esm2020/src/directives.mjs +4 -4
- package/esm2020/src/form_builder.mjs +9 -9
- package/esm2020/src/form_providers.mjs +8 -8
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/forms.mjs +155 -126
- package/fesm2015/forms.mjs.map +1 -1
- package/fesm2020/forms.mjs +154 -126
- package/fesm2020/forms.mjs.map +1 -1
- package/index.d.ts +5 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.0-
|
|
2
|
+
* @license Angular v15.2.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -4353,6 +4353,7 @@ declare class RadioControlRegistryModule {
|
|
|
4353
4353
|
export declare class RadioControlValueAccessor extends BuiltInControlValueAccessor implements ControlValueAccessor, OnDestroy, OnInit {
|
|
4354
4354
|
private _registry;
|
|
4355
4355
|
private _injector;
|
|
4356
|
+
private setDisabledStateFired;
|
|
4356
4357
|
/**
|
|
4357
4358
|
* The registered callback function called when a change event occurs on the input element.
|
|
4358
4359
|
* Note: we declare `onChange` here (also used as host listener) as a function with no arguments
|
|
@@ -4377,6 +4378,7 @@ export declare class RadioControlValueAccessor extends BuiltInControlValueAccess
|
|
|
4377
4378
|
* Tracks the value of the radio input element
|
|
4378
4379
|
*/
|
|
4379
4380
|
value: any;
|
|
4381
|
+
private callSetDisabledState;
|
|
4380
4382
|
constructor(renderer: Renderer2, elementRef: ElementRef, _registry: RadioControlRegistry, _injector: Injector);
|
|
4381
4383
|
/** @nodoc */
|
|
4382
4384
|
ngOnInit(): void;
|
|
@@ -4392,6 +4394,8 @@ export declare class RadioControlValueAccessor extends BuiltInControlValueAccess
|
|
|
4392
4394
|
* @nodoc
|
|
4393
4395
|
*/
|
|
4394
4396
|
registerOnChange(fn: (_: any) => {}): void;
|
|
4397
|
+
/** @nodoc */
|
|
4398
|
+
setDisabledState(isDisabled: boolean): void;
|
|
4395
4399
|
/**
|
|
4396
4400
|
* Sets the "value" on the radio input element and unchecks it.
|
|
4397
4401
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "15.2.0-
|
|
3
|
+
"version": "15.2.0-rc.0",
|
|
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": "15.2.0-
|
|
15
|
-
"@angular/common": "15.2.0-
|
|
16
|
-
"@angular/platform-browser": "15.2.0-
|
|
14
|
+
"@angular/core": "15.2.0-rc.0",
|
|
15
|
+
"@angular/common": "15.2.0-rc.0",
|
|
16
|
+
"@angular/platform-browser": "15.2.0-rc.0",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|