@lwc/engine-core 2.45.3 → 2.45.5
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/dist/index.cjs.js +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* proxy-compat-disable */
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (C) 2023 salesforce.com, inc.
|
|
3
4
|
*/
|
|
@@ -4492,7 +4493,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4492
4493
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4493
4494
|
setVMBeingRendered(slotset.owner);
|
|
4494
4495
|
try {
|
|
4495
|
-
|
|
4496
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4497
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4498
|
+
const { tro } = slotset.owner;
|
|
4499
|
+
tro.observe(() => {
|
|
4500
|
+
ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4501
|
+
});
|
|
4496
4502
|
}
|
|
4497
4503
|
finally {
|
|
4498
4504
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -6897,5 +6903,5 @@ function readonly(obj) {
|
|
|
6897
6903
|
}
|
|
6898
6904
|
|
|
6899
6905
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
6900
|
-
/** version: 2.45.
|
|
6906
|
+
/** version: 2.45.5 */
|
|
6901
6907
|
//# sourceMappingURL=index.js.map
|