]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/polyfills.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / polyfills.ts
1 /***************************************************************************************************
2 * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
3 */
4 import '@angular/localize/init';
5 /**
6 * This file includes polyfills needed by Angular and is loaded before the app.
7 * You can add your own extra polyfills to this file.
8 *
9 * This file is divided into 2 sections:
10 * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
11 * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
12 * file.
13 *
14 * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
15 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
16 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
17 *
18 * Learn more in https://angular.io/guide/browser-support
19 */
20
21 /***************************************************************************************************
22 * BROWSER POLYFILLS
23 */
24
25 /** IE10 and IE11 requires the following for the Reflect API. */
26 // import 'core-js/es6/reflect';
27
28 /***************************************************************************************************
29 * Zone JS is required by Angular itself.
30 */
31 import 'zone.js/dist/zone'; // Included with Angular CLI.
32
33 /***************************************************************************************************
34 * APPLICATION IMPORTS
35 */
36
37 /**
38 * Date, currency, decimal and percent pipes.
39 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
40 */
41 // import 'intl'; // Run `npm install --save intl`.
42 /**
43 * Need to import at least one locale-data with intl.
44 */
45 // import 'intl/locale-data/jsonp/en';