@wavemaker/angular-codegen 11.5.0-next.141087 → 11.5.0-next.141089

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.
@@ -47,7 +47,7 @@
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.5.0-next.141087",
50
+ "@wavemaker/variables": "11.5.0-next.141089",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
52
  "angular-imask": "6.3.0",
53
53
  "angular2-websocket": "0.9.7",
@@ -72,7 +72,7 @@
72
72
  "tslib": "2.4.1",
73
73
  "x2js": "^3.4.4",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.5.0-next.141087"
75
+ "@wavemaker/app-ng-runtime": "11.5.0-next.141089"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -19017,8 +19017,7 @@ class ASTCompiler {
19017
19017
  }
19018
19018
  const fn = this.build(ast.receiver, stmts);
19019
19019
  const v = this.createVar();
19020
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
19021
- stmts[stmts.length - 1];
19020
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ast.receiver?.receiver instanceof ImplicitReceiver);
19022
19021
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
19023
19022
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
19024
19023
  return v;
@@ -93594,8 +93594,7 @@ let ASTCompiler$1 = class ASTCompiler {
93594
93594
  }
93595
93595
  const fn = this.build(ast.receiver, stmts);
93596
93596
  const v = this.createVar();
93597
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver$1;
93598
- stmts[stmts.length - 1];
93597
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver$1 || (ast.receiver instanceof PropertyRead$1 && ast.receiver?.receiver instanceof ImplicitReceiver$1);
93599
93598
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
93600
93599
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
93601
93600
  return v;
@@ -94042,7 +94041,8 @@ const isLargeTabletPortrait$1 = (landScapeWidth, landScapeHeight) => {
94042
94041
  const width = landScapeHeight || '1024px';
94043
94042
  return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
94044
94043
  };
94045
- const isMobile$1 = () => isAndroid$1() || isIos$1() || isAndroidTablet$1() || $('#wm-mobile-display:visible').length > 0;
94044
+ //export const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
94045
+ const isMobile$1 = () => false;
94046
94046
  const isTablet$1 = () => {
94047
94047
  const scope = document.querySelector('.app-page').widget;
94048
94048
  return scope && scope.viewParent.Viewport.isTabletType;
@@ -120356,6 +120356,7 @@ class ASTCompiler {
120356
120356
  return v;
120357
120357
  }
120358
120358
  processMethodCall() {
120359
+ var _a;
120359
120360
  const ast = this.cAst;
120360
120361
  const stmts = this.cStmts;
120361
120362
  const _args = [];
@@ -120364,8 +120365,7 @@ class ASTCompiler {
120364
120365
  }
120365
120366
  const fn = this.build(ast.receiver, stmts);
120366
120367
  const v = this.createVar();
120367
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
120368
- stmts[stmts.length - 1];
120368
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ((_a = ast.receiver) === null || _a === void 0 ? void 0 : _a.receiver) instanceof ImplicitReceiver);
120369
120369
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
120370
120370
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
120371
120371
  return v;
@@ -120812,7 +120812,8 @@ const isLargeTabletPortrait = (landScapeWidth, landScapeHeight) => {
120812
120812
  const width = landScapeHeight || '1024px';
120813
120813
  return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
120814
120814
  };
120815
- const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
120815
+ //export const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
120816
+ const isMobile = () => false;
120816
120817
  const isTablet = () => {
120817
120818
  const scope = document.querySelector('.app-page').widget;
120818
120819
  return scope && scope.viewParent.Viewport.isTabletType;
@@ -57222,8 +57222,7 @@ class ASTCompiler {
57222
57222
  }
57223
57223
  const fn = this.build(ast.receiver, stmts);
57224
57224
  const v = this.createVar();
57225
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
57226
- stmts[stmts.length - 1];
57225
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ast.receiver?.receiver instanceof ImplicitReceiver);
57227
57226
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
57228
57227
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
57229
57228
  return v;
@@ -57668,7 +57667,8 @@ const isLargeTabletPortrait = (landScapeWidth, landScapeHeight) => {
57668
57667
  const width = landScapeHeight || '1024px';
57669
57668
  return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
57670
57669
  };
57671
- const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
57670
+ //export const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
57671
+ const isMobile = () => false;
57672
57672
  const isTablet = () => {
57673
57673
  const scope = document.querySelector('.app-page').widget;
57674
57674
  return scope && scope.viewParent.Viewport.isTabletType;
@@ -57222,8 +57222,7 @@ class ASTCompiler {
57222
57222
  }
57223
57223
  const fn = this.build(ast.receiver, stmts);
57224
57224
  const v = this.createVar();
57225
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
57226
- stmts[stmts.length - 1];
57225
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ast.receiver?.receiver instanceof ImplicitReceiver);
57227
57226
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
57228
57227
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
57229
57228
  return v;
@@ -57668,7 +57667,8 @@ const isLargeTabletPortrait = (landScapeWidth, landScapeHeight) => {
57668
57667
  const width = landScapeHeight || '1024px';
57669
57668
  return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
57670
57669
  };
57671
- const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
57670
+ //export const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
57671
+ const isMobile = () => false;
57672
57672
  const isTablet = () => {
57673
57673
  const scope = document.querySelector('.app-page').widget;
57674
57674
  return scope && scope.viewParent.Viewport.isTabletType;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.5.0-next.141087",
3
+ "version": "11.5.0-next.141089",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {