@angular/forms 16.1.0-rc.0 → 16.1.1

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 (31) 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 +8 -8
  6. package/esm2022/src/directives/ng_form.mjs +3 -3
  7. package/esm2022/src/directives/ng_model.mjs +6 -6
  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 +10 -10
  12. package/esm2022/src/directives/range_value_accessor.mjs +3 -3
  13. package/esm2022/src/directives/reactive_directives/form_control_directive.mjs +6 -6
  14. package/esm2022/src/directives/reactive_directives/form_control_name.mjs +6 -6
  15. package/esm2022/src/directives/reactive_directives/form_group_directive.mjs +5 -5
  16. package/esm2022/src/directives/reactive_directives/form_group_name.mjs +8 -8
  17. package/esm2022/src/directives/select_control_value_accessor.mjs +8 -8
  18. package/esm2022/src/directives/select_multiple_control_value_accessor.mjs +9 -9
  19. package/esm2022/src/directives/shared.mjs +2 -2
  20. package/esm2022/src/directives/validators.mjs +27 -27
  21. package/esm2022/src/directives.mjs +4 -4
  22. package/esm2022/src/form_builder.mjs +9 -9
  23. package/esm2022/src/form_providers.mjs +8 -8
  24. package/esm2022/src/model/abstract_model.mjs +20 -20
  25. package/esm2022/src/model/form_control.mjs +1 -1
  26. package/esm2022/src/validators.mjs +13 -13
  27. package/esm2022/src/version.mjs +1 -1
  28. package/fesm2022/forms.mjs +170 -170
  29. package/fesm2022/forms.mjs.map +1 -1
  30. package/index.d.ts +77 -77
  31. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-rc.0
2
+ * @license Angular v16.1.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -85,7 +85,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
85
85
  /**
86
86
  * The validation status of the control.
87
87
  *
88
- * @see `FormControlStatus`
88
+ * @see {@link FormControlStatus}
89
89
  *
90
90
  * These status values are mutually exclusive, so a control cannot be
91
91
  * both valid AND invalid or invalid AND disabled.
@@ -191,7 +191,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
191
191
  * A multicasting observable that emits an event every time the validation `status` of the control
192
192
  * recalculates.
193
193
  *
194
- * @see `FormControlStatus`
194
+ * @see {@link FormControlStatus}
195
195
  * @see {@link AbstractControl.status}
196
196
  *
197
197
  */
@@ -345,9 +345,9 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
345
345
  * Marks the control as `touched`. A control is touched by focus and
346
346
  * blur events that do not change the value.
347
347
  *
348
- * @see `markAsUntouched()`
349
- * @see `markAsDirty()`
350
- * @see `markAsPristine()`
348
+ * @see {@link markAsUntouched()}
349
+ * @see {@link markAsDirty()}
350
+ * @see {@link markAsPristine()}
351
351
  *
352
352
  * @param opts Configuration options that determine how the control propagates changes
353
353
  * and emits events after marking is applied.
@@ -359,7 +359,7 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
359
359
  }): void;
360
360
  /**
361
361
  * Marks the control and all its descendant controls as `touched`.
362
- * @see `markAsTouched()`
362
+ * @see {@link markAsTouched()}
363
363
  */
364
364
  markAllAsTouched(): void;
365
365
  /**
@@ -368,9 +368,9 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
368
368
  * If the control has any children, also marks all children as `untouched`
369
369
  * and recalculates the `touched` status of all parent controls.
370
370
  *
371
- * @see `markAsTouched()`
372
- * @see `markAsDirty()`
373
- * @see `markAsPristine()`
371
+ * @see {@link markAsTouched()}
372
+ * @see {@link markAsDirty()}
373
+ * @see {@link markAsPristine()}
374
374
  *
375
375
  * @param opts Configuration options that determine how the control propagates changes
376
376
  * and emits events after the marking is applied.
@@ -384,9 +384,9 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
384
384
  * Marks the control as `dirty`. A control becomes dirty when
385
385
  * the control's value is changed through the UI; compare `markAsTouched`.
386
386
  *
387
- * @see `markAsTouched()`
388
- * @see `markAsUntouched()`
389
- * @see `markAsPristine()`
387
+ * @see {@link markAsTouched()}
388
+ * @see {@link markAsUntouched()}
389
+ * @see {@link markAsPristine()}
390
390
  *
391
391
  * @param opts Configuration options that determine how the control propagates changes
392
392
  * and emits events after marking is applied.
@@ -403,9 +403,9 @@ export declare abstract class AbstractControl<TValue = any, TRawValue extends TV
403
403
  * and recalculates the `pristine` status of all parent
404
404
  * controls.
405
405
  *
406
- * @see `markAsTouched()`
407
- * @see `markAsUntouched()`
408
- * @see `markAsDirty()`
406
+ * @see {@link markAsTouched()}
407
+ * @see {@link markAsUntouched()}
408
+ * @see {@link markAsDirty()}
409
409
  *
410
410
  * @param opts Configuration options that determine how the control emits events after
411
411
  * marking is applied.
@@ -907,7 +907,7 @@ export declare class AbstractFormGroupDirective extends ControlContainer impleme
907
907
  */
