@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/core.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
|
*/
|
|
@@ -967,7 +967,6 @@ function extractDirectiveDef(type) {
|
|
|
967
967
|
function nonNull(value) {
|
|
968
968
|
return value !== null;
|
|
969
969
|
}
|
|
970
|
-
const autoRegisterModuleById = {};
|
|
971
970
|
/**
|
|
972
971
|
* @codeGenApi
|
|
973
972
|
*/
|
|
@@ -983,9 +982,6 @@ function ɵɵdefineNgModule(def) {
|
|
|
983
982
|
schemas: def.schemas || null,
|
|
984
983
|
id: def.id || null,
|
|
985
984
|
};
|
|
986
|
-
if (def.id != null) {
|
|
987
|
-
autoRegisterModuleById[def.id] = def.type;
|
|
988
|
-
}
|
|
989
985
|
return res;
|
|
990
986
|
});
|
|
991
987
|
}
|
|
@@ -7258,7 +7254,7 @@ class Version {
|
|
|
7258
7254
|
/**
|
|
7259
7255
|
* @publicApi
|
|
7260
7256
|
*/
|
|
7261
|
-
const VERSION = new Version('14.1.
|
|
7257
|
+
const VERSION = new Version('14.1.2');
|
|
7262
7258
|
|
|
7263
7259
|
/**
|
|
7264
7260
|
* @license
|
|
@@ -13099,13 +13095,15 @@ function refreshContainsDirtyView(lView) {
|
|
|
13099
13095
|
for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
|
|
13100
13096
|
for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
|
|
13101
13097
|
const embeddedLView = lContainer[i];
|
|
13102
|
-
if (embeddedLView
|
|
13103
|
-
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13098
|
+
if (viewAttachedToChangeDetector(embeddedLView)) {
|
|
13099
|
+
if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {
|
|
13100
|
+
const embeddedTView = embeddedLView[TVIEW];
|
|
13101
|
+
ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
|
|
13102
|
+
refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
|
|
13103
|
+
}
|
|
13104
|
+
else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
|
|
13105
|
+
refreshContainsDirtyView(embeddedLView);
|
|
13106
|
+
}
|
|
13109
13107
|
}
|
|
13110
13108
|
}
|
|
13111
13109
|
}
|