@angular/forms 19.1.0-next.4 → 19.1.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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.4
2
+ * @license Angular v19.1.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -585,7 +585,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
585
585
  *
586
586
  * ### Manually set the errors for a control
587
587
  *
588
- * ```
588
+ * ```ts
589
589
  * const login = new FormControl('someLogin');
590
590
  * login.setErrors({
591
591
  * notUnique: true
@@ -626,7 +626,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
626
626
  * @usageNotes
627
627
  * For example, for the following `FormGroup`:
628
628
  *
629
- * ```
629
+ * ```ts
630
630
  * form = new FormGroup({
631
631
  * address: new FormGroup({ street: new FormControl() })
632
632
  * });
@@ -654,7 +654,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
654
654
  * @usageNotes
655
655
  * For example, for the following `FormGroup`:
656
656
  *
657
- * ```
657
+ * ```ts
658
658
  * form = new FormGroup({
659
659
  * address: new FormGroup({ street: new FormControl() })
660
660
  * });
@@ -841,7 +841,7 @@ export declare abstract class AbstractControlDirective {
841
841
  * @usageNotes
842
842
  * For example, for the following `FormGroup`:
843
843
  *
844
- * ```
844
+ * ```ts
845
845
  * form = new FormGroup({
846
846
  * address: new FormGroup({ street: new FormControl() })
847
847
  * });
@@ -872,7 +872,7 @@ export declare abstract class AbstractControlDirective {
872
872
  * @usageNotes
873
873
  * For example, for the following `FormGroup`:
874
874
  *
875
- * ```
875
+ * ```ts
876
876
  * form = new FormGroup({
877
877
  * address: new FormGroup({ street: new FormControl() })
878
878
  * });
@@ -1671,7 +1671,7 @@ export declare class FormArray<TControl extends AbstractControl<any> = any> exte
1671
1671
  * @usageNotes
1672
1672
  * ### Set the values for the controls in the form array
1673
1673
  *
1674
- * ```
1674
+ * ```ts
1675
1675
  * const arr = new FormArray([
1676
1676
  * new FormControl(),
1677
1677
  * new FormControl()
@@ -1709,7 +1709,7 @@ export declare class FormArray<TControl extends AbstractControl<any> = any> exte
1709
1709
  * @usageNotes
1710
1710
  * ### Patch the values for controls in a form array
1711
1711
  *
1712
- * ```
1712
+ * ```ts
1713
1713
  * const arr = new FormArray([
1714
1714
  * new FormControl(),
1715
1715
  * new FormControl()
@@ -1758,7 +1758,7 @@ export declare class FormArray<TControl extends AbstractControl<any> = any> exte
1758
1758
  *
1759
1759
  * ### Reset the values in a form array and the disabled status for the first control
1760
1760
  *
1761
- * ```
1761
+ * ```ts
1762
1762
  * arr.reset([
1763
1763
  * {value: 'name', disabled: true},
1764
1764
  * 'last'
@@ -2729,7 +2729,7 @@ export declare class FormGroup<TControl extends {
2729
2729
  * @usageNotes
2730
2730
  * ### Set the complete value for the form group
2731
2731
  *
2732
- * ```
2732
+ * ```ts
2733
2733
  * const form = new FormGroup({
2734
2734
  * first: new FormControl(),
2735
2735
  * last: new FormControl()
@@ -2771,7 +2771,7 @@ export declare class FormGroup<TControl extends {
2771
2771
  * @usageNotes
2772
2772
  * ### Patch the value for a form group
2773
2773
  *
2774
- * ```
2774
+ * ```ts
2775
2775
  * const form = new FormGroup({
2776
2776
  * first: new FormControl(),
2777
2777
  * last: new FormControl()
@@ -2838,7 +2838,7 @@ export declare class FormGroup<TControl extends {
2838
2838
  *
2839
2839
  * ### Reset the form group values and disabled status
2840
2840
  *
2841
- * ```
2841
+ * ```ts
2842
2842
  * const form = new FormGroup({
2843
2843
  * first: new FormControl('first name'),
2844
2844
  * last: new FormControl('last name')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/forms",
3
- "version": "19.1.0-next.4",
3
+ "version": "19.1.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.1.0-next.4",
15
- "@angular/common": "19.1.0-next.4",
16
- "@angular/platform-browser": "19.1.0-next.4",
14
+ "@angular/core": "19.1.0",
15
+ "@angular/common": "19.1.0",
16
+ "@angular/platform-browser": "19.1.0",
17
17
  "rxjs": "^6.5.3 || ^7.4.0"
18
18
  },
19
19
  "repository": {