@angular/forms 18.1.0-next.3 → 18.1.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.
Files changed (28) 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/model/abstract_model.mjs +23 -14
  24. package/esm2022/src/version.mjs +1 -1
  25. package/fesm2022/forms.mjs +144 -135
  26. package/fesm2022/forms.mjs.map +1 -1
  27. package/index.d.ts +4 -1
  28. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.1.0-next.3
2
+ * @license Angular v18.1.0-rc.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -91,6 +91,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
91
91
  * both valid AND invalid or invalid AND disabled.
92
92
  */
93
93
  get status(): FormControlStatus;
94
+ private set status(value);
94
95
  private readonly statusReactive;
95
96
  /**
96
97
  * A control is `valid` when its `status` is `VALID`.
@@ -154,6 +155,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
154
155
  * Programmatic changes to a control's value do not mark it dirty.
155
156
  */
156
157
  get pristine(): boolean;
158
+ private set pristine(value);
157
159
  private readonly pristineReactive;
158
160
  /**
159
161
  * A control is `dirty` if the user has changed the value
@@ -170,6 +172,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
170
172
  * a `blur` event on it.
171
173
  */
172
174
  get touched(): boolean;
175
+ private set touched(value);
173
176
  private readonly touchedReactive;
174
177
  /**
175
178
  * True if the control has not been marked as touched
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/forms",
3
- "version": "18.1.0-next.3",
3
+ "version": "18.1.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": "18.1.0-next.3",
15
- "@angular/common": "18.1.0-next.3",
16
- "@angular/platform-browser": "18.1.0-next.3",
14
+ "@angular/core": "18.1.0-rc.0",
15
+ "@angular/common": "18.1.0-rc.0",
16
+ "@angular/platform-browser": "18.1.0-rc.0",
17
17
  "rxjs": "^6.5.3 || ^7.4.0"
18
18
  },
19
19
  "repository": {