@angular/core 21.1.1 → 21.1.3
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/_attribute-chunk.mjs +1 -1
- package/fesm2022/_attribute-chunk.mjs.map +1 -1
- package/fesm2022/_debug_node-chunk.mjs +23 -9
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +1 -1
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +5 -2
- package/fesm2022/_linked_signal-chunk.mjs.map +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs.map +1 -1
- package/fesm2022/_resource-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +2 -2
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +1 -1
- package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
- package/fesm2022/core.mjs +1 -5
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +1 -1
- package/fesm2022/primitives-di.mjs.map +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +2 -2
- package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives-signals.mjs +1 -1
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/application-config-core.cjs +1 -1
- package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
- package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
- package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/imports-CVmcbVA9.cjs +1 -1
- package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references-CV7qdt5t.cjs +1 -1
- package/schematics/bundles/ng_component_template-BOuKAnQd.cjs +1 -1
- package/schematics/bundles/ng_decorators-DYy6II6x.cjs +1 -1
- package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
- package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
- package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
- package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
- package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
- package/schematics/bundles/router-testing-module-migration.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-DZeHSR-V.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
- package/types/_discovery-chunk.d.ts +9 -27
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +2 -2
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +2 -5
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +3 -3
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_attribute-chunk.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"_attribute-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/core/primitives/event-dispatch/src/attribute.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport const Attribute = {\n /**\n * The jsaction attribute defines a mapping of a DOM event to a\n * generic event (aka jsaction), to which the actual event handlers\n * that implement the behavior of the application are bound. The\n * value is a semicolon separated list of colon separated pairs of\n * an optional DOM event name and a jsaction name. If the optional\n * DOM event name is omitted, 'click' is assumed. The jsaction names\n * are dot separated pairs of a namespace and a simple jsaction\n * name.\n *\n * See grammar in README.md for expected syntax in the attribute value.\n */\n JSACTION: 'jsaction' as const,\n};\n"],"names":["Attribute","JSACTION"],"mappings":";;;;;;AAQO,MAAMA,SAAS,GAAG;AAavBC,EAAAA,QAAQ,EAAE;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.
|
|
2
|
+
* @license Angular v21.1.3
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1017,8 +1017,9 @@ function getNodeInjectable(lView, tView, index, tNode, flags) {
|
|
|
1017
1017
|
const factory = value;
|
|
1018
1018
|
ngDevMode && injectionPath.push(factory.name ?? 'unknown');
|
|
1019
1019
|
if (factory.resolving) {
|
|
1020
|
-
|
|
1020
|
+
let token = '';
|
|
1021
1021
|
if (ngDevMode) {
|
|
1022
|
+
token = stringifyForError(tData[index]);
|
|
1022
1023
|
throw cyclicDependencyErrorWithDetails(token, injectionPath);
|
|
1023
1024
|
} else {
|
|
1024
1025
|
throw cyclicDependencyError(token);
|
|
@@ -4357,6 +4358,16 @@ function queueEnterAnimations(injector, enterAnimations) {
|
|
|
4357
4358
|
addToAnimationQueue(injector, nodeAnimations.animateFns);
|
|
4358
4359
|
}
|
|
4359
4360
|
}
|
|
4361
|
+
function removeAnimationsFromQueue(injector, animationFns) {
|
|
4362
|
+
const animationQueue = injector.get(ANIMATION_QUEUE);
|
|
4363
|
+
if (Array.isArray(animationFns)) {
|
|
4364
|
+
for (const animateFn of animationFns) {
|
|
4365
|
+
animationQueue.queue.delete(animateFn);
|
|
4366
|
+
}
|
|
4367
|
+
} else {
|
|
4368
|
+
animationQueue.queue.delete(animationFns);
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4360
4371
|
|
|
4361
4372
|
function maybeQueueEnterAnimation(parentLView, parent, tNode, injector) {
|
|
4362
4373
|
const enterAnimations = parentLView?.[ANIMATIONS]?.enter;
|
|
@@ -4492,6 +4503,9 @@ function cleanUpView(tView, lView) {
|
|
|
4492
4503
|
}
|
|
4493
4504
|
function runLeaveAnimationsWithCallback(lView, tNode, injector, callback) {
|
|
4494
4505
|
const animations = lView?.[ANIMATIONS];
|
|
4506
|
+
if (animations?.enter?.has(tNode.index)) {
|
|
4507
|
+
removeAnimationsFromQueue(injector, animations.enter.get(tNode.index).animateFns);
|
|
4508
|
+
}
|
|
4495
4509
|
if (animations == null || animations.leave == undefined || !animations.leave.has(tNode.index)) return callback(false);
|
|
4496
4510
|
if (lView) allLeavingAnimations.add(lView[ID]);
|
|
4497
4511
|
addToAnimationQueue(injector, () => {
|
|
@@ -7287,10 +7301,10 @@ function verifyStandaloneImport(depType, importingType) {
|
|
|
7287
7301
|
}
|
|
7288
7302
|
|
|
7289
7303
|
class DepsTracker {
|
|
7290
|
-
ownerNgModule = new
|
|
7304
|
+
ownerNgModule = new WeakMap();
|
|
7291
7305
|
ngModulesWithSomeUnresolvedDecls = new Set();
|
|
7292
|
-
ngModulesScopeCache = new
|
|
7293
|
-
standaloneComponentsScopeCache = new
|
|
7306
|
+
ngModulesScopeCache = new WeakMap();
|
|
7307
|
+
standaloneComponentsScopeCache = new WeakMap();
|
|
7294
7308
|
resolveNgModulesDecls() {
|
|
7295
7309
|
if (this.ngModulesWithSomeUnresolvedDecls.size === 0) {
|
|
7296
7310
|
return;
|
|
@@ -8313,7 +8327,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
8313
8327
|
}
|
|
8314
8328
|
}
|
|
8315
8329
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
8316
|
-
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.1.
|
|
8330
|
+
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.1.3'] : extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
8317
8331
|
let creationBindings = null;
|
|
8318
8332
|
let updateBindings = null;
|
|
8319
8333
|
let varsToAllocate = 0;
|
|
@@ -16392,18 +16406,18 @@ function ɵɵtext(index, value = '') {
|
|
|
16392
16406
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
16393
16407
|
ngDevMode && assertTNodeCreationIndex(lView, index);
|
|
16394
16408
|
const tNode = tView.firstCreatePass ? getOrCreateTNode(tView, adjustedIndex, 1, value, null) : tView.data[adjustedIndex];
|
|
16395
|
-
const textNative = _locateOrCreateTextNode(tView, lView, tNode, value
|
|
16409
|
+
const textNative = _locateOrCreateTextNode(tView, lView, tNode, value);
|
|
16396
16410
|
lView[adjustedIndex] = textNative;
|
|
16397
16411
|
if (wasLastNodeCreated()) {
|
|
16398
16412
|
appendChild(tView, lView, textNative, tNode);
|
|
16399
16413
|
}
|
|
16400
16414
|
setCurrentTNode(tNode, false);
|
|
16401
16415
|
}
|
|
16402
|
-
let _locateOrCreateTextNode = (tView, lView, tNode, value
|
|
16416
|
+
let _locateOrCreateTextNode = (tView, lView, tNode, value) => {
|
|
16403
16417
|
lastNodeWasCreated(true);
|
|
16404
16418
|
return createTextNode(lView[RENDERER], value);
|
|
16405
16419
|
};
|
|
16406
|
-
function locateOrCreateTextNodeImpl(tView, lView, tNode, value
|
|
16420
|
+
function locateOrCreateTextNodeImpl(tView, lView, tNode, value) {
|
|
16407
16421
|
const isNodeCreationMode = !canHydrateNode(lView, tNode);
|
|
16408
16422
|
lastNodeWasCreated(isNodeCreationMode);
|
|
16409
16423
|
if (isNodeCreationMode) {
|