@angular/forms 22.0.0-next.1 → 22.0.0-next.2

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.1
2
+ * @license Angular v22.0.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.1
2
+ * @license Angular v22.0.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { InjectionToken, ɵisPromise as _isPromise, resource, linkedSignal, inject, ɵRuntimeError as _RuntimeError, untracked, input, Renderer2, DestroyRef, computed, Injector, ElementRef, signal, afterRenderEffect, effect, ɵformatRuntimeError as _formatRuntimeError, Directive } from '@angular/core';
8
+ import { InjectionToken, ɵisPromise as _isPromise, resource, linkedSignal, inject, ɵRuntimeError as _RuntimeError, untracked, input, computed, Renderer2, DestroyRef, Injector, ElementRef, signal, afterRenderEffect, effect, ɵformatRuntimeError as _formatRuntimeError, Directive } from '@angular/core';
9
9
  import { assertPathIsCurrent, FieldPathNode, addDefaultField, metadata, createMetadataKey, MAX, MAX_LENGTH, MIN, MIN_LENGTH, PATTERN, REQUIRED, createManagedMetadataKey, DEBOUNCER, signalErrorsToValidationErrors, submit } from './_validation_errors-chunk.mjs';
10
10
  export { MetadataKey, MetadataReducer, apply, applyEach, applyWhen, applyWhenValue, form, schema } from './_validation_errors-chunk.mjs';
11
11
  import { httpResource } from '@angular/common/http';
@@ -917,11 +917,11 @@ class FormField {
917
917
  } : {}),
918
918
  alias: 'formField'
919
919
  });
920
- renderer = inject(Renderer2);
921
- destroyRef = inject(DestroyRef);
922
920
  state = computed(() => this.field()(), ...(ngDevMode ? [{
923
921
  debugName: "state"
924
922
  }] : []));
923
+ renderer = inject(Renderer2);
924
+ destroyRef = inject(DestroyRef);
925
925
  injector = inject(Injector);
926
926
  element = inject(ElementRef).nativeElement;
927
927
  elementIsNativeFormElement = isNativeFormElement(this.element);
@@ -1051,7 +1051,7 @@ class FormField {
1051
1051
  }
1052
1052
  static ɵfac = i0.ɵɵngDeclareFactory({
1053
1053
  minVersion: "12.0.0",
1054
- version: "22.0.0-next.1",
1054
+ version: "22.0.0-next.2",
1055
1055
  ngImport: i0,
1056
1056
  type: FormField,
1057
1057
  deps: [],
@@ -1059,7 +1059,7 @@ class FormField {
1059
1059
  });
1060
1060
  static ɵdir = i0.ɵɵngDeclareDirective({
1061
1061
  minVersion: "17.1.0",
1062
- version: "22.0.0-next.1",
1062
+ version: "22.0.0-next.2",
1063
1063
  type: FormField,
1064
1064
  isStandalone: true,
1065
1065
  selector: "[formField]",
@@ -1091,7 +1091,7 @@ class FormField {
1091
1091
  }
1092
1092
  i0.ɵɵngDeclareClassMetadata({
1093
1093
  minVersion: "12.0.0",
1094
- version: "22.0.0-next.1",
1094
+ version: "22.0.0-next.2",
1095
1095
  ngImport: i0,
1096
1096
  type: FormField,
1097
1097
  decorators: [{
@@ -1136,7 +1136,7 @@ class FormRoot {
1136
1136
  }
1137
1137
  static ɵfac = i0.ɵɵngDeclareFactory({
1138
1138
  minVersion: "12.0.0",
1139
- version: "22.0.0-next.1",
1139
+ version: "22.0.0-next.2",
1140
1140
  ngImport: i0,
1141
1141
  type: FormRoot,
1142
1142
  deps: [],
@@ -1144,7 +1144,7 @@ class FormRoot {
1144
1144
  });
1145
1145
  static ɵdir = i0.ɵɵngDeclareDirective({
1146
1146
  minVersion: "17.1.0",
1147
- version: "22.0.0-next.1",
1147
+ version: "22.0.0-next.2",
1148
1148
  type: FormRoot,
1149
1149
  isStandalone: true,
1150
1150
  selector: "form[formRoot]",
@@ -1170,7 +1170,7 @@ class FormRoot {
1170
1170
  }
1171
1171
  i0.ɵɵngDeclareClassMetadata({
1172
1172
  minVersion: "12.0.0",
1173
- version: "22.0.0-next.1",
1173
+ version: "22.0.0-next.2",
1174
1174
  ngImport: i0,
1175
1175
  type: FormRoot,
1176
1176
  decorators: [{