@wavemaker/app-ng-runtime 11.5.0-next.26225 → 11.5.0-next.26227
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 +1 -15
- app-ng-runtime/components/base/esm2020/widgets/common/partial-param/partial-param.directive.mjs +2 -16
- app-ng-runtime/components/base/fesm2015/index.mjs +1 -15
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +1 -15
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/partial-param/partial-param.directive.d.ts +0 -1
- app-ng-runtime/core/bundles/index.umd.js +16 -9
- app-ng-runtime/core/esm2020/utils/utils.mjs +17 -10
- app-ng-runtime/core/fesm2015/index.mjs +16 -9
- app-ng-runtime/core/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/core/fesm2020/index.mjs +16 -9
- app-ng-runtime/core/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -3785,28 +3785,35 @@ const findParent = (lView, viewParentApp) => {
|
|
|
3785
3785
|
return parent ? parent : viewParentApp;
|
|
3786
3786
|
};
|
|
3787
3787
|
const findViewParent = (lView) => {
|
|
3788
|
-
|
|
3788
|
+
return lView[16][8];
|
|
3789
|
+
/*if(lView[3] === null) {
|
|
3789
3790
|
return lView[8];
|
|
3790
3791
|
}
|
|
3791
3792
|
let parentlView = lView[3];
|
|
3792
|
-
if
|
|
3793
|
+
if(typeof lView[1] === "boolean") {
|
|
3793
3794
|
return findViewParent(parentlView);
|
|
3794
3795
|
}
|
|
3795
3796
|
let componentType = lView[1]["type"];
|
|
3796
|
-
if
|
|
3797
|
+
if(componentType === 0 || componentType === 1) {
|
|
3797
3798
|
let p = lView[8];
|
|
3798
3799
|
// ts-ignore
|
|
3799
|
-
if
|
|
3800
|
+
if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
|
|
3800
3801
|
return findViewParent(parentlView);
|
|
3801
|
-
}
|
|
3802
|
-
else {
|
|
3802
|
+
} else {
|
|
3803
3803
|
return p;
|
|
3804
3804
|
}
|
|
3805
|
-
}
|
|
3806
|
-
else {
|
|
3805
|
+
} else {
|
|
3807
3806
|
return findViewParent(parentlView);
|
|
3808
|
-
}
|
|
3807
|
+
}*/
|
|
3809
3808
|
};
|
|
3809
|
+
/*export const getParent = (parent: any) => {
|
|
3810
|
+
if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
|
|
3811
|
+
return parent
|
|
3812
|
+
} else{
|
|
3813
|
+
return parent.viewParent ? getParent(parent.viewParent) : parent;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
}*/
|
|
3810
3817
|
|
|
3811
3818
|
var Utils = /*#__PURE__*/Object.freeze({
|
|
3812
3819
|
__proto__: null,
|