908
908
  get formDirective(): Form | null;
909
909
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormGroupDirective, never>;
910
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormGroupDirective, never, never, {}, {}, never, never, false, never, false>;
910
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormGroupDirective, never, never, {}, {}, never, never, false, never>;
911
911
  }
912
912
 
913
913
  /**
@@ -934,7 +934,7 @@ declare abstract class AbstractValidatorDirective implements Validator, OnChange
934
934
  */
935
935
  enabled(input: unknown): boolean;
936
936
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractValidatorDirective, never>;
937
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractValidatorDirective, never, never, {}, {}, never, never, false, never, false>;
937
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractValidatorDirective, never, never, {}, {}, never, never, false, never>;
938
938
  }
939
939
 
940
940
  /**
@@ -1033,7 +1033,7 @@ declare class BaseControlValueAccessor {
1033
1033
  */
1034
1034
  setDisabledState(isDisabled: boolean): void;
1035
1035
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseControlValueAccessor, never>;
1036
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseControlValueAccessor, never, never, {}, {}, never, never, false, never, false>;
1036
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseControlValueAccessor, never, never, {}, {}, never, never, false, never>;
1037
1037
  }
1038
1038
 
1039
1039
  /**
@@ -1047,14 +1047,14 @@ declare class BaseControlValueAccessor {
1047
1047
  */
1048
1048
  declare class BuiltInControlValueAccessor extends BaseControlValueAccessor {
1049
1049
  static ɵfac: i0.ɵɵFactoryDeclaration<BuiltInControlValueAccessor, never>;
1050
- static ɵdir: i0.ɵɵDirectiveDeclaration<BuiltInControlValueAccessor, never, never, {}, {}, never, never, false, never, false>;
1050
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BuiltInControlValueAccessor, never, never, {}, {}, never, never, false, never>;
1051
1051
  }
1052
1052
 
1053
1053
  /**
1054
1054
  * Token to provide to allow SetDisabledState to always be called when a CVA is added, regardless of
1055
1055
  * whether the control is disabled or enabled.
1056
1056
  *
1057
- * @see `FormsModule.withConfig`
1057
+ * @see {@link FormsModule#withconfig}
1058
1058
  */
1059
1059
  declare const CALL_SET_DISABLED_STATE: InjectionToken<SetDisabledStateOption>;
1060
1060
 
@@ -1094,7 +1094,7 @@ export declare class CheckboxControlValueAccessor extends BuiltInControlValueAcc
1094
1094
  */
1095
1095
  writeValue(value: any): void;
1096
1096
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxControlValueAccessor, never>;
1097
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxControlValueAccessor, "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]", never, {}, {}, never, never, false, never, false>;
1097
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxControlValueAccessor, "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]", never, {}, {}, never, never, false, never>;
1098
1098
  }
1099
1099
 
1100
1100
  /**
@@ -1120,7 +1120,7 @@ export declare class CheckboxControlValueAccessor extends BuiltInControlValueAcc
1120
1120
  */
1121
1121
  export declare class CheckboxRequiredValidator extends RequiredValidator {
1122
1122
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxRequiredValidator, never>;
1123
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxRequiredValidator, "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]", never, {}, {}, never, never, false, never, false>;
1123
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxRequiredValidator, "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]", never, {}, {}, never, never, false, never>;
1124
1124
  }
1125
1125
 
1126
1126
  /**
@@ -1332,7 +1332,7 @@ export declare class DefaultValueAccessor extends BaseControlValueAccessor imple
1332
1332
  */
1333
1333
  writeValue(value: any): void;
1334
1334
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultValueAccessor, [null, null, { optional: true; }]>;
1335
- static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultValueAccessor, "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]", never, {}, {}, never, never, false, never, false>;
1335
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultValueAccessor, "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]", never, {}, {}, never, never, false, never>;
1336
1336
  }
1337
1337
 
1338
1338
  /**
@@ -1377,7 +1377,7 @@ export declare class EmailValidator extends AbstractValidatorDirective {
1377
1377
  /** @nodoc */
1378
1378
  enabled(input: boolean): boolean;
1379
1379
  static ɵfac: i0.ɵɵFactoryDeclaration<EmailValidator, never>;
