@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
|
@@ -3783,28 +3783,35 @@ const findParent = (lView, viewParentApp) => {
|
|
|
3783
3783
|
return parent ? parent : viewParentApp;
|
|
3784
3784
|
};
|
|
3785
3785
|
const findViewParent = (lView) => {
|
|
3786
|
-
|
|
3786
|
+
return lView[16][8];
|
|
3787
|
+
/*if(lView[3] === null) {
|
|
3787
3788
|
return lView[8];
|
|
3788
3789
|
}
|
|
3789
3790
|
let parentlView = lView[3];
|
|
3790
|
-
if
|
|
3791
|
+
if(typeof lView[1] === "boolean") {
|
|
3791
3792
|
return findViewParent(parentlView);
|
|
3792
3793
|
}
|
|
3793
3794
|
let componentType = lView[1]["type"];
|
|
3794
|
-
if
|
|
3795
|
+
if(componentType === 0 || componentType === 1) {
|
|
3795
3796
|
let p = lView[8];
|
|
3796
3797
|
// ts-ignore
|
|
3797
|
-
if
|
|
3798
|
+
if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
|
|
3798
3799
|
return findViewParent(parentlView);
|
|
3799
|
-
}
|
|
3800
|
-
else {
|
|
3800
|
+
} else {
|
|
3801
3801
|
return p;
|
|
3802
3802
|
}
|
|
3803
|
-
}
|
|
3804
|
-
else {
|
|
3803
|
+
} else {
|
|
3805
3804
|
return findViewParent(parentlView);
|
|
3806
|
-
}
|
|
3805
|
+
}*/
|
|
3807
3806
|
};
|
|
3807
|
+
/*export const getParent = (parent: any) => {
|
|
3808
|
+
if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
|
|
3809
|
+
return parent
|
|
3810
|
+
} else{
|
|
3811
|
+
return parent.viewParent ? getParent(parent.viewParent) : parent;
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
}*/
|
|
3808
3815
|
|
|
3809
3816
|
var Utils = /*#__PURE__*/Object.freeze({
|
|
3810
3817
|
__proto__: null,
|