@angular/core 21.1.3 → 21.1.4
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 +12 -12
- 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 +1 -1
- 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 -1
- 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 +1 -1
- 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 +1 -1
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +1 -1
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- 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":["../../../../../k8-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.4
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8327,7 +8327,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
8327
8327
|
}
|
|
8328
8328
|
}
|
|
8329
8329
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
8330
|
-
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.1.
|
|
8330
|
+
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.1.4'] : extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
8331
8331
|
let creationBindings = null;
|
|
8332
8332
|
let updateBindings = null;
|
|
8333
8333
|
let varsToAllocate = 0;
|
|
@@ -13065,16 +13065,16 @@ function ɵɵanimateEnter(value) {
|
|
|
13065
13065
|
}
|
|
13066
13066
|
const tNode = getCurrentTNode();
|
|
13067
13067
|
cancelLeavingNodes(tNode, lView);
|
|
13068
|
-
|
|
13068
|
+
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13069
|
+
addAnimationToLView(getLViewEnterAnimations(lView), tNode, () => runEnterAnimation(lView, tNode, value, ngZone));
|
|
13069
13070
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
13070
13071
|
queueEnterAnimations(lView[INJECTOR], getLViewEnterAnimations(lView));
|
|
13071
13072
|
return ɵɵanimateEnter;
|
|
13072
13073
|
}
|
|
13073
|
-
function runEnterAnimation(lView, tNode, value) {
|
|
13074
|
+
function runEnterAnimation(lView, tNode, value, ngZone) {
|
|
13074
13075
|
const nativeElement = getNativeByTNode(tNode, lView);
|
|
13075
13076
|
ngDevMode && assertElementNodes(nativeElement, 'animate.enter');
|
|
13076
13077
|
const renderer = lView[RENDERER];
|
|
13077
|
-
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13078
13078
|
const activeClasses = getClassListFromValue(value);
|
|
13079
13079
|
const cleanupFns = [];
|
|
13080
13080
|
const handleEnterAnimationStart = event => {
|
|
@@ -13159,11 +13159,12 @@ function ɵɵanimateLeave(value) {
|
|
|
13159
13159
|
}
|
|
13160
13160
|
const tNode = getCurrentTNode();
|
|
13161
13161
|
cancelLeavingNodes(tNode, lView);
|
|
13162
|
-
|
|
13162
|
+
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13163
|
+
addAnimationToLView(getLViewLeaveAnimations(lView), tNode, () => runLeaveAnimations(lView, tNode, value, ngZone));
|
|
13163
13164
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
13164
13165
|
return ɵɵanimateLeave;
|
|
13165
13166
|
}
|
|
13166
|
-
function runLeaveAnimations(lView, tNode, value) {
|
|
13167
|
+
function runLeaveAnimations(lView, tNode, value, ngZone) {
|
|
13167
13168
|
const {
|
|
13168
13169
|
promise,
|
|
13169
13170
|
resolve
|
|
@@ -13171,7 +13172,6 @@ function runLeaveAnimations(lView, tNode, value) {
|
|
|
13171
13172
|
const nativeElement = getNativeByTNode(tNode, lView);
|
|
13172
13173
|
ngDevMode && assertElementNodes(nativeElement, 'animate.leave');
|
|
13173
13174
|
const renderer = lView[RENDERER];
|
|
13174
|
-
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13175
13175
|
allLeavingAnimations.add(lView[ID]);
|
|
13176
13176
|
(getLViewLeaveAnimations(lView).get(tNode.index).resolvers ??= []).push(resolve);
|
|
13177
13177
|
const activeClasses = getClassListFromValue(value);
|
|
@@ -13233,11 +13233,13 @@ function ɵɵanimateLeaveListener(value) {
|
|
|
13233
13233
|
const tNode = getCurrentTNode();
|
|
13234
13234
|
cancelLeavingNodes(tNode, lView);
|
|
13235
13235
|
allLeavingAnimations.add(lView[ID]);
|
|
13236
|
-
|
|
13236
|
+
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13237
|
+
const maxAnimationTimeout = lView[INJECTOR].get(MAX_ANIMATION_TIMEOUT);
|
|
13238
|
+
addAnimationToLView(getLViewLeaveAnimations(lView), tNode, () => runLeaveAnimationFunction(lView, tNode, value, ngZone, maxAnimationTimeout));
|
|
13237
13239
|
initializeAnimationQueueScheduler(lView[INJECTOR]);
|
|
13238
13240
|
return ɵɵanimateLeaveListener;
|
|
13239
13241
|
}
|
|
13240
|
-
function runLeaveAnimationFunction(lView, tNode, value) {
|
|
13242
|
+
function runLeaveAnimationFunction(lView, tNode, value, ngZone, maxAnimationTimeout) {
|
|
13241
13243
|
const {
|
|
13242
13244
|
promise,
|
|
13243
13245
|
resolve
|
|
@@ -13247,8 +13249,6 @@ function runLeaveAnimationFunction(lView, tNode, value) {
|
|
|
13247
13249
|
const cleanupFns = [];
|
|
13248
13250
|
const renderer = lView[RENDERER];
|
|
13249
13251
|
const animationsDisabled = areAnimationsDisabled(lView);
|
|
13250
|
-
const ngZone = lView[INJECTOR].get(NgZone);
|
|
13251
|
-
const maxAnimationTimeout = lView[INJECTOR].get(MAX_ANIMATION_TIMEOUT);
|
|
13252
13252
|
(getLViewLeaveAnimations(lView).get(tNode.index).resolvers ??= []).push(resolve);
|
|
13253
13253
|
const resolvers = getLViewLeaveAnimations(lView).get(tNode.index)?.resolvers;
|
|
13254
13254
|
if (animationsDisabled) {
|