1380
- static ɵdir: i0.ɵɵDirectiveDeclaration<EmailValidator, "[email][formControlName],[email][formControl],[email][ngModel]", never, { "email": { "alias": "email"; "required": false; }; }, {}, never, never, false, never, false>;
1380
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EmailValidator, "[email][formControlName],[email][formControl],[email][ngModel]", never, { "email": { "alias": "email"; "required": false; }; }, {}, never, never, false, never>;
1381
1381
  }
1382
1382
 
1383
1383
  /**
@@ -1782,7 +1782,7 @@ export declare class FormArray<TControl extends AbstractControl<any> = any> exte
1782
1782
  * `FormGroup` instance you passed into `FormGroupDirective`.
1783
1783
  *
1784
1784
  * @see [Reactive Forms Guide](guide/reactive-forms)
1785
- * @see `AbstractControl`
1785
+ * @see {@link AbstractControl}
1786
1786
  *
1787
1787
  * @usageNotes
1788
1788
  *
@@ -1834,7 +1834,7 @@ export declare class FormArrayName extends ControlContainer implements OnInit, O
1834
1834
  get path(): string[];
1835
1835
  private _checkParentType;
1836
1836
  static ɵfac: i0.ɵɵFactoryDeclaration<FormArrayName, [{ optional: true; host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
1837
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormArrayName, "[formArrayName]", never, { "name": { "alias": "formArrayName"; "required": false; }; }, {}, never, never, false, never, false>;
1837
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormArrayName, "[formArrayName]", never, { "name": { "alias": "formArrayName"; "required": false; }; }, {}, never, never, false, never>;
1838
1838
  }
1839
1839
 
1840
1840
  declare const formArrayNameProvider: any;
@@ -2005,7 +2005,7 @@ export declare class FormBuilder {
2005
2005
  *
2006
2006
  * See [usage examples below](#usage-notes).
2007
2007
  *
2008
- * @see `AbstractControl`
2008
+ * @see {@link AbstractControl}
2009
2009
  * @see [Reactive Forms Guide](guide/reactive-forms)
2010
2010
  * @see [Usage Notes](#usage-notes)
2011
2011
  *
@@ -2171,7 +2171,7 @@ export declare interface FormControl<TValue = any> extends AbstractControl<TValu
2171
2171
  * It exists for symmetry with {@link FormGroup#patchValue patchValue} on `FormGroups` and
2172
2172
  * `FormArrays`, where it does behave differently.
2173
2173
  *
2174
- * @see `setValue` for options
2174
+ * @see {@link FormControl#setValue} for options
2175
2175
  */
