@wavemaker/app-ng-runtime 11.5.0-next.24726 → 11.5.0-next.24727
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.
- app-ng-runtime/components/base/bundles/index.umd.js +3 -2
- app-ng-runtime/components/base/esm2020/widgets/common/base/partial-container.directive.mjs +4 -3
- app-ng-runtime/components/base/fesm2015/index.mjs +3 -2
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +3 -2
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -1997,8 +1997,9 @@ class PartialContainerDirective {
|
|
|
1997
1997
|
const componentFactory = await this.partialRefProvider.getComponentFactoryRef(nv, ComponentType.PARTIAL, { prefab: prefabName });
|
|
1998
1998
|
if (componentFactory) {
|
|
1999
1999
|
const instanceRef = this.vcRef.createComponent(componentFactory, 0, this.inj);
|
|
2000
|
-
if (instanceRef && instanceRef['
|
|
2001
|
-
|
|
2000
|
+
if (instanceRef && instanceRef['instance'] && prefabName) {
|
|
2001
|
+
// @ts-ignore
|
|
2002
|
+
instanceRef['instance'].prefabName = prefabName;
|
|
2002
2003
|
}
|
|
2003
2004
|
if (!this.$target) {
|
|
2004
2005
|
this.$target = this.elRef.nativeElement.querySelector('[partial-container-target]') || this.elRef.nativeElement;
|