@angular/forms 19.2.0-next.3 → 19.2.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 +151 -170
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +2 -10
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.0
|
|
2
|
+
* @license Angular v19.2.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>;
|
|
@@ -3037,7 +3031,6 @@ export declare class FormGroupDirective extends ControlContainer implements Form
|
|
|
3037
3031
|
private _cleanUpFormContainer;
|
|
3038
3032
|
private _updateRegistrations;
|
|
3039
3033
|
private _updateValidators;
|
|
3040
|
-
private _checkFormPresent;
|
|
3041
3034
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupDirective, [{ optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }]>;
|
|
3042
3035
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupDirective, "[formGroup]", ["ngForm"], { "form": { "alias": "formGroup"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, false, never>;
|
|
3043
3036
|
}
|
|
@@ -3175,7 +3168,7 @@ export declare interface FormRecord<TControl> {
|
|
|
3175
3168
|
* See `FormGroup#setValue` for additional information.
|
|
3176
3169
|
*/
|
|
3177
3170
|
setValue(value: {
|
|
3178
|
-
[key: string]:
|
|
3171
|
+
[key: string]: ɵRawValue<TControl>;
|
|
3179
3172
|
}, options?: {
|
|
3180
3173
|
onlySelf?: boolean;
|
|
3181
3174
|
emitEvent?: boolean;
|
|
@@ -4156,7 +4149,6 @@ export declare class NgModel extends NgControl implements OnChanges, OnDestroy {
|
|
|
4156
4149
|
private _isStandalone;
|
|
4157
4150
|
private _setUpStandalone;
|
|
4158
4151
|
private _checkForErrors;
|
|
4159
|
-
private _checkParentType;
|
|
4160
4152
|
private _checkName;
|
|
4161
4153
|
private _updateValue;
|
|
4162
4154
|
private _updateDisabled;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "19.2.0
|
|
3
|
+
"version": "19.2.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": "19.2.0
|
|
15
|
-
"@angular/common": "19.2.0
|
|
16
|
-
"@angular/platform-browser": "19.2.0
|
|
14
|
+
"@angular/core": "19.2.0",
|
|
15
|
+
"@angular/common": "19.2.0",
|
|
16
|
+
"@angular/platform-browser": "19.2.0",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|