2176
2176
  patchValue(value: TValue, options?: {
2177
2177
  onlySelf?: boolean;
@@ -2246,8 +2246,8 @@ export declare const FormControl: ɵFormControlCtor;
2246
2246
  * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).
2247
2247
  *
2248
2248
  * @see [Reactive Forms Guide](guide/reactive-forms)
2249
- * @see `FormControl`
2250
- * @see `AbstractControl`
2249
+ * @see {@link FormControl}
2250
+ * @see {@link AbstractControl}
2251
2251
  *
2252
2252
  * @usageNotes
2253
2253
  *
@@ -2305,7 +2305,7 @@ export declare class FormControlDirective extends NgControl implements OnChanges
2305
2305
  viewToModelUpdate(newValue: any): void;
2306
2306
  private _isControlChanged;
2307
2307
  static ɵfac: i0.ɵɵFactoryDeclaration<FormControlDirective, [{ optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
2308
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlDirective, "[formControl]", ["ngForm"], { "form": { "alias": "formControl"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never, false>;
2308
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlDirective, "[formControl]", ["ngForm"], { "form": { "alias": "formControl"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never>;
2309
2309
  }
2310
2310
 
2311
2311
  /**
@@ -2314,8 +2314,8 @@ export declare class FormControlDirective extends NgControl implements OnChanges
2314
2314
  * element by name.
2315
2315
  *
2316
2316
  * @see [Reactive Forms Guide](guide/reactive-forms)
2317
- * @see `FormControl`
2318
- * @see `AbstractControl`
2317
+ * @see {@link FormControl}
2318
+ * @see {@link AbstractControl}
2319
2319
  *
2320
2320
  * @usageNotes
2321
2321
  *
@@ -2395,7 +2395,7 @@ export declare class FormControlName extends NgControl implements OnChanges, OnD
2395
2395
  private _checkParentType;
2396
2396
  private _setUpControl;
2397
2397
  static ɵfac: i0.ɵɵFactoryDeclaration<FormControlName, [{ optional: true; host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }]>;
2398
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlName, "[formControlName]", never, { "name": { "alias": "formControlName"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never, false>;
2398
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlName, "[formControlName]", never, { "name": { "alias": "formControlName"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never>;
2399
2399
  }
2400
2400
 
2401
2401
  /**
@@ -2817,7 +2817,7 @@ export declare class FormGroup<TControl extends {
2817
2817
  * and `FormArrayName` directives.
2818
2818
  *
2819
2819
  * @see [Reactive Forms Guide](guide/reactive-forms)
2820
- * @see `AbstractControl`
2820
+ * @see {@link AbstractControl}
2821
2821
  *
2822
2822
  * @usageNotes
2823
2823
  * ### Register Form Group
@@ -2978,7 +2978,7 @@ export declare class FormGroupDirective extends ControlContainer implements Form
2978
2978
  private _updateValidators;
2979
2979
  private _checkFormPresent;
2980
2980
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupDirective, [{ optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }]>;
2981
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupDirective, "[formGroup]", ["ngForm"], { "form": { "alias": "formGroup"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, false, never, false>;
2981
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupDirective, "[formGroup]", ["ngForm"], { "form": { "alias": "formGroup"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, false, never>;
2982
2982
  }
2983
2983
 
2984
2984
  /**
@@ -3041,7 +3041,7 @@ export declare class FormGroupName extends AbstractFormGroupDirective implements
3041
3041
  name: string | number | null;
3042
3042
  constructor(parent: ControlContainer, validators: (Validator | ValidatorFn)[], asyncValidators: (AsyncValidator | AsyncValidatorFn)[]);
3043
3043
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupName, [{ optional: true; host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
3044
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupName, "[formGroupName]", never, { "name": { "alias": "formGroupName"; "required": false; }; }, {}, never, never, false, never, false>;
3044
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupName, "[formGroupName]", never, { "name": { "alias": "formGroupName"; "required": false; }; }, {}, never, never, false, never>;
3045
3045
  }
3046
3046
 
3047
3047
  declare type FormHooks = 'change' | 'blur' | 'submit';
@@ -3426,7 +3426,7 @@ export declare class MaxLengthValidator extends AbstractValidatorDirective {
3426
3426
  */
3427
3427
  maxlength: string | number | null;
3428
3428
  static ɵfac: i0.ɵɵFactoryDeclaration<MaxLengthValidator, never>;
3429
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaxLengthValidator, "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", never, { "maxlength": { "alias": "maxlength"; "required": false; }; }, {}, never, never, false, never, false>;
3429
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxLengthValidator, "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", never, { "maxlength": { "alias": "maxlength"; "required": false; }; }, {}, never, never, false, never>;
3430
3430
  }
3431
3431
 
3432
3432
  /**
@@ -3457,7 +3457,7 @@ export declare class MaxValidator extends AbstractValidatorDirective {
3457
3457
  */
3458
3458
  max: string | number | null;
3459
3459
  static ɵfac: i0.ɵɵFactoryDeclaration<MaxValidator, never>;
3460
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", never, { "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never, false>;
3460
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", never, { "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
3461
3461
  }
3462
3462
 
3463
3463
  /**
@@ -3500,7 +3500,7 @@ export declare class MinLengthValidator extends AbstractValidatorDirective {
3500
3500
  */
3501
3501
  minlength: string | number | null;
3502
3502
  static ɵfac: i0.ɵɵFactoryDeclaration<MinLengthValidator, never>;
3503
- static ɵdir: i0.ɵɵDirectiveDeclaration<MinLengthValidator, "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", never, { "minlength": { "alias": "minlength"; "required": false; }; }, {}, never, never, false, never, false>;
3503
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinLengthValidator, "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", never, { "minlength": { "alias": "minlength"; "required": false; }; }, {}, never, never, false, never>;
3504
3504
  }
3505
3505
 
3506
3506
  /**
@@ -3531,7 +3531,7 @@ export declare class MinValidator extends AbstractValidatorDirective {
3531
3531
  */
3532
3532
  min: string | number | null;
3533
3533
  static ɵfac: i0.ɵɵFactoryDeclaration<MinValidator, never>;
3534
- static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", never, { "min": { "alias": "min"; "required": false; }; }, {}, never, never, false, never, false>;
3534
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", never, { "min": { "alias": "min"; "required": false; }; }, {}, never, never, false, never>;
3535
3535
  }
3536
3536
 
3537
3537
  declare const modelGroupProvider: any;
@@ -3541,7 +3541,7 @@ declare const modelGroupProvider: any;
3541
3541
  * An `InjectionToken` for registering additional asynchronous validators used with
3542
3542
  * `AbstractControl`s.
3543
3543
  *
3544
- * @see `NG_VALIDATORS`
3544
+ * @see {@link NG_VALIDATORS}
3545
3545
  *
3546
3546
  * @usageNotes
3547
3547
  *
@@ -3577,7 +3577,7 @@ declare const NG_MODEL_WITH_FORM_CONTROL_WARNING: InjectionToken<unknown>;
3577
3577
  * An `InjectionToken` for registering additional synchronous validators used with
3578
3578
  * `AbstractControl`s.
3579
3579
  *
3580
- * @see `NG_ASYNC_VALIDATORS`
3580
+ * @see {@link NG_ASYNC_VALIDATORS}
3581
3581
  *
3582
3582
  * @usageNotes
3583
3583
  *
@@ -3664,7 +3664,7 @@ export declare abstract class NgControl extends AbstractControlDirective {
3664
3664
  export declare class NgControlStatus extends AbstractControlStatus {
3665
3665
  constructor(cd: NgControl);
3666
3666
  static ɵfac: i0.ɵɵFactoryDeclaration<NgControlStatus, [{ self: true; }]>;
3667
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgControlStatus, "[formControlName],[ngModel],[formControl]", never, {}, {}, never, never, false, never, false>;
3667
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgControlStatus, "[formControlName],[ngModel],[formControl]", never, {}, {}, never, never, false, never>;
3668
3668
  }
3669
3669
 
3670
3670
  /**
@@ -3673,7 +3673,7 @@ export declare class NgControlStatus extends AbstractControlStatus {
3673
3673
  * based on control status (valid/invalid/dirty/etc). On groups, this includes the additional
3674
3674
  * class ng-submitted.
3675
3675
  *
3676
- * @see `NgControlStatus`
3676
+ * @see {@link NgControlStatus}
3677
3677
  *
3678
3678
  * @ngModule ReactiveFormsModule
3679
3679
  * @ngModule FormsModule
@@ -3682,7 +3682,7 @@ export declare class NgControlStatus extends AbstractControlStatus {
3682
3682
  export declare class NgControlStatusGroup extends AbstractControlStatus {
3683
3683
  constructor(cd: ControlContainer);
3684
3684
  static ɵfac: i0.ɵɵFactoryDeclaration<NgControlStatusGroup, [{ optional: true; self: true; }]>;
3685
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgControlStatusGroup, "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]", never, {}, {}, never, never, false, never, false>;
3685
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgControlStatusGroup, "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]", never, {}, {}, never, never, false, never>;
3686
3686
  }
3687
3687
 
3688
3688
  declare const ngControlStatusHost: {
@@ -3897,7 +3897,7 @@ export declare class NgForm extends ControlContainer implements Form, AfterViewI
3897
3897
  private _setUpdateStrategy;
3898
3898
  private _findContainer;
3899
3899
  static ɵfac: i0.ɵɵFactoryDeclaration<NgForm, [{ optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }]>;
3900
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgForm, "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", ["ngForm"], { "options": { "alias": "ngFormOptions"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, false, never, false>;
3900
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgForm, "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", ["ngForm"], { "options": { "alias": "ngFormOptions"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, false, never>;
3901
3901
  }
3902
3902
 
3903
3903
  declare const ngGroupStatusHost: {
@@ -3937,8 +3937,8 @@ declare const ngGroupStatusHost: {
3937
3937
  * for direct access. See a full list of properties directly available in
3938
3938
  * `AbstractControlDirective`.
3939
3939
  *
3940
- * @see `RadioControlValueAccessor`
3941
- * @see `SelectControlValueAccessor`
3940
+ * @see {@link RadioControlValueAccessor}
3941
+ * @see {@link SelectControlValueAccessor}
3942
3942
  *
3943
3943
  * @usageNotes
3944
3944
  *
@@ -4084,7 +4084,7 @@ export declare class NgModel extends NgControl implements OnChanges, OnDestroy {
4084
4084
  private _updateDisabled;
4085
4085
  private _getPath;
4086
4086
  static ɵfac: i0.ɵɵFactoryDeclaration<NgModel, [{ optional: true; host: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
4087
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgModel, "[ngModel]:not([formControlName]):not([formControl])", ["ngModel"], { "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; "options": { "alias": "ngModelOptions"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never, false>;
4087
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgModel, "[ngModel]:not([formControlName]):not([formControl])", ["ngModel"], { "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "ngModel"; "required": false; }; "options": { "alias": "ngModelOptions"; "required": false; }; }, { "update": "ngModelChange"; }, never, never, false, never>;
4088
4088
  }
4089
4089
 
4090
4090
  /**
@@ -4122,14 +4122,14 @@ export declare class NgModelGroup extends AbstractFormGroupDirective implements
4122
4122
  name: string;
4123
4123
  constructor(parent: ControlContainer, validators: (Validator | ValidatorFn)[], asyncValidators: (AsyncValidator | AsyncValidatorFn)[]);
4124
4124
  static ɵfac: i0.ɵɵFactoryDeclaration<NgModelGroup, [{ host: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
4125
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelGroup, "[ngModelGroup]", ["ngModelGroup"], { "name": { "alias": "ngModelGroup"; "required": false; }; }, {}, never, never, false, never, false>;
4125
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelGroup, "[ngModelGroup]", ["ngModelGroup"], { "name": { "alias": "ngModelGroup"; "required": false; }; }, {}, never, never, false, never>;
4126
4126
  }
4127
4127
 
4128
4128
  /**
4129
4129
  * @description
4130
4130
  * Marks `<option>` as dynamic, so Angular can be notified when options change.
4131
4131
  *
4132
- * @see `SelectControlValueAccessor`
4132
+ * @see {@link SelectControlValueAccessor}
4133
4133
  *
4134
4134
  * @ngModule ReactiveFormsModule
4135
4135
  * @ngModule FormsModule
@@ -4160,7 +4160,7 @@ export declare class NgSelectOption implements OnDestroy {
4160
4160
  /** @nodoc */
4161
4161
  ngOnDestroy(): void;
4162
4162
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectOption, [null, null, { optional: true; host: true; }]>;
4163
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSelectOption, "option", never, { "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never, false>;
4163
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgSelectOption, "option", never, { "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
4164
4164
  }
4165
4165
 
4166
4166
  /**
@@ -4238,7 +4238,7 @@ export declare class NumberValueAccessor extends BuiltInControlValueAccessor imp
4238
4238
  */
4239
4239
  registerOnChange(fn: (_: number | null) => void): void;
4240
4240
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberValueAccessor, never>;
4241
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumberValueAccessor, "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]", never, {}, {}, never, never, false, never, false>;
4241
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumberValueAccessor, "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]", never, {}, {}, never, never, false, never>;
4242
4242
  }
4243
4243
 
4244
4244
  /**
@@ -4277,7 +4277,7 @@ export declare class PatternValidator extends AbstractValidatorDirective {
4277
4277
  */
4278
4278
  pattern: string | RegExp;
4279
4279
  static ɵfac: i0.ɵɵFactoryDeclaration<PatternValidator, never>;
4280
- static ɵdir: i0.ɵɵDirectiveDeclaration<PatternValidator, "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", never, { "pattern": { "alias": "pattern"; "required": false; }; }, {}, never, never, false, never, false>;
4280
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PatternValidator, "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", never, { "pattern": { "alias": "pattern"; "required": false; }; }, {}, never, never, false, never>;
4281
4281
  }
4282
4282
 
4283
4283
  /**
@@ -4410,7 +4410,7 @@ export declare class RadioControlValueAccessor extends BuiltInControlValueAccess
4410
4410
  fireUncheck(value: any): void;
4411
4411
  private _checkName;
4412
4412
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioControlValueAccessor, never>;
4413
- static ɵdir: i0.ɵɵDirectiveDeclaration<RadioControlValueAccessor, "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", never, { "name": { "alias": "name"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never, false>;
4413
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RadioControlValueAccessor, "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", never, { "name": { "alias": "name"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
4414
4414
  }
4415
4415
 
4416
4416
  /**
@@ -4449,7 +4449,7 @@ export declare class RangeValueAccessor extends BuiltInControlValueAccessor impl
4449
4449
  */
4450
4450
  registerOnChange(fn: (_: number | null) => void): void;
4451
4451
  static ɵfac: i0.ɵɵFactoryDeclaration<RangeValueAccessor, never>;
4452
- static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValueAccessor, "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]", never, {}, {}, never, never, false, never, false>;
4452
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValueAccessor, "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]", never, {}, {}, never, never, false, never>;
4453
4453
  }
4454
4454
 
4455
4455
  declare const REACTIVE_DRIVEN_DIRECTIVES: Type<any>[];
@@ -4521,7 +4521,7 @@ export declare class RequiredValidator extends AbstractValidatorDirective {
4521
4521
  /** @nodoc */
4522
4522
  enabled(input: boolean): boolean;
4523
4523
  static ɵfac: i0.ɵɵFactoryDeclaration<RequiredValidator, never>;
4524
- static ɵdir: i0.ɵɵDirectiveDeclaration<RequiredValidator, ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never, false>;
4524
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RequiredValidator, ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
4525
4525
  }
4526
4526
 
4527
4527
  /**
@@ -4601,7 +4601,7 @@ export declare class SelectControlValueAccessor extends BuiltInControlValueAcces
4601
4601
  */
4602
4602
  registerOnChange(fn: (value: any) => any): void;
4603
4603
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectControlValueAccessor, never>;
4604
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectControlValueAccessor, "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", never, { "compareWith": { "alias": "compareWith"; "required": false; }; }, {}, never, never, false, never, false>;
4604
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectControlValueAccessor, "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", never, { "compareWith": { "alias": "compareWith"; "required": false; }; }, {}, never, never, false, never>;
4605
4605
  }
