@angular/core 18.2.10 → 18.2.12

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
175
175
  throw e;
176
176
  }
177
177
  }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: TestBedApplicationErrorHandler }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TestBedApplicationErrorHandler }); }
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
182
182
  type: Injectable
183
183
  }] });
184
184
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -4898,7 +4898,7 @@ declare type HostDirectiveBindingMap = {
4898
4898
  [publicName: string]: string;
4899
4899
  };
4900
4900
 
4901
- /** Values that can be used to define a host directive through the `HostDirectivesFeature`. */
4901
+ /** Value that can be used to configure a host directive. */
4902
4902
  declare type HostDirectiveConfig = Type<unknown> | {
4903
4903
  directive: Type<unknown>;
4904
4904
  inputs?: string[];
@@ -12750,8 +12750,17 @@ export declare interface ɵDirectiveDef<T> {
12750
12750
  * configuration. Host directives will be added to the map as they're being matched to the node.
12751
12751
  */
12752
12752
  findHostDirectiveDefs: ((currentDef: ɵDirectiveDef<unknown>, matchedDefs: ɵDirectiveDef<unknown>[], hostDirectiveDefs: HostDirectiveDefs) => void) | null;
12753
- /** Additional directives to be applied whenever the directive has been matched. */
12754
- hostDirectives: HostDirectiveDef[] | null;
12753
+ /**
12754
+ * Additional directives to be applied whenever the directive has been matched.
12755
+ *
12756
+ * `HostDirectiveConfig` objects represent a host directive that can be resolved eagerly and were
12757
+ * already pre-processed when the definition was created. A function needs to be resolved lazily
12758
+ * during directive matching, because it's a forward reference.
12759
+ *
12760
+ * **Note:** we can't `HostDirectiveConfig` in the array, because there's no way to distinguish if
12761
+ * a function in the array is a `Type` or a `() => HostDirectiveConfig[]`.
12762
+ */
12763
+ hostDirectives: (HostDirectiveDef | (() => HostDirectiveConfig[]))[] | null;
12755
12764
  setInput: (<U extends T>(this: ɵDirectiveDef<U>, instance: U, inputSignalNode: null | ɵInputSignalNode<unknown, unknown>, value: any, publicName: string, privateName: string) => void) | null;
12756
12765
  }
12757
12766
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "18.2.10",
3
+ "version": "18.2.12",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.10
2
+ * @license Angular v18.2.12
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */