@wavemaker/angular-codegen 11.4.1-next.141647 → 11.4.1-next.24708

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.
@@ -3,31 +3,32 @@
3
3
  "version": "0.0.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
- "start": "./node_modules/.bin/ng serve",
7
- "build": "./node_modules/.bin/ng build",
6
+ "start": "./node_modules/@angular/cli/bin/ng serve",
7
+ "build": "./node_modules/@angular/cli/bin/ng build",
8
8
  "postbuild": "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",
9
+ "test": "./node_modules/@angular/cli/bin/ng test",
10
+ "test_components": "./node_modules/@angular/cli/bin/ng t @wm/components/base",
11
+ "test_mobile": "./node_modules/@angular/cli/bin/ng t @wm/mobile/components/basic",
12
+ "test_variables": "./node_modules/@angular/cli/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/.bin/ng lint",
16
- "e2e": "./node_modules/.bin/ng e2e",
15
+ "lint": "./node_modules/@angular/cli/bin/ng lint",
16
+ "e2e": "./node_modules/@angular/cli/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": "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": "12.2.16",
23
+ "@angular/common": "12.2.16",
24
+ "@angular/compiler": "12.2.16",
25
+ "@angular/core": "12.2.16",
26
+ "@angular/forms": "12.2.16",
27
+ "@angular/platform-browser": "12.2.16",
28
+ "@angular/platform-browser-dynamic": "12.2.16",
29
+ "@angular/router": "12.2.16",
30
+ "@angular/service-worker": "12.2.16",
31
+ "@babel/runtime": "^7.14.8",
31
32
  "@awesome-cordova-plugins/app-version": "5.39.1",
32
33
  "@awesome-cordova-plugins/barcode-scanner": "5.39.1",
33
34
  "@awesome-cordova-plugins/calendar": "5.39.1",
@@ -43,13 +44,12 @@
43
44
  "@awesome-cordova-plugins/network": "5.39.1",
44
45
  "@awesome-cordova-plugins/sqlite": "5.39.1",
45
46
  "@awesome-cordova-plugins/vibration": "5.39.1",
46
- "@babel/runtime": "^7.14.8",
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.4.1-next.141647",
50
+ "@wavemaker/variables": "11.4.1-next.24708",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
- "angular-imask": "6.3.0",
52
+ "angular-imask": "6.0.4",
53
53
  "angular2-websocket": "0.9.7",
54
54
  "core-js": "2.5.4",
55
55
  "d3": "3.5.17",
@@ -57,41 +57,41 @@
57
57
  "hammerjs": "2.0.8",
58
58
  "he": "1.2.0",
59
59
  "iscroll": "5.2.0",
60
- "jquery": "3.7.1",
60
+ "jquery": "3.6.0",
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.5.1",
66
- "ngx-bootstrap": "9.0.0",
67
- "ngx-color-picker": "12.0.1",
68
- "ngx-toastr": "16.0.2",
65
+ "ng-circle-progress": "1.6.0",
66
+ "ngx-bootstrap": "6.2.0",
67
+ "ngx-color-picker": "10.1.0",
68
+ "ngx-toastr": "13.2.1",
69
69
  "rxjs": "6.6.0",
70
70
  "rxjs-compat": "6.4.0",
71
71
  "summernote": "0.8.18",
72
- "tslib": "2.4.1",
73
- "x2js": "^3.4.4",
72
+ "tslib": "^2.0.0",
73
+ "x2js": "3.2.6",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.4.1-next.141647"
75
+ "@wavemaker/app-ng-runtime": "11.4.1-next.24708"
76
76
  },
