@angular/forms 19.2.0-next.1 → 19.2.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/fesm2022/forms.mjs +171 -150
- package/fesm2022/forms.mjs.map +1 -1
- package/index.d.ts +12 -10
- package/package.json +4 -4
package/fesm2022/forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.0-next.
|
|
2
|
+
* @license Angular v19.2.0-next.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -64,10 +64,10 @@ class BaseControlValueAccessor {
|
|
|
64
64
|
setDisabledState(isDisabled) {
|
|
65
65
|
this.setProperty('disabled', isDisabled);
|
|
66
66
|
}
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
68
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: BaseControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: BaseControlValueAccessor, isStandalone: true, ngImport: i0 });
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: BaseControlValueAccessor, decorators: [{
|
|
71
71
|
type: Directive
|
|
72
72
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
73
73
|
/**
|
|
@@ -80,10 +80,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
80
80
|
* applications code.
|
|
81
81
|
*/
|
|
82
82
|
class BuiltInControlValueAccessor extends BaseControlValueAccessor {
|
|
83
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
84
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: BuiltInControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: BuiltInControlValueAccessor, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: BuiltInControlValueAccessor, decorators: [{
|
|
87
87
|
type: Directive
|
|
88
88
|
}] });
|
|
89
89
|
/**
|
|
@@ -131,10 +131,10 @@ class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
131
131
|
writeValue(value) {
|
|
132
132
|
this.setProperty('checked', value);
|
|
133
133
|
}
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
135
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: CheckboxControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
135
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: CheckboxControlValueAccessor, isStandalone: false, 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 });
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: CheckboxControlValueAccessor, decorators: [{
|
|
138
138
|
type: Directive,
|
|
139
139
|
args: [{
|
|
140
140
|
selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',
|
|
@@ -232,10 +232,10 @@ class DefaultValueAccessor extends BaseControlValueAccessor {
|
|
|
232
232
|
this._composing = false;
|
|
233
233
|
this._compositionMode && this.onChange(value);
|
|
234
234
|
}
|
|
235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
236
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
235
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: DefaultValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: COMPOSITION_BUFFER_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
236
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: DefaultValueAccessor, isStandalone: false, 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 });
|
|
237
237
|
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: DefaultValueAccessor, decorators: [{
|
|
239
239
|
type: Directive,
|
|
240
240
|
args: [{
|
|
241
241
|
selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',
|
|
@@ -259,16 +259,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
259
259
|
}] }] });
|
|
260
260
|
|
|
261
261
|
function isEmptyInputValue(value) {
|
|
262
|
-
|
|
263
|
-
* Check if the object is a string or array before evaluating the length attribute.
|
|
264
|
-
* This avoids falsely rejecting objects that contain a custom length attribute.
|
|
265
|
-
* For example, the object {id: 1, length: 0, width: 0} should not be returned as empty.
|
|
266
|
-
*/
|
|
267
|
-
return (value == null || ((typeof value === 'string' || Array.isArray(value)) && value.length === 0));
|
|
262
|
+
return value == null || lengthOrSize(value) === 0;
|
|
268
263
|
}
|
|
269
|
-
|
|
264
|
+
/**
|
|
265
|
+
* Extract the length property in case it's an array or a string.
|
|
266
|
+
* Extract the size property in case it's a set.
|
|
267
|
+
* Return null else.
|
|
268
|
+
* @param value Either an array, set or undefined.
|
|
269
|
+
*/
|
|
270
|
+
function lengthOrSize(value) {
|
|
270
271
|
// non-strict comparison is intentional, to check for both `null` and `undefined` values
|
|
271
|
-
|
|
272
|
+
if (value == null) {
|
|
273
|
+
return null;
|
|
274
|
+
}
|
|
275
|
+
else if (Array.isArray(value) || typeof value === 'string') {
|
|
276
|
+
return value.length;
|
|
277
|
+
}
|
|
278
|
+
else if (value instanceof Set) {
|
|
279
|
+
return value.size;
|
|
280
|
+
}
|
|
281
|
+
return null;
|
|
272
282
|
}
|
|
273
283
|
/**
|
|
274
284
|
* @description
|
|
@@ -506,13 +516,14 @@ class Validators {
|
|
|
506
516
|
}
|
|
507
517
|
/**
|
|
508
518
|
* @description
|
|
509
|
-
* Validator that requires the
|
|
510
|
-
* to the provided minimum length. This validator is also provided by default if you use
|
|
519
|
+
* Validator that requires the number of items in the control's value to be greater than or equal
|
|
520
|
+
* to the provided minimum length. This validator is also provided by default if you use
|
|
511
521
|
* the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be used
|
|
512
|
-
* only for types that have a numeric `length` property, such as strings
|
|
513
|
-
* `minLength` validator logic is also not invoked for values when their `length`
|
|
514
|
-
* (for example in case of an empty string or an empty array), to support
|
|
515
|
-
* can use the standard `required` validator if empty values should not be
|
|
522
|
+
* only for types that have a numeric `length` or `size` property, such as strings, arrays or
|
|
523
|
+
* sets. The `minLength` validator logic is also not invoked for values when their `length` or
|
|
524
|
+
* `size` property is 0 (for example in case of an empty string or an empty array), to support
|
|
525
|
+
* optional controls. You can use the standard `required` validator if empty values should not be
|
|
526
|
+
* considered valid.
|
|
516
527
|
*
|
|
517
528
|
* @usageNotes
|
|
518
529
|
*
|
|
@@ -539,10 +550,11 @@ class Validators {
|
|
|
539
550
|
}
|
|
540
551
|
/**
|
|
541
552
|
* @description
|
|
542
|
-
* Validator that requires the
|
|
543
|
-
* to the provided maximum length. This validator is also provided by default if you use
|
|
553
|
+
* Validator that requires the number of items in the control's value to be less than or equal
|
|
554
|
+
* to the provided maximum length. This validator is also provided by default if you use
|
|
544
555
|
* the HTML5 `maxlength` attribute. Note that the `maxLength` validator is intended to be used
|
|
545
|
-
* only for types that have a numeric `length` property, such as strings or
|
|
556
|
+
* only for types that have a numeric `length` or `size` property, such as strings, arrays or
|
|
557
|
+
* sets.
|
|
546
558
|
*
|
|
547
559
|
* @usageNotes
|
|
548
560
|
*
|
|
@@ -653,7 +665,7 @@ class Validators {
|
|
|
653
665
|
*/
|
|
654
666
|
function minValidator(min) {
|
|
655
667
|
return (control) => {
|
|
656
|
-
if (
|
|
668
|
+
if (control.value == null || min == null) {
|
|
657
669
|
return null; // don't validate empty values to allow optional controls
|
|
658
670
|
}
|
|
659
671
|
const value = parseFloat(control.value);
|
|
@@ -668,7 +680,7 @@ function minValidator(min) {
|
|
|
668
680
|
*/
|
|
669
681
|
function maxValidator(max) {
|
|
670
682
|
return (control) => {
|
|
671
|
-
if (
|
|
683
|
+
if (control.value == null || max == null) {
|
|
672
684
|
return null; // don't validate empty values to allow optional controls
|
|
673
685
|
}
|
|
674
686
|
const value = parseFloat(control.value);
|
|
@@ -703,30 +715,39 @@ function emailValidator(control) {
|
|
|
703
715
|
return EMAIL_REGEXP.test(control.value) ? null : { 'email': true };
|
|
704
716
|
}
|
|
705
717
|
/**
|
|
706
|
-
* Validator that requires the
|
|
718
|
+
* Validator that requires the number of items in the control's value to be greater than or equal
|
|
707
719
|
* to the provided minimum length. See `Validators.minLength` for additional information.
|
|
720
|
+
*
|
|
721
|
+
* The minLengthValidator respects every length property in an object, regardless of whether it's an array.
|
|
722
|
+
* For example, the object {id: 1, length: 0, width: 0} should be validated.
|
|
708
723
|
*/
|
|
709
724
|
function minLengthValidator(minLength) {
|
|
710
725
|
return (control) => {
|
|
711
|
-
|
|
726
|
+
const length = control.value?.length ?? lengthOrSize(control.value);
|
|
727
|
+
if (length === null || length === 0) {
|
|
712
728
|
// don't validate empty values to allow optional controls
|
|
713
|
-
// don't validate values without `length` property
|
|
729
|
+
// don't validate values without `length` or `size` property
|
|
714
730
|
return null;
|
|
715
731
|
}
|
|
716
|
-
return
|
|
717
|
-
? { 'minlength': { 'requiredLength': minLength, 'actualLength':
|
|
732
|
+
return length < minLength
|
|
733
|
+
? { 'minlength': { 'requiredLength': minLength, 'actualLength': length } }
|
|
718
734
|
: null;
|
|
719
735
|
};
|
|
720
736
|
}
|
|
721
737
|
/**
|
|
722
|
-
* Validator that requires the
|
|
738
|
+
* Validator that requires the number of items in the control's value to be less than or equal
|
|
723
739
|
* to the provided maximum length. See `Validators.maxLength` for additional information.
|
|
740
|
+
*
|
|
741
|
+
* The maxLengthValidator respects every length property in an object, regardless of whether it's an array.
|
|
742
|
+
* For example, the object {id: 1, length: 0, width: 0} should be validated.
|
|
724
743
|
*/
|
|
725
744
|
function maxLengthValidator(maxLength) {
|
|
726
745
|
return (control) => {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
:
|
|
746
|
+
const length = control.value?.length ?? lengthOrSize(control.value);
|
|
747
|
+
if (length !== null && length > maxLength) {
|
|
748
|
+
return { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } };
|
|
749
|
+
}
|
|
750
|
+
return null;
|
|
730
751
|
};
|
|
731
752
|
}
|
|
732
753
|
/**
|
|
@@ -1351,10 +1372,10 @@ class NgControlStatus extends AbstractControlStatus {
|
|
|
1351
1372
|
constructor(cd) {
|
|
1352
1373
|
super(cd);
|
|
1353
1374
|
}
|
|
1354
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
1355
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
1375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgControlStatus, deps: [{ token: NgControl, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1376
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgControlStatus, isStandalone: false, 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 });
|
|
1356
1377
|
}
|
|
1357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
1378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgControlStatus, decorators: [{
|
|
1358
1379
|
type: Directive,
|
|
1359
1380
|
args: [{
|
|
1360
1381
|
selector: '[formControlName],[ngModel],[formControl]',
|
|
@@ -1380,10 +1401,10 @@ class NgControlStatusGroup extends AbstractControlStatus {
|
|
|
1380
1401
|
constructor(cd) {
|
|
1381
1402
|
super(cd);
|
|
1382
1403
|
}
|
|
1383
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
1384
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
1404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgControlStatusGroup, deps: [{ token: ControlContainer, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1405
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgControlStatusGroup, isStandalone: false, 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 });
|
|
1385
1406
|
}
|
|
1386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
1407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgControlStatusGroup, decorators: [{
|
|
1387
1408
|
type: Directive,
|
|
1388
1409
|
args: [{
|
|
1389
1410
|
selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',
|
|
@@ -3726,10 +3747,10 @@ class NgForm extends ControlContainer {
|
|
|
3726
3747
|
path.pop();
|
|
3727
3748
|
return path.length ? this.form.get(path) : this.form;
|
|
3728
3749
|
}
|
|
3729
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
3730
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
3750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
3751
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgForm, isStandalone: false, 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 });
|
|
3731
3752
|
}
|
|
3732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
3753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgForm, decorators: [{
|
|
3733
3754
|
type: Directive,
|
|
3734
3755
|
args: [{
|
|
3735
3756
|
selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',
|
|
@@ -3939,10 +3960,10 @@ class AbstractFormGroupDirective extends ControlContainer {
|
|
|
3939
3960
|
}
|
|
3940
3961
|
/** @internal */
|
|
3941
3962
|
_checkParentType() { }
|
|
3942
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
3943
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
3963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: AbstractFormGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3964
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: AbstractFormGroupDirective, isStandalone: false, usesInheritance: true, ngImport: i0 });
|
|
3944
3965
|
}
|
|
3945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
3966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: AbstractFormGroupDirective, decorators: [{
|
|
3946
3967
|
type: Directive,
|
|
3947
3968
|
args: [{
|
|
3948
3969
|
standalone: false,
|
|
@@ -4045,10 +4066,10 @@ class NgModelGroup extends AbstractFormGroupDirective {
|
|
|
4045
4066
|
throw modelGroupParentException();
|
|
4046
4067
|
}
|
|
4047
4068
|
}
|
|
4048
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4049
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
4070
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgModelGroup, isStandalone: false, selector: "[ngModelGroup]", inputs: { name: ["ngModelGroup", "name"] }, providers: [modelGroupProvider], exportAs: ["ngModelGroup"], usesInheritance: true, ngImport: i0 });
|
|
4050
4071
|
}
|
|
4051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgModelGroup, decorators: [{
|
|
4052
4073
|
type: Directive,
|
|
4053
4074
|
args: [{
|
|
4054
4075
|
selector: '[ngModelGroup]',
|
|
@@ -4373,10 +4394,10 @@ class NgModel extends NgControl {
|
|
|
4373
4394
|
_getPath(controlName) {
|
|
4374
4395
|
return this._parent ? controlPath(controlName, this._parent) : [controlName];
|
|
4375
4396
|
}
|
|
4376
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4377
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
4398
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgModel, isStandalone: false, 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 });
|
|
4378
4399
|
}
|
|
4379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgModel, decorators: [{
|
|
4380
4401
|
type: Directive,
|
|
4381
4402
|
args: [{
|
|
4382
4403
|
selector: '[ngModel]:not([formControlName]):not([formControl])',
|
|
@@ -4453,10 +4474,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
4453
4474
|
* @ngModule FormsModule
|
|
4454
4475
|
*/
|
|
4455
4476
|
class ɵNgNoValidate {
|
|
4456
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4457
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4477
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵNgNoValidate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4478
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: ɵNgNoValidate, isStandalone: false, selector: "form:not([ngNoForm]):not([ngNativeValidate])", host: { attributes: { "novalidate": "" } }, ngImport: i0 });
|
|
4458
4479
|
}
|
|
4459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵNgNoValidate, decorators: [{
|
|
4460
4481
|
type: Directive,
|
|
4461
4482
|
args: [{
|
|
4462
4483
|
selector: 'form:not([ngNoForm]):not([ngNativeValidate])',
|
|
@@ -4513,10 +4534,10 @@ class NumberValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4513
4534
|
fn(value == '' ? null : parseFloat(value));
|
|
4514
4535
|
};
|
|
4515
4536
|
}
|
|
4516
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4517
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4537
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NumberValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4538
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NumberValueAccessor, isStandalone: false, 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 });
|
|
4518
4539
|
}
|
|
4519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NumberValueAccessor, decorators: [{
|
|
4520
4541
|
type: Directive,
|
|
4521
4542
|
args: [{
|
|
4522
4543
|
selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',
|
|
@@ -4578,10 +4599,10 @@ class RadioControlRegistry {
|
|
|
4578
4599
|
return false;
|
|
4579
4600
|
return (controlPair[0]._parent === accessor._control._parent && controlPair[1].name === accessor.name);
|
|
4580
4601
|
}
|
|
4581
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4582
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4603
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RadioControlRegistry, providedIn: 'root' });
|
|
4583
4604
|
}
|
|
4584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RadioControlRegistry, decorators: [{
|
|
4585
4606
|
type: Injectable,
|
|
4586
4607
|
args: [{ providedIn: 'root' }]
|
|
4587
4608
|
}] });
|
|
@@ -4724,10 +4745,10 @@ class RadioControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4724
4745
|
if (!this.name && this.formControlName)
|
|
4725
4746
|
this.name = this.formControlName;
|
|
4726
4747
|
}
|
|
4727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4728
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4748
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RadioControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RadioControlRegistry }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4749
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: RadioControlValueAccessor, isStandalone: false, 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 });
|
|
4729
4750
|
}
|
|
4730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RadioControlValueAccessor, decorators: [{
|
|
4731
4752
|
type: Directive,
|
|
4732
4753
|
args: [{
|
|
4733
4754
|
selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
|
|
@@ -4789,10 +4810,10 @@ class RangeValueAccessor extends BuiltInControlValueAccessor {
|
|
|
4789
4810
|
fn(value == '' ? null : parseFloat(value));
|
|
4790
4811
|
};
|
|
4791
4812
|
}
|
|
4792
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4793
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RangeValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4814
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: RangeValueAccessor, isStandalone: false, 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 });
|
|
4794
4815
|
}
|
|
4795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RangeValueAccessor, decorators: [{
|
|
4796
4817
|
type: Directive,
|
|
4797
4818
|
args: [{
|
|
4798
4819
|
selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',
|
|
@@ -4939,10 +4960,10 @@ class FormControlDirective extends NgControl {
|
|
|
4939
4960
|
_isControlChanged(changes) {
|
|
4940
4961
|
return changes.hasOwnProperty('form');
|
|
4941
4962
|
}
|
|
4942
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4943
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
4963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
4964
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: FormControlDirective, isStandalone: false, 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 });
|
|
4944
4965
|
}
|
|
4945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
4966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormControlDirective, decorators: [{
|
|
4946
4967
|
type: Directive,
|
|
4947
4968
|
args: [{
|
|
4948
4969
|
selector: '[formControl]',
|
|
@@ -5307,10 +5328,10 @@ class FormGroupDirective extends ControlContainer {
|
|
|
5307
5328
|
throw missingFormException();
|
|
5308
5329
|
}
|
|
5309
5330
|
}
|
|
5310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5311
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
5331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
5332
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: FormGroupDirective, isStandalone: false, 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 });
|
|
5312
5333
|
}
|
|
5313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormGroupDirective, decorators: [{
|
|
5314
5335
|
type: Directive,
|
|
5315
5336
|
args: [{
|
|
5316
5337
|
selector: '[formGroup]',
|
|
@@ -5419,10 +5440,10 @@ class FormGroupName extends AbstractFormGroupDirective {
|
|
|
5419
5440
|
throw groupParentException();
|
|
5420
5441
|
}
|
|
5421
5442
|
}
|
|
5422
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5423
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
5443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
5444
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: FormGroupName, isStandalone: false, selector: "[formGroupName]", inputs: { name: ["formGroupName", "name"] }, providers: [formGroupNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5424
5445
|
}
|
|
5425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormGroupName, decorators: [{
|
|
5426
5447
|
type: Directive,
|
|
5427
5448
|
args: [{
|
|
5428
5449
|
selector: '[formGroupName]',
|
|
@@ -5547,10 +5568,10 @@ class FormArrayName extends ControlContainer {
|
|
|
5547
5568
|
throw arrayParentException();
|
|
5548
5569
|
}
|
|
5549
5570
|
}
|
|
5550
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5551
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
5571
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
5572
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: FormArrayName, isStandalone: false, selector: "[formArrayName]", inputs: { name: ["formArrayName", "name"] }, providers: [formArrayNameProvider], usesInheritance: true, ngImport: i0 });
|
|
5552
5573
|
}
|
|
5553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormArrayName, decorators: [{
|
|
5554
5575
|
type: Directive,
|
|
5555
5576
|
args: [{
|
|
5556
5577
|
selector: '[formArrayName]',
|
|
@@ -5748,10 +5769,10 @@ class FormControlName extends NgControl {
|
|
|
5748
5769
|
this.control = this.formDirective.addControl(this);
|
|
5749
5770
|
this._added = true;
|
|
5750
5771
|
}
|
|
5751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5752
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
5772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.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 });
|
|
5773
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: FormControlName, isStandalone: false, selector: "[formControlName]", inputs: { name: ["formControlName", "name"], isDisabled: ["disabled", "isDisabled"], model: ["ngModel", "model"] }, outputs: { update: "ngModelChange" }, providers: [controlNameBinding], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5753
5774
|
}
|
|
5754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormControlName, decorators: [{
|
|
5755
5776
|
type: Directive,
|
|
5756
5777
|
args: [{
|
|
5757
5778
|
selector: '[formControlName]',
|
|
@@ -5931,10 +5952,10 @@ class SelectControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
5931
5952
|
const id = _extractId$1(valueString);
|
|
5932
5953
|
return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;
|
|
5933
5954
|
}
|
|
5934
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5935
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
5955
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: SelectControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5956
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: SelectControlValueAccessor, isStandalone: false, 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 });
|
|
5936
5957
|
}
|
|
5937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
5958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: SelectControlValueAccessor, decorators: [{
|
|
5938
5959
|
type: Directive,
|
|
5939
5960
|
args: [{
|
|
5940
5961
|
selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',
|
|
@@ -6005,10 +6026,10 @@ class NgSelectOption {
|
|
|
6005
6026
|
this._select.writeValue(this._select.value);
|
|
6006
6027
|
}
|
|
6007
6028
|
}
|
|
6008
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6009
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6029
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgSelectOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6030
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: NgSelectOption, isStandalone: false, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
6010
6031
|
}
|
|
6011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NgSelectOption, decorators: [{
|
|
6012
6033
|
type: Directive,
|
|
6013
6034
|
args: [{
|
|
6014
6035
|
selector: 'option',
|
|
@@ -6179,10 +6200,10 @@ class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
|
|
|
6179
6200
|
const id = _extractId(valueString);
|
|
6180
6201
|
return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;
|
|
6181
6202
|
}
|
|
6182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6183
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: SelectMultipleControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6204
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: SelectMultipleControlValueAccessor, isStandalone: false, 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 });
|
|
6184
6205
|
}
|
|
6185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: SelectMultipleControlValueAccessor, decorators: [{
|
|
6186
6207
|
type: Directive,
|
|
6187
6208
|
args: [{
|
|
6188
6209
|
selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',
|
|
@@ -6261,10 +6282,10 @@ class ɵNgSelectMultipleOption {
|
|
|
6261
6282
|
this._select.writeValue(this._select.value);
|
|
6262
6283
|
}
|
|
6263
6284
|
}
|
|
6264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6265
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6285
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵNgSelectMultipleOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectMultipleControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6286
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: ɵNgSelectMultipleOption, isStandalone: false, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 });
|
|
6266
6287
|
}
|
|
6267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵNgSelectMultipleOption, decorators: [{
|
|
6268
6289
|
type: Directive,
|
|
6269
6290
|
args: [{
|
|
6270
6291
|
selector: 'option',
|
|
@@ -6346,10 +6367,10 @@ class AbstractValidatorDirective {
|
|
|
6346
6367
|
enabled(input) {
|
|
6347
6368
|
return input != null /* both `null` and `undefined` */;
|
|
6348
6369
|
}
|
|
6349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6350
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6370
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: AbstractValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6371
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: AbstractValidatorDirective, isStandalone: true, usesOnChanges: true, ngImport: i0 });
|
|
6351
6372
|
}
|
|
6352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: AbstractValidatorDirective, decorators: [{
|
|
6353
6374
|
type: Directive
|
|
6354
6375
|
}] });
|
|
6355
6376
|
/**
|
|
@@ -6394,10 +6415,10 @@ class MaxValidator extends AbstractValidatorDirective {
|
|
|
6394
6415
|
normalizeInput = (input) => toFloat(input);
|
|
6395
6416
|
/** @internal */
|
|
6396
6417
|
createValidator = (max) => maxValidator(max);
|
|
6397
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6398
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6418
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6419
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: MaxValidator, isStandalone: false, 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 });
|
|
6399
6420
|
}
|
|
6400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MaxValidator, decorators: [{
|
|
6401
6422
|
type: Directive,
|
|
6402
6423
|
args: [{
|
|
6403
6424
|
selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',
|
|
@@ -6450,10 +6471,10 @@ class MinValidator extends AbstractValidatorDirective {
|
|
|
6450
6471
|
normalizeInput = (input) => toFloat(input);
|
|
6451
6472
|
/** @internal */
|
|
6452
6473
|
createValidator = (min) => minValidator(min);
|
|
6453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6454
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6475
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: MinValidator, isStandalone: false, 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 });
|
|
6455
6476
|
}
|
|
6456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MinValidator, decorators: [{
|
|
6457
6478
|
type: Directive,
|
|
6458
6479
|
args: [{
|
|
6459
6480
|
selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',
|
|
@@ -6517,10 +6538,10 @@ class RequiredValidator extends AbstractValidatorDirective {
|
|
|
6517
6538
|
enabled(input) {
|
|
6518
6539
|
return input;
|
|
6519
6540
|
}
|
|
6520
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6521
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6541
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6542
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: RequiredValidator, isStandalone: false, 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 });
|
|
6522
6543
|
}
|
|
6523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: RequiredValidator, decorators: [{
|
|
6524
6545
|
type: Directive,
|
|
6525
6546
|
args: [{
|
|
6526
6547
|
selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',
|
|
@@ -6555,10 +6576,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
6555
6576
|
class CheckboxRequiredValidator extends RequiredValidator {
|
|
6556
6577
|
/** @internal */
|
|
6557
6578
|
createValidator = (input) => requiredTrueValidator;
|
|
6558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6559
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6579
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: CheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6580
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: CheckboxRequiredValidator, isStandalone: false, 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 });
|
|
6560
6581
|
}
|
|
6561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: CheckboxRequiredValidator, decorators: [{
|
|
6562
6583
|
type: Directive,
|
|
6563
6584
|
args: [{
|
|
6564
6585
|
selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',
|
|
@@ -6619,10 +6640,10 @@ class EmailValidator extends AbstractValidatorDirective {
|
|
|
6619
6640
|
enabled(input) {
|
|
6620
6641
|
return input;
|
|
6621
6642
|
}
|
|
6622
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6623
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6643
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: EmailValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6644
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: EmailValidator, isStandalone: false, selector: "[email][formControlName],[email][formControl],[email][ngModel]", inputs: { email: "email" }, providers: [EMAIL_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6624
6645
|
}
|
|
6625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: EmailValidator, decorators: [{
|
|
6626
6647
|
type: Directive,
|
|
6627
6648
|
args: [{
|
|
6628
6649
|
selector: '[email][formControlName],[email][formControl],[email][ngModel]',
|
|
@@ -6674,10 +6695,10 @@ class MinLengthValidator extends AbstractValidatorDirective {
|
|
|
6674
6695
|
normalizeInput = (input) => toInteger(input);
|
|
6675
6696
|
/** @internal */
|
|
6676
6697
|
createValidator = (minlength) => minLengthValidator(minlength);
|
|
6677
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6678
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MinLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6699
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: MinLengthValidator, isStandalone: false, 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 });
|
|
6679
6700
|
}
|
|
6680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MinLengthValidator, decorators: [{
|
|
6681
6702
|
type: Directive,
|
|
6682
6703
|
args: [{
|
|
6683
6704
|
selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
|
|
@@ -6730,10 +6751,10 @@ class MaxLengthValidator extends AbstractValidatorDirective {
|
|
|
6730
6751
|
normalizeInput = (input) => toInteger(input);
|
|
6731
6752
|
/** @internal */
|
|
6732
6753
|
createValidator = (maxlength) => maxLengthValidator(maxlength);
|
|
6733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6734
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MaxLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6755
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: MaxLengthValidator, isStandalone: false, 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 });
|
|
6735
6756
|
}
|
|
6736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: MaxLengthValidator, decorators: [{
|
|
6737
6758
|
type: Directive,
|
|
6738
6759
|
args: [{
|
|
6739
6760
|
selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
|
|
@@ -6788,10 +6809,10 @@ class PatternValidator extends AbstractValidatorDirective {
|
|
|
6788
6809
|
normalizeInput = (input) => input;
|
|
6789
6810
|
/** @internal */
|
|
6790
6811
|
createValidator = (input) => patternValidator(input);
|
|
6791
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6792
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: PatternValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6813
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.2", type: PatternValidator, isStandalone: false, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: { pattern: "pattern" }, host: { properties: { "attr.pattern": "_enabled ? pattern : null" } }, providers: [PATTERN_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
6793
6814
|
}
|
|
6794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: PatternValidator, decorators: [{
|
|
6795
6816
|
type: Directive,
|
|
6796
6817
|
args: [{
|
|
6797
6818
|
selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',
|
|
@@ -6837,8 +6858,8 @@ const REACTIVE_DRIVEN_DIRECTIVES = [
|
|
|
6837
6858
|
* Internal module used for sharing directives between FormsModule and ReactiveFormsModule
|
|
6838
6859
|
*/
|
|
6839
6860
|
class ɵInternalFormsSharedModule {
|
|
6840
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6841
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
6861
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6862
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, declarations: [ɵNgNoValidate,
|
|
6842
6863
|
NgSelectOption,
|
|
6843
6864
|
ɵNgSelectMultipleOption,
|
|
6844
6865
|
DefaultValueAccessor,
|
|
@@ -6877,9 +6898,9 @@ class ɵInternalFormsSharedModule {
|
|
|
6877
6898
|
EmailValidator,
|
|
6878
6899
|
MinValidator,
|
|
6879
6900
|
MaxValidator] });
|
|
6880
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6901
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule });
|
|
6881
6902
|
}
|
|
6882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
6903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ɵInternalFormsSharedModule, decorators: [{
|
|
6883
6904
|
type: NgModule,
|
|
6884
6905
|
args: [{
|
|
6885
6906
|
declarations: SHARED_FORM_DIRECTIVES,
|
|
@@ -7531,10 +7552,10 @@ class FormBuilder {
|
|
|
7531
7552
|
return this.control(controls);
|
|
7532
7553
|
}
|
|
7533
7554
|
}
|
|
7534
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7535
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7556
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormBuilder, providedIn: 'root' });
|
|
7536
7557
|
}
|
|
7537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormBuilder, decorators: [{
|
|
7538
7559
|
type: Injectable,
|
|
7539
7560
|
args: [{ providedIn: 'root' }]
|
|
7540
7561
|
}] });
|
|
@@ -7546,10 +7567,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
7546
7567
|
* @publicApi
|
|
7547
7568
|
*/
|
|
7548
7569
|
class NonNullableFormBuilder {
|
|
7549
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7550
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NonNullableFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7571
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NonNullableFormBuilder, providedIn: 'root', useFactory: () => inject(FormBuilder).nonNullable });
|
|
7551
7572
|
}
|
|
7552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: NonNullableFormBuilder, decorators: [{
|
|
7553
7574
|
type: Injectable,
|
|
7554
7575
|
args: [{
|
|
7555
7576
|
providedIn: 'root',
|
|
@@ -7575,10 +7596,10 @@ class UntypedFormBuilder extends FormBuilder {
|
|
|
7575
7596
|
array(controlsConfig, validatorOrOpts, asyncValidator) {
|
|
7576
7597
|
return super.array(controlsConfig, validatorOrOpts, asyncValidator);
|
|
7577
7598
|
}
|
|
7578
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7579
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: UntypedFormBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
7600
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: UntypedFormBuilder, providedIn: 'root' });
|
|
7580
7601
|
}
|
|
7581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: UntypedFormBuilder, decorators: [{
|
|
7582
7603
|
type: Injectable,
|
|
7583
7604
|
args: [{ providedIn: 'root' }]
|
|
7584
7605
|
}] });
|
|
@@ -7591,7 +7612,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1",
|
|
|
7591
7612
|
/**
|
|
7592
7613
|
* @publicApi
|
|
7593
7614
|
*/
|
|
7594
|
-
const VERSION = new Version('19.2.0-next.
|
|
7615
|
+
const VERSION = new Version('19.2.0-next.2');
|
|
7595
7616
|
|
|
7596
7617
|
/**
|
|
7597
7618
|
* Exports the required providers and directives for template-driven forms,
|
|
@@ -7622,11 +7643,11 @@ class FormsModule {
|
|
|
7622
7643
|
],
|
|
7623
7644
|
};
|
|
7624
7645
|
}
|
|
7625
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7626
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
7627
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7647
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] });
|
|
7648
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7628
7649
|
}
|
|
7629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: FormsModule, decorators: [{
|
|
7630
7651
|
type: NgModule,
|
|
7631
7652
|
args: [{
|
|
7632
7653
|
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
|
@@ -7668,11 +7689,11 @@ class ReactiveFormsModule {
|
|
|
7668
7689
|
],
|
|
7669
7690
|
};
|
|
7670
7691
|
}
|
|
7671
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7672
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
7673
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7693
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.2", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] });
|
|
7694
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] });
|
|
7674
7695
|
}
|
|
7675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
7696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.2", ngImport: i0, type: ReactiveFormsModule, decorators: [{
|
|
7676
7697
|
type: NgModule,
|
|
7677
7698
|
args: [{
|
|
7678
7699
|
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|