@wavemaker/app-ng-runtime 11.5.0-next.24727 → 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.
- app-ng-runtime/components/input/default/bundles/index.umd.js +3 -1
- app-ng-runtime/components/input/default/esm2020/base-form-custom.component.mjs +4 -2
- app-ng-runtime/components/input/default/fesm2015/index.mjs +3 -1
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +3 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +2 -2
- app-ng-runtime/core/esm2020/utils/expression-parser.mjs +2 -3
- app-ng-runtime/core/fesm2015/index.mjs +3 -3
- app-ng-runtime/core/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/core/fesm2020/index.mjs +2 -3
- app-ng-runtime/core/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute, ImplicitReceiver, LiteralPrimitive, LiteralArray, LiteralMap,
|
|
1
|
+
import { Attribute, ImplicitReceiver, PropertyRead, LiteralPrimitive, LiteralArray, LiteralMap, PropertyWrite, KeyedRead, PrefixNot, Binary, Conditional, Call, Chain, BindingPipe, Parser, Lexer } from '@angular/compiler';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Injectable, NgModule } from '@angular/core';
|
|
@@ -1756,8 +1756,7 @@ class ASTCompiler {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
const fn = this.build(ast.receiver, stmts);
|
|
1758
1758
|
const v = this.createVar();
|
|
1759
|
-
const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver;
|
|
1760
|
-
const exp = stmts[stmts.length - 1];
|
|
1759
|
+
const isImplicitReceiver = ast.receiver instanceof ImplicitReceiver || (ast.receiver instanceof PropertyRead && ast.receiver?.receiver instanceof ImplicitReceiver);
|
|
1761
1760
|
const context = stmts[stmts.length - 1].split('&&')[0].split('=')[1];
|
|
1762
1761
|
stmts.push(`${v}= ${fn}&&${fn}${isImplicitReceiver ? '.bind(_ctx)' : `.bind(${context})`}(${_args.join(',')})`);
|
|
1763
1762
|
return v;
|