@wavemaker/angular-codegen 11.7.0-next.42251 → 11.7.0-rc.5525

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.
@@ -4,8 +4,8 @@
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "start": "./node_modules/.bin/ng serve",
7
- "build": "./node_modules/.bin/ng build",
8
- "postbuild": "node build-scripts/post-build.js",
7
+ "build": "node build-scripts/build.js",
8
+ "post-build": "node build-scripts/post-build.js",
9
9
  "test": "./node_modules/.bin/ng test",
10
10
  "test_components": "./node_modules/.bin/ng t @wm/components/base",
11
11
  "test_mobile": "./node_modules/.bin/ng t @wm/mobile/components/basic",
@@ -19,15 +19,15 @@
19
19
  },
20
20
  "private": true,
21
21
  "dependencies": {
22
- "@angular/animations": "15.2.9",
23
- "@angular/common": "15.2.9",
24
- "@angular/compiler": "15.2.9",
25
- "@angular/core": "15.2.9",
26
- "@angular/forms": "15.2.9",
27
- "@angular/platform-browser": "15.2.9",
28
- "@angular/platform-browser-dynamic": "15.2.9",
29
- "@angular/router": "15.2.9",
30
- "@angular/service-worker": "15.2.9",
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",
31
31
  "@awesome-cordova-plugins/app-version": "5.39.1",
32
32
  "@awesome-cordova-plugins/barcode-scanner": "5.39.1",
33
33
  "@awesome-cordova-plugins/calendar": "5.39.1",
@@ -46,12 +46,12 @@
46
46
  "@babel/runtime": "^7.14.8",
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker/focus-trap": "^1.0.0",
49
- "@wavemaker/nvd3": "1.8.9",
50
- "@wavemaker/variables": "11.7.0-next.42251",
49
+ "@wavemaker/nvd3": "1.8.10",
50
+ "@wavemaker/variables": "11.7.0-rc.5525",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
- "angular-imask": "6.3.0",
52
+ "angular-imask": "7.4.0",
53
53
  "angular2-websocket": "0.9.7",
54
- "core-js": "2.5.4",
54
+ "core-js": "3.35.1",
55
55
  "d3": "7.8.5",
56
56
  "fullcalendar": "5.3.1",
57
57
  "hammerjs": "2.0.8",
@@ -62,25 +62,25 @@
62
62
  "js-cookie": "2.2.0",
63
63
  "jssha": "^3.1.2",
64
64
  "lodash": "4.17.21",
65
- "ng-circle-progress": "1.5.1",
65
+ "ng-circle-progress": "1.7.1",
66
66
  "ngx-bootstrap": "9.0.0",
67
- "ngx-color-picker": "12.0.1",
68
- "ngx-toastr": "16.0.2",
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
72
  "tslib": "2.4.1",
73
73
  "x2js": "^3.4.4",
74
- "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.7.0-next.42251"
74
+ "zone.js": "~0.13.3",
75
+ "@wavemaker/app-ng-runtime": "11.7.0-rc.5525"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
79
- "@angular-builders/custom-webpack": "15.0.0",
80
- "@angular-devkit/build-angular": "15.2.8",
81
- "@angular/cli": "15.2.8",
82
- "@angular/compiler-cli": "15.2.9",
83
- "@angular/language-service": "15.2.9",
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
85
  "@compodoc/compodoc": "^1.1.19",
86
86
  "@rollup/plugin-alias": "4.0.2",
@@ -112,11 +112,11 @@
112
112
  "karma-mocha-reporter": "2.2.5",
113
113
  "moment": "2.29.4",
114
114
  "moment-timezone": "^0.5.34",
115
- "ng-packagr": "15.2.2",
115
+ "ng-packagr": "16.2.3",
116
116
  "npm-run-all": "4.1.5",
117
117
  "owasp-dependency-check": "0.0.21",
118
118
  "rimraf": "2.6.3",
119
- "rollup": "3.9.1",
119
+ "rollup": "4.9.5",
120
120
  "rollup-plugin-includepaths": "0.2.3",
121
121
  "sonarqube-scanner": "^2.8.2",
122
122
  "terser": "^5.15.1",
@@ -1,11 +1,9 @@
1
1
  import { Injectable } from '@angular/core';
2
- import { Resolve } from '@angular/router';
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 implements Resolve<any> {
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
+ }
@@ -20,12 +20,13 @@ const { executeSyncCmd, MSG_NG_RUNTIME_LOG, MSG_NG_RUNTIME_SUCCESS } = require(
20
20
  /**
21
21
  * @TODO: This is a temporary workaround to extract deploy-url from 'ngBuildParams', need to be replaced in future.
22
22
  */
23
- const updateDeployUrl = (ngBuildParams) => {
24
- let buildArgs = ngBuildParams.split(' ');
23
+ const updateDeployUrl = (args) => {
24
+ let buildArgs = args.ngBuildParams.split(' ');
25
25
  const deployParam = buildArgs.find(i => i.startsWith("--deploy-url="));
26
26
  if(!deployParam) {
27
27
  buildArgs.push("--deploy-url=ng-bundle/");
28
28
  }
29
+ buildArgs.push(args.nodeVMArgs);
29
30
  return ngBuildParams = buildArgs.join(" ");
30
31
  };
31
32
 
@@ -59,10 +60,10 @@ const buildAngularApp = (args) => {
59
60
  process.exit(err.code || err.pid);
60
61
  }
61
62
 
62
- let ngBuildParams = updateDeployUrl(args.ngBuildParams);
63
+ let ngBuildParams = updateDeployUrl(args);
63
64
  const NG_BUILD_MSG = 'NG BUILD MIGHT HAVE FAILED WITH HEAP OUT OF MEMORY, RE-EXECUTE THE BUILD BY INCREASING THE MAX-OLD-SPACE-SIZE ARGUMENT VALUE FOR BUILD.UI.NODE.ARGS PROPERTY IN DEPLOYMENT PROFILE';
64
65
  // Generating the angular build and post build process.
65
- executeSyncCmd('cd ' + args.appTarget + ' && node ' + args.nodeVMArgs + ' ./node_modules/@angular/cli/bin/ng build ' + ngBuildParams + ' && node build-scripts/post-build.js', null, MSG_NG_RUNTIME_LOG, false, NG_BUILD_MSG);
66
+ executeSyncCmd('cd ' + args.appTarget + ' && node ./build-scripts/build.js ' + ngBuildParams, null, MSG_NG_RUNTIME_LOG, false, NG_BUILD_MSG);
66
67
  }
67
68
 
68
69