@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/fesm2015/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
|
*/
|
|
@@ -2574,7 +2574,6 @@ function extractDirectiveDef(type) {
|
|
|
2574
2574
|
function nonNull(value) {
|
|
2575
2575
|
return value !== null;
|
|
2576
2576
|
}
|
|
2577
|
-
const autoRegisterModuleById = {};
|
|
2578
2577
|
/**
|
|
2579
2578
|
* @codeGenApi
|
|
2580
2579
|
*/
|
|
@@ -2590,9 +2589,6 @@ function ɵɵdefineNgModule(def) {
|
|
|
2590
2589
|
schemas: def.schemas || null,
|
|
2591
2590
|
id: def.id || null,
|
|
2592
2591
|
};
|
|
2593
|
-
if (def.id != null) {
|
|
2594
|
-
autoRegisterModuleById[def.id] = def.type;
|
|
2595
|
-
}
|
|
2596
2592
|
return res;
|
|
2597
2593
|
});
|
|
2598
2594
|
}
|
|
@@ -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
|
|
@@ -13401,13 +13397,15 @@ function refreshContainsDirtyView(lView) {
|
|
|
13401
13397
|
for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
|
|
13402
13398
|
for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
|
|
13403
13399
|
const embeddedLView = lContainer[i];
|
|
13404
|
-
if (embeddedLView
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13400
|
+
if (viewAttachedToChangeDetector(embeddedLView)) {
|
|
13401
|
+
if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {
|
|
13402
|
+
const embeddedTView = embeddedLView[TVIEW];
|
|
13403
|
+
ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
|
|
13404
|
+
refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
|
|
13405
|
+
}
|
|
13406
|
+
else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
|
|
13407
|
+
refreshContainsDirtyView(embeddedLView);
|
|
13408
|
+
}
|
|
13411
13409
|
}
|
|
13412
13410
|
}
|
|
13413
13411
|
}
|