@angular/forms 15.1.0-next.3 → 15.1.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/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 +3 -3
- package/esm2020/src/directives/reactive_directives/form_control_name.mjs +3 -3
- 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 +9 -9
- package/esm2020/src/form_providers.mjs +8 -8
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/forms.mjs +140 -392
- package/fesm2015/forms.mjs.map +1 -1
- package/fesm2020/forms.mjs +140 -392
- package/fesm2020/forms.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
package/fesm2015/forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-
|
|
2
|
+
* @license Angular v15.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -10,13 +10,6 @@ import { ɵgetDOM } from '@angular/common';
|
|
|
10
10
|
import { from, forkJoin } from 'rxjs';
|
|
11
11
|
import { map } from 'rxjs/operators';
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* @license
|
|
15
|
-
* Copyright Google LLC All Rights Reserved.
|
|
16
|
-
*
|
|
17
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
18
|
-
* found in the LICENSE file at https://angular.io/license
|
|
19
|
-
*/
|
|
20
13
|
/**
|
|
21
14
|
* Base class for all ControlValueAccessor classes defined in Forms package.
|
|
22
15
|
* Contains common logic and utility functions.
|
|
@@ -70,9 +63,9 @@ class BaseControlValueAccessor {
|
|
|
70
63
|
this.setProperty('disabled', isDisabled);
|
|
71
64
|
}
|
|
72
65
|
}
|
|
73
|
-
BaseControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
74
|
-
BaseControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
66
|
+
BaseControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: BaseControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
+
BaseControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: BaseControlValueAccessor, ngImport: i0 });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: BaseControlValueAccessor, decorators: [{
|
|
76
69
|
type: Directive
|
|
77
70
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
|
|
78
71
|
/**
|
|
@@ -86,9 +79,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
86
79
|
*/
|
|
87
80
|
class BuiltInControlValueAccessor extends BaseControlValueAccessor {
|
|
88
81
|
}
|
|
89
|
-
BuiltInControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
90
|
-
BuiltInControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
82
|
+
BuiltInControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: BuiltInControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
+
BuiltInControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: BuiltInControlValueAccessor, usesInheritance: true, ngImport: i0 });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: BuiltInControlValueAccessor, decorators: [{
|
|
92
85
|
type: Directive
|
|
93
86
|
}] });
|
|
94
87
|
/**
|
|
@@ -100,13 +93,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
100
93
|
*/
|
|
101
94
|
const NG_VALUE_ACCESSOR = new InjectionToken('NgValueAccessor');
|
|
102
95
|
|
|
103
|
-
/**
|
|
104
|
-
* @license
|
|
105
|
-
* Copyright Google LLC All Rights Reserved.
|
|
106
|
-
*
|
|
107
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
108
|
-
* found in the LICENSE file at https://angular.io/license
|
|
109
|
-
*/
|
|
110
96
|
const CHECKBOX_VALUE_ACCESSOR = {
|
|
111
97
|
provide: NG_VALUE_ACCESSOR,
|
|
112
98
|
useExisting: forwardRef(() => CheckboxControlValueAccessor),
|
|
@@ -144,9 +130,9 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
144
130
|
this.setProperty('checked', value);
|
|
145
131
|
}
|
|
146
132
|
}
|
|
147
|
-
CheckboxControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
148
|
-
CheckboxControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
133
|
+
CheckboxControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CheckboxControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
134
|
+
CheckboxControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CheckboxControlValueAccessor, decorators: [{
|
|
150
136
|
type: Directive,
|
|
151
137
|
args: [{
|
|
152
138
|
selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',
|
|
@@ -155,13 +141,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
155
141
|
}]
|
|
156
142
|
}] });
|
|
157
143
|
|
|
158
|
-
/**
|
|
159
|
-
* @license
|
|
160
|
-
* Copyright Google LLC All Rights Reserved.
|
|
161
|
-
*
|
|
162
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
163
|
-
* found in the LICENSE file at https://angular.io/license
|
|
164
|
-
*/
|
|
165
144
|
const DEFAULT_VALUE_ACCESSOR = {
|
|
166
145
|
provide: NG_VALUE_ACCESSOR,
|
|
167
146
|
useExisting: forwardRef(() => DefaultValueAccessor),
|
|
@@ -251,9 +230,9 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
|
|
|
251
230
|
this._compositionMode && this.onChange(value);
|
|
252
231
|
}
|
|
253
232
|
}
|
|
254
|
-
DefaultValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
255
|
-
DefaultValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
233
|
+
DefaultValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: DefaultValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: COMPOSITION_BUFFER_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
234
|
+
DefaultValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: DefaultValueAccessor, decorators: [{
|
|
257
236
|
type: Directive,
|
|
258
237
|
args: [{
|
|
259
238
|
selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',
|
|
@@ -277,13 +256,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
277
256
|
}] }];
|
|
278
257
|
} });
|
|
279
258
|
|
|
280
|
-
/**
|
|
281
|
-
* @license
|
|
282
|
-
* Copyright Google LLC All Rights Reserved.
|
|
283
|
-
*
|
|
284
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
285
|
-
* found in the LICENSE file at https://angular.io/license
|
|
286
|
-
*/
|
|
287
259
|
const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
|
288
260
|
function isEmptyInputValue(value) {
|
|
289
261
|
/**
|
|
@@ -955,13 +927,6 @@ function removeValidators(validators, currentValidators) {
|
|
|
955
927
|
return makeValidatorsArray(currentValidators).filter(v => !hasValidator(validators, v));
|
|
956
928
|
}
|
|
957
929
|
|
|
958
|
-
/**
|
|
959
|
-
* @license
|
|
960
|
-
* Copyright Google LLC All Rights Reserved.
|
|
961
|
-
*
|
|
962
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
963
|
-
* found in the LICENSE file at https://angular.io/license
|
|
964
|
-
*/
|
|
965
930
|
/**
|
|
966
931
|
* @description
|
|
967
932
|
* Base class for control directives.
|
|
@@ -1233,13 +1198,6 @@ class AbstractControlDirective {
|
|
|
1233
1198
|
}
|
|
1234
1199
|
}
|
|
1235
1200
|
|
|
1236
|
-
/**
|
|
1237
|
-
* @license
|
|
1238
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1239
|
-
*
|
|
1240
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1241
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1242
|
-
*/
|
|
1243
1201
|
/**
|
|
1244
1202
|
* @description
|
|
1245
1203
|
* A base class that all `FormControl`-based directives extend. It binds a `FormControl`
|
|
@@ -1270,13 +1228,6 @@ class NgControl extends AbstractControlDirective {
|
|
|
1270
1228
|
}
|
|
1271
1229
|
}
|
|
1272
1230
|
|
|
1273
|
-
/**
|
|
1274
|
-
* @license
|
|
1275
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1276
|
-
*
|
|
1277
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1278
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1279
|
-
*/
|
|
1280
1231
|
/**
|
|
1281
1232
|
* @description
|
|
1282
1233
|
* A base class for directives that contain multiple registered instances of `NgControl`.
|
|
@@ -1301,13 +1252,6 @@ class ControlContainer extends AbstractControlDirective {
|
|
|
1301
1252
|
}
|
|
1302
1253
|
}
|
|
1303
1254
|
|
|
1304
|
-
/**
|
|
1305
|
-
* @license
|
|
1306
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1307
|
-
*
|
|
1308
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1309
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1310
|
-
*/
|
|
1311
1255
|
// DO NOT REFACTOR!
|
|
1312
1256
|
// Each status is represented by a separate function to make sure that
|
|
1313
1257
|
// advanced Closure Compiler optimizations related to property renaming
|
|
@@ -1389,9 +1333,9 @@ class NgControlStatus extends AbstractControlStatus {
|
|
|
1389
1333
|
super(cd);
|
|
1390
1334
|
}
|
|
1391
1335
|
}
|
|
1392
|
-
NgControlStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1393
|
-
NgControlStatus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1336
|
+
NgControlStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgControlStatus, deps: [{ token: NgControl, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1337
|
+
NgControlStatus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
1338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgControlStatus, decorators: [{
|
|
1395
1339
|
type: Directive,
|
|
1396
1340
|
args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost }]
|
|
1397
1341
|
}], ctorParameters: function () {
|
|
@@ -1416,9 +1360,9 @@ class NgControlStatusGroup extends AbstractControlStatus {
|
|
|
1416
1360
|
super(cd);
|
|
1417
1361
|
}
|
|
1418
1362
|
}
|
|
1419
|
-
NgControlStatusGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1420
|
-
NgControlStatusGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1363
|
+
NgControlStatusGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgControlStatusGroup, deps: [{ token: ControlContainer, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1364
|
+
NgControlStatusGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
1365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgControlStatusGroup, decorators: [{
|
|
1422
1366
|
type: Directive,
|
|
1423
1367
|
args: [{
|
|
1424
1368
|
selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',
|
|
@@ -1432,13 +1376,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
1432
1376
|
}] }];
|
|
1433
1377
|
} });
|
|
1434
1378
|
|
|
1435
|
-
/**
|
|
1436
|
-
* @license
|
|
1437
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1438
|
-
*
|
|
1439
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1440
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1441
|
-
*/
|
|
1442
1379
|
const formControlNameExample = `
|
|
1443
1380
|
<div [formGroup]="myGroup">
|
|
1444
1381
|
<input formControlName="firstName">
|
|
@@ -1489,13 +1426,6 @@ const ngModelWithFormGroupExample = `
|
|
|
1489
1426
|
</div>
|
|
1490
1427
|
`;
|
|
1491
1428
|
|
|
1492
|
-
/**
|
|
1493
|
-
* @license
|
|
1494
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1495
|
-
*
|
|
1496
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1497
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1498
|
-
*/
|
|
1499
1429
|
function controlParentException() {
|
|
1500
1430
|
return new ɵRuntimeError(1050 /* RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT */, `formControlName must be used with a parent formGroup directive. You'll want to add a formGroup
|
|
1501
1431
|
directive and pass it an existing FormGroup instance (you can create one in your class).
|
|
@@ -1597,13 +1527,6 @@ function missingControlValueError(isFormGroup, key) {
|
|
|
1597
1527
|
return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;
|
|
1598
1528
|
}
|
|
1599
1529
|
|
|
1600
|
-
/**
|
|
1601
|
-
* @license
|
|
1602
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1603
|
-
*
|
|
1604
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1605
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1606
|
-
*/
|
|
1607
1530
|
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
|
1608
1531
|
/**
|
|
1609
1532
|
* Reports that a control is valid, meaning that no errors exist in the input value.
|
|
@@ -2533,13 +2456,6 @@ class AbstractControl {
|
|
|
2533
2456
|
}
|
|
2534
2457
|
}
|
|
2535
2458
|
|
|
2536
|
-
/**
|
|
2537
|
-
* @license
|
|
2538
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2539
|
-
*
|
|
2540
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2541
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2542
|
-
*/
|
|
2543
2459
|
/**
|
|
2544
2460
|
* Tracks the value and validity state of a group of `FormControl` instances.
|
|
2545
2461
|
*
|
|
@@ -3004,13 +2920,6 @@ class FormRecord extends FormGroup {
|
|
|
3004
2920
|
*/
|
|
3005
2921
|
const isFormRecord = (control) => control instanceof FormRecord;
|
|
3006
2922
|
|
|
3007
|
-
/**
|
|
3008
|
-
* @license
|
|
3009
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3010
|
-
*
|
|
3011
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3012
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3013
|
-
*/
|
|
3014
2923
|
/**
|
|
3015
2924
|
* Token to provide to allow SetDisabledState to always be called when a CVA is added, regardless of
|
|
3016
2925
|
* whether the control is disabled or enabled.
|
|
@@ -3347,13 +3256,6 @@ function _ngModelWarning(name, type, instance, warningConfig) {
|
|
|
3347
3256
|
}
|
|
3348
3257
|
}
|
|
3349
3258
|
|
|
3350
|
-
/**
|
|
3351
|
-
* @license
|
|
3352
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3353
|
-
*
|
|
3354
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3355
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3356
|
-
*/
|
|
3357
3259
|
const formDirectiveProvider$1 = {
|
|
3358
3260
|
provide: ControlContainer,
|
|
3359
3261
|
useExisting: forwardRef(() => NgForm)
|
|
@@ -3617,9 +3519,9 @@ class NgForm extends ControlContainer {
|
|
|
3617
3519
|
return path.length ? this.form.get(path) : this.form;
|
|
3618
3520
|
}
|
|
3619
3521
|
}
|
|
3620
|
-
NgForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3621
|
-
NgForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
3622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3522
|
+
NgForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
3523
|
+
NgForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
3524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgForm, decorators: [{
|
|
3623
3525
|
type: Directive,
|
|
3624
3526
|
args: [{
|
|
3625
3527
|
selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',
|
|
@@ -3654,26 +3556,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
3654
3556
|
args: ['ngFormOptions']
|
|
3655
3557
|
}] } });
|
|
3656
3558
|
|
|
3657
|
-
/**
|
|
3658
|
-
* @license
|
|
3659
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3660
|
-
*
|
|
3661
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3662
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3663
|
-
*/
|
|
3664
3559
|
function removeListItem(list, el) {
|
|
3665
3560
|
const index = list.indexOf(el);
|
|
3666
3561
|
if (index > -1)
|
|
3667
3562
|
list.splice(index, 1);
|
|
3668
3563
|
}
|
|
3669
3564
|
|
|
3670
|
-
/**
|
|
3671
|
-
* @license
|
|
3672
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3673
|
-
*
|
|
3674
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3675
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3676
|
-
*/
|
|
3677
3565
|
function isFormControlState(formState) {
|
|
3678
3566
|
return typeof formState === 'object' && formState !== null &&
|
|
3679
3567
|
Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;
|
|
@@ -3787,13 +3675,6 @@ const UntypedFormControl = FormControl;
|
|
|
3787
3675
|
*/
|
|
3788
3676
|
const isFormControl = (control) => control instanceof FormControl;
|
|
3789
3677
|
|
|
3790
|
-
/**
|
|
3791
|
-
* @license
|
|
3792
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3793
|
-
*
|
|
3794
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3795
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3796
|
-
*/
|
|
3797
3678
|
/**
|
|
3798
3679
|
* @description
|
|
3799
3680
|
* A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.
|
|
@@ -3838,19 +3719,12 @@ class AbstractFormGroupDirective extends ControlContainer {
|
|
|
3838
3719
|
/** @internal */
|
|
3839
3720
|
_checkParentType() { }
|
|
3840
3721
|
}
|
|
3841
|
-
AbstractFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3842
|
-
AbstractFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
3843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3722
|
+
AbstractFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AbstractFormGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3723
|
+
AbstractFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: AbstractFormGroupDirective, usesInheritance: true, ngImport: i0 });
|
|
3724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AbstractFormGroupDirective, decorators: [{
|
|
3844
3725
|
type: Directive
|
|
3845
3726
|
}] });
|
|
3846
3727
|
|
|
3847
|
-
/**
|
|
3848
|
-
* @license
|
|
3849
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3850
|
-
*
|
|
3851
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3852
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3853
|
-
*/
|
|
3854
3728
|
function modelParentException() {
|
|
3855
3729
|
return new ɵRuntimeError(1350 /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP */, `
|
|
3856
3730
|
ngModel cannot be used to register form controls with a parent formGroup directive. Try using
|
|
@@ -3896,13 +3770,6 @@ function modelGroupParentException() {
|
|
|
3896
3770
|
${ngModelGroupExample}`);
|
|
3897
3771
|
}
|
|
3898
3772
|
|
|
3899
|
-
/**
|
|
3900
|
-
* @license
|
|
3901
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3902
|
-
*
|
|
3903
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3904
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3905
|
-
*/
|
|
3906
3773
|
const modelGroupProvider = {
|
|
3907
3774
|
provide: ControlContainer,
|
|
3908
3775
|
useExisting: forwardRef(() => NgModelGroup)
|
|
@@ -3948,9 +3815,9 @@ class NgModelGroup extends AbstractFormGroupDirective {
|
|
|
3948
3815
|
}
|
|
3949
3816
|
}
|
|
3950
3817
|
}
|
|
3951
|
-
NgModelGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3952
|
-
NgModelGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
3953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3818
|
+
NgModelGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
3819
|
+
NgModelGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: NgModelGroup, selector: "[ngModelGroup]", inputs: { name: ["ngModelGroup", "name"] }, providers: [modelGroupProvider], exportAs: ["ngModelGroup"], usesInheritance: true, ngImport: i0 });
|
|
3820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgModelGroup, decorators: [{
|
|
3954
3821
|
type: Directive,
|
|
3955
3822
|
args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' }]
|
|
3956
3823
|
}], ctorParameters: function () {
|
|
@@ -3978,13 +3845,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
3978
3845
|
args: ['ngModelGroup']
|
|
3979
3846
|
}] } });
|
|
3980
3847
|
|
|
3981
|
-
/**
|
|
3982
|
-
* @license
|
|
3983
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3984
|
-
*
|
|
3985
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3986
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3987
|
-
*/
|
|
3988
3848
|
const formControlBinding$1 = {
|
|
3989
3849
|
provide: NgControl,
|
|
3990
3850
|
useExisting: forwardRef(() => NgModel)
|
|
@@ -4232,9 +4092,9 @@ class NgModel extends NgControl {
|
|
|
4232
4092
|
return this._parent ? controlPath(controlName, this._parent) : [controlName];
|
|
4233
4093
|
}
|
|
4234
4094
|
}
|
|
4235
|
-
NgModel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4236
|
-
NgModel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4095
|
+
NgModel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
4096
|
+
NgModel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgModel, decorators: [{
|
|
4238
4098
|
type: Directive,
|
|
4239
4099
|
args: [{
|
|
4240
4100
|
selector: '[ngModel]:not([formControlName]):not([formControl])',
|
|
@@ -4294,13 +4154,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4294
4154
|
args: ['ngModelChange']
|
|
4295
4155
|
}] } });
|
|
4296
4156
|
|
|
4297
|
-
/**
|
|
4298
|
-
* @license
|
|
4299
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4300
|
-
*
|
|
4301
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4302
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4303
|
-
*/
|
|
4304
4157
|
/**
|
|
4305
4158
|
* @description
|
|
4306
4159
|
*
|
|
@@ -4320,9 +4173,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4320
4173
|
*/
|
|
4321
4174
|
class ɵNgNoValidate {
|
|
4322
4175
|
}
|
|
4323
|
-
ɵNgNoValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4324
|
-
ɵNgNoValidate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4176
|
+
ɵNgNoValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵNgNoValidate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4177
|
+
ɵNgNoValidate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])", host: { attributes: { "novalidate": "" } }, ngImport: i0 });
|
|
4178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵNgNoValidate, decorators: [{
|
|
4326
4179
|
type: Directive,
|
|
4327
4180
|
args: [{
|
|
4328
4181
|
selector: 'form:not([ngNoForm]):not([ngNativeValidate])',
|
|
@@ -4330,13 +4183,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4330
4183
|
}]
|
|
4331
4184
|
}] });
|
|
4332
4185
|
|
|
4333
|
-
/**
|
|
4334
|
-
* @license
|
|
4335
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4336
|
-
*
|
|
4337
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4338
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4339
|
-
*/
|
|
4340
4186
|
const NUMBER_VALUE_ACCESSOR = {
|
|
4341
4187
|
provide: NG_VALUE_ACCESSOR,
|
|
4342
4188
|
useExisting: forwardRef(() => NumberValueAccessor),
|
|
@@ -4386,9 +4232,9 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4386
4232
|
};
|
|
4387
4233
|
}
|
|
4388
4234
|
}
|
|
4389
|
-
NumberValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4390
|
-
NumberValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4235
|
+
NumberValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NumberValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4236
|
+
NumberValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NumberValueAccessor, decorators: [{
|
|
4392
4238
|
type: Directive,
|
|
4393
4239
|
args: [{
|
|
4394
4240
|
selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',
|
|
@@ -4397,13 +4243,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4397
4243
|
}]
|
|
4398
4244
|
}] });
|
|
4399
4245
|
|
|
4400
|
-
/**
|
|
4401
|
-
* @license
|
|
4402
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4403
|
-
*
|
|
4404
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4405
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4406
|
-
*/
|
|
4407
4246
|
const RADIO_VALUE_ACCESSOR = {
|
|
4408
4247
|
provide: NG_VALUE_ACCESSOR,
|
|
4409
4248
|
useExisting: forwardRef(() => RadioControlValueAccessor),
|
|
@@ -4423,10 +4262,10 @@ function throwNameError() {
|
|
|
4423
4262
|
*/
|
|
4424
4263
|
class RadioControlRegistryModule {
|
|
4425
4264
|
}
|
|
4426
|
-
RadioControlRegistryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4427
|
-
RadioControlRegistryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
4428
|
-
RadioControlRegistryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
4429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4265
|
+
RadioControlRegistryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4266
|
+
RadioControlRegistryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistryModule });
|
|
4267
|
+
RadioControlRegistryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistryModule });
|
|
4268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistryModule, decorators: [{
|
|
4430
4269
|
type: NgModule
|
|
4431
4270
|
}] });
|
|
4432
4271
|
/**
|
|
@@ -4474,9 +4313,9 @@ class RadioControlRegistry {
|
|
|
4474
4313
|
controlPair[1].name === accessor.name;
|
|
4475
4314
|
}
|
|
4476
4315
|
}
|
|
4477
|
-
RadioControlRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4478
|
-
RadioControlRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
4479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4316
|
+
RadioControlRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4317
|
+
RadioControlRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistry, providedIn: RadioControlRegistryModule });
|
|
4318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlRegistry, decorators: [{
|
|
4480
4319
|
type: Injectable,
|
|
4481
4320
|
args: [{ providedIn: RadioControlRegistryModule }]
|
|
4482
4321
|
}] });
|
|
@@ -4560,9 +4399,9 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4560
4399
|
this.name = this.formControlName;
|
|
4561
4400
|
}
|
|
4562
4401
|
}
|
|
4563
|
-
RadioControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4564
|
-
RadioControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4402
|
+
RadioControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RadioControlRegistry }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4403
|
+
RadioControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RadioControlValueAccessor, decorators: [{
|
|
4566
4405
|
type: Directive,
|
|
4567
4406
|
args: [{
|
|
4568
4407
|
selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
|
|
@@ -4577,13 +4416,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4577
4416
|
type: Input
|
|
4578
4417
|
}] } });
|
|
4579
4418
|
|
|
4580
|
-
/**
|
|
4581
|
-
* @license
|
|
4582
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4583
|
-
*
|
|
4584
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4585
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4586
|
-
*/
|
|
4587
4419
|
const RANGE_VALUE_ACCESSOR = {
|
|
4588
4420
|
provide: NG_VALUE_ACCESSOR,
|
|
4589
4421
|
useExisting: forwardRef(() => RangeValueAccessor),
|
|
@@ -4631,9 +4463,9 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4631
4463
|
};
|
|
4632
4464
|
}
|
|
4633
4465
|
}
|
|
4634
|
-
RangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4635
|
-
RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4466
|
+
RangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RangeValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4467
|
+
RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RangeValueAccessor, decorators: [{
|
|
4637
4469
|
type: Directive,
|
|
4638
4470
|
args: [{
|
|
4639
4471
|
selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',
|
|
@@ -4646,13 +4478,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4646
4478
|
}]
|
|
4647
4479
|
}] });
|
|
4648
4480
|
|
|
4649
|
-
/**
|
|
4650
|
-
* @license
|
|
4651
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4652
|
-
*
|
|
4653
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4654
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4655
|
-
*/
|
|
4656
4481
|
/**
|
|
4657
4482
|
* Token to provide to turn off the ngModel warning on formControl and formControlName.
|
|
4658
4483
|
*/
|
|
@@ -4772,9 +4597,9 @@ class FormControlDirective extends NgControl {
|
|
|
4772
4597
|
* @internal
|
|
4773
4598
|
*/
|
|
4774
4599
|
FormControlDirective._ngModelWarningSentOnce = false;
|
|
4775
|
-
FormControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
4776
|
-
FormControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
4777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4600
|
+
FormControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
4601
|
+
FormControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormControlDirective, decorators: [{
|
|
4778
4603
|
type: Directive,
|
|
4779
4604
|
args: [{ selector: '[formControl]', providers: [formControlBinding], exportAs: 'ngForm' }]
|
|
4780
4605
|
}], ctorParameters: function () {
|
|
@@ -4824,13 +4649,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
4824
4649
|
args: ['ngModelChange']
|
|
4825
4650
|
}] } });
|
|
4826
4651
|
|
|
4827
|
-
/**
|
|
4828
|
-
* @license
|
|
4829
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4830
|
-
*
|
|
4831
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4832
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4833
|
-
*/
|
|
4834
4652
|
const formDirectiveProvider = {
|
|
4835
4653
|
provide: ControlContainer,
|
|
4836
4654
|
useExisting: forwardRef(() => FormGroupDirective)
|
|
@@ -5128,9 +4946,9 @@ class FormGroupDirective extends ControlContainer {
|
|
|
5128
4946
|
}
|
|
5129
4947
|
}
|
|
5130
4948
|
}
|
|
5131
|
-
FormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5132
|
-
FormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
4949
|
+
FormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
4950
|
+
FormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
4951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormGroupDirective, decorators: [{
|
|
5134
4952
|
type: Directive,
|
|
5135
4953
|
args: [{
|
|
5136
4954
|
selector: '[formGroup]',
|
|
@@ -5166,13 +4984,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
5166
4984
|
type: Output
|
|
5167
4985
|
}] } });
|
|
5168
4986
|
|
|
5169
|
-
/**
|
|
5170
|
-
* @license
|
|
5171
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5172
|
-
*
|
|
5173
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5174
|
-
* found in the LICENSE file at https://angular.io/license
|
|
5175
|
-
*/
|
|
5176
4987
|
const formGroupNameProvider = {
|
|
5177
4988
|
provide: ControlContainer,
|
|
5178
4989
|
useExisting: forwardRef(() => FormGroupName)
|
|
@@ -5238,9 +5049,9 @@ class FormGroupName extends AbstractFormGroupDirective {
|
|
|
5238
5049
|
}
|
|
5239
5050
|
}
|
|
5240
5051
|
}
|
|
5241
|
-
FormGroupName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5242
|
-
FormGroupName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5052
|
+
FormGroupName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
5053
|
+
FormGroupName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: FormGroupName, selector: "[formGroupName]", inputs: { name: ["formGroupName", "name"] }, providers: [formGroupNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormGroupName, decorators: [{
|
|
5244
5055
|
type: Directive,
|
|
5245
5056
|
args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] }]
|
|
5246
5057
|
}], ctorParameters: function () {
|
|
@@ -5350,9 +5161,9 @@ class FormArrayName extends ControlContainer {
|
|
|
5350
5161
|
}
|
|
5351
5162
|
}
|
|
5352
5163
|
}
|
|
5353
|
-
FormArrayName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5354
|
-
FormArrayName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5164
|
+
FormArrayName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
5165
|
+
FormArrayName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: FormArrayName, selector: "[formArrayName]", inputs: { name: ["formArrayName", "name"] }, providers: [formArrayNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormArrayName, decorators: [{
|
|
5356
5167
|
type: Directive,
|
|
5357
5168
|
args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] }]
|
|
5358
5169
|
}], ctorParameters: function () {
|
|
@@ -5386,13 +5197,6 @@ function _hasInvalidParent(parent) {
|
|
|
5386
5197
|
!(parent instanceof FormArrayName);
|
|
5387
5198
|
}
|
|
5388
5199
|
|
|
5389
|
-
/**
|
|
5390
|
-
* @license
|
|
5391
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5392
|
-
*
|
|
5393
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5394
|
-
* found in the LICENSE file at https://angular.io/license
|
|
5395
|
-
*/
|
|
5396
5200
|
const controlNameBinding = {
|
|
5397
5201
|
provide: NgControl,
|
|
5398
5202
|
useExisting: forwardRef(() => FormControlName)
|
|
@@ -5530,9 +5334,9 @@ class FormControlName extends NgControl {
|
|
|
5530
5334
|
* @internal
|
|
5531
5335
|
*/
|
|
5532
5336
|
FormControlName._ngModelWarningSentOnce = false;
|
|
5533
|
-
FormControlName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5534
|
-
FormControlName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5337
|
+
FormControlName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", 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 });
|
|
5338
|
+
FormControlName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
5339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormControlName, decorators: [{
|
|
5536
5340
|
type: Directive,
|
|
5537
5341
|
args: [{ selector: '[formControlName]', providers: [controlNameBinding] }]
|
|
5538
5342
|
}], ctorParameters: function () {
|
|
@@ -5583,13 +5387,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
5583
5387
|
args: ['ngModelChange']
|
|
5584
5388
|
}] } });
|
|
5585
5389
|
|
|
5586
|
-
/**
|
|
5587
|
-
* @license
|
|
5588
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5589
|
-
*
|
|
5590
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5591
|
-
* found in the LICENSE file at https://angular.io/license
|
|
5592
|
-
*/
|
|
5593
5390
|
const SELECT_VALUE_ACCESSOR = {
|
|
5594
5391
|
provide: NG_VALUE_ACCESSOR,
|
|
5595
5392
|
useExisting: forwardRef(() => SelectControlValueAccessor),
|
|
@@ -5719,9 +5516,9 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
5719
5516
|
return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;
|
|
5720
5517
|
}
|
|
5721
5518
|
}
|
|
5722
|
-
SelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5723
|
-
SelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5519
|
+
SelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: SelectControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5520
|
+
SelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
5521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: SelectControlValueAccessor, decorators: [{
|
|
5725
5522
|
type: Directive,
|
|
5726
5523
|
args: [{
|
|
5727
5524
|
selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',
|
|
@@ -5783,9 +5580,9 @@ class NgSelectOption {
|
|
|
5783
5580
|
}
|
|
5784
5581
|
}
|
|
5785
5582
|
}
|
|
5786
|
-
NgSelectOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5787
|
-
NgSelectOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5583
|
+
NgSelectOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgSelectOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5584
|
+
NgSelectOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: NgSelectOption, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
5585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NgSelectOption, decorators: [{
|
|
5789
5586
|
type: Directive,
|
|
5790
5587
|
args: [{ selector: 'option' }]
|
|
5791
5588
|
}], ctorParameters: function () {
|
|
@@ -5802,13 +5599,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
5802
5599
|
args: ['value']
|
|
5803
5600
|
}] } });
|
|
5804
5601
|
|
|
5805
|
-
/**
|
|
5806
|
-
* @license
|
|
5807
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5808
|
-
*
|
|
5809
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5810
|
-
* found in the LICENSE file at https://angular.io/license
|
|
5811
|
-
*/
|
|
5812
5602
|
const SELECT_MULTIPLE_VALUE_ACCESSOR = {
|
|
5813
5603
|
provide: NG_VALUE_ACCESSOR,
|
|
5814
5604
|
useExisting: forwardRef(() => SelectMultipleControlValueAccessor),
|
|
@@ -5959,9 +5749,9 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
5959
5749
|
return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;
|
|
5960
5750
|
}
|
|
5961
5751
|
}
|
|
5962
|
-
SelectMultipleControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
5963
|
-
SelectMultipleControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
5964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5752
|
+
SelectMultipleControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: SelectMultipleControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5753
|
+
SelectMultipleControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
5754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: SelectMultipleControlValueAccessor, decorators: [{
|
|
5965
5755
|
type: Directive,
|
|
5966
5756
|
args: [{
|
|
5967
5757
|
selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',
|
|
@@ -6033,9 +5823,9 @@ class ɵNgSelectMultipleOption {
|
|
|
6033
5823
|
}
|
|
6034
5824
|
}
|
|
6035
5825
|
}
|
|
6036
|
-
ɵNgSelectMultipleOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6037
|
-
ɵNgSelectMultipleOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5826
|
+
ɵNgSelectMultipleOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵNgSelectMultipleOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectMultipleControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5827
|
+
ɵNgSelectMultipleOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: ɵNgSelectMultipleOption, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
5828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵNgSelectMultipleOption, decorators: [{
|
|
6039
5829
|
type: Directive,
|
|
6040
5830
|
args: [{ selector: 'option' }]
|
|
6041
5831
|
}], ctorParameters: function () {
|
|
@@ -6052,13 +5842,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
6052
5842
|
args: ['value']
|
|
6053
5843
|
}] } });
|
|
6054
5844
|
|
|
6055
|
-
/**
|
|
6056
|
-
* @license
|
|
6057
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6058
|
-
*
|
|
6059
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6060
|
-
* found in the LICENSE file at https://angular.io/license
|
|
6061
|
-
*/
|
|
6062
5845
|
/**
|
|
6063
5846
|
* Method that updates string to integer if not already a number
|
|
6064
5847
|
*
|
|
@@ -6117,9 +5900,9 @@ class AbstractValidatorDirective {
|
|
|
6117
5900
|
return input != null /* both `null` and `undefined` */;
|
|
6118
5901
|
}
|
|
6119
5902
|
}
|
|
6120
|
-
AbstractValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6121
|
-
AbstractValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5903
|
+
AbstractValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AbstractValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5904
|
+
AbstractValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: AbstractValidatorDirective, usesOnChanges: true, ngImport: i0 });
|
|
5905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AbstractValidatorDirective, decorators: [{
|
|
6123
5906
|
type: Directive
|
|
6124
5907
|
}] });
|
|
6125
5908
|
/**
|
|
@@ -6163,9 +5946,9 @@ class MaxValidator extends AbstractValidatorDirective {
|
|
|
6163
5946
|
this.createValidator = (max) => maxValidator(max);
|
|
6164
5947
|
}
|
|
6165
5948
|
}
|
|
6166
|
-
MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6167
|
-
MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
5949
|
+
MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5950
|
+
MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
5951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MaxValidator, decorators: [{
|
|
6169
5952
|
type: Directive,
|
|
6170
5953
|
args: [{
|
|
6171
5954
|
selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',
|
|
@@ -6216,9 +5999,9 @@ class MinValidator extends AbstractValidatorDirective {
|
|
|
6216
5999
|
this.createValidator = (min) => minValidator(min);
|
|
6217
6000
|
}
|
|
6218
6001
|
}
|
|
6219
|
-
MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6220
|
-
MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6002
|
+
MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6003
|
+
MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MinValidator, decorators: [{
|
|
6222
6005
|
type: Directive,
|
|
6223
6006
|
args: [{
|
|
6224
6007
|
selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',
|
|
@@ -6280,9 +6063,9 @@ class RequiredValidator extends AbstractValidatorDirective {
|
|
|
6280
6063
|
return input;
|
|
6281
6064
|
}
|
|
6282
6065
|
}
|
|
6283
|
-
RequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6284
|
-
RequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6066
|
+
RequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6067
|
+
RequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: RequiredValidator, decorators: [{
|
|
6286
6069
|
type: Directive,
|
|
6287
6070
|
args: [{
|
|
6288
6071
|
selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',
|
|
@@ -6320,9 +6103,9 @@ class CheckboxRequiredValidator extends RequiredValidator {
|
|
|
6320
6103
|
this.createValidator = (input) => requiredTrueValidator;
|
|
6321
6104
|
}
|
|
6322
6105
|
}
|
|
6323
|
-
CheckboxRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6324
|
-
CheckboxRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6106
|
+
CheckboxRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6107
|
+
CheckboxRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CheckboxRequiredValidator, decorators: [{
|
|
6326
6109
|
type: Directive,
|
|
6327
6110
|
args: [{
|
|
6328
6111
|
selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',
|
|
@@ -6381,9 +6164,9 @@ class EmailValidator extends AbstractValidatorDirective {
|
|
|
6381
6164
|
return input;
|
|
6382
6165
|
}
|
|
6383
6166
|
}
|
|
6384
|
-
EmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6385
|
-
EmailValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6167
|
+
EmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: EmailValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6168
|
+
EmailValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: EmailValidator, selector: "[email][formControlName],[email][formControl],[email][ngModel]", inputs: { email: "email" }, providers: [EMAIL_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: EmailValidator, decorators: [{
|
|
6387
6170
|
type: Directive,
|
|
6388
6171
|
args: [{
|
|
6389
6172
|
selector: '[email][formControlName],[email][formControl],[email][ngModel]',
|
|
@@ -6433,9 +6216,9 @@ class MinLengthValidator extends AbstractValidatorDirective {
|
|
|
6433
6216
|
this.createValidator = (minlength) => minLengthValidator(minlength);
|
|
6434
6217
|
}
|
|
6435
6218
|
}
|
|
6436
|
-
MinLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6437
|
-
MinLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6219
|
+
MinLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MinLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6220
|
+
MinLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MinLengthValidator, decorators: [{
|
|
6439
6222
|
type: Directive,
|
|
6440
6223
|
args: [{
|
|
6441
6224
|
selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
|
|
@@ -6486,9 +6269,9 @@ class MaxLengthValidator extends AbstractValidatorDirective {
|
|
|
6486
6269
|
this.createValidator = (maxlength) => maxLengthValidator(maxlength);
|
|
6487
6270
|
}
|
|
6488
6271
|
}
|
|
6489
|
-
MaxLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6490
|
-
MaxLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6272
|
+
MaxLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MaxLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6273
|
+
MaxLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MaxLengthValidator, decorators: [{
|
|
6492
6275
|
type: Directive,
|
|
6493
6276
|
args: [{
|
|
6494
6277
|
selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
|
|
@@ -6541,9 +6324,9 @@ class PatternValidator extends AbstractValidatorDirective {
|
|
|
6541
6324
|
this.createValidator = (input) => patternValidator(input);
|
|
6542
6325
|
}
|
|
6543
6326
|
}
|
|
6544
|
-
PatternValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6545
|
-
PatternValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
6546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6327
|
+
PatternValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PatternValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6328
|
+
PatternValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", 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 });
|
|
6329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PatternValidator, decorators: [{
|
|
6547
6330
|
type: Directive,
|
|
6548
6331
|
args: [{
|
|
6549
6332
|
selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',
|
|
@@ -6554,13 +6337,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
6554
6337
|
type: Input
|
|
6555
6338
|
}] } });
|
|
6556
6339
|
|
|
6557
|
-
/**
|
|
6558
|
-
* @license
|
|
6559
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6560
|
-
*
|
|
6561
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6562
|
-
* found in the LICENSE file at https://angular.io/license
|
|
6563
|
-
*/
|
|
6564
6340
|
const SHARED_FORM_DIRECTIVES = [
|
|
6565
6341
|
ɵNgNoValidate,
|
|
6566
6342
|
NgSelectOption,
|
|
@@ -6590,8 +6366,8 @@ const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, Fo
|
|
|
6590
6366
|
*/
|
|
6591
6367
|
class ɵInternalFormsSharedModule {
|
|
6592
6368
|
}
|
|
6593
|
-
ɵInternalFormsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
6594
|
-
ɵInternalFormsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
6369
|
+
ɵInternalFormsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵInternalFormsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6370
|
+
ɵInternalFormsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵInternalFormsSharedModule, declarations: [ɵNgNoValidate,
|
|
6595
6371
|
NgSelectOption,
|
|
6596
6372
|
ɵNgSelectMultipleOption,
|
|
6597
6373
|
DefaultValueAccessor,
|
|
@@ -6630,8 +6406,8 @@ class ɵInternalFormsSharedModule {
|
|
|
6630
6406
|
EmailValidator,
|
|
6631
6407
|
MinValidator,
|
|
6632
6408
|
MaxValidator] });
|
|
6633
|
-
ɵInternalFormsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
6634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
6409
|
+
ɵInternalFormsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵInternalFormsSharedModule, imports: [RadioControlRegistryModule] });
|
|
6410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ɵInternalFormsSharedModule, decorators: [{
|
|
6635
6411
|
type: NgModule,
|
|
6636
6412
|
args: [{
|
|
6637
6413
|
declarations: SHARED_FORM_DIRECTIVES,
|
|
@@ -6640,13 +6416,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
6640
6416
|
}]
|
|
6641
6417
|
}] });
|
|
6642
6418
|
|
|
6643
|
-
/**
|
|
6644
|
-
* @license
|
|
6645
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6646
|
-
*
|
|
6647
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6648
|
-
* found in the LICENSE file at https://angular.io/license
|
|
6649
|
-
*/
|
|
6650
6419
|
/**
|
|
6651
6420
|
* Tracks the value and validity state of an array of `FormControl`,
|
|
6652
6421
|
* `FormGroup` or `FormArray` instances.
|
|
@@ -7101,13 +6870,6 @@ const UntypedFormArray = FormArray;
|
|
|
7101
6870
|
*/
|
|
7102
6871
|
const isFormArray = (control) => control instanceof FormArray;
|
|
7103
6872
|
|
|
7104
|
-
/**
|
|
7105
|
-
* @license
|
|
7106
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7107
|
-
*
|
|
7108
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7109
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7110
|
-
*/
|
|
7111
6873
|
function isAbstractControlOptions(options) {
|
|
7112
6874
|
return !!options &&
|
|
7113
6875
|
(options.asyncValidators !== undefined ||
|
|
@@ -7300,9 +7062,9 @@ class FormBuilder {
|
|
|
7300
7062
|
}
|
|
7301
7063
|
}
|
|
7302
7064
|
}
|
|
7303
|
-
FormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
7304
|
-
FormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
7305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
7065
|
+
FormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7066
|
+
FormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormBuilder, providedIn: 'root' });
|
|
7067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormBuilder, decorators: [{
|
|
7306
7068
|
type: Injectable,
|
|
7307
7069
|
args: [{ providedIn: 'root' }]
|
|
7308
7070
|
}] });
|
|
@@ -7315,9 +7077,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
7315
7077
|
*/
|
|
7316
7078
|
class NonNullableFormBuilder {
|
|
7317
7079
|
}
|
|
7318
|
-
NonNullableFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
7319
|
-
NonNullableFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
7320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
7080
|
+
NonNullableFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NonNullableFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7081
|
+
NonNullableFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NonNullableFormBuilder, providedIn: 'root', useFactory: () => inject(FormBuilder).nonNullable });
|
|
7082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: NonNullableFormBuilder, decorators: [{
|
|
7321
7083
|
type: Injectable,
|
|
7322
7084
|
args: [{
|
|
7323
7085
|
providedIn: 'root',
|
|
@@ -7344,32 +7106,23 @@ class UntypedFormBuilder extends FormBuilder {
|
|
|
7344
7106
|
return super.array(controlsConfig, validatorOrOpts, asyncValidator);
|
|
7345
7107
|
}
|
|
7346
7108
|
}
|
|
7347
|
-
UntypedFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
7348
|
-
UntypedFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
7349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
7109
|
+
UntypedFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: UntypedFormBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
7110
|
+
UntypedFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: UntypedFormBuilder, providedIn: 'root' });
|
|
7111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: UntypedFormBuilder, decorators: [{
|
|
7350
7112
|
type: Injectable,
|
|
7351
7113
|
args: [{ providedIn: 'root' }]
|
|
7352
7114
|
}] });
|
|
7353
7115
|
|
|
7354
7116
|
/**
|
|
7355
|
-
* @
|
|
7356
|
-
*
|
|
7357
|
-
*
|
|
7358
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7359
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7117
|
+
* @module
|
|
7118
|
+
* @description
|
|
7119
|
+
* Entry point for all public APIs of the forms package.
|
|
7360
7120
|
*/
|
|
7361
7121
|
/**
|
|
7362
7122
|
* @publicApi
|
|
7363
7123
|
*/
|
|
7364
|
-
const VERSION = new Version('15.1.0-
|
|
7124
|
+
const VERSION = new Version('15.1.0-rc.0');
|
|
7365
7125
|
|
|
7366
|
-
/**
|
|
7367
|
-
* @license
|
|
7368
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7369
|
-
*
|
|
7370
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7371
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7372
|
-
*/
|
|
7373
7126
|
/**
|
|
7374
7127
|
* Exports the required providers and directives for template-driven forms,
|
|
7375
7128
|
* making them available for import by NgModules that import this module.
|
|
@@ -7402,10 +7155,10 @@ class FormsModule {
|
|
|
7402
7155
|
};
|
|
7403
7156
|
}
|
|
7404
7157
|
}
|
|
7405
|
-
FormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
7406
|
-
FormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
7407
|
-
FormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
7408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
7158
|
+
FormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7159
|
+
FormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] });
|
|
7160
|
+
FormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FormsModule, decorators: [{
|
|
7409
7162
|
type: NgModule,
|
|
7410
7163
|
args: [{
|
|
7411
7164
|
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
|
@@ -7453,10 +7206,10 @@ class ReactiveFormsModule {
|
|
|
7453
7206
|
};
|
|
7454
7207
|
}
|
|
7455
7208
|
}
|
|
7456
|
-
ReactiveFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
7457
|
-
ReactiveFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
7458
|
-
ReactiveFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
7459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
7209
|
+
ReactiveFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7210
|
+
ReactiveFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] });
|
|
7211
|
+
ReactiveFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ReactiveFormsModule, decorators: [{
|
|
7460
7213
|
type: NgModule,
|
|
7461
7214
|
args: [{
|
|
7462
7215
|
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|
|
@@ -7465,29 +7218,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
7465
7218
|
}] });
|
|
7466
7219
|
|
|
7467
7220
|
/**
|
|
7468
|
-
* @
|
|
7469
|
-
*
|
|
7221
|
+
* @module
|
|
7222
|
+
* @description
|
|
7223
|
+
* This module is used for handling user input, by defining and building a `FormGroup` that
|
|
7224
|
+
* consists of `FormControl` objects, and mapping them onto the DOM. `FormControl`
|
|
7225
|
+
* objects can then be used to read information from the form DOM elements.
|
|
7470
7226
|
*
|
|
7471
|
-
*
|
|
7472
|
-
*
|
|
7227
|
+
* Forms providers are not included in default providers; you must import these providers
|
|
7228
|
+
* explicitly.
|
|
7473
7229
|
*/
|
|
7474
7230
|
|
|
7475
7231
|
/**
|
|
7476
|
-
* @
|
|
7477
|
-
*
|
|
7478
|
-
*
|
|
7479
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7480
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7232
|
+
* @module
|
|
7233
|
+
* @description
|
|
7234
|
+
* Entry point for all public APIs of this package.
|
|
7481
7235
|
*/
|
|
7482
7236
|
// This file only reexports content of the `src` folder. Keep it that way.
|
|
7483
7237
|
|
|
7484
|
-
|
|
7485
|
-
* @license
|
|
7486
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7487
|
-
*
|
|
7488
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7489
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7490
|
-
*/
|
|
7238
|
+
// This file is not used to build this module. It is only used during editing
|
|
7491
7239
|
|
|
7492
7240
|
/**
|
|
7493
7241
|
* Generated bundle index. Do not edit.
|