angular/packages/forms/src/directives
Andrew Kushnir 6414590f8d perf(forms): make RadioControlRegistry class tree-shakable (#41126)
This commit makes the `RadioControlRegistry` class tree-shakable by adding the `providedIn` property to its
`@Injectable` decorator. Now if the radio buttons are not used in the app (thus no `RadioControlValueAccessor`
directive is initialized), the `RadioControlRegistry` should not be included into application's prod bundle.

PR Close #41126
2021-03-16 09:35:15 -07:00
..
reactive_directives fix(forms): properly handle the change to the FormGroup shape (#40829) 2021-03-12 14:23:02 -08:00
abstract_control_directive.ts fix(forms): more precise control cleanup (#39623) 2020-11-12 09:38:19 -08:00
abstract_form_group_directive.ts refactor(forms): move common validators-related logic to the AbstractControlDirective class (#38280) 2020-10-28 09:48:20 -07:00
checkbox_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
control_container.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
control_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
default_value_accessor.ts docs: improve DefaultValueAccessor directive docs (#39404) 2020-10-26 10:50:41 -07:00
error_examples.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
form_interface.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ng_control.ts refactor(forms): move common validators-related logic to the AbstractControlDirective class (#38280) 2020-10-28 09:48:20 -07:00
ng_control_status.ts refactor(forms): avoid duplicated code in AbstractControlStatus directive (#40651) 2021-02-03 09:08:02 -08:00
ng_form.ts fix(forms): more precise control cleanup (#39623) 2020-11-12 09:38:19 -08:00
ng_model.ts docs(forms): update ngModel documentation (#39481) 2020-10-29 11:18:54 -07:00
ng_model_group.ts refactor(forms): move common validators-related logic to the AbstractControlDirective class (#38280) 2020-10-28 09:48:20 -07:00
ng_no_validate_directive.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
number_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
radio_control_value_accessor.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:15 -07:00
range_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
reactive_errors.ts perf(forms): use internal ngDevMode flag to tree-shake error messages in prod builds (#37821) 2020-08-24 09:26:28 -07:00
select_control_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
select_multiple_control_value_accessor.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
shared.ts perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) (#41197) 2021-03-12 16:48:59 -08:00
template_driven_errors.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
validators.ts perf(forms): avoid direct references to the Validators class (#41189) (#41220) 2021-03-15 12:15:16 -07:00