@angular/forms 21.0.0-next.5 → 21.0.0-next.6
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/signals.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-next.
|
|
2
|
+
* @license Angular v21.0.0-next.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1873,15 +1873,15 @@ class Control {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
};
|
|
1875
1875
|
}
|
|
1876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
1877
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.
|
|
1876
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.6", ngImport: i0, type: Control, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1877
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.6", type: Control, isStandalone: true, selector: "[control]", inputs: { _field: ["control", "_field"] }, providers: [
|
|
1878
1878
|
{
|
|
1879
1879
|
provide: NgControl,
|
|
1880
1880
|
useFactory: () => inject(Control).ngControl,
|
|
1881
1881
|
},
|
|
1882
1882
|
], ngImport: i0 });
|
|
1883
1883
|
}
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.6", ngImport: i0, type: Control, decorators: [{
|
|
1885
1885
|
type: Directive,
|
|
1886
1886
|
args: [{
|
|
1887
1887
|
selector: '[control]',
|
|
@@ -2461,10 +2461,11 @@ class FieldSubmitState {
|
|
|
2461
2461
|
serverErrors;
|
|
2462
2462
|
constructor(node) {
|
|
2463
2463
|
this.node = node;
|
|
2464
|
-
this.serverErrors = linkedSignal({
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2464
|
+
this.serverErrors = linkedSignal(...(ngDevMode ? [{ debugName: "serverErrors", source: this.node.structure.value,
|
|
2465
|
+
computation: () => [] }] : [{
|
|
2466
|
+
source: this.node.structure.value,
|
|
2467
|
+
computation: () => [],
|
|
2468
|
+
}]));
|
|
2468
2469
|
}
|
|
2469
2470
|
/**
|
|
2470
2471
|
* Whether this form is currently in the process of being submitted.
|