@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
|
@@ -4,7 +4,6 @@ export declare class PartialParamHandlerDirective {
|
|
|
4
4
|
private widgetRef;
|
|
5
5
|
constructor(widgetRef: any);
|
|
6
6
|
registerParams(name: string, value: string, bindExpr: string, type: string): void;
|
|
7
|
-
getViewParent(viewParent: any): any;
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamHandlerDirective, [{ self: true; }]>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamHandlerDirective, "[partialContainer]", never, {}, {}, never, never, false, never>;
|
|
10
9
|
}
|
|
@@ -3791,28 +3791,35 @@
|
|
|
3791
3791
|
return parent ? parent : viewParentApp;
|
|
3792
3792
|
};
|
|
3793
3793
|
const findViewParent = (lView) => {
|
|
3794
|
-
|
|
3794
|
+
return lView[16][8];
|
|
3795
|
+
/*if(lView[3] === null) {
|
|
3795
3796
|
return lView[8];
|
|
3796
3797
|
}
|
|
3797
3798
|
let parentlView = lView[3];
|
|
3798
|
-
if
|
|
3799
|
+
if(typeof lView[1] === "boolean") {
|
|
3799
3800
|
return findViewParent(parentlView);
|
|
3800
3801
|
}
|
|
3801
3802
|
let componentType = lView[1]["type"];
|
|
3802
|
-
if
|
|
3803
|
+
if(componentType === 0 || componentType === 1) {
|
|
3803
3804
|
let p = lView[8];
|
|
3804
3805
|
// ts-ignore
|
|
3805
|
-
if
|
|
3806
|
+
if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
|
|
3806
3807
|
return findViewParent(parentlView);
|
|
3807
|
-
}
|
|
3808
|
-
else {
|
|
3808
|
+
} else {
|
|
3809
3809
|
return p;
|
|
3810
3810
|
}
|
|
3811
|
-
}
|
|
3812
|
-
else {
|
|
3811
|
+
} else {
|
|
3813
3812
|
return findViewParent(parentlView);
|
|
3814
|
-
}
|
|
3813
|
+
}*/
|
|
3815
3814
|
};
|
|
3815
|
+
/*export const getParent = (parent: any) => {
|
|
3816
|
+
if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
|
|
3817
|
+
return parent
|
|
3818
|
+
} else{
|
|
3819
|
+
return parent.viewParent ? getParent(parent.viewParent) : parent;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
}*/
|
|
3816
3823
|
|
|
3817
3824
|
var Utils = /*#__PURE__*/Object.freeze({
|
|
3818
3825
|
__proto__: null,
|