blob: f6ac758e542627b54609fb79de1275293b2f825f [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function (global) {
System.config({
paths: {
// paths serve as alias
'npm:': 'fds/node_modules/'
},
// map tells the System loader where to look for things
map: {
'text': 'npm:systemjs-plugin-text/text.js',
'app': './platform',
// jquery
'jquery': 'npm:jquery/dist/jquery.min.js',
// Angular
'@angular/core': 'npm:@angular/core/bundles/core.umd.js',
'@angular/common': 'npm:@angular/common/bundles/common.umd.js',
'@angular/common/http': 'npm:@angular/common/bundles/common-http.umd.js',
'@angular/common/http/testing': 'npm:@angular/common/bundles/common-http-testing.umd.js',
'@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
'@angular/http': 'npm:@angular/http/bundles/http.umd.js',
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
'@angular/flex-layout': 'npm:@angular/flex-layout/bundles/flex-layout.umd.js',
'@angular/flex-layout/core': 'npm:@angular/flex-layout/bundles/flex-layout-core.umd.js',
'@angular/flex-layout/extended': 'npm:@angular/flex-layout/bundles/flex-layout-extended.umd.js',
'@angular/flex-layout/flex': 'npm:@angular/flex-layout/bundles/flex-layout-flex.umd.js',
'@angular/material': 'npm:@angular/material/bundles/material.umd.js',
'@angular/material/core': 'npm:@angular/material/bundles/material-core.umd.js',
'@angular/material/card': 'npm:@angular/material/bundles/material-card.umd.js',
'@angular/material/divider': 'npm:@angular/material/bundles/material-divider.umd.js',
'@angular/material/progress-bar': 'npm:@angular/material/bundles/material-progress-bar.umd.js',
'@angular/material/progress-spinner': 'npm:@angular/material/bundles/material-progress-spinner.umd.js',
'@angular/material/chips': 'npm:@angular/material/bundles/material-chips.umd.js',
'@angular/material/input': 'npm:@angular/material/bundles/material-input.umd.js',
'@angular/material/icon': 'npm:@angular/material/bundles/material-icon.umd.js',
'@angular/material/button': 'npm:@angular/material/bundles/material-button.umd.js',
'@angular/material/checkbox': 'npm:@angular/material/bundles/material-checkbox.umd.js',
'@angular/material/tooltip': 'npm:@angular/material/bundles/material-tooltip.umd.js',
'@angular/material/dialog': 'npm:@angular/material/bundles/material-dialog.umd.js',
'@angular/material/sidenav': 'npm:@angular/material/bundles/material-sidenav.umd.js',
'@angular/material/menu': 'npm:@angular/material/bundles/material-menu.umd.js',
'@angular/material/form-field': 'npm:@angular/material/bundles/material-form-field.umd.js',
'@angular/material/toolbar': 'npm:@angular/material/bundles/material-toolbar.umd.js',
'@angular/material/autocomplete': 'npm:@angular/material/bundles/material-autocomplete.umd.js',
'@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js',
'@angular/cdk': 'npm:@angular/cdk/bundles/cdk.umd.js',
'@angular/cdk/a11y': 'npm:@angular/cdk/bundles/cdk-a11y.umd.js',
'@angular/cdk/accordion': 'npm:@angular/cdk/bundles/cdk-accordion.umd.js',
'@angular/cdk/layout': 'npm:@angular/cdk/bundles/cdk-layout.umd.js',
'@angular/cdk/collections': 'npm:@angular/cdk/bundles/cdk-collections.umd.js',
'@angular/cdk/observers': 'npm:@angular/cdk/bundles/cdk-observers.umd.js',
'@angular/cdk/overlay': 'npm:@angular/cdk/bundles/cdk-overlay.umd.js',
'@angular/cdk/platform': 'npm:@angular/cdk/bundles/cdk-platform.umd.js',
'@angular/cdk/portal': 'npm:@angular/cdk/bundles/cdk-portal.umd.js',
'@angular/cdk/keycodes': 'npm:@angular/cdk/bundles/cdk-keycodes.umd.js',
'@angular/cdk/bidi': 'npm:@angular/cdk/bundles/cdk-bidi.umd.js',
'@angular/cdk/coercion': 'npm:@angular/cdk/bundles/cdk-coercion.umd.js',
'@angular/cdk/table': 'npm:@angular/cdk/bundles/cdk-table.umd.js',
'@angular/cdk/rxjs': 'npm:@angular/cdk/bundles/cdk-rxjs.umd.js',
'@angular/cdk/scrolling': 'npm:@angular/cdk/bundles/cdk-scrolling.umd.js',
'@angular/cdk/stepper': 'npm:@angular/cdk/bundles/cdk-stepper.umd.js',
'@angular/animations': 'npm:@angular/animations/bundles/animations.umd.js',
'@angular/animations/browser': 'npm:@angular/animations/bundles/animations-browser.umd.js',
'@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
// needed to support gestures for angular material
'hammerjs': 'npm:hammerjs/hammer.min.js',
// Covalent
'@covalent/core': 'npm:@covalent/core/bundles/covalent-core.umd.min.js',
'@covalent/core/common': 'npm:@covalent/core/bundles/covalent-core-common.umd.min.js',
// other libraries
'rxjs': 'npm:rxjs',
'zone.js': 'npm:zone.js/dist/zone.js',
// Flow Design System
'@flow-design-system/core': 'platform/core/flow-design-system.module.js',
'@flow-design-system/dialogs': 'platform/core/dialogs/fds-dialogs.module.js',
'@flow-design-system/dialog-component': 'platform/core/dialogs/fds-dialog.component.js',
'@flow-design-system/dialog-service': 'platform/core/dialogs/services/dialog.service.js',
'@flow-design-system/confirm-dialog-component': 'platform/core/dialogs/confirm-dialog/confirm-dialog.component.js',
'@flow-design-system/snackbars': 'platform/core/snackbars/fds-snackbars.module.js',
'@flow-design-system/snackbar-component': 'platform/core/snackbars/fds-snackbar.component.js',
'@flow-design-system/snackbar-service': 'platform/core/snackbars/services/snackbar.service.js',
'@flow-design-system/coaster-component': 'platform/core/snackbars/coaster/coaster.component.js',
'@flow-design-system/common/storage-service': 'platform/core/common/services/fds-storage.service.js'
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
'rxjs': {
defaultExtension: 'js'
}
}
});
})(this);