@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.
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/features/host_directives_feature.mjs +42 -23
- package/esm2022/src/render3/interfaces/definition.mjs +1 -1
- package/esm2022/src/render3/list_reconciliation.mjs +6 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +49 -27
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +13 -4
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +267 -267
- package/schematics/migrations/http-providers/bundle.js +270 -270
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +161 -161
- package/schematics/ng-generate/control-flow-migration/bundle.js +270 -270
- package/schematics/ng-generate/inject-migration/bundle.js +273 -273
- package/schematics/ng-generate/route-lazy-loading/bundle.js +269 -269
- package/schematics/ng-generate/standalone-migration/bundle.js +452 -451
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.2.
|
|
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.
|
|
179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
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.
|
|
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.
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
12754
|
-
|
|
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
package/rxjs-interop/index.d.ts
CHANGED