http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/index.html ---------------------------------------------------------------------- diff --git a/demo-app/index.html b/demo-app/index.html new file mode 100644 index 0000000..ce269ea --- /dev/null +++ b/demo-app/index.html @@ -0,0 +1,37 @@ +<!-- + 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. +--> +<!DOCTYPE html> +<html> +<head> + <title>Apache NiFi Flow Design System Demo</title> + <base href='/'> + <meta charset='UTF-8'> + <meta name='viewport' content='width=device-width, initial-scale=1'> + <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/> + <link rel="stylesheet" href="node_modules/@covalent/core/common/platform.css"> + <link rel="stylesheet" href='demo-app/css/fds-demo.min.css'/> + <link rel='stylesheet' href='node_modules/font-awesome/css/font-awesome.css'/> +</head> +<body> +<fds-app></fds-app> +</body> +<script src="node_modules/systemjs/dist/system.src.js"></script> +<script src="demo-app/systemjs.config.js?"></script> +<script> + System.import('demo-app/fds-bootstrap.js').catch(function (err) { + console.error(err); + }); +</script> +</html>
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/services/fds.service.js ---------------------------------------------------------------------- diff --git a/demo-app/services/fds.service.js b/demo-app/services/fds.service.js new file mode 100644 index 0000000..7609ddc --- /dev/null +++ b/demo-app/services/fds.service.js @@ -0,0 +1,52 @@ +/* + * 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. + */ + +var covalentCore = require('@covalent/core'); +var fdsDialogsModule = require('@flow-design-system/dialogs'); +var fdsSnackBarsModule = require('@flow-design-system/snackbars'); + +/** + * FdsService constructor. + * + * @param tdDataTableService The covalent data table service module. + * @param fdsDialogService The FDS dialog service. + * @param fdsSnackBarService The FDS snack bar service module. + * @constructor + */ +function FdsService(tdDataTableService, fdsDialogService, fdsSnackBarService) { + // Services + this.dialogService = fdsDialogService; + this.snackBarService = fdsSnackBarService; + this.dataTableService = tdDataTableService; + + // General + this.title = "Apache NiFi Flow Design System Demo"; + this.inProgress = true; + this.perspective = ''; +}; + +FdsService.prototype = { + constructor: FdsService, +}; + +FdsService.parameters = [ + covalentCore.TdDataTableService, + fdsDialogsModule.FdsDialogService, + fdsSnackBarsModule.FdsSnackBarService +]; + +module.exports = FdsService; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/systemjs-angular-loader.js ---------------------------------------------------------------------- diff --git a/demo-app/systemjs-angular-loader.js b/demo-app/systemjs-angular-loader.js new file mode 100644 index 0000000..8e33bb5 --- /dev/null +++ b/demo-app/systemjs-angular-loader.js @@ -0,0 +1,66 @@ +/* + * 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. + */ + +var templateUrlRegex = /templateUrl\s*:(\s*['"`](.*?)['"`]\s*)/gm; +var stylesRegex = /styleUrls *:(\s*\[[^\]]*?\])/g; +var stringRegex = /(['`"])((?:[^\\]\\\1|.)*?)\1/g; + +module.exports.translate = function (load) { + if (load.source.indexOf('moduleId') != -1) return load; + + var url = document.createElement('a'); + url.href = load.address; + + var basePathParts = url.pathname.split('/'); + + basePathParts.pop(); + var basePath = basePathParts.join('/'); + + var baseHref = document.createElement('a'); + baseHref.href = this.baseURL; + baseHref = baseHref.pathname; + + if (!baseHref.startsWith('/base/')) { // it is not karma + basePath = basePath.replace(baseHref, ''); + } + + load.source = load.source + .replace(templateUrlRegex, function (match, quote, url) { + var resolvedUrl = url; + + if (url.startsWith('.')) { + resolvedUrl = basePath + url.substr(1); + } + + return 'templateUrl: "' + resolvedUrl + '"'; + }) + .replace(stylesRegex, function (match, relativeUrls) { + var urls = []; + + while ((match = stringRegex.exec(relativeUrls)) !== null) { + if (match[2].startsWith('.')) { + urls.push('"' + basePath + match[2].substr(1) + '"'); + } else { + urls.push('"' + match[2] + '"'); + } + } + + return "styleUrls: [" + urls.join(', ') + "]"; + }); + + return load; +}; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/systemjs.config.extras.js ---------------------------------------------------------------------- diff --git a/demo-app/systemjs.config.extras.js b/demo-app/systemjs.config.extras.js new file mode 100644 index 0000000..e2a256a --- /dev/null +++ b/demo-app/systemjs.config.extras.js @@ -0,0 +1,27 @@ +/* + * 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. + */ + +/** + * Add barrels and stuff + */ +(function (global) { + System.config({ + packages: { + // add packages here + } + }); +})(this); http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/systemjs.config.js ---------------------------------------------------------------------- diff --git a/demo-app/systemjs.config.js b/demo-app/systemjs.config.js new file mode 100644 index 0000000..f9bfb96 --- /dev/null +++ b/demo-app/systemjs.config.js @@ -0,0 +1,128 @@ +/* + * 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:': 'node_modules/' + }, + // map tells the System loader where to look for things + map: { + 'text': 'npm:systemjs-plugin-text/text.js', + 'app': './demo-app', + + // 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', + 'core-js': 'npm:core-js/client/shim.min.js', + 'tslib': 'npm:tslib/tslib.js', + + // Flow Design System + '@flow-design-system/core': 'npm:@nifi-fds/core/flow-design-system.module.js', + '@flow-design-system/dialogs': 'npm:@nifi-fds/core/dialogs/fds-dialogs.module.js', + '@flow-design-system/dialog-component': 'npm:@nifi-fds/core/dialogs/fds-dialog.component.js', + '@flow-design-system/dialog-service': 'npm:@nifi-fds/core/dialogs/services/dialog.service.js', + '@flow-design-system/confirm-dialog-component': 'npm:@nifi-fds/core/dialogs/confirm-dialog/confirm-dialog.component.js', + '@flow-design-system/snackbars': 'npm:@nifi-fds/core/snackbars/fds-snackbars.module.js', + '@flow-design-system/snackbar-component': 'npm:@nifi-fds/core/snackbars/fds-snackbar.component.js', + '@flow-design-system/snackbar-service': 'npm:@nifi-fds/core/snackbars/services/snackbar.service.js', + '@flow-design-system/coaster-component': 'npm:@nifi-fds/core/snackbars/coaster/coaster.component.js', + '@flow-design-system/common/storage-service': 'npm:@nifi-fds/core/common/services/fds-storage.service.js' + }, + // packages tells the System loader how to load when no filename and/or no extension + packages: { + app: { + defaultExtension: 'js', + meta: { + './*.js': { + loader: 'demo-app/systemjs-angular-loader.js' + } + } + }, + 'demo-app/systemjs-angular-loader.js': { + loader: false + }, + 'rxjs': { + defaultExtension: 'js' + } + } + }); +})(this); http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/theming/_helperClasses.scss ---------------------------------------------------------------------- diff --git a/demo-app/theming/_helperClasses.scss b/demo-app/theming/_helperClasses.scss new file mode 100644 index 0000000..6918db4 --- /dev/null +++ b/demo-app/theming/_helperClasses.scss @@ -0,0 +1,78 @@ +/* + * 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. + */ + +.fa-rotate-45 { + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); +} + +.capitalize { + text-transform: capitalize; +} + +.uppercase { + text-transform: uppercase; +} + +.ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: block !important; +} + +.info { + color: $blue8; +} + +.authorized { + color: $red2; +} + +.suspended { + color: $green3; +} + +.nonconfigurable { + background: $grey9; +} + +.selected-nonconfigurable { + background: repeating-linear-gradient(-45deg, $grey5, $grey5 10px, #fff 10px, #fff 20px) !important; +} + +.fds-button-container { + position: absolute; + bottom: 0px; + height: 64px; + left: 0px; + right: 0px; + border-top: 1px solid $grey4; +} + +.fds-button-container .done-button { + float: right; + margin-right: 15px; + margin-top: 15px; +} + +.td-expansion-content { + background: $grey6; +} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/theming/_structureElements.scss ---------------------------------------------------------------------- diff --git a/demo-app/theming/_structureElements.scss b/demo-app/theming/_structureElements.scss new file mode 100644 index 0000000..b84c60a --- /dev/null +++ b/demo-app/theming/_structureElements.scss @@ -0,0 +1,84 @@ +/* + * 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. + */ + +body { + background: $grey12; + background-size: 40%; +} + +#fds-app-container { + margin: 0; + width: 100%; + height: 100%; +} + +#fds-toolbar { + min-width: 1045px; + background-color: #FFFFFF; + position: absolute; + z-index: 1000; + background: $grey11; +} + +#fds-toolbar .mat-icon-button { + color: $grey5; + font-size: 20px; + margin: 0; +} + +#fds-toolbar .mat-select-value-text, #fds-toolbar .mat-select-arrow { + color: white; +} + +#fds-toolbar span, #fds-toolbar .link { + color: $grey5; + font-weight: lighter; +} + +#fds-perspectives-container { + position: absolute; + top: 64px; + left: 0px; + right: 0px; + bottom: 0px; + min-height: 370px; + min-width: 1045px; + overflow: auto; + background: $grey12; + background-size: 40%; +} + +#loading-spinner { + position: absolute; + top: calc(50% - 50px); + left: calc(50% - 50px); + z-index: 2; +} + +mat-sidenav { + width: 40%; + min-width: 418px; +} + +.sidenav-content { + position: absolute; + bottom: 60px; + top: 80px; + right: 0px; + left: 0px; + overflow: auto; +} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/theming/fds-demo.scss ---------------------------------------------------------------------- diff --git a/demo-app/theming/fds-demo.scss b/demo-app/theming/fds-demo.scss new file mode 100644 index 0000000..b1aed8a --- /dev/null +++ b/demo-app/theming/fds-demo.scss @@ -0,0 +1,51 @@ +/* + * 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. + */ + +/* Welcome to Compass. + * In this file you should centralize your imports. After compilation simply import this file using the following HTML or equivalent: + * <link href='demo-app/css/fds-demo.min.css' media='screen, projection' rel='stylesheet' type='text/css' /> */ + +@import '../../target/node_modules/@nifi-fds/core/common/styles/globalVars'; +// Include the base styles for Nifi FDS core. We include this here so that you only +// have to load a single css file for Nifi FDS in your app. +@import '../../target/node_modules/@nifi-fds/core/theming/all-theme'; +@import 'structureElements'; +@import 'helperClasses'; + +//Change these +$primaryColor: $rose1; +$primaryColorHover: $rose2; +$accentColor: $blue7; +$accentColorHover: $grey4; + +// Include the base styles for Angular Material core. We include this here so that you only +// have to load a single css file for Angular Material in your app. +@include mat-core; + +// Define the palettes +$fds-base-palette: (50: #89df79, 100: $primaryColorHover, 200: #65d550, 300: #53d03b, 400: #46c32f, 500: $primaryColor, 600: $primaryColor, 700: #89df79, 800: #29701b, 900: #215c16, A100: #9be48d, A200: #ade9a2, A400: #bfedb6, A700: #1a4711, contrast: (50: $black-87-opacity, 100: $black-87-opacity, 200: $black-87-opacity, 300: white, 400: white, 500: $white-87-opacity, 600: $white-87-opacity, 700: $white-87-opacity, 800: $white-87-opacity, 900: $white-87-opacity, A100: $black-87-opacity, A200: white, A400: white, A700: $white-87-opacity)); +$fds-accent-palette: (50: #89df79, 100: $accentColorHover, 200: #65d550, 300: #53d03b, 400: #46c32f, 500: $accentColor, 600: $accentColor, 700: #89df79, 800: #29701b, 900: #215c16, A100: #9be48d, A200: #ade9a2, A400: #bfedb6, A700: #1a4711, contrast: (50: $black-87-opacity, 100: $black-87-opacity, 200: $black-87-opacity, 300: white, 400: white, 500: $white-87-opacity, 600: $white-87-opacity, 700: $white-87-opacity, 800: $white-87-opacity, 900: $white-87-opacity, A100: $black-87-opacity, A200: white, A400: white, A700: $white-87-opacity)); +$fds-warn-palette: (50: #81410f, 100: #D14A50, 200: #af5814, 300: #c66317, 400: #dd6f19, 500: $warnColor, 600: $warnColor, 700: #eea66e, 800: #f1b485, 900: #f4c29b, A100: #ec9857, A200: #89df79, A400: #89df79, A700: #f6d0b2, contrast: (50: $black-87-opacity, 100: $black-87-opacity, 200: $black-87-opacity, 300: white, 400: white, 500: $white-87-opacity, 600: $white-87-opacity, 700: $white-87-opacity, 800: $white-87-opacity, 900: $white-87-opacity, A100: $black-87-opacity, A200: white, A400: white, A700: $white-87-opacity)); +$fds-primary: mat-palette($fds-base-palette, 500, 100, 500); +$fds-accent: mat-palette($fds-accent-palette, 500, 100, 500); +$fds-warn: mat-palette($fds-warn-palette, 500, 100, 500); + +// Define the theme (Optionally specify a default, lighter, and darker hue.) +$fds-theme: mat-light-theme($fds-primary, $fds-accent, $fds-warn); + +// FDS theme mixin +@include fds-theme($fds-theme); http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html new file mode 100644 index 0000000..e759f14 --- /dev/null +++ b/index.html @@ -0,0 +1,36 @@ +<!-- + 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. +--> +<!DOCTYPE html> +<html> +<head> + <title>Apache NiFi Flow Design System Demo</title> + <base href='/nifi-fds/'> + <meta charset='UTF-8'> + <meta name='viewport' content='width=device-width, initial-scale=1'> + <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/> + <link rel="stylesheet" href="node_modules/@covalent/core/common/platform.css"> + <link rel="stylesheet" href='node_modules/@nifi-fds/core/common/styles/css/flow-design-system.min.css'/> + <link rel="stylesheet" href='../demo-app/css/fds-demo.min.css'/> + <link rel='stylesheet' href='node_modules/font-awesome/css/font-awesome.css'/> +</head> +<body> +<fds-app></fds-app> +</body> +<script src="node_modules/systemjs/dist/system.src.js"></script> +<script src="../demo-app/systemjs.config.js?"></script> +<script> + System.import('../demo-app/fds-bootstrap.js').catch(function(err) {console.error(err);}); +</script> +</html> http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/blocking-proxy ---------------------------------------------------------------------- diff --git a/node_modules/.bin/blocking-proxy b/node_modules/.bin/blocking-proxy new file mode 120000 index 0000000..2b0fa22 --- /dev/null +++ b/node_modules/.bin/blocking-proxy @@ -0,0 +1 @@ +../blocking-proxy/built/lib/bin.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/cake ---------------------------------------------------------------------- diff --git a/node_modules/.bin/cake b/node_modules/.bin/cake new file mode 120000 index 0000000..373ed19 --- /dev/null +++ b/node_modules/.bin/cake @@ -0,0 +1 @@ +../coffeescript/bin/cake \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/coffee ---------------------------------------------------------------------- diff --git a/node_modules/.bin/coffee b/node_modules/.bin/coffee new file mode 120000 index 0000000..52c50e8 --- /dev/null +++ b/node_modules/.bin/coffee @@ -0,0 +1 @@ +../coffeescript/bin/coffee \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/dateformat ---------------------------------------------------------------------- diff --git a/node_modules/.bin/dateformat b/node_modules/.bin/dateformat new file mode 120000 index 0000000..bb9cf7b --- /dev/null +++ b/node_modules/.bin/dateformat @@ -0,0 +1 @@ +../dateformat/bin/cli.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/detect-libc ---------------------------------------------------------------------- diff --git a/node_modules/.bin/detect-libc b/node_modules/.bin/detect-libc new file mode 120000 index 0000000..b4c4b76 --- /dev/null +++ b/node_modules/.bin/detect-libc @@ -0,0 +1 @@ +../detect-libc/bin/detect-libc.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/ecstatic ---------------------------------------------------------------------- diff --git a/node_modules/.bin/ecstatic b/node_modules/.bin/ecstatic new file mode 120000 index 0000000..5a8a58a --- /dev/null +++ b/node_modules/.bin/ecstatic @@ -0,0 +1 @@ +../ecstatic/lib/ecstatic.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/escodegen ---------------------------------------------------------------------- diff --git a/node_modules/.bin/escodegen b/node_modules/.bin/escodegen new file mode 120000 index 0000000..01a7c32 --- /dev/null +++ b/node_modules/.bin/escodegen @@ -0,0 +1 @@ +../escodegen/bin/escodegen.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/esgenerate ---------------------------------------------------------------------- diff --git a/node_modules/.bin/esgenerate b/node_modules/.bin/esgenerate new file mode 120000 index 0000000..7d0293e --- /dev/null +++ b/node_modules/.bin/esgenerate @@ -0,0 +1 @@ +../escodegen/bin/esgenerate.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/esparse ---------------------------------------------------------------------- diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse new file mode 120000 index 0000000..7423b18 --- /dev/null +++ b/node_modules/.bin/esparse @@ -0,0 +1 @@ +../esprima/bin/esparse.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/esvalidate ---------------------------------------------------------------------- diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate new file mode 120000 index 0000000..16069ef --- /dev/null +++ b/node_modules/.bin/esvalidate @@ -0,0 +1 @@ +../esprima/bin/esvalidate.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/grunt ---------------------------------------------------------------------- diff --git a/node_modules/.bin/grunt b/node_modules/.bin/grunt new file mode 120000 index 0000000..47724d2 --- /dev/null +++ b/node_modules/.bin/grunt @@ -0,0 +1 @@ +../grunt/bin/grunt \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/handlebars ---------------------------------------------------------------------- diff --git a/node_modules/.bin/handlebars b/node_modules/.bin/handlebars new file mode 120000 index 0000000..fb7d090 --- /dev/null +++ b/node_modules/.bin/handlebars @@ -0,0 +1 @@ +../handlebars/bin/handlebars \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/he ---------------------------------------------------------------------- diff --git a/node_modules/.bin/he b/node_modules/.bin/he new file mode 120000 index 0000000..2a8eb5e --- /dev/null +++ b/node_modules/.bin/he @@ -0,0 +1 @@ +../he/bin/he \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/hs ---------------------------------------------------------------------- diff --git a/node_modules/.bin/hs b/node_modules/.bin/hs new file mode 120000 index 0000000..cb3b666 --- /dev/null +++ b/node_modules/.bin/hs @@ -0,0 +1 @@ +../http-server/bin/http-server \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/http-server ---------------------------------------------------------------------- diff --git a/node_modules/.bin/http-server b/node_modules/.bin/http-server new file mode 120000 index 0000000..cb3b666 --- /dev/null +++ b/node_modules/.bin/http-server @@ -0,0 +1 @@ +../http-server/bin/http-server \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/in-install ---------------------------------------------------------------------- diff --git a/node_modules/.bin/in-install b/node_modules/.bin/in-install new file mode 120000 index 0000000..08c9689 --- /dev/null +++ b/node_modules/.bin/in-install @@ -0,0 +1 @@ +../in-publish/in-install.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/in-publish ---------------------------------------------------------------------- diff --git a/node_modules/.bin/in-publish b/node_modules/.bin/in-publish new file mode 120000 index 0000000..ae9e779 --- /dev/null +++ b/node_modules/.bin/in-publish @@ -0,0 +1 @@ +../in-publish/in-publish.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/istanbul ---------------------------------------------------------------------- diff --git a/node_modules/.bin/istanbul b/node_modules/.bin/istanbul new file mode 120000 index 0000000..c129fe5 --- /dev/null +++ b/node_modules/.bin/istanbul @@ -0,0 +1 @@ +../istanbul/lib/cli.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/jasmine ---------------------------------------------------------------------- diff --git a/node_modules/.bin/jasmine b/node_modules/.bin/jasmine new file mode 120000 index 0000000..d2c1bff --- /dev/null +++ b/node_modules/.bin/jasmine @@ -0,0 +1 @@ +../jasmine/bin/jasmine.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/js-yaml ---------------------------------------------------------------------- diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml new file mode 120000 index 0000000..9dbd010 --- /dev/null +++ b/node_modules/.bin/js-yaml @@ -0,0 +1 @@ +../js-yaml/bin/js-yaml.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/karma ---------------------------------------------------------------------- diff --git a/node_modules/.bin/karma b/node_modules/.bin/karma new file mode 120000 index 0000000..0dfd162 --- /dev/null +++ b/node_modules/.bin/karma @@ -0,0 +1 @@ +../karma-cli/bin/karma \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/mime ---------------------------------------------------------------------- diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime new file mode 120000 index 0000000..fbb7ee0 --- /dev/null +++ b/node_modules/.bin/mime @@ -0,0 +1 @@ +../mime/cli.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/mkdirp ---------------------------------------------------------------------- diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp new file mode 120000 index 0000000..017896c --- /dev/null +++ b/node_modules/.bin/mkdirp @@ -0,0 +1 @@ +../mkdirp/bin/cmd.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/node-gyp ---------------------------------------------------------------------- diff --git a/node_modules/.bin/node-gyp b/node_modules/.bin/node-gyp new file mode 120000 index 0000000..9b31a4f --- /dev/null +++ b/node_modules/.bin/node-gyp @@ -0,0 +1 @@ +../node-gyp/bin/node-gyp.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/node-sass ---------------------------------------------------------------------- diff --git a/node_modules/.bin/node-sass b/node_modules/.bin/node-sass new file mode 120000 index 0000000..a4b0134 --- /dev/null +++ b/node_modules/.bin/node-sass @@ -0,0 +1 @@ +../node-sass/bin/node-sass \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/nopt ---------------------------------------------------------------------- diff --git a/node_modules/.bin/nopt b/node_modules/.bin/nopt new file mode 120000 index 0000000..6b6566e --- /dev/null +++ b/node_modules/.bin/nopt @@ -0,0 +1 @@ +../nopt/bin/nopt.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/not-in-install ---------------------------------------------------------------------- diff --git a/node_modules/.bin/not-in-install b/node_modules/.bin/not-in-install new file mode 120000 index 0000000..dbfcf38 --- /dev/null +++ b/node_modules/.bin/not-in-install @@ -0,0 +1 @@ +../in-publish/not-in-install.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/not-in-publish ---------------------------------------------------------------------- diff --git a/node_modules/.bin/not-in-publish b/node_modules/.bin/not-in-publish new file mode 120000 index 0000000..5cc2922 --- /dev/null +++ b/node_modules/.bin/not-in-publish @@ -0,0 +1 @@ +../in-publish/not-in-publish.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/opener ---------------------------------------------------------------------- diff --git a/node_modules/.bin/opener b/node_modules/.bin/opener new file mode 120000 index 0000000..120b591 --- /dev/null +++ b/node_modules/.bin/opener @@ -0,0 +1 @@ +../opener/opener.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/prebuild-install ---------------------------------------------------------------------- diff --git a/node_modules/.bin/prebuild-install b/node_modules/.bin/prebuild-install new file mode 120000 index 0000000..12a458d --- /dev/null +++ b/node_modules/.bin/prebuild-install @@ -0,0 +1 @@ +../prebuild-install/bin.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/protractor ---------------------------------------------------------------------- diff --git a/node_modules/.bin/protractor b/node_modules/.bin/protractor new file mode 120000 index 0000000..58967e8 --- /dev/null +++ b/node_modules/.bin/protractor @@ -0,0 +1 @@ +../protractor/bin/protractor \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/rc ---------------------------------------------------------------------- diff --git a/node_modules/.bin/rc b/node_modules/.bin/rc new file mode 120000 index 0000000..48b3cda --- /dev/null +++ b/node_modules/.bin/rc @@ -0,0 +1 @@ +../rc/cli.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/rimraf ---------------------------------------------------------------------- diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf new file mode 120000 index 0000000..4cd49a4 --- /dev/null +++ b/node_modules/.bin/rimraf @@ -0,0 +1 @@ +../rimraf/bin.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/sassgraph ---------------------------------------------------------------------- diff --git a/node_modules/.bin/sassgraph b/node_modules/.bin/sassgraph new file mode 120000 index 0000000..901ada9 --- /dev/null +++ b/node_modules/.bin/sassgraph @@ -0,0 +1 @@ +../sass-graph/bin/sassgraph \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/semver ---------------------------------------------------------------------- diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver new file mode 120000 index 0000000..317eb29 --- /dev/null +++ b/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/sshpk-conv ---------------------------------------------------------------------- diff --git a/node_modules/.bin/sshpk-conv b/node_modules/.bin/sshpk-conv new file mode 120000 index 0000000..a2a295c --- /dev/null +++ b/node_modules/.bin/sshpk-conv @@ -0,0 +1 @@ +../sshpk/bin/sshpk-conv \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/sshpk-sign ---------------------------------------------------------------------- diff --git a/node_modules/.bin/sshpk-sign b/node_modules/.bin/sshpk-sign new file mode 120000 index 0000000..766b9b3 --- /dev/null +++ b/node_modules/.bin/sshpk-sign @@ -0,0 +1 @@ +../sshpk/bin/sshpk-sign \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/sshpk-verify ---------------------------------------------------------------------- diff --git a/node_modules/.bin/sshpk-verify b/node_modules/.bin/sshpk-verify new file mode 120000 index 0000000..bfd7e3a --- /dev/null +++ b/node_modules/.bin/sshpk-verify @@ -0,0 +1 @@ +../sshpk/bin/sshpk-verify \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/strip-indent ---------------------------------------------------------------------- diff --git a/node_modules/.bin/strip-indent b/node_modules/.bin/strip-indent new file mode 120000 index 0000000..dddee7e --- /dev/null +++ b/node_modules/.bin/strip-indent @@ -0,0 +1 @@ +../strip-indent/cli.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/uglifyjs ---------------------------------------------------------------------- diff --git a/node_modules/.bin/uglifyjs b/node_modules/.bin/uglifyjs new file mode 120000 index 0000000..fef3468 --- /dev/null +++ b/node_modules/.bin/uglifyjs @@ -0,0 +1 @@ +../uglify-js/bin/uglifyjs \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/uuid ---------------------------------------------------------------------- diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid new file mode 120000 index 0000000..b3e45bc --- /dev/null +++ b/node_modules/.bin/uuid @@ -0,0 +1 @@ +../uuid/bin/uuid \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/webdriver-manager ---------------------------------------------------------------------- diff --git a/node_modules/.bin/webdriver-manager b/node_modules/.bin/webdriver-manager new file mode 120000 index 0000000..bc2ec1a --- /dev/null +++ b/node_modules/.bin/webdriver-manager @@ -0,0 +1 @@ +../protractor/bin/webdriver-manager \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/.bin/which ---------------------------------------------------------------------- diff --git a/node_modules/.bin/which b/node_modules/.bin/which new file mode 120000 index 0000000..f62471c --- /dev/null +++ b/node_modules/.bin/which @@ -0,0 +1 @@ +../which/bin/which \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/README.md ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/README.md b/node_modules/@angular/animations/README.md new file mode 100644 index 0000000..7d8a6d3 --- /dev/null +++ b/node_modules/@angular/animations/README.md @@ -0,0 +1,6 @@ +Angular +======= + +The sources for this package are in the main [Angular](https://github.com/angular/angular) repo. Please file issues and pull requests against that repo. + +License: MIT http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/animations.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/animations.d.ts b/node_modules/@angular/animations/animations.d.ts new file mode 100644 index 0000000..7417cc8 --- /dev/null +++ b/node_modules/@angular/animations/animations.d.ts @@ -0,0 +1,4 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public_api'; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/animations.metadata.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/animations.metadata.json b/node_modules/@angular/animations/animations.metadata.json new file mode 100644 index 0000000..ad39031 --- /dev/null +++ b/node_modules/@angular/animations/animations.metadata.json @@ -0,0 +1 @@ +{"__symbolic":"module","version":4,"metadata":{"AnimationBuilder":{"__symbolic":"class","members":{"build":[{"__symbolic":"method"}]}},"AnimationFactory":{"__symbolic":"class","members":{"create":[{"__symbolic":"method"}]}},"AnimationEvent":{"__symbolic":"interface"},"AUTO_STYLE":"*","AnimateChildOptions":{"__symbolic":"interface"},"AnimateTimings":{"__symbolic":"interface"},"AnimationAnimateChildMetadata":{"__symbolic":"interface"},"AnimationAnimateMetadata":{"__symbolic":"interface"},"AnimationAnimateRefMetadata":{"__symbolic":"interface"},"AnimationGroupMetadata":{"__symbolic":"interface"},"AnimationKeyframesSequenceMetadata":{"__symbolic":"interface"},"AnimationMetadata":{"__symbolic":"interface"},"AnimationMetadataType":{"State":0,"Transition":1,"Sequence":2,"Group":3,"Animate":4,"Keyframes":5,"Style":6,"Trigger":7,"Reference":8,"AnimateChild":9,"AnimateRef":10,"Query":11,"Stagger":12},"AnimationOptions":{"__symbolic":"interface"},"AnimationQueryMetadata":{"__symbolic":"interfa ce"},"AnimationQueryOptions":{"__symbolic":"interface"},"AnimationReferenceMetadata":{"__symbolic":"interface"},"AnimationSequenceMetadata":{"__symbolic":"interface"},"AnimationStaggerMetadata":{"__symbolic":"interface"},"AnimationStateMetadata":{"__symbolic":"interface"},"AnimationStyleMetadata":{"__symbolic":"interface"},"AnimationTransitionMetadata":{"__symbolic":"interface"},"AnimationTriggerMetadata":{"__symbolic":"interface"},"animate":{"__symbolic":"function","parameters":["timings","styles"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Animate"},"styles":{"__symbolic":"reference","name":"styles"},"timings":{"__symbolic":"reference","name":"timings"}}},"animateChild":{"__symbolic":"function","parameters":["options"],"defaults":[null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"AnimateChild"},"options":{"_ _symbolic":"reference","name":"options"}}},"animation":{"__symbolic":"function","parameters":["steps","options"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Reference"},"animation":{"__symbolic":"reference","name":"steps"},"options":{"__symbolic":"reference","name":"options"}}},"group":{"__symbolic":"function","parameters":["steps","options"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Group"},"steps":{"__symbolic":"reference","name":"steps"},"options":{"__symbolic":"reference","name":"options"}}},"keyframes":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Keyframes"},"steps":{"__symbolic":"reference","name":"steps"}}},"query":{"__symbolic":"function","parameters":["sele ctor","animation","options"],"defaults":[null,null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Query"},"selector":{"__symbolic":"reference","name":"selector"},"animation":{"__symbolic":"reference","name":"animation"},"options":{"__symbolic":"reference","name":"options"}}},"sequence":{"__symbolic":"function","parameters":["steps","options"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Sequence"},"steps":{"__symbolic":"reference","name":"steps"},"options":{"__symbolic":"reference","name":"options"}}},"stagger":{"__symbolic":"function","parameters":["timings","animation"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Stagger"},"timings":{"__symbolic":"reference","name":"timings"},"animation":{"__symbolic":"reference","name":"animation"} }},"state":{"__symbolic":"function","parameters":["name","styles","options"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"State"},"name":{"__symbolic":"reference","name":"name"},"styles":{"__symbolic":"reference","name":"styles"},"options":{"__symbolic":"reference","name":"options"}}},"style":{"__symbolic":"function","parameters":["tokens"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Style"},"styles":{"__symbolic":"reference","name":"tokens"},"offset":null}},"transition":{"__symbolic":"function","parameters":["stateChangeExpr","steps","options"],"defaults":[null,null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Transition"},"expr":{"__symbolic":"reference","name":"stateChangeExpr"},"animation":{"__symbolic":"reference","name":"steps"},"options":{"__symbol ic":"reference","name":"options"}}},"trigger":{"__symbolic":"function","parameters":["name","definitions"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"Trigger"},"name":{"__symbolic":"reference","name":"name"},"definitions":{"__symbolic":"reference","name":"definitions"},"options":{}}},"useAnimation":{"__symbolic":"function","parameters":["animation","options"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"AnimationMetadataType"},"member":"AnimateRef"},"animation":{"__symbolic":"reference","name":"animation"},"options":{"__symbolic":"reference","name":"options"}}},"ɵStyleData":{"__symbolic":"interface"},"AnimationPlayer":{"__symbolic":"interface"},"NoopAnimationPlayer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"_onFinish":[{"__symbolic":"method"}],"onStart":[{"__symbolic":"method"}],"onDone":[{"__symbolic":"method "}],"onDestroy":[{"__symbolic":"method"}],"hasStarted":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"play":[{"__symbolic":"method"}],"triggerMicrotask":[{"__symbolic":"method"}],"_onStart":[{"__symbolic":"method"}],"pause":[{"__symbolic":"method"}],"restart":[{"__symbolic":"method"}],"finish":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setPosition":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"triggerCallback":[{"__symbolic":"method"}]}},"ɵPRE_STYLE":"!","ɵAnimationGroupPlayer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AnimationPlayer"}]}]}],"_onFinish":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"onStart":[{"__symbolic":"method"}],"_onStart":[{"__symbolic":"method"}],"onDone":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"hasStart ed":[{"__symbolic":"method"}],"play":[{"__symbolic":"method"}],"pause":[{"__symbolic":"method"}],"restart":[{"__symbolic":"method"}],"finish":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"_onDestroy":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"setPosition":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"beforeDestroy":[{"__symbolic":"method"}],"triggerCallback":[{"__symbolic":"method"}]}}},"origins":{"AnimationBuilder":"./src/animation_builder","AnimationFactory":"./src/animation_builder","AnimationEvent":"./src/animation_event","AUTO_STYLE":"./src/animation_metadata","AnimateChildOptions":"./src/animation_metadata","AnimateTimings":"./src/animation_metadata","AnimationAnimateChildMetadata":"./src/animation_metadata","AnimationAnimateMetadata":"./src/animation_metadata","AnimationAnimateRefMetadata":"./src/animation_metadata","AnimationGroupMetadata":"./src/animation_metadata","AnimationKeyframesSequenceMetadata":"./src/animation_ metadata","AnimationMetadata":"./src/animation_metadata","AnimationMetadataType":"./src/animation_metadata","AnimationOptions":"./src/animation_metadata","AnimationQueryMetadata":"./src/animation_metadata","AnimationQueryOptions":"./src/animation_metadata","AnimationReferenceMetadata":"./src/animation_metadata","AnimationSequenceMetadata":"./src/animation_metadata","AnimationStaggerMetadata":"./src/animation_metadata","AnimationStateMetadata":"./src/animation_metadata","AnimationStyleMetadata":"./src/animation_metadata","AnimationTransitionMetadata":"./src/animation_metadata","AnimationTriggerMetadata":"./src/animation_metadata","animate":"./src/animation_metadata","animateChild":"./src/animation_metadata","animation":"./src/animation_metadata","group":"./src/animation_metadata","keyframes":"./src/animation_metadata","query":"./src/animation_metadata","sequence":"./src/animation_metadata","stagger":"./src/animation_metadata","state":"./src/animation_metadata","style":"./src/animatio n_metadata","transition":"./src/animation_metadata","trigger":"./src/animation_metadata","useAnimation":"./src/animation_metadata","ɵStyleData":"./src/animation_metadata","AnimationPlayer":"./src/players/animation_player","NoopAnimationPlayer":"./src/players/animation_player","ɵPRE_STYLE":"./src/private_export","ɵAnimationGroupPlayer":"./src/players/animation_group_player"},"importAs":"@angular/animations"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser.d.ts b/node_modules/@angular/animations/browser.d.ts new file mode 100644 index 0000000..746d982 --- /dev/null +++ b/node_modules/@angular/animations/browser.d.ts @@ -0,0 +1,6 @@ +/** + * @license Angular v5.2.0 + * (c) 2010-2018 Google, Inc. https://angular.io/ + * License: MIT + */ + export * from './browser/browser' http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser.metadata.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser.metadata.json b/node_modules/@angular/animations/browser.metadata.json new file mode 100644 index 0000000..d4e8b1c --- /dev/null +++ b/node_modules/@angular/animations/browser.metadata.json @@ -0,0 +1 @@ +{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./browser/browser"}],"flatModuleIndexRedirect":true} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/browser.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/browser.d.ts b/node_modules/@angular/animations/browser/browser.d.ts new file mode 100644 index 0000000..7417cc8 --- /dev/null +++ b/node_modules/@angular/animations/browser/browser.d.ts @@ -0,0 +1,4 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public_api'; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/browser.metadata.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/browser.metadata.json b/node_modules/@angular/animations/browser/browser.metadata.json new file mode 100644 index 0000000..79c7ee2 --- /dev/null +++ b/node_modules/@angular/animations/browser/browser.metadata.json @@ -0,0 +1 @@ +{"__symbolic":"module","version":4,"metadata":{"AnimationDriver":{"__symbolic":"class","members":{"validateStyleProperty":[{"__symbolic":"method"}],"matchesElement":[{"__symbolic":"method"}],"containsElement":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"computeStyle":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]},"statics":{"NOOP":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"NoopAnimationDriver"}}}},"ɵAnimation":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AnimationDriver"},{"__symbolic":"reference","module":"@angular/animations","name":"AnimationMetadata","line":20,"character":55}]}],"buildTimelines":[{"__symbolic":"method"}]}},"ɵAnimationStyleNormalizer":{"__symbolic":"class","members":{"normalizePropertyName":[{"__symbolic":"method"}],"normalizeStyleValue":[{"__symbolic":"method"}]}},"ɵNoopAnimationStyleNormalizer":{"__symbolic":"class","members":{" normalizePropertyName":[{"__symbolic":"method"}],"normalizeStyleValue":[{"__symbolic":"method"}]}},"ɵWebAnimationsStyleNormalizer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵAnimationStyleNormalizer"},"members":{"normalizePropertyName":[{"__symbolic":"method"}],"normalizeStyleValue":[{"__symbolic":"method"}]}},"ɵNoopAnimationDriver":{"__symbolic":"class","members":{"validateStyleProperty":[{"__symbolic":"method"}],"matchesElement":[{"__symbolic":"method"}],"containsElement":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"computeStyle":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]}},"ɵAnimationEngine":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AnimationDriver"},{"__symbolic":"reference","name":"ɵAnimationStyleNormalizer"}]}],"registerTrigger":[{"__symbolic":"method"}],"register":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"onInsert" :[{"__symbolic":"method"}],"onRemove":[{"__symbolic":"method"}],"disableAnimations":[{"__symbolic":"method"}],"process":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}],"flush":[{"__symbolic":"method"}],"whenRenderingDone":[{"__symbolic":"method"}]}},"ɵWebAnimationsDriver":{"__symbolic":"class","members":{"validateStyleProperty":[{"__symbolic":"method"}],"matchesElement":[{"__symbolic":"method"}],"containsElement":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"computeStyle":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]}},"ɵsupportsWebAnimations":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":9,"module":"./src/render/web_animations/web_animations_driver"},"right":"undefined"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Exp ression form not supported","line":50,"character":43,"module":"./src/render/web_animations/web_animations_driver"},"right":"function"}}},"ɵWebAnimationsPlayer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":33,"character":45,"module":"./src/render/web_animations/web_animations_player"}]},{"__symbolic":"error","message":"Expression form not supported","line":34,"character":22,"module":"./src/render/web_animations/web_animations_player"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵWebAnimationsPlayer"}]}]}],"_onFinish":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"_buildPlayer":[{"__symbolic":"method"}],"_preparePlayerBeforeStart":[{"__symbolic":"method"}],"_triggerWebAnimation":[{"__symbolic":"method"}],"onStart":[{"__symb olic":"method"}],"onDone":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"play":[{"__symbolic":"method"}],"pause":[{"__symbolic":"method"}],"finish":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"_resetDomPlayerState":[{"__symbolic":"method"}],"restart":[{"__symbolic":"method"}],"hasStarted":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"setPosition":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"beforeDestroy":[{"__symbolic":"method"}],"triggerCallback":[{"__symbolic":"method"}]}}},"origins":{"AnimationDriver":"./src/render/animation_driver","ɵAnimation":"./src/dsl/animation","ɵAnimationStyleNormalizer":"./src/dsl/style_normalization/animation_style_normalizer","ɵNoopAnimationStyleNormalizer":"./src/dsl/style_normalization/animation_style_normalizer","ɵWebAnimationsStyleNormalizer":"./src/dsl/style_normalization/web_animations_style_normalizer","ɵNoopAnimationDriver":"./src/render/animation_driver","ɵAnimation Engine":"./src/render/animation_engine_next","ɵWebAnimationsDriver":"./src/render/web_animations/web_animations_driver","ɵsupportsWebAnimations":"./src/render/web_animations/web_animations_driver","ɵWebAnimationsPlayer":"./src/render/web_animations/web_animations_player"},"importAs":"@angular/animations/browser"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/package.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/package.json b/node_modules/@angular/animations/browser/package.json new file mode 100644 index 0000000..880efc9 --- /dev/null +++ b/node_modules/@angular/animations/browser/package.json @@ -0,0 +1,7 @@ +{ + "name": "@angular/animations/browser", + "typings": "./browser.d.ts", + "main": "../bundles/animations-browser.umd.js", + "module": "../esm5/browser.js", + "es2015": "../esm2015/browser.js" +} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/public_api.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/public_api.d.ts b/node_modules/@angular/animations/browser/public_api.d.ts new file mode 100644 index 0000000..b7b69fc --- /dev/null +++ b/node_modules/@angular/animations/browser/public_api.d.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @module + * @description + * Entry point for all public APIs of this package. + */ +export * from './src/browser'; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing.d.ts b/node_modules/@angular/animations/browser/testing.d.ts new file mode 100644 index 0000000..ba8f8bc --- /dev/null +++ b/node_modules/@angular/animations/browser/testing.d.ts @@ -0,0 +1,6 @@ +/** + * @license Angular v5.2.0 + * (c) 2010-2018 Google, Inc. https://angular.io/ + * License: MIT + */ + export * from './testing/testing' http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing.metadata.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing.metadata.json b/node_modules/@angular/animations/browser/testing.metadata.json new file mode 100644 index 0000000..d2dff86 --- /dev/null +++ b/node_modules/@angular/animations/browser/testing.metadata.json @@ -0,0 +1 @@ +{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./testing/testing"}],"flatModuleIndexRedirect":true} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing/package.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing/package.json b/node_modules/@angular/animations/browser/testing/package.json new file mode 100644 index 0000000..78ab3c2 --- /dev/null +++ b/node_modules/@angular/animations/browser/testing/package.json @@ -0,0 +1,7 @@ +{ + "name": "@angular/animations/browser/testing", + "typings": "./testing.d.ts", + "main": "../../bundles/platform-browser-animations-testing.umd.js", + "module": "../../esm5/animations/testing.js", + "es2015": "../../esm2015/animations/testing.js" +} http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing/public_api.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing/public_api.d.ts b/node_modules/@angular/animations/browser/testing/public_api.d.ts new file mode 100644 index 0000000..16e13df --- /dev/null +++ b/node_modules/@angular/animations/browser/testing/public_api.d.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @module + * @description + * Entry point for all public APIs of this package. + */ +export * from './src/testing'; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing/testing.d.ts ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing/testing.d.ts b/node_modules/@angular/animations/browser/testing/testing.d.ts new file mode 100644 index 0000000..7417cc8 --- /dev/null +++ b/node_modules/@angular/animations/browser/testing/testing.d.ts @@ -0,0 +1,4 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public_api'; http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/browser/testing/testing.metadata.json ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/browser/testing/testing.metadata.json b/node_modules/@angular/animations/browser/testing/testing.metadata.json new file mode 100644 index 0000000..edf4f26 --- /dev/null +++ b/node_modules/@angular/animations/browser/testing/testing.metadata.json @@ -0,0 +1 @@ +{"__symbolic":"module","version":4,"metadata":{"MockAnimationDriver":{"__symbolic":"class","members":{"validateStyleProperty":[{"__symbolic":"method"}],"matchesElement":[{"__symbolic":"method"}],"containsElement":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"computeStyle":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]},"statics":{"log":[]}},"MockAnimationPlayer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/animations","name":"NoopAnimationPlayer","line":49,"character":41},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":57,"character":45,"module":"./src/mock_animation_driver"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array ","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"onInit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"finish":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"triggerMicrotask":[{"__symbolic":"method"}],"play":[{"__symbolic":"method"}],"hasStarted":[{"__symbolic":"method"}],"beforeDestroy":[{"__symbolic":"method"}]}}},"origins":{"MockAnimationDriver":"./src/mock_animation_driver","MockAnimationPlayer":"./src/mock_animation_driver"},"importAs":"@angular/animations/browser/testing"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js b/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js new file mode 100644 index 0000000..fe6084f --- /dev/null +++ b/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js @@ -0,0 +1,520 @@ +/** + * @license Angular v5.2.0 + * (c) 2010-2018 Google, Inc. https://angular.io/ + * License: MIT + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations')) : + typeof define === 'function' && define.amd ? define('@angular/animations/browser/testing', ['exports', '@angular/animations'], factory) : + (factory((global.ng = global.ng || {}, global.ng.animations = global.ng.animations || {}, global.ng.animations.browser = global.ng.animations.browser || {}, global.ng.animations.browser.testing = {}),global.ng.animations)); +}(this, (function (exports,_angular_animations) { 'use strict'; + +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed 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 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + +function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +/** + * @license Angular v5.2.0 + * (c) 2010-2018 Google, Inc. https://angular.io/ + * License: MIT + */ +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * @param {?} players + * @return {?} + */ + +/** + * @param {?} driver + * @param {?} normalizer + * @param {?} element + * @param {?} keyframes + * @param {?=} preStyles + * @param {?=} postStyles + * @return {?} + */ + +/** + * @param {?} player + * @param {?} eventName + * @param {?} event + * @param {?} callback + * @return {?} + */ + +/** + * @param {?} e + * @param {?=} phaseName + * @param {?=} totalTime + * @return {?} + */ + +/** + * @param {?} element + * @param {?} triggerName + * @param {?} fromState + * @param {?} toState + * @param {?=} phaseName + * @param {?=} totalTime + * @return {?} + */ + +/** + * @param {?} map + * @param {?} key + * @param {?} defaultValue + * @return {?} + */ + +/** + * @param {?} command + * @return {?} + */ + +var _contains = function (elm1, elm2) { return false; }; +var _matches = function (element, selector) { + return false; +}; +var _query = function (element, selector, multi) { + return []; +}; +if (typeof Element != 'undefined') { + // this is well supported in all browsers + _contains = function (elm1, elm2) { return /** @type {?} */ (elm1.contains(elm2)); }; + if (Element.prototype.matches) { + _matches = function (element, selector) { return element.matches(selector); }; + } + else { + var /** @type {?} */ proto = /** @type {?} */ (Element.prototype); + var /** @type {?} */ fn_1 = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || + proto.oMatchesSelector || proto.webkitMatchesSelector; + if (fn_1) { + _matches = function (element, selector) { return fn_1.apply(element, [selector]); }; + } + } + _query = function (element, selector, multi) { + var /** @type {?} */ results = []; + if (multi) { + results.push.apply(results, element.querySelectorAll(selector)); + } + else { + var /** @type {?} */ elm = element.querySelector(selector); + if (elm) { + results.push(elm); + } + } + return results; + }; +} +/** + * @param {?} prop + * @return {?} + */ +function containsVendorPrefix(prop) { + // Webkit is the only real popular vendor prefix nowadays + // cc: http://shouldiprefix.com/ + return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit +} +var _CACHED_BODY = null; +var _IS_WEBKIT = false; +/** + * @param {?} prop + * @return {?} + */ +function validateStyleProperty(prop) { + if (!_CACHED_BODY) { + _CACHED_BODY = getBodyNode() || {}; + _IS_WEBKIT = /** @type {?} */ ((_CACHED_BODY)).style ? ('WebkitAppearance' in /** @type {?} */ ((_CACHED_BODY)).style) : false; + } + var /** @type {?} */ result = true; + if (/** @type {?} */ ((_CACHED_BODY)).style && !containsVendorPrefix(prop)) { + result = prop in /** @type {?} */ ((_CACHED_BODY)).style; + if (!result && _IS_WEBKIT) { + var /** @type {?} */ camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.substr(1); + result = camelProp in /** @type {?} */ ((_CACHED_BODY)).style; + } + } + return result; +} +/** + * @return {?} + */ +function getBodyNode() { + if (typeof document != 'undefined') { + return document.body; + } + return null; +} +var matchesElement = _matches; +var containsElement = _contains; +var invokeQuery = _query; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + + + + + + + + + + + +/** + * @param {?} value + * @return {?} + */ + +/** + * @param {?} timings + * @param {?} errors + * @param {?=} allowNegativeValues + * @return {?} + */ + +/** + * @param {?} obj + * @param {?=} destination + * @return {?} + */ + +/** + * @param {?} styles + * @return {?} + */ + +/** + * @param {?} styles + * @param {?} readPrototype + * @param {?=} destination + * @return {?} + */ + +/** + * @param {?} element + * @param {?} styles + * @return {?} + */ + +/** + * @param {?} element + * @param {?} styles + * @return {?} + */ + +/** + * @param {?} steps + * @return {?} + */ + +/** + * @param {?} value + * @param {?} options + * @param {?} errors + * @return {?} + */ + +/** + * @param {?} value + * @return {?} + */ + +/** + * @param {?} value + * @param {?} params + * @param {?} errors + * @return {?} + */ + +/** + * @param {?} iterator + * @return {?} + */ + +/** + * @param {?} source + * @param {?} destination + * @return {?} + */ + +/** + * @param {?} input + * @return {?} + */ + +/** + * @param {?} duration + * @param {?} delay + * @return {?} + */ +function allowPreviousPlayerStylesMerge(duration, delay) { + return duration === 0 || delay === 0; +} +/** + * @param {?} visitor + * @param {?} node + * @param {?} context + * @return {?} + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * \@experimental Animation support is experimental. + */ +var MockAnimationDriver = /** @class */ (function () { + function MockAnimationDriver() { + } + /** + * @param {?} prop + * @return {?} + */ + MockAnimationDriver.prototype.validateStyleProperty = /** + * @param {?} prop + * @return {?} + */ + function (prop) { return validateStyleProperty(prop); }; + /** + * @param {?} element + * @param {?} selector + * @return {?} + */ + MockAnimationDriver.prototype.matchesElement = /** + * @param {?} element + * @param {?} selector + * @return {?} + */ + function (element, selector) { + return matchesElement(element, selector); + }; + /** + * @param {?} elm1 + * @param {?} elm2 + * @return {?} + */ + MockAnimationDriver.prototype.containsElement = /** + * @param {?} elm1 + * @param {?} elm2 + * @return {?} + */ + function (elm1, elm2) { return containsElement(elm1, elm2); }; + /** + * @param {?} element + * @param {?} selector + * @param {?} multi + * @return {?} + */ + MockAnimationDriver.prototype.query = /** + * @param {?} element + * @param {?} selector + * @param {?} multi + * @return {?} + */ + function (element, selector, multi) { + return invokeQuery(element, selector, multi); + }; + /** + * @param {?} element + * @param {?} prop + * @param {?=} defaultValue + * @return {?} + */ + MockAnimationDriver.prototype.computeStyle = /** + * @param {?} element + * @param {?} prop + * @param {?=} defaultValue + * @return {?} + */ + function (element, prop, defaultValue) { + return defaultValue || ''; + }; + /** + * @param {?} element + * @param {?} keyframes + * @param {?} duration + * @param {?} delay + * @param {?} easing + * @param {?=} previousPlayers + * @return {?} + */ + MockAnimationDriver.prototype.animate = /** + * @param {?} element + * @param {?} keyframes + * @param {?} duration + * @param {?} delay + * @param {?} easing + * @param {?=} previousPlayers + * @return {?} + */ + function (element, keyframes, duration, delay, easing, previousPlayers) { + if (previousPlayers === void 0) { previousPlayers = []; } + var /** @type {?} */ player = new MockAnimationPlayer(element, keyframes, duration, delay, easing, previousPlayers); + MockAnimationDriver.log.push(/** @type {?} */ (player)); + return player; + }; + MockAnimationDriver.log = []; + return MockAnimationDriver; +}()); +/** + * \@experimental Animation support is experimental. + */ +var MockAnimationPlayer = /** @class */ (function (_super) { + __extends(MockAnimationPlayer, _super); + function MockAnimationPlayer(element, keyframes, duration, delay, easing, previousPlayers) { + var _this = _super.call(this) || this; + _this.element = element; + _this.keyframes = keyframes; + _this.duration = duration; + _this.delay = delay; + _this.easing = easing; + _this.previousPlayers = previousPlayers; + _this.__finished = false; + _this.__started = false; + _this.previousStyles = {}; + _this._onInitFns = []; + _this.currentSnapshot = {}; + if (allowPreviousPlayerStylesMerge(duration, delay)) { + previousPlayers.forEach(function (player) { + if (player instanceof MockAnimationPlayer) { + var /** @type {?} */ styles_1 = player.currentSnapshot; + Object.keys(styles_1).forEach(function (prop) { return _this.previousStyles[prop] = styles_1[prop]; }); + } + }); + } + _this.totalTime = delay + duration; + return _this; + } + /* @internal */ + /** + * @param {?} fn + * @return {?} + */ + MockAnimationPlayer.prototype.onInit = /** + * @param {?} fn + * @return {?} + */ + function (fn) { this._onInitFns.push(fn); }; + /* @internal */ + /** + * @return {?} + */ + MockAnimationPlayer.prototype.init = /** + * @return {?} + */ + function () { + _super.prototype.init.call(this); + this._onInitFns.forEach(function (fn) { return fn(); }); + this._onInitFns = []; + }; + /** + * @return {?} + */ + MockAnimationPlayer.prototype.finish = /** + * @return {?} + */ + function () { + _super.prototype.finish.call(this); + this.__finished = true; + }; + /** + * @return {?} + */ + MockAnimationPlayer.prototype.destroy = /** + * @return {?} + */ + function () { + _super.prototype.destroy.call(this); + this.__finished = true; + }; + /* @internal */ + /** + * @return {?} + */ + MockAnimationPlayer.prototype.triggerMicrotask = /** + * @return {?} + */ + function () { }; + /** + * @return {?} + */ + MockAnimationPlayer.prototype.play = /** + * @return {?} + */ + function () { + _super.prototype.play.call(this); + this.__started = true; + }; + /** + * @return {?} + */ + MockAnimationPlayer.prototype.hasStarted = /** + * @return {?} + */ + function () { return this.__started; }; + /** + * @return {?} + */ + MockAnimationPlayer.prototype.beforeDestroy = /** + * @return {?} + */ + function () { + var _this = this; + var /** @type {?} */ captures = {}; + Object.keys(this.previousStyles).forEach(function (prop) { + captures[prop] = _this.previousStyles[prop]; + }); + if (this.hasStarted()) { + // when assembling the captured styles, it's important that + // we build the keyframe styles in the following order: + // {other styles within keyframes, ... previousStyles } + this.keyframes.forEach(function (kf) { + Object.keys(kf).forEach(function (prop) { + if (prop != 'offset') { + captures[prop] = _this.__finished ? kf[prop] : _angular_animations.AUTO_STYLE; + } + }); + }); + } + this.currentSnapshot = captures; + }; + return MockAnimationPlayer; +}(_angular_animations.NoopAnimationPlayer)); + +exports.MockAnimationDriver = MockAnimationDriver; +exports.MockAnimationPlayer = MockAnimationPlayer; + +Object.defineProperty(exports, '__esModule', { value: true }); + +}))); +//# sourceMappingURL=animations-browser-testing.umd.js.map