@angular/forms 15.1.0-next.0 → 15.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/src/directives/abstract_form_group_directive.mjs +3 -3
- package/esm2020/src/directives/checkbox_value_accessor.mjs +3 -3
- package/esm2020/src/directives/control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/default_value_accessor.mjs +3 -3
- package/esm2020/src/directives/ng_control_status.mjs +6 -6
- package/esm2020/src/directives/ng_form.mjs +3 -3
- package/esm2020/src/directives/ng_model.mjs +3 -3
- package/esm2020/src/directives/ng_model_group.mjs +3 -3
- package/esm2020/src/directives/ng_no_validate_directive.mjs +3 -3
- package/esm2020/src/directives/number_value_accessor.mjs +3 -3
- package/esm2020/src/directives/radio_control_value_accessor.mjs +10 -10
- package/esm2020/src/directives/range_value_accessor.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_control_directive.mjs +13 -13
- package/esm2020/src/directives/reactive_directives/form_control_name.mjs +13 -13
- package/esm2020/src/directives/reactive_directives/form_group_directive.mjs +3 -3
- package/esm2020/src/directives/reactive_directives/form_group_name.mjs +6 -6
- package/esm2020/src/directives/select_control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/select_multiple_control_value_accessor.mjs +6 -6
- package/esm2020/src/directives/validators.mjs +27 -27
- package/esm2020/src/directives.mjs +4 -4
- package/esm2020/src/form_builder.mjs +13 -14
- package/esm2020/src/form_providers.mjs +8 -8
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/forms.mjs +240 -240
- package/fesm2015/forms.mjs.map +1 -1
- package/fesm2020/forms.mjs +238 -238
- package/fesm2020/forms.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
package/fesm2020/forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-next.
|
|
2
|
+
* @license Angular v15.1.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -70,9 +70,9 @@ class BaseControlValueAccessor {
|
|
|
70
70
|
this.setProperty('disabled', isDisabled);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
BaseControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
74
|
-
BaseControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
73
|
+
BaseControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: BaseControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
74
|
+
BaseControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: BaseControlValueAccessor, ngImport: i0 });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: BaseControlValueAccessor, decorators: [{
|
|
76
76
|
type: Directive
|
|
77
77
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
|
|
78
78
|
/**
|
|
@@ -86,9 +86,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0",
|
|
|
86
86
|
*/
|
|
87
87
|
class BuiltInControlValueAccessor extends BaseControlValueAccessor {
|
|
88
88
|
}
|
|
89
|
-
BuiltInControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
90
|
-
BuiltInControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
89
|
+
BuiltInControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: BuiltInControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
90
|
+
BuiltInControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: BuiltInControlValueAccessor, usesInheritance: true, ngImport: i0 });
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: BuiltInControlValueAccessor, decorators: [{
|
|
92
92
|
type: Directive
|
|
93
93
|
}] });
|
|
94
94
|
/**
|
|
@@ -144,9 +144,9 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
144
144
|
this.setProperty('checked', value);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
CheckboxControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
148
|
-
CheckboxControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
147
|
+
CheckboxControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: CheckboxControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
148
|
+
CheckboxControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]", host: { listeners: { "change": "onChange($event.target.checked)", "blur": "onTouched()" } }, providers: [CHECKBOX_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: CheckboxControlValueAccessor, decorators: [{
|
|
150
150
|
type: Directive,
|
|
151
151
|
args: [{
|
|
152
152
|
selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',
|
|
@@ -251,9 +251,9 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
|
|
|
251
251
|
this._compositionMode && this.onChange(value);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
DefaultValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
255
|
-
DefaultValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
254
|
+
DefaultValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: DefaultValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: COMPOSITION_BUFFER_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
255
|
+
DefaultValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]", host: { listeners: { "input": "$any(this)._handleInput($event.target.value)", "blur": "onTouched()", "compositionstart": "$any(this)._compositionStart()", "compositionend": "$any(this)._compositionEnd($event.target.value)" } }, providers: [DEFAULT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: DefaultValueAccessor, decorators: [{
|
|
257
257
|
type: Directive,
|
|
258
258
|
args: [{
|
|
259
259
|
selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',
|
|
@@ -1382,9 +1382,9 @@ class NgControlStatus extends AbstractControlStatus {
|
|
|
1382
1382
|
super(cd);
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
NgControlStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
1386
|
-
NgControlStatus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
1387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
1385
|
+
NgControlStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgControlStatus, deps: [{ token: NgControl, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1386
|
+
NgControlStatus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]", host: { properties: { "class.ng-untouched": "isUntouched", "class.ng-touched": "isTouched", "class.ng-pristine": "isPristine", "class.ng-dirty": "isDirty", "class.ng-valid": "isValid", "class.ng-invalid": "isInvalid", "class.ng-pending": "isPending" } }, usesInheritance: true, ngImport: i0 });
|
|
1387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgControlStatus, decorators: [{
|
|
1388
1388
|
type: Directive,
|
|
1389
1389
|
args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost }]
|
|
1390
1390
|
}], ctorParameters: function () { return [{ type: NgControl, decorators: [{
|
|
@@ -1407,9 +1407,9 @@ class NgControlStatusGroup extends AbstractControlStatus {
|
|
|
1407
1407
|
super(cd);
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
1410
|
-
NgControlStatusGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
1411
|
-
NgControlStatusGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
1412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
1410
|
+
NgControlStatusGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgControlStatusGroup, deps: [{ token: ControlContainer, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1411
|
+
NgControlStatusGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]", host: { properties: { "class.ng-untouched": "isUntouched", "class.ng-touched": "isTouched", "class.ng-pristine": "isPristine", "class.ng-dirty": "isDirty", "class.ng-valid": "isValid", "class.ng-invalid": "isInvalid", "class.ng-pending": "isPending", "class.ng-submitted": "isSubmitted" } }, usesInheritance: true, ngImport: i0 });
|
|
1412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgControlStatusGroup, decorators: [{
|
|
1413
1413
|
type: Directive,
|
|
1414
1414
|
args: [{
|
|
1415
1415
|
selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',
|
|
@@ -3604,9 +3604,9 @@ class NgForm extends ControlContainer {
|
|
|
3604
3604
|
return path.length ? this.form.get(path) : this.form;
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
|
-
NgForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3608
|
-
NgForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3607
|
+
NgForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgForm, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3608
|
+
NgForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: { options: ["ngFormOptions", "options"] }, outputs: { ngSubmit: "ngSubmit" }, host: { listeners: { "submit": "onSubmit($event)", "reset": "onReset()" } }, providers: [formDirectiveProvider$1], exportAs: ["ngForm"], usesInheritance: true, ngImport: i0 });
|
|
3609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgForm, decorators: [{
|
|
3610
3610
|
type: Directive,
|
|
3611
3611
|
args: [{
|
|
3612
3612
|
selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',
|
|
@@ -3823,9 +3823,9 @@ class AbstractFormGroupDirective extends ControlContainer {
|
|
|
3823
3823
|
/** @internal */
|
|
3824
3824
|
_checkParentType() { }
|
|
3825
3825
|
}
|
|
3826
|
-
AbstractFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3827
|
-
AbstractFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3826
|
+
AbstractFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: AbstractFormGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3827
|
+
AbstractFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: AbstractFormGroupDirective, usesInheritance: true, ngImport: i0 });
|
|
3828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: AbstractFormGroupDirective, decorators: [{
|
|
3829
3829
|
type: Directive
|
|
3830
3830
|
}] });
|
|
3831
3831
|
|
|
@@ -3933,9 +3933,9 @@ class NgModelGroup extends AbstractFormGroupDirective {
|
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
3935
3935
|
}
|
|
3936
|
-
NgModelGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3937
|
-
NgModelGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3936
|
+
NgModelGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgModelGroup, deps: [{ token: ControlContainer, host: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3937
|
+
NgModelGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgModelGroup, selector: "[ngModelGroup]", inputs: { name: ["ngModelGroup", "name"] }, providers: [modelGroupProvider], exportAs: ["ngModelGroup"], usesInheritance: true, ngImport: i0 });
|
|
3938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgModelGroup, decorators: [{
|
|
3939
3939
|
type: Directive,
|
|
3940
3940
|
args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' }]
|
|
3941
3941
|
}], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{
|
|
@@ -4213,9 +4213,9 @@ class NgModel extends NgControl {
|
|
|
4213
4213
|
return this._parent ? controlPath(controlName, this._parent) : [controlName];
|
|
4214
4214
|
}
|
|
4215
4215
|
}
|
|
4216
|
-
NgModel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4217
|
-
NgModel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4216
|
+
NgModel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgModel, deps: [{ token: ControlContainer, host: true, optional: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: ChangeDetectorRef, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4217
|
+
NgModel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: { name: "name", isDisabled: ["disabled", "isDisabled"], model: ["ngModel", "model"], options: ["ngModelOptions", "options"] }, outputs: { update: "ngModelChange" }, providers: [formControlBinding$1], exportAs: ["ngModel"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
4218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgModel, decorators: [{
|
|
4219
4219
|
type: Directive,
|
|
4220
4220
|
args: [{
|
|
4221
4221
|
selector: '[ngModel]:not([formControlName]):not([formControl])',
|
|
@@ -4299,9 +4299,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0",
|
|
|
4299
4299
|
*/
|
|
4300
4300
|
class ɵNgNoValidate {
|
|
4301
4301
|
}
|
|
4302
|
-
ɵNgNoValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4303
|
-
ɵNgNoValidate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4302
|
+
ɵNgNoValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵNgNoValidate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4303
|
+
ɵNgNoValidate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])", host: { attributes: { "novalidate": "" } }, ngImport: i0 });
|
|
4304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵNgNoValidate, decorators: [{
|
|
4305
4305
|
type: Directive,
|
|
4306
4306
|
args: [{
|
|
4307
4307
|
selector: 'form:not([ngNoForm]):not([ngNativeValidate])',
|
|
@@ -4365,9 +4365,9 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4365
4365
|
};
|
|
4366
4366
|
}
|
|
4367
4367
|
}
|
|
4368
|
-
NumberValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4369
|
-
NumberValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4368
|
+
NumberValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NumberValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4369
|
+
NumberValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]", host: { listeners: { "input": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [NUMBER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
4370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NumberValueAccessor, decorators: [{
|
|
4371
4371
|
type: Directive,
|
|
4372
4372
|
args: [{
|
|
4373
4373
|
selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',
|
|
@@ -4402,10 +4402,10 @@ function throwNameError() {
|
|
|
4402
4402
|
*/
|
|
4403
4403
|
class RadioControlRegistryModule {
|
|
4404
4404
|
}
|
|
4405
|
-
RadioControlRegistryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4406
|
-
RadioControlRegistryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4407
|
-
RadioControlRegistryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4405
|
+
RadioControlRegistryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4406
|
+
RadioControlRegistryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistryModule });
|
|
4407
|
+
RadioControlRegistryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistryModule });
|
|
4408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistryModule, decorators: [{
|
|
4409
4409
|
type: NgModule
|
|
4410
4410
|
}] });
|
|
4411
4411
|
/**
|
|
@@ -4453,9 +4453,9 @@ class RadioControlRegistry {
|
|
|
4453
4453
|
controlPair[1].name === accessor.name;
|
|
4454
4454
|
}
|
|
4455
4455
|
}
|
|
4456
|
-
RadioControlRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4457
|
-
RadioControlRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4456
|
+
RadioControlRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4457
|
+
RadioControlRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistry, providedIn: RadioControlRegistryModule });
|
|
4458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlRegistry, decorators: [{
|
|
4459
4459
|
type: Injectable,
|
|
4460
4460
|
args: [{ providedIn: RadioControlRegistryModule }]
|
|
4461
4461
|
}] });
|
|
@@ -4539,9 +4539,9 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4539
4539
|
this.name = this.formControlName;
|
|
4540
4540
|
}
|
|
4541
4541
|
}
|
|
4542
|
-
RadioControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4543
|
-
RadioControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4542
|
+
RadioControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RadioControlRegistry }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4543
|
+
RadioControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: { name: "name", formControlName: "formControlName", value: "value" }, host: { listeners: { "change": "onChange()", "blur": "onTouched()" } }, providers: [RADIO_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
4544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RadioControlValueAccessor, decorators: [{
|
|
4545
4545
|
type: Directive,
|
|
4546
4546
|
args: [{
|
|
4547
4547
|
selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
|
|
@@ -4610,9 +4610,9 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4610
4610
|
};
|
|
4611
4611
|
}
|
|
4612
4612
|
}
|
|
4613
|
-
RangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4614
|
-
RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4613
|
+
RangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RangeValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4614
|
+
RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]", host: { listeners: { "change": "onChange($event.target.value)", "input": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [RANGE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
4615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RangeValueAccessor, decorators: [{
|
|
4616
4616
|
type: Directive,
|
|
4617
4617
|
args: [{
|
|
4618
4618
|
selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',
|
|
@@ -4663,6 +4663,15 @@ const formControlBinding = {
|
|
|
4663
4663
|
* @publicApi
|
|
4664
4664
|
*/
|
|
4665
4665
|
class FormControlDirective extends NgControl {
|
|
4666
|
+
/**
|
|
4667
|
+
* @description
|
|
4668
|
+
* Triggers a warning in dev mode that this input should not be used with reactive forms.
|
|
4669
|
+
*/
|
|
4670
|
+
set isDisabled(isDisabled) {
|
|
4671
|
+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
4672
|
+
console.warn(disabledAttrWarning);
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4666
4675
|
constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig, callSetDisabledState) {
|
|
4667
4676
|
super();
|
|
4668
4677
|
this._ngModelWarningConfig = _ngModelWarningConfig;
|
|
@@ -4681,15 +4690,6 @@ class FormControlDirective extends NgControl {
|
|
|
4681
4690
|
this._setAsyncValidators(asyncValidators);
|
|
4682
4691
|
this.valueAccessor = selectValueAccessor(this, valueAccessors);
|
|
4683
4692
|
}
|
|
4684
|
-
/**
|
|
4685
|
-
* @description
|
|
4686
|
-
* Triggers a warning in dev mode that this input should not be used with reactive forms.
|
|
4687
|
-
*/
|
|
4688
|
-
set isDisabled(isDisabled) {
|
|
4689
|
-
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
4690
|
-
console.warn(disabledAttrWarning);
|
|
4691
|
-
}
|
|
4692
|
-
}
|
|
4693
4693
|
/** @nodoc */
|
|
4694
4694
|
ngOnChanges(changes) {
|
|
4695
4695
|
if (this._isControlChanged(changes)) {
|
|
@@ -4751,9 +4751,9 @@ class FormControlDirective extends NgControl {
|
|
|
4751
4751
|
* @internal
|
|
4752
4752
|
*/
|
|
4753
4753
|
FormControlDirective._ngModelWarningSentOnce = false;
|
|
4754
|
-
FormControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4755
|
-
FormControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4754
|
+
FormControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormControlDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4755
|
+
FormControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: FormControlDirective, selector: "[formControl]", inputs: { form: ["formControl", "form"], isDisabled: ["disabled", "isDisabled"], model: ["ngModel", "model"] }, outputs: { update: "ngModelChange" }, providers: [formControlBinding], exportAs: ["ngForm"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
4756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormControlDirective, decorators: [{
|
|
4757
4757
|
type: Directive,
|
|
4758
4758
|
args: [{ selector: '[formControl]', providers: [formControlBinding], exportAs: 'ngForm' }]
|
|
4759
4759
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -5104,9 +5104,9 @@ class FormGroupDirective extends ControlContainer {
|
|
|
5104
5104
|
}
|
|
5105
5105
|
}
|
|
5106
5106
|
}
|
|
5107
|
-
FormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5108
|
-
FormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5107
|
+
FormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormGroupDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5108
|
+
FormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: FormGroupDirective, selector: "[formGroup]", inputs: { form: ["formGroup", "form"] }, outputs: { ngSubmit: "ngSubmit" }, host: { listeners: { "submit": "onSubmit($event)", "reset": "onReset()" } }, providers: [formDirectiveProvider], exportAs: ["ngForm"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormGroupDirective, decorators: [{
|
|
5110
5110
|
type: Directive,
|
|
5111
5111
|
args: [{
|
|
5112
5112
|
selector: '[formGroup]',
|
|
@@ -5212,9 +5212,9 @@ class FormGroupName extends AbstractFormGroupDirective {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
}
|
|
5214
5214
|
}
|
|
5215
|
-
FormGroupName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5216
|
-
FormGroupName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5215
|
+
FormGroupName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormGroupName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5216
|
+
FormGroupName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: FormGroupName, selector: "[formGroupName]", inputs: { name: ["formGroupName", "name"] }, providers: [formGroupNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormGroupName, decorators: [{
|
|
5218
5218
|
type: Directive,
|
|
5219
5219
|
args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] }]
|
|
5220
5220
|
}], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{
|
|
@@ -5322,9 +5322,9 @@ class FormArrayName extends ControlContainer {
|
|
|
5322
5322
|
}
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
5325
|
-
FormArrayName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5326
|
-
FormArrayName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5325
|
+
FormArrayName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormArrayName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5326
|
+
FormArrayName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: FormArrayName, selector: "[formArrayName]", inputs: { name: ["formArrayName", "name"] }, providers: [formArrayNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormArrayName, decorators: [{
|
|
5328
5328
|
type: Directive,
|
|
5329
5329
|
args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] }]
|
|
5330
5330
|
}], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{
|
|
@@ -5402,6 +5402,15 @@ const controlNameBinding = {
|
|
|
5402
5402
|
* @publicApi
|
|
5403
5403
|
*/
|
|
5404
5404
|
class FormControlName extends NgControl {
|
|
5405
|
+
/**
|
|
5406
|
+
* @description
|
|
5407
|
+
* Triggers a warning in dev mode that this input should not be used with reactive forms.
|
|
5408
|
+
*/
|
|
5409
|
+
set isDisabled(isDisabled) {
|
|
5410
|
+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
5411
|
+
console.warn(disabledAttrWarning);
|
|
5412
|
+
}
|
|
5413
|
+
}
|
|
5405
5414
|
constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {
|
|
5406
5415
|
super();
|
|
5407
5416
|
this._ngModelWarningConfig = _ngModelWarningConfig;
|
|
@@ -5421,15 +5430,6 @@ class FormControlName extends NgControl {
|
|
|
5421
5430
|
this._setAsyncValidators(asyncValidators);
|
|
5422
5431
|
this.valueAccessor = selectValueAccessor(this, valueAccessors);
|
|
5423
5432
|
}
|
|
5424
|
-
/**
|
|
5425
|
-
* @description
|
|
5426
|
-
* Triggers a warning in dev mode that this input should not be used with reactive forms.
|
|
5427
|
-
*/
|
|
5428
|
-
set isDisabled(isDisabled) {
|
|
5429
|
-
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
5430
|
-
console.warn(disabledAttrWarning);
|
|
5431
|
-
}
|
|
5432
|
-
}
|
|
5433
5433
|
/** @nodoc */
|
|
5434
5434
|
ngOnChanges(changes) {
|
|
5435
5435
|
if (!this._added)
|
|
@@ -5500,9 +5500,9 @@ class FormControlName extends NgControl {
|
|
|
5500
5500
|
* @internal
|
|
5501
5501
|
*/
|
|
5502
5502
|
FormControlName._ngModelWarningSentOnce = false;
|
|
5503
|
-
FormControlName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5504
|
-
FormControlName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5503
|
+
FormControlName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormControlName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5504
|
+
FormControlName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: FormControlName, selector: "[formControlName]", inputs: { name: ["formControlName", "name"], isDisabled: ["disabled", "isDisabled"], model: ["ngModel", "model"] }, outputs: { update: "ngModelChange" }, providers: [controlNameBinding], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormControlName, decorators: [{
|
|
5506
5506
|
type: Directive,
|
|
5507
5507
|
args: [{ selector: '[formControlName]', providers: [controlNameBinding] }]
|
|
5508
5508
|
}], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{
|
|
@@ -5687,9 +5687,9 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
5687
5687
|
return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;
|
|
5688
5688
|
}
|
|
5689
5689
|
}
|
|
5690
|
-
SelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5691
|
-
SelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5690
|
+
SelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: SelectControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5691
|
+
SelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: { compareWith: "compareWith" }, host: { listeners: { "change": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [SELECT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
5692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: SelectControlValueAccessor, decorators: [{
|
|
5693
5693
|
type: Directive,
|
|
5694
5694
|
args: [{
|
|
5695
5695
|
selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',
|
|
@@ -5751,9 +5751,9 @@ class NgSelectOption {
|
|
|
5751
5751
|
}
|
|
5752
5752
|
}
|
|
5753
5753
|
}
|
|
5754
|
-
NgSelectOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5755
|
-
NgSelectOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5754
|
+
NgSelectOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgSelectOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5755
|
+
NgSelectOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: NgSelectOption, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
5756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NgSelectOption, decorators: [{
|
|
5757
5757
|
type: Directive,
|
|
5758
5758
|
args: [{ selector: 'option' }]
|
|
5759
5759
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectControlValueAccessor, decorators: [{
|
|
@@ -5925,9 +5925,9 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
5925
5925
|
return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;
|
|
5926
5926
|
}
|
|
5927
5927
|
}
|
|
5928
|
-
SelectMultipleControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5929
|
-
SelectMultipleControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5928
|
+
SelectMultipleControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: SelectMultipleControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5929
|
+
SelectMultipleControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: SelectMultipleControlValueAccessor, selector: "select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]", inputs: { compareWith: "compareWith" }, host: { listeners: { "change": "onChange($event.target)", "blur": "onTouched()" } }, providers: [SELECT_MULTIPLE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });
|
|
5930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: SelectMultipleControlValueAccessor, decorators: [{
|
|
5931
5931
|
type: Directive,
|
|
5932
5932
|
args: [{
|
|
5933
5933
|
selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',
|
|
@@ -5999,9 +5999,9 @@ class ɵNgSelectMultipleOption {
|
|
|
5999
5999
|
}
|
|
6000
6000
|
}
|
|
6001
6001
|
}
|
|
6002
|
-
ɵNgSelectMultipleOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6003
|
-
ɵNgSelectMultipleOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6002
|
+
ɵNgSelectMultipleOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵNgSelectMultipleOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectMultipleControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6003
|
+
ɵNgSelectMultipleOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: ɵNgSelectMultipleOption, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
6004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵNgSelectMultipleOption, decorators: [{
|
|
6005
6005
|
type: Directive,
|
|
6006
6006
|
args: [{ selector: 'option' }]
|
|
6007
6007
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectMultipleControlValueAccessor, decorators: [{
|
|
@@ -6081,9 +6081,9 @@ class AbstractValidatorDirective {
|
|
|
6081
6081
|
return input != null /* both `null` and `undefined` */;
|
|
6082
6082
|
}
|
|
6083
6083
|
}
|
|
6084
|
-
AbstractValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6085
|
-
AbstractValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6084
|
+
AbstractValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: AbstractValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6085
|
+
AbstractValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: AbstractValidatorDirective, usesOnChanges: true, ngImport: i0 });
|
|
6086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: AbstractValidatorDirective, decorators: [{
|
|
6087
6087
|
type: Directive
|
|
6088
6088
|
}] });
|
|
6089
6089
|
/**
|
|
@@ -6127,9 +6127,9 @@ class MaxValidator extends AbstractValidatorDirective {
|
|
|
6127
6127
|
this.createValidator = (max) => maxValidator(max);
|
|
6128
6128
|
}
|
|
6129
6129
|
}
|
|
6130
|
-
MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6131
|
-
MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6130
|
+
MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6131
|
+
MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: { max: "max" }, host: { properties: { "attr.max": "_enabled ? max : null" } }, providers: [MAX_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MaxValidator, decorators: [{
|
|
6133
6133
|
type: Directive,
|
|
6134
6134
|
args: [{
|
|
6135
6135
|
selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',
|
|
@@ -6180,9 +6180,9 @@ class MinValidator extends AbstractValidatorDirective {
|
|
|
6180
6180
|
this.createValidator = (min) => minValidator(min);
|
|
6181
6181
|
}
|
|
6182
6182
|
}
|
|
6183
|
-
MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6184
|
-
MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6183
|
+
MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6184
|
+
MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: { min: "min" }, host: { properties: { "attr.min": "_enabled ? min : null" } }, providers: [MIN_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MinValidator, decorators: [{
|
|
6186
6186
|
type: Directive,
|
|
6187
6187
|
args: [{
|
|
6188
6188
|
selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',
|
|
@@ -6244,9 +6244,9 @@ class RequiredValidator extends AbstractValidatorDirective {
|
|
|
6244
6244
|
return input;
|
|
6245
6245
|
}
|
|
6246
6246
|
}
|
|
6247
|
-
RequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6248
|
-
RequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6247
|
+
RequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6248
|
+
RequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: { required: "required" }, host: { properties: { "attr.required": "_enabled ? \"\" : null" } }, providers: [REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: RequiredValidator, decorators: [{
|
|
6250
6250
|
type: Directive,
|
|
6251
6251
|
args: [{
|
|
6252
6252
|
selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',
|
|
@@ -6284,9 +6284,9 @@ class CheckboxRequiredValidator extends RequiredValidator {
|
|
|
6284
6284
|
this.createValidator = (input) => requiredTrueValidator;
|
|
6285
6285
|
}
|
|
6286
6286
|
}
|
|
6287
|
-
CheckboxRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6288
|
-
CheckboxRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6287
|
+
CheckboxRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: CheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6288
|
+
CheckboxRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]", host: { properties: { "attr.required": "_enabled ? \"\" : null" } }, providers: [CHECKBOX_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: CheckboxRequiredValidator, decorators: [{
|
|
6290
6290
|
type: Directive,
|
|
6291
6291
|
args: [{
|
|
6292
6292
|
selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',
|
|
@@ -6345,9 +6345,9 @@ class EmailValidator extends AbstractValidatorDirective {
|
|
|
6345
6345
|
return input;
|
|
6346
6346
|
}
|
|
6347
6347
|
}
|
|
6348
|
-
EmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6349
|
-
EmailValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6348
|
+
EmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: EmailValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6349
|
+
EmailValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: EmailValidator, selector: "[email][formControlName],[email][formControl],[email][ngModel]", inputs: { email: "email" }, providers: [EMAIL_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: EmailValidator, decorators: [{
|
|
6351
6351
|
type: Directive,
|
|
6352
6352
|
args: [{
|
|
6353
6353
|
selector: '[email][formControlName],[email][formControl],[email][ngModel]',
|
|
@@ -6397,9 +6397,9 @@ class MinLengthValidator extends AbstractValidatorDirective {
|
|
|
6397
6397
|
this.createValidator = (minlength) => minLengthValidator(minlength);
|
|
6398
6398
|
}
|
|
6399
6399
|
}
|
|
6400
|
-
MinLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6401
|
-
MinLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6400
|
+
MinLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MinLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6401
|
+
MinLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: { minlength: "minlength" }, host: { properties: { "attr.minlength": "_enabled ? minlength : null" } }, providers: [MIN_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MinLengthValidator, decorators: [{
|
|
6403
6403
|
type: Directive,
|
|
6404
6404
|
args: [{
|
|
6405
6405
|
selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
|
|
@@ -6450,9 +6450,9 @@ class MaxLengthValidator extends AbstractValidatorDirective {
|
|
|
6450
6450
|
this.createValidator = (maxlength) => maxLengthValidator(maxlength);
|
|
6451
6451
|
}
|
|
6452
6452
|
}
|
|
6453
|
-
MaxLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6454
|
-
MaxLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6453
|
+
MaxLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MaxLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6454
|
+
MaxLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: { maxlength: "maxlength" }, host: { properties: { "attr.maxlength": "_enabled ? maxlength : null" } }, providers: [MAX_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: MaxLengthValidator, decorators: [{
|
|
6456
6456
|
type: Directive,
|
|
6457
6457
|
args: [{
|
|
6458
6458
|
selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
|
|
@@ -6505,9 +6505,9 @@ class PatternValidator extends AbstractValidatorDirective {
|
|
|
6505
6505
|
this.createValidator = (input) => patternValidator(input);
|
|
6506
6506
|
}
|
|
6507
6507
|
}
|
|
6508
|
-
PatternValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6509
|
-
PatternValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6508
|
+
PatternValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: PatternValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6509
|
+
PatternValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.2", type: PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: { pattern: "pattern" }, host: { properties: { "attr.pattern": "_enabled ? pattern : null" } }, providers: [PATTERN_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: PatternValidator, decorators: [{
|
|
6511
6511
|
type: Directive,
|
|
6512
6512
|
args: [{
|
|
6513
6513
|
selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',
|
|
@@ -6554,8 +6554,8 @@ const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, Fo
|
|
|
6554
6554
|
*/
|
|
6555
6555
|
class ɵInternalFormsSharedModule {
|
|
6556
6556
|
}
|
|
6557
|
-
ɵInternalFormsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6558
|
-
ɵInternalFormsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6557
|
+
ɵInternalFormsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6558
|
+
ɵInternalFormsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, declarations: [ɵNgNoValidate,
|
|
6559
6559
|
NgSelectOption,
|
|
6560
6560
|
ɵNgSelectMultipleOption,
|
|
6561
6561
|
DefaultValueAccessor,
|
|
@@ -6594,8 +6594,8 @@ class ɵInternalFormsSharedModule {
|
|
|
6594
6594
|
EmailValidator,
|
|
6595
6595
|
MinValidator,
|
|
6596
6596
|
MaxValidator] });
|
|
6597
|
-
ɵInternalFormsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6597
|
+
ɵInternalFormsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, imports: [RadioControlRegistryModule] });
|
|
6598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, decorators: [{
|
|
6599
6599
|
type: NgModule,
|
|
6600
6600
|
args: [{
|
|
6601
6601
|
declarations: SHARED_FORM_DIRECTIVES,
|
|
@@ -6604,105 +6604,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0",
|
|
|
6604
6604
|
}]
|
|
6605
6605
|
}] });
|
|
6606
6606
|
|
|
6607
|
-
/**
|
|
6608
|
-
* @license
|
|
6609
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6610
|
-
*
|
|
6611
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6612
|
-
* found in the LICENSE file at https://angular.io/license
|
|
6613
|
-
*/
|
|
6614
|
-
/**
|
|
6615
|
-
* Exports the required providers and directives for template-driven forms,
|
|
6616
|
-
* making them available for import by NgModules that import this module.
|
|
6617
|
-
*
|
|
6618
|
-
* Providers associated with this module:
|
|
6619
|
-
* * `RadioControlRegistry`
|
|
6620
|
-
*
|
|
6621
|
-
* @see [Forms Overview](/guide/forms-overview)
|
|
6622
|
-
* @see [Template-driven Forms Guide](/guide/forms)
|
|
6623
|
-
*
|
|
6624
|
-
* @publicApi
|
|
6625
|
-
*/
|
|
6626
|
-
class FormsModule {
|
|
6627
|
-
/**
|
|
6628
|
-
* @description
|
|
6629
|
-
* Provides options for configuring the forms module.
|
|
6630
|
-
*
|
|
6631
|
-
* @param opts An object of configuration options
|
|
6632
|
-
* * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more
|
|
6633
|
-
* correct, or to only call it `whenDisabled`, which is the legacy behavior.
|
|
6634
|
-
*/
|
|
6635
|
-
static withConfig(opts) {
|
|
6636
|
-
return {
|
|
6637
|
-
ngModule: FormsModule,
|
|
6638
|
-
providers: [{
|
|
6639
|
-
provide: CALL_SET_DISABLED_STATE,
|
|
6640
|
-
useValue: opts.callSetDisabledState ?? setDisabledStateDefault
|
|
6641
|
-
}]
|
|
6642
|
-
};
|
|
6643
|
-
}
|
|
6644
|
-
}
|
|
6645
|
-
FormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6646
|
-
FormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.0", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] });
|
|
6647
|
-
FormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
6648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: FormsModule, decorators: [{
|
|
6649
|
-
type: NgModule,
|
|
6650
|
-
args: [{
|
|
6651
|
-
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
|
6652
|
-
exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]
|
|
6653
|
-
}]
|
|
6654
|
-
}] });
|
|
6655
|
-
/**
|
|
6656
|
-
* Exports the required infrastructure and directives for reactive forms,
|
|
6657
|
-
* making them available for import by NgModules that import this module.
|
|
6658
|
-
*
|
|
6659
|
-
* Providers associated with this module:
|
|
6660
|
-
* * `FormBuilder`
|
|
6661
|
-
* * `RadioControlRegistry`
|
|
6662
|
-
*
|
|
6663
|
-
* @see [Forms Overview](guide/forms-overview)
|
|
6664
|
-
* @see [Reactive Forms Guide](guide/reactive-forms)
|
|
6665
|
-
*
|
|
6666
|
-
* @publicApi
|
|
6667
|
-
*/
|
|
6668
|
-
class ReactiveFormsModule {
|
|
6669
|
-
/**
|
|
6670
|
-
* @description
|
|
6671
|
-
* Provides options for configuring the reactive forms module.
|
|
6672
|
-
*
|
|
6673
|
-
* @param opts An object of configuration options
|
|
6674
|
-
* * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`
|
|
6675
|
-
* binding is used with reactive form directives.
|
|
6676
|
-
* * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more
|
|
6677
|
-
* correct, or to only call it `whenDisabled`, which is the legacy behavior.
|
|
6678
|
-
*/
|
|
6679
|
-
static withConfig(opts) {
|
|
6680
|
-
return {
|
|
6681
|
-
ngModule: ReactiveFormsModule,
|
|
6682
|
-
providers: [
|
|
6683
|
-
{
|
|
6684
|
-
provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,
|
|
6685
|
-
useValue: opts.warnOnNgModelWithFormControl ?? 'always'
|
|
6686
|
-
},
|
|
6687
|
-
{
|
|
6688
|
-
provide: CALL_SET_DISABLED_STATE,
|
|
6689
|
-
useValue: opts.callSetDisabledState ?? setDisabledStateDefault
|
|
6690
|
-
}
|
|
6691
|
-
]
|
|
6692
|
-
};
|
|
6693
|
-
}
|
|
6694
|
-
}
|
|
6695
|
-
ReactiveFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6696
|
-
ReactiveFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.0", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] });
|
|
6697
|
-
ReactiveFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
6698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0", ngImport: i0, type: ReactiveFormsModule, decorators: [{
|
|
6699
|
-
type: NgModule,
|
|
6700
|
-
args: [{
|
|
6701
|
-
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|
|
6702
|
-
exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]
|
|
6703
|
-
}]
|
|
6704
|
-
}] });
|
|
6705
|
-
|
|
6706
6607
|
/**
|
|
6707
6608
|
* @license
|
|
6708
6609
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -7362,11 +7263,11 @@ class FormBuilder {
|
|
|
7362
7263
|
}
|
|
7363
7264
|
}
|
|
7364
7265
|
}
|
|
7365
|
-
FormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7366
|
-
FormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7266
|
+
FormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7267
|
+
FormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormBuilder, providedIn: 'root' });
|
|
7268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormBuilder, decorators: [{
|
|
7368
7269
|
type: Injectable,
|
|
7369
|
-
args: [{ providedIn:
|
|
7270
|
+
args: [{ providedIn: 'root' }]
|
|
7370
7271
|
}] });
|
|
7371
7272
|
/**
|
|
7372
7273
|
* @description
|
|
@@ -7377,12 +7278,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0",
|
|
|
7377
7278
|
*/
|
|
7378
7279
|
class NonNullableFormBuilder {
|
|
7379
7280
|
}
|
|
7380
|
-
NonNullableFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7381
|
-
NonNullableFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7281
|
+
NonNullableFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NonNullableFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7282
|
+
NonNullableFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NonNullableFormBuilder, providedIn: 'root', useFactory: () => inject(FormBuilder).nonNullable });
|
|
7283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NonNullableFormBuilder, decorators: [{
|
|
7383
7284
|
type: Injectable,
|
|
7384
7285
|
args: [{
|
|
7385
|
-
providedIn:
|
|
7286
|
+
providedIn: 'root',
|
|
7386
7287
|
useFactory: () => inject(FormBuilder).nonNullable,
|
|
7387
7288
|
}]
|
|
7388
7289
|
}] });
|
|
@@ -7406,11 +7307,11 @@ class UntypedFormBuilder extends FormBuilder {
|
|
|
7406
7307
|
return super.array(controlsConfig, validatorOrOpts, asyncValidator);
|
|
7407
7308
|
}
|
|
7408
7309
|
}
|
|
7409
|
-
UntypedFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7410
|
-
UntypedFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
7310
|
+
UntypedFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: UntypedFormBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
7311
|
+
UntypedFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: UntypedFormBuilder, providedIn: 'root' });
|
|
7312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: UntypedFormBuilder, decorators: [{
|
|
7412
7313
|
type: Injectable,
|
|
7413
|
-
args: [{ providedIn:
|
|
7314
|
+
args: [{ providedIn: 'root' }]
|
|
7414
7315
|
}] });
|
|
7415
7316
|
|
|
7416
7317
|
/**
|
|
@@ -7423,7 +7324,106 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.0",
|
|
|
7423
7324
|
/**
|
|
7424
7325
|
* @publicApi
|
|
7425
7326
|
*/
|
|
7426
|
-
const VERSION = new Version('15.1.0-next.
|
|
7327
|
+
const VERSION = new Version('15.1.0-next.2');
|
|
7328
|
+
|
|
7329
|
+
/**
|
|
7330
|
+
* @license
|
|
7331
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7332
|
+
*
|
|
7333
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7334
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7335
|
+
*/
|
|
7336
|
+
/**
|
|
7337
|
+
* Exports the required providers and directives for template-driven forms,
|
|
7338
|
+
* making them available for import by NgModules that import this module.
|
|
7339
|
+
*
|
|
7340
|
+
* Providers associated with this module:
|
|
7341
|
+
* * `RadioControlRegistry`
|
|
7342
|
+
*
|
|
7343
|
+
* @see [Forms Overview](/guide/forms-overview)
|
|
7344
|
+
* @see [Template-driven Forms Guide](/guide/forms)
|
|
7345
|
+
*
|
|
7346
|
+
* @publicApi
|
|
7347
|
+
*/
|
|
7348
|
+
class FormsModule {
|
|
7349
|
+
/**
|
|
7350
|
+
* @description
|
|
7351
|
+
* Provides options for configuring the forms module.
|
|
7352
|
+
*
|
|
7353
|
+
* @param opts An object of configuration options
|
|
7354
|
+
* * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more
|
|
7355
|
+
* correct, or to only call it `whenDisabled`, which is the legacy behavior.
|
|
7356
|
+
*/
|
|
7357
|
+
static withConfig(opts) {
|
|
7358
|
+
return {
|
|
7359
|
+
ngModule: FormsModule,
|
|
7360
|
+
providers: [{
|
|
7361
|
+
provide: CALL_SET_DISABLED_STATE,
|
|
7362
|
+
useValue: opts.callSetDisabledState ?? setDisabledStateDefault
|
|
7363
|
+
}]
|
|
7364
|
+
};
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
7367
|
+
FormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7368
|
+
FormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] });
|
|
7369
|
+
FormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: FormsModule, decorators: [{
|
|
7371
|
+
type: NgModule,
|
|
7372
|
+
args: [{
|
|
7373
|
+
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
|
7374
|
+
exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]
|
|
7375
|
+
}]
|
|
7376
|
+
}] });
|
|
7377
|
+
/**
|
|
7378
|
+
* Exports the required infrastructure and directives for reactive forms,
|
|
7379
|
+
* making them available for import by NgModules that import this module.
|
|
7380
|
+
*
|
|
7381
|
+
* Providers associated with this module:
|
|
7382
|
+
* * `FormBuilder`
|
|
7383
|
+
* * `RadioControlRegistry`
|
|
7384
|
+
*
|
|
7385
|
+
* @see [Forms Overview](guide/forms-overview)
|
|
7386
|
+
* @see [Reactive Forms Guide](guide/reactive-forms)
|
|
7387
|
+
*
|
|
7388
|
+
* @publicApi
|
|
7389
|
+
*/
|
|
7390
|
+
class ReactiveFormsModule {
|
|
7391
|
+
/**
|
|
7392
|
+
* @description
|
|
7393
|
+
* Provides options for configuring the reactive forms module.
|
|
7394
|
+
*
|
|
7395
|
+
* @param opts An object of configuration options
|
|
7396
|
+
* * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`
|
|
7397
|
+
* binding is used with reactive form directives.
|
|
7398
|
+
* * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more
|
|
7399
|
+
* correct, or to only call it `whenDisabled`, which is the legacy behavior.
|
|
7400
|
+
*/
|
|
7401
|
+
static withConfig(opts) {
|
|
7402
|
+
return {
|
|
7403
|
+
ngModule: ReactiveFormsModule,
|
|
7404
|
+
providers: [
|
|
7405
|
+
{
|
|
7406
|
+
provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,
|
|
7407
|
+
useValue: opts.warnOnNgModelWithFormControl ?? 'always'
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
provide: CALL_SET_DISABLED_STATE,
|
|
7411
|
+
useValue: opts.callSetDisabledState ?? setDisabledStateDefault
|
|
7412
|
+
}
|
|
7413
|
+
]
|
|
7414
|
+
};
|
|
7415
|
+
}
|
|
7416
|
+
}
|
|
7417
|
+
ReactiveFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7418
|
+
ReactiveFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.2", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] });
|
|
7419
|
+
ReactiveFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: ReactiveFormsModule, decorators: [{
|
|
7421
|
+
type: NgModule,
|
|
7422
|
+
args: [{
|
|
7423
|
+
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|
|
7424
|
+
exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]
|
|
7425
|
+
}]
|
|
7426
|
+
}] });
|
|
7427
7427
|
|
|
7428
7428
|
/**
|
|
7429
7429
|
* @license
|