77
77
  "devDependencies": {
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",
78
+ "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
79
+ "@angular-builders/custom-webpack": "11.1.1",
80
+ "@angular-devkit/build-angular": "12.2.16",
81
+ "@angular/cli": "12.2.16",
82
+ "@angular/compiler-cli": "12.2.16",
83
+ "@angular/language-service": "12.2.16",
84
84
  "@babel/plugin-transform-runtime": "^7.14.5",
85
- "@compodoc/compodoc": "^1.1.19",
85
+ "@compodoc/compodoc": "1.1.11",
86
86
  "@types/jasmine": "2.8.8",
87
87
  "@types/jasminewd2": "2.0.3",
88
88
  "@types/jquery": "3.3.22",
89
89
  "@types/node": "12.11.1",
90
90
  "@types/sizzle": "^2.3.3",
91
- "babel-loader": "^9.1.2",
92
- "cheerio": "^1.0.0-rc.12",
91
+ "brotli-webpack-plugin": "1.1.0",
92
+ "cheerio": "1.0.0-rc.2",
93
93
  "codelyzer": "5.1.2",
94
- "compression-webpack-plugin": "10.0.0",
94
+ "compression-webpack-plugin": "4.0.1",
95
95
  "core-js-builder": "2.5.7",
96
96
  "fs": "0.0.1-security",
97
97
  "fs-extra": "7.0.1",
@@ -108,27 +108,21 @@
108
108
  "karma-mocha-reporter": "2.2.5",
109
109
  "moment": "2.29.4",
110
110
  "moment-timezone": "^0.5.34",
111
- "ng-packagr": "15.2.2",
111
+ "ng-packagr": "12.2.7",
112
112
  "npm-run-all": "4.1.5",
113
113
  "owasp-dependency-check": "0.0.21",
114
114
  "rimraf": "2.6.3",
115
- "rollup": "3.9.1",
116
- "@rollup/plugin-alias": "4.0.2",
117
- "@rollup/plugin-commonjs": "24.0.0",
115
+ "rollup": "0.65.2",
116
+ "rollup-plugin-alias": "1.4.0",
117
+ "rollup-plugin-commonjs": "9.2.0",
118
118
  "rollup-plugin-includepaths": "0.2.3",
119
- "@rollup/plugin-multi-entry": "6.0.0",
120
- "@rollup/plugin-node-resolve": "15.0.1",
121
- "terser": "^5.15.1",
119
+ "rollup-plugin-multi-entry": "2.1.0",
120
+ "rollup-plugin-node-resolve": "3.4.0",
122
121
  "sonarqube-scanner": "^2.8.2",
123
122
  "ts-node": "7.0.1",
124
123
  "tslint": "~6.1.0",
125
- "typescript": "4.9.5",
124
+ "typescript": "4.3.5",
126
125
  "util": "0.11.1",
127
126
  "yargs": "^17.3.1"
128
- },
129
- "engines": {
130
- "node": ">=18.16.1",
131
- "npm": ">=9.5.1"
132
- },
133
- "engineStrict": true
127
+ }
134
128
  }
@@ -8,40 +8,56 @@
8
8
  * file.
9
9
  *
10
10
  * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
- * automatically update themselves. This includes recent versions of Safari, Chrome (including
12
- * Opera), Edge on the desktop, and iOS and Chrome on mobile.
11
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
13
  *
14
14
  * Learn more in https://angular.io/guide/browser-support
15
15
  */
16
16
 
17
17
  /***************************************************************************************************
18
- * BROWSER POLYFILLS
19
- */
18
+ * BROWSER POLYFILLS
19
+ */
20
+
21
+
22
+ /** need for 'includes' etc... in IE 11**/
23
+ import 'core-js/es7/array';
24
+ import 'core-js/es7/object';
25
+
26
+ /**
27
+ * If the application will be indexed by Google Search, the following is required.
28
+ * Googlebot uses a renderer based on Chrome 41.
29
+ * https://developers.google.com/search/docs/guides/rendering
30
+ **/
31
+ // import 'core-js/es6/array';
32
+
33
+ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
34
+ // import 'classlist.js'; // Run `npm install --save classlist.js`.
35
+
36
+ /** IE10 and IE11 requires the following for the Reflect API. */
37
+ import 'core-js/es6/reflect';
38
+
39
+ /**
40
+ * Web Animations `@angular/platform-browser/animations`
41
+ * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
42
+ * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
43
+ **/
44
+ // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
20
45
 
