@angular/forms 17.2.0-next.0 → 17.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/directives/abstract_form_group_directive.mjs +3 -3
- package/esm2022/src/directives/checkbox_value_accessor.mjs +3 -3
- package/esm2022/src/directives/control_value_accessor.mjs +8 -8
- package/esm2022/src/directives/default_value_accessor.mjs +5 -5
- package/esm2022/src/directives/ng_control_status.mjs +6 -6
- package/esm2022/src/directives/ng_form.mjs +3 -3
- package/esm2022/src/directives/ng_model.mjs +3 -3
- package/esm2022/src/directives/ng_model_group.mjs +3 -3
- package/esm2022/src/directives/ng_no_validate_directive.mjs +3 -3
- package/esm2022/src/directives/number_value_accessor.mjs +3 -3
- package/esm2022/src/directives/radio_control_value_accessor.mjs +9 -23
- package/esm2022/src/directives/range_value_accessor.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_control_directive.mjs +5 -5
- package/esm2022/src/directives/reactive_directives/form_control_name.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_group_directive.mjs +3 -3
- package/esm2022/src/directives/reactive_directives/form_group_name.mjs +6 -6
- package/esm2022/src/directives/select_control_value_accessor.mjs +6 -6
- package/esm2022/src/directives/select_multiple_control_value_accessor.mjs +6 -6
- package/esm2022/src/directives/validators.mjs +27 -27
- package/esm2022/src/directives.mjs +7 -8
- package/esm2022/src/form_builder.mjs +9 -9
- package/esm2022/src/form_providers.mjs +9 -15
- package/esm2022/src/validators.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/forms.mjs +130 -151
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +3 -22
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.2.0-
|
|
2
|
+
* @license Angular v17.2.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1284,7 +1284,7 @@ export declare interface ControlValueAccessor {
|
|
|
1284
1284
|
setDisabledState?(isDisabled: boolean): void;
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
|
-
declare const DEFAULT_VALUE_ACCESSOR:
|
|
1287
|
+
declare const DEFAULT_VALUE_ACCESSOR: Provider;
|
|
1288
1288
|
|
|
1289
1289
|
/**
|
|
1290
1290
|
* The default `ControlValueAccessor` for writing a value and listening to changes on input
|
|
@@ -3158,9 +3158,6 @@ export declare interface FormRecord<TControl> {
|
|
|
3158
3158
|
* Exports the required providers and directives for template-driven forms,
|
|
3159
3159
|
* making them available for import by NgModules that import this module.
|
|
3160
3160
|
*
|
|
3161
|
-
* Providers associated with this module:
|
|
3162
|
-
* * `RadioControlRegistry`
|
|
3163
|
-
*
|
|
3164
3161
|
* @see [Forms Overview](/guide/forms-overview)
|
|
3165
3162
|
* @see [Template-driven Forms Guide](/guide/forms)
|
|
3166
3163
|
*
|
|
@@ -3330,7 +3327,6 @@ declare namespace i7_2 {
|
|
|
3330
3327
|
|
|
3331
3328
|
declare namespace i8 {
|
|
3332
3329
|
export {
|
|
3333
|
-
RadioControlRegistryModule,
|
|
3334
3330
|
RadioControlRegistry,
|
|
3335
3331
|
RadioControlValueAccessor
|
|
3336
3332
|
}
|
|
@@ -4324,18 +4320,6 @@ declare class RadioControlRegistry {
|
|
|
4324
4320
|
static ɵprov: i0.ɵɵInjectableDeclaration<RadioControlRegistry>;
|
|
4325
4321
|
}
|
|
4326
4322
|
|
|
4327
|
-
/**
|
|
4328
|
-
* Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable
|
|
4329
|
-
* provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's
|
|
4330
|
-
* declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support
|
|
4331
|
-
* `forwardRef` logic.
|
|
4332
|
-
*/
|
|
4333
|
-
declare class RadioControlRegistryModule {
|
|
4334
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioControlRegistryModule, never>;
|
|
4335
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioControlRegistryModule, never, never, never>;
|
|
4336
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RadioControlRegistryModule>;
|
|
4337
|
-
}
|
|
4338
|
-
|
|
4339
4323
|
/**
|
|
4340
4324
|
* @description
|
|
4341
4325
|
* The `ControlValueAccessor` for writing radio control values and listening to radio control
|
|
@@ -4458,9 +4442,6 @@ declare const REACTIVE_DRIVEN_DIRECTIVES: Type<any>[];
|
|
|
4458
4442
|
* Exports the required infrastructure and directives for reactive forms,
|
|
4459
4443
|
* making them available for import by NgModules that import this module.
|
|
4460
4444
|
*
|
|
4461
|
-
* Providers associated with this module:
|
|
4462
|
-
* * `RadioControlRegistry`
|
|
4463
|
-
*
|
|
4464
4445
|
* @see [Forms Overview](guide/forms-overview)
|
|
4465
4446
|
* @see [Reactive Forms Guide](guide/reactive-forms)
|
|
4466
4447
|
*
|
|
@@ -5271,7 +5252,7 @@ export declare type ɵGetProperty<T, K> = K extends string ? ɵGetProperty<T, ɵ
|
|
|
5271
5252
|
*/
|
|
5272
5253
|
export declare class ɵInternalFormsSharedModule {
|
|
5273
5254
|
static ɵfac: i0.ɵɵFactoryDeclaration<ɵInternalFormsSharedModule, never>;
|
|
5274
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ɵInternalFormsSharedModule, [typeof i1.ɵNgNoValidate, typeof i2.NgSelectOption, typeof i3.ɵNgSelectMultipleOption, typeof i4.DefaultValueAccessor, typeof i5.NumberValueAccessor, typeof i6.RangeValueAccessor, typeof i7.CheckboxControlValueAccessor, typeof i2.SelectControlValueAccessor, typeof i3.SelectMultipleControlValueAccessor, typeof i8.RadioControlValueAccessor, typeof i9.NgControlStatus, typeof i9.NgControlStatusGroup, typeof i10.RequiredValidator, typeof i10.MinLengthValidator, typeof i10.MaxLengthValidator, typeof i10.PatternValidator, typeof i10.CheckboxRequiredValidator, typeof i10.EmailValidator, typeof i10.MinValidator, typeof i10.MaxValidator],
|
|
5255
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ɵInternalFormsSharedModule, [typeof i1.ɵNgNoValidate, typeof i2.NgSelectOption, typeof i3.ɵNgSelectMultipleOption, typeof i4.DefaultValueAccessor, typeof i5.NumberValueAccessor, typeof i6.RangeValueAccessor, typeof i7.CheckboxControlValueAccessor, typeof i2.SelectControlValueAccessor, typeof i3.SelectMultipleControlValueAccessor, typeof i8.RadioControlValueAccessor, typeof i9.NgControlStatus, typeof i9.NgControlStatusGroup, typeof i10.RequiredValidator, typeof i10.MinLengthValidator, typeof i10.MaxLengthValidator, typeof i10.PatternValidator, typeof i10.CheckboxRequiredValidator, typeof i10.EmailValidator, typeof i10.MinValidator, typeof i10.MaxValidator], never, [typeof i1.ɵNgNoValidate, typeof i2.NgSelectOption, typeof i3.ɵNgSelectMultipleOption, typeof i4.DefaultValueAccessor, typeof i5.NumberValueAccessor, typeof i6.RangeValueAccessor, typeof i7.CheckboxControlValueAccessor, typeof i2.SelectControlValueAccessor, typeof i3.SelectMultipleControlValueAccessor, typeof i8.RadioControlValueAccessor, typeof i9.NgControlStatus, typeof i9.NgControlStatusGroup, typeof i10.RequiredValidator, typeof i10.MinLengthValidator, typeof i10.MaxLengthValidator, typeof i10.PatternValidator, typeof i10.CheckboxRequiredValidator, typeof i10.EmailValidator, typeof i10.MinValidator, typeof i10.MaxValidator]>;
|
|
5275
5256
|
static ɵinj: i0.ɵɵInjectorDeclaration<ɵInternalFormsSharedModule>;
|
|
5276
5257
|
}
|
|
5277
5258
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/forms",
|
|
3
|
-
"version": "17.2.0-
|
|
3
|
+
"version": "17.2.0-rc.0",
|
|
4
4
|
"description": "Angular - directives and services for creating forms",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/core": "17.2.0-
|
|
15
|
-
"@angular/common": "17.2.0-
|
|
16
|
-
"@angular/platform-browser": "17.2.0-
|
|
14
|
+
"@angular/core": "17.2.0-rc.0",
|
|
15
|
+
"@angular/common": "17.2.0-rc.0",
|
|
16
|
+
"@angular/platform-browser": "17.2.0-rc.0",
|
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|