@wavemaker/angular-codegen 11.10.5-rc.6100 → 11.11.0-rc.209

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.
Files changed (38) hide show
  1. package/angular-app/angular.json +4 -11
  2. package/angular-app/build-scripts/post-build.js +7 -47
  3. package/angular-app/dependency-report.html +1 -1
  4. package/angular-app/npm-shrinkwrap.json +161 -277
  5. package/angular-app/package-lock.json +161 -277
  6. package/angular-app/package.json +11 -21
  7. package/angular-app/src/app/lazy-load-scripts.resolve.ts +2 -9
  8. package/angular-app/src/assets/styles/css/wm-style.css +1 -1
  9. package/angular-app/src/index.html +1 -1
  10. package/angular-app/src/main.ts +25 -31
  11. package/angular-app/tsconfig.json +0 -30
  12. package/angular-app/tsconfig.web-app.json +0 -21
  13. package/angular-app/wm-custom-webpack.config.js +18 -0
  14. package/build-angular-app.js +11 -7
  15. package/dependencies/app.component.html +34 -26
  16. package/dependencies/pipe-provider.cjs.js +24962 -186
  17. package/dependencies/transpilation-web.cjs.js +13329 -816
  18. package/download-packages.js +99 -31
  19. package/npm-shrinkwrap.json +99 -236
  20. package/package-lock.json +99 -236
  21. package/package.json +2 -2
  22. package/src/codegen.js +1 -1
  23. package/src/gen-app-codegen-module.js +1 -1
  24. package/src/gen-app-override-css.js +1 -1
  25. package/src/gen-app-routes.js +1 -1
  26. package/src/gen-components.js +1 -1
  27. package/src/gen-layouts.js +1 -1
  28. package/src/handlebar-helpers.js +1 -1
  29. package/src/pages-util.js +1 -1
  30. package/src/project-meta.js +1 -1
  31. package/src/update-angular-json.js +1 -1
  32. package/src/wm-utils.js +1 -1
  33. package/templates/app-routes.ts.hbs +2 -2
  34. package/templates/app.config.ts.hbs +128 -0
  35. package/templates/app.module.ts.hbs +0 -2
  36. package/templates/layout/layout.component.ts.hbs +26 -4
  37. package/templates/page/page.component.ts.hbs +36 -5
  38. package/dependencies/transpilation-mobile.cjs.js +0 -93554
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-app",
3
- "version": "11.10.5-rc.6100",
3
+ "version": "11.11.0-rc.209",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "start": "./node_modules/.bin/ng serve",
@@ -30,35 +30,24 @@
30
30
  "@angular/platform-browser-dynamic": "18.2.13",
31
31
  "@angular/router": "18.2.13",
32
32
  "@angular/service-worker": "18.2.13",
33
- "@awesome-cordova-plugins/app-version": "5.39.1",
34
- "@awesome-cordova-plugins/barcode-scanner": "5.39.1",
35
- "@awesome-cordova-plugins/calendar": "5.39.1",
36
- "@awesome-cordova-plugins/camera": "5.39.1",
37
- "@awesome-cordova-plugins/core": "5.39.1",
38
- "@awesome-cordova-plugins/device": "5.39.1",
39
- "@awesome-cordova-plugins/diagnostic": "5.39.1",
40
- "@awesome-cordova-plugins/file": "5.39.1",
41
- "@awesome-cordova-plugins/file-opener": "5.39.1",
42
- "@awesome-cordova-plugins/geolocation": "5.39.1",
43
- "@awesome-cordova-plugins/location-accuracy": "5.39.1",
44
- "@awesome-cordova-plugins/media-capture": "5.39.1",
45
- "@awesome-cordova-plugins/network": "5.39.1",
46
- "@awesome-cordova-plugins/sqlite": "5.39.1",
47
- "@awesome-cordova-plugins/vibration": "5.39.1",
48
33
  "@babel/runtime": "7.14.8",
34
+ "@fullcalendar/core": "6.1.15",
35
+ "@fullcalendar/daygrid": "6.1.15",
36
+ "@fullcalendar/interaction": "6.1.15",
37
+ "@fullcalendar/list": "6.1.15",
38
+ "@fullcalendar/timegrid": "6.1.15",
49
39
  "@metrichor/jmespath": "0.3.1",
50
- "@wavemaker/custom-widgets-m3": "11.10.5-rc.6100",
40
+ "@wavemaker/custom-widgets-m3": "11.11.0-rc.209",
51
41
  "@wavemaker/focus-trap": "1.0.1",
52
- "@wavemaker/foundation-css": "11.10.5-rc.6100",
42
+ "@wavemaker/foundation-css": "11.11.0-rc.209",
53
43
  "@wavemaker/nvd3": "1.8.12",
54
- "@wavemaker/variables": "11.10.5-rc.6100",
44
+ "@wavemaker/variables": "11.11.0-rc.209",
55
45
  "@ztree/ztree_v3": "3.5.48",
56
46
  "angular-imask": "^7.6.1",
57
47
  "angular2-websocket": "0.9.7",
58
48
  "core-js": "3.35.1",
59
49
  "d3": "7.8.5",
60
50
  "esbuild-wasm": "^0.24.2",
61
- "fullcalendar": "5.3.1",
62
51
  "hammerjs": "2.0.8",
63
52
  "iscroll": "5.2.0",
64
53
  "jquery": "3.7.1",
@@ -78,7 +67,7 @@
78
67
  "tslib": "2.4.1",
79
68
  "x2js": "3.4.4",
80
69
  "zone.js": "0.14.10",
81
- "@wavemaker/app-ng-runtime": "11.10.5-rc.6100"
70
+ "@wavemaker/app-ng-runtime": "11.11.0-rc.209"
82
71
  },
83
72
  "devDependencies": {
84
73
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -120,6 +109,7 @@
120
109
  "jest-preset-angular": "^14.1.0",
121
110
  "license-checker": "25.0.1",
122
111
  "moment": "2.29.4",
112
+ "moment-locales-webpack-plugin": "^1.2.0",
123
113
  "moment-timezone": "^0.5.34",
124
114
  "ng-packagr": "17.3.0",
125
115
  "npm-run-all": "4.1.5",
@@ -1,5 +1,6 @@
1
1
  import { Injectable } from '@angular/core';
2
- import { isMobileApp, ScriptLoaderService } from '@wm/core';
2
+ import { ScriptLoaderService } from '@wm/core';
3
+
3
4
 
4
5
 
5
6
  @Injectable()
@@ -8,13 +9,5 @@ export class LazyLoadScriptsResolve {
8
9
  constructor(private scriptLoaderService: ScriptLoaderService) {}
9
10
 
10
11
  async resolve() {
11
- const scriptsToLoad = [];
12
- if(isMobileApp()) {
13
- scriptsToLoad.push('node_modules-hammerjs-hammer.min.js');
14
- scriptsToLoad.push('node_modules-iscroll-build-iscroll.js');
15
- }
16
- if (scriptsToLoad.length > 0) {
17
- await this.scriptLoaderService.load(...scriptsToLoad);
18
- }
19
12
  }
20
13
  }