21
46
  /**
22
47
  * By default, zone.js will patch all possible macroTask and DomEvents
23
48
  * user can disable parts of macroTask/DomEvents patch by setting following flags
24
- * because those flags need to be set before `zone.js` being loaded, and webpack
25
- * will put import in the top of bundle, so user need to create a separate file
26
- * in this directory (for example: zone-flags.ts), and put the following flags
27
- * into that file, and then add the following code before importing zone.js.
28
- * import './zone-flags';
29
- *
30
- * The flags allowed in zone-flags.ts are listed here.
31
- *
32
- * The following flags will work for all browsers.
33
- *
34
- * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
35
- * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
36
- * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
37
- *
38
- * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
39
- * with the following flag, it will bypass `zone.js` patch for IE/Edge
40
- *
41
- * (window as any).__Zone_enable_cross_context_check = true;
42
- *
43
49
  */
44
50
 
51
+ // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
52
+ // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
53
+ // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
54
+
55
+ /*
56
+ * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
57
+ * with the following flag, it will bypass `zone.js` patch for IE/Edge
58
+ */
59
+ // (window as any).__Zone_enable_cross_context_check = true;
60
+
45
61
  /***************************************************************************************************
46
62
  * Zone JS is required by default for Angular itself.
47
63
  */
@@ -6,7 +6,7 @@
6
6
  "outDir": "./dist/out-tsc",
7
7
  "sourceMap": true,
8
8
  "declaration": false,
9
- "target": "es2022",
9
+ "target": "es2015",
10
10
  "module": "es2020",
11
11
  "moduleResolution": "node",
12
12
  "emitDecoratorMetadata": true,
@@ -109,10 +109,9 @@
109
109
  "@wm/mobile/runtime/dynamic": [
110
110
  "node_modules/@wavemaker/app-ng-runtime/mobile/runtime-dynamic"
111
111
  ]
112
- },
113
- "useDefineForClassFields": false
112
+ }
114
113
  },
115
114
  "angularCompilerOptions": {
116
- "compilationMode": "full"
115
+ "enableIvy": false
117
116
  }
118
117
  }
@@ -6,7 +6,7 @@
6
6
  "outDir": "./dist/out-tsc",
7
7
  "sourceMap": true,
8
8
  "declaration": false,
9
- "target": "es2022",
9
+ "target": "es2015",
10
10
  "module": "es2020",
11
11
  "moduleResolution": "node",
12
12
  "emitDecoratorMetadata": true,
@@ -97,6 +97,6 @@
97
97
  }
98
98
  },
99
99
  "angularCompilerOptions": {
100
- "compilationMode": "full"
100
+ "enableIvy": false
101
101
  }
102
102
  }
@@ -1,6 +1,6 @@
1
1
  const CompressionPlugin = require(`compression-webpack-plugin`);
2
+ const BrotliPlugin = require(`brotli-webpack-plugin`);
2
3
  const path = require(`path`);
3
-
4
4
  module.exports = {
5
5
  resolve:{
6
6
  alias:{
@@ -8,16 +8,19 @@ module.exports = {
8
8
  }
9
9
  },
10
10
  plugins:[
11
- new CompressionPlugin({
12
- test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/,
13
- filename: "[name].gzip[ext]",
14
- algorithm: "gzip"
11
+ new BrotliPlugin({
12
+ asset: '[fileWithoutExt].br.[ext]',
13
+ test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/
15
14
  }),
16
15
  new CompressionPlugin({
17
16
  test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/,
18
- filename: "[name].br[ext]",
19
- algorithm: "brotliCompress"
20
- }),
17
+ filename(info){
18
+ let opFile= info.path.split('.'),
19
+ opFileType = opFile.pop(),
20
+ opFileName = opFile.join('.');
21
+ return `${opFileName}.gzip.${opFileType}`;
22
+ }
23
+ })
21
24
  ],
22
25
  optimization: {
23
26
  splitChunks: {