@angular/core 20.3.6 → 20.3.7
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/api.d.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +9 -1
- package/discovery.d.d.ts +1 -1
- package/effect.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/debug_node.mjs +15 -7
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +1 -1
- package/fesm2022/root_effect_scheduler.mjs +4 -2
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/formatter.d.d.ts +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/primitives/di/index.d.ts +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/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
- package/schematics/bundles/{apply_import_manager-_3Mx7H7A.cjs → apply_import_manager-uyMcu5_H.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-DXiKJabk.cjs → compiler_host-BUlxIpWP.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-BDeOF3Gn.cjs → index-Cqmu1RX0.cjs} +110 -64
- package/schematics/bundles/{index-C8BhVtUr.cjs → index-D_ZnW9ls.cjs} +4 -4
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-BlSjvHVC.cjs → migrate_ts_type_references-BhSLr3ZT.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-C8LDPZ5A.cjs → project_paths-C69HW-da.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-tTmeFlcz.cjs → project_tsconfig_paths-C1bhMy6X.cjs} +4 -4
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/router-current-navigation.cjs +4 -4
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
package/api.d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -743,6 +743,8 @@ interface DestroyableInjector extends Injector {
|
|
|
743
743
|
* is injected in a component or directive, the callbacks run when that component or
|
|
744
744
|
* directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed.
|
|
745
745
|
*
|
|
746
|
+
* @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref)
|
|
747
|
+
*
|
|
746
748
|
* @publicApi
|
|
747
749
|
*/
|
|
748
750
|
declare abstract class DestroyRef {
|
|
@@ -761,10 +763,16 @@ declare abstract class DestroyRef {
|
|
|
761
763
|
* // stop the destroy callback from executing if needed
|
|
762
764
|
* unregisterFn();
|
|
763
765
|
* ```
|
|
766
|
+
*
|
|
767
|
+
* @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref)
|
|
768
|
+
*
|
|
764
769
|
*/
|
|
765
770
|
abstract onDestroy(callback: () => void): () => void;
|
|
766
771
|
/**
|
|
767
772
|
* Indicates whether the instance has already been destroyed.
|
|
773
|
+
*
|
|
774
|
+
* @see [Detecting instance destruction](guide/components/lifecycle#detecting-instance-destruction)
|
|
775
|
+
*
|
|
768
776
|
*/
|
|
769
777
|
abstract get destroyed(): boolean;
|
|
770
778
|
}
|
package/discovery.d.d.ts
CHANGED
package/effect.d.d.ts
CHANGED
package/event_dispatcher.d.d.ts
CHANGED
package/fesm2022/attribute.mjs
CHANGED
package/fesm2022/core.mjs
CHANGED
package/fesm2022/debug_node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14630,7 +14630,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
14630
14630
|
}
|
|
14631
14631
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
14632
14632
|
const tAttributes = rootSelectorOrNode
|
|
14633
|
-
? ['ng-version', '20.3.
|
|
14633
|
+
? ['ng-version', '20.3.7']
|
|
14634
14634
|
: // Extract attributes and classes from the first selector only to match VE behavior.
|
|
14635
14635
|
extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
14636
14636
|
let creationBindings = null;
|
|
@@ -20810,7 +20810,7 @@ function scheduleDelayedTrigger(scheduleFn) {
|
|
|
20810
20810
|
*
|
|
20811
20811
|
* @param scheduleFn A function that does the scheduling.
|
|
20812
20812
|
*/
|
|
20813
|
-
function scheduleDelayedPrefetching(scheduleFn
|
|
20813
|
+
function scheduleDelayedPrefetching(scheduleFn) {
|
|
20814
20814
|
if (typeof ngServerMode !== 'undefined' && ngServerMode)
|
|
20815
20815
|
return;
|
|
20816
20816
|
const lView = getLView();
|
|
@@ -22240,8 +22240,11 @@ function ɵɵanimateEnter(value) {
|
|
|
22240
22240
|
cancelLeavingNodes(tNode, lView);
|
|
22241
22241
|
addAnimationToLView(getLViewEnterAnimations(lView), tNode, () => runEnterAnimation(lView, tNode, value));
|
|
22242
22242
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
22243
|
-
//
|
|
22244
|
-
//
|
|
22243
|
+
// We have to queue here due to the animation instruction being invoked after the element
|
|
22244
|
+
// instruction. The DOM node has to exist before we can queue an animation. Any node that
|
|
22245
|
+
// is not inside of control flow needs to get queued here. For nodes inside of control
|
|
22246
|
+
// flow, those are queued in node_manipulation.ts and are deduped by a Set in the animation
|
|
22247
|
+
// queue.
|
|
22245
22248
|
queueEnterAnimations(lView[INJECTOR], getLViewEnterAnimations(lView));
|
|
22246
22249
|
return ɵɵanimateEnter; // For chaining
|
|
22247
22250
|
}
|
|
@@ -22340,8 +22343,11 @@ function ɵɵanimateEnterListener(value) {
|
|
|
22340
22343
|
cancelLeavingNodes(tNode, lView);
|
|
22341
22344
|
addAnimationToLView(getLViewEnterAnimations(lView), tNode, () => runEnterAnimationFunction(lView, tNode, value));
|
|
22342
22345
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
22343
|
-
//
|
|
22344
|
-
//
|
|
22346
|
+
// We have to queue here due to the animation instruction being invoked after the element
|
|
22347
|
+
// instruction. The DOM node has to exist before we can queue an animation. Any node that
|
|
22348
|
+
// is not inside of control flow needs to get queued here. For nodes inside of control
|
|
22349
|
+
// flow, those are queued in node_manipulation.ts and are deduped by a Set in the animation
|
|
22350
|
+
// queue.
|
|
22345
22351
|
queueEnterAnimations(lView[INJECTOR], getLViewEnterAnimations(lView));
|
|
22346
22352
|
return ɵɵanimateEnterListener;
|
|
22347
22353
|
}
|
|
@@ -22375,6 +22381,7 @@ function ɵɵanimateLeave(value) {
|
|
|
22375
22381
|
return ɵɵanimateLeave;
|
|
22376
22382
|
}
|
|
22377
22383
|
const tNode = getCurrentTNode();
|
|
22384
|
+
cancelLeavingNodes(tNode, lView);
|
|
22378
22385
|
addAnimationToLView(getLViewLeaveAnimations(lView), tNode, () => runLeaveAnimations(lView, tNode, value));
|
|
22379
22386
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
22380
22387
|
return ɵɵanimateLeave; // For chaining
|
|
@@ -22472,6 +22479,7 @@ function ɵɵanimateLeaveListener(value) {
|
|
|
22472
22479
|
// So we don't have an early return here.
|
|
22473
22480
|
const lView = getLView();
|
|
22474
22481
|
const tNode = getCurrentTNode();
|
|
22482
|
+
cancelLeavingNodes(tNode, lView);
|
|
22475
22483
|
allLeavingAnimations.add(lView);
|
|
22476
22484
|
addAnimationToLView(getLViewLeaveAnimations(lView), tNode, () => runLeaveAnimationFunction(lView, tNode, value));
|
|
22477
22485
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|