Merge "add toggle variable ansible fire failure to awx function"
[ccsdk/cds.git] / cds-ui / client / src / polyfills.ts
1 /*
2 ============LICENSE_START==========================================
3 ===================================================================
4 Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
5 ===================================================================
6
7 Unless otherwise specified, all software contained herein is licensed
8 under the Apache License, Version 2.0 (the License);
9 you may not use this software except in compliance with the License.
10 You may obtain a copy of the License at
11
12     http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END============================================
20 */
21
22 /**
23  * This file includes polyfills needed by Angular and is loaded before the app.
24  * You can add your own extra polyfills to this file.
25  *
26  * This file is divided into 2 sections:
27  *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
28  *   2. Application imports. Files imported after ZoneJS that should be loaded before your main
29  *      file.
30  *
31  * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
32  * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
33  * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
34  *
35  * Learn more in https://angular.io/guide/browser-support
36  */
37
38 /***************************************************************************************************
39  * BROWSER POLYFILLS
40  */
41
42 /** IE9, IE10 and IE11 requires all of the following polyfills. **/
43 // import 'core-js/es6/symbol';
44 // import 'core-js/es6/object';
45 // import 'core-js/es6/function';
46 // import 'core-js/es6/parse-int';
47 // import 'core-js/es6/parse-float';
48 // import 'core-js/es6/number';
49 // import 'core-js/es6/math';
50 // import 'core-js/es6/string';
51 // import 'core-js/es6/date';
52 // import 'core-js/es6/array';
53 // import 'core-js/es6/regexp';
54 // import 'core-js/es6/map';
55 // import 'core-js/es6/weak-map';
56 // import 'core-js/es6/set';
57
58 /**
59  * If the application will be indexed by Google Search, the following is required.
60  * Googlebot uses a renderer based on Chrome 41.
61  * https://developers.google.com/search/docs/guides/rendering
62  **/
63 // import 'core-js/es6/array';
64
65 /** IE10 and IE11 requires the following for NgClass support on SVG elements */
66 // import 'classlist.js';  // Run `npm install --save classlist.js`.
67
68 /** IE10 and IE11 requires the following for the Reflect API. */
69 // import 'core-js/es6/reflect';
70
71 /**
72  * Web Animations `@angular/platform-browser/animations`
73  * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
74  * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
75  **/
76 // import 'web-animations-js';  // Run `npm install --save web-animations-js`.
77
78 /**
79  * By default, zone.js will patch all possible macroTask and DomEvents
80  * user can disable parts of macroTask/DomEvents patch by setting following flags
81  */
82
83  // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
84  // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
85  // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
86
87  /*
88  * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
89  * with the following flag, it will bypass `zone.js` patch for IE/Edge
90  */
91 // (window as any).__Zone_enable_cross_context_check = true;
92
93 /***************************************************************************************************
94  * Zone JS is required by default for Angular itself.
95  */
96 import 'zone.js/dist/zone';  // Included with Angular CLI.
97
98
99 /***************************************************************************************************
100  * APPLICATION IMPORTS
101  */