@wavemaker/angular-codegen 11.4.0-next.140972 → 11.4.0-next.140979

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.
@@ -8,56 +8,40 @@
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 Safari >= 10, Chrome >= 55 (including Opera),
12
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
11
+ * automatically update themselves. This includes recent versions of Safari, Chrome (including
12
+ * Opera), Edge on the desktop, and iOS 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
- */
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`.
18
+ * BROWSER POLYFILLS
19
+ */
45
20
 
46
21
  /**
47
22
  * By default, zone.js will patch all possible macroTask and DomEvents
48
23
  * 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
+ *
49
43
  */
50
44
 
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
-
61
45
  /***************************************************************************************************
62
46
  * Zone JS is required by default for Angular itself.
63
47
  */
@@ -6,7 +6,7 @@
6
6
  "outDir": "./dist/out-tsc",
7
7
  "sourceMap": true,
8
8
  "declaration": false,
9
- "target": "es2015",
9
+ "target": "es2022",
10
10
  "module": "es2020",
11
11
  "moduleResolution": "node",
12
12
  "emitDecoratorMetadata": true,
@@ -109,9 +109,10 @@
109
109
  "@wm/mobile/runtime/dynamic": [
110
110
  "node_modules/@wavemaker/app-ng-runtime/mobile/runtime-dynamic"
111
111
  ]
112
- }
112
+ },
113
+ "useDefineForClassFields": false
113
114
  },
114
115
  "angularCompilerOptions": {
115
- "enableIvy": false
116
+ "compilationMode": "full"
116
117
  }
117
118
  }
@@ -6,7 +6,7 @@
6
6
  "outDir": "./dist/out-tsc",
7
7
  "sourceMap": true,
8
8
  "declaration": false,
9
- "target": "es2015",
9
+ "target": "es2022",
10
10
  "module": "es2020",
11
11
  "moduleResolution": "node",
12
12
  "emitDecoratorMetadata": true,
@@ -97,6 +97,6 @@
97
97
  }
98
98
  },
99
99
  "angularCompilerOptions": {
100
- "enableIvy": false
100
+ "compilationMode": "full"
101
101
  }
102
102
  }
@@ -1,6 +1,6 @@
1
1
  const CompressionPlugin = require(`compression-webpack-plugin`);
2
- const BrotliPlugin = require(`brotli-webpack-plugin`);
3
2
  const path = require(`path`);
3
+
4
4
  module.exports = {
5
5
  resolve:{
6
6
  alias:{
@@ -8,19 +8,16 @@ module.exports = {
8
8
  }
9
9
  },
10
10
  plugins:[
11
- new BrotliPlugin({
12
- asset: '[fileWithoutExt].br.[ext]',
13
- test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/
11
+ new CompressionPlugin({
12
+ test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/,
13
+ filename: "[name].gzip[ext]",
14
+ algorithm: "gzip"
14
15
  }),
15
16
  new CompressionPlugin({
16
17
  test: /\.(js|css|html|svg|txt|eot|otf|ttf|gif)$/,
17
- filename(info){
18
- let opFile= info.path.split('.'),
19
- opFileType = opFile.pop(),
20
- opFileName = opFile.join('.');
21
- return `${opFileName}.gzip.${opFileType}`;
22
- }
23
- })
18
+ filename: "[name].br[ext]",
19
+ algorithm: "brotliCompress"
20
+ }),
24
21
  ],
25
22
  optimization: {
26
23
  splitChunks: {
@@ -15,6 +15,12 @@
15
15
  <div wmConfirmDialog name="_app-confirm-dialog" title.bind="title" message.bind="message" oktext.bind="oktext"
16
16
  canceltext.bind="canceltext" closable="false" iconclass.bind="iconclass"
17
17
  escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>
18
+ <div *ngIf="!isApplicationType" wmConfirmDialog name="PrefabConfirmDialog" title.bind="title" message.bind="text" oktext.bind="okButtonText"
19
+ canceltext.bind="cancelButtonText" closable="false" iconclass.bind="iconclass"
20
+ escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>
21
+ <div *ngIf="!isApplicationType" wmAlertDialog name="PrefabAlertDialog" title.bind="title" message.bind="text" oktext.bind="okButtonText"
22
+ canceltext.bind="cancelButtonText" closable="false" iconclass.bind="iconclass"
23
+ escape.event="onEscape()" ok.event="onOk()" cancel.event="onCancel()" close.event="onClose()" opened.event="onOpen()"></div>
18
24
  <div wmAppExt></div>
19
25
  <i id="wm-mobile-display"></i>
20
26
  </ng-container>