@angular/forms 18.0.0 → 18.1.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.
Files changed (27) hide show
  1. package/esm2022/src/directives/abstract_form_group_directive.mjs +3 -3
  2. package/esm2022/src/directives/checkbox_value_accessor.mjs +3 -3
  3. package/esm2022/src/directives/control_value_accessor.mjs +6 -6
  4. package/esm2022/src/directives/default_value_accessor.mjs +3 -3
  5. package/esm2022/src/directives/ng_control_status.mjs +6 -6
  6. package/esm2022/src/directives/ng_form.mjs +3 -3
  7. package/esm2022/src/directives/ng_model.mjs +3 -3
  8. package/esm2022/src/directives/ng_model_group.mjs +3 -3
  9. package/esm2022/src/directives/ng_no_validate_directive.mjs +3 -3
  10. package/esm2022/src/directives/number_value_accessor.mjs +3 -3
  11. package/esm2022/src/directives/radio_control_value_accessor.mjs +6 -6
  12. package/esm2022/src/directives/range_value_accessor.mjs +3 -3
  13. package/esm2022/src/directives/reactive_directives/form_control_directive.mjs +3 -3
  14. package/esm2022/src/directives/reactive_directives/form_control_name.mjs +3 -3
  15. package/esm2022/src/directives/reactive_directives/form_group_directive.mjs +3 -3
  16. package/esm2022/src/directives/reactive_directives/form_group_name.mjs +6 -6
  17. package/esm2022/src/directives/select_control_value_accessor.mjs +6 -6
  18. package/esm2022/src/directives/select_multiple_control_value_accessor.mjs +6 -6
  19. package/esm2022/src/directives/validators.mjs +27 -27
  20. package/esm2022/src/directives.mjs +4 -4
  21. package/esm2022/src/form_builder.mjs +9 -9
  22. package/esm2022/src/form_providers.mjs +8 -8
  23. package/esm2022/src/version.mjs +1 -1
  24. package/fesm2022/forms.mjs +122 -122
  25. package/fesm2022/forms.mjs.map +1 -1
  26. package/index.d.ts +6 -6
  27. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.0.0
2
+ * @license Angular v18.1.0-next.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3430,7 +3430,7 @@ declare namespace i9 {
3430
3430
  *
3431
3431
  * @publicApi
3432
3432
  */
3433
- export declare const isFormArray: (control: unknown) => control is FormArray<any>;
3433
+ export declare const isFormArray: (control: unknown) => control is FormArray;
3434
3434
 
3435
3435
  /**
3436
3436
  * @description
@@ -3438,7 +3438,7 @@ export declare const isFormArray: (control: unknown) => control is FormArray<any
3438
3438
  *
3439
3439
  * @publicApi
3440
3440
  */
3441
- export declare const isFormControl: (control: unknown) => control is FormControl<any>;
3441
+ export declare const isFormControl: (control: unknown) => control is FormControl;
3442
3442
 
3443
3443
  /**
3444
3444
  * @description
@@ -3446,7 +3446,7 @@ export declare const isFormControl: (control: unknown) => control is FormControl
3446
3446
  *
3447
3447
  * @publicApi
3448
3448
  */
3449
- export declare const isFormGroup: (control: unknown) => control is FormGroup<any>;
3449
+ export declare const isFormGroup: (control: unknown) => control is FormGroup;
3450
3450
 
3451
3451
  /**
3452
3452
  * @description
@@ -3454,7 +3454,7 @@ export declare const isFormGroup: (control: unknown) => control is FormGroup<any
3454
3454
  *
3455
3455
  * @publicApi
3456
3456
  */
3457
- export declare const isFormRecord: (control: unknown) => control is FormRecord<AbstractControl<any, any>>;
3457
+ export declare const isFormRecord: (control: unknown) => control is FormRecord;
3458
3458
 
3459
3459
  /**
3460
3460
  * @description
@@ -4120,7 +4120,7 @@ export declare class NgModel extends NgControl implements OnChanges, OnDestroy {
4120
4120
  * the view model updates.
4121
4121
  */
4122
4122
  update: EventEmitter<any>;
4123
- constructor(parent: ControlContainer, validators: (Validator | ValidatorFn)[], asyncValidators: (AsyncValidator | AsyncValidatorFn)[], valueAccessors: ControlValueAccessor[], _changeDetectorRef?: ChangeDetectorRef | null | undefined, callSetDisabledState?: SetDisabledStateOption | undefined);
4123
+ constructor(parent: ControlContainer, validators: (Validator | ValidatorFn)[], asyncValidators: (AsyncValidator | AsyncValidatorFn)[], valueAccessors: ControlValueAccessor[], _changeDetectorRef?: (ChangeDetectorRef | null) | undefined, callSetDisabledState?: SetDisabledStateOption | undefined);
4124
4124
  /** @nodoc */
4125
4125
  ngOnChanges(changes: SimpleChanges): void;
4126
4126
  /** @nodoc */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/forms",
3
- "version": "18.0.0",
3
+ "version": "18.1.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": "18.0.0",
15
- "@angular/common": "18.0.0",
16
- "@angular/platform-browser": "18.0.0",
14
+ "@angular/core": "18.1.0-next.0",
15
+ "@angular/common": "18.1.0-next.0",
16
+ "@angular/platform-browser": "18.1.0-next.0",
17
17
  "rxjs": "^6.5.3 || ^7.4.0"
18
18
  },
19
19
  "repository": {