@angular/forms
Advanced tools
| /** | ||
| * @license Angular v22.1.0 | ||
| * @license Angular v22.2.0-next.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
| /** | ||
| * @license Angular v22.1.0 | ||
| * @license Angular v22.2.0-next.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
+14
-14
| /** | ||
| * @license Angular v22.1.0 | ||
| * @license Angular v22.2.0-next.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -60,3 +60,3 @@ * License: MIT | ||
| const pathNode = FieldPathNode.unwrapFieldPath(path); | ||
| const logic = typeof configOrLogic === 'function' ? configOrLogic : configOrLogic.when; | ||
| const logic = typeof configOrLogic === 'function' ? configOrLogic : configOrLogic?.when ?? (() => true); | ||
| pathNode.builder.addHiddenRule(logic); | ||
@@ -1140,3 +1140,3 @@ } | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1149,3 +1149,3 @@ type: InputValidityMonitor, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1159,3 +1159,3 @@ type: InputValidityMonitor, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1226,3 +1226,3 @@ type: InputValidityMonitor, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1235,3 +1235,3 @@ type: AnimationInputValidityMonitor, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1243,3 +1243,3 @@ type: AnimationInputValidityMonitor | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1423,3 +1423,3 @@ type: AnimationInputValidityMonitor, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1432,3 +1432,3 @@ type: FormField, | ||
| minVersion: "17.1.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| type: FormField, | ||
@@ -1467,3 +1467,3 @@ isStandalone: true, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1521,3 +1521,3 @@ type: FormField, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1530,3 +1530,3 @@ type: FormRoot, | ||
| minVersion: "17.1.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| type: FormRoot, | ||
@@ -1557,3 +1557,3 @@ isStandalone: true, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0", | ||
| version: "22.2.0-next.0", | ||
| ngImport: i0, | ||
@@ -1560,0 +1560,0 @@ type: FormRoot, |
+4
-4
| { | ||
| "name": "@angular/forms", | ||
| "version": "22.1.0", | ||
| "version": "22.2.0-next.0", | ||
| "description": "Angular - directives and services for creating forms", | ||
@@ -20,5 +20,5 @@ "author": "angular", | ||
| "peerDependencies": { | ||
| "@angular/core": "22.1.0", | ||
| "@angular/common": "22.1.0", | ||
| "@angular/platform-browser": "22.1.0", | ||
| "@angular/core": "22.2.0-next.0", | ||
| "@angular/common": "22.2.0-next.0", | ||
| "@angular/platform-browser": "22.2.0-next.0", | ||
| "rxjs": "^6.5.3 || ^7.4.0" | ||
@@ -25,0 +25,0 @@ }, |
| /** | ||
| * @license Angular v22.1.0 | ||
| * @license Angular v22.2.0-next.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
| /** | ||
| * @license Angular v22.1.0 | ||
| * @license Angular v22.2.0-next.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -66,4 +66,4 @@ * License: MIT | ||
| */ | ||
| declare function hidden<TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config: { | ||
| when: NoInfer<LogicFn<TValue, boolean, TPathKind>>; | ||
| declare function hidden<TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config?: { | ||
| when?: NoInfer<LogicFn<TValue, boolean, TPathKind>>; | ||
| }): void; | ||
@@ -75,3 +75,3 @@ /** | ||
| */ | ||
| declare function hidden<TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, logic: NoInfer<LogicFn<TValue, boolean, TPathKind>>): void; | ||
| declare function hidden<TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, logic?: NoInfer<LogicFn<TValue, boolean, TPathKind>>): void; | ||
@@ -78,0 +78,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
1723106
0.07%3
50%