@angular/core 14.1.1 → 14.1.2
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/esm2020/src/render3/definition.mjs +1 -5
- package/esm2020/src/render3/instructions/shared.mjs +10 -8
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +11 -13
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +11 -13
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +11 -13
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +11 -13
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
package/fesm2020/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.1.
|
|
2
|
+
* @license Angular v14.1.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2573,7 +2573,6 @@ function extractDirectiveDef(type) {
|
|
|
2573
2573
|
function nonNull(value) {
|
|
2574
2574
|
return value !== null;
|
|
2575
2575
|
}
|
|
2576
|
-
const autoRegisterModuleById = {};
|
|
2577
2576
|
/**
|
|
2578
2577
|
* @codeGenApi
|
|
2579
2578
|
*/
|
|
@@ -2589,9 +2588,6 @@ function ɵɵdefineNgModule(def) {
|
|
|
2589
2588
|
schemas: def.schemas || null,
|
|
2590
2589
|
id: def.id || null,
|
|
2591
2590
|
};
|
|
2592
|
-
if (def.id != null) {
|
|
2593
|
-
autoRegisterModuleById[def.id] = def.type;
|
|
2594
|
-
}
|
|
2595
2591
|
return res;
|
|
2596
2592
|
});
|
|
2597
2593
|
}
|
|
@@ -7618,7 +7614,7 @@ class Version {
|
|
|
7618
7614
|
/**
|
|
7619
7615
|
* @publicApi
|
|
7620
7616
|
*/
|
|
7621
|
-
const VERSION = new Version('14.1.
|
|
7617
|
+
const VERSION = new Version('14.1.2');
|
|
7622
7618
|
|
|
7623
7619
|
/**
|
|
7624
7620
|
* @license
|
|
@@ -13399,13 +13395,15 @@ function refreshContainsDirtyView(lView) {
|
|
|
13399
13395
|
for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
|
|
13400
13396
|
for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
|
|
13401
13397
|
const embeddedLView = lContainer[i];
|
|
13402
|
-
if (embeddedLView
|
|
13403
|
-
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13398
|
+
if (viewAttachedToChangeDetector(embeddedLView)) {
|
|
13399
|
+
if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {
|
|
13400
|
+
const embeddedTView = embeddedLView[TVIEW];
|
|
13401
|
+
ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
|
|
13402
|
+
refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
|
|
13403
|
+
}
|
|
13404
|
+
else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
|
|
13405
|
+
refreshContainsDirtyView(embeddedLView);
|
|
13406
|
+
}
|
|
13409
13407
|
}
|
|
13410
13408
|
}
|
|
13411
13409
|
}
|