4606
4606
 
4607
4607
  /**
@@ -4610,7 +4610,7 @@ export declare class SelectControlValueAccessor extends BuiltInControlValueAcces
4610
4610
  * control changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
4611
4611
  * `NgModel` directives.
4612
4612
  *
4613
- * @see `SelectControlValueAccessor`
4613
+ * @see {@link SelectControlValueAccessor}
4614
4614
  *
4615
4615
  * @usageNotes
4616
4616
  *
@@ -4664,7 +4664,7 @@ export declare class SelectMultipleControlValueAccessor extends BuiltInControlVa
4664
4664
  */
4665
4665
  registerOnChange(fn: (value: any) => any): void;
4666
4666
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectMultipleControlValueAccessor, never>;
4667
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectMultipleControlValueAccessor, "select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]", never, { "compareWith": { "alias": "compareWith"; "required": false; }; }, {}, never, never, false, never, false>;
4667
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectMultipleControlValueAccessor, "select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]", never, { "compareWith": { "alias": "compareWith"; "required": false; }; }, {}, never, never, false, never>;
4668
4668
  }
4669
4669
 
4670
4670
  /**
@@ -4673,7 +4673,7 @@ export declare class SelectMultipleControlValueAccessor extends BuiltInControlVa
4673
4673
  * called when disabled, which is the legacy behavior for compatibility.
4674
4674
  *
4675
4675
  * @publicApi
4676
- * @see `FormsModule.withConfig`
4676
+ * @see {@link FormsModule#withconfig}
4677
4677
  */
