@wavemaker/angular-codegen 11.5.0-next.24726 → 11.5.0-next.24728

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.24726",
50
+ "@wavemaker/variables": "11.5.0-next.24728",
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.24726"
75
+ "@wavemaker/app-ng-runtime": "11.5.0-next.24728"
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;
@@ -120358,6 +120357,7 @@ class ASTCompiler {
120358
120357
  return v;
120359
120358
  }
120360
120359
  processMethodCall() {
120360
+ var _a;
120361
120361
  const ast = this.cAst;
120362
120362
  const stmts = this.cStmts;
120363
120363
  const _args = [];
@@ -120366,8 +120366,7 @@ class ASTCompiler {
120366
120366
  }
120367
120367
  const fn = this.build(ast.receiver, stmts);
120368
120368
  const v = this.createVar();
120369
- const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
120370
- stmts[stmts.length - 1];
120369
+ const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ((_a = ast.receiver) === null || _a === void 0 ? void 0 : _a.receiver) instanceof ImplicitReceiver);
120371
120370
  const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
120372
120371
  stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
120373
120372
  return v;
@@ -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;
@@ -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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.5.0-next.24726",
3
+ "version": "11.5.0-next.24728",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {