@wavemaker/angular-codegen 11.0.1-next.139047 → 11.0.1-next.139246

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ import { UserDefinedExecutionContext } from '@wm/core';
4
4
 
5
5
  import { initScript } from './{{name}}.component.script';
6
6
  import { getVariables } from './{{name}}.component.variables';
7
+ import { expressionData } from './{{name}}.component.expressions';
7
8
 
8
9
  import { BasePageComponent } from '@wm/runtime/base';
9
10
 
@@ -36,4 +37,9 @@ export class {{componentName}} extends BasePageComponent {
36
37
  evalUserScript(Page, App, Utils) {
37
38
  initScript(Page, App, Utils);
38
39
  }
39
- }
40
+
41
+ getExpressions() {
42
+ return expressionData;
43
+ }
44
+
45
+ }
@@ -4,6 +4,7 @@ import { UserDefinedExecutionContext } from '@wm/core';
4
4
 
5
5
  import { initScript } from './{{name}}.component.script';
6
6
  import { getVariables } from './{{name}}.component.variables';
7
+ import { expressionData } from './{{name}}.component.expressions';
7
8
 
8
9
  import { BasePartialComponent } from '@wm/runtime/base';
9
10
 
@@ -36,4 +37,9 @@ export class {{componentName}} extends BasePartialComponent {
36
37
  evalUserScript(Partial, App, Utils) {
37
38
  initScript(Partial, App, Utils);
38
39
  }
40
+
41
+ getExpressions() {
42
+ return expressionData;
43
+ }
44
+
39
45
  }
@@ -4,6 +4,7 @@ import { UserDefinedExecutionContext } from '@wm/core';
4
4
 
5
5
  import { initScript } from './{{name}}.component.script';
6
6
  import { getVariables } from './{{name}}.component.variables';
7
+ import { expressionData } from './{{name}}.component.expressions';
7
8
 
8
9
  import { BasePrefabComponent } from '@wm/runtime/base';
9
10
 
@@ -36,4 +37,9 @@ export class {{componentName}} extends BasePrefabComponent {
36
37
  evalUserScript(Prefab, App, Utils) {
37
38
  initScript(Prefab, App, Utils);
38
39
  }
40
+
41
+ getExpressions() {
42
+ return expressionData;
43
+ }
44
+
39
45
  }