@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.
- angular-codegen/angular-app/package-lock.json +13 -10
- angular-codegen/angular-app/package.json +2 -2
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/dependencies/expression-parser.cjs.js +17761 -0
- angular-codegen/dependencies/pipe-provider.cjs.js +69032 -0
- angular-codegen/dependencies/transpilation-mobile.cjs.js +118 -44
- angular-codegen/dependencies/transpilation-web.cjs.js +118 -44
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen-cli.js +1 -1
- angular-codegen/src/expr-parser-utils.js +1 -0
- angular-codegen/src/gen-app-variables.js +1 -1
- angular-codegen/src/gen-components.js +1 -1
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/wm-utils.js +1 -1
- angular-codegen/templates/app.component.script.js.hbs +6 -1
- angular-codegen/templates/component.expressions.ts.hbs +3 -0
- angular-codegen/templates/expr-vs-fn.hbs +3 -0
- angular-codegen/templates/page/page.component.ts.hbs +7 -1
- angular-codegen/templates/partial/partial.component.ts.hbs +6 -0
- angular-codegen/templates/prefab/prefab.component.ts.hbs +6 -0
@@ -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
|
}
|