added svcapi ui and camunda code
[it/otf.git] / otf-frontend / client / src / polyfills.ts
1 /*  Copyright (c) 2019 AT&T Intellectual Property.                             #\r
2 #                                                                              #\r
3 #   Licensed under the Apache License, Version 2.0 (the "License");            #\r
4 #   you may not use this file except in compliance with the License.           #\r
5 #   You may obtain a copy of the License at                                    #\r
6 #                                                                              #\r
7 #       http://www.apache.org/licenses/LICENSE-2.0                             #\r
8 #                                                                              #\r
9 #   Unless required by applicable law or agreed to in writing, software        #\r
10 #   distributed under the License is distributed on an "AS IS" BASIS,          #\r
11 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
12 #   See the License for the specific language governing permissions and        #\r
13 #   limitations under the License.                                             #\r
14 ##############################################################################*/\r
15 \r
16 \r
17 /**\r
18  * This file includes polyfills needed by Angular and is loaded before the app.\r
19  * You can add your own extra polyfills to this file.\r
20  *\r
21  * This file is divided into 2 sections:\r
22  *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\r
23  *   2. Application imports. Files imported after ZoneJS that should be loaded before your main\r
24  *      file.\r
25  *\r
26  * The current setup is for so-called "evergreen" browsers; the last versions of browsers that\r
27  * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\r
28  * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\r
29  *\r
30  * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\r
31  */\r
32 \r
33 /***************************************************************************************************\r
34  * BROWSER POLYFILLS\r
35  */\r
36 \r
37 /** IE9, IE10 and IE11 requires all of the following polyfills. **/\r
38 import 'core-js/es6/symbol';\r
39 import 'core-js/es6/object';\r
40 import 'core-js/es6/function';\r
41 import 'core-js/es6/parse-int';\r
42 import 'core-js/es6/parse-float';\r
43 import 'core-js/es6/number';\r
44 import 'core-js/es6/math';\r
45 import 'core-js/es6/string';\r
46 import 'core-js/es6/date';\r
47 import 'core-js/es6/array';\r
48 import 'core-js/es6/regexp';\r
49 import 'core-js/es6/map';\r
50 import 'core-js/es6/weak-map';\r
51 import 'core-js/es6/set';\r
52 \r
53 (window as any).global = window;\r
54 \r
55 /** IE10 and IE11 requires the following for NgClass support on SVG elements */\r
56 //import 'classlist.js';  // Run `npm install --save classlist.js`.\r
57 \r
58 /** Evergreen browsers require these. **/\r
59 import 'core-js/es6/reflect';\r
60 import 'core-js/es7/reflect';\r
61 \r
62 /**\r
63  * Required to support Web Animations `@angular/platform-browser/animations`.\r
64  * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation\r
65  **/\r
66 //import 'web-animations-js';  // Run `npm install --save web-animations-js`.\r
67 \r
68 /***************************************************************************************************\r
69  * Zone JS is required by Angular itself.\r
70  */\r
71 import 'zone.js/dist/zone'; // Included with Angular CLI.\r
72 \r
73 /***************************************************************************************************\r
74  * APPLICATION IMPORTS\r
75  */\r
76 \r
77 /**\r
78  * Date, currency, decimal and percent pipes.\r
79  * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\r
80  */\r
81 // import 'intl';  // Run `npm install --save intl`.\r
82 /**\r
83  * Need to import at least one locale-data with intl.\r
84  */\r
85 // import 'intl/locale-data/jsonp/en';\r