@angular/forms 19.2.0-rc.0 → 20.0.0-next.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/fesm2022/forms.mjs +148 -164
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +1 -8
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v20.0.0-next.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -204,8 +204,6 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
|
|
|
204
204
|
* accessing a value of a parent control (using the `value` property) from the callback of this
|
|
205
205
|
* event might result in getting a value that has not been updated yet. Subscribe to the
|
|
206
206
|
* `valueChanges` event of the parent control instead.
|
|
207
|
-
*
|
|
208
|
-
* TODO: this should be piped from events() but is breaking in G3
|
|
209
207
|
*/
|
|
210
208
|
readonly valueChanges: Observable<TValue>;
|
|
211
209
|
/**
|
|
@@ -214,8 +212,6 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
|
|
|
214
212
|
*
|
|
215
213
|
* @see {@link FormControlStatus}
|
|
216
214
|
* @see {@link AbstractControl.status}
|
|
217
|
-
*
|
|
218
|
-
* TODO: this should be piped from events() but is breaking in G3
|
|
219
215
|
*/
|
|
220
216
|
readonly statusChanges: Observable<FormControlStatus>;
|
|
221
217
|
/**
|
|
@@ -1896,7 +1892,6 @@ export declare class FormArrayName extends ControlContainer implements OnInit, O
|
|
|
1896
1892
|
* Each index is the string name of the control on that level.
|
|
1897
1893
|
*/
|
|
1898
1894
|
get path(): string[];
|
|
1899
|
-
private _checkParentType;
|
|
1900
1895
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormArrayName, [{ optional: true; host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
1901
1896
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormArrayName, "[formArrayName]", never, { "name": { "alias": "formArrayName"; "required": false; }; }, {}, never, never, false, never>;
|
|
1902
1897
|
}
|
|
@@ -2451,7 +2446,6 @@ export declare class FormControlName extends NgControl implements OnChanges, OnD
|
|
|
2451
2446
|
* The top-level directive for this group if present, otherwise null.
|
|
2452
2447
|
*/
|
|
2453
2448
|
get formDirective(): any;
|
|
2454
|
-
private _checkParentType;
|
|
2455
2449
|
private _setUpControl;
|
|
2456
2450
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlName, [{ optional: true; host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }]>;
|
|
2457
2451
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlName, "[formControlName]", never, { "name": { "alias": "formControlName"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never>;
|
|
@@ -4155,7 +4149,6 @@ export declare class NgModel extends NgControl implements OnChanges, OnDestroy {
|
|
|
4155
4149
|
private _isStandalone;
|
|
4156
4150
|
private _setUpStandalone;
|
|
4157
4151
|
private _checkForErrors;
|
|
4158
|
-
private _checkParentType;
|
|
4159
4152
|
private _checkName;
|
|
4160
4153
|
private _updateValue;
|
|
4161
4154
|
private _updateDisabled;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0-next.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
|
-
"@angular/common": "
|
|
16
|
-
"@angular/platform-browser": "
|
|
14
|
+
"@angular/core": "20.0.0-next.0",
|
|
15
|
+
"@angular/common": "20.0.0-next.0",
|
|
16
|
+
"@angular/platform-browser": "20.0.0-next.0",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|