@wavemaker/angular-codegen 11.5.0-next.40003 → 11.5.0-next.NULL
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.
- angular-codegen/.npmrc +1 -0
- angular-codegen/angular-app/.npmrc +1 -0
- angular-codegen/angular-app/angular.json +119 -1009
- angular-codegen/angular-app/build-scripts/build.js +30 -0
- angular-codegen/angular-app/build-scripts/post-build.js +19 -13
- angular-codegen/angular-app/package-lock.json +25218 -23221
- angular-codegen/angular-app/package.json +57 -51
- angular-codegen/angular-app/src/app/lazy-load-scripts.resolve.ts +2 -4
- angular-codegen/angular-app/src/assets/print.css +32 -0
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/polyfills.ts +23 -39
- angular-codegen/angular-app/tsconfig.json +6 -3
- angular-codegen/angular-app/tsconfig.web-app.json +2 -2
- angular-codegen/angular-app/wm-custom-webpack.config.js +8 -11
- angular-codegen/build-angular-app.js +1 -1
- angular-codegen/dependencies/expression-parser.cjs.js +13624 -12592
- angular-codegen/dependencies/pipe-provider.cjs.js +124407 -57688
- angular-codegen/dependencies/transpilation-mobile.cjs.js +50241 -27668
- angular-codegen/dependencies/transpilation-web.cjs.js +50241 -27668
- angular-codegen/download-packages.js +10 -3
- angular-codegen/package-lock.json +3633 -2087
- angular-codegen/package.json +7 -2
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/gen-app-skeleton.js +1 -1
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
- angular-codegen/templates/app-prefabs.module.ts.hbs +0 -1
- angular-codegen/templates/app-routes.ts.hbs +6 -5
- angular-codegen/templates/app.module.ts.hbs +24 -4
- angular-codegen/templates/layout/layout.module.ts.hbs +1 -1
- angular-codegen/templates/page/page.component.ts.hbs +4 -4
- angular-codegen/templates/page/page.module.ts.hbs +3 -3
- angular-codegen/templates/partial/partial.component.ts.hbs +5 -5
- angular-codegen/templates/partial/partial.module.ts.hbs +1 -2
- angular-codegen/templates/prefab/prefab.module.ts.hbs +0 -1
|
@@ -3,32 +3,31 @@
|
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
|
-
"start": "./node_modules
|
|
7
|
-
"build": "
|
|
8
|
-
"
|
|
9
|
-
"test": "./node_modules
|
|
10
|
-
"test_components": "./node_modules
|
|
11
|
-
"test_mobile": "./node_modules
|
|
12
|
-
"test_variables": "./node_modules
|
|
6
|
+
"start": "./node_modules/.bin/ng serve",
|
|
7
|
+
"build": "node build-scripts/build.js",
|
|
8
|
+
"post-build": "node build-scripts/post-build.js",
|
|
9
|
+
"test": "./node_modules/.bin/ng test",
|
|
10
|
+
"test_components": "./node_modules/.bin/ng t @wm/components/base",
|
|
11
|
+
"test_mobile": "./node_modules/.bin/ng t @wm/mobile/components/basic",
|
|
12
|
+
"test_variables": "./node_modules/.bin/ng t @wm/variables",
|
|
13
13
|
"test-all": "npm run test_variables && npm run test_components",
|
|
14
14
|
"test-prod": "npm run test-all > karma-test-report.txt; node combine-coverage.js >> karma-test-report.txt",
|
|
15
|
-
"lint": "./node_modules
|
|
16
|
-
"e2e": "./node_modules
|
|
15
|
+
"lint": "./node_modules/.bin/ng lint",
|
|
16
|
+
"e2e": "./node_modules/.bin/ng e2e",
|
|
17
17
|
"optimizecss": "gulp --gulpfile build-scripts/optimize-css.gulpfile.js",
|
|
18
18
|
"owasp": "owasp-dependency-check --project \"wavemaker-ng-runtime\" -f \"ALL\""
|
|
19
19
|
},
|
|
20
20
|
"private": true,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@angular/animations": "
|
|
23
|
-
"@angular/common": "
|
|
24
|
-
"@angular/compiler": "
|
|
25
|
-
"@angular/core": "
|
|
26
|
-
"@angular/forms": "
|
|
27
|
-
"@angular/platform-browser": "
|
|
28
|
-
"@angular/platform-browser-dynamic": "
|
|
29
|
-
"@angular/router": "
|
|
30
|
-
"@angular/service-worker": "
|
|
31
|
-
"@babel/runtime": "^7.14.8",
|
|
22
|
+
"@angular/animations": "16.2.12",
|
|
23
|
+
"@angular/common": "16.2.12",
|
|
24
|
+
"@angular/compiler": "16.2.12",
|
|
25
|
+
"@angular/core": "16.2.12",
|
|
26
|
+
"@angular/forms": "16.2.12",
|
|
27
|
+
"@angular/platform-browser": "16.2.12",
|
|
28
|
+
"@angular/platform-browser-dynamic": "16.2.12",
|
|
29
|
+
"@angular/router": "16.2.12",
|
|
30
|
+
"@angular/service-worker": "16.2.12",
|
|
32
31
|
"@awesome-cordova-plugins/app-version": "5.39.1",
|
|
33
32
|
"@awesome-cordova-plugins/barcode-scanner": "5.39.1",
|
|
34
33
|
"@awesome-cordova-plugins/calendar": "5.39.1",
|
|
@@ -44,54 +43,59 @@
|
|
|
44
43
|
"@awesome-cordova-plugins/network": "5.39.1",
|
|
45
44
|
"@awesome-cordova-plugins/sqlite": "5.39.1",
|
|
46
45
|
"@awesome-cordova-plugins/vibration": "5.39.1",
|
|
46
|
+
"@babel/runtime": "^7.14.8",
|
|
47
47
|
"@metrichor/jmespath": "^0.3.1",
|
|
48
|
-
"@wavemaker.com/nvd3": "1.0.0",
|
|
49
48
|
"@wavemaker/focus-trap": "^1.0.0",
|
|
50
|
-
"@wavemaker/
|
|
49
|
+
"@wavemaker/nvd3": "1.8.9",
|
|
50
|
+
"@wavemaker/variables": "11.5.0-next.NULL",
|
|
51
51
|
"@ztree/ztree_v3": "^3.5.48",
|
|
52
|
-
"angular-imask": "
|
|
52
|
+
"angular-imask": "7.4.0",
|
|
53
53
|
"angular2-websocket": "0.9.7",
|
|
54
|
-
"core-js": "
|
|
55
|
-
"d3": "
|
|
54
|
+
"core-js": "3.35.1",
|
|
55
|
+
"d3": "7.8.5",
|
|
56
56
|
"fullcalendar": "5.3.1",
|
|
57
57
|
"hammerjs": "2.0.8",
|
|
58
58
|
"he": "1.2.0",
|
|
59
59
|
"iscroll": "5.2.0",
|
|
60
|
-
"jquery": "3.
|
|
60
|
+
"jquery": "3.7.1",
|
|
61
61
|
"jquery-ui": "1.13.2",
|
|
62
62
|
"js-cookie": "2.2.0",
|
|
63
63
|
"jssha": "^3.1.2",
|
|
64
64
|
"lodash": "4.17.21",
|
|
65
|
-
"ng-circle-progress": "1.
|
|
66
|
-
"ngx-bootstrap": "
|
|
67
|
-
"ngx-color-picker": "
|
|
68
|
-
"ngx-toastr": "
|
|
65
|
+
"ng-circle-progress": "1.7.1",
|
|
66
|
+
"ngx-bootstrap": "9.0.0",
|
|
67
|
+
"ngx-color-picker": "16.0.0",
|
|
68
|
+
"ngx-toastr": "17.0.2",
|
|
69
69
|
"rxjs": "6.6.0",
|
|
70
70
|
"rxjs-compat": "6.4.0",
|
|
71
71
|
"summernote": "0.8.18",
|
|
72
|
-
"tslib": "
|
|
73
|
-
"x2js": "3.
|
|
74
|
-
"zone.js": "~0.
|
|
75
|
-
"@wavemaker/app-ng-runtime": "11.5.0-next.
|
|
72
|
+
"tslib": "2.4.1",
|
|
73
|
+
"x2js": "^3.4.4",
|
|
74
|
+
"zone.js": "~0.13.3",
|
|
75
|
+
"@wavemaker/app-ng-runtime": "11.5.0-next.NULL"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@ampproject/rollup-plugin-closure-compiler": "0.
|
|
79
|
-
"@angular-builders/custom-webpack": "
|
|
80
|
-
"@angular-devkit/build-angular": "
|
|
81
|
-
"@angular/cli": "
|
|
82
|
-
"@angular/compiler-cli": "
|
|
83
|
-
"@angular/language-service": "
|
|
78
|
+
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
79
|
+
"@angular-builders/custom-webpack": "16.0.1",
|
|
80
|
+
"@angular-devkit/build-angular": "16.2.11",
|
|
81
|
+
"@angular/cli": "16.2.11",
|
|
82
|
+
"@angular/compiler-cli": "16.2.12",
|
|
83
|
+
"@angular/language-service": "16.2.12",
|
|
84
84
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
85
|
-
"@compodoc/compodoc": "1.1.
|
|
85
|
+
"@compodoc/compodoc": "^1.1.19",
|
|
86
|
+
"@rollup/plugin-alias": "4.0.2",
|
|
87
|
+
"@rollup/plugin-commonjs": "24.0.0",
|
|
88
|
+
"@rollup/plugin-multi-entry": "6.0.0",
|
|
89
|
+
"@rollup/plugin-node-resolve": "15.0.1",
|
|
86
90
|
"@types/jasmine": "2.8.8",
|
|
87
91
|
"@types/jasminewd2": "2.0.3",
|
|
88
92
|
"@types/jquery": "3.3.22",
|
|
89
93
|
"@types/node": "12.11.1",
|
|
90
94
|
"@types/sizzle": "^2.3.3",
|
|
91
|
-
"
|
|
92
|
-
"cheerio": "1.0.0-rc.
|
|
95
|
+
"babel-loader": "^9.1.2",
|
|
96
|
+
"cheerio": "^1.0.0-rc.12",
|
|
93
97
|
"codelyzer": "5.1.2",
|
|
94
|
-
"compression-webpack-plugin": "
|
|
98
|
+
"compression-webpack-plugin": "10.0.0",
|
|
95
99
|
"core-js-builder": "2.5.7",
|
|
96
100
|
"fs": "0.0.1-security",
|
|
97
101
|
"fs-extra": "7.0.1",
|
|
@@ -108,21 +112,23 @@
|
|
|
108
112
|
"karma-mocha-reporter": "2.2.5",
|
|
109
113
|
"moment": "2.29.4",
|
|
110
114
|
"moment-timezone": "^0.5.34",
|
|
111
|
-
"ng-packagr": "
|
|
115
|
+
"ng-packagr": "16.2.3",
|
|
112
116
|
"npm-run-all": "4.1.5",
|
|
113
117
|
"owasp-dependency-check": "0.0.21",
|
|
114
118
|
"rimraf": "2.6.3",
|
|
115
|
-
"rollup": "
|
|
116
|
-
"rollup-plugin-alias": "1.4.0",
|
|
117
|
-
"rollup-plugin-commonjs": "9.2.0",
|
|
119
|
+
"rollup": "4.9.5",
|
|
118
120
|
"rollup-plugin-includepaths": "0.2.3",
|
|
119
|
-
"rollup-plugin-multi-entry": "2.1.0",
|
|
120
|
-
"rollup-plugin-node-resolve": "3.4.0",
|
|
121
121
|
"sonarqube-scanner": "^2.8.2",
|
|
122
|
+
"terser": "^5.15.1",
|
|
122
123
|
"ts-node": "7.0.1",
|
|
123
124
|
"tslint": "~6.1.0",
|
|
124
|
-
"typescript": "4.
|
|
125
|
+
"typescript": "4.9.5",
|
|
125
126
|
"util": "0.11.1",
|
|
126
127
|
"yargs": "^17.3.1"
|
|
127
|
-
}
|
|
128
|
+
},
|
|
129
|
+
"engines": {
|
|
130
|
+
"node": ">=18.16.1",
|
|
131
|
+
"npm": ">=9.5.1"
|
|
132
|
+
},
|
|
133
|
+
"engineStrict": true
|
|
128
134
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { isIos, isMobileApp, ScriptLoaderService } from '@wm/core';
|
|
2
|
+
import { isMobileApp, ScriptLoaderService } from '@wm/core';
|
|
5
3
|
|
|
6
4
|
|
|
7
5
|
@Injectable()
|
|
8
|
-
export class LazyLoadScriptsResolve
|
|
6
|
+
export class LazyLoadScriptsResolve {
|
|
9
7
|
|
|
10
8
|
constructor(private scriptLoaderService: ScriptLoaderService) {}
|
|
11
9
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
body {margin:0; padding:0; line-height: 1.4em; word-spacing:1px; letter-spacing:0.2px; font: 13px Arial, Helvetica,"Lucida Grande", serif; color: #000;}
|
|
2
|
+
|
|
3
|
+
/*Header*/
|
|
4
|
+
h2 {color:#000; font-size:25px;}
|
|
5
|
+
|
|
6
|
+
/* Links */
|
|
7
|
+
a:link, a:visited {background: transparent; color:#333; text-decoration:none;}
|
|
8
|
+
a:link[href^="http://"]:after, a[href^="http://"]:visited:after {content: " (" attr(href) ") "; font-size: 11px;}
|
|
9
|
+
a[href^="http://"] {color:#000;}
|
|
10
|
+
|
|
11
|
+
/*Image*/
|
|
12
|
+
img, img a, .more-link a {border:none;}
|
|
13
|
+
|
|
14
|
+
/*Remove Element*/
|
|
15
|
+
.app-header, .app-top-nav, .app-footer, .app-left-panel, .app-right-panel {display: none !important;}
|
|
16
|
+
|
|
17
|
+
/*Remove Form Controls*/
|
|
18
|
+
.app-checkboxset, .app-button, .app-button-group, .app-menu, .app-composite-widget,
|
|
19
|
+
.form-group, .form-control,
|
|
20
|
+
.app-fileupload, .app-grid .table-footer
|
|
21
|
+
{display: none !important;}
|
|
22
|
+
|
|
23
|
+
/*Show all of the grid data*/
|
|
24
|
+
.app-grid .app-datagrid .app-datagrid-cell {
|
|
25
|
+
overflow: visible;
|
|
26
|
+
word-wrap: break-word;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*Show Grid record data*/
|
|
30
|
+
.app-grid-layout .form-group {
|
|
31
|
+
display: block !important;
|
|
32
|
+
}
|