4678
4678
  export declare type SetDisabledStateOption = 'whenDisabledForLegacyCode' | 'always';
4679
4679
 
@@ -4864,7 +4864,7 @@ export declare class Validators {
4864
4864
  * @returns A validator function that returns an error map with the
4865
4865
  * `min` property if the validation check fails, otherwise `null`.
4866
4866
  *
4867
- * @see `updateValueAndValidity()`
4867
+ * @see {@link updateValueAndValidity()}
4868
4868
  *
4869
4869
  */
4870
4870
  static min(min: number): ValidatorFn;
@@ -4885,7 +4885,7 @@ export declare class Validators {
4885
4885
  * @returns A validator function that returns an error map with the
4886
4886
  * `max` property if the validation check fails, otherwise `null`.
4887
4887
  *
4888
- * @see `updateValueAndValidity()`
4888
+ * @see {@link updateValueAndValidity()}
4889
4889
  *
4890
4890
  */
4891
4891
  static max(max: number): ValidatorFn;
@@ -4906,7 +4906,7 @@ export declare class Validators {
4906
4906
  * @returns An error map with the `required` property
4907
4907
  * if the validation check fails, otherwise `null`.
4908
4908
  *
4909
- * @see `updateValueAndValidity()`
4909
+ * @see {@link updateValueAndValidity()}
4910
4910
  *
4911
4911
  */
4912
4912
  static required(control: AbstractControl): ValidationErrors | null;
@@ -4928,7 +4928,7 @@ export declare class Validators {
4928
4928
  * @returns An error map that contains the `required` property
4929
4929
  * set to `true` if the validation check fails, otherwise `null`.
4930
4930
  *
4931
- * @see `updateValueAndValidity()`
4931
+ * @see {@link updateValueAndValidity()}
4932
4932
  *
4933
4933
  */
4934
4934
  static requiredTrue(control: AbstractControl): ValidationErrors | null;
@@ -4965,7 +4965,7 @@ export declare class Validators {
4965
4965
  * @returns An error map with the `email` property
4966
4966
  * if the validation check fails, otherwise `null`.
4967
4967
  *
4968
- * @see `updateValueAndValidity()`
4968
+ * @see {@link updateValueAndValidity()}
4969
4969
  *
4970
4970
  */
4971
4971
  static email(control: AbstractControl): ValidationErrors | null;
@@ -4996,7 +4996,7 @@ export declare class Validators {
4996
4996
  * @returns A validator function that returns an error map with the
4997
4997
  * `minlength` property if the validation check fails, otherwise `null`.
4998
4998
  *
4999
- * @see `updateValueAndValidity()`
4999
+ * @see {@link updateValueAndValidity()}
5000
5000
  *
5001
5001
  */
5002
5002
  static minLength(minLength: number): ValidatorFn;
@@ -5024,7 +5024,7 @@ export declare class Validators {
5024
5024
  * @returns A validator function that returns an error map with the
5025
5025
  * `maxlength` property if the validation check fails, otherwise `null`.
5026
5026
  *
5027
- * @see `updateValueAndValidity()`
5027
+ * @see {@link updateValueAndValidity()}
5028
5028
  *
5029
5029
  */
5030
5030
  static maxLength(maxLength: number): ValidatorFn;
@@ -5074,7 +5074,7 @@ export declare class Validators {
5074
5074
  * @returns A validator function that returns an error map with the
5075
5075
  * `pattern` property if the validation check fails, otherwise `null`.
5076
5076
  *
5077
- * @see `updateValueAndValidity()`
5077
+ * @see {@link updateValueAndValidity()}
5078
5078
  *
5079
5079
  */
5080
5080
  static pattern(pattern: string | RegExp): ValidatorFn;
@@ -5082,7 +5082,7 @@ export declare class Validators {
5082
5082
  * @description
5083
5083
  * Validator that performs no operation.
5084
5084
  *
5085
- * @see `updateValueAndValidity()`
5085
+ * @see {@link updateValueAndValidity()}
5086
5086
  *
5087
5087
  */
5088
5088
  static nullValidator(control: AbstractControl): ValidationErrors | null;
@@ -5094,7 +5094,7 @@ export declare class Validators {
5094
5094
  * @returns A validator function that returns an error map with the
5095
5095
  * merged error maps of the validators if the validation check fails, otherwise `null`.
5096
5096
  *
5097
- * @see `updateValueAndValidity()`
5097
+ * @see {@link updateValueAndValidity()}
5098
5098
  *
5099
5099
  */
5100
5100
  static compose(validators: null): null;
@@ -5107,7 +5107,7 @@ export declare class Validators {
5107
5107
  * @returns A validator function that returns an error map with the
5108
5108
  * merged error objects of the async validators if the validation check fails, otherwise `null`.
5109
5109
  *
5110
- * @see `updateValueAndValidity()`
5110
+ * @see {@link updateValueAndValidity()}
5111
5111
  *
5112
5112
  */
5113
5113
  static composeAsync(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn | null;
@@ -5303,14 +5303,14 @@ export declare type ɵNavigate<T, K extends (Array<string | number>)> = T extend
5303
5303
  */
5304
5304
  export declare class ɵNgNoValidate {
5305
5305
  static ɵfac: i0.ɵɵFactoryDeclaration<ɵNgNoValidate, never>;
5306
- static ɵdir: i0.ɵɵDirectiveDeclaration<ɵNgNoValidate, "form:not([ngNoForm]):not([ngNativeValidate])", never, {}, {}, never, never, false, never, false>;
5306
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ɵNgNoValidate, "form:not([ngNoForm]):not([ngNativeValidate])", never, {}, {}, never, never, false, never>;
5307
5307
  }
5308
5308
 
5309
5309
  /**
5310
5310
  * @description
5311
5311
  * Marks `<option>` as dynamic, so Angular can be notified when options change.
5312
5312
  *
5313
- * @see `SelectMultipleControlValueAccessor`
5313
+ * @see {@link SelectMultipleControlValueAccessor}
5314
5314
  *
5315
5315
  * @ngModule ReactiveFormsModule
5316
5316
  * @ngModule FormsModule
@@ -5337,7 +5337,7 @@ export declare class ɵNgSelectMultipleOption implements OnDestroy {
5337
5337
  /** @nodoc */
5338
5338
  ngOnDestroy(): void;
5339
5339
  static ɵfac: i0.ɵɵFactoryDeclaration<ɵNgSelectMultipleOption, [null, null, { optional: true; host: true; }]>;
5340
- static ɵdir: i0.ɵɵDirectiveDeclaration<ɵNgSelectMultipleOption, "option", never, { "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never, false>;
5340
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ɵNgSelectMultipleOption, "option", never, { "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
5341
5341
  }
5342
5342
 
5343
5343
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/forms",
3
- "version": "16.1.0-rc.0",
3
+ "version": "16.1.1",
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": "16.1.0-rc.0",
15
- "@angular/common": "16.1.0-rc.0",
16
- "@angular/platform-browser": "16.1.0-rc.0",
14
+ "@angular/core": "16.1.1",
15
+ "@angular/common": "16.1.1",
16
+ "@angular/platform-browser": "16.1.1",
17
17
  "rxjs": "^6.5.3 || ^7.4.0"
18
18
  },
19
19
  "repository": {