@angular/forms 21.2.0-next.1 → 21.2.0-next.3

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 v21.2.0-next.1
2
+ * @license Angular v21.2.0-next.3
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -33,7 +33,7 @@ class BaseControlValueAccessor {
33
33
  }
34
34
  static ɵfac = i0.ɵɵngDeclareFactory({
35
35
  minVersion: "12.0.0",
36
- version: "21.2.0-next.1",
36
+ version: "21.2.0-next.3",
37
37
  ngImport: i0,
38
38
  type: BaseControlValueAccessor,
39
39
  deps: [{
@@ -45,7 +45,7 @@ class BaseControlValueAccessor {
45
45
  });
46
46
  static ɵdir = i0.ɵɵngDeclareDirective({
47
47
  minVersion: "14.0.0",
48
- version: "21.2.0-next.1",
48
+ version: "21.2.0-next.3",
49
49
  type: BaseControlValueAccessor,
50
50
  isStandalone: true,
51
51
  ngImport: i0
@@ -53,7 +53,7 @@ class BaseControlValueAccessor {
53
53
  }
54
54
  i0.ɵɵngDeclareClassMetadata({
55
55
  minVersion: "12.0.0",
56
- version: "21.2.0-next.1",
56
+ version: "21.2.0-next.3",
57
57
  ngImport: i0,
58
58
  type: BaseControlValueAccessor,
59
59
  decorators: [{
@@ -68,7 +68,7 @@ i0.ɵɵngDeclareClassMetadata({
68
68
  class BuiltInControlValueAccessor extends BaseControlValueAccessor {
69
69
  static ɵfac = i0.ɵɵngDeclareFactory({
70
70
  minVersion: "12.0.0",
71
- version: "21.2.0-next.1",
71
+ version: "21.2.0-next.3",
72
72
  ngImport: i0,
73
73
  type: BuiltInControlValueAccessor,
74
74
  deps: null,
@@ -76,7 +76,7 @@ class BuiltInControlValueAccessor extends BaseControlValueAccessor {
76
76
  });
77
77
  static ɵdir = i0.ɵɵngDeclareDirective({
78
78
  minVersion: "14.0.0",
79
- version: "21.2.0-next.1",
79
+ version: "21.2.0-next.3",
80
80
  type: BuiltInControlValueAccessor,
81
81
  isStandalone: true,
82
82
  usesInheritance: true,
@@ -85,7 +85,7 @@ class BuiltInControlValueAccessor extends BaseControlValueAccessor {
85
85
  }
86
86
  i0.ɵɵngDeclareClassMetadata({
87
87
  minVersion: "12.0.0",
88
- version: "21.2.0-next.1",
88
+ version: "21.2.0-next.3",
89
89
  ngImport: i0,
90
90
  type: BuiltInControlValueAccessor,
91
91
  decorators: [{
@@ -105,7 +105,7 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
105
105
  }
106
106
  static ɵfac = i0.ɵɵngDeclareFactory({
107
107
  minVersion: "12.0.0",
108
- version: "21.2.0-next.1",
108
+ version: "21.2.0-next.3",
109
109
  ngImport: i0,
110
110
  type: CheckboxControlValueAccessor,
111
111
  deps: null,
@@ -113,7 +113,7 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
113
113
  });
114
114
  static ɵdir = i0.ɵɵngDeclareDirective({
115
115
  minVersion: "14.0.0",
116
- version: "21.2.0-next.1",
116
+ version: "21.2.0-next.3",
117
117
  type: CheckboxControlValueAccessor,
118
118
  isStandalone: false,
119
119
  selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",
@@ -130,7 +130,7 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
130
130
  }
131
131
  i0.ɵɵngDeclareClassMetadata({
132
132
  minVersion: "12.0.0",
133
- version: "21.2.0-next.1",
133
+ version: "21.2.0-next.3",
134
134
  ngImport: i0,
135
135
  type: CheckboxControlValueAccessor,
136
136
  decorators: [{
@@ -185,7 +185,7 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
185
185
  }
186
186
  static ɵfac = i0.ɵɵngDeclareFactory({
187
187
  minVersion: "12.0.0",
188
- version: "21.2.0-next.1",
188
+ version: "21.2.0-next.3",
189
189
  ngImport: i0,
190
190
  type: DefaultValueAccessor,
191
191
  deps: [{
@@ -200,7 +200,7 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
200
200
  });
201
201
  static ɵdir = i0.ɵɵngDeclareDirective({
202
202
  minVersion: "14.0.0",
203
- version: "21.2.0-next.1",
203
+ version: "21.2.0-next.3",
204
204
  type: DefaultValueAccessor,
205
205
  isStandalone: false,
206
206
  selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",
@@ -219,7 +219,7 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
219
219
  }
220
220
  i0.ɵɵngDeclareClassMetadata({
221
221
  minVersion: "12.0.0",
222
- version: "21.2.0-next.1",
222
+ version: "21.2.0-next.3",
223
223
  ngImport: i0,
224
224
  type: DefaultValueAccessor,
225
225
  decorators: [{
@@ -568,7 +568,7 @@ class AbstractControlDirective {
568
568
  this._onDestroyCallbacks = [];
569
569
  }
570
570
  reset(value = undefined) {
571
- if (this.control) this.control.reset(value);
571
+ this.control?.reset(value);
572
572
  }
573
573
  hasError(errorCode, path) {
574
574
  return this.control ? this.control.hasError(errorCode, path) : false;
@@ -643,7 +643,7 @@ class NgControlStatus extends AbstractControlStatus {
643
643
  }
644
644
  static ɵfac = i0.ɵɵngDeclareFactory({
645
645
  minVersion: "12.0.0",
646
- version: "21.2.0-next.1",
646
+ version: "21.2.0-next.3",
647
647
  ngImport: i0,
648
648
  type: NgControlStatus,
649
649
  deps: [{
@@ -654,7 +654,7 @@ class NgControlStatus extends AbstractControlStatus {
654
654
  });
655
655
  static ɵdir = i0.ɵɵngDeclareDirective({
656
656
  minVersion: "14.0.0",
657
- version: "21.2.0-next.1",
657
+ version: "21.2.0-next.3",
658
658
  type: NgControlStatus,
659
659
  isStandalone: false,
660
660
  selector: "[formControlName],[ngModel],[formControl]",
@@ -675,7 +675,7 @@ class NgControlStatus extends AbstractControlStatus {
675
675
  }
676
676
  i0.ɵɵngDeclareClassMetadata({
677
677
  minVersion: "12.0.0",
678
- version: "21.2.0-next.1",
678
+ version: "21.2.0-next.3",
679
679
  ngImport: i0,
680
680
  type: NgControlStatus,
681
681
  decorators: [{
@@ -699,7 +699,7 @@ class NgControlStatusGroup extends AbstractControlStatus {
699
699
  }
700
700
  static ɵfac = i0.ɵɵngDeclareFactory({
701
701
  minVersion: "12.0.0",
702
- version: "21.2.0-next.1",
702
+ version: "21.2.0-next.3",
703
703
  ngImport: i0,
704
704
  type: NgControlStatusGroup,
705
705
  deps: [{
@@ -711,7 +711,7 @@ class NgControlStatusGroup extends AbstractControlStatus {
711
711
  });
712
712
  static ɵdir = i0.ɵɵngDeclareDirective({
713
713
  minVersion: "14.0.0",
714
- version: "21.2.0-next.1",
714
+ version: "21.2.0-next.3",
715
715
  type: NgControlStatusGroup,
716
716
  isStandalone: false,
717
717
  selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]",
@@ -733,7 +733,7 @@ class NgControlStatusGroup extends AbstractControlStatus {
733
733
  }
734
734
  i0.ɵɵngDeclareClassMetadata({
735
735
  minVersion: "12.0.0",
736
- version: "21.2.0-next.1",
736
+ version: "21.2.0-next.3",
737
737
  ngImport: i0,
738
738
  type: NgControlStatusGroup,
739
739
  decorators: [{
@@ -807,7 +807,7 @@ const ngModelWithFormGroupExample = `
807
807
  </div>
808
808
  `;
809
809
 
810
- const VERSION = /* @__PURE__ */new Version('21.2.0-next.1');
810
+ const VERSION = /* @__PURE__ */new Version('21.2.0-next.3');
811
811
 
812
812
  function controlParentException(nameOrIndex) {
813
813
  return new _RuntimeError(1050, `formControlName must be used with a parent formGroup or formArray directive. You'll want to add a formGroup/formArray
@@ -1143,8 +1143,8 @@ class AbstractControl {
1143
1143
  const changed = this.touched === false;
1144
1144
  this.touched = true;
1145
1145
  const sourceControl = opts.sourceControl ?? this;
1146
- if (this._parent && !opts.onlySelf) {
1147
- this._parent.markAsTouched({
1146
+ if (!opts.onlySelf) {
1147
+ this._parent?.markAsTouched({
1148
1148
  ...opts,
1149
1149
  sourceControl
1150
1150
  });
@@ -1181,8 +1181,8 @@ class AbstractControl {
1181
1181
  sourceControl
1182
1182
  });
1183
1183
  });
1184
- if (this._parent && !opts.onlySelf) {
1185
- this._parent._updateTouched(opts, sourceControl);
1184
+ if (!opts.onlySelf) {
1185
+ this._parent?._updateTouched(opts, sourceControl);
1186
1186
  }
1187
1187
  if (changed && opts.emitEvent !== false) {
1188
1188
  this._events.next(new TouchedChangeEvent(false, sourceControl));
@@ -1192,8 +1192,8 @@ class AbstractControl {
1192
1192
  const changed = this.pristine === true;
1193
1193
  this.pristine = false;
1194
1194
  const sourceControl = opts.sourceControl ?? this;
1195
- if (this._parent && !opts.onlySelf) {
1196
- this._parent.markAsDirty({
1195
+ if (!opts.onlySelf) {
1196
+ this._parent?.markAsDirty({
1197
1197
  ...opts,
1198
1198
  sourceControl
1199
1199
  });
@@ -1213,8 +1213,8 @@ class AbstractControl {
1213
1213
  emitEvent: opts.emitEvent
1214
1214
  });
1215
1215
  });
1216
- if (this._parent && !opts.onlySelf) {
1217
- this._parent._updatePristine(opts, sourceControl);
1216
+ if (!opts.onlySelf) {
1217
+ this._parent?._updatePristine(opts, sourceControl);
1218
1218
  }
1219
1219
  if (changed && opts.emitEvent !== false) {
1220
1220
  this._events.next(new PristineChangeEvent(true, sourceControl));
@@ -1227,8 +1227,8 @@ class AbstractControl {
1227
1227
  this._events.next(new StatusChangeEvent(this.status, sourceControl));
1228
1228
  this.statusChanges.emit(this.status);
1229
1229
  }
1230
- if (this._parent && !opts.onlySelf) {
1231
- this._parent.markAsPending({
1230
+ if (!opts.onlySelf) {
1231
+ this._parent?.markAsPending({
1232
1232
  ...opts,
1233
1233
  sourceControl
1234
1234
  });
@@ -1278,12 +1278,12 @@ class AbstractControl {
1278
1278
  this._onDisabledChange.forEach(changeFn => changeFn(false));
1279
1279
  }
1280
1280
  _updateAncestors(opts, sourceControl) {
1281
- if (this._parent && !opts.onlySelf) {
1282
- this._parent.updateValueAndValidity(opts);
1281
+ if (!opts.onlySelf) {
1282
+ this._parent?.updateValueAndValidity(opts);
1283
1283
  if (!opts.skipPristineCheck) {
1284
- this._parent._updatePristine({}, sourceControl);
1284
+ this._parent?._updatePristine({}, sourceControl);
1285
1285
  }
1286
- this._parent._updateTouched({}, sourceControl);
1286
+ this._parent?._updateTouched({}, sourceControl);
1287
1287
  }
1288
1288
  }
1289
1289
  setParent(parent) {
@@ -1310,8 +1310,8 @@ class AbstractControl {
1310
1310
  this.valueChanges.emit(this.value);
1311
1311
  this.statusChanges.emit(this.status);
1312
1312
  }
1313
- if (this._parent && !opts.onlySelf) {
1314
- this._parent.updateValueAndValidity({
1313
+ if (!opts.onlySelf) {
1314
+ this._parent?.updateValueAndValidity({
1315
1315
  ...opts,
1316
1316
  sourceControl
1317
1317
  });
@@ -1371,7 +1371,7 @@ class AbstractControl {
1371
1371
  }
1372
1372
  getError(errorCode, path) {
1373
1373
  const control = path ? this.get(path) : this;
1374
- return control && control.errors ? control.errors[errorCode] : null;
1374
+ return control?.errors ? control.errors[errorCode] : null;
1375
1375
  }
1376
1376
  hasError(errorCode, path) {
1377
1377
  return !!this.getError(errorCode, path);
@@ -1419,8 +1419,8 @@ class AbstractControl {
1419
1419
  const newPristine = !this._anyControlsDirty();
1420
1420
  const changed = this.pristine !== newPristine;
1421
1421
  this.pristine = newPristine;
1422
- if (this._parent && !opts.onlySelf) {
1423
- this._parent._updatePristine(opts, changedControl);
1422
+ if (!opts.onlySelf) {
1423
+ this._parent?._updatePristine(opts, changedControl);
1424
1424
  }
1425
1425
  if (changed) {
1426
1426
  this._events.next(new PristineChangeEvent(this.pristine, changedControl));
@@ -1429,8 +1429,8 @@ class AbstractControl {
1429
1429
  _updateTouched(opts = {}, changedControl) {
1430
1430
  this.touched = this._anyControlsTouched();
1431
1431
  this._events.next(new TouchedChangeEvent(this.touched, changedControl));
1432
- if (this._parent && !opts.onlySelf) {
1433
- this._parent._updateTouched(opts, changedControl);
1432
+ if (!opts.onlySelf) {
1433
+ this._parent?._updateTouched(opts, changedControl);
1434
1434
  }
1435
1435
  }
1436
1436
  _onDisabledChange = [];
@@ -1443,8 +1443,7 @@ class AbstractControl {
1443
1443
  }
1444
1444
  }
1445
1445
  _parentMarkedDirty(onlySelf) {
1446
- const parentDirty = this._parent && this._parent.dirty;
1447
- return !onlySelf && !!parentDirty && !this._parent._anyControlsDirty();
1446
+ return !onlySelf && !!this._parent?.dirty && !this._parent._anyControlsDirty();
1448
1447
  }
1449
1448
  _find(name) {
1450
1449
  return null;
@@ -1650,10 +1649,8 @@ function cleanUpControl(control, dir, validateControlPresenceOnChange = true) {
1650
1649
  _noControlError(dir);
1651
1650
  }
1652
1651
  };
1653
- if (dir.valueAccessor) {
1654
- dir.valueAccessor.registerOnChange(noop);
1655
- dir.valueAccessor.registerOnTouched(noop);
1656
- }
1652
+ dir?.valueAccessor?.registerOnChange(noop);
1653
+ dir?.valueAccessor?.registerOnTouched(noop);
1657
1654
  cleanUpValidators(control, dir);
1658
1655
  if (control) {
1659
1656
  dir._invokeOnDestroyCallbacks();
@@ -1897,9 +1894,7 @@ class NgForm extends ControlContainer {
1897
1894
  removeControl(dir) {
1898
1895
  resolvedPromise$1.then(() => {
1899
1896
  const container = this._findContainer(dir.path);
1900
- if (container) {
1901
- container.removeControl(dir.name);
1902
- }
1897
+ container?.removeControl(dir.name);
1903
1898
  this._directives.delete(dir);
1904
1899
  });
1905
1900
  }
@@ -1917,9 +1912,7 @@ class NgForm extends ControlContainer {
1917
1912
  removeFormGroup(dir) {
1918
1913
  resolvedPromise$1.then(() => {
1919
1914
  const container = this._findContainer(dir.path);
1920
- if (container) {
1921
- container.removeControl(dir.name);
1922
- }
1915
+ container?.removeControl?.(dir.name);
1923
1916
  });
1924
1917
  }
1925
1918
  getFormGroup(dir) {
@@ -1959,7 +1952,7 @@ class NgForm extends ControlContainer {
1959
1952
  }
1960
1953
  static ɵfac = i0.ɵɵngDeclareFactory({
1961
1954
  minVersion: "12.0.0",
1962
- version: "21.2.0-next.1",
1955
+ version: "21.2.0-next.3",
1963
1956
  ngImport: i0,
1964
1957
  type: NgForm,
1965
1958
  deps: [{
@@ -1978,7 +1971,7 @@ class NgForm extends ControlContainer {
1978
1971
  });
1979
1972
  static ɵdir = i0.ɵɵngDeclareDirective({
1980
1973
  minVersion: "14.0.0",
1981
- version: "21.2.0-next.1",
1974
+ version: "21.2.0-next.3",
1982
1975
  type: NgForm,
1983
1976
  isStandalone: false,
1984
1977
  selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]",
@@ -2002,7 +1995,7 @@ class NgForm extends ControlContainer {
2002
1995
  }
2003
1996
  i0.ɵɵngDeclareClassMetadata({
2004
1997
  minVersion: "12.0.0",
2005
- version: "21.2.0-next.1",
1998
+ version: "21.2.0-next.3",
2006
1999
  ngImport: i0,
2007
2000
  type: NgForm,
2008
2001
  decorators: [{
@@ -2168,9 +2161,7 @@ class AbstractFormGroupDirective extends ControlContainer {
2168
2161
  this.formDirective.addFormGroup(this);
2169
2162
  }
2170
2163
  ngOnDestroy() {
2171
- if (this.formDirective) {
2172
- this.formDirective.removeFormGroup(this);
2173
- }
2164
+ this.formDirective?.removeFormGroup(this);
2174
2165
  }
2175
2166
  get control() {
2176
2167
  return this.formDirective.getFormGroup(this);
@@ -2184,7 +2175,7 @@ class AbstractFormGroupDirective extends ControlContainer {
2184
2175
  _checkParentType() {}
2185
2176
  static ɵfac = i0.ɵɵngDeclareFactory({
2186
2177
  minVersion: "12.0.0",
2187
- version: "21.2.0-next.1",
2178
+ version: "21.2.0-next.3",
2188
2179
  ngImport: i0,
2189
2180
  type: AbstractFormGroupDirective,
2190
2181
  deps: null,
@@ -2192,7 +2183,7 @@ class AbstractFormGroupDirective extends ControlContainer {
2192
2183
  });
2193
2184
  static ɵdir = i0.ɵɵngDeclareDirective({
2194
2185
  minVersion: "14.0.0",
2195
- version: "21.2.0-next.1",
2186
+ version: "21.2.0-next.3",
2196
2187
  type: AbstractFormGroupDirective,
2197
2188
  isStandalone: false,
2198
2189
  usesInheritance: true,
@@ -2201,7 +2192,7 @@ class AbstractFormGroupDirective extends ControlContainer {
2201
2192
  }
2202
2193
  i0.ɵɵngDeclareClassMetadata({
2203
2194
  minVersion: "12.0.0",
2204
- version: "21.2.0-next.1",
2195
+ version: "21.2.0-next.3",
2205
2196
  ngImport: i0,
2206
2197
  type: AbstractFormGroupDirective,
2207
2198
  decorators: [{
@@ -2276,7 +2267,7 @@ class NgModelGroup extends AbstractFormGroupDirective {
2276
2267
  }
2277
2268
  static ɵfac = i0.ɵɵngDeclareFactory({
2278
2269
  minVersion: "12.0.0",
2279
- version: "21.2.0-next.1",
2270
+ version: "21.2.0-next.3",
2280
2271
  ngImport: i0,
2281
2272
  type: NgModelGroup,
2282
2273
  deps: [{
@@ -2296,7 +2287,7 @@ class NgModelGroup extends AbstractFormGroupDirective {
2296
2287
  });
2297
2288
  static ɵdir = i0.ɵɵngDeclareDirective({
2298
2289
  minVersion: "14.0.0",
2299
- version: "21.2.0-next.1",
2290
+ version: "21.2.0-next.3",
2300
2291
  type: NgModelGroup,
2301
2292
  isStandalone: false,
2302
2293
  selector: "[ngModelGroup]",
@@ -2311,7 +2302,7 @@ class NgModelGroup extends AbstractFormGroupDirective {
2311
2302
  }
2312
2303
  i0.ɵɵngDeclareClassMetadata({
2313
2304
  minVersion: "12.0.0",
2314
- version: "21.2.0-next.1",
2305
+ version: "21.2.0-next.3",
2315
2306
  ngImport: i0,
2316
2307
  type: NgModelGroup,
2317
2308
  decorators: [{
@@ -2409,7 +2400,7 @@ class NgModel extends NgControl {
2409
2400
  }
2410
2401
  }
2411
2402
  ngOnDestroy() {
2412
- this.formDirective && this.formDirective.removeControl(this);
2403
+ this.formDirective?.removeControl(this);
2413
2404
  }
2414
2405
  get path() {
2415
2406
  return this._getPath(this.name);
@@ -2477,7 +2468,7 @@ class NgModel extends NgControl {
2477
2468
  }
2478
2469
  static ɵfac = i0.ɵɵngDeclareFactory({
2479
2470
  minVersion: "12.0.0",
2480
- version: "21.2.0-next.1",
2471
+ version: "21.2.0-next.3",
2481
2472
  ngImport: i0,
2482
2473
  type: NgModel,
2483
2474
  deps: [{
@@ -2507,7 +2498,7 @@ class NgModel extends NgControl {
2507
2498
  });
2508
2499
  static ɵdir = i0.ɵɵngDeclareDirective({
2509
2500
  minVersion: "14.0.0",
2510
- version: "21.2.0-next.1",
2501
+ version: "21.2.0-next.3",
2511
2502
  type: NgModel,
2512
2503
  isStandalone: false,
2513
2504
  selector: "[ngModel]:not([formControlName]):not([formControl])",
@@ -2529,7 +2520,7 @@ class NgModel extends NgControl {
2529
2520
  }
2530
2521
  i0.ɵɵngDeclareClassMetadata({
2531
2522
  minVersion: "12.0.0",
2532
- version: "21.2.0-next.1",
2523
+ version: "21.2.0-next.3",
2533
2524
  ngImport: i0,
2534
2525
  type: NgModel,
2535
2526
  decorators: [{
@@ -2628,7 +2619,7 @@ function checkParentType$1(parent) {
2628
2619
  class ɵNgNoValidate {
2629
2620
  static ɵfac = i0.ɵɵngDeclareFactory({
2630
2621
  minVersion: "12.0.0",
2631
- version: "21.2.0-next.1",
2622
+ version: "21.2.0-next.3",
2632
2623
  ngImport: i0,
2633
2624
  type: ɵNgNoValidate,
2634
2625
  deps: [],
@@ -2636,7 +2627,7 @@ class ɵNgNoValidate {
2636
2627
  });
2637
2628
  static ɵdir = i0.ɵɵngDeclareDirective({
2638
2629
  minVersion: "14.0.0",
2639
- version: "21.2.0-next.1",
2630
+ version: "21.2.0-next.3",
2640
2631
  type: ɵNgNoValidate,
2641
2632
  isStandalone: false,
2642
2633
  selector: "form:not([ngNoForm]):not([ngNativeValidate])",
@@ -2650,7 +2641,7 @@ class ɵNgNoValidate {
2650
2641
  }
2651
2642
  i0.ɵɵngDeclareClassMetadata({
2652
2643
  minVersion: "12.0.0",
2653
- version: "21.2.0-next.1",
2644
+ version: "21.2.0-next.3",
2654
2645
  ngImport: i0,
2655
2646
  type: ɵNgNoValidate,
2656
2647
  decorators: [{
@@ -2682,7 +2673,7 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
2682
2673
  }
2683
2674
  static ɵfac = i0.ɵɵngDeclareFactory({
2684
2675
  minVersion: "12.0.0",
2685
- version: "21.2.0-next.1",
2676
+ version: "21.2.0-next.3",
2686
2677
  ngImport: i0,
2687
2678
  type: NumberValueAccessor,
2688
2679
  deps: null,
@@ -2690,7 +2681,7 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
2690
2681
  });
2691
2682
  static ɵdir = i0.ɵɵngDeclareDirective({
2692
2683
  minVersion: "14.0.0",
2693
- version: "21.2.0-next.1",
2684
+ version: "21.2.0-next.3",
2694
2685
  type: NumberValueAccessor,
2695
2686
  isStandalone: false,
2696
2687
  selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",
@@ -2707,7 +2698,7 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
2707
2698
  }
2708
2699
  i0.ɵɵngDeclareClassMetadata({
2709
2700
  minVersion: "12.0.0",
2710
- version: "21.2.0-next.1",
2701
+ version: "21.2.0-next.3",
2711
2702
  ngImport: i0,
2712
2703
  type: NumberValueAccessor,
2713
2704
  decorators: [{
@@ -2761,7 +2752,7 @@ class RadioControlRegistry {
2761
2752
  }
2762
2753
  static ɵfac = i0.ɵɵngDeclareFactory({
2763
2754
  minVersion: "12.0.0",
2764
- version: "21.2.0-next.1",
2755
+ version: "21.2.0-next.3",
2765
2756
  ngImport: i0,
2766
2757
  type: RadioControlRegistry,
2767
2758
  deps: [],
@@ -2769,7 +2760,7 @@ class RadioControlRegistry {
2769
2760
  });
2770
2761
  static ɵprov = i0.ɵɵngDeclareInjectable({
2771
2762
  minVersion: "12.0.0",
2772
- version: "21.2.0-next.1",
2763
+ version: "21.2.0-next.3",
2773
2764
  ngImport: i0,
2774
2765
  type: RadioControlRegistry,
2775
2766
  providedIn: 'root'
@@ -2777,7 +2768,7 @@ class RadioControlRegistry {
2777
2768
  }
2778
2769
  i0.ɵɵngDeclareClassMetadata({
2779
2770
  minVersion: "12.0.0",
2780
- version: "21.2.0-next.1",
2771
+ version: "21.2.0-next.3",
2781
2772
  ngImport: i0,
2782
2773
  type: RadioControlRegistry,
2783
2774
  decorators: [{
@@ -2842,7 +2833,7 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
2842
2833
  }
2843
2834
  static ɵfac = i0.ɵɵngDeclareFactory({
2844
2835
  minVersion: "12.0.0",
2845
- version: "21.2.0-next.1",
2836
+ version: "21.2.0-next.3",
2846
2837
  ngImport: i0,
2847
2838
  type: RadioControlValueAccessor,
2848
2839
  deps: [{
@@ -2858,7 +2849,7 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
2858
2849
  });
2859
2850
  static ɵdir = i0.ɵɵngDeclareDirective({
2860
2851
  minVersion: "14.0.0",
2861
- version: "21.2.0-next.1",
2852
+ version: "21.2.0-next.3",
2862
2853
  type: RadioControlValueAccessor,
2863
2854
  isStandalone: false,
2864
2855
  selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",
@@ -2880,7 +2871,7 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
2880
2871
  }
2881
2872
  i0.ɵɵngDeclareClassMetadata({
2882
2873
  minVersion: "12.0.0",
2883
- version: "21.2.0-next.1",
2874
+ version: "21.2.0-next.3",
2884
2875
  ngImport: i0,
2885
2876
  type: RadioControlValueAccessor,
2886
2877
  decorators: [{
@@ -2933,7 +2924,7 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
2933
2924
  }
2934
2925
  static ɵfac = i0.ɵɵngDeclareFactory({
2935
2926
  minVersion: "12.0.0",
2936
- version: "21.2.0-next.1",
2927
+ version: "21.2.0-next.3",
2937
2928
  ngImport: i0,
2938
2929
  type: RangeValueAccessor,
2939
2930
  deps: null,
@@ -2941,7 +2932,7 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
2941
2932
  });
2942
2933
  static ɵdir = i0.ɵɵngDeclareDirective({
2943
2934
  minVersion: "14.0.0",
2944
- version: "21.2.0-next.1",
2935
+ version: "21.2.0-next.3",
2945
2936
  type: RangeValueAccessor,
2946
2937
  isStandalone: false,
2947
2938
  selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",
@@ -2959,7 +2950,7 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
2959
2950
  }
2960
2951
  i0.ɵɵngDeclareClassMetadata({
2961
2952
  minVersion: "12.0.0",
2962
- version: "21.2.0-next.1",
2953
+ version: "21.2.0-next.3",
2963
2954
  ngImport: i0,
2964
2955
  type: RangeValueAccessor,
2965
2956
  decorators: [{
@@ -3260,23 +3251,19 @@ class AbstractFormDirective extends ControlContainer {
3260
3251
  });
3261
3252
  }
3262
3253
  _cleanUpFormContainer(dir) {
3263
- if (this.form) {
3264
- const ctrl = this.form.get(dir.path);
3265
- if (ctrl) {
3266
- const isControlUpdated = cleanUpFormContainer(ctrl, dir);
3267
- if (isControlUpdated) {
3268
- ctrl.updateValueAndValidity({
3269
- emitEvent: false
3270
- });
3271
- }
3254
+ const ctrl = this.form?.get(dir.path);
3255
+ if (ctrl) {
3256
+ const isControlUpdated = cleanUpFormContainer(ctrl, dir);
3257
+ if (isControlUpdated) {
3258
+ ctrl.updateValueAndValidity({
3259
+ emitEvent: false
3260
+ });
3272
3261
  }
3273
3262
  }
3274
3263
  }
3275
3264
  _updateRegistrations() {
3276
3265
  this.form._registerOnCollectionChange(this._onCollectionChange);
3277
- if (this._oldForm) {
3278
- this._oldForm._registerOnCollectionChange(() => {});
3279
- }
3266
+ this._oldForm?._registerOnCollectionChange(() => {});
3280
3267
  }
3281
3268
  _updateValidators() {
3282
3269
  setUpValidators(this.form, this);
@@ -3291,7 +3278,7 @@ class AbstractFormDirective extends ControlContainer {
3291
3278
  }
3292
3279
  static ɵfac = i0.ɵɵngDeclareFactory({
3293
3280
  minVersion: "12.0.0",
3294
- version: "21.2.0-next.1",
3281
+ version: "21.2.0-next.3",
3295
3282
  ngImport: i0,
3296
3283
  type: AbstractFormDirective,
3297
3284
  deps: [{
@@ -3310,7 +3297,7 @@ class AbstractFormDirective extends ControlContainer {
3310
3297
  });
3311
3298
  static ɵdir = i0.ɵɵngDeclareDirective({
3312
3299
  minVersion: "14.0.0",
3313
- version: "21.2.0-next.1",
3300
+ version: "21.2.0-next.3",
3314
3301
  type: AbstractFormDirective,
3315
3302
  isStandalone: true,
3316
3303
  usesInheritance: true,
@@ -3320,7 +3307,7 @@ class AbstractFormDirective extends ControlContainer {
3320
3307
  }
3321
3308
  i0.ɵɵngDeclareClassMetadata({
3322
3309
  minVersion: "12.0.0",
3323
- version: "21.2.0-next.1",
3310
+ version: "21.2.0-next.3",
3324
3311
  ngImport: i0,
3325
3312
  type: AbstractFormDirective,
3326
3313
  decorators: [{
@@ -3369,7 +3356,7 @@ class FormArrayDirective extends AbstractFormDirective {
3369
3356
  }
3370
3357
  static ɵfac = i0.ɵɵngDeclareFactory({
3371
3358
  minVersion: "12.0.0",
3372
- version: "21.2.0-next.1",
3359
+ version: "21.2.0-next.3",
3373
3360
  ngImport: i0,
3374
3361
  type: FormArrayDirective,
3375
3362
  deps: null,
@@ -3377,7 +3364,7 @@ class FormArrayDirective extends AbstractFormDirective {
3377
3364
  });
3378
3365
  static ɵdir = i0.ɵɵngDeclareDirective({
3379
3366
  minVersion: "14.0.0",
3380
- version: "21.2.0-next.1",
3367
+ version: "21.2.0-next.3",
3381
3368
  type: FormArrayDirective,
3382
3369
  isStandalone: false,
3383
3370
  selector: "[formArray]",
@@ -3401,7 +3388,7 @@ class FormArrayDirective extends AbstractFormDirective {
3401
3388
  }
3402
3389
  i0.ɵɵngDeclareClassMetadata({
3403
3390
  minVersion: "12.0.0",
3404
- version: "21.2.0-next.1",
3391
+ version: "21.2.0-next.3",
3405
3392
  ngImport: i0,
3406
3393
  type: FormArrayDirective,
3407
3394
  decorators: [{
@@ -3494,7 +3481,7 @@ class FormControlDirective extends NgControl {
3494
3481
  }
3495
3482
  static ɵfac = i0.ɵɵngDeclareFactory({
3496
3483
  minVersion: "12.0.0",
3497
- version: "21.2.0-next.1",
3484
+ version: "21.2.0-next.3",
3498
3485
  ngImport: i0,
3499
3486
  type: FormControlDirective,
3500
3487
  deps: [{
@@ -3520,7 +3507,7 @@ class FormControlDirective extends NgControl {
3520
3507
  });
3521
3508
  static ɵdir = i0.ɵɵngDeclareDirective({
3522
3509
  minVersion: "14.0.0",
3523
- version: "21.2.0-next.1",
3510
+ version: "21.2.0-next.3",
3524
3511
  type: FormControlDirective,
3525
3512
  isStandalone: false,
3526
3513
  selector: "[formControl]",
@@ -3541,7 +3528,7 @@ class FormControlDirective extends NgControl {
3541
3528
  }
3542
3529
  i0.ɵɵngDeclareClassMetadata({
3543
3530
  minVersion: "12.0.0",
3544
- version: "21.2.0-next.1",
3531
+ version: "21.2.0-next.3",
3545
3532
  ngImport: i0,
3546
3533
  type: FormControlDirective,
3547
3534
  decorators: [{
@@ -3639,7 +3626,7 @@ class FormGroupName extends AbstractFormGroupDirective {
3639
3626
  }
3640
3627
  static ɵfac = i0.ɵɵngDeclareFactory({
3641
3628
  minVersion: "12.0.0",
3642
- version: "21.2.0-next.1",
3629
+ version: "21.2.0-next.3",
3643
3630
  ngImport: i0,
3644
3631
  type: FormGroupName,
3645
3632
  deps: [{
@@ -3660,7 +3647,7 @@ class FormGroupName extends AbstractFormGroupDirective {
3660
3647
  });
3661
3648
  static ɵdir = i0.ɵɵngDeclareDirective({
3662
3649
  minVersion: "14.0.0",
3663
- version: "21.2.0-next.1",
3650
+ version: "21.2.0-next.3",
3664
3651
  type: FormGroupName,
3665
3652
  isStandalone: false,
3666
3653
  selector: "[formGroupName]",
@@ -3674,7 +3661,7 @@ class FormGroupName extends AbstractFormGroupDirective {
3674
3661
  }
3675
3662
  i0.ɵɵngDeclareClassMetadata({
3676
3663
  minVersion: "12.0.0",
3677
- version: "21.2.0-next.1",
3664
+ version: "21.2.0-next.3",
3678
3665
  ngImport: i0,
3679
3666
  type: FormGroupName,
3680
3667
  decorators: [{
@@ -3755,7 +3742,7 @@ class FormArrayName extends ControlContainer {
3755
3742
  }
3756
3743
  static ɵfac = i0.ɵɵngDeclareFactory({
3757
3744
  minVersion: "12.0.0",
3758
- version: "21.2.0-next.1",
3745
+ version: "21.2.0-next.3",
3759
3746
  ngImport: i0,
3760
3747
  type: FormArrayName,
3761
3748
  deps: [{
@@ -3776,7 +3763,7 @@ class FormArrayName extends ControlContainer {
3776
3763
  });
3777
3764
  static ɵdir = i0.ɵɵngDeclareDirective({
3778
3765
  minVersion: "14.0.0",
3779
- version: "21.2.0-next.1",
3766
+ version: "21.2.0-next.3",
3780
3767
  type: FormArrayName,
3781
3768
  isStandalone: false,
3782
3769
  selector: "[formArrayName]",
@@ -3790,7 +3777,7 @@ class FormArrayName extends ControlContainer {
3790
3777
  }
3791
3778
  i0.ɵɵngDeclareClassMetadata({
3792
3779
  minVersion: "12.0.0",
3793
- version: "21.2.0-next.1",
3780
+ version: "21.2.0-next.3",
3794
3781
  ngImport: i0,
3795
3782
  type: FormArrayName,
3796
3783
  decorators: [{
@@ -3880,9 +3867,7 @@ class FormControlName extends NgControl {
3880
3867
  }
3881
3868
  }
3882
3869
  ngOnDestroy() {
3883
- if (this.formDirective) {
3884
- this.formDirective.removeControl(this);
3885
- }
3870
+ this.formDirective?.removeControl(this);
3886
3871
  }
3887
3872
  viewToModelUpdate(newValue) {
3888
3873
  this.viewModel = newValue;
@@ -3903,7 +3888,7 @@ class FormControlName extends NgControl {
3903
3888
  }
3904
3889
  static ɵfac = i0.ɵɵngDeclareFactory({
3905
3890
  minVersion: "12.0.0",
3906
- version: "21.2.0-next.1",
3891
+ version: "21.2.0-next.3",
3907
3892
  ngImport: i0,
3908
3893
  type: FormControlName,
3909
3894
  deps: [{
@@ -3931,7 +3916,7 @@ class FormControlName extends NgControl {
3931
3916
  });
3932
3917
  static ɵdir = i0.ɵɵngDeclareDirective({
3933
3918
  minVersion: "14.0.0",
3934
- version: "21.2.0-next.1",
3919
+ version: "21.2.0-next.3",
3935
3920
  type: FormControlName,
3936
3921
  isStandalone: false,
3937
3922
  selector: "[formControlName]",
@@ -3951,7 +3936,7 @@ class FormControlName extends NgControl {
3951
3936
  }
3952
3937
  i0.ɵɵngDeclareClassMetadata({
3953
3938
  minVersion: "12.0.0",
3954
- version: "21.2.0-next.1",
3939
+ version: "21.2.0-next.3",
3955
3940
  ngImport: i0,
3956
3941
  type: FormControlName,
3957
3942
  decorators: [{
@@ -4049,7 +4034,7 @@ class FormGroupDirective extends AbstractFormDirective {
4049
4034
  }
4050
4035
  static ɵfac = i0.ɵɵngDeclareFactory({
4051
4036
  minVersion: "12.0.0",
4052
- version: "21.2.0-next.1",
4037
+ version: "21.2.0-next.3",
4053
4038
  ngImport: i0,
4054
4039
  type: FormGroupDirective,
4055
4040
  deps: null,
@@ -4057,7 +4042,7 @@ class FormGroupDirective extends AbstractFormDirective {
4057
4042
  });
4058
4043
  static ɵdir = i0.ɵɵngDeclareDirective({
4059
4044
  minVersion: "14.0.0",
4060
- version: "21.2.0-next.1",
4045
+ version: "21.2.0-next.3",
4061
4046
  type: FormGroupDirective,
4062
4047
  isStandalone: false,
4063
4048
  selector: "[formGroup]",
@@ -4081,7 +4066,7 @@ class FormGroupDirective extends AbstractFormDirective {
4081
4066
  }
4082
4067
  i0.ɵɵngDeclareClassMetadata({
4083
4068
  minVersion: "12.0.0",
4084
- version: "21.2.0-next.1",
4069
+ version: "21.2.0-next.3",
4085
4070
  ngImport: i0,
4086
4071
  type: FormGroupDirective,
4087
4072
  decorators: [{
@@ -4181,7 +4166,7 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
4181
4166
  }
4182
4167
  static ɵfac = i0.ɵɵngDeclareFactory({
4183
4168
  minVersion: "12.0.0",
4184
- version: "21.2.0-next.1",
4169
+ version: "21.2.0-next.3",
4185
4170
  ngImport: i0,
4186
4171
  type: SelectControlValueAccessor,
4187
4172
  deps: null,
@@ -4189,7 +4174,7 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
4189
4174
  });
4190
4175
  static ɵdir = i0.ɵɵngDeclareDirective({
4191
4176
  minVersion: "14.0.0",
4192
- version: "21.2.0-next.1",
4177
+ version: "21.2.0-next.3",
4193
4178
  type: SelectControlValueAccessor,
4194
4179
  isStandalone: false,
4195
4180
  selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",
@@ -4209,7 +4194,7 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
4209
4194
  }
4210
4195
  i0.ɵɵngDeclareClassMetadata({
4211
4196
  minVersion: "12.0.0",
4212
- version: "21.2.0-next.1",
4197
+ version: "21.2.0-next.3",
4213
4198
  ngImport: i0,
4214
4199
  type: SelectControlValueAccessor,
4215
4200
  decorators: [{
@@ -4249,20 +4234,18 @@ class NgSelectOption {
4249
4234
  }
4250
4235
  set value(value) {
4251
4236
  this._setElementValue(value);
4252
- if (this._select) this._select._writeValueAfterRender();
4237
+ this._select?._writeValueAfterRender();
4253
4238
  }
4254
4239
  _setElementValue(value) {
4255
4240
  this._renderer.setProperty(this._element.nativeElement, 'value', value);
4256
4241
  }
4257
4242
  ngOnDestroy() {
4258
- if (this._select) {
4259
- this._select._optionMap.delete(this.id);
4260
- this._select._writeValueAfterRender();
4261
- }
4243
+ this._select?._optionMap.delete(this.id);
4244
+ this._select?._writeValueAfterRender();
4262
4245
  }
4263
4246
  static ɵfac = i0.ɵɵngDeclareFactory({
4264
4247
  minVersion: "12.0.0",
4265
- version: "21.2.0-next.1",
4248
+ version: "21.2.0-next.3",
4266
4249
  ngImport: i0,
4267
4250
  type: NgSelectOption,
4268
4251
  deps: [{
@@ -4278,7 +4261,7 @@ class NgSelectOption {
4278
4261
  });
4279
4262
  static ɵdir = i0.ɵɵngDeclareDirective({
4280
4263
  minVersion: "14.0.0",
4281
- version: "21.2.0-next.1",
4264
+ version: "21.2.0-next.3",
4282
4265
  type: NgSelectOption,
4283
4266
  isStandalone: false,
4284
4267
  selector: "option",
@@ -4291,7 +4274,7 @@ class NgSelectOption {
4291
4274
  }
4292
4275
  i0.ɵɵngDeclareClassMetadata({
4293
4276
  minVersion: "12.0.0",
4294
- version: "21.2.0-next.1",
4277
+ version: "21.2.0-next.3",
4295
4278
  ngImport: i0,
4296
4279
  type: NgSelectOption,
4297
4280
  decorators: [{
@@ -4407,7 +4390,7 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
4407
4390
  }
4408
4391
  static ɵfac = i0.ɵɵngDeclareFactory({
4409
4392
  minVersion: "12.0.0",
4410
- version: "21.2.0-next.1",
4393
+ version: "21.2.0-next.3",
4411
4394
  ngImport: i0,
4412
4395
  type: SelectMultipleControlValueAccessor,
4413
4396
  deps: null,
@@ -4415,7 +4398,7 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
4415
4398
  });
4416
4399
  static ɵdir = i0.ɵɵngDeclareDirective({
4417
4400
  minVersion: "14.0.0",
4418
- version: "21.2.0-next.1",
4401
+ version: "21.2.0-next.3",
4419
4402
  type: SelectMultipleControlValueAccessor,
4420
4403
  isStandalone: false,
4421
4404
  selector: "select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",
@@ -4435,7 +4418,7 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
4435
4418
  }
4436
4419
  i0.ɵɵngDeclareClassMetadata({
4437
4420
  minVersion: "12.0.0",
4438
- version: "21.2.0-next.1",
4421
+ version: "21.2.0-next.3",
4439
4422
  ngImport: i0,
4440
4423
  type: SelectMultipleControlValueAccessor,
4441
4424
  decorators: [{
@@ -4499,7 +4482,7 @@ class ɵNgSelectMultipleOption {
4499
4482
  }
4500
4483
  static ɵfac = i0.ɵɵngDeclareFactory({
4501
4484
  minVersion: "12.0.0",
4502
- version: "21.2.0-next.1",
4485
+ version: "21.2.0-next.3",
4503
4486
  ngImport: i0,
4504
4487
  type: ɵNgSelectMultipleOption,
4505
4488
  deps: [{
@@ -4515,7 +4498,7 @@ class ɵNgSelectMultipleOption {
4515
4498
  });
4516
4499
  static ɵdir = i0.ɵɵngDeclareDirective({
4517
4500
  minVersion: "14.0.0",
4518
- version: "21.2.0-next.1",
4501
+ version: "21.2.0-next.3",
4519
4502
  type: ɵNgSelectMultipleOption,
4520
4503
  isStandalone: false,
4521
4504
  selector: "option",
@@ -4528,7 +4511,7 @@ class ɵNgSelectMultipleOption {
4528
4511
  }
4529
4512
  i0.ɵɵngDeclareClassMetadata({
4530
4513
  minVersion: "12.0.0",
4531
- version: "21.2.0-next.1",
4514
+ version: "21.2.0-next.3",
4532
4515
  ngImport: i0,
4533
4516
  type: ɵNgSelectMultipleOption,
4534
4517
  decorators: [{
@@ -4577,9 +4560,7 @@ class AbstractValidatorDirective {
4577
4560
  const input = this.normalizeInput(changes[this.inputName].currentValue);
4578
4561
  this._enabled = this.enabled(input);
4579
4562
  this._validator = this._enabled ? this.createValidator(input) : nullValidator;
4580
- if (this._onChange) {
4581
- this._onChange();
4582
- }
4563
+ this._onChange?.();
4583
4564
  }
4584
4565
  }
4585
4566
  validate(control) {
@@ -4593,7 +4574,7 @@ class AbstractValidatorDirective {
4593
4574
  }
4594
4575
  static ɵfac = i0.ɵɵngDeclareFactory({
4595
4576
  minVersion: "12.0.0",
4596
- version: "21.2.0-next.1",
4577
+ version: "21.2.0-next.3",
4597
4578
  ngImport: i0,
4598
4579
  type: AbstractValidatorDirective,
4599
4580
  deps: [],
@@ -4601,7 +4582,7 @@ class AbstractValidatorDirective {
4601
4582
  });
4602
4583
  static ɵdir = i0.ɵɵngDeclareDirective({
4603
4584
  minVersion: "14.0.0",
4604
- version: "21.2.0-next.1",
4585
+ version: "21.2.0-next.3",
4605
4586
  type: AbstractValidatorDirective,
4606
4587
  isStandalone: true,
4607
4588
  usesOnChanges: true,
@@ -4610,7 +4591,7 @@ class AbstractValidatorDirective {
4610
4591
  }
4611
4592
  i0.ɵɵngDeclareClassMetadata({
4612
4593
  minVersion: "12.0.0",
4613
- version: "21.2.0-next.1",
4594
+ version: "21.2.0-next.3",
4614
4595
  ngImport: i0,
4615
4596
  type: AbstractValidatorDirective,
4616
4597
  decorators: [{
@@ -4629,7 +4610,7 @@ class MaxValidator extends AbstractValidatorDirective {
4629
4610
  createValidator = max => maxValidator(max);
4630
4611
  static ɵfac = i0.ɵɵngDeclareFactory({
4631
4612
  minVersion: "12.0.0",
4632
- version: "21.2.0-next.1",
4613
+ version: "21.2.0-next.3",
4633
4614
  ngImport: i0,
4634
4615
  type: MaxValidator,
4635
4616
  deps: null,
@@ -4637,7 +4618,7 @@ class MaxValidator extends AbstractValidatorDirective {
4637
4618
  });
4638
4619
  static ɵdir = i0.ɵɵngDeclareDirective({
4639
4620
  minVersion: "14.0.0",
4640
- version: "21.2.0-next.1",
4621
+ version: "21.2.0-next.3",
4641
4622
  type: MaxValidator,
4642
4623
  isStandalone: false,
4643
4624
  selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",
@@ -4656,7 +4637,7 @@ class MaxValidator extends AbstractValidatorDirective {
4656
4637
  }
4657
4638
  i0.ɵɵngDeclareClassMetadata({
4658
4639
  minVersion: "12.0.0",
4659
- version: "21.2.0-next.1",
4640
+ version: "21.2.0-next.3",
4660
4641
  ngImport: i0,
4661
4642
  type: MaxValidator,
4662
4643
  decorators: [{
@@ -4688,7 +4669,7 @@ class MinValidator extends AbstractValidatorDirective {
4688
4669
  createValidator = min => minValidator(min);
4689
4670
  static ɵfac = i0.ɵɵngDeclareFactory({
4690
4671
  minVersion: "12.0.0",
4691
- version: "21.2.0-next.1",
4672
+ version: "21.2.0-next.3",
4692
4673
  ngImport: i0,
4693
4674
  type: MinValidator,
4694
4675
  deps: null,
@@ -4696,7 +4677,7 @@ class MinValidator extends AbstractValidatorDirective {
4696
4677
  });
4697
4678
  static ɵdir = i0.ɵɵngDeclareDirective({
4698
4679
  minVersion: "14.0.0",
4699
- version: "21.2.0-next.1",
4680
+ version: "21.2.0-next.3",
4700
4681
  type: MinValidator,
4701
4682
  isStandalone: false,
4702
4683
  selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",
@@ -4715,7 +4696,7 @@ class MinValidator extends AbstractValidatorDirective {
4715
4696
  }
4716
4697
  i0.ɵɵngDeclareClassMetadata({
4717
4698
  minVersion: "12.0.0",
4718
- version: "21.2.0-next.1",
4699
+ version: "21.2.0-next.3",
4719
4700
  ngImport: i0,
4720
4701
  type: MinValidator,
4721
4702
  decorators: [{
@@ -4755,7 +4736,7 @@ class RequiredValidator extends AbstractValidatorDirective {
4755
4736
  }
4756
4737
  static ɵfac = i0.ɵɵngDeclareFactory({
4757
4738
  minVersion: "12.0.0",
4758
- version: "21.2.0-next.1",
4739
+ version: "21.2.0-next.3",
4759
4740
  ngImport: i0,
4760
4741
  type: RequiredValidator,
4761
4742
  deps: null,
@@ -4763,7 +4744,7 @@ class RequiredValidator extends AbstractValidatorDirective {
4763
4744
  });
4764
4745
  static ɵdir = i0.ɵɵngDeclareDirective({
4765
4746
  minVersion: "14.0.0",
4766
- version: "21.2.0-next.1",
4747
+ version: "21.2.0-next.3",
4767
4748
  type: RequiredValidator,
4768
4749
  isStandalone: false,
4769
4750
  selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",
@@ -4782,7 +4763,7 @@ class RequiredValidator extends AbstractValidatorDirective {
4782
4763
  }
4783
4764
  i0.ɵɵngDeclareClassMetadata({
4784
4765
  minVersion: "12.0.0",
4785
- version: "21.2.0-next.1",
4766
+ version: "21.2.0-next.3",
4786
4767
  ngImport: i0,
4787
4768
  type: RequiredValidator,
4788
4769
  decorators: [{
@@ -4806,7 +4787,7 @@ class CheckboxRequiredValidator extends RequiredValidator {
4806
4787
  createValidator = input => requiredTrueValidator;
4807
4788
  static ɵfac = i0.ɵɵngDeclareFactory({
4808
4789
  minVersion: "12.0.0",
4809
- version: "21.2.0-next.1",
4790
+ version: "21.2.0-next.3",
4810
4791
  ngImport: i0,
4811
4792
  type: CheckboxRequiredValidator,
4812
4793
  deps: null,
@@ -4814,7 +4795,7 @@ class CheckboxRequiredValidator extends RequiredValidator {
4814
4795
  });
4815
4796
  static ɵdir = i0.ɵɵngDeclareDirective({
4816
4797
  minVersion: "14.0.0",
4817
- version: "21.2.0-next.1",
4798
+ version: "21.2.0-next.3",
4818
4799
  type: CheckboxRequiredValidator,
4819
4800
  isStandalone: false,
4820
4801
  selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",
@@ -4830,7 +4811,7 @@ class CheckboxRequiredValidator extends RequiredValidator {
4830
4811
  }
4831
4812
  i0.ɵɵngDeclareClassMetadata({
4832
4813
  minVersion: "12.0.0",
4833
- version: "21.2.0-next.1",
4814
+ version: "21.2.0-next.3",
4834
4815
  ngImport: i0,
4835
4816
  type: CheckboxRequiredValidator,
4836
4817
  decorators: [{
@@ -4860,7 +4841,7 @@ class EmailValidator extends AbstractValidatorDirective {
4860
4841
  }
4861
4842
  static ɵfac = i0.ɵɵngDeclareFactory({
4862
4843
  minVersion: "12.0.0",
4863
- version: "21.2.0-next.1",
4844
+ version: "21.2.0-next.3",
4864
4845
  ngImport: i0,
4865
4846
  type: EmailValidator,
4866
4847
  deps: null,
@@ -4868,7 +4849,7 @@ class EmailValidator extends AbstractValidatorDirective {
4868
4849
  });
4869
4850
  static ɵdir = i0.ɵɵngDeclareDirective({
4870
4851
  minVersion: "14.0.0",
4871
- version: "21.2.0-next.1",
4852
+ version: "21.2.0-next.3",
4872
4853
  type: EmailValidator,
4873
4854
  isStandalone: false,
4874
4855
  selector: "[email][formControlName],[email][formControl],[email][ngModel]",
@@ -4882,7 +4863,7 @@ class EmailValidator extends AbstractValidatorDirective {
4882
4863
  }
4883
4864
  i0.ɵɵngDeclareClassMetadata({
4884
4865
  minVersion: "12.0.0",
4885
- version: "21.2.0-next.1",
4866
+ version: "21.2.0-next.3",
4886
4867
  ngImport: i0,
4887
4868
  type: EmailValidator,
4888
4869
  decorators: [{
@@ -4911,7 +4892,7 @@ class MinLengthValidator extends AbstractValidatorDirective {
4911
4892
  createValidator = minlength => minLengthValidator(minlength);
4912
4893
  static ɵfac = i0.ɵɵngDeclareFactory({
4913
4894
  minVersion: "12.0.0",
4914
- version: "21.2.0-next.1",
4895
+ version: "21.2.0-next.3",
4915
4896
  ngImport: i0,
4916
4897
  type: MinLengthValidator,
4917
4898
  deps: null,
@@ -4919,7 +4900,7 @@ class MinLengthValidator extends AbstractValidatorDirective {
4919
4900
  });
4920
4901
  static ɵdir = i0.ɵɵngDeclareDirective({
4921
4902
  minVersion: "14.0.0",
4922
- version: "21.2.0-next.1",
4903
+ version: "21.2.0-next.3",
4923
4904
  type: MinLengthValidator,
4924
4905
  isStandalone: false,
4925
4906
  selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",
@@ -4938,7 +4919,7 @@ class MinLengthValidator extends AbstractValidatorDirective {
4938
4919
  }
4939
4920
  i0.ɵɵngDeclareClassMetadata({
4940
4921
  minVersion: "12.0.0",
4941
- version: "21.2.0-next.1",
4922
+ version: "21.2.0-next.3",
4942
4923
  ngImport: i0,
4943
4924
  type: MinLengthValidator,
4944
4925
  decorators: [{
@@ -4970,7 +4951,7 @@ class MaxLengthValidator extends AbstractValidatorDirective {
4970
4951
  createValidator = maxlength => maxLengthValidator(maxlength);
4971
4952
  static ɵfac = i0.ɵɵngDeclareFactory({
4972
4953
  minVersion: "12.0.0",
4973
- version: "21.2.0-next.1",
4954
+ version: "21.2.0-next.3",
4974
4955
  ngImport: i0,
4975
4956
  type: MaxLengthValidator,
4976
4957
  deps: null,
@@ -4978,7 +4959,7 @@ class MaxLengthValidator extends AbstractValidatorDirective {
4978
4959
  });
4979
4960
  static ɵdir = i0.ɵɵngDeclareDirective({
4980
4961
  minVersion: "14.0.0",
4981
- version: "21.2.0-next.1",
4962
+ version: "21.2.0-next.3",
4982
4963
  type: MaxLengthValidator,
4983
4964
  isStandalone: false,
4984
4965
  selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",
@@ -4997,7 +4978,7 @@ class MaxLengthValidator extends AbstractValidatorDirective {
4997
4978
  }
4998
4979
  i0.ɵɵngDeclareClassMetadata({
4999
4980
  minVersion: "12.0.0",
5000
- version: "21.2.0-next.1",
4981
+ version: "21.2.0-next.3",
5001
4982
  ngImport: i0,
5002
4983
  type: MaxLengthValidator,
5003
4984
  decorators: [{
@@ -5029,7 +5010,7 @@ class PatternValidator extends AbstractValidatorDirective {
5029
5010
  createValidator = input => patternValidator(input);
5030
5011
  static ɵfac = i0.ɵɵngDeclareFactory({
5031
5012
  minVersion: "12.0.0",
5032
- version: "21.2.0-next.1",
5013
+ version: "21.2.0-next.3",
5033
5014
  ngImport: i0,
5034
5015
  type: PatternValidator,
5035
5016
  deps: null,
@@ -5037,7 +5018,7 @@ class PatternValidator extends AbstractValidatorDirective {
5037
5018
  });
5038
5019
  static ɵdir = i0.ɵɵngDeclareDirective({
5039
5020
  minVersion: "14.0.0",
5040
- version: "21.2.0-next.1",
5021
+ version: "21.2.0-next.3",
5041
5022
  type: PatternValidator,
5042
5023
  isStandalone: false,
5043
5024
  selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",
@@ -5056,7 +5037,7 @@ class PatternValidator extends AbstractValidatorDirective {
5056
5037
  }
5057
5038
  i0.ɵɵngDeclareClassMetadata({
5058
5039
  minVersion: "12.0.0",
5059
- version: "21.2.0-next.1",
5040
+ version: "21.2.0-next.3",
5060
5041
  ngImport: i0,
5061
5042
  type: PatternValidator,
5062
5043
  decorators: [{
@@ -5083,7 +5064,7 @@ const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, Fo
5083
5064
  class ɵInternalFormsSharedModule {
5084
5065
  static ɵfac = i0.ɵɵngDeclareFactory({
5085
5066
  minVersion: "12.0.0",
5086
- version: "21.2.0-next.1",
5067
+ version: "21.2.0-next.3",
5087
5068
  ngImport: i0,
5088
5069
  type: ɵInternalFormsSharedModule,
5089
5070
  deps: [],
@@ -5091,7 +5072,7 @@ class ɵInternalFormsSharedModule {
5091
5072
  });
5092
5073
  static ɵmod = i0.ɵɵngDeclareNgModule({
5093
5074
  minVersion: "14.0.0",
5094
- version: "21.2.0-next.1",
5075
+ version: "21.2.0-next.3",
5095
5076
  ngImport: i0,
5096
5077
  type: ɵInternalFormsSharedModule,
5097
5078
  declarations: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator],
@@ -5099,14 +5080,14 @@ class ɵInternalFormsSharedModule {
5099
5080
  });
5100
5081
  static ɵinj = i0.ɵɵngDeclareInjector({
5101
5082
  minVersion: "12.0.0",
5102
- version: "21.2.0-next.1",
5083
+ version: "21.2.0-next.3",
5103
5084
  ngImport: i0,
5104
5085
  type: ɵInternalFormsSharedModule
5105
5086
  });
5106
5087
  }
5107
5088
  i0.ɵɵngDeclareClassMetadata({
5108
5089
  minVersion: "12.0.0",
5109
- version: "21.2.0-next.1",
5090
+ version: "21.2.0-next.3",
5110
5091
  ngImport: i0,
5111
5092
  type: ɵInternalFormsSharedModule,
5112
5093
  decorators: [{
@@ -5186,7 +5167,7 @@ class FormBuilder {
5186
5167
  }
5187
5168
  static ɵfac = i0.ɵɵngDeclareFactory({
5188
5169
  minVersion: "12.0.0",
5189
- version: "21.2.0-next.1",
5170
+ version: "21.2.0-next.3",
5190
5171
  ngImport: i0,
5191
5172
  type: FormBuilder,
5192
5173
  deps: [],
@@ -5194,7 +5175,7 @@ class FormBuilder {
5194
5175
  });
5195
5176
  static ɵprov = i0.ɵɵngDeclareInjectable({
5196
5177
  minVersion: "12.0.0",
5197
- version: "21.2.0-next.1",
5178
+ version: "21.2.0-next.3",
5198
5179
  ngImport: i0,
5199
5180
  type: FormBuilder,
5200
5181
  providedIn: 'root'
@@ -5202,7 +5183,7 @@ class FormBuilder {
5202
5183
  }
5203
5184
  i0.ɵɵngDeclareClassMetadata({
5204
5185
  minVersion: "12.0.0",
5205
- version: "21.2.0-next.1",
5186
+ version: "21.2.0-next.3",
5206
5187
  ngImport: i0,
5207
5188
  type: FormBuilder,
5208
5189
  decorators: [{
@@ -5215,7 +5196,7 @@ i0.ɵɵngDeclareClassMetadata({
5215
5196
  class NonNullableFormBuilder {
5216
5197
  static ɵfac = i0.ɵɵngDeclareFactory({
5217
5198
  minVersion: "12.0.0",
5218
- version: "21.2.0-next.1",
5199
+ version: "21.2.0-next.3",
5219
5200
  ngImport: i0,
5220
5201
  type: NonNullableFormBuilder,
5221
5202
  deps: [],
@@ -5223,7 +5204,7 @@ class NonNullableFormBuilder {
5223
5204
  });
5224
5205
  static ɵprov = i0.ɵɵngDeclareInjectable({
5225
5206
  minVersion: "12.0.0",
5226
- version: "21.2.0-next.1",
5207
+ version: "21.2.0-next.3",
5227
5208
  ngImport: i0,
5228
5209
  type: NonNullableFormBuilder,
5229
5210
  providedIn: 'root',
@@ -5232,7 +5213,7 @@ class NonNullableFormBuilder {
5232
5213
  }
5233
5214
  i0.ɵɵngDeclareClassMetadata({
5234
5215
  minVersion: "12.0.0",
5235
- version: "21.2.0-next.1",
5216
+ version: "21.2.0-next.3",
5236
5217
  ngImport: i0,
5237
5218
  type: NonNullableFormBuilder,
5238
5219
  decorators: [{
@@ -5255,7 +5236,7 @@ class UntypedFormBuilder extends FormBuilder {
5255
5236
  }
5256
5237
  static ɵfac = i0.ɵɵngDeclareFactory({
5257
5238
  minVersion: "12.0.0",
5258
- version: "21.2.0-next.1",
5239
+ version: "21.2.0-next.3",
5259
5240
  ngImport: i0,
5260
5241
  type: UntypedFormBuilder,
5261
5242
  deps: null,
@@ -5263,7 +5244,7 @@ class UntypedFormBuilder extends FormBuilder {
5263
5244
  });
5264
5245
  static ɵprov = i0.ɵɵngDeclareInjectable({
5265
5246
  minVersion: "12.0.0",
5266
- version: "21.2.0-next.1",
5247
+ version: "21.2.0-next.3",
5267
5248
  ngImport: i0,
5268
5249
  type: UntypedFormBuilder,
5269
5250
  providedIn: 'root'
@@ -5271,7 +5252,7 @@ class UntypedFormBuilder extends FormBuilder {
5271
5252
  }
5272
5253
  i0.ɵɵngDeclareClassMetadata({
5273
5254
  minVersion: "12.0.0",
5274
- version: "21.2.0-next.1",
5255
+ version: "21.2.0-next.3",
5275
5256
  ngImport: i0,
5276
5257
  type: UntypedFormBuilder,
5277
5258
  decorators: [{
@@ -5294,7 +5275,7 @@ class FormsModule {
5294
5275
  }
5295
5276
  static ɵfac = i0.ɵɵngDeclareFactory({
5296
5277
  minVersion: "12.0.0",
5297
- version: "21.2.0-next.1",
5278
+ version: "21.2.0-next.3",
5298
5279
  ngImport: i0,
5299
5280
  type: FormsModule,
5300
5281
  deps: [],
@@ -5302,7 +5283,7 @@ class FormsModule {
5302
5283
  });
5303
5284
  static ɵmod = i0.ɵɵngDeclareNgModule({
5304
5285
  minVersion: "14.0.0",
5305
- version: "21.2.0-next.1",
5286
+ version: "21.2.0-next.3",
5306
5287
  ngImport: i0,
5307
5288
  type: FormsModule,
5308
5289
  declarations: [NgModel, NgModelGroup, NgForm],
@@ -5310,7 +5291,7 @@ class FormsModule {
5310
5291
  });
5311
5292
  static ɵinj = i0.ɵɵngDeclareInjector({
5312
5293
  minVersion: "12.0.0",
5313
- version: "21.2.0-next.1",
5294
+ version: "21.2.0-next.3",
5314
5295
  ngImport: i0,
5315
5296
  type: FormsModule,
5316
5297
  imports: [ɵInternalFormsSharedModule]
@@ -5318,7 +5299,7 @@ class FormsModule {
5318
5299
  }
5319
5300
  i0.ɵɵngDeclareClassMetadata({
5320
5301
  minVersion: "12.0.0",
5321
- version: "21.2.0-next.1",
5302
+ version: "21.2.0-next.3",
5322
5303
  ngImport: i0,
5323
5304
  type: FormsModule,
5324
5305
  decorators: [{
@@ -5344,7 +5325,7 @@ class ReactiveFormsModule {
5344
5325
  }
5345
5326
  static ɵfac = i0.ɵɵngDeclareFactory({
5346
5327
  minVersion: "12.0.0",
5347
- version: "21.2.0-next.1",
5328
+ version: "21.2.0-next.3",
5348
5329
  ngImport: i0,
5349
5330
  type: ReactiveFormsModule,
5350
5331
  deps: [],
@@ -5352,7 +5333,7 @@ class ReactiveFormsModule {
5352
5333
  });
5353
5334
  static ɵmod = i0.ɵɵngDeclareNgModule({
5354
5335
  minVersion: "14.0.0",
5355
- version: "21.2.0-next.1",
5336
+ version: "21.2.0-next.3",
5356
5337
  ngImport: i0,
5357
5338
  type: ReactiveFormsModule,
5358
5339
  declarations: [FormControlDirective, FormGroupDirective, FormArrayDirective, FormControlName, FormGroupName, FormArrayName],
@@ -5360,7 +5341,7 @@ class ReactiveFormsModule {
5360
5341
  });
5361
5342
  static ɵinj = i0.ɵɵngDeclareInjector({
5362
5343
  minVersion: "12.0.0",
5363
- version: "21.2.0-next.1",
5344
+ version: "21.2.0-next.3",
5364
5345
  ngImport: i0,
5365
5346
  type: ReactiveFormsModule,
5366
5347
  imports: [ɵInternalFormsSharedModule]
@@ -5368,7 +5349,7 @@ class ReactiveFormsModule {
5368
5349
  }
5369
5350
  i0.ɵɵngDeclareClassMetadata({
5370
5351
  minVersion: "12.0.0",
5371
- version: "21.2.0-next.1",
5352
+ version: "21.2.0-next.3",
5372
5353
  ngImport: i0,
5373
5354
  type: ReactiveFormsModule,
5374
5355
  decorators: [{