diff options
Diffstat (limited to 'workflow-designer-ui/src')
242 files changed, 0 insertions, 29884 deletions
diff --git a/workflow-designer-ui/src/main/frontend/.babelrc b/workflow-designer-ui/src/main/frontend/.babelrc deleted file mode 100644 index 6a58a5a1..00000000 --- a/workflow-designer-ui/src/main/frontend/.babelrc +++ /dev/null @@ -1,21 +0,0 @@ -{ - "presets": [ - [ - "env", - { - "targets": { - "browsers": ["last 2 versions", "Firefox >= 47"] - } - } - ], - "react" - ], - "plugins": [ - "react-hot-loader/babel", - "transform-object-rest-spread", - "transform-class-properties", - "transform-runtime", - "transform-decorators-legacy" - ], - "sourceMap": "inline" -} diff --git a/workflow-designer-ui/src/main/frontend/.eslintignore b/workflow-designer-ui/src/main/frontend/.eslintignore deleted file mode 100644 index 2410c0ec..00000000 --- a/workflow-designer-ui/src/main/frontend/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -webpack.i18next-scanner.config.js -tools -common diff --git a/workflow-designer-ui/src/main/frontend/.eslintrc.json b/workflow-designer-ui/src/main/frontend/.eslintrc.json deleted file mode 100644 index 0ce8aa4c..00000000 --- a/workflow-designer-ui/src/main/frontend/.eslintrc.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "root": true, - - "parser": "babel-eslint", - - "extends": [ - "eslint:recommended", - "plugin:react/recommended", - "plugin:jest/recommended", - "prettier" - ], - - "plugins": ["prettier", "react"], - - "env": { - "browser": true, - "commonjs": true, - "es6": true, - "jest": true, - "node": true - }, - - "parserOptions": { - "ecmaVersion": 6, - "sourceType": "module", - "ecmaFeatures": { - "jsx": true, - "generators": true, - "experimentalObjectRestSpread": true - } - }, - - "rules": { - "no-console": 0, - "prettier/prettier": [ - "error", - { - "singleQuote": true, - "jsxBracketSameLine": true, - "tabWidth": 4 - } - ] - }, - - "globals": { - "DEBUG": false - } -} diff --git a/workflow-designer-ui/src/main/frontend/.gitignore b/workflow-designer-ui/src/main/frontend/.gitignore deleted file mode 100644 index 3491fa20..00000000 --- a/workflow-designer-ui/src/main/frontend/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -# See https://help.github.com/ignore-files/ for more about ignoring files. - -# dependencies -/node_modules -/node-install -.idea/ -.vscode/ -# testing -/coverage - -# production -/target -/dist - -# misc -npm-debug.log* -yarn-debug.log* -yarn-error.log* -/tools/devConfig.json diff --git a/workflow-designer-ui/src/main/frontend/.prettierignore b/workflow-designer-ui/src/main/frontend/.prettierignore deleted file mode 100644 index ec6d3cdd..00000000 --- a/workflow-designer-ui/src/main/frontend/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -package.json diff --git a/workflow-designer-ui/src/main/frontend/.prettierrc.json b/workflow-designer-ui/src/main/frontend/.prettierrc.json deleted file mode 100644 index 37d2cddb..00000000 --- a/workflow-designer-ui/src/main/frontend/.prettierrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "singleQuote": true, - "jsxBracketSameLine": true, - "tabWidth": 4 -} diff --git a/workflow-designer-ui/src/main/frontend/__mocks__/fileMock.js b/workflow-designer-ui/src/main/frontend/__mocks__/fileMock.js deleted file mode 100644 index 2297d426..00000000 --- a/workflow-designer-ui/src/main/frontend/__mocks__/fileMock.js +++ /dev/null @@ -1,19 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -module.exports = 'test-file-stub'; diff --git a/workflow-designer-ui/src/main/frontend/__mocks__/sdc-ui/lib/react/SVGIcon.js b/workflow-designer-ui/src/main/frontend/__mocks__/sdc-ui/lib/react/SVGIcon.js deleted file mode 100644 index 2136c492..00000000 --- a/workflow-designer-ui/src/main/frontend/__mocks__/sdc-ui/lib/react/SVGIcon.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; - -const SVGIcon = ({ - name, - onClick, - label, - className, - iconClassName, - labelClassName, - labelPosition, - color, - disabled, - ...other -}) => { - let colorClass = color !== '' ? '__' + color : ''; - let classes = `svg-icon-wrapper ${iconClassName} ${className} ${colorClass} ${ - onClick ? 'clickable' : '' - } ${disabled ? 'disabled' : ''} ${labelPosition}`; - - let iconMock = ( - <div {...other} onClick={onClick} className={classes}> - <span - className={`svg-icon __${name} ${disabled ? 'disabled' : ''}`} - /> - {label && ( - <span className={`svg-icon-label ${labelClassName}`}> - {label} - </span> - )} - </div> - ); - - return iconMock; -}; -export default SVGIcon; diff --git a/workflow-designer-ui/src/main/frontend/external-resources/ping/ping b/workflow-designer-ui/src/main/frontend/external-resources/ping/ping deleted file mode 100644 index 1829c212..00000000 --- a/workflow-designer-ui/src/main/frontend/external-resources/ping/ping +++ /dev/null @@ -1,11 +0,0 @@ -{ - "workflowVersion": "${version}", - "componentsInfo": [ - { - "healthCheckComponent": "FE", - "healthCheckStatus": "UP", - "version": "${version}", - "description": "OK" - } - ] -} diff --git a/workflow-designer-ui/src/main/frontend/index.html b/workflow-designer-ui/src/main/frontend/index.html deleted file mode 100644 index f0d2b573..00000000 --- a/workflow-designer-ui/src/main/frontend/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - <title>SDC Workflow App</title> -</head> -<body> -<div id="root"></div> -</body> -</html> diff --git a/workflow-designer-ui/src/main/frontend/jest.config.js b/workflow-designer-ui/src/main/frontend/jest.config.js deleted file mode 100644 index 43c12ef2..00000000 --- a/workflow-designer-ui/src/main/frontend/jest.config.js +++ /dev/null @@ -1,48 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -module.exports = { - collectCoverageFrom: ['src/**/*.{js,jsx,mjs}'], - setupFiles: ['jest-localstorage-mock'], - testMatch: [ - '<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}', - '<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}' - ], - testEnvironment: 'node', - testURL: 'http://localhost', - globals: { - DEBUG: false - }, - transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$'], - moduleNameMapper: { - '\\.(css|scss)$': 'identity-obj-proxy', - '\\.(gif|ttf|eot|svg)$': '<rootDir>/__mocks__/fileMock.js', - '^src(.*)$': '<rootDir>/src$1', - '^config(.*)$': '<rootDir>/src/config$1', - '^features(.*)$': '<rootDir>/src/features$1', - '^wfapp(.*)$': '<rootDir>/src$1', - '^common(.*)$': '<rootDir>/common$1', - '^services(.*)$': '<rootDir>/src/services$1', - '^shared(.*)$': '<rootDir>/src/shared$1', - '^i18n(.*)$': '<rootDir>/src/i18n$1' - }, - transform: { - '^.+\\.(js|jsx|mjs)$': '<rootDir>/node_modules/babel-jest', - '^(?!.*\\.(js|jsx|mjs|css|json)$)': - '<rootDir>/testSetup/fileTransform.js' - }, - roots: ['<rootDir>/src/features', '<rootDir>/src/shared'] -}; diff --git a/workflow-designer-ui/src/main/frontend/jsconfig.json b/workflow-designer-ui/src/main/frontend/jsconfig.json deleted file mode 100644 index cb990650..00000000 --- a/workflow-designer-ui/src/main/frontend/jsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "config/*": ["./src/config/*"], - "features/*": ["./src/features/*"], - "shared/*": ["./src/shared/*"], - "services/*": ["./src/services/*"] - } - }, - "include": ["src"] -} diff --git a/workflow-designer-ui/src/main/frontend/package.json b/workflow-designer-ui/src/main/frontend/package.json deleted file mode 100644 index bc43db1b..00000000 --- a/workflow-designer-ui/src/main/frontend/package.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "name": "sdc-workflow", - "license": "Apache-2.0", - "scripts": { - "start": "webpack-dev-server --mode=development --progress --hot --inline", - "start-mock": "webpack-dev-server --mode=development --progress --hot --inline --env=mock", - "build": "webpack --mode=production", - "test": "jest --env=jsdom", - "test-dev": "jest --env=jsdom --watch", - "test-coverage": "jest --coverage --env=jsdom && start ./coverage/lcov-report/index.html", - "test-build": "jest --coverage --env=jsdom", - "lint-fix": "eslint --fix --ext .js --ext .jsx src", - "scan-for-i18n-keys": "i18next-scanner --config ./src/i18n/i18next-scanner.config.js 'src/**/*.{js,jsx }' --output dist" - }, - "dependencies": { - "axios": "^0.18.0", - "bpmn-js": "^2.4.1", - "bpmn-js-properties-panel": "^0.26.1", - "classnames": "^2.2.6", - "d3-hierarchy": "^1.1.6", - "d3-selection": "^1.3.0", - "dateformat": "^3.0.3", - "enzyme": "^3.3.0", - "enzyme-adapter-react-16": "^1.1.1", - "file-saver": "^1.3.8", - "http-proxy-middleware": "^0.17.4", - "inherits": "^2.0.3", - "lodash.assign": "^4.2.0", - "lodash.foreach": "^4.5.0", - "lodash.isempty": "^4.4.0", - "lodash.isequal": "^4.5.0", - "lodash.map": "^4.6.0", - "lodash.merge": "^4.6.1", - "lodash.set": "^4.3.2", - "md5": "^2.2.1", - "moment": "^2.18.1", - "onap-ui-common": "^1.0.101", - "onap-ui-react": "^1.0.0", - "perfect-scrollbar": "^1.4.0", - "prop-types": "^15.6.1", - "qs": "^6.5.2", - "react": "^16.2.0", - "react-datepicker": "^0.48.0", - "react-dom": "^16.3.2", - "react-hot-loader": "^4.3.3", - "react-redux": "^5.0.6", - "react-redux-i18n": "^1.9.2", - "react-router": "^4.3.1", - "react-router-dom": "^4.2.2", - "react-select": "^1.2.1", - "react-transition-group": "^2.3.1", - "redux": "^3.7.2", - "redux-actions": "^2.4.0", - "redux-saga": "^0.16.0", - "redux-thunk": "^2.3.0", - "reselect": "^3.0.1", - "uuid-js": "^0.7.5", - "validator": "^10.2.0" - }, - "devDependencies": { - "awesome-typescript-loader": "^5.2.0", - "babel-core": "^6.24.0", - "babel-eslint": "^9.0.0", - "babel-jest": "^22.1.0", - "babel-loader": "7.1.4", - "babel-plugin-transform-class-properties": "^6.10.2", - "babel-plugin-transform-decorators-legacy": "^1.3.4", - "babel-plugin-transform-object-rest-spread": "^6.8.0", - "babel-plugin-transform-runtime": "^6.22.0", - "babel-preset-env": "^1.6.1", - "babel-preset-react": "^6.23.0", - "clean-webpack-plugin": "^0.1.19", - "css-loader": "^0.23.1", - "eslint": "^5.4.0", - "eslint-config-prettier": "^3.0.1", - "eslint-loader": "^2.1.0", - "eslint-plugin-import": "^2.14.0", - "eslint-plugin-jest": "^21.22.0", - "eslint-plugin-prettier": "^2.6.2", - "eslint-plugin-react": "^7.11.1", - "file-loader": "^1.1.11", - "html-webpack-plugin": "^3.2.0", - "i18next-scanner": "^2.4.6", - "identity-obj-proxy": "^3.0.0", - "install": "^0.11.0", - "jest": "^22.0.5", - "jest-localstorage-mock": "^2.2.0", - "less": "^3.0.4", - "less-loader": "^4.1.0", - "node-sass": "^4.7.2", - "npm": "^6.0.1", - "prettier": "1.14.2", - "raw-loader": "^0.5.1", - "react-test-renderer": "^16.4.1", - "sass-loader": "^6.0.6", - "source-map-loader": "^0.1.5", - "typescript": "^2.9.2", - "uglifyjs-webpack-plugin": "^1.1.6", - "webpack": "^4.5.0", - "webpack-api-mocker": "^1.4.3", - "webpack-cli": "^2.0.14", - "webpack-dev-server": "^3.1.3", - "webpack-glob-entry": "^2.1.1", - "webpack-sass-loaders": "^1.0.0", - "webpack-shell-plugin": "^0.5.0" - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff Binary files differdeleted file mode 100644 index 5a604b3a..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff2 b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff2 Binary files differdeleted file mode 100644 index a0965b7a..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-600.woff2 +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff Binary files differdeleted file mode 100644 index cf8b191c..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff2 b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff2 Binary files differdeleted file mode 100644 index bad9292b..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-italic.woff2 +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff Binary files differdeleted file mode 100644 index e495e6f0..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff2 b/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff2 Binary files differdeleted file mode 100644 index c8050c25..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/fonts/open-sans-v15-latin-regular.woff2 +++ /dev/null diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/_common.scss b/workflow-designer-ui/src/main/frontend/resources/scss/_common.scss deleted file mode 100644 index 825609d7..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/_common.scss +++ /dev/null @@ -1,5 +0,0 @@ -@import '~onap-ui-common/lib/scss/_typography.scss'; -@import '~onap-ui-common/lib/scss/variables.scss'; -@import 'common/fonts'; -@import 'common/utils'; -@import 'common/customVariables'; diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/_components.scss b/workflow-designer-ui/src/main/frontend/resources/scss/_components.scss deleted file mode 100644 index 3baac0b0..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/_components.scss +++ /dev/null @@ -1,12 +0,0 @@ -@import 'components/layout'; -@import 'components/inputOptions'; -@import 'components/navigationSideBar'; -@import 'components/versionController'; -@import 'components/expandableInput'; -@import 'components/notifications'; -@import 'components/searchInput'; -@import 'components/loader'; -@import 'components/tree'; -@import 'components/customModal'; -@import 'components/scrollbars'; -@import 'components/archiveLabel';
\ No newline at end of file diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/_features.scss b/workflow-designer-ui/src/main/frontend/resources/scss/_features.scss deleted file mode 100644 index c83b6e75..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/_features.scss +++ /dev/null @@ -1,6 +0,0 @@ -@import "features/general"; -@import "features/workflow"; -@import "features/catalog"; -@import "features/composition"; -@import "features/overview"; -@import "features/inputOutput"; diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/common/_customVariables.scss b/workflow-designer-ui/src/main/frontend/resources/scss/common/_customVariables.scss deleted file mode 100644 index 5e5bef84..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/common/_customVariables.scss +++ /dev/null @@ -1,51 +0,0 @@ -$cursor-disabled: not-allowed !default; -$cursor-pointer: pointer; - -$camunda-panel-error-border-color: #cc3333; -$camunda-panel-error-background-color: #f0c2c2; - -@mixin body-1-emphasis() { - @include base-font-semibold; - font-size: $body-font-1; -} - -@mixin heading-1-emphasis() { - @include base-font-semibold; - font-size: $heading-font-1; -} - -.flex { - display: flex; - flex: 1; -} - -.flex-column { - @extend .flex; - flex-direction: column; -} - -.text-uppercase { - text-transform: uppercase; -} - -.content-area { - padding: 30px 60px 70px 60px; - overflow-y: auto; - overflow-x: hidden; - height: 100%; - &.no-padding-content-area { - padding: 0; - } -} - -.page-title { - @include heading-1; - @extend .text-uppercase !optional; - margin-bottom: 20px; - color: $blue; -} - -.disabled { - opacity: 0.7 !important; - cursor: $cursor-disabled; -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/common/_fonts.scss b/workflow-designer-ui/src/main/frontend/resources/scss/common/_fonts.scss deleted file mode 100644 index f367c23b..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/common/_fonts.scss +++ /dev/null @@ -1,26 +0,0 @@ -@font-face { - font-family: 'OpenSans-Regular'; - font-style: normal; - font-weight: 400; - src: local('Open Sans Regular'), local('OpenSans-Regular'), - url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), - url('../fonts/open-sans-v15-latin-regular.woff') format('woff'); -} - -@font-face { - font-family: 'OpenSans-Italic'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), - url('../fonts/open-sans-v15-latin-italic.woff2') format('woff2'), - url('../fonts/open-sans-v15-latin-italic.woff') format('woff'); -} - -@font-face { - font-family: 'OpenSans-SemiBold'; - font-style: normal; - font-weight: 600; - src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), - url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'), - url('../fonts/open-sans-v15-latin-600.woff') format('woff'); -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/common/_utils.scss b/workflow-designer-ui/src/main/frontend/resources/scss/common/_utils.scss deleted file mode 100644 index 7a35b38c..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/common/_utils.scss +++ /dev/null @@ -1,317 +0,0 @@ - -/* Prefix */ - -$box-sizing-prefix: webkit moz spec; -$border-radius-prefix: webkit spec; -$box-shadow-radius-prefix: webkit moz spec; -$text-shadow-radius-prefix: spec; -$text-shadow-prefix: spec; -$box-shadow-prefix: all; -$linear-gradient-prefix: all; -$transition-prefix: webkit moz o spec; -$flex-prefix: webkit spec; -$browserPrefixes: webkit moz o ms; - -@mixin prefix($property, $value, $prefixeslist: 'all') { - @if $prefixeslist == all { - -webkit-#{$property}: $value; - -moz-#{$property}: $value; - -ms-#{$property}: $value; - -o-#{$property}: $value; - #{$property}: $value; - } @else { - @each $prefix in $prefixeslist { - @if $prefix == webkit { - -webkit-#{$property}: $value; - } @else if $prefix == moz { - -moz-#{$property}: $value; - } @else if $prefix == ms { - -ms-#{$property}: $value; - } @else if $prefix == o { - -o-#{$property}: $value; - } @else if $prefix == spec { - #{$property}: $value; - } @else { - @warn "No such prefix: #{$prefix}"; - } - } - } -} - -/* Value Prefix*/ -@mixin value-suffix-with-range($property, $valuesuffix, $from, $to, $prefixeslist) { - - @if $prefixeslist == all { - #{property} : -webkit-#{$valuesuffix}($from, $to); - #{property} : -moz-#{$valuesuffix}($from, $to); - #{property} : -o-#{$valuesuffix}($from, $to); - #{property} : -ms-#{$valuesuffix}($from, $to); - - } @else { - @each $prefix in $prefixeslist { - @if $prefix == webkit { - #{property} : -webkit-#{$valuesuffix}($from, $to); - } @else if $prefix == moz { - #{property} : -moz-#{$valuesuffix}($from, $to); - } @else if $prefix == ms { - #{property} : -ms-#{$valuesuffix}($from, $to); - } @else if $prefix == o { - #{property} : -o-#{$valuesuffix}($from, $to); - } @else { - @warn "No such prefix: #{$prefix}"; - } - } - } -} - -/* Box sizing */ -@mixin box-sizing($value: border-box) { - @include prefix(box-sizing, $value, $box-sizing-prefix); -} - -/* Borders & Shadows */ -@mixin box-shadow($value) { - @include prefix(box-shadow, $value, $box-shadow-radius-prefix); -} - -@mixin sticky($value) { - position: sticky; - top: $value; -} - -@mixin text-shadow($value) { - @include prefix(text-shadow, $value, $text-shadow-radius-prefix); -} - -@mixin border-radius($value, $positions: all) { - @if ($positions == all) { - @include prefix(border-radius, $value, $border-radius-prefix); - } @else { - @each $position in $positions { - @include prefix(border-#{$position}-radius, $value, $border-radius-prefix); - } - } - -} - -@mixin transition($value) { - @include prefix(transition, $value, $transition-prefix); -} - -/* Opacity */ -@mixin opacity($alpha) { - $ie-opacity: round($alpha * 100); - opacity: $alpha; - filter: unquote("alpha(opacity = #{$ie-opacity})"); -} - -/* Ellipsis */ -@mixin ellipsis($width: 100%, $display: inline-block, $max-width: none) { - overflow: hidden; - text-overflow: ellipsis; - width: $width; - white-space: nowrap; - display: $display; - max-width: $max-width; -} - -@mixin multiline-ellipsis($lineHeight: 1.3em, $lineCount: 2, $bgColor: $white){ - overflow: hidden; - position: relative; - line-height: $lineHeight; - max-height: $lineHeight * $lineCount; - text-align: justify; - word-break: break-all; - // margin-right: -1em; - padding-right: 1em; - &:before { - content: '...'; - position: absolute; - right: 3px; - bottom: 0; - } - &:after { - content: ''; - position: absolute; - right: 0; - width: 1em; - height: 1em; - margin-top: 0.2em; - background: $bgColor; - } -} - -@mixin gradient($from, $to) { - /* fallback/image non-cover color */ - background-color: $from; - background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to)); - @include value-suffix-with-range(background-color, linear-gradient, $from, $to, $linear-gradient-prefix); -} - -/* Vertical placement of multuple lines of text */ -@mixin vertical-text($height) { - position: absolute; - top: 50%; - margin-top: -$height/2; -} - -@mixin text-vertical-align($align: middle) { - display: table; - width: 100%; - - & > * { - vertical-align: $align; - display: table-cell; - } -} - -@mixin center-element($width) { - width: $width; - margin-left: auto; - margin-right: auto; -} - -@mixin center-content($width) { - & > * { - @include center-element($width); - } -} - -/* transform-rotate */ -// @mixin -// Defines a 2D rotation, the angle is specified in the parameter -// @param -// $deg - angle in degrees -@mixin transform-rotate($deg) { - transform: rotate($deg + deg); /* IE10 and Mozilla */ - -ms-transform: rotate($deg + deg); /* IE 9 */ - -webkit-transform: rotate($deg + deg); /* Safari and Chrome */ -} - -/* transform-translate */ -// @mixin -// Defines a 2D rotation, the angle is specified in the parameter -// @param -// $deg - angle in degrees -@mixin transform-translate($x, $y) { - transform: translate($x, $y); /* IE10 and Mozilla */ - -ms-transform: translate($x, $y); /* IE 9 */ - -webkit-transform: translate($x, $y); /* Safari and Chrome */ -} - -/* transform-scale */ -// @mixin -// Defines a 2D scale transformation, changing the elements width and height -// @param -// $width - width -// @param -// $height - height -@mixin transform-scale($width, $height) { - transform: scale($width, $height); /* IE10 and Mozilla */ - -ms-transform: scale($width, $height); /* IE 9 */ - -webkit-transform: scale($width, $height); /* Safari and Chrome */ -} - -@mixin scrollable() { - ::-webkit-scrollbar { - width: 8px; - } -} - -@mixin create-circle($size, $bgcolor) { - border-radius: 50%; - width: $size; - height: $size; - background: $bgcolor; - border: 3px solid $bgcolor; - display: flex; - align-items: center; - justify-content: center; -} - -/**/ -@mixin keyframe-animation($animationType, $properties, $fromValue, $toValue) { - - @keyframes #{$animationType} { - from { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($fromValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - to { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($toValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - } - @-moz-keyframes #{$animationType}{ - /* Firefox */ - from { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($fromValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - to { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($toValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - } - @-webkit-keyframes #{$animationType} { - /* Safari and Chrome */ - from { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($fromValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - to { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($toValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - } - @-o-keyframes #{$animationType} { - /* Opera */ - from { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($fromValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - to { - $startIndex: 1; - @each $property in $properties { - #{$property}: nth($toValue, $startIndex); - $startIndex: $startIndex + 1; - } - } - } -} - - -/**/ -@mixin border-shadow($xShadow: 0.545px, $yShadow: 0.839px, $blur: 4px, $spread: 0, $color: $light-gray, $opacity: 0.2) { - @include box-shadow($xShadow $yShadow $blur $spread rgba($color, $opacity)); -} - -/* percent-plus-value */ -// @mixin -// Calculate length property (e.g. width, margin) by adding a value (e.g. in pixels) -// to a percentage of container height/width -@mixin percent-plus-value($property, $value, $percent: 100%) { - $string: 'calc(' + $percent + ' + ' + $value + ')'; - #{$property}: unquote($string); -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_archiveLabel.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_archiveLabel.scss deleted file mode 100644 index a3fa8479..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_archiveLabel.scss +++ /dev/null @@ -1,10 +0,0 @@ -.archive-label { - @include body-3; - color: $white; - background-color: $dark-purple; - margin-left: 20px; - border-radius: 3px; - padding: 1px 10px; - align-self: center; - text-transform: none; -}
\ No newline at end of file diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_customModal.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_customModal.scss deleted file mode 100644 index fe8bd0cf..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_customModal.scss +++ /dev/null @@ -1,24 +0,0 @@ -.sdc-modal { - .custom-modal-wrapper { - width: auto; - } - - .form-custom-modal { - padding: 30px 35px 20px 35px; - - .sdc-input { - margin-bottom: 15px; - } - } - -} - -.modal-action-bar { - display: flex; - justify-content: flex-end; -} - -textarea.field-section.sdc-input__input { - height: 75px; - padding-top: 5px; -}
\ No newline at end of file diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_expandableInput.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_expandableInput.scss deleted file mode 100644 index 2484a73e..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_expandableInput.scss +++ /dev/null @@ -1,56 +0,0 @@ -.expandable-input-top { - display: flex; - height: 22px; - .expandable-input-wrapper { - display: flex; - &.closed { - .svg-icon - { - &.__search { - height: 17px; - width: 17px; - transition: fill 0.5s ease-in; - fill: $blue; - cursor: pointer; - &:hover { - transition: fill 0.5s ease-in; - fill: $dark-blue; - } - } - } - } - &.opened { - .svg-icon-wrapper { - margin-left: 3px; - } - .svg-icon { - &.__search { - height: 17px; - width: 17px; - fill: $dark-blue; - } - } - .svg-icon { - &.__close { - margin-left: 7px; - opacity: 0.6; - fill: $dark-gray; - &:hover { - opacity: 1; - } - } - } - } - .expandable-input-control { - .form-control { - border: none; - background-color: transparent; - border-radius: 0; - border-bottom: 1px solid $gray; - height: 22px; - padding: 0 5px; - } - margin: 0; - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_inputOptions.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_inputOptions.scss deleted file mode 100644 index 4f7e309a..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_inputOptions.scss +++ /dev/null @@ -1,48 +0,0 @@ -.disabled { - .Select-control { - background-color: $silver; - .Select-placeholder { - color: $dark-gray; - } - } -} - -.input-options { - display: flex; - border: 1px solid $light-gray; - border-radius: 2px; - height: 30px; - &:hover { - border-color: $gray; - } - .input-options-select { - float: left; - border: none; - transition-property: width; - transition-duration: 300ms; - padding-top:0px; - padding-bottom: 0px; - height:28px; - - } - - .input-options-other{ - float: left; - height: 30px; - border: none; - padding-top:0px; - padding-bottom: 0px; - height:28px; - } - .input-options-separator { - width: 1px; - height: 24px; - margin-top: 2px; - margin-bottom: 2px; - border:1px solid $light-gray; - } -} - -.input-options.has-error { - border-color: $red; -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_layout.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_layout.scss deleted file mode 100644 index 6862d554..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_layout.scss +++ /dev/null @@ -1,34 +0,0 @@ -.workflow-app { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - - * { - box-sizing: border-box; - } - - .custom-textarea { - resize: none; - } - - .version-wrapper { - display: grid; - grid-template-rows: 70px 1fr; - height: 100vh; - } - - .disabled { - pointer-events: none; - opacity: 0.4; - } - - .selectable { - user-select: text; - } - - .separator { - border-left: 1px solid $silver; - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_loader.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_loader.scss deleted file mode 100644 index 36488e93..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_loader.scss +++ /dev/null @@ -1,159 +0,0 @@ -.onboarding-loader { - .onboarding-loader-backdrop { - top: 0; - right: 0; - bottom: 0; - left: 0; - position: absolute; - background-color: #E1E4E6; - opacity: 0.5; - z-index: 99999; - } - .tlv-loader { - height: 63px; - width: 63px; - position: absolute; - top: 30%; - left: 50%; - margin-top: -10.5px; - margin-left: -10.5px; - } - .tlv-loader.large { - transform: scale(1); - } - .tlv-loader::before { - background-color: $gray; - border-radius: 50%; - box-shadow: 21px 21px 0px 0px $gray, 0px 42px 0px 0px $gray, -21px 21px 0px 0px $gray; - content: ''; - display: block; - height: 21px; - width: 21px; - position: absolute; - left: 50%; - margin-left: -10.5px; - } - .tlv-loader::after { - border-radius: 50%; - content: ''; - display: block; - position: absolute; - height: 21px; - width: 21px; - animation: dot-move-2 4.5s infinite ease-in; - } - @keyframes dot-move { - 0% { - background-color: $blue; - left: 21px; - top: 0; - } - 25% { - background-color: $yellow; - left: 42px; - top: 21px; - } - 50% { - background-color: $light-purple; - left: 21px; - top: 42px; - } - 75% { - background-color: $light-green; - left: 0; - top: 21px; - } - 100% { - background-color: $blue; - left: 21px; - top: 0; - } - } - @keyframes dot-move-2 { - 0% { - background-color: $blue; - left: 21px; - top: 0; - } - 6.25% { - background-color: $blue; - left: 42px; - top: 21px; - } - 12.5% { - background-color: $blue; - left: 21px; - top: 42px; - } - 18.75% { - background-color: $blue; - left: 0; - top: 21px; - } - 25% { - background-color: $yellow; - left: 21px; - top: 0; - } - 31.25% { - background-color: $yellow; - left: 42px; - top: 21px; - } - 37.5% { - background-color: $yellow; - left: 21px; - top: 42px; - } - 43.75% { - background-color: $yellow; - left: 0; - top: 21px; - } - 50% { - background-color: $light-purple; - left: 21px; - top: 0; - } - 56.25% { - background-color: $light-purple; - left: 42px; - top: 21px; - } - 62.5% { - background-color: $light-purple; - left: 21px; - top: 42px; - } - 68.75% { - background-color: $light-purple; - left: 0; - top: 21px; - } - 75% { - background-color: $light-green; - left: 21px; - top: 0; - } - 81.25% { - background-color: $light-green; - left: 42px; - top: 21px; - } - 87.5% { - background-color: $light-green; - left: 21px; - top: 42px; - } - 93.75% { - background-color: $light-green; - left: 0; - top: 21px; - } - 100% { - background-color: $blue; - left: 21px; - top: 0; - } - } - } diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_navigationSideBar.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_navigationSideBar.scss deleted file mode 100644 index c830c028..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_navigationSideBar.scss +++ /dev/null @@ -1,60 +0,0 @@ -.workflow-navigation-side-bar { - width: 245px; - height: 100%; - background-color: $white; - border-right: 1px solid $light-gray; - @include box-shadow(1px -1px 3px 0px $silver); - border-bottom: 0; - - .navigation-side-content { - overflow: hidden; - height: 100%; - - .navigation-group { - height: 100%; - display: flex; - flex-direction: column; - background-color: $light-silver; - .group-name { - @include heading-4-emphasis; - @include ellipsis; - display: block; - padding: 24px 12px 13px 40px; - background-color: $white; - border-bottom: 1px solid $silver; - } - } - - .navigation-group-items { - padding-left: 20px; - - .navigation-group-item { - @include body-1; - cursor: pointer; - margin: 18px 0; - padding-left: 20px; - color: $dark-gray; - line-height: 17px; - &.selected-item { - padding-left: 0; - .collapse.in { - padding-left: 20px; - } - } - .navigation-group-item-name { - @include ellipsis; - white-space: normal; - &.selected { - @include body-1-emphasis; - border-left: 4px solid $blue; - padding-left: 18px; - color: $blue; - } - &.bold-name { - @include body-1-emphasis; - } - } - } - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss deleted file mode 100644 index 855c372e..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss +++ /dev/null @@ -1,8 +0,0 @@ -.workflow-notifications-container { - position: absolute; - z-index: 99999; - &.position-top-right { - right: 30px; - top: 50px; - } -}
\ No newline at end of file diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_scrollbars.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_scrollbars.scss deleted file mode 100644 index d036c714..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_scrollbars.scss +++ /dev/null @@ -1,63 +0,0 @@ -.ps__rail-x { - opacity: 1; - height: 4px; - /* there must be 'bottom' or 'top' for ps__rail-x */ - bottom: 0px; -} - -.ps__rail-y { - opacity: 1; - width: 4px; - /* there must be 'right' or 'left' for ps__rail-y */ - right: 0; -} - -.ps__thumb-x { - background-color: $light-gray; - border-radius: 0px; - height: 4px; - /* there must be 'bottom' for ps__thumb-x */ - bottom: 0px; -} - -.ps__thumb-y { - background-color: $light-gray; - border-radius: 0px; - width: 4px; - /* there must be 'right' for ps__thumb-y */ - right: 0px; -} - -.ps:hover > .ps__rail-x, -.ps:hover > .ps__rail-y, -.ps--focus > .ps__rail-x, -.ps--focus > .ps__rail-y, -.ps--scrolling-x > .ps__rail-x, -.ps--scrolling-y > .ps__rail-y { - opacity: 1; - background-color: transparent; -} - -.ps .ps__rail-x:hover, -.ps .ps__rail-y:hover, -.ps .ps__rail-x:focus, -.ps .ps__rail-y:focus, -.ps .ps__rail-x.ps--clicking, -.ps .ps__rail-y.ps--clicking { - opacity: 1; - background-color: transparent; -} - -.ps__rail-x:hover > .ps__thumb-x, -.ps__rail-x:focus > .ps__thumb-x, -.ps__rail-x.ps--clicking .ps__thumb-x { - background-color: $light-gray; - height: 4px; -} - -.ps__rail-y:hover > .ps__thumb-y, -.ps__rail-y:focus > .ps__thumb-y, -.ps__rail-y.ps--clicking .ps__thumb-y { - background-color: $light-gray; - width: 4px; -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_searchInput.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_searchInput.scss deleted file mode 100644 index efd68496..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_searchInput.scss +++ /dev/null @@ -1,59 +0,0 @@ -.search-input-top { - display: flex; - height: 22px; - .search-input-wrapper { - display: flex; - &.closed { - .svg-icon { - &.__search { - height: 17px; - width: 17px; - transition: fill 0.5s ease-in; - fill: $blue; - cursor: pointer; - &:hover { - transition: fill 0.5s ease-in; - fill: $dark-blue; - } - } - } - } - &.opened { - .svg-icon-wrapper { - margin-left: 3px; - } - .svg-icon { - &.__search { - height: 17px; - width: 17px; - fill: $dark-blue; - } - } - .svg-icon { - &.__close { - margin-left: 7px; - opacity: 0.6; - fill: $dark-gray; - &:hover { - opacity: 1; - } - } - } - } - .search-input-control { - .input-control { - border: none; - background-color: transparent; - border-radius: 0; - border-bottom: 1px solid $gray; - height: 22px; - padding: 0 5px; - outline: 0; - box-shadow: none; - transition: border-color ease-in-out 0.95s, - box-shadow ease-in-out 0.95s; - } - margin: 0; - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_tree.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_tree.scss deleted file mode 100644 index 58f1f995..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_tree.scss +++ /dev/null @@ -1,56 +0,0 @@ - -.tree-view { - overflow: hidden; - - &.scrollable { - overflow: auto; - } - - .node { - text-shadow: none; - stroke: none; - - .outer-circle { - stroke: $blue; - stroke-width: 2px; - fill: $white; - } - - .inner-circle { - fill: $blue; - } - - text { - text-anchor: end; - @include body-2-emphasis; - fill: $blue; - } - - &.clickable { - cursor: pointer; - } - - &.selectedNode { - .outer-circle { - fill: $blue; - } - - .inner-circle { - fill: $blue; - } - - text { - fill: $blue; - } - } - } - - - .link { - fill: none; - stroke: $dark-gray; - stroke-opacity: 0.4; - stroke-width: 1.5px; - } - -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_validationForm.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_validationForm.scss deleted file mode 100644 index 176e5469..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_validationForm.scss +++ /dev/null @@ -1,117 +0,0 @@ -form { - .validation-form-content { - .validation-input-wrapper { - position: relative; - flex: 1; - } - .validation-radio-wrapper { - position: relative; - } - .sdc-tabs { - position: relative; - .invalid-tab:not(.sdc-tab-active) { - color: $red; - } - } - .validation-error-message { - &.bottom { - .tooltip-arrow { - border-bottom-color: $red; - } - } - &.right { - .tooltip-arrow { - border-right-color: $red; - } - } - &.left { - .tooltip-arrow { - border-left-color: $red; - } - } - .tooltip-inner { - background-color: $red; - } - } - .input-row { - padding-bottom: 32px; - &:only-child { - padding-bottom: 0; - } - &:last-child { - padding-bottom: 0; - } - .form-group { - margin-bottom: 0; - } - } - - .rows-section { - .row-flex-components { - display: flex; - } - .validation-input-wrapper { - flex: 1; - } - .empty-col { - flex: 1.2; - content: ' '; - } - .empty-two-col { - flex: 2.4; - content: ' '; - } - - .two-col { - flex: 2.2; - } - .three-col { - flex: 3.4; - } - .single-col { - flex: 1.2; - display: flex; - &:after { - flex: 0.2; - content: ' '; - } - @media (min-width: 1389px) { - &.add-line-break { - .control-label { - &:after { - content: "\00a0"; - display: block; - } - } - } - } - - } - } - } - - .validation-buttons { - padding: 20px 0; - text-align: right; - button:first-child { - margin-right: 15px; - } - .svg-icon { - height: 14px; - width: 14px; - } - .svg-icon.check { - fill: $white; - } - .svg-icon.close { - fill: $blue; - } - } -} - -.modal-body { - .validation-buttons { - padding: 20px 15px; - background-color: $light-silver; - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_versionController.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_versionController.scss deleted file mode 100644 index 3cf9b05e..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_versionController.scss +++ /dev/null @@ -1,196 +0,0 @@ -.version-controller-bar { - display: flex; - height: 70px; - border-bottom: 1px solid $silver; - background-color: transparent; - justify-content: space-between; - .group-name-wrapper { - width: 245px; - .group-name { - @include heading-4-emphasis; - @include ellipsis; - display: block; - padding: 24px 12px 13px 20px; - background-color: $white; - } - } - - .vc-container { - display: flex; - flex: 1; - align-self: center; - background-color: transparent; - justify-content: space-between; - align-items: center; - padding-left: 16px; - padding-right: 100px; - border-left: 1px solid #eaeaea; - height: 45px; - &.vs-container-operation { - flex: inherit; - } - .vc-separator { - border-left: 1px solid $silver; - height: 37px; - } - - .version-status-container { - display: flex; - align-items: center; - .version-selector-more-versions { - @include body-1-emphasis; - color: $blue; - cursor: pointer; - } - - .version-selector { - margin-top: 0; - padding-right: 10px; - margin-right: 15px; - margin-left: 10px; - border-color: $light-gray; - border-radius: 2px; - width: 243px; - height: 30px; - @include body-1; - } - - .version-section { - .form-group { - margin-right: 20px; - - .input-options { - border: none; - - .input-options-select { - padding-top: 4px; - } - } - } - } - - .vc-status { - display: flex; - padding-left: 20px; - border-left: $light-gray thin solid; - - .status-text { - align-self: center; - margin-top: 2px; - @include heading-5; - color: $dark-gray; - } - } - } - - .save-submit-cancel-container { - display: flex; - align-items: center; - height: 100%; - - .action-buttons, - .select-action-buttons, - .vc-save-section, - .vc-submit-section { - display: flex; - align-items: center; - height: 100%; - cursor: $cursor-pointer; - - .vc-submit-button { - border: 1px solid $dark-gray; - width: 94px; - height: 30px; - border-radius: 2px; - padding-top: 5px; - padding-left: 10px; - margin-left: 10px; - margin-right: 10px; - - &:hover:not(.disabled) { - cursor: pointer; - background-color: $silver; - } - - &.disabled { - border-color: $light-gray; - } - - .vc-v-submit { - width: 11px; - height: 8px; - margin-right: 10px; - position: relative; - top: -1px; - } - } - - .certifyBtn { - margin-left: 20px; - } - - .version-control-buttons { - display: flex; - } - - .action-button-wrapper { - display: flex; - align-items: center; - height: 70px; - padding: 10px; - - &:hover { - background-color: $silver; - } - - &:active { - background-color: $light-gray; - } - - .action-buttons-svg { - padding-left: 10px; - padding-right: 10px; - - .svg-icon { - fill: $text-black; - height: 20px; - - &, - &.__version-controller-save { - width: 20px; - } - &.__version-controller-permissions { - width: 32px; - } - &.__version-controller-undo, - &.__version-controller-revert { - width: 20px; - } - &.__version-controller-sync, - &.__version-controller-commit { - width: 28px; - } - } - .vs-back-btn { - height: '35px'; - width: '35px'; - .svg-icon { - height: '35px'; - width: '35px'; - transform: rotate(90deg); - } - } - } - } - - .action-button-label { - @include body-4; - display: block; - height: 1em; - margin-top: 5px; - margin-bottom: 0; - } - } - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss deleted file mode 100644 index c5c32030..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss +++ /dev/null @@ -1,102 +0,0 @@ -.wf-catalog { - overflow: auto; - background-color: $light-silver; - grid-template-rows: 35px 1fr; - height: 100vh; - padding-bottom: 20px; - .header { - align-items: center; - display: flex; - justify-content: space-between; - background-color: $silver; - margin-bottom: 2px; - @include box-shadow(0px 1px 3px 0 rgba(0, 0, 0, 0.2)); - padding: 8px 60px 0 0px; - .wf-status-select { - - display: grid; - width: 200px; - height: 34px; - margin-top: -8px; - background-color: $light-silver; - color: $blue; - } - &__search { - height: 25px; - } - } - .main { - &__header { - display: flex; - justify-content: space-between; - align-items: center; - padding: 25px 60px; - &__total { - @include body-1; - color: $dark-gray; - } - &__order { - display: flex; - &__label { - @include body-1; - color: $dark-gray; - } - &__alphabetical { - cursor: pointer; - display: flex; - &__label { - margin-left: 5px; - @include body-1; - color: $blue; - } - &__icon { - display: flex; - align-items: center; - margin-left: 5px; - .svg-icon { - width: 9px; - height: 9px; - } - &--flip { - transform: rotate(180deg); - } - } - } - } - } - &__content { - display: grid; - grid-template-columns: repeat(auto-fit, 204px); - grid-gap: 20px; - padding: 0 60px; - } - .add-workflow { - border: 2px dashed #a8b3b9; - width: 204px; - height: 204px; - padding: 10px; - box-sizing: border-box; - cursor: pointer; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - color: $gray; - &__icon { - color: $gray; - fill: $gray; - } - &__label { - text-transform: uppercase; - @include body-1-emphasis; - } - &:hover { - color: $blue; - .svg-icon-wrapper { - color: $blue; - fill: $blue; - } - } - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss deleted file mode 100644 index b2b701b2..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss +++ /dev/null @@ -1,94 +0,0 @@ -.composition-view { - display: flex; - width: 100%; - - .bpmn-container { - flex-basis: 100%; - flex-grow: 1; - .djs-palette.open { - border: none; - } - .djs-palette-entries { - border: solid 1px $light-gray; - &:empty { - border: none; - } - } - } - .bpmn-sidebar { - background-color: $light-silver; - height: 100%; - width: 320px; - - label { - @include body-1; - } - .group-label { - @include heading-4-emphasis; - font-size: 110%; - } - .properties-panel { - background-color: $light-silver; - overflow-y: auto; - max-height: calc(100vh - 70px); - &, .bpp-properties-panel { - [disabled], [editable-readonly=false] { - background-color: $light-gray; - color: $dark-gray; - pointer-events: none; - } - label[for] { - cursor: default; - background: transparent; - } - background-color: $light-silver; - #camunda-activitySelect-select { - &.invalid { - border-color: $camunda-panel-error-border-color; - background-color: $camunda-panel-error-background-color; - } - } - } - } - [editable-readonly] { - font-family: OpenSans-Regular, Arial, sans-serif; - font-style: normal; - font-weight: 400; - font-size: 14px; - box-sizing: border-box; - } - - .composition-buttons { - position: fixed; - background-color: $light-silver; - left: 265px; - bottom: 46px; - border: 1px solid $light-gray; - width: 189px; - display: flex; - flex-direction: row; - justify-content: space-around; - height: 57px; - align-items: center; - padding: 10px; - .divider { - height: 35px; - border: 1px solid $light-gray; - } - .diagram-btn { - - &:hover { - fill: $blue; - cursor: pointer; - } - &.disabled { - fill: $gray; - } - .svg-icon { - width: 25px; - height: 23px; - } - } - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss deleted file mode 100644 index f11c2c0a..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss +++ /dev/null @@ -1,39 +0,0 @@ -.general-page { - @include body-1; - padding: 35px 90px 0 50px; - background-color: #fff; - - .general-page-title { - height: 110px; - line-height: 110px; - @include heading-1-emphasis; - color: $dark-gray; - } - - .general-page-content { - display: grid; - grid-template-columns: 60% 40%; - grid-gap: 40px; - color: #444; - - .description-part textarea { - height: 200px; - padding-top: 5px; - } - - .version-info-part { - background-color: $light-silver; - height: 200px; - margin-top: 22px; - padding: 20px; - box-sizing: border-box; - .label { - @include body-3; - margin-bottom: 5px; - } - .value { - margin-bottom: 10px; - } - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss deleted file mode 100644 index 56a8dd6b..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss +++ /dev/null @@ -1,155 +0,0 @@ -.input-output { - @mixin border($top: 1px, $right: 1px, $bottom: 1px, $left: 1px) { - border-width: $top $right $bottom $left; - border-style: solid; - border-color: $light-gray; - } - padding: 44px; - max-width: 1567px; - - &__title { - height: 110px; - line-height: 110px; - @include heading-1-emphasis; - color: $dark-gray; - } - - &__header { - display: flex; - &__right { - flex: 1; - display: flex; - justify-content: flex-end; - align-items: center; - } - } - - &__tab { - padding: 12px; - @include body-1-emphasis; - @include border(1px, 1px, 0, 1px); - background-color: $light-silver; - color: $gray; - min-width: 128px; - text-align: center; - cursor: pointer; - &--active { - color: $blue; - padding-top: 9px; - border-top: 4px solid $blue; - background-color: $white; - } - & + & { - border-left: none; - } - } - - &__table { - &__thead { - background-color: $silver; - @include body-1-emphasis; - } - .scrollbars { - min-height: 102px; - max-height: calc(100vh - 243px); - overflow: auto; - position: relative; - } - - &__tbody { - } - } - - &__tr { - display: flex; - @include border(); - &:hover:not(&--no-hover) { - background-color: $light-silver; - } - & + & { - border-top: none; - } - } - - &__th { - flex: 1; - padding: 10px; - color: $black; - display: flex; - align-items: center; - } - - &__td { - flex: 1; - display: flex; - align-items: center; - padding: 22px 17px; - &--empty { - padding: 20px; - color: $dark-gray; - @include body-1; - text-transform: uppercase; - justify-content: center; - } - - .input-output-select { - width: 100%; - height: 32px; - @include border(); - border-radius: 2px; - padding-left: 5px; - color: $text-black; - } - - .sdc-input { - width: 100%; - position: relative; - margin: unset; - .sdc-input__label { - display: none; - } - .sdc-input__input { - height: 32px; - } - .sdc-label__error { - margin: unset; - position: absolute; - bottom: -22px; - } - } - } - - &__add { - cursor: pointer; - @include body-1; - text-transform: uppercase; - @include border(0, 0, 0, 1px); - padding-left: 10px; - margin-left: 10px; - } - - &__td, - &__th { - .sdc-checkbox { - height: 14px; - } - &--unflex { - flex: unset; - justify-content: center; - text-align: center; - width: 127px; - } - &--icon { - width: 98px; - .svg-icon-wrapper { - cursor: pointer; - &:hover { - fill: $blue; - } - } - } - & + & { - @include border(0, 0, 0, 1px); - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss deleted file mode 100644 index c1c371fd..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss +++ /dev/null @@ -1,337 +0,0 @@ -.overview-page { - @include body-1; - color: $dark-gray; - overflow-y: auto; - height: 100vh; - - .overview-content { - display: flex; - flex-wrap: wrap; - min-height: 775px; - - .overview-separator { - border-left: 1px solid $silver; - } - - .workflow-details { - @extend .flex; - @media (min-width: 1076px) { - @include sticky(30px); - } - max-height: 600px; - padding: 0 45px 0 56px; - flex-direction: column; - - .description-part { - padding-top: 20px; - textarea{ - height: 200px; - } - } - - .save-description { - display: flex; - justify-content: flex-end; - } - - .version-info-part { - background-color: $light-silver; - margin-top: 25px; - padding: 20px; - box-sizing: border-box; - .label { - @include body-1; - margin-bottom: 5px; - } - .value { - margin-bottom: 20px; - &:last-child { - margin-bottom: 0; - } - } - } - } - - .workflow-versions { - display: flex; - flex: 2; - } - } - - .overview-header { - display: flex; - margin: 35px 60px 35px 60px; - color: $blue; - justify-content: space-between; - .title { - display: flex; - @include heading-1; - text-transform: uppercase; - } - .go-catalog-btn { - fill: $blue; - @include heading-4; - &:hover { - fill: $light-blue; - color: $light-blue; - cursor: pointer; - } - .svg-icon { - width: 16px; - height: 16px; - } - } - .restore-btn { - margin-left: 20px; - } - .archive-btn { - margin-left: 20px; - fill: $gray; - &:hover { - fill: $blue; - color: $light-blue; - cursor: pointer; - } - } - } - - @mixin version-page-box-shadow() { - box-shadow: 1px 1px 0 0 rgba(24, 24, 24, 0.06); - } - - @mixin version-page-sub-title(){ - color: $text-black; - text-transform: uppercase; - border-bottom: 1px solid $light-gray; - padding: 12px 0 10px 45px; - } - - .versions-page-view { - padding: 0 56px 0 45px; - display: flex; - flex: 2; - flex-direction: column; - - .create-new-version { - @extend .text-uppercase; - display: flex; - flex-direction: row-reverse; - color: $blue; - margin-left: auto; - cursor: pointer; - } - .newVersionDisabled > *, .svg-icon-wrapper{ - pointer-events: none; - color: $gray; - } - .version-page-header { - display: flex; - justify-content: space-between; - .versions-page-title { - @include heading-1; - text-transform: uppercase; - margin-bottom: 29px; - color: $blue; - } - .depricate-btn-wrapper { - display: flex; - justify-content: flex-end; - margin-bottom: 10px; - } - } - - .versions-page-list-and-tree { - display: flex; - margin-top: 10px; - - .version-tree-wrapper { - display: flex; - flex-direction: column; - transition: all 1s ease; - @include version-page-box-shadow(); - - .version-tree-title-container { - @include body-1-emphasis(); - @media (min-width: 1076px) { - @include sticky(1px); - } - background-color: $light-silver; - display: flex; - align-items: center; - height: 40px; - @include version-page-sub-title(); - padding-right: 10px; - - .version-tree-full-screen { - margin-left: auto; - } - } - - .tree-view { - flex: 1; - border-left: 1px solid $silver; - &:last-child { - border-bottom: 1px solid $silver; - } - .node:not(.selectedNode):hover { - .outer-circle, .inner-circle { - transform: scale(1.1); - } - } - } - } - } - - .version-list { - @extend .flex; - flex-direction: column; - - .version-list-items { - @extend .flex-column; - - .item-version, .item-status { - font-size: 12px; - font-weight: 600; - } - .version-item-row { - &:last-child { - border-bottom: 1px solid $silver; - } - } - } - - .version-item-row { - $row-hover-color: lighten($blue, 54%); - $row-active-color: lighten($blue, 51%); - cursor: $cursor-pointer; - - display: flex; - align-items: center; - padding: 15px 30px; - @include version-page-box-shadow(); - height: 70px; - max-height: 70px; - - &:hover { - background-color: $row-hover-color; - } - - &.selected { - box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 $blue; - background-color: $row-active-color; - - &:hover { - box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 lighten($blue, 35%); - } - } - - &.header-row { - height: 40px; - background-color: $light-silver; - @media (min-width: 1076px) { - @include sticky(1px); - } - @include body-1-emphasis(); - @include version-page-sub-title(); - padding: 15px 27px; - - &:hover { - pointer-events: none; - &:active { - @include version-page-box-shadow(); - } - } - .header-field.actions { - margin-right: 57px; - } - } - - .version-item-field { - @extend .flex; - margin-right: 10px; - - &.item-version, &.item-status { - flex: 0 1 10%; - color: $text-black; - } - - &.item-description, &.item-last-edited { - @include body-1; - } - - &.item-description, &.header-description { - flex: 1 1 0; - } - - &.item-description > .description-text { - margin-right: 10px; - @include ellipsis($max-width: 280px); - width: initial; - } - - &.item-actions { - display: flex; - flex: 1 1 3%; - justify-content: space-between; - } - - &.item-select, &.item-create { - @include body-1; - flex: 0 1 auto; - margin-right: 0; - - .svg-icon-wrapper { - fill: $blue; - color: $blue; - - &[disabled] { - cursor: default; - } - - .svg-icon { - width: 16px; - height: 16px; - } - - &:hover:not([disabled]) { - fill: $dark-blue; - color: $dark-blue; - } - } - } - - } - - /* To keep ellipsis hider's background the same color as row background */ - &:not(.selected):hover .item-description > .description-text:after { - background: $row-hover-color; - } - - &:hover:active .item-description > .description-text:after { - background: $row-active-color; - } - - } - - } - - &.clickable { - cursor: pointer; - } - } - -} - -.inputinput-selector { - padding-right: 10px; - border-color: $light-gray; - border-radius: 2px; - width: 100%; - height: 30px; - @include body-1; - - &:disabled { - @extend .disabled; - background-color: $silver; - } -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss deleted file mode 100644 index f959d17f..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss +++ /dev/null @@ -1,4 +0,0 @@ -.workflow-view { - display: grid; - grid-template-columns: 245px 1fr; -} diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/style.scss b/workflow-designer-ui/src/main/frontend/resources/scss/style.scss deleted file mode 100644 index 09e8c8bc..00000000 --- a/workflow-designer-ui/src/main/frontend/resources/scss/style.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import '~bpmn-js/dist/assets/diagram-js.css'; -@import '~bpmn-js/dist/assets/bpmn-font/css/bpmn.css'; -@import 'common'; -@import '~onap-ui-common/lib/style.css'; -@import '~perfect-scrollbar/css/perfect-scrollbar.css'; -@import 'components'; -@import 'features'; diff --git a/workflow-designer-ui/src/main/frontend/src/App.js b/workflow-designer-ui/src/main/frontend/src/App.js deleted file mode 100644 index 5b7c154d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/App.js +++ /dev/null @@ -1,106 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { hot } from 'react-hot-loader'; -import React, { Component } from 'react'; -import { Route, withRouter } from 'react-router-dom'; -import qs from 'qs'; -import { connect } from 'react-redux'; -import { PluginPubSub } from 'shared/pubsub/plugin-pubsub'; -import 'resources/scss/style.scss'; -import 'bpmn-js-properties-panel/styles/properties.less'; -import { routes } from 'wfapp/routes'; -import { USER_ID } from 'wfapp/appConstants'; -import { getVersionsAction } from 'features/workflow/overview/overviewConstansts'; -import { setOperationModeAction } from 'features/version/versionConstants'; -import { setPluginContext } from './pluginContext/pluginContextActions'; -import { notificationType } from 'wfapp/pluginContext/pluginContextConstants'; -const RouteWithSubRoutes = route => ( - <Route - path={route.path} - exact={route.exact} - render={props => <route.component {...props} routes={route.routes} />} - /> -); - -function mapActionsToProps(dispatch) { - return { - getOverview: workflowId => { - dispatch(getVersionsAction(workflowId)); - dispatch(setOperationModeAction()); - }, - setPluginContext: payload => dispatch(setPluginContext(payload)) - }; -} - -class App extends Component { - constructor(props) { - super(props); - - this.searchParams = qs.parse(location.search, { - ignoreQueryPrefix: true - }); - - if (this.searchParams && this.searchParams.userId) { - localStorage.setItem(USER_ID, this.searchParams.userId); - } - } - - componentDidMount() { - if (this.searchParams) { - const { - eventsClientId, - parentUrl, - workflowId, - versionId - } = this.searchParams; - - if (eventsClientId && parentUrl) { - this.props.setPluginContext({ - eventsClientId, - parentUrl - }); - const client = new PluginPubSub(eventsClientId, parentUrl); - client.notify(notificationType.READY); - } - if (workflowId && versionId) { - this.props.getOverview(workflowId); - this.props.history.push( - `/workflow/${workflowId}/version/${versionId}/composition` - ); - } - } - } - - render() { - return ( - <div className="workflow-app"> - {routes.map((route, i) => ( - <RouteWithSubRoutes key={`App.route.${i}`} {...route} /> - ))} - </div> - ); - } -} - -export default hot(module)( - withRouter( - connect( - null, - mapActionsToProps - )(App) - ) -); diff --git a/workflow-designer-ui/src/main/frontend/src/appConstants.js b/workflow-designer-ui/src/main/frontend/src/appConstants.js deleted file mode 100644 index 710c4d8c..00000000 --- a/workflow-designer-ui/src/main/frontend/src/appConstants.js +++ /dev/null @@ -1,37 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { createAction } from 'redux-actions'; -export const LANG = 'en'; -export const USER_ID = 'USER_ID'; -export const VERSION_LEVEL_LIST = [ - { - id: '2', - name: 'Major', - value: '2' - }, - { - id: '1', - name: 'Minor', - value: '1' - } -]; - -export const NETWORK_GENERIC_ERROR = 'NETWORK_GENERIC_ERROR'; -export const genericNetworkErrorAction = createAction( - NETWORK_GENERIC_ERROR, - error => error -); diff --git a/workflow-designer-ui/src/main/frontend/src/appSelectors.js b/workflow-designer-ui/src/main/frontend/src/appSelectors.js deleted file mode 100644 index 657429e4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/appSelectors.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const i18nSelector = state => state && state.i18n.locale; diff --git a/workflow-designer-ui/src/main/frontend/src/config/Configuration.js b/workflow-designer-ui/src/main/frontend/src/config/Configuration.js deleted file mode 100644 index 36ad33d7..00000000 --- a/workflow-designer-ui/src/main/frontend/src/config/Configuration.js +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright © 2018 European Support Limited - * - * 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 - * - * 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. - */ -import configData from './config.json'; - -class Configuration { - get(key) { - return configData[key]; - } - - set(key, value) { - var prev = configData[key]; - configData[key] = value; - return prev; - } - - setCatalogApiRoot(CatalogApiRoot) { - let restCatalogPrefix = CatalogApiRoot, - restPrefix = CatalogApiRoot.replace( - /\/feProxy\b[^:]*$/, - '/feProxy/onboarding-api' - ); - - this.set('restPrefix', restPrefix); - this.set('restCatalogPrefix', restCatalogPrefix); - } - - setCatalogApiHeaders(CatalogApiHeaders) { - this.set('CatalogApiHeaders', CatalogApiHeaders); - - let { userId: { value: UserID } = {} } = CatalogApiHeaders; - this.set('UserID', UserID); - } -} - -const configuration = new Configuration(); - -(function setDefaultRestPrefixes(configuration) { - configuration.set('restPrefix', configuration.get('defaultRestPrefix')); - configuration.set( - 'restCatalogPrefix', - configuration.get('defaultRestCatalogPrefix') - ); - configuration.set( - 'activitiesRestPrefix', - configuration.get('activitiesRestPrefix') - ); - configuration.set('appContextPath', configuration.get('appContextPath')); -})(configuration); - -export default configuration; diff --git a/workflow-designer-ui/src/main/frontend/src/config/config.json b/workflow-designer-ui/src/main/frontend/src/config/config.json deleted file mode 100644 index 96a7ca5b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/config/config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": "0.1", - "appContextPath" : "/", - "defaultRestPrefix": "/workflows/wf", - "activitiesRestPrefix": "/workflows/v1.0" -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesActions.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesActions.js deleted file mode 100644 index 833f6e5f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesActions.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { SET_ACTIVITIES_LIST, GET_ACTIVITIES } from './activitiesConstants'; - -export const setActivitiesList = payload => ({ - type: SET_ACTIVITIES_LIST, - payload -}); - -export const getActivitiesList = () => ({ - type: GET_ACTIVITIES -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesApi.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesApi.js deleted file mode 100644 index 10141e09..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesApi.js +++ /dev/null @@ -1,35 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import RestfulAPIUtil from 'services/restAPIUtil'; -import Configuration from 'config/Configuration.js'; -import { activityStatus } from './activitiesConstants'; - -function baseUrl() { - const restPrefix = Configuration.get('activitiesRestPrefix'); - return `${restPrefix}/activity-spec`; -} - -export default { - fetchActivities: () => { - return RestfulAPIUtil.fetch( - `${baseUrl()}?status=${activityStatus.CERTIFIED}` - ); - }, - - fetchActivity: id => { - return RestfulAPIUtil.fetch(`${baseUrl()}/${id}/versions/latest`); - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesConstants.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesConstants.js deleted file mode 100644 index f99789c2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesConstants.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const SET_ACTIVITIES_LIST = 'activites/SET_ACTIVITIES_LIST'; -export const GET_ACTIVITIES = 'activities/GET_ACTIVITIES'; - -export const activityStatus = { - CERTIFIED: 'Certified', - DRAFT: 'Draft', - DEPRICATED: 'Depricated', - DELETED: 'Deleted' -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesReducer.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesReducer.js deleted file mode 100644 index 5c361401..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesReducer.js +++ /dev/null @@ -1,26 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { SET_ACTIVITIES_LIST } from './activitiesConstants'; - -export default (state = [], action) => { - switch (action.type) { - case SET_ACTIVITIES_LIST: { - return action.payload; - } - default: - return state; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSaga.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSaga.js deleted file mode 100644 index 2350b9c3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSaga.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { call, put, takeEvery, all } from 'redux-saga/effects'; -import { genericNetworkErrorAction } from 'src/appConstants'; -import { GET_ACTIVITIES } from './activitiesConstants'; -import activitiesApi from './activitiesApi'; -import { setActivitiesList } from './activitiesActions'; - -function* fetchActivities() { - try { - const activitiesList = yield call(activitiesApi.fetchActivities); - const updatedActivitiesList = yield all( - activitiesList.items.map(item => - call(activitiesApi.fetchActivity, item.id) - ) - ); - - yield put(setActivitiesList(updatedActivitiesList)); - } catch (error) { - yield put(genericNetworkErrorAction(error)); - } -} - -function* activitiesSaga() { - yield takeEvery(GET_ACTIVITIES, fetchActivities); -} - -export default activitiesSaga; diff --git a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSelectors.js deleted file mode 100644 index fc0c55ab..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/activities/activitiesSelectors.js +++ /dev/null @@ -1,22 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -export const activitiesSelector = state => - state && - state.activities.map(item => ({ - ...item, - value: item.name - })); diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js deleted file mode 100644 index b675b220..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { connect } from 'react-redux'; - -import CatalogView from 'features/catalog/CatalogView'; -import { - fetchWorkflow, - searchChangedAction -} from 'features/catalog/catalogActions'; - -import { showCustomModalAction } from 'shared/modal/modalWrapperActions'; -import { NEW_WORKFLOW_MODAL } from 'shared/modal/modalWrapperComponents'; -import { clearWorkflowAction } from 'features/workflow/workflowConstants'; - -const mapStateToProps = state => ({ - catalog: state.catalog -}); - -const mapDispatchToProps = dispatch => ({ - handleFetchWorkflow: ({ sort, offset, searchNameFilter, status }) => - dispatch(fetchWorkflow({ sort, offset, searchNameFilter, status })), - clearWorkflow: () => dispatch(clearWorkflowAction), - showNewWorkflowModal: () => - dispatch( - showCustomModalAction({ - customComponentName: NEW_WORKFLOW_MODAL, - title: 'New Workflow' - }) - ), - searchInputChanged: searchValue => - dispatch(searchChangedAction(searchValue)) -}); - -const Catalog = connect( - mapStateToProps, - mapDispatchToProps -)(CatalogView); - -export default Catalog; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx deleted file mode 100644 index edaa64f3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx +++ /dev/null @@ -1,182 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import InfiniteScroll from 'shared/scroll/InfiniteScroll'; -import Workflows from 'features/catalog/views/Workflows'; -import AddWorkflow from 'features/catalog/views/AddWorkflow'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; - -import Header from 'features/catalog/views/Header'; -import Main from 'features/catalog/views/Main'; -import { NAME, ASC, DESC } from 'features/catalog/catalogConstants'; - -class CatalogView extends Component { - constructor(props) { - super(props); - } - - componentDidMount() { - const { clearWorkflow } = this.props; - clearWorkflow(); - this.fetchWorkflows(); - } - - fetchWorkflows = () => { - const { - catalog: { sort, status, searchNameFilter }, - handleFetchWorkflow - } = this.props; - handleFetchWorkflow({ - sort, - searchNameFilter, - status - }); - }; - - handleAlphabeticalOrderByClick = e => { - e.preventDefault(); - - const { - handleFetchWorkflow, - catalog: { sort, status, searchNameFilter } - } = this.props; - - const payload = { - ...sort - }; - - payload[NAME] = payload[NAME] === ASC ? DESC : ASC; - handleFetchWorkflow({ - sort: payload, - searchNameFilter, - status - }); - }; - handleStatusChange = value => { - const { - handleFetchWorkflow, - catalog: { sort, searchNameFilter } - } = this.props; - - handleFetchWorkflow({ - sort, - searchNameFilter, - status: value - }); - }; - - handleScroll = () => { - const { - catalog: { - paging: { offset }, - sort, - status, - searchNameFilter - }, - handleFetchWorkflow - } = this.props; - handleFetchWorkflow({ - sort, - offset, - searchNameFilter, - status - }); - }; - - goToOverviewPage = id => { - const { history } = this.props; - const { location } = history; - history.push(`${location.pathname}workflow/${id}/overview`); - }; - - searchChange = searchValue => { - this.setState({ searchValue: searchValue }); - this.dispatchChange(searchValue); - }; - - dispatchChange = searchValue => { - const { searchInputChanged, catalog } = this.props; - searchInputChanged({ - ...catalog, - searchNameFilter: searchValue - }); - sessionStorage.setItem('searchNameFilter', searchValue); - }; - - render() { - const { catalog, showNewWorkflowModal } = this.props; - const { - sort, - paging: { hasMore, total }, - items, - status, - searchNameFilter - } = catalog; - const alphabeticalOrder = sort[NAME]; - - return ( - <div className="wf-catalog"> - <Header - status={status} - statusChange={this.handleStatusChange} - searchChange={this.searchChange} - searchValue={searchNameFilter} - /> - <InfiniteScroll - useWindow={false} - loadMore={this.handleScroll} - hasMore={hasMore}> - <Main - total={total} - alphabeticalOrder={alphabeticalOrder} - onAlphabeticalOrderByClick={ - this.handleAlphabeticalOrderByClick - }> - <div className="main__content"> - {status === WORKFLOW_STATUS.ACTIVE && ( - <AddWorkflow onClick={showNewWorkflowModal} /> - )} - <Workflows - items={items} - onWorkflowClick={this.goToOverviewPage} - /> - </div> - </Main> - </InfiniteScroll> - </div> - ); - } -} - -CatalogView.propTypes = { - history: PropTypes.object, - catalog: PropTypes.object, - handleResetWorkflow: PropTypes.func, - handleFetchWorkflow: PropTypes.func, - showNewWorkflowModal: PropTypes.func, - clearWorkflow: PropTypes.func, - searchInputChanged: PropTypes.func, - searchNameFilter: PropTypes.string -}; - -CatalogView.defaultProps = { - showNewWorkflowModal: () => {}, - clearWorkflow: () => {} -}; - -export default CatalogView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogActions-test.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogActions-test.js deleted file mode 100644 index bd2b0006..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogActions-test.js +++ /dev/null @@ -1,65 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -'use strict'; - -import { - FETCH_WORKFLOW, - UPDATE_WORKFLOW, - LIMIT, - NAME, - ASC -} from 'features/catalog/catalogConstants'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; -import { fetchWorkflow, updateWorkflow } from 'features/catalog/catalogActions'; - -describe('Catalog Actions', () => { - it('should have `fetchWorkflow` action', () => { - const sort = { [NAME]: ASC }; - const offset = 0; - const status = WORKFLOW_STATUS.ACTIVE; - expect(fetchWorkflow({ sort, offset, status })).toEqual({ - type: FETCH_WORKFLOW, - payload: { - sort, - limit: LIMIT, - status, - offset - } - }); - }); - - it('should have `updateWorkflow` action', () => { - const payload = { - paging: { - offset: 1, - limit: 1, - count: 1, - hasMore: false, - total: 2 - }, - items: [], - sort: { - name: 'asc' - } - }; - - expect(updateWorkflow(payload)).toEqual({ - type: UPDATE_WORKFLOW, - payload - }); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogReducer-test.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogReducer-test.js deleted file mode 100644 index 264e8112..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogReducer-test.js +++ /dev/null @@ -1,112 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -'use strict'; - -import { NAME, ASC, DESC } from 'features/catalog/catalogConstants'; -import catalogReducer, { initialState } from 'features/catalog/catalogReducer'; -import { updateWorkflow } from 'features/catalog/catalogActions'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; - -describe('Catalog Reducer', () => { - const state = { - paging: { - offset: 1, - limit: 1, - count: 1, - hasMore: false, - total: 2 - }, - status: WORKFLOW_STATUS.ACTIVE, - sort: { - [NAME]: ASC - }, - searchNameFilter: '', - items: [ - { - id: 'c5b7ca1a0f7944bfa948b85b32c5f314', - name: 'Workflow_2', - description: null, - versionStates: ['DRAFT'], - versions: null - }, - { - id: '221336ef3f1645c686bc81899368ac27', - name: 'Workflow_1', - description: null, - versionStates: ['DRAFT'], - versions: null - } - ] - }; - - const sort = { - [NAME]: DESC - }; - - const offset = 0; - - const dataPayload = { - paging: { - offset, - limit: 10, - count: 2, - hasMore: false, - total: 2 - }, - items: [ - { - id: 'c5b7ca1a0f7944bfa948b85b32c5f314', - name: 'Workflow_2', - description: null, - versionStates: ['DRAFT'], - versions: null - }, - { - id: '221336ef3f1645c686bc81899368ac27', - name: 'Workflow_1', - description: null, - versionStates: ['DRAFT'], - versions: null - } - ] - }; - - it('returns the initial state', () => { - expect(catalogReducer(undefined, {})).toEqual(initialState); - }); - - it('should replace results when page is first', () => { - expect( - catalogReducer(state, updateWorkflow({ sort, ...dataPayload })) - ).toEqual({ - ...initialState, - sort, - ...dataPayload - }); - }); - - it('should add results when page is not first', () => { - expect( - catalogReducer( - state, - updateWorkflow({ sort, ...{ ...dataPayload, offset: 2 } }) - ).items - ).toEqual( - expect.arrayContaining([...dataPayload.items, ...state.items]) - ); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogSagas-test.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogSagas-test.js deleted file mode 100644 index d3e9bda2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/__tests__/catalogSagas-test.js +++ /dev/null @@ -1,109 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -'use strict'; - -import { runSaga } from 'redux-saga'; -import { takeLatest } from 'redux-saga/effects'; - -import { - NAME, - DESC, - LIMIT, - SEARCH_CHANGED -} from 'features/catalog/catalogConstants'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; -import catalogApi from '../catalogApi'; -import { fetchWorkflow, updateWorkflow } from 'features/catalog/catalogActions'; -import catalogSaga, { - fetchWorkflowSaga, - debounceSearchChanged -} from 'features/catalog/catalogSagas'; - -jest.mock('../catalogApi'); - -describe('Catalog Sagas', () => { - it('should watch for `fetchWorkflow` action', () => { - const gen = catalogSaga(); - - expect(gen.next().value).toEqual( - takeLatest(fetchWorkflow, fetchWorkflowSaga) - ); - expect(gen.next().value).toEqual( - takeLatest(SEARCH_CHANGED, debounceSearchChanged) - ); - expect(gen.next().done).toBe(true); - }); - - it('should get workflows and put `updateWorkflow` action', async () => { - const sort = { - [NAME]: DESC - }; - const status = WORKFLOW_STATUS.ACTIVE; - const offset = 0; - const searchNameFilter = undefined; - const data = { - paging: { - offset, - limit: 10, - count: 2, - hasMore: false, - total: 2 - }, - status: WORKFLOW_STATUS.ACTIVE, - searchNameFilter: 'w', - items: [ - { - id: 'c5b7ca1a0f7944bfa948b85b32c5f314', - name: 'Workflow_2', - description: null, - versionStates: ['DRAFT'], - versions: null - }, - { - id: '221336ef3f1645c686bc81899368ac27', - name: 'Workflow_1', - description: null, - versionStates: ['DRAFT'], - versions: null - } - ] - }; - const dispatched = []; - - catalogApi.getWorkflows.mockReturnValue(data); - - await runSaga( - { - dispatch: action => dispatched.push(action) - }, - fetchWorkflowSaga, - fetchWorkflow({ sort, offset, status }) - ).done; - - expect(dispatched).toEqual( - expect.arrayContaining([updateWorkflow({ sort, ...data })]) - ); - - expect(catalogApi.getWorkflows).toBeCalledWith({ - sort, - status, - limit: LIMIT, - offset: offset + LIMIT, - searchNameFilter - }); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogActions.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogActions.js deleted file mode 100644 index 81c22848..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogActions.js +++ /dev/null @@ -1,48 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createActions, createAction } from 'redux-actions'; - -import { - NAMESPACE, - LIMIT, - SEARCH_CHANGED, - FETCH_WORKFLOW -} from 'features/catalog/catalogConstants'; - -export const { - [NAMESPACE]: { updateWorkflow } -} = createActions({ - [NAMESPACE]: { - UPDATE_WORKFLOW: undefined - } -}); - -export const fetchWorkflow = createAction( - FETCH_WORKFLOW, - ({ sort, offset, searchNameFilter, status }) => ({ - sort, - limit: LIMIT, - offset, - searchNameFilter, - status - }) -); - -export const searchChangedAction = createAction( - SEARCH_CHANGED, - payload => payload -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogApi.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogApi.js deleted file mode 100644 index b15f3d8e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogApi.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import qs from 'qs'; - -import RestfulAPIUtil from 'services/restAPIUtil'; -import Configuration from 'config/Configuration.js'; - -function baseUrl() { - const restPrefix = Configuration.get('restPrefix'); - return `${restPrefix}/workflows`; -} - -const Api = { - getWorkflows: ({ sort, limit, offset, searchNameFilter, status }) => { - const queryParams = { - sort: Object.keys(sort).map(key => `${key}:${sort[key]}`), - limit, - offset, - archiving: status - }; - if (searchNameFilter) queryParams.searchNameFilter = searchNameFilter; - const queryString = qs.stringify(queryParams, { - indices: false, - addQueryPrefix: true - }); - - return RestfulAPIUtil.fetch(`${baseUrl()}${queryString}`); - } -}; - -export default Api; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogConstants.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogConstants.js deleted file mode 100644 index 44bdc6bb..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogConstants.js +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -export const NAMESPACE = 'catalog'; - -export const NAME = 'name'; -export const ASC = 'asc'; -export const DESC = 'desc'; - -//Limit = max tiles in a standard screen -export const LIMIT = 31; - -export const SEARCH_BUFFER = 1000; -export const SEARCH_CHANGED = `catalog/SEARCH_CHANGED`; - -export const FETCH_WORKFLOW = `${NAMESPACE}/FETCH_WORKFLOW`; -export const UPDATE_WORKFLOW = `${NAMESPACE}/UPDATE_WORKFLOW`; -export const RESET_WORKFLOW = `${NAMESPACE}/RESET_WORKFLOW`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogReducer.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogReducer.js deleted file mode 100644 index db7bc43b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogReducer.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { - NAME, - ASC, - UPDATE_WORKFLOW, - SEARCH_CHANGED -} from 'features/catalog/catalogConstants'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; -export const initialState = { - paging: { - hasMore: true, - total: 0 - }, - sort: { - [NAME]: ASC - }, - status: WORKFLOW_STATUS.ACTIVE, - //In order to save state inside iframe session - searchNameFilter: sessionStorage.getItem('searchNameFilter') || '' -}; - -const catalogReducer = (state = initialState, action) => { - const { type, payload } = action; - - switch (type) { - case UPDATE_WORKFLOW: - return { - ...state, - ...payload, - items: - payload.paging.offset === 0 - ? [...payload.items] - : [...state.items, ...payload.items] - }; - case SEARCH_CHANGED: - return { - ...state, - searchNameFilter: action.payload.searchNameFilter - }; - default: - return state; - } -}; - -export default catalogReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogSagas.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogSagas.js deleted file mode 100644 index dd77bc97..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/catalogSagas.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { call, put, takeLatest } from 'redux-saga/effects'; -import { delay } from 'redux-saga'; - -import catalogApi from 'features/catalog/catalogApi'; -import { fetchWorkflow, updateWorkflow } from 'features/catalog/catalogActions'; -import { - SEARCH_CHANGED, - LIMIT, - SEARCH_BUFFER -} from 'features/catalog/catalogConstants'; - -const noOp = () => {}; - -export function* fetchWorkflowSaga({ payload }) { - const { sort, limit, offset, searchNameFilter, status } = payload; - try { - const data = yield call(catalogApi.getWorkflows, { - sort, - limit: LIMIT, - offset: offset === undefined ? 0 : offset + limit, - searchNameFilter, - status - }); - yield put(updateWorkflow({ sort, status, ...data })); - } catch (e) { - noOp(); - } -} - -export function* debounceSearchChanged({ payload }) { - yield call(delay, SEARCH_BUFFER); - yield call(fetchWorkflowSaga, { payload }); -} - -function* catalogSaga() { - yield takeLatest(fetchWorkflow, fetchWorkflowSaga); - yield takeLatest(SEARCH_CHANGED, debounceSearchChanged); -} - -export default catalogSaga; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/AddWorkflow.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/views/AddWorkflow.jsx deleted file mode 100644 index 1700d92e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/AddWorkflow.jsx +++ /dev/null @@ -1,45 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { Translate } from 'react-redux-i18n'; -import { SVGIcon } from 'onap-ui-react'; - -class AddWorkflow extends React.Component { - render() { - const { onClick } = this.props; - return ( - <div - className="add-workflow" - data-test-id="wf-catalog-add-workflow" - onClick={onClick}> - <div className="add-workflow__icon"> - <SVGIcon name="plusCircleThick" /> - </div> - <div className="add-workflow__label"> - <Translate value="catalog.addWorkflow" /> - </div> - </div> - ); - } -} - -AddWorkflow.propTypes = { - onClick: PropTypes.func -}; - -export default AddWorkflow; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Header.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Header.jsx deleted file mode 100644 index b70c0a50..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Header.jsx +++ /dev/null @@ -1,46 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import SearchInput from 'shared/searchInput/SearchInput'; -import StatusSelect from './StatusSelector'; - -const Header = ({ searchChange, searchValue, statusChange, status }) => ( - <div className="header"> - <StatusSelect status={status} onChange={statusChange} /> - <div className="header__search"> - <SearchInput - dataTestId="wf-catalog-search" - onChange={searchChange} - value={searchValue} - /> - </div> - </div> -); - -Header.propTypes = { - searchChange: PropTypes.func, - searchValue: PropTypes.string, - statusChange: PropTypes.func, - status: PropTypes.string -}; - -Header.defaultProps = { - searchChange: () => {}, - searchValue: '' -}; -export default Header; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Main.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Main.jsx deleted file mode 100644 index b4288f3b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Main.jsx +++ /dev/null @@ -1,79 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { Translate } from 'react-redux-i18n'; - -import { ASC } from 'features/catalog/catalogConstants'; -import { SVGIcon } from 'onap-ui-react'; - -class Main extends Component { - render() { - const { - total, - alphabeticalOrder, - onAlphabeticalOrderByClick, - children - } = this.props; - - return ( - <div className="main"> - <div className="main__header"> - <div className="main__header__total"> - <Translate value="catalog.elementFound" count={total} /> - </div> - <div className="main__header__order"> - <div className="main__header__order__label"> - <Translate value="catalog.orderBy" />: - </div> - <div - className="main__header__order__alphabetical" - data-test-id="wf-catalog-alphabetical-order" - onClick={onAlphabeticalOrderByClick}> - <div className="main__header__order__alphabetical__label"> - <Translate value="catalog.alphabeticalOrder" /> - </div> - <div - className={ - (alphabeticalOrder === ASC && - 'main__header__order__alphabetical__icon') || - 'main__header__order__alphabetical__icon main__header__order__alphabetical__icon--flip' - }> - <SVGIcon name="caretDown" /> - </div> - </div> - </div> - </div> - {children} - </div> - ); - } -} - -Main.propTypes = { - total: PropTypes.number, - alphabeticalOrder: PropTypes.string, - onAlphabeticalOrderByClick: PropTypes.func, - handleSort: PropTypes.func, - children: PropTypes.node -}; - -Main.defaultProps = { - total: 0 -}; - -export default Main; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/StatusSelector.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/views/StatusSelector.js deleted file mode 100644 index 5b77bd5d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/StatusSelector.js +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; - -const StatusSelect = ({ status, onChange }) => ( - <select - className="wf-status-select" - value={status} - data-test-id="status-select" - onChange={e => onChange(e.target.value)}> - {Object.keys(WORKFLOW_STATUS).map((type, i) => ( - <option key={`type.${i}`} value={WORKFLOW_STATUS[type]}> - {type} - </option> - ))} - </select> -); - -StatusSelect.propTypes = { - status: PropTypes.string, - onChange: PropTypes.func -}; - -export default StatusSelect; diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Workflows.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Workflows.jsx deleted file mode 100644 index d69ec47e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/views/Workflows.jsx +++ /dev/null @@ -1,47 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -import { Tile, TileInfo, TileInfoLine } from 'onap-ui-react'; - -const Workflows = ({ items, onWorkflowClick }) => - items.map((workflow, index) => ( - <Tile - key={`workflow.${index}`} - dataTestId="wf-catalog-workflow-item" - headerText="WF" - headerColor="blue" - iconName="workflow" - iconColor="blue" - onClick={() => onWorkflowClick(workflow.id)}> - <TileInfo> - <TileInfoLine type="title">{workflow.name}</TileInfoLine> - </TileInfo> - </Tile> - )); - -Workflows.propTypes = { - items: PropTypes.array, - onWorkflowClick: PropTypes.func -}; - -Workflows.defaultProps = { - items: [] -}; - -export default Workflows; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/Version.js b/workflow-designer-ui/src/main/frontend/src/features/version/Version.js deleted file mode 100644 index 5df68759..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/Version.js +++ /dev/null @@ -1,19 +0,0 @@ -import { connect } from 'react-redux'; -import VersionView from 'features/version/VersionView'; -import { workflowVersionFetchRequestedAction } from 'features/version/versionConstants'; - -const mapStateToProps = ({ currentVersion: { operationMode } }) => { - return { - operationMode - }; -}; - -const mapDispatchToProps = dispatch => ({ - loadSelectedVersion: payload => - dispatch(workflowVersionFetchRequestedAction(payload)) -}); - -export default connect( - mapStateToProps, - mapDispatchToProps -)(VersionView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/VersionView.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/VersionView.jsx deleted file mode 100644 index 48c671e2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/VersionView.jsx +++ /dev/null @@ -1,127 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { Route, matchPath } from 'react-router-dom'; -import { I18n } from 'react-redux-i18n'; - -import NavigationSideBar from 'shared/navigationSideBar/index'; -import VersionController from 'features/version/versionController/VersionController'; - -class VersionView extends React.Component { - componentDidMount() { - const { loadSelectedVersion, match } = this.props; - const workflowId = match.params.workflowId; - const versionId = match.params.versionId; - loadSelectedVersion({ workflowId, versionId }); - } - - onSelect = item => { - const { history, match } = this.props; - - if (!item.disabled) { - history.push( - item.path === '/' ? match.url : `${match.url}${item.path}` - ); - } - }; - - getGroups = () => { - const { routes } = this.props; - - const items = routes.map(route => { - return route.i18nName - ? { - ...route, - name: I18n.t(route.i18nName) - } - : route; - }); - - return [ - { - id: 'WORKFLOW', - items - } - ]; - }; - - getActiveItemIdProps = () => { - const { location, routes, match } = this.props; - - const activeItem = routes.find(route => - matchPath(location.pathname, { - path: `${match.path}${route.path}`, - exact: true, - strict: false - }) - ); - - return activeItem && activeItem.id; - }; - - render() { - const { match, routes, history, operationMode } = this.props; - - const groups = this.getGroups(); - const activeItemId = this.getActiveItemIdProps(); - - return ( - <div className="version-wrapper"> - <VersionController - operationMode={operationMode} - history={history} - match={match} - key="versionControllerView" - /> - - <div - className={`${operationMode ? '' : 'workflow-view'}`} - key="workflowView"> - {!operationMode && ( - <div className="workflow-navigation-side-bar"> - <NavigationSideBar - groups={groups} - activeItemId={activeItemId} - onSelect={this.onSelect} - /> - </div> - )} - {routes.map((route, i) => ( - <Route - key={`Version.route.${i}`} - exact={route.exact} - path={`${match.url}${route.path}`} - component={route.component} - /> - ))} - </div> - </div> - ); - } -} - -VersionView.propTypes = { - history: PropTypes.object, - location: PropTypes.object, - match: PropTypes.object, - routes: PropTypes.array, - loadSelectedVersion: PropTypes.func, - operationMode: PropTypes.bool -}; - -export default VersionView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/Composition.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/Composition.js deleted file mode 100644 index 97697c70..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/Composition.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { connect } from 'react-redux'; -import { I18n } from 'react-redux-i18n'; -import { updateComposition, updateValidation } from './compositionActions'; -import CompositionView from './CompositionView'; -import { showErrorModalAction } from '../../../shared/modal/modalWrapperActions'; -import { getComposition, getErrors } from './compositionSelectors'; -import { getWorkflowName } from '../../workflow/workflowSelectors'; -import { activitiesSelector } from 'features/activities/activitiesSelectors'; -import { getInputOutputForComposition } from 'features/version/inputOutput/inputOutputSelectors'; -import { getVersionInfo } from 'features/version/general/generalSelectors'; -import { getIsCertified } from 'features/version/general/generalSelectors'; -import { isWorkflowArchive } from 'features/workflow/workflowSelectors'; - -function mapStateToProps(state) { - return { - composition: getComposition(state), - name: getWorkflowName(state), - versionName: getVersionInfo(state).name, - activities: activitiesSelector(state), - inputOutput: getInputOutputForComposition(state), - errors: getErrors(state), - isReadOnly: getIsCertified(state) || isWorkflowArchive(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - compositionUpdate: composition => - dispatch(updateComposition(composition)), - showErrorModal: msg => - dispatch( - showErrorModalAction({ - title: I18n.t('workflow.composition.bpmnError'), - body: msg, - withButtons: true, - closeButtonText: I18n.t('buttons.okBtn') - }) - ), - validationUpdate: (element, isValid) => - dispatch(updateValidation({ element, isValid })) - }; -} - -export default connect( - mapStateToProps, - mapDispatchToProps -)(CompositionView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionUpdate.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionUpdate.js deleted file mode 100644 index e5756eb5..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionUpdate.js +++ /dev/null @@ -1,131 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; - -import CustomModeler from 'features/version/composition/custom-modeler'; -import camundaModuleDescriptor from 'features/version/composition/custom-properties-provider/descriptors/camunda'; -import { setElementInputsOutputs } from 'features/version/composition/bpmnUtils.js'; - -import { connect } from 'react-redux'; -import { updateComposition } from 'features/version/composition/compositionActions'; -import { showErrorModalAction } from 'shared/modal/modalWrapperActions'; -import { getComposition } from 'features/version/composition/compositionSelectors'; -import { getWorkflowName } from 'features/workflow/workflowSelectors'; -import { activitiesSelector } from 'features/activities/activitiesSelectors'; -import { getInputOutputForComposition } from 'features/version/inputOutput/inputOutputSelectors'; - -class CompositionUpdate extends Component { - static propTypes = { - compositionUpdate: PropTypes.func, - showErrorModal: PropTypes.func, - composition: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), - inputOutput: PropTypes.object, - activities: PropTypes.object, - certifyBack: PropTypes.func - }; - - constructor(props) { - super(props); - this.generatedId = 'bpmn-container' + Date.now(); - this.fileInput = React.createRef(); - this.bpmnContainer = React.createRef(); - } - - componentDidMount() { - const { composition, activities, inputOutput } = this.props; - - this.modeler = new CustomModeler({ - moddleExtensions: { - camunda: camundaModuleDescriptor - }, - workflow: { - activities: activities, - workflowInputOutput: inputOutput - } - }); - - this.setDiagramToBPMN(composition); - } - - setDiagramToBPMN = diagram => { - let modeler = this.modeler; - this.modeler.importXML(diagram, err => { - if (err) { - return this.props.showErrorModal( - I18n.t('workflow.composition.importErrorMsg') - ); - } - const canvas = modeler.get('canvas'); - const { businessObject } = canvas._rootElement; - - setElementInputsOutputs( - businessObject, - this.props.inputOutput, - this.modeler.get('moddle') - ); - - this.exportDiagramToStore(); - }); - }; - - exportDiagramToStore = () => { - this.modeler.saveXML({ format: true }, (err, xml) => { - if (err) { - return this.props.showErrorModal( - I18n.t('workflow.composition.saveErrorMsg') - ); - } - this.props.compositionUpdate(xml); - this.props.certifyBack(); - }); - }; - - render() { - return <div />; - } -} - -function mapStateToProps(state) { - return { - composition: getComposition(state), - name: getWorkflowName(state), - activities: activitiesSelector(state), - inputOutput: getInputOutputForComposition(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - compositionUpdate: composition => - dispatch(updateComposition(composition)), - showErrorModal: msg => - dispatch( - showErrorModalAction({ - title: I18n.t('workflow.composition.bpmnError'), - body: msg, - withButtons: true, - closeButtonText: I18n.t('buttons.okBtn') - }) - ) - }; -} - -export default connect( - mapStateToProps, - mapDispatchToProps -)(CompositionUpdate); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionView.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionView.js deleted file mode 100644 index e444d98c..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/CompositionView.js +++ /dev/null @@ -1,284 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import fileSaver from 'file-saver'; -import isEqual from 'lodash.isequal'; -import PropTypes from 'prop-types'; -import propertiesPanelModule from 'bpmn-js-properties-panel'; -import { I18n } from 'react-redux-i18n'; - -import CustomModeler from './custom-modeler'; -import propertiesProviderModule from './custom-properties-provider/provider/camunda'; -import camundaModuleDescriptor from './custom-properties-provider/descriptors/camunda'; -import newDiagramXML from './newDiagram.bpmn'; -import CompositionButtons from './components/CompositionButtonsPanel'; -import { setElementInputsOutputs } from './bpmnUtils.js'; -import { - PROCESS_DEFAULT_ID, - COMPOSITION_ERROR_COLOR, - COMPOSITION_VALID_COLOR, - CAMUNDA_PANEL_INPUTS_NAMES -} from './compositionConstants'; -import readOnly from './readOnly'; - -function setStatusToElement(type, status, parent) { - let elements = parent.getElementsByTagName(type); - for (let item of elements) { - if (item.name !== 'selectedExtensionElement') { - item.readOnly = status; - item.disabled = status; - } - } -} - -function disablePanelInputs(status) { - let panel = document.getElementById('js-properties-panel'); - - if (panel) { - setStatusToElement('input', status, panel); - setStatusToElement('button', status, panel); - setStatusToElement('select', status, panel); - - //distinguish editable and clickable fields using attr and style - CAMUNDA_PANEL_INPUTS_NAMES.map(name => { - const div = document.getElementById(name); - if (div) { - div.setAttribute('editable-readonly', !status); - } - }); - } -} -class CompositionView extends Component { - static propTypes = { - compositionUpdate: PropTypes.func, - showErrorModal: PropTypes.func, - composition: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), - name: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), - versionName: PropTypes.string, - inputOutput: PropTypes.object, - activities: PropTypes.array, - validationUpdate: PropTypes.func, - errors: PropTypes.array, - isReadOnly: PropTypes.bool - }; - - constructor(props) { - super(props); - this.generatedId = 'bpmn-container' + Date.now(); - this.fileInput = React.createRef(); - this.bpmnContainer = React.createRef(); - this.versionChanged = false; - } - componentDidUpdate(prevProps) { - const { errors, isReadOnly, versionName, composition } = this.props; - if (!isEqual(prevProps.errors, errors)) { - errors.map(item => { - this.modeling.setColor([item.element], { - fill: item.isValid - ? COMPOSITION_VALID_COLOR - : COMPOSITION_ERROR_COLOR - }); - }); - } - if (prevProps.isReadOnly !== isReadOnly) { - this.modeler.get('readOnly').readOnly(isReadOnly); - disablePanelInputs(isReadOnly); - } - - if (prevProps.versionName !== versionName) { - this.versionChanged = true; - } - if ( - !isEqual(prevProps.composition, composition) && - this.versionChanged - ) { - this.setDiagramToBPMN(composition); - this.versionChanged = false; - } - } - componentDidMount() { - const { - composition, - activities, - inputOutput, - validationUpdate, - isReadOnly - } = this.props; - - const readOnlyModule = { - __init__: ['readOnly'], - readOnly: ['type', readOnly] - }; - this.modeler = new CustomModeler({ - propertiesPanel: { - parent: '#js-properties-panel' - }, - additionalModules: [ - propertiesPanelModule, - propertiesProviderModule, - readOnlyModule - ], - moddleExtensions: { - camunda: camundaModuleDescriptor - }, - workflow: { - activities: activities, - getActivityInputsOutputs: this.getActivityInputsOutputs, - workflowInputOutput: inputOutput, - validationUpdate: validationUpdate - } - }); - - this.modeler.attachTo('#' + this.generatedId); - this.setDiagramToBPMN(composition); - this.modeler.on('element.out', () => this.exportDiagramToStore()); - this.modeler.on('element.click', this.handleCompositionStatus); - this.modeler.on( - 'propertiesPanel.changed', - this.handleCompositionStatus - ); - this.modeling = this.modeler.get('modeling'); - this.modeler.get('readOnly').readOnly(isReadOnly); - } - handleCompositionStatus = () => { - disablePanelInputs(this.props.isReadOnly); - }; - getActivityInputsOutputs = selectedValue => { - const selectedActivity = this.props.activities.find( - el => el.name === selectedValue - ); - - if (selectedActivity) { - const inputsOutputs = { - inputs: selectedActivity.inputs, - outputs: selectedActivity.outputs - }; - return inputsOutputs; - } else return { inputs: [], outputs: [] }; - }; - - setDiagramToBPMN = diagram => { - let modeler = this.modeler; - this.modeler.importXML(diagram, err => { - if (err) { - return this.props.showErrorModal( - I18n.t('workflow.composition.importErrorMsg') - ); - } - const canvas = modeler.get('canvas'); - canvas.zoom('fit-viewport'); - const { businessObject } = canvas._rootElement; - - this.setDefaultIdAndName(businessObject); - setElementInputsOutputs( - businessObject, - this.props.inputOutput, - this.modeler.get('moddle') - ); - disablePanelInputs(this.props.isReadOnly); - }); - }; - setDefaultIdAndName = businessObject => { - const { name = '' } = this.props; - if (!businessObject.name) { - businessObject.name = name; - } - - if (businessObject.id === PROCESS_DEFAULT_ID || !businessObject.id) { - businessObject.id = name.toLowerCase().replace(/\s/g, '_'); - } - }; - exportDiagramToStore = () => { - this.modeler.saveXML({ format: true }, (err, xml) => { - if (err) { - return this.props.showErrorModal( - I18n.t('workflow.composition.saveErrorMsg') - ); - } - return this.props.compositionUpdate(xml); - }); - }; - - exportDiagram = () => { - const { name, showErrorModal, versionName } = this.props; - this.modeler.saveXML({ format: true }, (err, xml) => { - if (err) { - return showErrorModal( - I18n.t('workflow.composition.exportErrorMsg') - ); - } - const blob = new Blob([xml], { type: 'text/html;charset=utf-8' }); - fileSaver.saveAs( - blob, - `${name.replace(/\s/g, '').toLowerCase()}-${versionName}.bpmn` - ); - }); - }; - - loadNewDiagram = () => { - this.setDiagramToBPMN(newDiagramXML); - }; - - uploadDiagram = () => { - this.fileInput.current.click(); - }; - - handleFileInputChange = filesList => { - const file = filesList[0]; - const reader = new FileReader(); - reader.onloadend = event => { - var xml = event.target.result; - this.setDiagramToBPMN(xml); - this.fileInput.value = ''; - }; - reader.readAsText(file); - }; - - render() { - return ( - <div className="composition-view content"> - <input - ref={this.fileInput} - onChange={e => this.handleFileInputChange(e.target.files)} - id="file-input" - accept=".bpmn, .xml" - type="file" - name="file-input" - style={{ display: 'none' }} - /> - <div - ref={this.bpmnContainer} - className="bpmn-container" - id={this.generatedId} - /> - <div className="bpmn-sidebar"> - <div - className="properties-panel" - id="js-properties-panel" - /> - <CompositionButtons - isReadOnly={this.props.isReadOnly} - onClean={this.loadNewDiagram} - onDownload={this.exportDiagram} - onUpload={this.uploadDiagram} - /> - </div> - </div> - ); - } -} - -export default CompositionView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/bpmnUtils.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/bpmnUtils.js deleted file mode 100644 index ada2bdc4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/bpmnUtils.js +++ /dev/null @@ -1,93 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { bpmnElementsTypes } from './compositionConstants'; -function getExtension(element, type) { - if (!element.extensionElements || !element.extensionElements.values) { - return null; - } - - return element.extensionElements.values.filter(function(e) { - return e.$instanceOf(type); - })[0]; -} - -export function updatedData(moddle, inputData, existingArray, type, parent) { - return inputData.map(item => { - const existingInput = existingArray.find(el => el.name === item.name); - const updatedElement = moddle.create( - type, - existingInput ? { ...item, value: existingInput.value } : item - ); - updatedElement.$parent = parent; - return updatedElement; - }); -} - -export function setElementInputsOutputs( - businessObject, - inputOutput, - moddle, - cleanInputsOutpus -) { - const { inputs = [], outputs = [] } = inputOutput; - - if (!businessObject.extensionElements) { - businessObject.extensionElements = moddle.create( - bpmnElementsTypes.EXTENSION_ElEMENTS - ); - businessObject.extensionElements.$parent = businessObject.id; - } - - const existingInputOutput = getExtension( - businessObject, - bpmnElementsTypes.INPUT_OUTPUT - ); - - const processInputs = updatedData( - moddle, - inputs, - cleanInputsOutpus - ? [] - : (existingInputOutput && existingInputOutput.inputParameters) || - [], - bpmnElementsTypes.INPUT_PARAMETER, - businessObject.id - ); - - const processOutputs = updatedData( - moddle, - outputs, - cleanInputsOutpus - ? [] - : (existingInputOutput && existingInputOutput.outputParameters) || - [], - bpmnElementsTypes.OUTPUT_PARAMETER, - businessObject.id - ); - - const processInputOutput = moddle.create(bpmnElementsTypes.INPUT_OUTPUT); - processInputOutput.$parent = businessObject.id; - processInputOutput.inputParameters = [...processInputs]; - processInputOutput.outputParameters = [...processOutputs]; - - const extensionElements = businessObject.extensionElements.get('values'); - businessObject.extensionElements.set( - 'values', - extensionElements - .filter(item => item.$type !== bpmnElementsTypes.INPUT_OUTPUT) - .concat(processInputOutput) - ); -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButton.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButton.js deleted file mode 100644 index 62500d25..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButton.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import { SVGIcon } from 'onap-ui-react'; - -const CompositionButton = ({ onClick, name, title, disabled }) => ( - <div - onClick={disabled ? () => {} : onClick} - className={`diagram-btn ${disabled ? 'disabled' : ''}`}> - <SVGIcon title={title} name={name} /> - </div> -); - -CompositionButton.propTypes = { - onClick: PropTypes.func, - className: PropTypes.string, - name: PropTypes.string, - title: PropTypes.string, - disabled: PropTypes.bool -}; - -export default CompositionButton; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButtonsPanel.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButtonsPanel.js deleted file mode 100644 index 0292fd4e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/components/CompositionButtonsPanel.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import CompositionButton from './CompositionButton'; - -const Divider = () => <div className="divider" />; - -const CompositionButtons = ({ onClean, onUpload, onDownload, isReadOnly }) => ( - <div className="composition-buttons"> - <CompositionButton - disabled={isReadOnly} - data-test-id="composition-clear-btn" - onClick={onClean} - name="trashO" - title="clear" - /> - - <Divider /> - <CompositionButton - data-test-id="composition-download-btn" - onClick={onDownload} - name="download" - title="download" - /> - <Divider /> - <CompositionButton - disabled={isReadOnly} - data-test-id="composition-download-upload" - onClick={onUpload} - name="upload" - title="upload" - /> - </div> -); - -CompositionButtons.propTypes = { - onClean: PropTypes.func, - onUpload: PropTypes.func, - onDownload: PropTypes.func, - isReadOnly: PropTypes.bool -}; -export default CompositionButtons; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionActions.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionActions.js deleted file mode 100644 index fe74ba0d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionActions.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { - SET_COMPOSITION, - UPDATE_ERRORS, - DELETE_COMPOSITION -} from './compositionConstants'; - -export const updateComposition = payload => ({ - type: SET_COMPOSITION, - payload -}); - -export const deleteCompositionArtifact = () => ({ - type: DELETE_COMPOSITION -}); - -export const updateValidation = payload => ({ - type: UPDATE_ERRORS, - payload -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionConstants.js deleted file mode 100644 index 1db40210..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionConstants.js +++ /dev/null @@ -1,38 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const SET_COMPOSITION = 'composition/SET_COMPOSITION'; -export const DELETE_COMPOSITION = 'composition/DELETE_COMPOSITION'; -export const UPDATE_ERRORS = 'composition/UPDATE_ERRORS'; - -export const bpmnElementsTypes = { - EXTENSION_ElEMENTS: 'bpmn:ExtensionElements', - INPUT_OUTPUT: 'camunda:InputOutput', - INPUT_PARAMETER: 'camunda:InputParameter', - OUTPUT_PARAMETER: 'camunda:OutputParameter' -}; - -export const PROCESS_DEFAULT_ID = 'Process_1'; - -export const COMPOSITION_ERROR_COLOR = '#f0c2c2'; -export const COMPOSITION_VALID_COLOR = 'white'; - -//list of field ids (contenteditable) that has separate treatment -export const CAMUNDA_PANEL_INPUTS_NAMES = [ - 'camunda-parameterType-text', - 'camunda-documentation', - 'camunda-name', - 'camunda-listener-field-value' -]; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js deleted file mode 100644 index 9deb9cbd..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { SET_COMPOSITION, DELETE_COMPOSITION } from './compositionConstants'; -import { UPDATE_ERRORS } from './compositionConstants'; -import newDiagramXML from './newDiagram.bpmn'; - -export default (state = { diagram: newDiagramXML, errors: [] }, action) => { - switch (action.type) { - case SET_COMPOSITION: - return { - ...state, - diagram: action.payload - }; - case DELETE_COMPOSITION: - return { - ...state, - diagram: newDiagramXML - }; - case UPDATE_ERRORS: { - const filteredErrors = state.errors.filter( - item => item.element.id !== action.payload.element.id - ); - return { - ...state, - errors: [...filteredErrors, action.payload] - }; - } - default: - return state; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionSelectors.js deleted file mode 100644 index e6b51f1a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionSelectors.js +++ /dev/null @@ -1,32 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const getComposition = state => - state && state.currentVersion && state.currentVersion.composition.diagram; - -export const getCompositionHasErrors = state => - state && - state.currentVersion && - state.currentVersion.composition && - state.currentVersion.composition.errors && - Boolean( - state.currentVersion.composition.errors.find(item => !item.isValid) - ); - -export const getErrors = state => - state && - state.currentVersion && - state.currentVersion.composition && - state.currentVersion.composition.errors; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomContextPadProvider.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomContextPadProvider.js deleted file mode 100644 index 0f2ba528..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomContextPadProvider.js +++ /dev/null @@ -1,43 +0,0 @@ -import inherits from 'inherits';
-
-import ContextPadProvider from 'bpmn-js/lib/features/context-pad/ContextPadProvider';
-
-import { isAny } from 'bpmn-js/lib/features/modeling/util/ModelingUtil';
-
-import { assign, bind } from 'min-dash';
-
-export default function CustomContextPadProvider(injector, connect, translate) {
- injector.invoke(ContextPadProvider, this);
-
- var cached = bind(this.getContextPadEntries, this);
-
- this.getContextPadEntries = function(element) {
- var actions = cached(element);
-
- var businessObject = element.businessObject;
-
- function startConnect(event, element, autoActivate) {
- connect.start(event, element, autoActivate);
- }
-
- if (isAny(businessObject, ['custom:triangle', 'custom:circle'])) {
- assign(actions, {
- connect: {
- group: 'connect',
- className: 'bpmn-icon-connection-multi',
- title: translate('Connect using custom connection'),
- action: {
- click: startConnect,
- dragstart: startConnect
- }
- }
- });
- }
-
- return actions;
- };
-}
-
-inherits(CustomContextPadProvider, ContextPadProvider);
-
-CustomContextPadProvider.$inject = ['injector', 'connect', 'translate'];
diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomElementFactory.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomElementFactory.js deleted file mode 100644 index 01d4d278..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomElementFactory.js +++ /dev/null @@ -1,101 +0,0 @@ -import { assign } from 'min-dash'; - -import inherits from 'inherits'; - -import BpmnElementFactory from 'bpmn-js/lib/features/modeling/ElementFactory'; -import { DEFAULT_LABEL_SIZE } from 'bpmn-js/lib/util/LabelUtil'; - -/** - * A custom factory that knows how to create BPMN _and_ custom elements. - */ -export default function CustomElementFactory(bpmnFactory, moddle) { - BpmnElementFactory.call(this, bpmnFactory, moddle); - - var self = this; - - /** - * Create a diagram-js element with the given type (any of shape, connection, label). - * - * @param {String} elementType - * @param {Object} attrs - * - * @return {djs.model.Base} - */ - this.create = function(elementType, attrs) { - var type = attrs.type; - - if (elementType === 'label') { - return self.baseCreate( - elementType, - assign({ type: 'label' }, DEFAULT_LABEL_SIZE, attrs) - ); - } - - // add type to businessObject if custom - if (/^custom:/.test(type)) { - if (!attrs.businessObject) { - attrs.businessObject = { - type: type - }; - - if (attrs.id) { - assign(attrs.businessObject, { - id: attrs.id - }); - } - } - - // add width and height if shape - if (!/:connection$/.test(type)) { - assign(attrs, self._getCustomElementSize(type)); - } - - if (!('$instanceOf' in attrs.businessObject)) { - // ensure we can use ModelUtil#is for type checks - Object.defineProperty(attrs.businessObject, '$instanceOf', { - value: function(type) { - return this.type === type; - } - }); - } - - return self.baseCreate(elementType, attrs); - } - - return self.createBpmnElement(elementType, attrs); - }; -} - -inherits(CustomElementFactory, BpmnElementFactory); - -CustomElementFactory.$inject = ['bpmnFactory', 'moddle']; - -/** - * Returns the default size of custom shapes. - * - * The following example shows an interface on how - * to setup the custom shapes's dimensions. - * - * @example - * - * var shapes = { - * triangle: { width: 40, height: 40 }, - * rectangle: { width: 100, height: 20 } - * }; - * - * return shapes[type]; - * - * - * @param {String} type - * - * @return {Dimensions} a {width, height} object representing the size of the element - */ -CustomElementFactory.prototype._getCustomElementSize = function(type) { - var shapes = { - __default: { width: 100, height: 80 }, - 'custom:triangle': { width: 40, height: 40 }, - 'custom:circle': { width: 140, height: 140 } - }; - - return shapes[type] || shapes.__default; -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomPalette.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomPalette.js deleted file mode 100644 index a8adb2fd..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomPalette.js +++ /dev/null @@ -1,151 +0,0 @@ -import { assign } from 'min-dash'; - -/** - * A palette that allows you to create BPMN _and_ custom elements. - */ -export default function PaletteProvider( - palette, - create, - elementFactory, - spaceTool, - lassoTool, - handTool, - globalConnect, - translate -) { - this._create = create; - this._elementFactory = elementFactory; - this._spaceTool = spaceTool; - this._lassoTool = lassoTool; - this._handTool = handTool; - this._globalConnect = globalConnect; - this._translate = translate; - - palette.registerProvider(this); -} - -PaletteProvider.$inject = [ - 'palette', - 'create', - 'elementFactory', - 'spaceTool', - 'lassoTool', - 'handTool', - 'globalConnect', - 'translate' -]; - -PaletteProvider.prototype.getPaletteEntries = function() { - var actions = {}, - create = this._create, - elementFactory = this._elementFactory, - spaceTool = this._spaceTool, - lassoTool = this._lassoTool, - handTool = this._handTool, - globalConnect = this._globalConnect, - translate = this._translate; - - function createAction(type, group, className, title, options) { - function createListener(event) { - var shape = elementFactory.createShape( - assign({ type: type }, options) - ); - - if (options) { - shape.businessObject.di.isExpanded = options.isExpanded; - } - - create.start(event, shape); - } - - var shortType = type.replace(/^bpmn:/, ''); - - return { - group: group, - className: className, - title: title || 'Create ' + shortType, - action: { - dragstart: createListener, - click: createListener - } - }; - } - - assign(actions, { - 'hand-tool': { - group: 'tools', - className: 'bpmn-icon-hand-tool', - title: translate('Activate the hand tool'), - action: { - click: function(event) { - handTool.activateHand(event); - } - } - }, - 'lasso-tool': { - group: 'tools', - className: 'bpmn-icon-lasso-tool', - title: translate('Activate the lasso tool'), - action: { - click: function(event) { - lassoTool.activateSelection(event); - } - } - }, - 'space-tool': { - group: 'tools', - className: 'bpmn-icon-space-tool', - title: translate('Activate the create/remove space tool'), - action: { - click: function(event) { - spaceTool.activateSelection(event); - } - } - }, - 'global-connect-tool': { - group: 'tools', - className: 'bpmn-icon-connection-multi', - title: translate('Activate the global connect tool'), - action: { - click: function(event) { - globalConnect.toggle(event); - } - } - }, - 'tool-separator': { - group: 'tools', - separator: true - }, - 'create.start-event': createAction( - 'bpmn:StartEvent', - 'event', - 'bpmn-icon-start-event-none' - ), - 'create.intermediate-event': createAction( - 'bpmn:IntermediateThrowEvent', - 'event', - 'bpmn-icon-intermediate-event-none', - translate('Create Intermediate/Boundary Event') - ), - 'create.end-event': createAction( - 'bpmn:EndEvent', - 'event', - 'bpmn-icon-end-event-none' - ), - 'create.exclusive-gateway': createAction( - 'bpmn:ExclusiveGateway', - 'gateway', - 'bpmn-icon-gateway-none', - translate('Create Gateway') - ), - 'create.task': createAction('bpmn:Task', 'activity', 'bpmn-icon-task'), - 'create.subprocess-expanded': createAction( - 'bpmn:SubProcess', - 'activity', - 'bpmn-icon-subprocess-expanded', - translate('Create expanded SubProcess'), - { isExpanded: true } - ) - }); - return actions; -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRenderer.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRenderer.js deleted file mode 100644 index f397fed9..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRenderer.js +++ /dev/null @@ -1,176 +0,0 @@ -import inherits from 'inherits'; - -import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer'; - -import { componentsToPath, createLine } from 'diagram-js/lib/util/RenderUtil'; - -import { - append as svgAppend, - attr as svgAttr, - create as svgCreate -} from 'tiny-svg'; - -/** - * A renderer that knows how to render custom elements. - */ -export default function CustomRenderer(eventBus, styles) { - BaseRenderer.call(this, eventBus, 2000); - - var computeStyle = styles.computeStyle; - - this.drawTriangle = function(p, side) { - var halfSide = side / 2, - points, - attrs; - - points = [halfSide, 0, side, side, 0, side]; - - attrs = computeStyle(attrs, { - stroke: '#3CAA82', - strokeWidth: 2, - fill: '#3CAA82' - }); - - var polygon = svgCreate('polygon'); - - svgAttr(polygon, { - points: points - }); - - svgAttr(polygon, attrs); - - svgAppend(p, polygon); - - return polygon; - }; - - this.getTrianglePath = function(element) { - var x = element.x, - y = element.y, - width = element.width, - height = element.height; - - var trianglePath = [ - ['M', x + width / 2, y], - ['l', width / 2, height], - ['l', -width, 0], - ['z'] - ]; - - return componentsToPath(trianglePath); - }; - - this.drawCircle = function(p, width, height) { - var cx = width / 2, - cy = height / 2; - - var attrs = computeStyle(attrs, { - stroke: '#4488aa', - strokeWidth: 4, - fill: 'white' - }); - - var circle = svgCreate('circle'); - - svgAttr(circle, { - cx: cx, - cy: cy, - r: Math.round((width + height) / 4) - }); - - svgAttr(circle, attrs); - - svgAppend(p, circle); - - return circle; - }; - - this.getCirclePath = function(shape) { - var cx = shape.x + shape.width / 2, - cy = shape.y + shape.height / 2, - radius = shape.width / 2; - - var circlePath = [ - ['M', cx, cy], - ['m', 0, -radius], - ['a', radius, radius, 0, 1, 1, 0, 2 * radius], - ['a', radius, radius, 0, 1, 1, 0, -2 * radius], - ['z'] - ]; - - return componentsToPath(circlePath); - }; - - this.drawCustomConnection = function(p, element) { - var attrs = computeStyle(attrs, { - stroke: '#ff471a', - strokeWidth: 2 - }); - - return svgAppend(p, createLine(element.waypoints, attrs)); - }; - - this.getCustomConnectionPath = function(connection) { - var waypoints = connection.waypoints.map(function(p) { - return p.original || p; - }); - - var connectionPath = [['M', waypoints[0].x, waypoints[0].y]]; - - waypoints.forEach(function(waypoint, index) { - if (index !== 0) { - connectionPath.push(['L', waypoint.x, waypoint.y]); - } - }); - - return componentsToPath(connectionPath); - }; -} - -inherits(CustomRenderer, BaseRenderer); - -CustomRenderer.$inject = ['eventBus', 'styles']; - -CustomRenderer.prototype.canRender = function(element) { - return /^custom:/.test(element.type); -}; - -CustomRenderer.prototype.drawShape = function(p, element) { - var type = element.type; - - if (type === 'custom:triangle') { - return this.drawTriangle(p, element.width); - } - - if (type === 'custom:circle') { - return this.drawCircle(p, element.width, element.height); - } -}; - -CustomRenderer.prototype.getShapePath = function(shape) { - var type = shape.type; - - if (type === 'custom:triangle') { - return this.getTrianglePath(shape); - } - - if (type === 'custom:circle') { - return this.getCirclePath(shape); - } -}; - -CustomRenderer.prototype.drawConnection = function(p, element) { - var type = element.type; - - if (type === 'custom:connection') { - return this.drawCustomConnection(p, element); - } -}; - -CustomRenderer.prototype.getConnectionPath = function(connection) { - var type = connection.type; - - if (type === 'custom:connection') { - return this.getCustomConnectionPath(connection); - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRules.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRules.js deleted file mode 100644 index 1dce143d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomRules.js +++ /dev/null @@ -1,136 +0,0 @@ -import { reduce } from 'min-dash'; - -import inherits from 'inherits'; - -import { is } from 'bpmn-js/lib/util/ModelUtil'; - -import RuleProvider from 'diagram-js/lib/features/rules/RuleProvider'; - -var HIGH_PRIORITY = 1500; - -function isCustom(element) { - return element && /^custom:/.test(element.type); -} - -/** - * Specific rules for custom elements - */ -export default function CustomRules(eventBus) { - RuleProvider.call(this, eventBus); -} - -inherits(CustomRules, RuleProvider); - -CustomRules.$inject = ['eventBus']; - -CustomRules.prototype.init = function() { - /** - * Can shape be created on target container? - */ - function canCreate(shape, target) { - // only judge about custom elements - if (!isCustom(shape)) { - return; - } - - // allow creation on processes - return ( - is(target, 'bpmn:Process') || - is(target, 'bpmn:Participant') || - is(target, 'bpmn:Collaboration') - ); - } - - /** - * Can source and target be connected? - */ - function canConnect(source, target) { - // only judge about custom elements - if (!isCustom(source) && !isCustom(target)) { - return; - } - - // allow connection between custom shape and task - if (isCustom(source)) { - if (is(target, 'bpmn:Task')) { - return { type: 'custom:connection' }; - } else { - return false; - } - } else if (isCustom(target)) { - if (is(source, 'bpmn:Task')) { - return { type: 'custom:connection' }; - } else { - return false; - } - } - } - - this.addRule('elements.move', HIGH_PRIORITY, function(context) { - var target = context.target, - shapes = context.shapes; - - var type; - - // do not allow mixed movements of custom / BPMN shapes - // if any shape cannot be moved, the group cannot be moved, too - var allowed = reduce( - shapes, - function(result, s) { - if (type === undefined) { - type = isCustom(s); - } - - if (type !== isCustom(s) || result === false) { - return false; - } - - return canCreate(s, target); - }, - undefined - ); - - // reject, if we have at least one - // custom element that cannot be moved - return allowed; - }); - - this.addRule('shape.create', HIGH_PRIORITY, function(context) { - var target = context.target, - shape = context.shape; - - return canCreate(shape, target); - }); - - this.addRule('shape.resize', HIGH_PRIORITY, function(context) { - var shape = context.shape; - - if (isCustom(shape)) { - // cannot resize custom elements - return false; - } - }); - - this.addRule('connection.create', HIGH_PRIORITY, function(context) { - var source = context.source, - target = context.target; - - return canConnect(source, target); - }); - - this.addRule('connection.reconnectStart', HIGH_PRIORITY, function(context) { - var connection = context.connection, - source = context.hover || context.source, - target = connection.target; - - return canConnect(source, target, connection); - }); - - this.addRule('connection.reconnectEnd', HIGH_PRIORITY, function(context) { - var connection = context.connection, - source = connection.source, - target = context.hover || context.target; - - return canConnect(source, target, connection); - }); -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomUpdater.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomUpdater.js deleted file mode 100644 index 532c24f3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/CustomUpdater.js +++ /dev/null @@ -1,136 +0,0 @@ -import inherits from 'inherits'; - -import { pick, assign } from 'min-dash'; - -import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; - -import { - add as collectionAdd, - remove as collectionRemove -} from 'diagram-js/lib/util/Collections'; - -/** - * A handler responsible for updating the custom element's businessObject - * once changes on the diagram happen. - */ -export default function CustomUpdater(eventBus, bpmnjs) { - CommandInterceptor.call(this, eventBus); - - function updateCustomElement(e) { - var context = e.context, - shape = context.shape, - businessObject = shape.businessObject; - - if (!isCustom(shape)) { - return; - } - - var parent = shape.parent; - - var customElements = bpmnjs._customElements; - - // make sure element is added / removed from bpmnjs.customElements - if (!parent) { - collectionRemove(customElements, businessObject); - } else { - collectionAdd(customElements, businessObject); - } - - // save custom element position - assign(businessObject, pick(shape, ['x', 'y'])); - } - - function updateCustomConnection(e) { - var context = e.context, - connection = context.connection, - source = connection.source, - target = connection.target, - businessObject = connection.businessObject; - - var parent = connection.parent; - - var customElements = bpmnjs._customElements; - - // make sure element is added / removed from bpmnjs.customElements - if (!parent) { - collectionRemove(customElements, businessObject); - } else { - collectionAdd(customElements, businessObject); - } - - // update waypoints - assign(businessObject, { - waypoints: copyWaypoints(connection) - }); - - if (source && target) { - assign(businessObject, { - source: source.id, - target: target.id - }); - } - } - - this.executed( - ['shape.create', 'shape.move', 'shape.delete'], - ifCustomElement(updateCustomElement) - ); - - this.reverted( - ['shape.create', 'shape.move', 'shape.delete'], - ifCustomElement(updateCustomElement) - ); - - this.executed( - [ - 'connection.create', - 'connection.reconnectStart', - 'connection.reconnectEnd', - 'connection.updateWaypoints', - 'connection.delete', - 'connection.layout', - 'connection.move' - ], - ifCustomElement(updateCustomConnection) - ); - - this.reverted( - [ - 'connection.create', - 'connection.reconnectStart', - 'connection.reconnectEnd', - 'connection.updateWaypoints', - 'connection.delete', - 'connection.layout', - 'connection.move' - ], - ifCustomElement(updateCustomConnection) - ); -} - -inherits(CustomUpdater, CommandInterceptor); - -CustomUpdater.$inject = ['eventBus', 'bpmnjs']; - -/////// helpers /////////////////////////////////// - -function copyWaypoints(connection) { - return connection.waypoints.map(function(p) { - return { x: p.x, y: p.y }; - }); -} - -function isCustom(element) { - return element && /custom:/.test(element.type); -} - -function ifCustomElement(fn) { - return function(event) { - var context = event.context, - element = context.shape || context.connection; - - if (isCustom(element)) { - fn(event); - } - }; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/index.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/index.js deleted file mode 100644 index f1085390..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/custom/index.js +++ /dev/null @@ -1,22 +0,0 @@ -import CustomElementFactory from './CustomElementFactory'; -import CustomRenderer from './CustomRenderer'; -import CustomPalette from './CustomPalette'; -import CustomRules from './CustomRules'; -import CustomUpdater from './CustomUpdater'; -import CustomContextPadProvider from './CustomContextPadProvider'; - -export default { - __init__: [ - 'customRenderer', - 'paletteProvider', - 'customRules', - 'customUpdater', - 'contextPadProvider' - ], - elementFactory: ['type', CustomElementFactory], - customRenderer: ['type', CustomRenderer], - paletteProvider: ['type', CustomPalette], - customRules: ['type', CustomRules], - customUpdater: ['type', CustomUpdater], - contextPadProvider: ['type', CustomContextPadProvider] -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/index.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/index.js deleted file mode 100644 index 86fbff6a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-modeler/index.js +++ /dev/null @@ -1,99 +0,0 @@ -import Modeler from 'bpmn-js/lib/Modeler'; - -import { assign, isArray } from 'min-dash'; - -import inherits from 'inherits'; - -import CustomModule from './custom'; - -export default function CustomModeler(options) { - Modeler.call(this, options); - - this._customElements = []; -} - -inherits(CustomModeler, Modeler); - -CustomModeler.prototype._modules = [].concat(CustomModeler.prototype._modules, [ - CustomModule -]); - -/** - * Add a single custom element to the underlying diagram - * - * @param {Object} customElement - */ -CustomModeler.prototype._addCustomShape = function(customElement) { - this._customElements.push(customElement); - - var canvas = this.get('canvas'), - elementFactory = this.get('elementFactory'); - - var customAttrs = assign({ businessObject: customElement }, customElement); - - var customShape = elementFactory.create('shape', customAttrs); - - return canvas.addShape(customShape); -}; - -CustomModeler.prototype._addCustomConnection = function(customElement) { - this._customElements.push(customElement); - - var canvas = this.get('canvas'), - elementFactory = this.get('elementFactory'), - elementRegistry = this.get('elementRegistry'); - - var customAttrs = assign({ businessObject: customElement }, customElement); - - var connection = elementFactory.create( - 'connection', - assign(customAttrs, { - source: elementRegistry.get(customElement.source), - target: elementRegistry.get(customElement.target) - }), - elementRegistry.get(customElement.source).parent - ); - - return canvas.addConnection(connection); -}; - -/** - * Add a number of custom elements and connections to the underlying diagram. - * - * @param {Array<Object>} customElements - */ -CustomModeler.prototype.addCustomElements = function(customElements) { - if (!isArray(customElements)) { - throw new Error('argument must be an array'); - } - - var shapes = [], - connections = []; - - customElements.forEach(function(customElement) { - if (isCustomConnection(customElement)) { - connections.push(customElement); - } else { - shapes.push(customElement); - } - }); - - // add shapes before connections so that connections - // can already rely on the shapes being part of the diagram - shapes.forEach(this._addCustomShape, this); - - connections.forEach(this._addCustomConnection, this); -}; - -/** - * Get custom elements with their current status. - * - * @return {Array<Object>} custom elements on the diagram - */ -CustomModeler.prototype.getCustomElements = function() { - return this._customElements; -}; - -function isCustomConnection(element) { - return element.type === 'custom:connection'; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/descriptors/camunda.json b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/descriptors/camunda.json deleted file mode 100644 index 6613c4bf..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/descriptors/camunda.json +++ /dev/null @@ -1,1025 +0,0 @@ -{ - "name": "Camunda", - "uri": "http://camunda.org/schema/1.0/bpmn", - "prefix": "camunda", - "xml": { - "tagAlias": "lowerCase" - }, - "associations": [], - "types": [ - { - "name": "InOutBinding", - "superClass": ["Element"], - "isAbstract": true, - "properties": [ - { - "name": "source", - "isAttr": true, - "type": "String" - }, - { - "name": "sourceExpression", - "isAttr": true, - "type": "String" - }, - { - "name": "target", - "isAttr": true, - "type": "String" - }, - { - "name": "businessKey", - "isAttr": true, - "type": "String" - }, - { - "name": "local", - "isAttr": true, - "type": "Boolean", - "default": false - }, - { - "name": "variables", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "In", - "superClass": ["InOutBinding"], - "meta": { - "allowedIn": ["bpmn:CallActivity"] - } - }, - { - "name": "Out", - "superClass": ["InOutBinding"], - "meta": { - "allowedIn": ["bpmn:CallActivity"] - } - }, - { - "name": "AsyncCapable", - "isAbstract": true, - "extends": ["bpmn:Activity", "bpmn:Gateway", "bpmn:Event"], - "properties": [ - { - "name": "async", - "isAttr": true, - "type": "Boolean", - "default": false - }, - { - "name": "asyncBefore", - "isAttr": true, - "type": "Boolean", - "default": false - }, - { - "name": "asyncAfter", - "isAttr": true, - "type": "Boolean", - "default": false - }, - { - "name": "exclusive", - "isAttr": true, - "type": "Boolean", - "default": true - } - ] - }, - { - "name": "JobPriorized", - "isAbstract": true, - "extends": ["bpmn:Process", "camunda:AsyncCapable"], - "properties": [ - { - "name": "jobPriority", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "SignalEventDefinition", - "isAbstract": true, - "extends": ["bpmn:SignalEventDefinition"], - "properties": [ - { - "name": "async", - "isAttr": true, - "type": "Boolean", - "default": false - } - ] - }, - { - "name": "ErrorEventDefinition", - "isAbstract": true, - "extends": ["bpmn:ErrorEventDefinition"], - "properties": [ - { - "name": "errorCodeVariable", - "isAttr": true, - "type": "String" - }, - { - "name": "errorMessageVariable", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "PotentialStarter", - "superClass": ["Element"], - "properties": [ - { - "name": "resourceAssignmentExpression", - "type": "bpmn:ResourceAssignmentExpression" - } - ] - }, - { - "name": "FormSupported", - "isAbstract": true, - "extends": ["bpmn:StartEvent", "bpmn:UserTask"], - "properties": [ - { - "name": "formHandlerClass", - "isAttr": true, - "type": "String" - }, - { - "name": "formKey", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "TemplateSupported", - "isAbstract": true, - "extends": ["bpmn:Process", "bpmn:FlowElement"], - "properties": [ - { - "name": "modelerTemplate", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "Initiator", - "isAbstract": true, - "extends": ["bpmn:StartEvent"], - "properties": [ - { - "name": "initiator", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "ScriptTask", - "isAbstract": true, - "extends": ["bpmn:ScriptTask"], - "properties": [ - { - "name": "resultVariable", - "isAttr": true, - "type": "String" - }, - { - "name": "resource", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "Process", - "isAbstract": true, - "extends": ["bpmn:Process"], - "properties": [ - { - "name": "candidateStarterGroups", - "isAttr": true, - "type": "String" - }, - { - "name": "candidateStarterUsers", - "isAttr": true, - "type": "String" - }, - { - "name": "versionTag", - "isAttr": true, - "type": "String" - }, - { - "name": "historyTimeToLive", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "EscalationEventDefinition", - "isAbstract": true, - "extends": ["bpmn:EscalationEventDefinition"], - "properties": [ - { - "name": "escalationCodeVariable", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "FormalExpression", - "isAbstract": true, - "extends": ["bpmn:FormalExpression"], - "properties": [ - { - "name": "resource", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "Assignable", - "extends": ["bpmn:UserTask"], - "properties": [ - { - "name": "assignee", - "isAttr": true, - "type": "String" - }, - { - "name": "candidateUsers", - "isAttr": true, - "type": "String" - }, - { - "name": "candidateGroups", - "isAttr": true, - "type": "String" - }, - { - "name": "dueDate", - "isAttr": true, - "type": "String" - }, - { - "name": "followUpDate", - "isAttr": true, - "type": "String" - }, - { - "name": "priority", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "CallActivity", - "extends": ["bpmn:CallActivity"], - "properties": [ - { - "name": "calledElementBinding", - "isAttr": true, - "type": "String", - "default": "latest" - }, - { - "name": "calledElementVersion", - "isAttr": true, - "type": "String" - }, - { - "name": "calledElementTenantId", - "isAttr": true, - "type": "String" - }, - { - "name": "caseRef", - "isAttr": true, - "type": "String" - }, - { - "name": "caseBinding", - "isAttr": true, - "type": "String", - "default": "latest" - }, - { - "name": "caseVersion", - "isAttr": true, - "type": "String" - }, - { - "name": "caseTenantId", - "isAttr": true, - "type": "String" - }, - { - "name": "variableMappingClass", - "isAttr": true, - "type": "String" - }, - { - "name": "variableMappingDelegateExpression", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "ServiceTaskLike", - "extends": [ - "bpmn:ServiceTask", - "bpmn:BusinessRuleTask", - "bpmn:SendTask", - "bpmn:MessageEventDefinition" - ], - "properties": [ - { - "name": "expression", - "isAttr": true, - "type": "String" - }, - { - "name": "class", - "isAttr": true, - "type": "String" - }, - { - "name": "delegateExpression", - "isAttr": true, - "type": "String" - }, - { - "name": "resultVariable", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "DmnCapable", - "extends": ["bpmn:BusinessRuleTask"], - "properties": [ - { - "name": "decisionRef", - "isAttr": true, - "type": "String" - }, - { - "name": "decisionRefBinding", - "isAttr": true, - "type": "String", - "default": "latest" - }, - { - "name": "decisionRefVersion", - "isAttr": true, - "type": "String" - }, - { - "name": "mapDecisionResult", - "isAttr": true, - "type": "String", - "default": "resultList" - }, - { - "name": "decisionRefTenantId", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "ExternalCapable", - "extends": ["camunda:ServiceTaskLike"], - "properties": [ - { - "name": "type", - "isAttr": true, - "type": "String" - }, - { - "name": "topic", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "TaskPriorized", - "extends": ["bpmn:Process", "camunda:ExternalCapable"], - "properties": [ - { - "name": "taskPriority", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "Properties", - "superClass": ["Element"], - "meta": { - "allowedIn": ["*"] - }, - "properties": [ - { - "name": "values", - "type": "Property", - "isMany": true - } - ] - }, - { - "name": "Property", - "superClass": ["Element"], - "properties": [ - { - "name": "id", - "type": "String", - "isAttr": true - }, - { - "name": "name", - "type": "String", - "isAttr": true - }, - { - "name": "value", - "type": "String", - "isAttr": true - } - ] - }, - { - "name": "Connector", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:ServiceTask", - "bpmn:BusinessRuleTask", - "bpmn:SendTask" - ] - }, - "properties": [ - { - "name": "inputOutput", - "type": "InputOutput" - }, - { - "name": "connectorId", - "type": "String" - } - ] - }, - { - "name": "WorkflowActivity", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:ServiceTask", - "bpmn:BusinessRuleTask", - "bpmn:SendTask" - ] - }, - "properties": [ - { - "name": "activityId", - "type": "String" - } - ] - }, - { - "name": "InputOutput", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:Task", - "bpmn:UserTask", - "bpmn:ServiceTask", - "bpmn:SendTask", - "bpmn:BusinessRuleTask", - "bpmn:ReceiveTask", - "bpmn:ScriptTask", - "bpmn:ManualTask", - "bpmn:GlobalUserTask", - "bpmn:GlobalScriptTask", - "bpmn:GlobalBusinessRuleTask", - "bpmn:GlobalTask", - "bpmn:GlobalManualTask", - "bpmn:SubProcess", - "bpmn:Transaction", - "bpmn:IntermediateCatchEvent", - "bpmn:IntermediateThrowEvent", - "bpmn:EndEvent", - "bpmn:ThrowEvent", - "bpmn:CatchEvent", - "bpmn:ImplicitThrowEvent", - "bpmn:CallActivity" - ] - }, - "properties": [ - { - "name": "inputOutput", - "type": "InputOutput" - }, - { - "name": "connectorId", - "type": "String" - }, - { - "name": "inputParameters", - "isMany": true, - "type": "InputParameter" - }, - { - "name": "outputParameters", - "isMany": true, - "type": "OutputParameter" - } - ] - }, - { - "name": "InputOutputParameter", - "properties": [ - { - "name": "name", - "isAttr": true, - "type": "String" - }, - { - "name": "workflowSource", - "isAttr": true, - "type": "String" - }, - { - "name": "workflowTarget", - "isAttr": true, - "type": "String" - }, - { - "name": "value", - "isBody": true, - "type": "String" - }, - { - "name": "definition", - "type": "InputOutputParameterDefinition" - } - ] - }, - { - "name": "InputOutputParameterDefinition", - "isAbstract": true - }, - { - "name": "List", - "superClass": ["InputOutputParameterDefinition"], - "properties": [ - { - "name": "items", - "isMany": true, - "type": "InputOutputParameterDefinition" - } - ] - }, - { - "name": "Map", - "superClass": ["InputOutputParameterDefinition"], - "properties": [ - { - "name": "entries", - "isMany": true, - "type": "Entry" - } - ] - }, - { - "name": "Entry", - "properties": [ - { - "name": "key", - "isAttr": true, - "type": "String" - }, - { - "name": "value", - "isBody": true, - "type": "String" - }, - { - "name": "definition", - "type": "InputOutputParameterDefinition" - } - ] - }, - { - "name": "Value", - "superClass": ["InputOutputParameterDefinition"], - "properties": [ - { - "name": "id", - "isAttr": true, - "type": "String" - }, - { - "name": "name", - "isAttr": true, - "type": "String" - }, - { - "name": "value", - "isBody": true, - "type": "String" - } - ] - }, - { - "name": "Script", - "superClass": ["InputOutputParameterDefinition"], - "properties": [ - { - "name": "scriptFormat", - "isAttr": true, - "type": "String" - }, - { - "name": "resource", - "isAttr": true, - "type": "String" - }, - { - "name": "value", - "isBody": true, - "type": "String" - } - ] - }, - { - "name": "Field", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:ServiceTask", - "bpmn:BusinessRuleTask", - "bpmn:SendTask" - ] - }, - "properties": [ - { - "name": "name", - "isAttr": true, - "type": "String" - }, - { - "name": "expression", - "type": "String" - }, - { - "name": "stringValue", - "isAttr": true, - "type": "String" - }, - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "InputParameter", - "superClass": ["InputOutputParameter"] - }, - { - "name": "OutputParameter", - "superClass": ["InputOutputParameter"] - }, - { - "name": "Collectable", - "isAbstract": true, - "extends": ["bpmn:MultiInstanceLoopCharacteristics"], - "superClass": ["camunda:AsyncCapable"], - "properties": [ - { - "name": "collection", - "isAttr": true, - "type": "String" - }, - { - "name": "elementVariable", - "isAttr": true, - "type": "String" - } - ] - }, - { - "name": "FailedJobRetryTimeCycle", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:Task", - "bpmn:ServiceTask", - "bpmn:SendTask", - "bpmn:UserTask", - "bpmn:BusinessRuleTask", - "bpmn:ScriptTask", - "bpmn:ReceiveTask", - "bpmn:CallActivity", - "bpmn:TimerEventDefinition", - "bpmn:SignalEventDefinition", - "bpmn:MultiInstanceLoopCharacteristics" - ] - }, - "properties": [ - { - "name": "body", - "isBody": true, - "type": "String" - } - ] - }, - { - "name": "ExecutionListener", - "superClass": ["Element"], - "meta": { - "allowedIn": [ - "bpmn:Task", - "bpmn:ServiceTask", - "bpmn:UserTask", - "bpmn:BusinessRuleTask", - "bpmn:ScriptTask", - "bpmn:ReceiveTask", - "bpmn:ManualTask", - "bpmn:ExclusiveGateway", - "bpmn:SequenceFlow", - "bpmn:ParallelGateway", - "bpmn:InclusiveGateway", - "bpmn:EventBasedGateway", - "bpmn:StartEvent", - "bpmn:IntermediateCatchEvent", - "bpmn:IntermediateThrowEvent", - "bpmn:EndEvent", - "bpmn:BoundaryEvent", - "bpmn:CallActivity", - "bpmn:SubProcess" - ] - }, - "properties": [ - { - "name": "expression", - "isAttr": true, - "type": "String" - }, - { - "name": "class", - "isAttr": true, - "type": "String" - }, - { - "name": "delegateExpression", - "isAttr": true, - "type": "String" - }, - { - "name": "event", - "isAttr": true, - "type": "String" - }, - { - "name": "script", - "type": "Script" - }, - { - "name": "fields", - "type": "Field", - "isMany": true - } - ] - }, - { - "name": "TaskListener", - "superClass": ["Element"], - "meta": { - "allowedIn": ["bpmn:UserTask"] - }, - "properties": [ - { - "name": "expression", - "isAttr": true, - "type": "String" - }, - { - "name": "class", - "isAttr": true, - "type": "String" - }, - { - "name": "delegateExpression", - "isAttr": true, - "type": "String" - }, - { - "name": "event", - "isAttr": true, - "type": "String" - }, - { - "name": "script", - "type": "Script" - }, - { - "name": "fields", - "type": "Field", - "isMany": true - } - ] - }, - { - "name": "FormProperty", - "superClass": ["Element"], - "meta": { - "allowedIn": ["bpmn:StartEvent", "bpmn:UserTask"] - }, - "properties": [ - { - "name": "id", - "type": "String", - "isAttr": true - }, - { - "name": "name", - "type": "String", - "isAttr": true - }, - { - "name": "type", - "type": "String", - "isAttr": true - }, - { - "name": "required", - "type": "String", - "isAttr": true - }, - { - "name": "readable", - "type": "String", - "isAttr": true - }, - { - "name": "writable", - "type": "String", - "isAttr": true - }, - { - "name": "variable", - "type": "String", - "isAttr": true - }, - { - "name": "expression", - "type": "String", - "isAttr": true - }, - { - "name": "datePattern", - "type": "String", - "isAttr": true - }, - { - "name": "default", - "type": "String", - "isAttr": true - }, - { - "name": "values", - "type": "Value", - "isMany": true - } - ] - }, - { - "name": "FormData", - "superClass": ["Element"], - "meta": { - "allowedIn": ["bpmn:StartEvent", "bpmn:UserTask"] - }, - "properties": [ - { - "name": "fields", - "type": "FormField", - "isMany": true - }, - { - "name": "businessKey", - "type": "String", - "isAttr": true - } - ] - }, - { - "name": "FormField", - "superClass": ["Element"], - "properties": [ - { - "name": "id", - "type": "String", - "isAttr": true - }, - { - "name": "label", - "type": "String", - "isAttr": true - }, - { - "name": "type", - "type": "String", - "isAttr": true - }, - { - "name": "datePattern", - "type": "String", - "isAttr": true - }, - { - "name": "defaultValue", - "type": "String", - "isAttr": true - }, - { - "name": "properties", - "type": "Properties" - }, - { - "name": "validation", - "type": "Validation" - }, - { - "name": "values", - "type": "Value", - "isMany": true - } - ] - }, - { - "name": "Validation", - "superClass": ["Element"], - "properties": [ - { - "name": "constraints", - "type": "Constraint", - "isMany": true - } - ] - }, - { - "name": "Constraint", - "superClass": ["Element"], - "properties": [ - { - "name": "name", - "type": "String", - "isAttr": true - }, - { - "name": "config", - "type": "String", - "isAttr": true - } - ] - }, - { - "name": "ConditionalEventDefinition", - "isAbstract": true, - "extends": ["bpmn:ConditionalEventDefinition"], - "properties": [ - { - "name": "variableName", - "isAttr": true, - "type": "String" - }, - { - "name": "variableEvent", - "isAttr": true, - "type": "String" - } - ] - } - ], - "emumerations": [] -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/WorkflowPropertiesProvider.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/WorkflowPropertiesProvider.js deleted file mode 100644 index d6b3b274..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/WorkflowPropertiesProvider.js +++ /dev/null @@ -1,300 +0,0 @@ -import inherits from 'inherits'; -import CamundaPropertiesProvider from 'bpmn-js-properties-panel/lib/provider/camunda/CamundaPropertiesProvider'; - -import { is, getBusinessObject } from 'bpmn-js/lib/util/ModelUtil'; - -import asyncCapableHelper from 'bpmn-js-properties-panel/lib/helper/AsyncCapableHelper'; -import eventDefinitionHelper from 'bpmn-js-properties-panel/lib/helper/EventDefinitionHelper'; -import implementationTypeHelper from 'bpmn-js-properties-panel/lib/helper/ImplementationTypeHelper'; - -import idProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/IdProps'; -import nameProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/NameProps'; -import processProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/ProcessProps'; -import linkProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/LinkProps'; -import eventProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/EventProps'; -import documentationProps from 'bpmn-js-properties-panel/lib/provider/bpmn/parts/DocumentationProps'; - -import elementTemplateChooserProps from 'bpmn-js-properties-panel/lib/provider/camunda/element-templates/parts/ChooserProps'; -import elementTemplateCustomProps from 'bpmn-js-properties-panel/lib/provider/camunda/element-templates/parts/CustomProps'; - -import versionTag from 'bpmn-js-properties-panel/lib/provider/camunda/parts/VersionTagProps'; -import userTaskProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/UserTaskProps'; -import scriptProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/ScriptTaskProps'; -import callActivityProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/CallActivityProps'; -import conditionalProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/ConditionalProps'; -import startEventInitiator from 'bpmn-js-properties-panel/lib/provider/camunda/parts/StartEventInitiator'; -import multiInstanceProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/MultiInstanceLoopProps'; -import asynchronousContinuationProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/AsynchronousContinuationProps'; -import jobConfiguration from 'bpmn-js-properties-panel/lib/provider/camunda/parts/JobConfigurationProps'; -import externalTaskConfiguration from 'bpmn-js-properties-panel/lib/provider/camunda/parts/ExternalTaskConfigurationProps'; -import candidateStarter from 'bpmn-js-properties-panel/lib/provider/camunda/parts/CandidateStarterProps'; -import historyTimeToLive from 'bpmn-js-properties-panel/lib/provider/camunda/parts/HistoryTimeToLiveProps'; - -import createInputOutputTabGroups from './parts/createInputOutputTabGroups'; -import workflowServiceTaskDelegateProps from './parts/WorkflowServiceTaskDelegateProps'; - -const PROCESS_KEY_HINT = 'This maps to the process definition key.'; - -const isExternalTaskPriorityEnabled = function(element) { - const businessObject = getBusinessObject(element); - - // show only if element is a process, a participant ... - if ( - is(element, 'bpmn:Process') || - (is(element, 'bpmn:Participant') && businessObject.get('processRef')) - ) { - return true; - } - - const externalBo = implementationTypeHelper.getServiceTaskLikeBusinessObject( - element - ), - isExternalTask = - implementationTypeHelper.getImplementationType(externalBo) === - 'external'; - - // ... or an external task with selected external implementation type - return ( - !!implementationTypeHelper.isExternalCapable(externalBo) && - isExternalTask - ); -}; - -const isJobConfigEnabled = element => { - const businessObject = getBusinessObject(element); - - if ( - is(element, 'bpmn:Process') || - (is(element, 'bpmn:Participant') && businessObject.get('processRef')) - ) { - return true; - } - - // async behavior - const bo = getBusinessObject(element); - if ( - asyncCapableHelper.isAsyncBefore(bo) || - asyncCapableHelper.isAsyncAfter(bo) - ) { - return true; - } - - // timer definition - if (is(element, 'bpmn:Event')) { - return !!eventDefinitionHelper.getTimerEventDefinition(element); - } - - return false; -}; - -function createGeneralTabGroups( - element, - config, - bpmnFactory, - elementRegistry, - elementTemplates, - translate -) { - // refer to target element for external labels - element = element.labelTarget || element; - - const generalGroup = { - id: 'general', - label: translate('General'), - entries: [] - }; - - let idOptions; - let processOptions; - - if (is(element, 'bpmn:Process')) { - idOptions = { description: PROCESS_KEY_HINT }; - } - - if (is(element, 'bpmn:Participant')) { - processOptions = { processIdDescription: PROCESS_KEY_HINT }; - } - - idProps(generalGroup, element, translate, idOptions); - nameProps(generalGroup, element, translate); - processProps(generalGroup, element, translate, processOptions); - versionTag(generalGroup, element, translate); - elementTemplateChooserProps( - generalGroup, - element, - elementTemplates, - translate - ); - - const customFieldsGroups = elementTemplateCustomProps( - element, - elementTemplates, - bpmnFactory, - translate - ); - - const detailsGroup = { - id: 'details', - label: translate('Details'), - entries: [] - }; - workflowServiceTaskDelegateProps( - detailsGroup, - element, - config, - bpmnFactory, - translate - ); - userTaskProps(detailsGroup, element, translate); - scriptProps(detailsGroup, element, bpmnFactory, translate); - linkProps(detailsGroup, element, translate); - callActivityProps(detailsGroup, element, bpmnFactory, translate); - eventProps(detailsGroup, element, bpmnFactory, elementRegistry, translate); - conditionalProps(detailsGroup, element, bpmnFactory, translate); - startEventInitiator(detailsGroup, element, translate); // this must be the last element of the details group! - - const multiInstanceGroup = { - id: 'multiInstance', - label: translate('Multi Instance'), - entries: [] - }; - multiInstanceProps(multiInstanceGroup, element, bpmnFactory, translate); - - const asyncGroup = { - id: 'async', - label: translate('Asynchronous Continuations'), - entries: [] - }; - asynchronousContinuationProps(asyncGroup, element, bpmnFactory, translate); - - const jobConfigurationGroup = { - id: 'jobConfiguration', - label: translate('Job Configuration'), - entries: [], - enabled: isJobConfigEnabled - }; - jobConfiguration(jobConfigurationGroup, element, bpmnFactory, translate); - - const externalTaskGroup = { - id: 'externalTaskConfiguration', - label: translate('External Task Configuration'), - entries: [], - enabled: isExternalTaskPriorityEnabled - }; - externalTaskConfiguration( - externalTaskGroup, - element, - bpmnFactory, - translate - ); - - const candidateStarterGroup = { - id: 'candidateStarterConfiguration', - label: translate('Candidate Starter Configuration'), - entries: [] - }; - candidateStarter(candidateStarterGroup, element, bpmnFactory, translate); - - const historyTimeToLiveGroup = { - id: 'historyConfiguration', - label: translate('History Configuration'), - entries: [] - }; - historyTimeToLive(historyTimeToLiveGroup, element, bpmnFactory, translate); - - const documentationGroup = { - id: 'documentation', - label: translate('Documentation'), - entries: [] - }; - documentationProps(documentationGroup, element, bpmnFactory, translate); - - const groups = []; - groups.push(generalGroup); - customFieldsGroups.forEach(function(group) { - groups.push(group); - }); - groups.push(detailsGroup); - groups.push(externalTaskGroup); - groups.push(multiInstanceGroup); - groups.push(asyncGroup); - groups.push(jobConfigurationGroup); - groups.push(candidateStarterGroup); - groups.push(historyTimeToLiveGroup); - groups.push(documentationGroup); - - return groups; -} - -function WorkflowPropertiesProvider( - config, - eventBus, - bpmnFactory, - elementRegistry, - elementTemplates, - translate -) { - CamundaPropertiesProvider.call( - this, - eventBus, - bpmnFactory, - elementRegistry, - elementTemplates, - translate - ); - - this.getTabs = function(element) { - const camundaPropertiesProvider = new CamundaPropertiesProvider( - eventBus, - bpmnFactory, - elementRegistry, - elementTemplates, - translate - ); - - const tabs = camundaPropertiesProvider - .getTabs(element) - .filter(tab => tab.id !== 'general' && tab.id !== 'input-output'); - - const generalTab = { - id: 'general', - label: translate('General'), - groups: createGeneralTabGroups( - element, - config, - bpmnFactory, - elementRegistry, - elementTemplates, - translate - ) - }; - - const inputOutputTab = { - id: 'input-output', - label: translate('Input/Output'), - groups: createInputOutputTabGroups( - element, - bpmnFactory, - elementRegistry, - translate, - config - ) - }; - tabs.unshift(inputOutputTab); - tabs.unshift(generalTab); - return tabs; - }; -} - -WorkflowPropertiesProvider.$inject = [ - 'config.workflow', - 'eventBus', - 'bpmnFactory', - 'elementRegistry', - 'elementTemplates', - 'translate' -]; - -inherits(WorkflowPropertiesProvider, CamundaPropertiesProvider); - -export default WorkflowPropertiesProvider; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/index.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/index.js deleted file mode 100644 index bc60c581..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import ElementTemplates from 'bpmn-js-properties-panel/lib/provider/camunda/element-templates'; -import Translate from 'diagram-js/lib/i18n/translate'; - -import WorkflowPropertiesProvider from './WorkflowPropertiesProvider'; - -export default { - __depends__: [ElementTemplates, Translate], - __init__: ['propertiesProvider'], - propertiesProvider: ['type', WorkflowPropertiesProvider] -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputParameterProps.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputParameterProps.js deleted file mode 100644 index d221c6e3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputParameterProps.js +++ /dev/null @@ -1,21 +0,0 @@ -import inputOutputParameter from './implementation/InputOutputParameter'; -import assign from 'lodash.assign'; - -export default function( - group, - element, - bpmnFactory, - options, - translate, - config -) { - group.entries = group.entries.concat( - inputOutputParameter( - element, - bpmnFactory, - assign({}, options), - translate, - config - ) - ); -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputProps.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputProps.js deleted file mode 100644 index bdcbab46..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/InputOutputProps.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -import inputOutput from './implementation/InputOutput'; - -export default function(group, element, bpmnFactory, translate) { - const inputOutputEntry = inputOutput(element, bpmnFactory, {}, translate); - - group.entries = group.entries.concat(inputOutputEntry.entries); - - return { - getSelectedParameter: inputOutputEntry.getSelectedParameter - }; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/WorkflowServiceTaskDelegateProps.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/WorkflowServiceTaskDelegateProps.js deleted file mode 100644 index bc871357..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/WorkflowServiceTaskDelegateProps.js +++ /dev/null @@ -1,123 +0,0 @@ -import inherits from 'inherits'; - -import ImplementationTypeHelper from 'bpmn-js-properties-panel/lib/helper/ImplementationTypeHelper'; -import ServiceTaskDelegateProps from 'bpmn-js-properties-panel/lib/provider/camunda/parts/ServiceTaskDelegateProps'; -import workflowImplementationType from './implementation/WorkflowImplementationType'; -import workflowActivity from './implementation/WorkflowActivity'; -import { - implementationType as implementationTypeConst, - serviceTaskEntries -} from './implementation/implementationConstants'; -import Delegate from './implementation/Delegate'; -import ResultVariable from './implementation/ResultVariable'; - -const getImplementationType = element => { - let implementationType = ImplementationTypeHelper.getImplementationType( - element - ); - - if (!implementationType || implementationType === 'expression') { - const bo = getBusinessObject(element); - if (bo) { - if ( - typeof bo.get(implementationTypeConst.ACTIVITY) !== 'undefined' - ) { - return 'workflowActivity'; - } - } - } - - return implementationType; -}; - -const hideResultVariable = element => { - return getImplementationType(element) !== 'expression'; -}; - -const getBusinessObject = element => - ImplementationTypeHelper.getServiceTaskLikeBusinessObject(element); - -const isDmnCapable = element => ImplementationTypeHelper.isDmnCapable(element); - -const isExternalCapable = element => - ImplementationTypeHelper.isExternalCapable(element); - -const isServiceTaskLike = element => - ImplementationTypeHelper.isServiceTaskLike(element); - -function WorkflowServiceTaskDelegateProps( - group, - element, - config, - bpmnFactory, - translate -) { - ServiceTaskDelegateProps.call(this, group, element, bpmnFactory, translate); - - if (isServiceTaskLike(getBusinessObject(element))) { - group.entries = group.entries.filter( - entry => - entry.id !== serviceTaskEntries.IMPLEMENTATION && - entry.id !== serviceTaskEntries.DELEGATE && - entry.id !== serviceTaskEntries.RESULT_VARIABLE - ); - - group.entries = group.entries.concat( - workflowActivity( - element, - config, - bpmnFactory, - { - getBusinessObject: getBusinessObject, - getImplementationType: getImplementationType - }, - translate - ) - ); - - group.entries = group.entries.concat( - Delegate( - element, - bpmnFactory, - { - getBusinessObject: getBusinessObject, - getImplementationType: getImplementationType - }, - translate - ) - ); - - group.entries = group.entries.concat( - ResultVariable( - element, - bpmnFactory, - { - getBusinessObject: getBusinessObject, - getImplementationType: getImplementationType, - hideResultVariable: hideResultVariable - }, - translate - ) - ); - group.entries = group.entries.concat( - workflowImplementationType( - element, - bpmnFactory, - { - getBusinessObject: getBusinessObject, - getImplementationType: getImplementationType, - hasDmnSupport: isDmnCapable(element), - hasExternalSupport: isExternalCapable( - getBusinessObject(element) - ), - hasServiceTaskLikeSupport: true - }, - translate - ) - ); - } -} - -inherits(WorkflowServiceTaskDelegateProps, ServiceTaskDelegateProps); - -export default WorkflowServiceTaskDelegateProps; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/createInputOutputTabGroups.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/createInputOutputTabGroups.js deleted file mode 100644 index 3dede1a9..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/createInputOutputTabGroups.js +++ /dev/null @@ -1,58 +0,0 @@ -import inputOutputParameter from './InputOutputParameterProps'; -import inputOutput from './InputOutputProps'; -const is = require('bpmn-js/lib/util/ModelUtil').is; - -var getInputOutputParameterLabel = function(param, translate) { - if (is(param, 'camunda:InputParameter')) { - return translate('Input Parameter'); - } - - if (is(param, 'camunda:OutputParameter')) { - return translate('Output Parameter'); - } - - return ''; -}; - -export default function createInputOutputTabGroups( - element, - bpmnFactory, - elementRegistry, - translate, - config -) { - var inputOutputGroup = { - id: 'input-output', - label: translate('Parameters'), - entries: [] - }; - - var options = inputOutput( - inputOutputGroup, - element, - bpmnFactory, - translate - ); - var inputOutputParameterGroup = { - id: 'input-output-parameter', - entries: [], - enabled: function(element, node) { - return options.getSelectedParameter(element, node); - }, - label: function(element, node) { - var param = options.getSelectedParameter(element, node); - return getInputOutputParameterLabel(param, translate); - } - }; - - inputOutputParameter( - inputOutputParameterGroup, - element, - bpmnFactory, - options, - translate, - config - ); - - return [inputOutputGroup, inputOutputParameterGroup]; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/Delegate.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/Delegate.js deleted file mode 100644 index f6a0b247..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/Delegate.js +++ /dev/null @@ -1,78 +0,0 @@ -'use strict'; - -import entryFactory from 'bpmn-js-properties-panel/lib/factory/EntryFactory'; -import cmdHelper from 'bpmn-js-properties-panel/lib/helper/CmdHelper'; - -const DELEGATE_TYPES = ['class', 'expression', 'delegateExpression']; - -const PROPERTIES = { - class: 'camunda:class', - expression: 'camunda:expression', - delegateExpression: 'camunda:delegateExpression' -}; - -function isDelegate(type) { - return DELEGATE_TYPES.indexOf(type) !== -1; -} - -function getAttribute(type) { - return PROPERTIES[type]; -} - -export default function(element, bpmnFactory, options, translate) { - var getImplementationType = options.getImplementationType, - getBusinessObject = options.getBusinessObject; - - function getDelegationLabel(type) { - switch (type) { - case 'class': - return translate('Java Class'); - case 'expression': - return translate('Expression'); - case 'delegateExpression': - return translate('Delegate Expression'); - default: - return ''; - } - } - - var delegateEntry = entryFactory.textField({ - id: 'delegate', - label: translate('Value'), - dataValueLabel: 'delegationLabel', - modelProperty: 'delegate', - - get: function(element) { - var bo = getBusinessObject(element); - var type = getImplementationType(element); - var attr = getAttribute(type); - var label = getDelegationLabel(type); - return { - delegate: bo.get(attr), - delegationLabel: label - }; - }, - - set: function(element, values) { - var bo = getBusinessObject(element); - var type = getImplementationType(element); - var attr = getAttribute(type); - var prop = {}; - prop[attr] = values.delegate || ''; - return cmdHelper.updateBusinessObject(element, bo, prop); - }, - - validate: function(element, values) { - return isDelegate(getImplementationType(element)) && - !values.delegate - ? { delegate: 'Must provide a value' } - : {}; - }, - - hidden: function(element) { - return !isDelegate(getImplementationType(element)); - } - }); - - return [delegateEntry]; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutput.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutput.js deleted file mode 100644 index 2bbef4f2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutput.js +++ /dev/null @@ -1,289 +0,0 @@ -import inputOutputHelper from './InputOutputHelper'; -var getBusinessObject = require('bpmn-js/lib/util/ModelUtil').getBusinessObject; - -var elementHelper = require('bpmn-js-properties-panel/lib/helper/ElementHelper'), - extensionElementsHelper = require('bpmn-js-properties-panel/lib/helper/ExtensionElementsHelper'), - cmdHelper = require('bpmn-js-properties-panel/lib/helper/CmdHelper'); - -var extensionElementsEntry = require('bpmn-js-properties-panel/lib/provider/camunda/parts/implementation//ExtensionElements'); - -function getInputOutput(element, insideConnector) { - return inputOutputHelper.getInputOutput(element, insideConnector); -} - -function getConnector(element) { - return inputOutputHelper.getConnector(element); -} - -function getInputParameters(element, insideConnector) { - return inputOutputHelper.getInputParameters(element, insideConnector); -} - -function getOutputParameters(element, insideConnector) { - return inputOutputHelper.getOutputParameters(element, insideConnector); -} - -function getInputParameter(element, insideConnector, idx) { - return inputOutputHelper.getInputParameter(element, insideConnector, idx); -} - -function getOutputParameter(element, insideConnector, idx) { - return inputOutputHelper.getOutputParameter(element, insideConnector, idx); -} - -export function createElement(type, parent, factory, properties) { - const el = elementHelper.createElement(type, properties, parent, factory); - return el; -} - -export function createInputOutput(parent, bpmnFactory, properties) { - return createElement( - 'camunda:InputOutput', - parent, - bpmnFactory, - properties - ); -} - -function createParameter(type, parent, bpmnFactory, properties) { - return createElement(type, parent, bpmnFactory, properties); -} - -function ensureInputOutputSupported(element, insideConnector) { - return inputOutputHelper.isInputOutputSupported(element, insideConnector); -} - -function ensureOutparameterSupported(element, insideConnector) { - return inputOutputHelper.areOutputParametersSupported( - element, - insideConnector - ); -} - -export default function(element, bpmnFactory, options, translate) { - var TYPE_LABEL = { - 'camunda:Map': translate('Map'), - 'camunda:List': translate('List'), - 'camunda:Script': translate('Script') - }; - - options = options || {}; - - var insideConnector = !!options.insideConnector, - idPrefix = options.idPrefix || ''; - - var getSelected = function(element, node) { - var selection = (inputEntry && - inputEntry.getSelected(element, node)) || { idx: -1 }; - - var parameter = getInputParameter( - element, - insideConnector, - selection.idx - ); - if (!parameter && outputEntry) { - selection = outputEntry.getSelected(element, node); - parameter = getOutputParameter( - element, - insideConnector, - selection.idx - ); - } - return parameter; - }; - - var result = { - getSelectedParameter: getSelected - }; - - var entries = (result.entries = []); - - if (!ensureInputOutputSupported(element)) { - return result; - } - - var newElement = function(type, prop, elementData) { - return function(element, extensionElements, value) { - var commands = []; - - var inputOutput = getInputOutput(element, insideConnector); - if (!inputOutput) { - var parent = !insideConnector - ? extensionElements - : getConnector(element); - - inputOutput = createInputOutput(parent, bpmnFactory, { - inputParameters: [], - outputParameters: [] - }); - - if (!insideConnector) { - commands.push( - cmdHelper.addAndRemoveElementsFromList( - element, - extensionElements, - 'values', - 'extensionElements', - [inputOutput], - [] - ) - ); - } else { - commands.push( - cmdHelper.updateBusinessObject(element, parent, { - inputOutput: inputOutput - }) - ); - } - } - - var newElem = elementData - ? createParameter(type, inputOutput, bpmnFactory, elementData) - : createParameter(type, inputOutput, bpmnFactory, { - name: value - }); - - commands.push( - cmdHelper.addElementsTolist(element, inputOutput, prop, [ - newElem - ]) - ); - - return commands; - }; - }; - - var removeElement = function(getter, prop, otherProp) { - return function(element, extensionElements, value, idx) { - var inputOutput = getInputOutput(element, insideConnector); - var parameter = getter(element, insideConnector, idx); - - var commands = []; - commands.push( - cmdHelper.removeElementsFromList( - element, - inputOutput, - prop, - null, - [parameter] - ) - ); - - var firstLength = inputOutput.get(prop).length - 1; - var secondLength = (inputOutput.get(otherProp) || []).length; - - if (!firstLength && !secondLength) { - if (!insideConnector) { - commands.push( - extensionElementsHelper.removeEntry( - getBusinessObject(element), - element, - inputOutput - ) - ); - } else { - var connector = getConnector(element); - commands.push( - cmdHelper.updateBusinessObject(element, connector, { - inputOutput: undefined - }) - ); - } - } - - return commands; - }; - }; - - var setOptionLabelValue = function(getter) { - return function(element, node, option, property, value, idx) { - var parameter = getter(element, insideConnector, idx); - - var suffix = 'Text'; - - var definition = parameter.get('definition'); - if (typeof definition !== 'undefined') { - var type = definition.$type; - suffix = TYPE_LABEL[type]; - } - - option.text = (value || '') + ' : ' + suffix; - }; - }; - - // input parameters /////////////////////////////////////////////////////////////// - - var inputEntry = extensionElementsEntry(element, bpmnFactory, { - id: idPrefix + 'inputs', - label: translate('Input Parameters'), - modelProperty: 'name', - prefix: 'Input', - resizable: true, - - createExtensionElement: inputOutputHelper.isCreateDeleteSupported( - element - ) - ? newElement('camunda:InputParameter', 'inputParameters') - : undefined, - removeExtensionElement: inputOutputHelper.isCreateDeleteSupported( - element - ) - ? removeElement( - getInputParameter, - 'inputParameters', - 'outputParameters' - ) - : undefined, - - getExtensionElements: function(element) { - return getInputParameters(element, insideConnector); - }, - - onSelectionChange: function(element, node) { - outputEntry && outputEntry.deselect(element, node); - }, - - setOptionLabelValue: setOptionLabelValue(getInputParameter) - }); - entries.push(inputEntry); - - // output parameters /////////////////////////////////////////////////////// - - if (ensureOutparameterSupported(element, insideConnector)) { - var outputEntry = extensionElementsEntry(element, bpmnFactory, { - id: idPrefix + 'outputs', - label: translate('Output Parameters'), - modelProperty: 'name', - prefix: 'Output', - resizable: true, - - createExtensionElement: inputOutputHelper.isCreateDeleteSupported( - element - ) - ? newElement('camunda:OutputParameter', 'outputParameters') - : undefined, - removeExtensionElement: inputOutputHelper.isCreateDeleteSupported( - element - ) - ? removeElement( - getOutputParameter, - 'outputParameters', - 'inputParameters' - ) - : inputOutputHelper.isCreateDeleteSupported(element), - - getExtensionElements: function(element) { - return getOutputParameters(element, insideConnector); - }, - - onSelectionChange: function(element, node) { - inputEntry.deselect(element, node); - }, - - setOptionLabelValue: setOptionLabelValue(getOutputParameter) - }); - entries.push(outputEntry); - } - - return result; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputHelper.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputHelper.js deleted file mode 100644 index 595ab799..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputHelper.js +++ /dev/null @@ -1,173 +0,0 @@ -var ModelUtil = require('bpmn-js/lib/util/ModelUtil'), - is = ModelUtil.is, - getBusinessObject = ModelUtil.getBusinessObject; - -var extensionElementsHelper = require('bpmn-js-properties-panel/lib/helper/ExtensionElementsHelper'), - implementationTypeHelper = require('bpmn-js-properties-panel/lib/helper/ImplementationTypeHelper'); -import { implementationType } from './implementationConstants'; - -var InputOutputHelper = {}; - -function getElements(bo, type, prop) { - var elems = extensionElementsHelper.getExtensionElements(bo, type) || []; - return !prop ? elems : (elems[0] || {})[prop] || []; -} - -function getParameters(element, prop, insideConnector) { - var inputOutput = InputOutputHelper.getInputOutput( - element, - insideConnector - ); - return (inputOutput && inputOutput.get(prop)) || []; -} - -/** - * Get a inputOutput from the business object - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * - * @return {ModdleElement} the inputOutput object - */ -InputOutputHelper.getInputOutput = function(element, insideConnector) { - if (!insideConnector) { - var bo = getBusinessObject(element); - return (getElements(bo, 'camunda:InputOutput') || [])[0]; - } - var connector = this.getConnector(element); - - return connector && connector.get('inputOutput'); -}; - -/** - * Get a connector from the business object - * - * @param {djs.model.Base} element - * - * @return {ModdleElement} the connector object - */ -InputOutputHelper.getConnector = function(element) { - var bo = implementationTypeHelper.getServiceTaskLikeBusinessObject(element); - return bo && (getElements(bo, 'camunda:Connector') || [])[0]; -}; - -/** - * Return all input parameters existing in the business object, and - * an empty array if none exist. - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * - * @return {Array} a list of input parameter objects - */ -InputOutputHelper.getInputParameters = function(element, insideConnector) { - return getParameters.apply(this, [ - element, - 'inputParameters', - insideConnector - ]); -}; - -/** - * Return all output parameters existing in the business object, and - * an empty array if none exist. - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * - * @return {Array} a list of output parameter objects - */ -InputOutputHelper.getOutputParameters = function(element, insideConnector) { - return getParameters.apply(this, [ - element, - 'outputParameters', - insideConnector - ]); -}; - -/** - * Get a input parameter from the business object at given index - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * @param {number} idx - * - * @return {ModdleElement} input parameter - */ -InputOutputHelper.getInputParameter = function(element, insideConnector, idx) { - return this.getInputParameters(element, insideConnector)[idx]; -}; - -/** - * Get a output parameter from the business object at given index - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * @param {number} idx - * - * @return {ModdleElement} output parameter - */ -InputOutputHelper.getOutputParameter = function(element, insideConnector, idx) { - return this.getOutputParameters(element, insideConnector)[idx]; -}; - -/** - * Returns 'true' if the given element supports inputOutput - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * - * @return {boolean} a boolean value - */ -InputOutputHelper.isInputOutputSupported = function(element, insideConnector) { - var bo = getBusinessObject(element); - return ( - insideConnector || - is(bo, 'bpmn:Process') || - (is(bo, 'bpmn:FlowNode') && - !is(bo, 'bpmn:StartEvent') && - !is(bo, 'bpmn:BoundaryEvent') && - !(is(bo, 'bpmn:SubProcess') && bo.get('triggeredByEvent'))) - ); -}; - -/** - * Returns 'true' if the given element supports output parameters - * - * @param {djs.model.Base} element - * @param {boolean} insideConnector - * - * @return {boolean} a boolean value - */ -InputOutputHelper.areOutputParametersSupported = function( - element, - insideConnector -) { - var bo = getBusinessObject(element); - return ( - insideConnector || (!is(bo, 'bpmn:EndEvent') && !bo.loopCharacteristics) - ); -}; - -InputOutputHelper.isCreateDeleteSupported = function(element) { - const bo = getBusinessObject(element); - return ( - (element.type !== 'bpmn:ServiceTask' || - !bo[implementationType.ACTIVITY]) && - element.type !== 'bpmn:Process' - ); -}; - -InputOutputHelper.isWorkflowTargetSupported = function(element, selected) { - const bo = getBusinessObject(element); - return ( - is(bo, 'bpmn:ServiceTask') && is(selected, 'camunda:OutputParameter') - ); -}; - -InputOutputHelper.isWorkflowSourceSupported = function(element, selected) { - const bo = getBusinessObject(element); - return is(bo, 'bpmn:ServiceTask') && is(selected, 'camunda:InputParameter'); -}; - -export default InputOutputHelper; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputParameter.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputParameter.js deleted file mode 100644 index 10e258e3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputParameter.js +++ /dev/null @@ -1,424 +0,0 @@ -import inputOutputHelper from './InputOutputHelper'; - -var is = require('bpmn-js/lib/util/ModelUtil').is; - -var elementHelper = require('bpmn-js-properties-panel/lib/helper/ElementHelper'), - cmdHelper = require('bpmn-js-properties-panel/lib/helper/CmdHelper'), - utils = require('bpmn-js-properties-panel/lib/Utils'); - -var entryFactory = require('bpmn-js-properties-panel/lib/factory/EntryFactory'), - script = require('bpmn-js-properties-panel/lib/provider/camunda/parts/implementation/Script')( - 'scriptFormat', - 'value', - true - ); - -function createElement(type, parent, factory, properties) { - return elementHelper.createElement(type, properties, parent, factory); -} - -function isScript(elem) { - return is(elem, 'camunda:Script'); -} - -function isList(elem) { - return is(elem, 'camunda:List'); -} - -function isMap(elem) { - return is(elem, 'camunda:Map'); -} - -function ensureInputOutputSupported(element, insideConnector) { - return inputOutputHelper.isInputOutputSupported(element, insideConnector); -} - -export default function(element, bpmnFactory, options, translate) { - var typeInfo = { - 'camunda:Map': { - value: 'map', - label: translate('Map') - }, - 'camunda:List': { - value: 'list', - label: translate('List') - }, - 'camunda:Script': { - value: 'script', - label: translate('Script') - } - }; - - options = options || {}; - - var insideConnector = !!options.insideConnector, - idPrefix = options.idPrefix || ''; - - var getSelected = options.getSelectedParameter; - - if (!ensureInputOutputSupported(element, insideConnector)) { - return []; - } - - var entries = []; - - var isSelected = function(element, node) { - return getSelected(element, node); - }; - - // parameter name //////////////////////////////////////////////////////// - - entries.push( - entryFactory.validationAwareTextField({ - id: idPrefix + 'parameterName', - label: 'Name', - modelProperty: 'name', - - getProperty: function(element, node) { - return (getSelected(element, node) || {}).name; - }, - - setProperty: function(element, values, node) { - var param = getSelected(element, node); - return cmdHelper.updateBusinessObject(element, param, values); - }, - - validate: function(element, values, node) { - var bo = getSelected(element, node); - - var validation = {}; - if (bo) { - var nameValue = values.name; - - if (nameValue) { - if (utils.containsSpace(nameValue)) { - validation.name = 'Name must not contain spaces'; - } - } else { - validation.name = 'Parameter must have a name'; - } - } - - return validation; - }, - - hidden: function(element, node) { - return !isSelected(element, node); - }, - disabled: function(element) { - return !inputOutputHelper.isCreateDeleteSupported(element); - } - }) - ); - - // parameter type ////////////////////////////////////////////////////// - - var selectOptions = [ - { value: 'text', name: 'Text' }, - { value: 'script', name: 'Script' }, - { value: 'list', name: 'List' }, - { value: 'map', name: 'Map' } - ]; - - entries.push( - entryFactory.selectBox({ - id: idPrefix + 'parameterType', - label: 'Type', - selectOptions: selectOptions, - modelProperty: 'parameterType', - - get: function(element, node) { - var bo = getSelected(element, node); - - var parameterType = 'text'; - - if (typeof bo !== 'undefined') { - var definition = bo.get('definition'); - if (typeof definition !== 'undefined') { - var type = definition.$type; - parameterType = typeInfo[type].value; - } - } - - return { - parameterType: parameterType - }; - }, - - set: function(element, values, node) { - var bo = getSelected(element, node); - - var properties = { - value: undefined, - definition: undefined - }; - - var createParameterTypeElem = function(type) { - return createElement(type, bo, bpmnFactory); - }; - - var parameterType = values.parameterType; - - if (parameterType === 'script') { - properties.definition = createParameterTypeElem( - 'camunda:Script' - ); - } else if (parameterType === 'list') { - properties.definition = createParameterTypeElem( - 'camunda:List' - ); - } else if (parameterType === 'map') { - properties.definition = createParameterTypeElem( - 'camunda:Map' - ); - } - - return cmdHelper.updateBusinessObject(element, bo, properties); - }, - - show: function(element, node) { - return isSelected(element, node); - }, - disabled: function(element) { - return !inputOutputHelper.isCreateDeleteSupported(element); - } - }) - ); - - // parameter value (type = text) /////////////////////////////////////////////////////// - - entries.push( - entryFactory.textBox({ - id: idPrefix + 'parameterType-text', - label: 'Value', - modelProperty: 'value', - get: function(element, node) { - return { - value: (getSelected(element, node) || {}).value - }; - }, - - set: function(element, values, node) { - var param = getSelected(element, node); - values.value = values.value || undefined; - return cmdHelper.updateBusinessObject(element, param, values); - }, - - show: function(element, node) { - var bo = getSelected(element, node); - return bo && !bo.definition; - } - }) - ); - - // parameter value (type = script) /////////////////////////////////////////////////////// - - entries.push({ - id: idPrefix + 'parameterType-script', - html: '<div data-show="isScript">' + script.template + '</div>', - get: function(element, node) { - var bo = getSelected(element, node); - return bo && isScript(bo.definition) - ? script.get(element, bo.definition) - : {}; - }, - - set: function(element, values, node) { - var bo = getSelected(element, node); - var update = script.set(element, values); - return cmdHelper.updateBusinessObject( - element, - bo.definition, - update - ); - }, - - validate: function(element, values, node) { - var bo = getSelected(element, node); - return bo && isScript(bo.definition) - ? script.validate(element, bo.definition) - : {}; - }, - - isScript: function(element, node) { - var bo = getSelected(element, node); - return bo && isScript(bo.definition); - }, - - script: script - }); - - // parameter value (type = list) /////////////////////////////////////////////////////// - - entries.push( - entryFactory.table({ - id: idPrefix + 'parameterType-list', - modelProperties: ['value'], - labels: ['Value'], - - getElements: function(element, node) { - var bo = getSelected(element, node); - - if (bo && isList(bo.definition)) { - return bo.definition.items; - } - - return []; - }, - - updateElement: function(element, values, node, idx) { - var bo = getSelected(element, node); - var item = bo.definition.items[idx]; - return cmdHelper.updateBusinessObject(element, item, values); - }, - - addElement: function(element, node) { - var bo = getSelected(element, node); - var newValue = createElement( - 'camunda:Value', - bo.definition, - bpmnFactory, - { value: undefined } - ); - return cmdHelper.addElementsTolist( - element, - bo.definition, - 'items', - [newValue] - ); - }, - - removeElement: function(element, node, idx) { - var bo = getSelected(element, node); - return cmdHelper.removeElementsFromList( - element, - bo.definition, - 'items', - null, - [bo.definition.items[idx]] - ); - }, - - editable: function(element, node, prop, idx) { - var bo = getSelected(element, node); - var item = bo.definition.items[idx]; - return !isMap(item) && !isList(item) && !isScript(item); - }, - - setControlValue: function(element, node, input, prop, value, idx) { - var bo = getSelected(element, node); - var item = bo.definition.items[idx]; - - if (!isMap(item) && !isList(item) && !isScript(item)) { - input.value = value; - } else { - input.value = typeInfo[item.$type].label; - } - }, - - show: function(element, node) { - var bo = getSelected(element, node); - return bo && bo.definition && isList(bo.definition); - } - }) - ); - - // parameter value (type = map) /////////////////////////////////////////////////////// - - entries.push( - entryFactory.table({ - id: idPrefix + 'parameterType-map', - modelProperties: ['key', 'value'], - labels: ['Key', 'Value'], - addLabel: 'Add Entry', - - getElements: function(element, node) { - var bo = getSelected(element, node); - - if (bo && isMap(bo.definition)) { - return bo.definition.entries; - } - - return []; - }, - - updateElement: function(element, values, node, idx) { - var bo = getSelected(element, node); - var entry = bo.definition.entries[idx]; - - if ( - isMap(entry.definition) || - isList(entry.definition) || - isScript(entry.definition) - ) { - values = { - key: values.key - }; - } - - return cmdHelper.updateBusinessObject(element, entry, values); - }, - - addElement: function(element, node) { - var bo = getSelected(element, node); - var newEntry = createElement( - 'camunda:Entry', - bo.definition, - bpmnFactory, - { key: undefined, value: undefined } - ); - return cmdHelper.addElementsTolist( - element, - bo.definition, - 'entries', - [newEntry] - ); - }, - - removeElement: function(element, node, idx) { - var bo = getSelected(element, node); - return cmdHelper.removeElementsFromList( - element, - bo.definition, - 'entries', - null, - [bo.definition.entries[idx]] - ); - }, - - editable: function(element, node, prop, idx) { - var bo = getSelected(element, node); - var entry = bo.definition.entries[idx]; - return ( - prop === 'key' || - (!isMap(entry.definition) && - !isList(entry.definition) && - !isScript(entry.definition)) - ); - }, - - setControlValue: function(element, node, input, prop, value, idx) { - var bo = getSelected(element, node); - var entry = bo.definition.entries[idx]; - - if ( - prop === 'key' || - (!isMap(entry.definition) && - !isList(entry.definition) && - !isScript(entry.definition)) - ) { - input.value = value; - } else { - input.value = typeInfo[entry.definition.$type].label; - } - }, - - show: function(element, node) { - var bo = getSelected(element, node); - return bo && bo.definition && isMap(bo.definition); - } - }) - ); - - return entries; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputUpdater.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputUpdater.js deleted file mode 100644 index 056a2dba..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/InputOutputUpdater.js +++ /dev/null @@ -1,74 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import cmdHelper from 'bpmn-js-properties-panel/lib/helper/CmdHelper'; -import { createInputOutput, createElement } from './InputOutput'; -import InputOutputHelper from './InputOutputHelper'; -import { INPUT, OUTPUT } from './implementationConstants'; - -export default ({ element, bo, bpmnFactory, activityInputsOutputs }) => { - const commands = []; - const existedInputOutput = InputOutputHelper.getInputOutput(element); - - let newInputOutput = createInputOutput(element, bpmnFactory, { - inputParameters: [], - outputParameters: [] - }); - - const inputs = activityInputsOutputs.inputs.map(({ name, value }) => - createElement(INPUT, newInputOutput, bpmnFactory, { - name, - type: 'Text', - value - }) - ); - - const outputs = activityInputsOutputs.outputs.map(({ name, value }) => - createElement(OUTPUT, newInputOutput, bpmnFactory, { - name, - type: 'Text', - value - }) - ); - - newInputOutput.inputParameters = inputs; - newInputOutput.outputParameters = outputs; - - const objectToRemove = existedInputOutput ? [existedInputOutput] : []; - const extensionElements = - bo.extensionElements || - createElement('bpmn:ExtensionElements', bo, bpmnFactory, []); - - if (!bo.extensionElements) { - commands.push( - cmdHelper.updateBusinessObject(element, bo, { - extensionElements - }) - ); - } - - commands.push( - cmdHelper.addAndRemoveElementsFromList( - element, - extensionElements, - 'values', - 'extensionElements', - [newInputOutput], - objectToRemove - ) - ); - return commands; -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/ResultVariable.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/ResultVariable.js deleted file mode 100644 index a0b425fe..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/ResultVariable.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -import { is } from 'bpmn-js/lib/util/ModelUtil'; - -import assign from 'lodash.assign'; - -var entryFactory = require('bpmn-js-properties-panel/lib/factory/EntryFactory'), - cmdHelper = require('bpmn-js-properties-panel/lib/helper/CmdHelper'); - -export default function(element, bpmnFactory, options, translate) { - var getBusinessObject = options.getBusinessObject, - hideResultVariable = options.hideResultVariable, - id = options.id || 'resultVariable'; - - var resultVariableEntry = entryFactory.textField({ - id: id, - label: translate('Result Variable'), - modelProperty: 'resultVariable', - - get: function(element) { - var bo = getBusinessObject(element); - return { resultVariable: bo.get('camunda:resultVariable') }; - }, - - set: function(element, values) { - var bo = getBusinessObject(element); - - var resultVariable = values.resultVariable || undefined; - - var props = { - 'camunda:resultVariable': resultVariable - }; - - if (is(bo, 'camunda:DmnCapable') && !resultVariable) { - props = assign( - { 'camunda:mapDecisionResult': 'resultList' }, - props - ); - } - - return cmdHelper.updateBusinessObject(element, bo, props); - }, - - hidden: function() { - if (typeof hideResultVariable === 'function') { - return hideResultVariable.apply(resultVariableEntry, arguments); - } - } - }); - - return [resultVariableEntry]; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowActivity.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowActivity.js deleted file mode 100644 index 6616f6a4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowActivity.js +++ /dev/null @@ -1,89 +0,0 @@ -import entryFactory from 'bpmn-js-properties-panel/lib/factory/EntryFactory'; -import cmdHelper from 'bpmn-js-properties-panel/lib/helper/CmdHelper'; -import { - implementationType, - IMPLEMENTATION_TYPE_VALUE, - SERVICE_TASK_NAME -} from './implementationConstants'; - -import InputOutputUpdater from './InputOutputUpdater'; - -const workflowActivity = (element, config, bpmnFactory, options, translate) => { - const { getImplementationType, getBusinessObject } = options; - - const isWorkflowActivity = element => - getImplementationType(element) === 'workflowActivity'; - - const workflowActivityEntry = entryFactory.selectBox({ - id: 'activitySelect', - label: translate('Activity Spec'), - selectOptions: config.activities, - emptyParameter: true, - modelProperty: 'workflowActivity', - - get: function(element) { - var bo = getBusinessObject(element); - const value = bo.get(implementationType.ACTIVITY); - const activityValue = - value && value.indexOf(IMPLEMENTATION_TYPE_VALUE) > -1 - ? value.substr(IMPLEMENTATION_TYPE_VALUE.length) - : ''; - - return { - workflowActivity: activityValue - }; - }, - - set: function(element, values) { - var bo = getBusinessObject(element); - - const commands = []; - const dataForUpdate = {}; - - const activityInputsOutputs = config.getActivityInputsOutputs( - values.workflowActivity - ); - - dataForUpdate[ - implementationType.ACTIVITY - ] = `${IMPLEMENTATION_TYPE_VALUE}${values.workflowActivity}`; - - dataForUpdate[implementationType.EXPRESSION] = - implementationType.EXPRESSION_VALUE; - - dataForUpdate[SERVICE_TASK_NAME] = values.workflowActivity; - - commands.push( - cmdHelper.updateBusinessObject(element, bo, dataForUpdate) - ); - return [ - ...commands, - ...InputOutputUpdater({ - element, - bo, - bpmnFactory, - activityInputsOutputs, - commands - }) - ]; - }, - - validate: function(element, values) { - const hasErrors = - isWorkflowActivity(element) && !values.workflowActivity; - config.validationUpdate(element, !hasErrors); - - return hasErrors - ? { workflowActivity: 'Must provide a value' } - : {}; - }, - - hidden: function(element) { - return !isWorkflowActivity(element); - } - }); - - return [workflowActivityEntry]; -}; - -export default workflowActivity; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowImplementationType.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowImplementationType.js deleted file mode 100644 index 729cc22b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/WorkflowImplementationType.js +++ /dev/null @@ -1,226 +0,0 @@ -var entryFactory = require('bpmn-js-properties-panel/lib/factory/EntryFactory'), - cmdHelper = require('bpmn-js-properties-panel/lib/helper/CmdHelper'), - extensionElementsHelper = require('bpmn-js-properties-panel/lib/helper/ExtensionElementsHelper'), - elementHelper = require('bpmn-js-properties-panel/lib/helper/ElementHelper'); - -var assign = require('lodash.assign'); -var map = require('lodash.map'); -import { implementationType } from './implementationConstants'; - -var DEFAULT_DELEGATE_PROPS = ['class', 'expression', 'delegateExpression']; - -var DELEGATE_PROPS = { - 'camunda:class': undefined, - 'camunda:expression': undefined, - 'camunda:delegateExpression': undefined, - 'camunda:resultVariable': undefined -}; - -var DMN_CAPABLE_PROPS = { - 'camunda:decisionRef': undefined, - 'camunda:decisionRefBinding': 'latest', - 'camunda:decisionRefVersion': undefined, - 'camunda:mapDecisionResult': 'resultList', - 'camunda:decisionRefTenantId': undefined -}; - -var EXTERNAL_CAPABLE_PROPS = { - 'camunda:type': undefined, - 'camunda:topic': undefined -}; - -const ACTIVITY_PROPS = {}; - -ACTIVITY_PROPS[implementationType] = undefined; - -export default function(element, bpmnFactory, options, translate) { - var DEFAULT_OPTIONS = [ - { value: 'class', name: translate('Java Class') }, - { value: 'expression', name: translate('Expression') }, - { value: 'delegateExpression', name: translate('Delegate Expression') } - ]; - - var DMN_OPTION = [{ value: 'dmn', name: translate('DMN') }]; - - var EXTERNAL_OPTION = [{ value: 'external', name: translate('External') }]; - - var CONNECTOR_OPTION = [ - { value: 'connector', name: translate('Connector') } - ]; - - var SCRIPT_OPTION = [{ value: 'script', name: translate('Script') }]; - - var ACTIVITY_OPTION = [ - { value: 'workflowActivity', name: translate('Activity') } - ]; - - var getType = options.getImplementationType, - getBusinessObject = options.getBusinessObject; - - var hasDmnSupport = options.hasDmnSupport, - hasExternalSupport = options.hasExternalSupport, - hasServiceTaskLikeSupport = options.hasServiceTaskLikeSupport, - hasScriptSupport = options.hasScriptSupport; - - var entries = []; - - var selectOptions = DEFAULT_OPTIONS.concat([]); - - if (hasDmnSupport) { - selectOptions = selectOptions.concat(DMN_OPTION); - } - - if (hasExternalSupport) { - selectOptions = selectOptions.concat(EXTERNAL_OPTION); - } - - if (hasServiceTaskLikeSupport) { - selectOptions = selectOptions.concat(CONNECTOR_OPTION); - } - - if (hasScriptSupport) { - selectOptions = selectOptions.concat(SCRIPT_OPTION); - } - - selectOptions = selectOptions.concat(ACTIVITY_OPTION); - - selectOptions.push({ value: '' }); - - entries.push( - entryFactory.selectBox({ - id: 'implementation', - label: translate('Implementation'), - selectOptions: selectOptions, - modelProperty: 'implType', - - get: function(element) { - return { - implType: getType(element) || '' - }; - }, - - set: function(element, values) { - var bo = getBusinessObject(element); - var oldType = getType(element); - var newType = values.implType; - var props = assign({}, DELEGATE_PROPS); - - if (DEFAULT_DELEGATE_PROPS.indexOf(newType) !== -1) { - var newValue = ''; - if (DEFAULT_DELEGATE_PROPS.indexOf(oldType) !== -1) { - newValue = bo.get('camunda:' + oldType); - } - - props['camunda:' + newType] = newValue; - } - - if (hasDmnSupport) { - props = assign(props, DMN_CAPABLE_PROPS); - if (newType === 'dmn') { - props['camunda:decisionRef'] = ''; - } - } - - if (hasExternalSupport) { - props = assign(props, EXTERNAL_CAPABLE_PROPS); - if (newType === 'external') { - props['camunda:type'] = 'external'; - props['camunda:topic'] = ''; - } - } - - if (hasScriptSupport) { - props['camunda:script'] = undefined; - - if (newType === 'script') { - props['camunda:script'] = elementHelper.createElement( - 'camunda:Script', - {}, - bo, - bpmnFactory - ); - } - } - props = assign(props, ACTIVITY_PROPS); - props[implementationType.ACTIVITY] = undefined; - - var commands = []; - if (newType === 'workflowActivity') { - props[implementationType.ACTIVITY] = ''; - props[implementationType.RESULT_VARIABLE] = undefined; - props[implementationType.EXPRESSION] = undefined; - } else { - var inputsOutputs = extensionElementsHelper.getExtensionElements( - bo, - 'camunda:InputOutput' - ); - commands.push( - map(inputsOutputs, function(inputOutput) { - return extensionElementsHelper.removeEntry( - bo, - element, - inputOutput - ); - }) - ); - } - - commands.push( - cmdHelper.updateBusinessObject(element, bo, props) - ); - - if (hasServiceTaskLikeSupport) { - var connectors = extensionElementsHelper.getExtensionElements( - bo, - 'camunda:Connector' - ); - commands.push( - map(connectors, function(connector) { - return extensionElementsHelper.removeEntry( - bo, - element, - connector - ); - }) - ); - - if (newType === 'connector') { - var extensionElements = bo.get('extensionElements'); - if (!extensionElements) { - extensionElements = elementHelper.createElement( - 'bpmn:ExtensionElements', - { values: [] }, - bo, - bpmnFactory - ); - commands.push( - cmdHelper.updateBusinessObject(element, bo, { - extensionElements: extensionElements - }) - ); - } - var connector = elementHelper.createElement( - 'camunda:Connector', - {}, - extensionElements, - bpmnFactory - ); - commands.push( - cmdHelper.addAndRemoveElementsFromList( - element, - extensionElements, - 'values', - 'extensionElements', - [connector], - [] - ) - ); - } - } - return commands; - } - }) - ); - - return entries; -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/implementationConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/implementationConstants.js deleted file mode 100644 index efc70800..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/implementation/implementationConstants.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -export const implementationType = { - ACTIVITY: 'implementation', - EXPRESSION: 'camunda:expression', - EXPRESSION_VALUE: '${ExecuteActivity.execute(execution)}', - RESULT_VARIABLE: 'camunda:resultVariable' -}; - -export const IMPLEMENTATION_TYPE_VALUE = 'activity:'; -export const SERVICE_TASK_NAME = 'name'; - -export const serviceTaskEntries = { - IMPLEMENTATION: 'implementation', - DELEGATE: 'delegate', - RESULT_VARIABLE: 'resultVariable' -}; - -export const INPUT = 'camunda:InputParameter'; -export const OUTPUT = 'camunda:OutputParameter'; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/newDiagram.bpmn b/workflow-designer-ui/src/main/frontend/src/features/version/composition/newDiagram.bpmn deleted file mode 100644 index 6abaf8df..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/newDiagram.bpmn +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn"> - <bpmn2:process id="Process_1" isExecutable="true"> - </bpmn2:process> - <bpmndi:BPMNDiagram id="BPMNDiagram_1"> - <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"> - </bpmndi:BPMNPlane> - </bpmndi:BPMNDiagram> -</bpmn2:definitions> diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/readOnly.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/readOnly.js deleted file mode 100644 index f1da7dcf..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/readOnly.js +++ /dev/null @@ -1,134 +0,0 @@ -import forEach from 'lodash.foreach'; - -const HIGH_PRIORITY = 10001; - -function ReadOnly( - eventBus, - contextPad, - dragging, - directEditing, - editorActions, - modeling, - palette, - paletteProvider -) { - this._readOnly = false; - this._eventBus = eventBus; - - let self = this; - eventBus.on('readOnly.changed', HIGH_PRIORITY, function(e) { - self._readOnly = e.readOnly; - - if (e.readOnly) { - directEditing.cancel(); - contextPad.close(); - dragging.cancel(); - } - - palette._update(); - }); - - function intercept(obj, fnName, cb) { - var fn = obj[fnName]; - obj[fnName] = function() { - return cb.call(this, fn, arguments); - }; - } - - function ignoreWhenReadOnly(obj, fnName) { - intercept(obj, fnName, function(fn, args) { - if (self._readOnly) { - return; - } - - return fn.apply(this, args); - }); - } - - function throwIfReadOnly(obj, fnName) { - intercept(obj, fnName, function(fn, args) { - if (self._readOnly) { - throw new Error('model is read-only'); - } - - return fn.apply(this, args); - }); - } - - ignoreWhenReadOnly(contextPad, 'open'); - - ignoreWhenReadOnly(dragging, 'init'); - - ignoreWhenReadOnly(directEditing, 'activate'); - - ignoreWhenReadOnly(editorActions._actions, 'undo'); - ignoreWhenReadOnly(editorActions._actions, 'redo'); - ignoreWhenReadOnly(editorActions._actions, 'copy'); - ignoreWhenReadOnly(editorActions._actions, 'paste'); - ignoreWhenReadOnly(editorActions._actions, 'removeSelection'); - // BpmnEditorActions - ignoreWhenReadOnly(editorActions._actions, 'spaceTool'); - ignoreWhenReadOnly(editorActions._actions, 'lassoTool'); - ignoreWhenReadOnly(editorActions._actions, 'globalConnectTool'); - ignoreWhenReadOnly(editorActions._actions, 'distributeElements'); - ignoreWhenReadOnly(editorActions._actions, 'alignElements'); - ignoreWhenReadOnly(editorActions._actions, 'directEditing'); - - throwIfReadOnly(modeling, 'moveShape'); - throwIfReadOnly(modeling, 'updateAttachment'); - throwIfReadOnly(modeling, 'moveElements'); - throwIfReadOnly(modeling, 'moveConnection'); - throwIfReadOnly(modeling, 'layoutConnection'); - throwIfReadOnly(modeling, 'createConnection'); - throwIfReadOnly(modeling, 'createShape'); - throwIfReadOnly(modeling, 'createLabel'); - throwIfReadOnly(modeling, 'appendShape'); - throwIfReadOnly(modeling, 'removeElements'); - throwIfReadOnly(modeling, 'distributeElements'); - throwIfReadOnly(modeling, 'removeShape'); - throwIfReadOnly(modeling, 'removeConnection'); - throwIfReadOnly(modeling, 'replaceShape'); - throwIfReadOnly(modeling, 'pasteElements'); - throwIfReadOnly(modeling, 'alignElements'); - throwIfReadOnly(modeling, 'resizeShape'); - throwIfReadOnly(modeling, 'createSpace'); - throwIfReadOnly(modeling, 'updateWaypoints'); - throwIfReadOnly(modeling, 'reconnectStart'); - throwIfReadOnly(modeling, 'reconnectEnd'); - - intercept(paletteProvider, 'getPaletteEntries', function(fn, args) { - var entries = fn.apply(this, args); - if (self._readOnly) { - forEach(entries, function(value, key) { - delete entries[key]; - }); - } - return entries; - }); -} - -ReadOnly.$inject = [ - 'eventBus', - 'contextPad', - 'dragging', - 'directEditing', - 'editorActions', - 'modeling', - 'palette', - 'paletteProvider' -]; - -module.exports = ReadOnly; - -ReadOnly.prototype.readOnly = function(readOnly) { - var newValue = !!readOnly, - oldValue = !!this._readOnly; - - if (readOnly === undefined || newValue === oldValue) { - return oldValue; - } - - this._readOnly = newValue; - this._eventBus.fire('readOnly.changed', { readOnly: newValue }); - return newValue; -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersion.js b/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersion.js deleted file mode 100644 index 2635fa36..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersion.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { connect } from 'react-redux'; -import { withRouter } from 'react-router-dom'; - -import { hideModalAction } from 'shared/modal/modalWrapperActions'; -import CreateVersionView from 'features/version/create/CreateVersionView'; -import { - newVersionAction, - submitVersionAction -} from 'features/version/create/createVersionConstants'; -import { - getWorkflowId, - getLatestBaseId -} from 'features/workflow/overview/overviewSelectors'; - -function mapStateToProps(state) { - return { - workflowId: getWorkflowId(state), - baseVersionId: getLatestBaseId(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - submitNewVersion: payload => { - dispatch(submitVersionAction(payload)); - dispatch(hideModalAction()); - }, - closeCreateVersionModal: () => dispatch(hideModalAction()), - versionDetailsChanged: payload => dispatch(newVersionAction(payload)) - }; -} - -export default withRouter( - connect( - mapStateToProps, - mapDispatchToProps - )(CreateVersionView) -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersionView.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersionView.jsx deleted file mode 100644 index 101b442d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/CreateVersionView.jsx +++ /dev/null @@ -1,95 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; -import { Button } from 'onap-ui-react'; -import Description from 'shared/components/Description'; -import Select from 'shared/components/Select/index'; -import { VERSION_LEVEL_LIST } from 'wfapp/appConstants'; - -class CreateVersionView extends Component { - static propTypes = { - versionCategories: PropTypes.array, - closeCreateVersionModal: PropTypes.func, - versionDetailsChanged: PropTypes.func, - submitNewVersion: PropTypes.func, - workflowId: PropTypes.string, - baseVersionId: PropTypes.string, - history: PropTypes.object - }; - - constructor(props) { - super(props); - this.state = { - newVersion: '' - }; - } - handleSubmitForm = () => { - const { - submitNewVersion, - workflowId, - baseVersionId, - history - } = this.props; - submitNewVersion({ - description: this.state.newVersion.description, - workflowId: workflowId, - baseId: baseVersionId || null, - history: history - }); - }; - - versionDetailsChanged = val => { - this.setState({ newVersion: val }); - }; - - render() { - const { closeCreateVersionModal } = this.props; - return ( - <form onSubmit={this.handleSubmitForm} autoComplete="off"> - <div className="new-version-page custom-modal-wrapper"> - <div className="form-custom-modal"> - <Select - dataObj={VERSION_LEVEL_LIST} - selectedItem={VERSION_LEVEL_LIST[0].value} - label={I18n.t('version.category')} - disabled - /> - <Description - name="version-description" - description={this.state.newVersion.description} - dataTestId="new-version-description" - onDataChange={this.versionDetailsChanged} - /> - </div> - <div className="modal-action-bar sdc-modal__footer"> - <Button btnType="primary"> - {I18n.t('buttons.createBtn')} - </Button> - <Button - btnType="secondary" - onClick={closeCreateVersionModal}> - {I18n.t('buttons.closeBtn')} - </Button> - </div> - </div> - </form> - ); - } -} - -export default CreateVersionView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/CreateVersionView_snapshot-test.js b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/CreateVersionView_snapshot-test.js deleted file mode 100644 index 13faac14..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/CreateVersionView_snapshot-test.js +++ /dev/null @@ -1,28 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import renderer from 'react-test-renderer'; - -import CreateVersionView from '../CreateVersionView'; - -describe('Create new version snapshot', () => { - it('renders correctly', () => { - const tree = renderer.create(<CreateVersionView />).toJSON(); - - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap deleted file mode 100644 index 4e17b936..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap +++ /dev/null @@ -1,81 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Create new version snapshot renders correctly 1`] = ` -<form - autoComplete="off" - onSubmit={[Function]} -> - <div - className="new-version-page custom-modal-wrapper" - > - <div - className="form-custom-modal" - > - <div - className="select-wrapper version-selector sdc-input" - > - <label> - category - </label> - <select - className="inputinput-selector" - data-test-id="vc-select-box" - disabled={true} - value={undefined} - > - <option - data-test-id="vc-option" - value="2" - > - Major - </option> - <option - data-test-id="vc-option" - value="1" - > - Minor - </option> - </select> - </div> - <div - className="description-part" - > - <div - className="sdc-textarea" - > - <div - className="sdc-textarea__label" - > - description - </div> - <textarea - className="custom-textarea field-section sdc-textarea__textarea" - data-test-id="new-version-description" - disabled={false} - onChange={[Function]} - value={undefined} - /> - </div> - </div> - </div> - <div - className="modal-action-bar sdc-modal__footer" - > - <button - className="sdc-button sdc-button__primary " - disabled={false} - onClick={undefined} - > - createBtn - </button> - <button - className="sdc-button sdc-button__secondary " - disabled={false} - onClick={undefined} - > - closeBtn - </button> - </div> - </div> -</form> -`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/createVersionConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/create/createVersionConstants.js deleted file mode 100644 index 5f72ff7a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/createVersionConstants.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { createAction } from 'redux-actions'; - -export const VERSION_DETAILS_CHANGED = 'create/DETAILS_CHANGED'; -export const SUBMIT_VERSION = 'create/SUBMIT_VERSION'; - -export const newVersionAction = createAction( - VERSION_DETAILS_CHANGED, - payload => payload -); - -export const submitVersionAction = createAction( - SUBMIT_VERSION, - payload => payload -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/views/NewVersionContainer.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/create/views/NewVersionContainer.jsx deleted file mode 100644 index 4d884730..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/views/NewVersionContainer.jsx +++ /dev/null @@ -1,45 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; -import { SVGIcon } from 'onap-ui-react'; - -const NewVersionContainer = ({ - onCreateVersion, - isVersionsCertifies, - isArchive -}) => { - const disableClass = isVersionsCertifies && !isArchive; - const newVersionDisabledClass = disableClass ? '' : 'newVersionDisabled'; - const svgColor = disableClass ? 'primary' : 'secondary'; - return ( - <div className={`create-new-version ${newVersionDisabledClass}`}> - <div className="create-item-plus-icon" onClick={onCreateVersion}> - <SVGIcon name="plus" color={svgColor} /> - {I18n.t('workflow.overview.newVersion')} - </div> - </div> - ); -}; - -NewVersionContainer.propTypes = { - onCreateVersion: PropTypes.func, - isVersionsCertifies: PropTypes.bool, - isArchive: PropTypes.bool -}; - -export default NewVersionContainer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/general/General.js b/workflow-designer-ui/src/main/frontend/src/features/version/general/General.js deleted file mode 100644 index ecf84750..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/general/General.js +++ /dev/null @@ -1,39 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { connect } from 'react-redux'; - -import GeneralView from 'features/version/general/GeneralView'; -import { - getVersionInfo, - getIsCertified -} from 'features/version/general/generalSelectors'; -import { workflowVersionDetailsChangedAction } from 'features/version/versionConstants'; -import { isWorkflowArchive } from 'features/workflow/workflowSelectors'; -const mapStateToProps = state => ({ - versionInfo: getVersionInfo(state), - isReadOnly: getIsCertified(state) || isWorkflowArchive(state) -}); - -const mapDispatchToProps = dispatch => ({ - onDataChange: payload => - dispatch(workflowVersionDetailsChangedAction(payload)) -}); - -export default connect( - mapStateToProps, - mapDispatchToProps -)(GeneralView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/general/GeneralView.js b/workflow-designer-ui/src/main/frontend/src/features/version/general/GeneralView.js deleted file mode 100644 index e069ffb0..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/general/GeneralView.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; - -import Description from 'shared/components/Description'; -import { VersionInfo, LabeledValue } from 'shared/components/VersionInfo'; - -const GeneralView = ({ onDataChange, versionInfo, isReadOnly }) => { - const modifiedValue = I18n.l(versionInfo.modificationTime, { - dateFormat: 'date.short' - }); - const createdValue = I18n.l(versionInfo.creationTime, { - dateFormat: 'date.short' - }); - - return ( - <div className="general-page"> - <div className="general-page-content"> - <Description - description={versionInfo.description} - onDataChange={onDataChange} - disabled={isReadOnly} - /> - <VersionInfo> - <LabeledValue - title={I18n.t('workflow.general.created')} - value={createdValue} - /> - <LabeledValue - title={I18n.t('workflow.general.modified')} - value={modifiedValue} - /> - </VersionInfo> - </div> - </div> - ); -}; - -GeneralView.propTypes = { - onDataChange: PropTypes.func, - versionInfo: PropTypes.object, - isReadOnly: PropTypes.bool -}; - -export default GeneralView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/general/generalSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/version/general/generalSelectors.js deleted file mode 100644 index cc817fc2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/general/generalSelectors.js +++ /dev/null @@ -1,33 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { createSelector } from 'reselect'; - -import { versionState } from 'features/version/versionConstants'; - -export const getVersionInfo = state => state && state.currentVersion.general; - -export const getVersionsState = createSelector( - state => state && state.currentVersion.general.state -); - -export const getIsCertified = createSelector( - getVersionInfo, - versionInfo => - versionInfo && - versionInfo.state && - versionInfo.state.toLowerCase() === versionState.CERTIFIED -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutput.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutput.js deleted file mode 100644 index c9cd5756..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutput.js +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { connect } from 'react-redux'; -import { - showAlertModalAction, - hideModalAction -} from 'shared/modal/modalWrapperActions'; - -import { - getIsShowInputs, - getSearch, - getDataRows, - getTypes, - getError -} from 'features/version/inputOutput/inputOutputSelectors'; -import { getIsCertified } from 'features/version/general/generalSelectors'; -import { - changeError, - showInputs, - showOutputs, - search, - add, - changeName, - changeType, - changeMandatory, - remove -} from 'features/version/inputOutput/inputOutputActions'; -import { isWorkflowArchive } from 'features/workflow/workflowSelectors'; -import InputOutputView from 'features/version/inputOutput/InputOutputView'; - -const mapStateToProps = state => ({ - isShowInputs: getIsShowInputs(state), - search: getSearch(state), - dataRows: getDataRows(state), - types: getTypes(state), - error: getError(state), - isReadOnly: getIsCertified(state) || isWorkflowArchive(state) -}); - -const mapDispatchToProps = dispatch => ({ - handleChangeError: payload => dispatch(changeError(payload)), - handleShowInputs: () => dispatch(showInputs()), - handleShowOutputs: () => dispatch(showOutputs()), - handleSearch: value => dispatch(search(value)), - handleAdd: () => dispatch(add()), - handleNameChange: (name, key) => dispatch(changeName(name, key)), - handleTypeChange: (type, key) => dispatch(changeType(type, key)), - handleMandatoryChange: (mandatory, key) => - dispatch(changeMandatory(mandatory, key)), - handleRemove: (alertProps, key) => { - if (alertProps) { - return dispatch( - showAlertModalAction({ - ...alertProps, - withButtons: true, - actionButtonClick: () => - dispatch(hideModalAction()) && dispatch(remove(key)) - }) - ); - } - - return dispatch(remove(key)); - } -}); - -export default connect( - mapStateToProps, - mapDispatchToProps -)(InputOutputView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutputView.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutputView.jsx deleted file mode 100644 index 61e34990..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/InputOutputView.jsx +++ /dev/null @@ -1,234 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { Translate, I18n } from 'react-redux-i18n'; -import cn from 'classnames'; -import { SVGIcon } from 'onap-ui-react'; - -import Scrollbars from 'shared/scroll/Scrollbars'; -import SearchInput from 'shared/searchInput/SearchInput'; -import { getValidationsError } from 'features/version/inputOutput/inputOutputValidations'; -import Tab from 'features/version/inputOutput/views/Tab'; -import TableHead from 'features/version/inputOutput/views/TableHead'; -import TableBody from 'features/version/inputOutput/views/TableBody'; -import NoDataRow from 'features/version/inputOutput/views/NoDataRow'; -import DataRow from 'features/version/inputOutput/views/DataRow'; - -class InputOutputView extends React.Component { - componentDidUpdate() { - const { dataRows, error, handleChangeError } = this.props; - - const validationsError = getValidationsError(dataRows); - - const isDiff = Object.keys(validationsError).some(errorKey => { - if (!error.hasOwnProperty(errorKey)) { - return true; - } - - return ( - JSON.stringify(validationsError[errorKey].sort()) !== - JSON.stringify(error[errorKey].sort()) - ); - }); - - if (isDiff) { - handleChangeError(validationsError); - } - } - - handleInputsTabClick = () => { - if (!this.props.isShowInputs) { - this.props.handleShowInputs(); - } - }; - - handleOutputsTabClick = () => { - if (this.props.isShowInputs) { - this.props.handleShowOutputs(); - } - }; - - handleSearchChange = value => { - this.props.handleSearch(value); - }; - - handleNameChange = key => name => { - this.props.handleNameChange(name, key); - }; - - handleTypeChange = key => event => { - this.props.handleTypeChange(event.target.value, key); - }; - - handleMandatoryChange = key => value => { - this.props.handleMandatoryChange(value, key); - }; - - handleRemoveClick = key => () => { - const { name } = this.props.dataRows[key]; - - let alertProps = false; - - if (name.replace(/\s+/g, '')) { - const title = I18n.t('workflow.inputOutput.DELETE'); - const body = I18n.t('workflow.inputOutput.confirmDelete', { - name: name.replace(/s+$/g, '') - }); - const closeButtonText = I18n.t('workflow.inputOutput.CANCEL'); - const actionButtonText = title; - - alertProps = { - title, - body, - closeButtonText, - actionButtonText - }; - } - - this.props.handleRemove(alertProps, key); - }; - - renderDataRows = () => { - const { dataRows, types, error } = this.props; - - if (dataRows.length < 1) { - return ( - <NoDataRow> - <Translate value="workflow.inputOutput.noData" /> - </NoDataRow> - ); - } - - return dataRows.map((data, i) => { - let errorMessage = ''; - - if ( - error.invalidCharacters && - error.invalidCharacters.includes(i) - ) { - errorMessage = I18n.t( - 'workflow.errorMessages.invalidCharacters' - ); - } else if (error.alreadyExists && error.alreadyExists.includes(i)) { - errorMessage = I18n.t('workflow.errorMessages.alreadyExists'); - } else if (error.emptyName && error.emptyName.includes(i)) { - errorMessage = I18n.t('workflow.errorMessages.emptyName'); - } - - return ( - <DataRow - key={`data.${i}`} - data={data} - types={types} - nameErrorMessage={errorMessage} - dataTestId="wf-input-output-row" - handleNameChange={this.handleNameChange(i)} - handleTypeChange={this.handleTypeChange(i)} - handleMandatoryChange={this.handleMandatoryChange(i)} - handleRemoveClick={this.handleRemoveClick(i)} - /> - ); - }); - }; - - render() { - const { isShowInputs, search, handleAdd, isReadOnly } = this.props; - - const addLabel = isShowInputs - ? I18n.t('workflow.inputOutput.addInput') - : I18n.t('workflow.inputOutput.addOutput'); - - const dataRowsView = this.renderDataRows(); - - return ( - <div className="input-output"> - <div className="input-output__header"> - <Tab - isActive={isShowInputs} - dataTestId="wf-input-output-inputs" - handleTabClick={this.handleInputsTabClick}> - <Translate value="workflow.inputOutput.inputs" /> - </Tab> - <Tab - isActive={!isShowInputs} - dataTestId="wf-input-output-outputs" - handleTabClick={this.handleOutputsTabClick}> - <Translate value="workflow.inputOutput.outputs" /> - </Tab> - <div className="input-output__header__right"> - <div className="input-output__search"> - <SearchInput - dataTestId="wf-input-output-search" - onChange={this.handleSearchChange} - value={search} - /> - </div> - <div - className={cn('input-output__add', { - disabled: isReadOnly - })} - data-test-id="wf-input-output-add" - onClick={handleAdd}> - <SVGIcon - label={addLabel} - labelPosition="right" - color="primary" - name="plusThin" - /> - </div> - </div> - </div> - <div className="input-output__table"> - <TableHead /> - <TableBody isReadOnly={isReadOnly}> - <Scrollbars className="scrollbars"> - {dataRowsView} - </Scrollbars> - </TableBody> - </div> - </div> - ); - } -} - -InputOutputView.propTypes = { - isShowInputs: PropTypes.bool, - search: PropTypes.string, - dataRows: PropTypes.arrayOf( - PropTypes.shape({ - name: PropTypes.string, - type: PropTypes.string, - mandatory: PropTypes.bool - }) - ), - types: PropTypes.array, - error: PropTypes.object, - isReadOnly: PropTypes.bool, - handleChangeError: PropTypes.func, - handleShowInputs: PropTypes.func, - handleShowOutputs: PropTypes.func, - handleSearch: PropTypes.func, - handleAdd: PropTypes.func, - handleCurrentDataChange: PropTypes.func, - handleNameChange: PropTypes.func, - handleTypeChange: PropTypes.func, - handleMandatoryChange: PropTypes.func, - handleRemove: PropTypes.func -}; - -export default InputOutputView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputActions-test.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputActions-test.js deleted file mode 100644 index 465602fc..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputActions-test.js +++ /dev/null @@ -1,150 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { - NAME_MAX_LEN, - STRING, - SET_INPUTS_OUTPUTS, - CHANGE_ERROR, - SHOW_INPUTS, - SHOW_OUTPUTS, - SEARCH, - ADD, - CHANGE_NAME, - CHANGE_TYPE, - CHANGE_MANDATORY, - REMOVE -} from 'features/version/inputOutput/inputOutputConstants'; -import { - setInputsOutputs, - changeError, - showInputs, - showOutputs, - search, - add, - changeName, - changeType, - changeMandatory, - remove -} from 'features/version/inputOutput/inputOutputActions'; - -describe('Input/Output Actions', () => { - it('should have `setInputsOutputs` action', () => { - const inputs = [ - { - name: 'Input', - type: STRING, - mandatory: false - } - ]; - - const outputs = [ - { - name: 'Output', - type: STRING, - mandatory: false - } - ]; - - const expected = { - type: SET_INPUTS_OUTPUTS, - payload: { - inputs, - outputs - } - }; - - expect(setInputsOutputs({ inputs, outputs })).toEqual(expected); - }); - - it('should have `changeError` action', () => { - const payload = { key: 'value' }; - - const expected = { type: CHANGE_ERROR, payload }; - - expect(changeError(payload)).toEqual(expected); - }); - - it('should have `showInputs` action', () => { - const expected = { type: SHOW_INPUTS }; - - expect(showInputs()).toEqual(expected); - }); - - it('should have `showOutputs` action', () => { - const expected = { type: SHOW_OUTPUTS }; - - expect(showOutputs()).toEqual(expected); - }); - - it('should have `search` action', () => { - const payload = 'Search Value'; - - const expected = { type: SEARCH, payload }; - - expect(search(payload)).toEqual(expected); - }); - - it('should have `add` action', () => { - const expected = { type: ADD }; - - expect(add()).toEqual(expected); - }); - - it('should have `changeName` action', () => { - let name = 'This is a long name more that more more more and more'; - let key = 1; - - const expected = { - type: CHANGE_NAME, - payload: { - name: name.substr(0, NAME_MAX_LEN), - key - } - }; - - expect(changeName(name, key)).toEqual(expected); - }); - - it('should have `changeType` action', () => { - const type = 'String'; - const key = 1; - - const expected = { type: CHANGE_TYPE, payload: { type, key } }; - - expect(changeType(type, key)).toEqual(expected); - }); - - it('should have `changeMandatory` action', () => { - const mandatory = true; - const key = 1; - - const expected = { - type: CHANGE_MANDATORY, - payload: { mandatory, key } - }; - - expect(changeMandatory(mandatory, key)).toEqual(expected); - }); - - it('should have `remove` action', () => { - const payload = 1; - - const expected = { type: REMOVE, payload }; - - expect(remove(payload)).toEqual(expected); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputReducer-test.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputReducer-test.js deleted file mode 100644 index b923f4a4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputReducer-test.js +++ /dev/null @@ -1,191 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { - STRING, - INPUTS, - OUTPUTS -} from 'features/version/inputOutput/inputOutputConstants'; -import inputOutputReducer, { - initialState, - defaultInputOutput -} from 'features/version/inputOutput/inputOutputReducer'; -import { - setInputsOutputs, - changeError, - showInputs, - showOutputs, - search, - add, - changeName, - changeType, - changeMandatory, - remove -} from 'features/version/inputOutput/inputOutputActions'; - -describe('Input/Output Reducer', () => { - it('should return initialState', () => { - expect(inputOutputReducer(undefined, {})).toEqual(initialState); - }); - - it('should set inputs/outputs', () => { - const payload = { - inputs: [ - { - name: 'Input', - type: STRING, - mandatory: false - } - ], - outputs: { - name: 'Output', - type: STRING, - mandatory: false - } - }; - - expect( - inputOutputReducer(undefined, setInputsOutputs(payload)) - ).toEqual({ ...initialState, ...payload }); - }); - - it('should change input/output error', () => { - const payload = { - alreadyExists: [1, 2], - invalidCharacteres: [3, 4] - }; - [INPUTS, OUTPUTS].forEach(current => { - const state = { ...initialState, current }; - expect(inputOutputReducer(state, changeError(payload))).toEqual({ - ...state, - error: { - ...state.error, - [current]: payload - } - }); - }); - }); - - it('should show inputs', () => { - expect(inputOutputReducer(undefined, showInputs())).toEqual({ - ...initialState, - current: INPUTS - }); - }); - - it('should show outputs', () => { - expect(inputOutputReducer(undefined, showOutputs())).toEqual({ - ...initialState, - current: OUTPUTS - }); - }); - - it('should add input/output', () => { - [INPUTS, OUTPUTS].forEach(current => { - const state = { ...initialState, current }; - expect(inputOutputReducer(state, add())).toEqual({ - ...state, - [current]: [...state[current], defaultInputOutput[current]] - }); - }); - }); - - it('should add search', () => { - const payload = 'Search string'; - expect(inputOutputReducer(undefined, search(payload))).toEqual({ - ...initialState, - search: payload - }); - }); - - it('should change input/output name/type/mandatory', () => { - const name = 'New name'; - const type = 'New Type'; - const mandatory = true; - const key = 0; - const state = { - ...initialState, - [INPUTS]: [ - { - name: 'Old name', - type: 'Old type', - mandatory: false - } - ], - [OUTPUTS]: [ - { - name: 'Old name', - type: 'Old type', - mandatory: false - } - ] - }; - [INPUTS, OUTPUTS].forEach(current => { - [ - { - action: changeName(name, key), - field: 'name', - value: name - }, - { - action: changeType(type, key), - field: 'type', - value: type - }, - { - action: changeMandatory(mandatory, key), - field: 'mandatory', - value: mandatory - } - ].forEach(actionMap => { - const actual = inputOutputReducer( - { ...state, current }, - actionMap.action - )[current][key][actionMap.field]; - - const expected = actionMap.value; - - expect(actual).toEqual(expected); - }); - }); - }); - - it('should remove input/output ', () => { - const key = 0; - const state = { - ...initialState, - [INPUTS]: [ - { - name: 'Name', - type: 'String', - mandatory: true - } - ], - [OUTPUTS]: [ - { - name: 'Name', - type: 'String', - mandatory: true - } - ] - }; - [INPUTS, OUTPUTS].forEach(current => { - expect( - inputOutputReducer({ ...state, current }, remove(key))[current] - ).toEqual([]); - }); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputSelectors-test.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputSelectors-test.js deleted file mode 100644 index 8e9bdbd4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/__tests__/inputOutputSelectors-test.js +++ /dev/null @@ -1,149 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { - getInputOutput, - getCurrent, - getIsShowInputs, - getSearch, - getDataRows, - getTypes, - getError -} from 'features/version/inputOutput/inputOutputSelectors'; - -describe('Input/Output Selectors', () => { - const state = { - currentVersion: { - general: { - id: '1e659854c7e240c881f1dd8d5bd833cc', - name: '1.0', - description: 'Initial version', - baseId: null, - creationTime: '2018-07-19T13:09:39.066+0000', - modificationTime: '2018-07-19T13:09:39.355+0000', - state: 'DRAFT', - inputs: [], - outputs: [] - }, - inputOutput: { - current: 'outputs', - inputs: [ - { - name: 'IP Address', - value: 'String', - mandatory: true, - type: 'Integer' - }, - { - name: 'MAC Address', - value: 'String', - mandatory: false, - type: 'Integer' - }, - { - name: 'IP', - value: 'String', - mandatory: true, - type: 'Boolean' - }, - { - name: 'IP', - value: 'String', - mandatory: false - }, - { - name: '', - value: 'String', - mandatory: false - }, - { - name: '', - value: 'String', - mandatory: false - } - ], - outputs: [ - { - name: 'IP Address', - value: 'String', - mandatory: true - }, - { - name: 'IP', - value: 'String', - mandatory: true - }, - { - name: 'IP', - value: 'String', - mandatory: false, - type: 'Boolean' - } - ], - search: 'IP', - types: ['String', 'Boolean', 'Integer', 'Float'], - error: { - inputs: { - alreadyExists: [1, 2], - invalidCharacters: [] - }, - outputs: { - alreadyExists: [1, 2], - invalidCharacters: [] - } - } - } - } - }; - - it('should `getInputOutput`', () => { - expect(getInputOutput(state)).toEqual(state.currentVersion.inputOutput); - }); - - it('should `getCurrent`', () => { - expect(getCurrent(state)).toEqual( - state.currentVersion.inputOutput.current - ); - }); - - it('should `getIsShowInputs`', () => { - expect(getIsShowInputs(state)).toBeFalsy(); - }); - - it('should `getSearch`', () => { - expect(getSearch(state)).toEqual( - state.currentVersion.inputOutput.search - ); - }); - - it('should `getDataRows`', () => { - expect(getDataRows(state)).toEqual( - state.currentVersion.inputOutput.outputs - ); - }); - - it('should `getTypes`', () => { - expect(getTypes(state)).toEqual(state.currentVersion.inputOutput.types); - }); - - it('should `getError`', () => { - expect(getError(state)).toEqual( - state.currentVersion.inputOutput.error[ - state.currentVersion.inputOutput.current - ] - ); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputActions.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputActions.js deleted file mode 100644 index a9548592..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputActions.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createActions } from 'redux-actions'; - -import { - NAME_MAX_LEN, - NAMESPACE -} from 'features/version/inputOutput/inputOutputConstants'; - -export const { - [NAMESPACE]: { - setInputsOutputs, - changeError, - showInputs, - showOutputs, - search, - add, - changeName, - changeType, - changeMandatory, - remove - } -} = createActions({ - [NAMESPACE]: { - SET_INPUTS_OUTPUTS: undefined, - CHANGE_ERROR: undefined, - SHOW_INPUTS: undefined, - SHOW_OUTPUTS: undefined, - SEARCH: undefined, - ADD: undefined, - CHANGE_NAME: (name, key) => ({ - name: name.substr(0, NAME_MAX_LEN), - key - }), - CHANGE_TYPE: (type, key) => ({ type, key }), - CHANGE_MANDATORY: (mandatory, key) => ({ mandatory, key }), - REMOVE: undefined - } -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputConstants.js deleted file mode 100644 index 30f80a6b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputConstants.js +++ /dev/null @@ -1,39 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -export const NAME_MAX_LEN = 50; - -export const INPUTS = 'inputs'; -export const OUTPUTS = 'outputs'; - -export const STRING = 'string'; -export const DEFAULT_STRING = 'STRING'; -export const BOOLEAN = 'boolean'; -export const INTEGER = 'integer'; -export const FLOAT = 'float'; - -export const NAMESPACE = 'inputOutput'; - -export const SET_INPUTS_OUTPUTS = `${NAMESPACE}/SET_INPUTS_OUTPUTS`; -export const CHANGE_ERROR = `${NAMESPACE}/CHANGE_ERROR`; -export const SHOW_INPUTS = `${NAMESPACE}/SHOW_INPUTS`; -export const SHOW_OUTPUTS = `${NAMESPACE}/SHOW_OUTPUTS`; -export const SEARCH = `${NAMESPACE}/SEARCH`; -export const ADD = `${NAMESPACE}/ADD`; -export const CHANGE_NAME = `${NAMESPACE}/CHANGE_NAME`; -export const CHANGE_TYPE = `${NAMESPACE}/CHANGE_TYPE`; -export const CHANGE_MANDATORY = `${NAMESPACE}/CHANGE_MANDATORY`; -export const REMOVE = `${NAMESPACE}/REMOVE`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputReducer.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputReducer.js deleted file mode 100644 index 881322fa..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputReducer.js +++ /dev/null @@ -1,130 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { - INPUTS, - OUTPUTS, - STRING, - DEFAULT_STRING, - BOOLEAN, - INTEGER, - FLOAT, - SET_INPUTS_OUTPUTS, - CHANGE_ERROR, - SHOW_INPUTS, - SHOW_OUTPUTS, - SEARCH, - ADD, - CHANGE_NAME, - CHANGE_TYPE, - CHANGE_MANDATORY, - REMOVE -} from 'features/version/inputOutput/inputOutputConstants'; - -export const defaultInputOutput = { - [INPUTS]: { - name: '', - type: DEFAULT_STRING, - mandatory: false - }, - [OUTPUTS]: { - name: '', - type: DEFAULT_STRING, - mandatory: false - } -}; - -export const initialState = { - current: INPUTS, - [INPUTS]: [], - [OUTPUTS]: [], - search: '', - types: [STRING, BOOLEAN, INTEGER, FLOAT], - error: { - [INPUTS]: {}, - [OUTPUTS]: {} - } -}; - -const inputOutputReducer = (state = initialState, action) => { - const { type, payload } = action; - switch (type) { - case SET_INPUTS_OUTPUTS: - return { - ...initialState, - ...payload - }; - - case CHANGE_ERROR: - return { - ...state, - error: { - ...state.error, - [state.current]: payload - } - }; - - case SHOW_INPUTS: - return { ...state, current: INPUTS }; - - case SHOW_OUTPUTS: - return { ...state, current: OUTPUTS }; - - case SEARCH: - return { ...state, search: payload }; - - case ADD: - return { - ...state, - [state.current]: [ - ...state[state.current], - defaultInputOutput[state.current] - ] - }; - - /* eslint-disable no-case-declarations */ - case CHANGE_NAME: - case CHANGE_TYPE: - case CHANGE_MANDATORY: - const { key, ...rest } = payload; - return { - ...state, - [state.current]: state[state.current].map( - (row, index) => - key === index - ? { - ...row, - ...rest - } - : row - ) - }; - /* eslint-enable no-case-declarations */ - - case REMOVE: - return { - ...state, - [state.current]: state[state.current].filter( - (_, index) => index !== payload - ) - }; - - default: - return state; - } -}; - -export default inputOutputReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputSelectors.js deleted file mode 100644 index 3a6c9e8f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputSelectors.js +++ /dev/null @@ -1,106 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createSelector } from 'reselect'; -import isEmpty from 'lodash.isempty'; - -import { INPUTS } from 'features/version/inputOutput/inputOutputConstants'; - -export const getInputOutput = state => state.currentVersion.inputOutput; -export const getInputs = createSelector(getInputOutput, data => data.inputs); -export const getOutputs = createSelector(getInputOutput, data => data.outputs); -export const getInputOutputForComposition = state => ({ - inputs: getInputs(state).map(item => ({ - ...item, - type: item.type.toLowerCase() - })), - outputs: getOutputs(state).map(item => ({ - ...item, - type: item.type.toLowerCase() - })) -}); -export const getCurrent = createSelector( - getInputOutput, - inputOutput => inputOutput.current -); - -export const getIsShowInputs = createSelector( - getCurrent, - current => current === INPUTS -); - -export const getSearch = createSelector( - getInputOutput, - inputOutput => inputOutput.search -); - -export const getDataRows = createSelector( - [getInputOutput, getCurrent], - (inputOutput, current) => { - if (inputOutput.search) { - return inputOutput[current].filter(dataRow => - dataRow.name - .toLowerCase() - .includes(inputOutput.search.toLowerCase()) - ); - } - - return inputOutput[current]; - } -); - -export const getTypes = createSelector( - getInputOutput, - inputOutput => inputOutput.types -); - -export const getError = createSelector( - [getInputOutput, getCurrent], - (inputOutput, current) => inputOutput.error[current] -); - -export const getErrorsInputOutput = createSelector( - getInputOutput, - ({ error }) => error -); - -export const getInputErrors = createSelector( - getErrorsInputOutput, - ({ inputs }) => - !isEmpty(inputs) && - Boolean( - inputs.alreadyExists.length || - inputs.invalidCharacters.length || - inputs.emptyName.length - ) -); - -export const getOutputErrors = createSelector( - getErrorsInputOutput, - ({ outputs }) => - !isEmpty(outputs) && - Boolean( - outputs.alreadyExists.length || - outputs.invalidCharacters.length || - outputs.emptyName.length - ) -); - -export const getIOErrors = createSelector( - getInputErrors, - getOutputErrors, - (inputsErrors, outputsErrors) => inputsErrors || outputsErrors -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputValidations.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputValidations.js deleted file mode 100644 index d4057879..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/inputOutputValidations.js +++ /dev/null @@ -1,64 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -export const getValidationsError = dataRows => { - const error = {}; - - const groupBy = dataRows.reduce((result, value, key) => { - const groupKey = value.name.toLowerCase(); - - if (groupKey) { - if (result.hasOwnProperty(groupKey)) { - result[groupKey].push(key); - } else { - result[groupKey] = [key]; - } - } - return result; - }, {}); - - error.alreadyExists = Object.keys(groupBy).reduce((result, value) => { - if (groupBy[value].length > 1) { - result = [...result, ...groupBy[value]]; - } - - return result; - }, []); - - error.emptyName = dataRows.reduce((result, value, key) => { - const name = value.name; - - if (!name) { - result.push(key); - } - - return result; - }, []); - - error.invalidCharacters = dataRows.reduce((result, value, key) => { - const groupKey = value.name; - - if (groupKey) { - if (!/^[\w\d]+$/.test(groupKey)) { - result.push(key); - } - } - - return result; - }, []); - - return error; -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/DataRow.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/DataRow.jsx deleted file mode 100644 index 70103f87..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/DataRow.jsx +++ /dev/null @@ -1,87 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -import { Input, Checkbox, SVGIcon } from 'onap-ui-react'; - -const DataRow = ({ - data: { name, type, mandatory }, - types, - nameErrorMessage, - dataTestId, - handleNameChange, - handleNameBlur, - handleTypeChange, - handleMandatoryChange, - handleRemoveClick -}) => ( - <div className="input-output__tr"> - <div className="input-output__td"> - <Input - errorMessage={nameErrorMessage} - data-test-id={`${dataTestId}-name`} - onChange={handleNameChange} - onBlur={handleNameBlur} - type="text" - value={name} - /> - </div> - <div className="input-output__td"> - <select - className="input-output-select" - value={type} - data-test-id={`${dataTestId}-select`} - onChange={handleTypeChange}> - {types.map((type, i) => ( - <option key={`type.${i}`} value={type.toUpperCase()}> - {type} - </option> - ))} - </select> - </div> - <div className="input-output__td input-output__td--unflex"> - <Checkbox - value="myVal" - data-test-id={`${dataTestId}-mandatory`} - onChange={handleMandatoryChange} - checked={mandatory} - /> - </div> - <div className="input-output__td input-output__td--unflex input-output__td--icon"> - <SVGIcon - name="trashO" - data-test-id={`${dataTestId}-delete`} - onClick={handleRemoveClick} - /> - </div> - </div> -); - -DataRow.propTypes = { - data: PropTypes.object, - types: PropTypes.array, - nameErrorMessage: PropTypes.string, - dataTestId: PropTypes.string, - handleNameChange: PropTypes.func, - handleNameBlur: PropTypes.func, - handleTypeChange: PropTypes.func, - handleMandatoryChange: PropTypes.func, - handleRemoveClick: PropTypes.func -}; - -export default DataRow; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/NoDataRow.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/NoDataRow.jsx deleted file mode 100644 index af75c79e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/NoDataRow.jsx +++ /dev/null @@ -1,32 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -const NoDataRow = ({ children }) => ( - <div className="input-output__tr input-output__tr--no-hover"> - <div className="input-output__td input-output__td--empty"> - {children} - </div> - </div> -); - -NoDataRow.propTypes = { - children: PropTypes.node -}; - -export default NoDataRow; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/Tab.js b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/Tab.js deleted file mode 100644 index ad56dc15..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/Tab.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import cn from 'classnames'; - -const Tab = ({ children, isActive, dataTestId, handleTabClick }) => { - const className = cn('input-output__tab', { - 'input-output__tab--active': isActive - }); - - return ( - <div - className={className} - data-test-id={`${dataTestId}-tab`} - onClick={handleTabClick}> - {children} - </div> - ); -}; - -Tab.propTypes = { - children: PropTypes.node, - isActive: PropTypes.bool, - dataTestId: PropTypes.string, - handleTabClick: PropTypes.func -}; - -export default Tab; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableBody.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableBody.jsx deleted file mode 100644 index ed11bbc5..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableBody.jsx +++ /dev/null @@ -1,50 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -/* eslint-disable no-unused-vars */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import cn from 'classnames'; - -class TableBody extends React.Component { - handleNameInputChange = params => { - console.log('handleNameInputChange', { params }); - }; - - handleMandatoryCheckboxChange = params => { - console.log('handleMandatoryCheckboxChange: ', { params }); - }; - - render() { - const { isReadOnly, children } = this.props; - - return ( - <div - className={cn('input-output__table__tbody', { - disabled: isReadOnly - })}> - {children} - </div> - ); - } -} - -TableBody.propTypes = { - isReadOnly: PropTypes.bool, - children: PropTypes.node -}; - -export default TableBody; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableHead.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableHead.jsx deleted file mode 100644 index 37a8cb43..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/inputOutput/views/TableHead.jsx +++ /dev/null @@ -1,41 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import { Translate } from 'react-redux-i18n'; - -export default class TableHead extends React.Component { - render() { - return ( - <div className="input-output__table__thead"> - <div className="input-output__tr input-output__tr--no-hover"> - <div className="input-output__th"> - <Translate value="workflow.inputOutput.name" /> - </div> - <div className="input-output__th"> - <Translate value="workflow.inputOutput.type" /> - </div> - <div className="input-output__th input-output__th--unflex"> - <Translate value="workflow.inputOutput.mandatory" /> - </div> - <div className="input-output__th input-output__th--unflex input-output__th--icon"> - ••• - </div> - </div> - </div> - ); - } -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionApi.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionApi.js deleted file mode 100644 index b3a2e13a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import RestfulAPIUtil from 'services/restAPIUtil'; -import Configuration from 'config/Configuration.js'; -import { CERTIFY_JSON } from 'features/version/versionController/versionControllerConstants'; - -function baseUrl(workflowId) { - const restPrefix = Configuration.get('restPrefix'); - return `${restPrefix}/workflows/${workflowId}/versions`; -} - -const Api = { - fetchVersion: ({ workflowId, versionId }) => { - return RestfulAPIUtil.fetch(`${baseUrl(workflowId)}/${versionId}`); - }, - createNewVersion: ({ workflowId, baseId, description }) => { - const urlParams = baseId ? `?baseVersionId=${baseId}` : ``; - return RestfulAPIUtil.post(`${baseUrl(workflowId)}${urlParams}`, { - description - }); - }, - updateVersion: ({ workflowId, ...payload }) => { - return RestfulAPIUtil.put( - `${baseUrl(workflowId)}/${payload.params.id}`, - { - ...payload.params - } - ); - }, - fetchVersionArtifact: ({ workflowId, versionId }) => { - return RestfulAPIUtil.fetch( - `${baseUrl(workflowId)}/${versionId}/artifact` - ); - }, - updateVersionArtifact: ({ - workflowId, - versionId, - workflowName, - versionName, - payload - }) => { - let formData = new FormData(); - var blob = new Blob([payload], { type: 'text/xml' }); - formData.append( - 'fileToUpload', - blob, - `${workflowName}-${versionName}.bpmn` - ); - - return RestfulAPIUtil.put( - `${baseUrl(workflowId)}/${versionId}/artifact`, - formData - ); - }, - deleteVersionArtifact: ({ workflowId, versionId }) => { - return RestfulAPIUtil.delete( - `${baseUrl(workflowId)}/${versionId}/artifact` - ); - }, - certifyVersion: ({ workflowId, versionId }) => { - return RestfulAPIUtil.post( - `${baseUrl(workflowId)}/${versionId}/state`, - CERTIFY_JSON - ); - } -}; - -export default Api; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionConstants.js deleted file mode 100644 index 5b945a02..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionConstants.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { createAction } from 'redux-actions'; - -export const SET_CURRENT_VERSION = 'workflow/version/SET_CURRENT_VERSION'; -export const FETCH_REQUESTED = 'workflow/version/FETCH_REQUESTED'; -export const DETAILS_CHANGED = 'workflow/version/DETAILS_CHANGED'; -export const FETCH_REQUESTED_FAILED = 'workflow/version/FETCH_REQUESTED_FAILED'; -export const VERSION_STATE_CHANGED = 'workflow/version/VERSION_STATE_CHANGED'; -export const TOGGLE_COMPOSITION_UPDATE = - 'workflow/version/TOGGLE_COMPOSITION_UPDATE'; -export const SET_OPERRATION_MODE = 'workflow/version/SET_OPERRATION_MODE'; - -export const workflowVersionFetchRequestedAction = createAction( - FETCH_REQUESTED -); - -export const workflowVersionDetailsChangedAction = createAction( - DETAILS_CHANGED -); - -export const setWorkflowVersionAction = createAction(SET_CURRENT_VERSION); -export const fetchWorkflowVersionActionFailed = createAction( - FETCH_REQUESTED_FAILED, - error => error -); - -export const versionStateChangedAction = createAction( - VERSION_STATE_CHANGED, - payload => payload -); - -export const toggleCompositionUpdate = createAction( - TOGGLE_COMPOSITION_UPDATE, - payload => ({ isCompositionUpdating: payload }) -); - -export const setOperationModeAction = createAction(SET_OPERRATION_MODE); - -export const getIsCompositionUpdating = state => - state.currentVersion.general.isCompositionUpdating; - -export const versionState = { - DRAFT: 'draft', - CERTIFIED: 'certified' -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionController.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionController.js deleted file mode 100644 index 8c37a0e3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionController.js +++ /dev/null @@ -1,73 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { connect } from 'react-redux'; -import { getSavedObjParams } from 'features/version/versionController/versionControllerSelectors'; -import VersionControllerView from 'features/version/versionController/VersionControllerView'; -import { - getVersions, - getSortedVersions -} from 'features/workflow/overview/overviewSelectors'; -import { - isWorkflowArchive, - getWorkflowId, - getWorkflowName -} from 'features/workflow/workflowSelectors'; -import { - saveParamsAction, - certifyVersionAction -} from 'features/version/versionController/versionControllerConstants'; -import { - workflowVersionFetchRequestedAction, - toggleCompositionUpdate, - getIsCompositionUpdating -} from 'features/version/versionConstants'; -import { getIsCertified } from 'features/version/general/generalSelectors'; -import { getIOErrors } from 'features/version/inputOutput/inputOutputSelectors'; -import { getCompositionHasErrors } from 'features/version/composition/compositionSelectors'; -import { pluginContextSelector } from 'wfapp/pluginContext/pluginContextSelector'; - -function mapStateToProps(state) { - return { - workflowName: getWorkflowName(state), - workflowId: getWorkflowId(state), - versionsList: getSortedVersions(state), - savedParams: getSavedObjParams(state), - hasErrors: getIOErrors(state) || getCompositionHasErrors(state), - isCertifyDisable: getIsCertified(state), - isArchive: isWorkflowArchive(state), - currentWorkflowVersion: state.currentVersion.general, - pluginContext: pluginContextSelector(state), - isCompositionUpdating: getIsCompositionUpdating(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - getVersions: () => dispatch(getVersions), - saveParamsToServer: params => dispatch(saveParamsAction(params)), - certifyVersion: payload => dispatch(certifyVersionAction(payload)), - changeVersion: payload => - dispatch(workflowVersionFetchRequestedAction(payload)), - toggleCompositionUpdate: payload => - dispatch(toggleCompositionUpdate(payload)) - }; -} - -export default connect( - mapStateToProps, - mapDispatchToProps -)(VersionControllerView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionControllerView.jsx b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionControllerView.jsx deleted file mode 100644 index 730d92fb..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/VersionControllerView.jsx +++ /dev/null @@ -1,171 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; - -import ActionButtons from 'features/version/versionController/views/ActionButtons'; -import OperationModeButtons from 'features/version/versionController/views/OperationModeButtons'; -import VersionContainer from 'features/version/versionController/views/VersionsContainer'; -import WorkflowTitle from 'features/version/versionController/views/WorkflowTitle'; -import { PluginPubSub } from 'shared/pubsub/plugin-pubsub.ts'; -import { - notificationType, - CATALOG_PATH -} from 'wfapp/pluginContext/pluginContextConstants'; -export default class VersionControllerView extends Component { - static propTypes = { - location: PropTypes.object, - workflowName: PropTypes.string, - currentWorkflowVersion: PropTypes.object, - viewableVersions: PropTypes.arrayOf(Object), - getVersions: PropTypes.func, - versionsList: PropTypes.array, - history: PropTypes.object, - getOverview: PropTypes.func, - match: PropTypes.object, - savedParams: PropTypes.object, - saveParamsToServer: PropTypes.func, - workflowId: PropTypes.string, - certifyVersion: PropTypes.func, - changeVersion: PropTypes.func, - isCertifyDisable: PropTypes.bool, - hasErrors: PropTypes.bool, - isArchive: PropTypes.bool, - operationMode: PropTypes.bool, - pluginContext: PropTypes.object, - isCompositionUpdating: PropTypes.bool, - toggleCompositionUpdate: PropTypes.func - }; - - constructor(props) { - super(props); - } - - routeToOverview = () => { - const { history, match } = this.props; - const workflowId = match.params.workflowId; - history.push(`/workflows/workflow/${workflowId}/overview`); - }; - - sendSaveParamsToServer = () => { - const { - savedParams, - saveParamsToServer, - workflowId, - workflowName - } = this.props; - saveParamsToServer({ params: savedParams, workflowId, workflowName }); - }; - handleSendMsgToCatalog = () => { - const { - pluginContext: { eventsClientId, parentUrl }, - workflowId, - isCertifyDisable - } = this.props; - const client = new PluginPubSub(eventsClientId, parentUrl); - client.notify(notificationType.CLOSE, { - isCompleted: isCertifyDisable, - workflowId, - path: CATALOG_PATH - }); - }; - certifyVersion = () => { - const { - certifyVersion, - workflowId, - currentWorkflowVersion, - savedParams, - workflowName - } = this.props; - certifyVersion({ - workflowId, - workflowName, - versionId: currentWorkflowVersion.id, - params: savedParams - }); - }; - - versionChangeCallback = versionId => { - const { changeVersion, workflowId } = this.props; - changeVersion({ versionId, workflowId }); - }; - - undoClickCallback = () => { - const { - currentWorkflowVersion, - changeVersion, - workflowId - } = this.props; - changeVersion({ versionId: currentWorkflowVersion.id, workflowId }); - }; - - render() { - const { - currentWorkflowVersion, - workflowName, - versionsList, - hasErrors, - isCertifyDisable, - isArchive, - operationMode, - isCompositionUpdating, - toggleCompositionUpdate - } = this.props; - const isReadonly = isCertifyDisable || hasErrors || isArchive; - return ( - <div className="version-controller-bar"> - <WorkflowTitle workflowName={workflowName} /> - <div - className={`vc-container ${ - operationMode ? 'vs-container-operation' : '' - }`}> - {!operationMode && ( - <VersionContainer - currentWorkflowVersion={currentWorkflowVersion} - viewableVersions={versionsList} - onOverviewClick={this.routeToOverview} - onVersionSelectChange={this.versionChangeCallback} - isArchive={isArchive} - /> - )} - {operationMode && ( - <OperationModeButtons - sendMsgToCatalog={this.handleSendMsgToCatalog} - saveDisabled={isReadonly} - onSaveClick={this.sendSaveParamsToServer} - onCertifyClick={this.certifyVersion} - /> - )} - {!operationMode && ( - <ActionButtons - isCompositionUpdating={isCompositionUpdating} - saveDisabled={isReadonly} - onSaveClick={this.sendSaveParamsToServer} - certifyDisabled={isReadonly} - onCertifyClick={this.certifyVersion} - onUndoClick={this.undoClickCallback} - toggleCompositionUpdate={toggleCompositionUpdate} - /> - )} - </div> - </div> - ); - } -} - -VersionControllerView.defaultProps = { - getVersions: () => {} -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js deleted file mode 100644 index 2bcfa300..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import renderer from 'react-test-renderer'; - -import VersionsContainer from 'features/version/versionController/views/VersionsContainer'; - -describe('Version Controller View Snapshot', () => { - it('renders correctly', () => { - const versionList = [ - { - id: '7b5f6b086613470985082df2c0f6c713', - name: '1.0', - description: - 'Initial version, bug fix for previous version that fixed an exception when the port was occupied', - status: 'Draft', - state: 'Draft', - creationTime: 1530687330460, - modificationTime: 1530687330575, - archivedStatus: 'ACTIVE' - }, - { - id: '7b5f6b086613470985082df2c0f6c666', - name: '2.0', - description: - 'Test version, bug fix for previous version that fixed an exception when the port was occupied', - status: 'Draft', - state: 'Draft', - creationTime: 1530687330461, - modificationTime: 1530687330576, - archivedStatus: 'ACTIVE', - baseId: '7b5f6b086613470985082df2c0f6c713' - } - ]; - const tree = renderer - .create( - <VersionsContainer - viewableVersions={versionList} - currentWorkflowVersion={versionList[0]} - /> - ) - .toJSON(); - - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/__snapshots__/VersionControllerView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/__snapshots__/VersionControllerView_snapshot-test.js.snap deleted file mode 100644 index ea135fce..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/__snapshots__/VersionControllerView_snapshot-test.js.snap +++ /dev/null @@ -1,39 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Version Controller View Snapshot renders correctly 1`] = ` -<div - className="version-section-wrapper" -> - <div - className="version-status-container" - > - version - <select - className="version-selector" - data-test-id="vc-versions-select-box" - onChange={[Function]} - value="7b5f6b086613470985082df2c0f6c713" - > - <option - data-test-id="vc-version-option" - value="7b5f6b086613470985082df2c0f6c713" - > - 1.0 DRAFT - </option> - <option - data-test-id="vc-version-option" - value="7b5f6b086613470985082df2c0f6c666" - > - 2.0 Draft - </option> - </select> - <span - className="version-selector-more-versions" - data-test-id="vc-versions-page-link" - onClick={undefined} - > - viewOverview - </span> - </div> -</div> -`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerConstants.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerConstants.js deleted file mode 100644 index 57aef602..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerConstants.js +++ /dev/null @@ -1,29 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createAction } from 'redux-actions'; -export const SAVE_ACTION = 'versionController/SAVE'; -export const CERTIFY_ACTION = 'versionController/CERTIFY'; -export const UNDO_ACTION = 'versionController/UNDO'; -export const CERTIFY_JSON = { - name: 'CERTIFIED' -}; - -export const saveParamsAction = createAction(SAVE_ACTION, payload => payload); -export const certifyVersionAction = createAction( - CERTIFY_ACTION, - payload => payload -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerSelectors.js deleted file mode 100644 index 19c8bdc2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/versionControllerSelectors.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createSelector } from 'reselect'; -import { - getInputs, - getOutputs -} from 'features/version/inputOutput/inputOutputSelectors'; -import { getVersionInfo } from 'features/version/general/generalSelectors'; -import { getComposition } from 'features/version/composition/compositionSelectors'; - -export const getSavedObjParams = createSelector( - getOutputs, - getInputs, - getComposition, - getVersionInfo, - (outputs, inputs, composition, general) => ({ - outputs, - inputs, - composition, - ...general - }) -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/ActionButtons.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/ActionButtons.js deleted file mode 100644 index 0a9c2b1a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/ActionButtons.js +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import { I18n } from 'react-redux-i18n'; -import { Button } from 'onap-ui-react'; -import PropTypes from 'prop-types'; -import SvgButton from 'features/version/versionController/views/SvgButton'; -import CompositionUpdate from 'features/version/composition/CompositionUpdate'; - -const ActionButtons = props => { - const { - onSaveClick, - certifyDisabled, - onCertifyClick, - isCompositionUpdating, - toggleCompositionUpdate, - onUndoClick, - saveDisabled - } = props; - - return ( - <div className="save-submit-cancel-container"> - <div className="action-buttons"> - <div className="select-action-buttons"> - <div className={'separator vc-separator'} /> - <SvgButton - dataTestId="vc-save-btn" - name="version-controller-save" - tooltipText={I18n.t('buttons.saveBtn')} - disabled={saveDisabled} - onClick={onSaveClick} - /> - - <div className={'separator vc-separator'} /> - - <SvgButton - dataTestId="vc-undo-btn" - name="version-controller-undo" - tooltipText={I18n.t('buttons.undoBtn')} - disabled={certifyDisabled} - onClick={onUndoClick} - /> - - <div className={'separator vc-separator'} /> - - <Button - className="certifyBtn" - btnType="primary" - disabled={certifyDisabled} - onClick={() => toggleCompositionUpdate(true)}> - {I18n.t('buttons.certifyBtn')} - </Button> - - {isCompositionUpdating && ( - <CompositionUpdate - certifyBack={() => { - toggleCompositionUpdate(false); - onCertifyClick(); - }} - /> - )} - </div> - </div> - </div> - ); -}; - -ActionButtons.propTypes = { - onSaveClick: PropTypes.func, - certifyDisabled: PropTypes.bool, - onCertifyClick: PropTypes.func, - onUndoClick: PropTypes.func, - saveDisabled: PropTypes.bool, - isCompositionUpdating: PropTypes.bool, - toggleCompositionUpdate: PropTypes.func -}; - -export default ActionButtons; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/OperationModeButtons.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/OperationModeButtons.js deleted file mode 100644 index 4d992adc..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/OperationModeButtons.js +++ /dev/null @@ -1,70 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import { I18n } from 'react-redux-i18n'; -import { Button } from 'onap-ui-react'; -import PropTypes from 'prop-types'; -import SvgButton from 'features/version/versionController/views/SvgButton'; - -const OperationModeButtons = props => { - const { - onSaveClick, - saveDisabled, - sendMsgToCatalog, - onCertifyClick - } = props; - return ( - <div className="save-submit-cancel-container"> - <div className="action-buttons"> - <div className="select-action-buttons"> - <SvgButton - dataTestId="vc-save-btn" - name="version-controller-save" - tooltipText={I18n.t('buttons.saveBtn')} - disabled={saveDisabled} - onClick={onSaveClick} - /> - - <Button - disabled={saveDisabled} - className="certifyBtn" - btnType="primary" - onClick={onCertifyClick}> - {I18n.t('buttons.completeBtn')} - </Button> - - <SvgButton - tooltipText={I18n.t('buttons.backToCatalog')} - className="vs-back-btn" - dataTestId="vc-back-btn" - name="upload" - onClick={sendMsgToCatalog} - /> - </div> - </div> - </div> - ); -}; - -OperationModeButtons.propTypes = { - onSaveClick: PropTypes.func, - saveDisabled: PropTypes.bool, - sendMsgToCatalog: PropTypes.func, - onCertifyClick: PropTypes.func -}; - -export default OperationModeButtons; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js deleted file mode 100644 index 41bdeb81..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import { SVGIcon } from 'onap-ui-react'; -import PropTypes from 'prop-types'; - -const SvgButton = props => { - const { - className = '', - name, - tooltipText, - disabled, - onClick, - dataTestId, - actiontype - } = props; - let onClickAction = disabled ? () => {} : () => onClick(actiontype); - return ( - <div - className={`action-button-wrapper ${ - disabled ? 'disabled' : 'clickable' - }`} - onClick={onClickAction}> - <div className="action-buttons-svg"> - <SVGIcon - className={className} - label={tooltipText} - labelPosition="bottom" - labelClassName="action-button-label" - data-test-id={dataTestId} - name={name} - disabled={disabled} - /> - </div> - </div> - ); -}; - -SvgButton.propTypes = { - name: PropTypes.string, - tooltipText: PropTypes.string, - disabled: PropTypes.bool, - onClick: PropTypes.func, - dataTestId: PropTypes.string, - actiontype: PropTypes.string, - className: PropTypes.string -}; - -export default SvgButton; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionButton.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionButton.js deleted file mode 100644 index 19e148cb..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionButton.js +++ /dev/null @@ -1,38 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import { Button } from 'onap-ui-react'; -import { I18n } from 'react-redux-i18n'; -import PropTypes from 'prop-types'; - -const VersionButton = props => { - const { onClick, actiontype } = props; - let onClickAction = () => onClick(actiontype); - return ( - <div> - <Button btnType="primary" onClick={onClickAction}> - {I18n.t('buttons.certifyBtn')} - </Button> - </div> - ); -}; - -VersionButton.propTypes = { - onClick: PropTypes.func, - actiontype: PropTypes.string -}; - -export default VersionButton; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionSelect.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionSelect.js deleted file mode 100644 index d8a6d02e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionSelect.js +++ /dev/null @@ -1,69 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import isEmpty from 'lodash.isempty'; - -const VersionSelect = props => { - const { - currentWorkflowVersion, - viewableVersions, - onVersionSelectChange - } = props; - - function onChangeHandler(ev) { - const versionIndex = Object.keys(viewableVersions).find( - key => viewableVersions[key].id === ev.target.value - ); - const currentVersion = viewableVersions[versionIndex].id; - onVersionSelectChange(currentVersion); - } - - return ( - <select - className="version-selector" - key={'selector'} - value={currentWorkflowVersion.id} - onChange={onChangeHandler} - data-test-id="vc-versions-select-box"> - {!isEmpty(viewableVersions) && - viewableVersions.map(item => { - const displayedName = `${item.name} ${ - currentWorkflowVersion.id === item.id - ? currentWorkflowVersion.state.toUpperCase() - : item.state - }`; - return ( - <option - key={'versionSelect' + item.id} - value={item.id} - data-test-id="vc-version-option"> - {displayedName} - </option> - ); - })} - </select> - ); -}; - -VersionSelect.propTypes = { - currentWorkflowVersion: PropTypes.object, - viewableVersions: PropTypes.arrayOf(Object), - onVersionSelectChange: PropTypes.func -}; - -export default VersionSelect; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionsContainer.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionsContainer.js deleted file mode 100644 index c84ab31d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/VersionsContainer.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import VersionSelect from 'features/version/versionController/views/VersionSelect'; -import { I18n } from 'react-redux-i18n'; -import PropTypes from 'prop-types'; -import ArchiveLabel from 'shared/archiveLabel/ArchiveLabel'; - -const VersionContainer = props => { - const { - currentWorkflowVersion, - viewableVersions, - onOverviewClick, - onVersionSelectChange, - isArchive - } = props; - - return ( - <div className="version-section-wrapper"> - <div className="version-status-container"> - {I18n.t('workflow.version')} - <VersionSelect - currentWorkflowVersion={currentWorkflowVersion} - viewableVersions={viewableVersions} - onVersionSelectChange={onVersionSelectChange} - /> - <span - className="version-selector-more-versions" - data-test-id="vc-versions-page-link" - onClick={onOverviewClick}> - {I18n.t('workflow.overview.viewOverview')} - </span> - {isArchive && <ArchiveLabel />} - </div> - </div> - ); -}; - -VersionContainer.propTypes = { - currentWorkflowVersion: PropTypes.object, - viewableVersions: PropTypes.arrayOf(Object), - onOverviewClick: PropTypes.func, - onVersionSelectChange: PropTypes.func, - isArchive: PropTypes.bool -}; - -export default VersionContainer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/WorkflowTitle.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/WorkflowTitle.js deleted file mode 100644 index 230ecf08..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/WorkflowTitle.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; - -const WorkflowTitle = props => { - const { workflowName } = props; - return ( - <div className="version-section-wrapper"> - <div className="group-name-wrapper"> - <div className="group-name">{workflowName || ''}</div> - </div> - </div> - ); -}; - -WorkflowTitle.propTypes = { - workflowName: PropTypes.string -}; - -export default WorkflowTitle; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionModeReducer.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionModeReducer.js deleted file mode 100644 index 9d4d67ea..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionModeReducer.js +++ /dev/null @@ -1,10 +0,0 @@ -import { SET_OPERRATION_MODE } from './versionConstants'; - -export default (state = false, action) => { - switch (action.type) { - case SET_OPERRATION_MODE: - return true; - default: - return state; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionReducer.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionReducer.js deleted file mode 100644 index d05af2d7..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionReducer.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { - SET_CURRENT_VERSION, - DETAILS_CHANGED, - VERSION_STATE_CHANGED, - TOGGLE_COMPOSITION_UPDATE -} from 'features/version/versionConstants'; - -const initialState = { - isCompositionUpdating: false -}; - -function versionReducer(state = initialState, action) { - switch (action.type) { - case SET_CURRENT_VERSION: - return action.payload; - case DETAILS_CHANGED: - return { - ...state, - ...action.payload - }; - case VERSION_STATE_CHANGED: - return { - ...state, - ...action.payload - }; - case TOGGLE_COMPOSITION_UPDATE: - return { - ...state, - isCompositionUpdating: action.payload.isCompositionUpdating - }; - default: - return state; - } -} - -export default versionReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionSaga.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionSaga.js deleted file mode 100644 index 56dd7a5d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/version/versionSaga.js +++ /dev/null @@ -1,167 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { all, call, put, takeEvery, takeLatest } from 'redux-saga/effects'; -import { I18n } from 'react-redux-i18n'; - -import { genericNetworkErrorAction } from 'src/appConstants'; -import { - setWorkflowVersionAction, - versionStateChangedAction, - FETCH_REQUESTED -} from 'features/version/versionConstants'; -import { setInputsOutputs } from 'features/version/inputOutput/inputOutputActions'; -import { SUBMIT_VERSION } from 'features/version/create/createVersionConstants'; -import { - SAVE_ACTION, - CERTIFY_ACTION -} from 'features/version/versionController/versionControllerConstants'; -import versionApi from 'features/version/versionApi'; -import { notificationActions } from 'shared/notifications/notificationsActions'; -import { versionState } from 'features/version/versionConstants'; -import overviewApi from '../workflow/overview/overviewApi'; -import { versionListFetchAction } from '../workflow/overview/overviewConstansts'; -import { - updateComposition, - deleteCompositionArtifact -} from 'features/version/composition/compositionActions'; -import { getActivitiesList } from 'features/activities/activitiesActions'; - -/** - * Composition validation - converting artifact string to xml - * and checking if bpmn diagram has only one child - * @param composition - * @returns {boolean} - */ -function validateCurrentArtifact(composition) { - const parser = new DOMParser(); - const xml = parser.parseFromString(composition, 'text/xml'); - return Boolean( - xml.getElementsByTagName('bpmndi:BPMNPlane').BPMNPlane_1.children.length - ); -} - -function* fetchVersion(action) { - try { - yield put(getActivitiesList()); - const data = yield call(versionApi.fetchVersion, action.payload); - const { inputs, outputs, ...rest } = data; - let composition; - - if (rest.hasArtifact) { - composition = yield call( - versionApi.fetchVersionArtifact, - action.payload - ); - } else { - //Clearing the store from old artifact using init the default - yield put(deleteCompositionArtifact()); - } - yield all([ - put(setWorkflowVersionAction(rest)), - put(setInputsOutputs({ inputs, outputs })), - composition && put(updateComposition(composition)) - ]); - } catch (error) { - yield put(genericNetworkErrorAction(error)); - } -} - -function* watchSubmitVersion(action) { - try { - const { workflowId, history } = action.payload; - const data = yield call(versionApi.createNewVersion, action.payload); - const versions = yield call(overviewApi.getVersions, workflowId); - yield put(versionListFetchAction(versions)); - yield call( - history.push(`/workflows/workflow/${workflowId}/version/${data.id}`) - ); - } catch (error) { - yield put(genericNetworkErrorAction(error)); - } -} - -function* watchUpdateVersion(action) { - try { - const { - workflowId, - workflowName, - params: { composition, ...versionData } - } = action.payload; - const isArtifactValid = validateCurrentArtifact(composition); - yield call(versionApi.updateVersion, { - workflowId, - params: versionData - }); - yield put( - notificationActions.showSuccess({ - title: I18n.t('workflow.confirmationMessages.updateTitle'), - message: I18n.t('workflow.confirmationMessages.updateMessage') - }) - ); - if (isArtifactValid) { - yield call(versionApi.updateVersionArtifact, { - workflowId, - workflowName, - versionName: versionData.name.split('.').join('_'), - versionId: versionData.id, - payload: composition - }); - } else { - yield call(versionApi.deleteVersionArtifact, { - workflowId, - versionId: versionData.id - }); - } - return isArtifactValid; - } catch (error) { - yield put(genericNetworkErrorAction(error)); - } -} - -function* watchCertifyVersion(action) { - try { - const isArtifactValid = yield call(watchUpdateVersion, action); - if (!isArtifactValid) - throw new Error('Could not update empty artifact'); - yield call(versionApi.certifyVersion, { - ...action.payload - }); - yield put(versionStateChangedAction({ state: versionState.CERTIFIED })); - yield put( - notificationActions.showSuccess({ - title: I18n.t('workflow.confirmationMessages.certifyTitle'), - message: I18n.t('workflow.confirmationMessages.certifyMessage') - }) - ); - } catch (error) { - yield put( - notificationActions.showError({ - title: I18n.t('workflow.confirmationMessages.certifyTitle'), - message: I18n.t('workflow.composition.certifyArtifact') - }) - ); - yield put(genericNetworkErrorAction(error)); - } -} - -function* versionSaga() { - yield takeLatest(FETCH_REQUESTED, fetchVersion); - yield takeEvery(SUBMIT_VERSION, watchSubmitVersion); - yield takeEvery(SAVE_ACTION, watchUpdateVersion); - yield takeEvery(CERTIFY_ACTION, watchCertifyVersion); -} - -export default versionSaga; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflow.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflow.js deleted file mode 100644 index 190677fe..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflow.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { connect } from 'react-redux'; -import { withRouter } from 'react-router-dom'; - -import { i18nSelector } from 'wfapp/appSelectors'; -import { hideModalAction } from 'shared/modal/modalWrapperActions'; -import CreateWorkflowView from 'features/workflow/create/CreateWorkflowView'; -import { getWorkflowParams } from 'features/workflow/create/createWorkflowSelector'; -import { - getWorkflowDescription, - getWorkflowName -} from 'features/workflow/workflowSelectors'; -import { - inputChangeAction, - submitWorkflowAction, - clearValidationError -} from 'features/workflow/create/createWorkflowConstants'; -import { clearWorkflowAction } from 'features/workflow/workflowConstants'; - -function mapStateToProps(state) { - return { - translation: i18nSelector(state), - workflowDescription: getWorkflowDescription(state), - workflowName: getWorkflowName(state), - workflowParams: getWorkflowParams(state), - errorMessage: state.workflow.data.error - }; -} - -function mapDispatchToProps(dispatch) { - return { - submitWorkflow: payload => { - dispatch(submitWorkflowAction(payload)); - }, - closeCreateWorkflowModal: () => dispatch(hideModalAction()), - clearValidationError: () => dispatch(clearValidationError()), - workflowInputChange: payload => dispatch(inputChangeAction(payload)), - clearWorkflow: () => dispatch(clearWorkflowAction) - }; -} - -export default withRouter( - connect( - mapStateToProps, - mapDispatchToProps - )(CreateWorkflowView) -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflowView.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflowView.jsx deleted file mode 100644 index 9af92dbb..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/CreateWorkflowView.jsx +++ /dev/null @@ -1,101 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { Input, Button } from 'onap-ui-react'; -import { I18n } from 'react-redux-i18n'; -import Description from 'shared/components/Description'; - -class CreateWorkflowView extends Component { - static propTypes = { - submitWorkflow: PropTypes.func, - workflowInputChange: PropTypes.func, - workflowDescription: PropTypes.string, - workflowName: PropTypes.string, - closeCreateWorkflowModal: PropTypes.func, - workflowParams: PropTypes.object, - history: PropTypes.object, - errorMessage: PropTypes.string, - clearValidationError: PropTypes.func, - clearWorkflow: PropTypes.func - }; - - componentDidMount() { - const { clearValidationError, clearWorkflow } = this.props; - clearValidationError(); - clearWorkflow(); - } - handleSubmitForm = e => { - e.preventDefault(); - const { workflowParams, history, submitWorkflow } = this.props; - submitWorkflow({ ...workflowParams, history }); - }; - - render() { - const { - workflowInputChange, - workflowDescription, - workflowName, - closeCreateWorkflowModal, - errorMessage - } = this.props; - return ( - <form onSubmit={this.handleSubmitForm} autoComplete="off"> - <div className="new-workflow-page custom-modal-wrapper"> - <div className="form-custom-modal"> - <Input - name="workflowName" - value={workflowName || ''} - type="text" - label={I18n.t('workflow.general.name')} - onChange={val => - workflowInputChange({ - name: val - }) - } - errorMessage={errorMessage} - isRequired - /> - <Description - value={workflowDescription || ''} - label={I18n.t('workflow.general.description')} - onDataChange={workflowInputChange} - /> - </div> - <div className="modal-action-bar sdc-modal__footer"> - <Button btnType="primary"> - {I18n.t('buttons.createBtn')} - </Button> - <Button - btnType="secondary" - onClick={closeCreateWorkflowModal}> - {I18n.t('buttons.closeBtn')} - </Button> - </div> - </div> - </form> - ); - } -} - -CreateWorkflowView.defaultProps = { - submitWorkflow: () => {}, - workflowInputChange: () => {}, - closeCreateWorkflowModal: () => {}, - clearWorkflow: () => {} -}; - -export default CreateWorkflowView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/CreateWorkflowView_snapshot-test.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/CreateWorkflowView_snapshot-test.js deleted file mode 100644 index e34cea96..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/CreateWorkflowView_snapshot-test.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -'use strict'; - -import React from 'react'; -import renderer from 'react-test-renderer'; - -import CreateWorkflowView from 'features/workflow/create/CreateWorkflowView'; - -describe('New Workflow View Snapshot', () => { - it('renders correctly', () => { - const tree = renderer - .create( - <CreateWorkflowView - clearValidationError={() => {}} - clearWorkflow={() => {}} - /> - ) - .toJSON(); - - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap deleted file mode 100644 index e26da0d3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap +++ /dev/null @@ -1,83 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`New Workflow View Snapshot renders correctly 1`] = ` -<form - autoComplete="off" - onSubmit={[Function]} -> - <div - className="new-workflow-page custom-modal-wrapper" - > - <div - className="form-custom-modal" - > - <div - className="sdc-input " - > - <label - className="sdc-input__label required" - htmlFor="workflowName" - > - name - </label> - <div - className="sdc-input-wrapper" - > - <input - className="sdc-input__input " - data-test-id={undefined} - disabled={false} - id="workflowName" - name="workflowName" - onBlur={[Function]} - onChange={[Function]} - onKeyDown={[Function]} - placeholder={undefined} - readOnly={false} - type="text" - value="" - /> - </div> - </div> - <div - className="description-part" - > - <div - className="sdc-textarea" - > - <div - className="sdc-textarea__label" - > - description - </div> - <textarea - className="custom-textarea field-section sdc-textarea__textarea" - data-test-id="description" - disabled={false} - onChange={[Function]} - value={undefined} - /> - </div> - </div> - </div> - <div - className="modal-action-bar sdc-modal__footer" - > - <button - className="sdc-button sdc-button__primary " - disabled={false} - onClick={undefined} - > - createBtn - </button> - <button - className="sdc-button sdc-button__secondary " - disabled={false} - onClick={[Function]} - > - closeBtn - </button> - </div> - </div> -</form> -`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSaga-test.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSaga-test.js deleted file mode 100644 index 244a66de..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSaga-test.js +++ /dev/null @@ -1,76 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { call, takeEvery } from 'redux-saga/effects'; -import { - watchWorkflow, - watchSubmitWorkflow -} from 'features/workflow/create/createWorkflowSaga'; -import { put } from 'redux-saga/effects'; -import newWorkflowApi from 'features/workflow/create/createWorkflowApi'; -import { SUBMIT_WORKFLOW } from 'features/workflow/create/createWorkflowConstants'; -import { submitVersionAction } from 'features/version/create/createVersionConstants'; -import { NEW_VERSION } from 'features/workflow/create/createWorkflowConstants'; -import { - setWorkflowAction, - clearWorkflowAction -} from 'features/workflow/workflowConstants'; -import { genericNetworkErrorAction } from 'wfapp/appConstants'; - -describe('New workflow saga test', () => { - it('Create new workflow', () => { - const gen = watchWorkflow(); - expect(gen.next().value).toEqual( - takeEvery(SUBMIT_WORKFLOW, watchSubmitWorkflow) - ); - expect(gen.next().done).toEqual(true); - }); - - it('Submit new workflow', () => { - const action = { - payload: { - name: 'workflow1', - description: 'description' - } - }; - const gen = watchSubmitWorkflow(action); - - /** - * expecting the error message to return as undefined - * from validateNameField method - */ - expect(gen.next().value).toEqual(undefined); - expect(gen.next().value).toEqual( - call(newWorkflowApi.createNewWorkflow, action.payload) - ); - const history = undefined, - workflowId = undefined; - expect(gen.next(action.payload).value).toEqual( - put(submitVersionAction({ history, workflowId, ...NEW_VERSION })) - ); - expect(gen.next().value).toEqual( - put(setWorkflowAction({ ...action.payload, id: undefined })) - ); - //handling errors - expect(gen.throw({ error: 'error' }).value).toEqual( - put(clearWorkflowAction) - ); - expect(gen.next().value).toEqual( - put(genericNetworkErrorAction({ error: 'error' })) - ); - expect(gen.next().done).toBe(true); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSelector-test.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSelector-test.js deleted file mode 100644 index 909c876a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/createWorkflowSelector-test.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; -import { - getWorkflowName, - getWorkflowDescription -} from 'features/workflow/workflowSelectors'; -import { getWorkflowParams } from 'features/workflow/create/createWorkflowSelector'; - -describe('New workflow selectors', () => { - const workflow = { - data: { - name: 'workflow1', - description: 'description' - } - }; - - it('return workflow name', () => { - const state = { workflow }; - expect(getWorkflowName(state)).toEqual(workflow.data.name); - }); - - it('return workflow description', () => { - const state = { workflow }; - expect(getWorkflowDescription(state)).toEqual( - workflow.data.description - ); - }); - - it('return workflow server params', () => { - const state = { workflow }; - expect(getWorkflowParams(state)).toEqual({ - name: getWorkflowName(state), - description: getWorkflowDescription(state) - }); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowApi.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowApi.js deleted file mode 100644 index b97226a3..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowApi.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import RestfulAPIUtil from 'services/restAPIUtil'; -import Configuration from 'config/Configuration.js'; - -function baseUrl() { - const restPrefix = Configuration.get('restPrefix'); - return `${restPrefix}/workflows/`; -} - -const Api = { - createNewWorkflow: data => { - return RestfulAPIUtil.post(baseUrl(), data); - } -}; - -export default Api; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowConstants.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowConstants.js deleted file mode 100644 index de18a1b4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowConstants.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -export const NEW_VERSION = { - baseId: null, - description: null -}; -export const MIN_NAME_LENGTH = 6; -export const MAX_NAME_LENGTH = 40; -export const CHARS_VALIDATION_EXP = /^[\w\s\d]+$/; -export const WORKFLOW_INPUT_CHANGE = 'createWorkflow/INPUT_CHANGE'; -export const SUBMIT_WORKFLOW = 'createWorkflow/SUBMIT_WORKFLOW'; -export const VALIDATION_ERROR = 'createWorkflow/VALIDATION_ERROR'; -export const CLEAR_VALIDATION_ERROR = 'createWorkflow/CLEAR_VALIDATION_ERROR'; - -export const inputChangeAction = payload => ({ - type: WORKFLOW_INPUT_CHANGE, - payload -}); - -export const submitWorkflowAction = payload => ({ - type: SUBMIT_WORKFLOW, - payload -}); - -export const putValidationError = payload => ({ - type: VALIDATION_ERROR, - payload -}); - -export const clearValidationError = () => ({ type: CLEAR_VALIDATION_ERROR }); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSaga.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSaga.js deleted file mode 100644 index e918556b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSaga.js +++ /dev/null @@ -1,79 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { takeEvery, call, put } from 'redux-saga/effects'; -import { I18n } from 'react-redux-i18n'; - -import { - SUBMIT_WORKFLOW, - NEW_VERSION, - MAX_NAME_LENGTH, - MIN_NAME_LENGTH, - CHARS_VALIDATION_EXP, - putValidationError -} from 'features/workflow/create/createWorkflowConstants'; -import { - setWorkflowAction, - clearWorkflowAction -} from 'features/workflow/workflowConstants'; -import { hideModalAction } from 'shared/modal/modalWrapperActions'; -import newWorkflowApi from 'features/workflow/create/createWorkflowApi'; -import { genericNetworkErrorAction } from 'wfapp/appConstants'; -import { submitVersionAction } from 'features/version/create/createVersionConstants'; - -export function* watchSubmitWorkflow(action) { - try { - const { name } = action.payload; - const validationError = yield validateNameField(name); - if (validationError) { - yield put(putValidationError(validationError)); - } else { - const workflow = yield call( - newWorkflowApi.createNewWorkflow, - action.payload - ); - //Calling to create empty version - const workflowId = workflow.id; - const { history } = action.payload; - yield put( - submitVersionAction({ history, workflowId, ...NEW_VERSION }) - ); - yield put(setWorkflowAction(workflow)); - yield put(hideModalAction()); - } - } catch (error) { - yield put(clearWorkflowAction); - yield put(genericNetworkErrorAction(error)); - } -} - -export function validateNameField(name) { - let errorMessage; - if (!name) { - errorMessage = I18n.t('workflow.errorMessages.emptyName'); - } else if (!CHARS_VALIDATION_EXP.test(name)) { - errorMessage = I18n.t('workflow.errorMessages.invalidCharacters'); - } else if (name.length < MIN_NAME_LENGTH || name.length > MAX_NAME_LENGTH) { - errorMessage = I18n.t('workflow.errorMessages.nameFieldLength', { - minValue: 6, - maxValue: 40 - }); - } - return errorMessage; -} - -export function* watchWorkflow() { - yield takeEvery(SUBMIT_WORKFLOW, watchSubmitWorkflow); -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSelector.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSelector.js deleted file mode 100644 index 01f52fc6..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/createWorkflowSelector.js +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { createSelector } from 'reselect'; -import { - getTrimWorkflowName, - getWorkflowDescription -} from 'features/workflow/workflowSelectors'; - -export const getWorkflowParams = createSelector( - getTrimWorkflowName, - getWorkflowDescription, - (name, description) => { - return { - name, - description - }; - } -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/Overview.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/Overview.js deleted file mode 100644 index 90b69763..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/Overview.js +++ /dev/null @@ -1,86 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { connect } from 'react-redux'; -import { I18n } from 'react-redux-i18n'; - -import OverviewView from 'features/workflow/overview/OverviewView'; -import { - getSortedVersions, - getSelectedVersionId, - getWorkflowData, - getAllIsVersionsCertifies -} from 'features/workflow/overview/overviewSelectors'; -import { isWorkflowArchive } from 'features/workflow/workflowSelectors'; -import { - getVersionsAction, - updateWorkflowAction, - archiveWorkflowAction, - restoreWorkflowAction -} from 'features/workflow/overview/overviewConstansts'; -import { NEW_VERSION_MODAL } from 'shared/modal/modalWrapperComponents'; -import { - showCustomModalAction, - showAlertModalAction, - hideModalAction -} from 'shared/modal/modalWrapperActions'; -import { inputChangeAction } from 'features/workflow/create/createWorkflowConstants'; - -function mapStateToProps(state) { - return { - versions: getSortedVersions(state), - selectedVersion: getSelectedVersionId(state), - workflow: getWorkflowData(state), - isVersionsCertifies: getAllIsVersionsCertifies(state), - isArchive: isWorkflowArchive(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - getOverview: workflowId => dispatch(getVersionsAction(workflowId)), - showNewVersionModal: () => - dispatch( - showCustomModalAction({ - customComponentName: NEW_VERSION_MODAL, - title: 'New Version' - }) - ), - workflowInputChange: payload => dispatch(inputChangeAction(payload)), - updateWorkflow: payload => dispatch(updateWorkflowAction(payload)), - archiveWorkflow: payload => { - dispatch( - showAlertModalAction({ - title: I18n.t('workflow.overview.archive'), - body: I18n.t('workflow.overview.confirmArchive', { - name: payload.name - }), - withButtons: true, - actionButtonText: I18n.t('workflow.overview.archive'), - actionButtonClick: () => { - dispatch(archiveWorkflowAction(payload)); - dispatch(hideModalAction()); - } - }) - ); - }, - restoreWorkflow: payload => dispatch(restoreWorkflowAction(payload)) - }; -} - -export default connect( - mapStateToProps, - mapDispatchToProps -)(OverviewView); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx deleted file mode 100644 index 952e93cf..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx +++ /dev/null @@ -1,142 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; - -import WorkflowDetails from 'features/workflow/overview/views/WorkflowDetails'; -import WorkflowVersions from 'features/workflow/overview/views/WorkflowVersions'; -import WorkflowHeader from 'features/workflow/overview/views/WorkflowHeader'; - -class OverviewView extends Component { - static propTypes = { - getOverview: PropTypes.func, - versions: PropTypes.array, - onCreateVersion: PropTypes.func, - selectedVersion: PropTypes.string, - workflow: PropTypes.object, - history: PropTypes.object, - showNewVersionModal: PropTypes.func, - isVersionsCertifies: PropTypes.bool, - location: PropTypes.object, - match: PropTypes.object, - updateWorkflow: PropTypes.func, - workflowInputChange: PropTypes.func, - archiveWorkflow: PropTypes.func, - restoreWorkflow: PropTypes.func, - isArchive: PropTypes.bool - }; - - constructor(props) { - super(props); - } - - getOverviewFromRouter = () => { - const { match } = this.props; - const workflowId = match.params.workflowId; - this.props.getOverview(workflowId); - }; - - componentDidMount() { - this.getOverviewFromRouter(); - } - - onSelectVersionFromTable = data => { - const { history } = this.props; - history.push('version/' + data.id); - }; - - onCreateNewVersionFromTable = () => { - const { showNewVersionModal } = this.props; - showNewVersionModal(); - }; - - onUpdateWorkflow = payload => { - const { updateWorkflow, workflow } = this.props; - updateWorkflow({ ...workflow, ...payload }); - }; - - workflowDetailsChanged = payload => { - const { workflowInputChange } = this.props; - workflowInputChange({ ...payload }); - }; - onArchiveWorkflow = () => { - const { archiveWorkflow, workflow, history } = this.props; - - archiveWorkflow({ id: workflow.id, name: workflow.name, history }); - }; - onRestoreWorkflow = () => { - const { restoreWorkflow, workflow, history } = this.props; - restoreWorkflow({ id: workflow.id, history }); - }; - render() { - const { - versions, - selectedVersion, - workflow, - isVersionsCertifies, - history, - isArchive - } = this.props; - const nodeVersions = versions.map(version => ({ - id: version.id, - name: version.name, - parent: version.baseId || '' - })); - - return ( - <div className="overview-page"> - <WorkflowHeader - isArchive={isArchive} - archiveWorkflow={this.onArchiveWorkflow} - restoreWorkflow={this.onRestoreWorkflow} - history={history} - name={workflow.name} - /> - <div className="overview-content"> - <WorkflowDetails - isArchive={isArchive} - name={workflow.name} - description={workflow.description} - modified={workflow.modified} - created={workflow.created} - workflowDetailsChanged={this.workflowDetailsChanged} - updateWorkflow={this.onUpdateWorkflow} - /> - - <div className={'separator overview-separator'} /> - <WorkflowVersions - isArchive={isArchive} - nodeVersions={nodeVersions} - versions={versions} - onCreateVersion={this.onCreateNewVersionFromTable} - onSelectVersion={this.onSelectVersionFromTable} - selectedVersion={selectedVersion} - isVersionsCertifies={isVersionsCertifies} - /> - </div> - </div> - ); - } -} - -OverviewView.defaultProps = { - versions: [], - getOverview: () => {}, - selectedVersion: '' -}; - -export default OverviewView; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/OverviewView_snapshot-test.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/OverviewView_snapshot-test.js deleted file mode 100644 index 5897a91f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/OverviewView_snapshot-test.js +++ /dev/null @@ -1,39 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import renderer from 'react-test-renderer'; - -import OverviewView from 'features/workflow/overview/OverviewView'; - -describe('OverviewView Snapshot', () => { - it('renders correctly', () => { - const workflow = { - name: 'wf1', - description: 'desc 1', - id: 'id1' - }; - const match = { - params: { - workflowId: 'id1' - } - }; - const tree = renderer - .create(<OverviewView workflow={workflow} match={match} />) - .toJSON(); - - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap deleted file mode 100644 index a54b832c..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap +++ /dev/null @@ -1,217 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`OverviewView Snapshot renders correctly 1`] = ` -<div - className="overview-page" -> - <div - className="overview-header" - > - <div - className="title" - > - wf1 - - - title - </div> - <div - className="header-buttons" - > - <div - className="svg-icon-wrapper go-catalog-btn clickable right" - disabled={undefined} - onClick={[Function]} - > - <test-file-stub - className="svg-icon __back" - /> - <span - className="svg-icon-label " - > - backBtnLabel - </span> - </div> - <div - className="svg-icon-wrapper archive-btn clickable bottom" - disabled={undefined} - onClick={[Function]} - title="Archive workflow" - > - <test-file-stub - className="svg-icon __archiveBox" - /> - - </div> - </div> - </div> - <div - className="overview-content" - > - <div - className="workflow-details" - > - <form - onSubmit={[Function]} - > - <div - className="sdc-input " - > - <label - className="sdc-input__label required" - htmlFor="workflowName" - > - name - </label> - <div - className="sdc-input-wrapper" - > - <input - className="sdc-input__input " - data-test-id={undefined} - disabled={true} - id="workflowName" - name="workflowName" - onBlur={[Function]} - onChange={[Function]} - onKeyDown={[Function]} - placeholder={undefined} - readOnly={false} - type="text" - value="wf1" - /> - </div> - </div> - <div - className="description-part" - > - <div - className="sdc-textarea" - > - <div - className="sdc-textarea__label" - > - description - </div> - <textarea - className="custom-textarea field-section sdc-textarea__textarea" - data-test-id="description" - disabled={false} - onChange={[Function]} - value="desc 1" - /> - </div> - </div> - <div - className="save-description" - > - <button - className="sdc-button sdc-button__primary " - disabled={false} - onClick={undefined} - > - saveBtn - </button> - </div> - </form> - </div> - <div - className="separator overview-separator" - /> - <div - className="workflow-versions" - > - <div - className="versions-page-view" - > - <div - className="create-new-version newVersionDisabled" - > - <div - className="create-item-plus-icon" - onClick={[Function]} - > - <div - className="svg-icon-wrapper __secondary bottom" - disabled={undefined} - onClick={undefined} - > - <test-file-stub - className="svg-icon __plus" - /> - - </div> - newVersion - </div> - </div> - <div - className="versions-page-list-and-tree" - > - <div - className="version-tree-wrapper" - > - <div - className="version-tree-title-container" - > - <div - className="version-tree-title" - > - Version Tree - </div> - </div> - <div - className="tree-view versions-tree-container " - > - <svg - className="versions-tree" - width={200} - /> - </div> - </div> - <div - className="version-list" - > - <div - className="version-item-row header-row " - data-test-id="version-item-row" - onClick={[Function]} - > - <div - className="version-item-field header-field item-version" - > - Version - </div> - <div - className="version-item-field header-field item-status" - > - Status - </div> - <div - className="version-item-field header-field" - > - <span - className={undefined} - style={undefined} - > - lastEdited - </span> - </div> - <div - className="version-item-field header-field" - > - <div - className="description-text" - > - Description - </div> - </div> - </div> - <div - className="version-list-items" - /> - </div> - </div> - </div> - </div> - </div> -</div> -`; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/overviewReducer-test.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/overviewReducer-test.js deleted file mode 100644 index 87600be2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/overviewReducer-test.js +++ /dev/null @@ -1,96 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import overviewReducer from '../overviewReducer'; -import { versionListFetchAction } from '../overviewConstansts'; - -describe('Overview reducer', () => { - it('check fetch versions', () => { - const versionResponse = { - total: 2, - size: 0, - page: 0, - items: [ - { - id: '99adf5bc36764628b8018033d285b591', - name: '1.0', - description: 'Initial versionewewe', - baseId: '', - state: 'CERTIFIED', - inputs: [ - { - id: '08274a71d7e34d4e96878aa5fb1ed9bd', - name: 'wewe', - type: 'INTEGER', - mandatory: true - }, - { - id: '7a0b9e33ea0244c2a05c03b96207f1c8', - name: 'eee', - type: 'BOOLEAN', - mandatory: false - } - ], - outputs: [ - { - id: 'a5314bbd67ff4e6091385aaa82ebb266', - name: 'e', - type: 'FLOAT', - mandatory: false - } - ], - creationTime: '2018-07-25T07:36:10.112+0000', - modificationTime: '2018-07-25T07:36:48.663+0000' - }, - { - id: 'cd8156bfb250475dac1e2681a9f2a74f', - name: '2.0', - description: 'versio2neee', - baseId: '99adf5bc36764628b8018033d285b591', - state: 'CERTIFIED', - inputs: [ - { - id: '08274a71d7e34d4e96878aa5fb1ed9bd', - name: 'wewe', - type: 'INTEGER', - mandatory: true - }, - { - id: '7a0b9e33ea0244c2a05c03b96207f1c8', - name: 'eee', - type: 'BOOLEAN', - mandatory: false - } - ], - outputs: [ - { - id: 'a5314bbd67ff4e6091385aaa82ebb266', - name: 'e', - type: 'FLOAT', - mandatory: false - } - ], - creationTime: '2018-07-25T07:36:58.978+0000', - modificationTime: '2018-07-25T07:37:09.041+0000' - } - ] - }; - - expect( - overviewReducer([], versionListFetchAction(versionResponse)) - ).toEqual([...versionResponse.items]); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewApi.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewApi.js deleted file mode 100644 index d48c214b..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewApi.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import RestfulAPIUtil from 'services/restAPIUtil'; -import Configuration from 'config/Configuration.js'; - -function baseUrl() { - const restPrefix = Configuration.get('restPrefix'); - - return `${restPrefix}/workflows/`; -} - -const Api = { - getVersions: id => { - return RestfulAPIUtil.get(`${baseUrl()}${id}/versions`); - }, - getWorkflow: id => { - return RestfulAPIUtil.get(`${baseUrl()}${id}`); - }, - updateWorkflow: ({ id, description, name }) => { - return RestfulAPIUtil.put(`${baseUrl()}${id}`, { - name, - description - }); - }, - archiveRestoreWorkflow: ({ id, type }) => { - return RestfulAPIUtil.post(`${baseUrl()}${id}/archiving`, { - status: type - }); - } -}; - -export default Api; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewConstansts.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewConstansts.js deleted file mode 100644 index 17bd2fd2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewConstansts.js +++ /dev/null @@ -1,55 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createAction } from 'redux-actions'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; - -export const FETCH_VERSION_LIST = 'overview/FETCH_VERSION_LIST'; -export const GET_OVERVIEW = 'overview/GET_OVERVIEW'; -export const UPDATE_WORKFLOW = 'overview/UPDATE_WORKFLOW'; -export const ARCHIVE_WORKFLOW = 'overview/ARCHIVE_WORKFLOW'; -export const RESTORE_WORKFLOW = 'overview/RESTORE_WORKFLOW'; - -export const versionListFetchAction = payload => ({ - type: FETCH_VERSION_LIST, - payload -}); - -export const getVersionsAction = workflowId => ({ - type: GET_OVERVIEW, - payload: workflowId -}); - -export const updateWorkflowAction = createAction( - UPDATE_WORKFLOW, - payload => payload -); - -export const archiveWorkflowAction = payload => ({ - type: ARCHIVE_WORKFLOW, - payload: { - ...payload, - type: WORKFLOW_STATUS.ARCHIVE - } -}); - -export const restoreWorkflowAction = payload => ({ - type: RESTORE_WORKFLOW, - payload: { - ...payload, - type: WORKFLOW_STATUS.ACTIVE - } -}); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewReducer.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewReducer.js deleted file mode 100644 index bab482a4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewReducer.js +++ /dev/null @@ -1,26 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { FETCH_VERSION_LIST } from 'features/workflow/overview/overviewConstansts'; - -export default function overviewReducer(state = [], action) { - switch (action.type) { - case FETCH_VERSION_LIST: - return [...action.payload.items]; - default: - return state; - } -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js deleted file mode 100644 index 792d4c0c..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js +++ /dev/null @@ -1,104 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import { call, takeEvery, put, select } from 'redux-saga/effects'; - -import { genericNetworkErrorAction } from 'wfapp/appConstants'; -import overviewApi from 'features/workflow/overview/overviewApi'; -import { - versionListFetchAction, - getVersionsAction, - GET_OVERVIEW, - UPDATE_WORKFLOW, - ARCHIVE_WORKFLOW, - RESTORE_WORKFLOW -} from 'features/workflow/overview/overviewConstansts'; -import { setWorkflowAction } from 'features/workflow/workflowConstants'; -import { notificationActions } from 'shared/notifications/notificationsActions'; -import { fetchWorkflow } from 'features/catalog/catalogActions'; -import { I18n } from 'react-redux-i18n'; - -export function* getOverview({ payload }) { - try { - const versions = yield call(overviewApi.getVersions, payload); - yield put(versionListFetchAction(versions)); - const workflow = yield call(overviewApi.getWorkflow, payload); - yield put(setWorkflowAction(workflow)); - } catch (error) { - yield put(genericNetworkErrorAction(error)); - } -} - -export function* updateWorkflow(action) { - try { - yield call(overviewApi.updateWorkflow, action.payload); - yield put( - notificationActions.showSuccess({ - title: I18n.t('workflow.overview.updateTitle'), - message: I18n.t('workflow.overview.updateNotification') - }) - ); - } catch (e) { - yield put(genericNetworkErrorAction(e)); - } -} - -export function* archiveRestoreWorkflow(action) { - try { - const { ...data } = action.payload; - yield call(overviewApi.archiveRestoreWorkflow, data); - const { - catalog: { sort, status }, - searchNameFilter = '' - } = yield select(); - - yield put( - fetchWorkflow({ - sort, - searchNameFilter, - status: status - }) - ); - } catch (e) { - yield put(genericNetworkErrorAction(e)); - } -} - -export function* restoreWorkflow(action) { - const { id } = action.payload; - yield archiveRestoreWorkflow(action); - yield put(getVersionsAction(id)); -} - -export function* archiveWorkflow(action) { - const { history } = action.payload; - yield archiveRestoreWorkflow(action); - yield put( - notificationActions.showSuccess({ - title: I18n.t('workflow.overview.archiveTitle'), - message: I18n.t('workflow.overview.archiveNotification', { - name: action.payload.name - }) - }) - ); - history.push('/workflows/'); -} - -export function* watchOverview() { - yield takeEvery(GET_OVERVIEW, getOverview); - yield takeEvery(UPDATE_WORKFLOW, updateWorkflow); - yield takeEvery(ARCHIVE_WORKFLOW, archiveWorkflow); - yield takeEvery(RESTORE_WORKFLOW, restoreWorkflow); -} diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSelectors.js deleted file mode 100644 index d6bb1915..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSelectors.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { createSelector } from 'reselect'; -import { getWorkflowParams } from 'features/workflow/create/createWorkflowSelector'; -import { versionState } from 'features/version/versionConstants'; - -export const getVersions = state => state && state.workflow.versions; -export const getSortedVersions = createSelector( - getVersions, - versions => versions && versions.sort((a, b) => a.name - b.name) -); -export const getSelectedVersionId = state => - state && state.currentVersion.general.id; -export const getWorkflowCreationTime = state => - state && state.workflow.data.creationTime; - -export const getWorkflowModificationTime = state => - state && state.workflow.data.modificationTime; - -export const getWorkflowId = state => state && state.workflow.data.id; -export const getAllIsVersionsCertifies = createSelector( - getSortedVersions, - versions => - versions && - versions.filter( - version => version.state.toLowerCase() === versionState.CERTIFIED - ).length === versions.length -); - -export const getWorkflowData = createSelector( - getWorkflowParams, - getWorkflowCreationTime, - getWorkflowModificationTime, - getWorkflowId, - (params, creationTime, modificationTime, id) => { - return { - ...params, - created: creationTime, - modified: modificationTime, - id - }; - } -); - -export const getLatestBaseId = createSelector( - getSortedVersions, - versions => versions.length && versions[versions.length - 1].id -); diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/VersionListItem.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/VersionListItem.jsx deleted file mode 100644 index aa852922..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/VersionListItem.jsx +++ /dev/null @@ -1,74 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import { Localize, Translate } from 'react-redux-i18n'; - -const VersionListItem = ({ data, onSelectVersion, isHeader, isSelected }) => { - let { modificationTime, name, state, description } = data; - const modificationText = !isHeader ? ( - <Localize value={modificationTime} dateFormat="date.long" /> - ) : ( - <Translate value="workflow.overview.lastEdited" /> - ); - - function onVersionClick() { - onSelectVersion(data); - } - - return ( - <div - data-test-id="version-item-row" - className={`version-item-row ${ - isHeader ? 'header-row' : 'clickable' - } ${isSelected ? 'selected' : ''}`} - onClick={onVersionClick}> - <div - className={`version-item-field ${ - isHeader ? 'header-field item-version' : 'item-version' - }`}> - {name} - </div> - <div - className={`version-item-field ${ - isHeader ? 'header-field item-status' : 'item-status' - }`}> - {state} - </div> - <div - className={`version-item-field ${ - isHeader ? 'header-field' : 'item-last-edited' - }`}> - {modificationText} - </div> - <div - className={`version-item-field ${ - isHeader ? 'header-field' : 'item-description' - }`}> - <div className="description-text">{description}</div> - </div> - </div> - ); -}; - -VersionListItem.propTypes = { - data: PropTypes.object, - onSelectVersion: PropTypes.func, - isHeader: PropTypes.bool, - isSelected: PropTypes.bool -}; - -export default VersionListItem; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/index.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/index.js deleted file mode 100644 index 801c6693..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionList/index.js +++ /dev/null @@ -1,51 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; - -import VersionListItem from 'features/workflow/overview/views/VersionList/VersionListItem'; - -const VersionList = ({ versions, onSelectVersion, selectedVersion }) => ( - <div className="version-list"> - <VersionListItem - data={{ - name: 'Version', - state: 'Status', - description: 'Description' - }} - isHeader - /> - <div className="version-list-items"> - {versions.map(version => ( - <VersionListItem - key={version.id} - data={version} - onSelectVersion={onSelectVersion} - isSelected={selectedVersion === version.id} - /> - ))} - </div> - </div> -); - -VersionList.propTypes = { - versions: PropTypes.array, - onSelectVersion: PropTypes.func, - selectedVersion: PropTypes.string -}; - -export default VersionList; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionTree.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionTree.jsx deleted file mode 100644 index cd3be771..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/VersionTree.jsx +++ /dev/null @@ -1,43 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import Tree from 'shared/tree/Tree'; -import PropTypes from 'prop-types'; - -const VersionTree = ({ nodeVersions, selectedVersion }) => { - return ( - <div className="version-tree-wrapper"> - <div className="version-tree-title-container"> - <div className="version-tree-title">Version Tree</div> - </div> - <Tree - name={'versions-tree'} - width={200} - allowScaleWidth={false} - nodes={nodeVersions} - selectedNodeId={selectedVersion} - /> - </div> - ); -}; - -VersionTree.propTypes = { - nodeVersions: PropTypes.array, - selectedVersion: PropTypes.string -}; - -export default VersionTree; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx deleted file mode 100644 index 38f6af06..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx +++ /dev/null @@ -1,75 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { Component } from 'react'; -import { I18n } from 'react-redux-i18n'; -import { Input, Button } from 'onap-ui-react'; -import PropTypes from 'prop-types'; - -import Description from 'shared/components/Description'; - -class WorkflowDetails extends Component { - handleSubmitForm = e => { - e.preventDefault(); - const { description } = this.props; - this.props.updateWorkflow(description); - }; - - render() { - const { - name, - description, - workflowDetailsChanged, - isArchive - } = this.props; - return ( - <div className="workflow-details"> - <form onSubmit={this.handleSubmitForm}> - <Input - name="workflowName" - value={name || ''} - type="text" - label={I18n.t('workflow.general.name')} - isRequired - disabled - /> - <Description - disabled={isArchive} - description={description} - onDataChange={workflowDetailsChanged} - /> - <div className="save-description"> - <Button disabled={isArchive} btnType="primary"> - {I18n.t('buttons.saveBtn')} - </Button> - </div> - </form> - </div> - ); - } -} - -WorkflowDetails.propTypes = { - name: PropTypes.string, - created: PropTypes.string, - modified: PropTypes.string, - description: PropTypes.string, - defaultDescription: PropTypes.string, - updateWorkflow: PropTypes.func, - workflowDetailsChanged: PropTypes.func, - isArchive: PropTypes.bool -}; - -export default WorkflowDetails; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowHeader.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowHeader.jsx deleted file mode 100644 index 46a1d94a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowHeader.jsx +++ /dev/null @@ -1,106 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; -import { SVGIcon, Button } from 'onap-ui-react'; -import ArchiveLabel from 'shared/archiveLabel/ArchiveLabel'; - -const Buttons = ({ history, archiveWorkflow, restoreWorkflow, isArchive }) => ( - <div className="header-buttons"> - <SVGIcon - onClick={() => history.push('/workflows/')} - label={I18n.t('workflow.overview.backBtnLabel')} - className="go-catalog-btn" - labelPosition="right" - name="back" - /> - <ArchiveBtn - isArchive={isArchive} - restoreWorkflow={restoreWorkflow} - archiveWorkflow={archiveWorkflow} - /> - </div> -); - -Buttons.propTypes = { - history: PropTypes.object, - archiveWorkflow: PropTypes.func, - isArchive: PropTypes.bool, - restoreWorkflow: PropTypes.func -}; - -const Title = ({ name, isArchive }) => ( - <div className="title"> - {name} - {I18n.t('workflow.overview.title')} - {isArchive && <ArchiveLabel />} - </div> -); -Title.propTypes = { - name: PropTypes.string, - isArchive: PropTypes.bool -}; - -const ArchiveBtn = ({ isArchive, archiveWorkflow, restoreWorkflow }) => { - return !isArchive ? ( - <SVGIcon - onClick={archiveWorkflow} - title="Archive workflow" - className="archive-btn" - name="archiveBox" - /> - ) : ( - <Button className="restore-btn" onClick={restoreWorkflow}> - RESTORE - </Button> - ); -}; -ArchiveBtn.propTypes = { - status: PropTypes.string, - archiveWorkflow: PropTypes.func, - restoreWorkflow: PropTypes.func, - isArchive: PropTypes.bool -}; - -const WorkflowHeader = ({ - name, - history, - archiveWorkflow, - restoreWorkflow, - isArchive -}) => { - return ( - <div className="overview-header"> - <Title isArchive={isArchive} name={name} /> - <Buttons - restoreWorkflow={restoreWorkflow} - archiveWorkflow={archiveWorkflow} - isArchive={isArchive} - history={history} - /> - </div> - ); -}; - -WorkflowHeader.propTypes = { - name: PropTypes.string, - history: PropTypes.object, - archiveWorkflow: PropTypes.func, - restoreWorkflow: PropTypes.func, - isArchive: PropTypes.bool -}; - -export default WorkflowHeader; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowVersions.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowVersions.jsx deleted file mode 100644 index 18e33bf1..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowVersions.jsx +++ /dev/null @@ -1,67 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -import VersionList from 'features/workflow/overview/views/VersionList'; -import VersionTree from 'features/workflow/overview/views//VersionTree'; -import NewVersionContainer from 'features/version/create/views/NewVersionContainer'; - -const WorkflowVersions = ({ - nodeVersions, - versions, - onCreateVersion, - onSelectVersion, - selectedVersion, - isVersionsCertifies, - isArchive -}) => { - return ( - <div className="workflow-versions"> - <div className="versions-page-view"> - <NewVersionContainer - onCreateVersion={onCreateVersion} - isVersionsCertifies={isVersionsCertifies} - isArchive={isArchive} - /> - <div className="versions-page-list-and-tree"> - <VersionTree - nodeVersions={nodeVersions} - selectedVersion={selectedVersion} - /> - <VersionList - versions={versions} - selectedVersion={selectedVersion} - onSelectVersion={onSelectVersion} - /> - </div> - </div> - </div> - ); -}; - -WorkflowVersions.propTypes = { - nodeVersions: PropTypes.array, - versions: PropTypes.array, - onCreateVersion: PropTypes.func, - onSelectVersion: PropTypes.func, - selectedVersion: PropTypes.string, - isVersionsCertifies: PropTypes.bool, - isArchive: PropTypes.bool -}; - -export default WorkflowVersions; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowConstants.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowConstants.js deleted file mode 100644 index a9f4aa51..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowConstants.js +++ /dev/null @@ -1,27 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { createAction } from 'redux-actions'; - -export const WORKFLOW_STATUS = { - ACTIVE: 'ACTIVE', - ARCHIVE: 'ARCHIVED' -}; - -export const CLEAR_WORKFLOW_DATA = 'workflow/CLEAR_WORKFLOW_DATA'; -export const SET_WORKFLOW = 'workflow/SET_WORKFLOW'; - -export const setWorkflowAction = createAction(SET_WORKFLOW, payload => payload); -export const clearWorkflowAction = { type: CLEAR_WORKFLOW_DATA }; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowReducer.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowReducer.js deleted file mode 100644 index 70d6e5be..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowReducer.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { - WORKFLOW_INPUT_CHANGE, - VALIDATION_ERROR, - CLEAR_VALIDATION_ERROR -} from 'features/workflow/create/createWorkflowConstants'; -import { - SET_WORKFLOW, - CLEAR_WORKFLOW_DATA -} from 'features/workflow/workflowConstants'; - -function workflowReducer(state = {}, action) { - switch (action.type) { - case WORKFLOW_INPUT_CHANGE: - return { - ...state, - ...action.payload - }; - case CLEAR_WORKFLOW_DATA: - return {}; - case SET_WORKFLOW: - return { - ...action.payload - }; - //TODO change it when BE is done - // return { - // ...action.payload, - // status: 'archive' - // }; - case VALIDATION_ERROR: - return { - ...state, - error: action.payload - }; - case CLEAR_VALIDATION_ERROR: - return { - ...state, - error: '' - }; - default: - return state; - } -} - -export default workflowReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowSelectors.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowSelectors.js deleted file mode 100644 index 53487012..00000000 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/workflowSelectors.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { WORKFLOW_STATUS } from './workflowConstants'; -export const getWorkflowName = state => - state && state.workflow.data.name && state.workflow.data.name; -export const getTrimWorkflowName = state => - state && state.workflow.data.name && state.workflow.data.name.trim(); -export const getWorkflowId = state => state && state.workflow.data.id; -export const getWorkflowDescription = state => - state && state.workflow.data.description; -export const getWorkflowStatus = state => - state && - state.workflow && - state.workflow.data && - state.workflow.data.status; -export const isWorkflowArchive = state => - state && - state.workflow && - state.workflow.data && - state.workflow.data.archiving && - state.workflow.data.archiving === WORKFLOW_STATUS.ARCHIVE; diff --git a/workflow-designer-ui/src/main/frontend/src/i18n/I18n.js b/workflow-designer-ui/src/main/frontend/src/i18n/I18n.js deleted file mode 100644 index fdf28ffd..00000000 --- a/workflow-designer-ui/src/main/frontend/src/i18n/I18n.js +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import languagesData from 'wfapp/i18n/languages.json'; -import merge from 'lodash.merge'; -import setPath from 'lodash.set'; - -let languagesObj = {}; -let language = null; -let key = null; -for (language in languagesData) { - let langData = {}; - for (key in languagesData[language]) { - setPath(langData, key, languagesData[language][key]); - } - languagesObj[language] = langData; -} -export default merge({}, languagesObj); diff --git a/workflow-designer-ui/src/main/frontend/src/i18n/i18next-scanner.config.js b/workflow-designer-ui/src/main/frontend/src/i18n/i18next-scanner.config.js deleted file mode 100644 index a626211a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/i18n/i18next-scanner.config.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -module.exports = { - options: { - debug: true, - func: { - list: ['i18next.t', 'i18n.t'], - extensions: ['.js', '.jsx'] - }, - trans: { - extensions: ['.js', '.jsx'], - fallbackKey: (ns, value) => { - return value; - } - }, - lngs: ['en', 'de'], - ns: ['locale', 'resource'], - defaultNs: 'resource', - defaultValue: '__STRING_NOT_TRANSLATED__', - resource: { - loadPath: 'i18n/{{lng}}/{{ns}}.json', - savePath: 'i18n/{{lng}}/{{ns}}.json' - }, - nsSeparator: false, // namespace separator - keySeparator: false, // key separator - interpolation: { - prefix: '{{', - suffix: '}}' - } - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/i18n/languages.json b/workflow-designer-ui/src/main/frontend/src/i18n/languages.json deleted file mode 100644 index 9485681a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/i18n/languages.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "en": { - "catalog": { - "elementFound": "%{count} Elements found", - "elementFound_0": "No Elements found", - "elementFound_1": "%{count} Element found", - "orderBy": "Order By", - "alphabeticalOrder": "Alphabetical order", - "addWorkflow": "Add Workflow" - }, - "date": { - "short": "D/MM/YYYY hh:mm A", - "long": "MMMM Do, YYYY, hh:mm A" - }, - "buttons": { - "submitBtn": "Submit", - "saveBtn": "Save", - "createBtn": "Create", - "cancelBtn": "Cancel", - "certifyBtn": "Certify", - "completeBtn": "Complete", - "undoBtn": "Undo", - "closeBtn": "Close", - "okBtn": "Ok", - "backToCatalog": "Catalog" - }, - "form": { - "name": "Name", - "description": "Description" - }, - "workflow": { - "general": { - "headerTitle": "General", - "name": "Name", - "description": "Description", - "created": "Created", - "modified": "Modified" - }, - "version": "Version", - "sideBar": { - "general": "General", - "inputOutput": "Input / Output", - "composition": "Composition" - }, - "overview": { - "viewOverview": "Workflow Overview", - "versionList": "Versions", - "newVersion": "Create New Version", - "title": "Overview", - "lastEdited": "Last Edited On", - "backBtnLabel": "WORKFLOW CATALOG", - "archived": "Archived", - "archive": "ARCHIVE", - "archiveTitle": "Archive", - "updateTitle": "Update Workflow", - "updateNotification": "Successfully updated", - "archiveNotification": "\"%{name}\" successfully archived", - "confirmArchive": "Are you sure you want to archive \"%{name}\"?" - }, - "inputOutput": { - "name": "Name", - "type": "Type", - "mandatory": "Mandatory", - "noData": "No Parameters to Show", - "addInput": "Add Input", - "addOutput": "Add Output", - "inputs": "Inputs", - "outputs": "Outputs", - "DELETE": "DELETE", - "CANCEL": "CANCEL", - "confirmDelete": "Are you sure you want to delete \"%{name}\"?" - }, - "errorMessages": { - "alreadyExists": "Already exists", - "invalidCharacters": "Alphanumeric and underscore only", - "emptyName": "Field is required", - "nameFieldLength": "Name must be at least %{minValue} characters and no more than %{maxValue} characters" - }, - "composition": { - "bpmnError" : "BPMN.IO Error", - "exportErrorMsg": "Could not export diagram", - "saveErrorMsg": "Could not save diagram", - "importErrorMsg": "Could not import diagram", - "certifyArtifact": "Could not certify empty artifact" - }, - "confirmationMessages": { - "certifyTitle": "Certify Version", - "certifyMessage": "Successfully certified", - "updateTitle": "Update Workflow Version", - "updateMessage": "Successfully updated" - } - }, - "version": { - "category": "Version Category" - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/src/i18n/translationSaga.js b/workflow-designer-ui/src/main/frontend/src/i18n/translationSaga.js deleted file mode 100644 index 9c972ea7..00000000 --- a/workflow-designer-ui/src/main/frontend/src/i18n/translationSaga.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { put } from 'redux-saga/effects'; -import { loadTranslations, setLocale } from 'react-redux-i18n'; - -import translationsObject from 'i18n/I18n'; -import { LANG } from 'wfapp/appConstants'; -export function* initTranslationSaga() { - yield put(loadTranslations(translationsObject)); - yield put(setLocale(LANG)); -} diff --git a/workflow-designer-ui/src/main/frontend/src/index.js b/workflow-designer-ui/src/main/frontend/src/index.js deleted file mode 100644 index 46a87603..00000000 --- a/workflow-designer-ui/src/main/frontend/src/index.js +++ /dev/null @@ -1,40 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import ReactDOM from 'react-dom'; -import { Provider } from 'react-redux'; -import { BrowserRouter } from 'react-router-dom'; - -import Notifications from 'shared/notifications/Notifications'; -import Loader from 'shared/loader/Loader'; -import App from 'wfapp/App'; -import ModalWrapper from 'shared/modal/ModalWrapper'; -import store from './store'; - -ReactDOM.render( - <Provider store={store}> - <BrowserRouter> - <React.Fragment> - <App /> - <Notifications /> - <ModalWrapper /> - <Loader /> - </React.Fragment> - </BrowserRouter> - </Provider>, - document.getElementById('root') -); diff --git a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextActions.js b/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextActions.js deleted file mode 100644 index 553b8911..00000000 --- a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextActions.js +++ /dev/null @@ -1,21 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { SET_CONTEXT } from './pluginContextConstants'; - -export const setPluginContext = payload => ({ - type: SET_CONTEXT, - payload -}); diff --git a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextConstants.js b/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextConstants.js deleted file mode 100644 index 0f8f409f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextConstants.js +++ /dev/null @@ -1,22 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const SET_CONTEXT = 'pluginContext/SET_CONTEXT'; - -export const notificationType = { - READY: 'READY', - CLOSE: 'CLOSE' -}; -export const CATALOG_PATH = 'workspace.interface_operation'; diff --git a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextReducer.js b/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextReducer.js deleted file mode 100644 index 6e61a3bd..00000000 --- a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextReducer.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { SET_CONTEXT } from './pluginContextConstants'; -export default (state = {}, action) => { - switch (action.type) { - case SET_CONTEXT: { - return action.payload; - } - default: - return state; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextSelector.js b/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextSelector.js deleted file mode 100644 index 65599c55..00000000 --- a/workflow-designer-ui/src/main/frontend/src/pluginContext/pluginContextSelector.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -export const pluginContextSelector = state => state && state.pluginContext; diff --git a/workflow-designer-ui/src/main/frontend/src/rootReducers.js b/workflow-designer-ui/src/main/frontend/src/rootReducers.js deleted file mode 100644 index 33fd8a82..00000000 --- a/workflow-designer-ui/src/main/frontend/src/rootReducers.js +++ /dev/null @@ -1,51 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { combineReducers } from 'redux'; -import { i18nReducer } from 'react-redux-i18n'; - -import catalog from 'features/catalog/catalogReducer'; -import inputOutput from 'features/version/inputOutput/inputOutputReducer'; -import notificationsReducer from 'shared/notifications/notificationsReducer'; -import versionReducer from 'features/version/versionReducer'; -import loader from 'shared/loader/LoaderReducer'; -import modal from 'shared/modal/modalWrapperReducer'; -import overviewReducer from 'features/workflow/overview/overviewReducer'; -import workflowReducer from 'features/workflow/workflowReducer'; -import compositionReducer from 'features/version/composition/compositionReducer'; -import activitiesReducer from 'features/activities/activitiesReducer'; -import operationModeReducer from 'features/version/versionModeReducer'; -import pluginContextReducer from './pluginContext/pluginContextReducer'; - -export default combineReducers({ - i18n: i18nReducer, - catalog, - notifications: notificationsReducer, - currentVersion: combineReducers({ - general: versionReducer, - inputOutput, - composition: compositionReducer, - operationMode: operationModeReducer - }), - workflow: combineReducers({ - data: workflowReducer, - versions: overviewReducer - }), - pluginContext: pluginContextReducer, - activities: activitiesReducer, - loader, - modal -}); diff --git a/workflow-designer-ui/src/main/frontend/src/rootSaga.js b/workflow-designer-ui/src/main/frontend/src/rootSaga.js deleted file mode 100644 index 0ea0782a..00000000 --- a/workflow-designer-ui/src/main/frontend/src/rootSaga.js +++ /dev/null @@ -1,38 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { all, fork } from 'redux-saga/effects'; - -import { initTranslationSaga } from 'i18n/translationSaga'; -import catalogSaga from 'features/catalog/catalogSagas'; -import { watchWorkflow } from 'features/workflow/create/createWorkflowSaga'; -import { watchNotifications } from 'shared/notifications/notificationsSagas'; -import versionSaga from 'features/version/versionSaga'; -import activitiesSaga from 'features/activities/activitiesSaga'; - -import { watchOverview } from 'features/workflow/overview/overviewSagas'; - -export default function* rootSaga() { - yield all([ - fork(initTranslationSaga), - fork(catalogSaga), - fork(watchWorkflow), - fork(watchNotifications), - fork(versionSaga), - fork(watchOverview), - fork(activitiesSaga) - ]); -} diff --git a/workflow-designer-ui/src/main/frontend/src/routes.js b/workflow-designer-ui/src/main/frontend/src/routes.js deleted file mode 100644 index 4be77016..00000000 --- a/workflow-designer-ui/src/main/frontend/src/routes.js +++ /dev/null @@ -1,59 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import Catalog from 'features/catalog/Catalog'; -import Version from 'features/version/Version'; -import GeneralView from 'features/version/general/General'; -import OverviewView from 'features/workflow/overview/Overview'; -import InputOutput from 'features/version/inputOutput/InputOutput'; -import Composition from 'features/version/composition/Composition'; - -export const routes = [ - { - path: '/workflows/workflow/:workflowId/version/:versionId', - component: Version, - routes: [ - { - path: '/', - exact: true, - component: GeneralView, - i18nName: 'workflow.sideBar.general', - id: 'GENERAL' - }, - { - path: '/input-output', - component: InputOutput, - i18nName: 'workflow.sideBar.inputOutput', - id: 'INPUT_OUTPUT' - }, - { - path: '/composition', - component: Composition, - i18nName: 'workflow.sideBar.composition', - id: 'COMPOSITION' - } - ] - }, - { - path: '/workflows', - exact: true, - component: Catalog - }, - { - path: '/workflows/workflow/:workflowId/overview', - component: OverviewView - } -]; diff --git a/workflow-designer-ui/src/main/frontend/src/services/restAPIUtil.js b/workflow-designer-ui/src/main/frontend/src/services/restAPIUtil.js deleted file mode 100644 index 08262fed..00000000 --- a/workflow-designer-ui/src/main/frontend/src/services/restAPIUtil.js +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright © 2018 European Support Limited - * - * 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 - * - * 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. - */ -import uuid from 'uuid-js'; -import md5 from 'md5'; -import axios from 'axios'; - -import store from 'wfapp/store'; -import { USER_ID } from 'wfapp/appConstants'; - -import { - sendRequestAction, - recieveResponseAction -} from 'shared/loader/LoaderConstants'; - -import Configuration from 'config/Configuration.js'; -import errorResponseHandler from 'shared/errorResponseHandler/errorResponseHandler'; - -//methods -const GET = 'GET'; -const POST = 'POST'; -const PUT = 'PUT'; -const DELETE = 'DELETE'; -const PATCH = 'PATCH'; -const BINARY = 'binary'; - -const AUTHORIZATION_HEADER = 'X-AUTH-TOKEN'; -const STORAGE_AUTH_KEY = 'sdc-auth-token'; -const REQUEST_ID_HEADER = 'X-ECOMP-RequestID'; -const CONTENT_MD5_HEADER = 'Content-MD5'; - -function applySecurity(options, data) { - let headers = options.headers || (options.headers = {}); - if (options.isAnonymous) { - return; - } - - let authToken = localStorage.getItem(STORAGE_AUTH_KEY); - if (authToken) { - headers[AUTHORIZATION_HEADER] = authToken; - } - - let catalogApiHeaders = Configuration.get('CatalogApiHeaders'), - catalogUidHeader = catalogApiHeaders && catalogApiHeaders.userId; - if (catalogUidHeader) { - headers[catalogUidHeader.name] = catalogUidHeader.value; - } - - headers[REQUEST_ID_HEADER] = uuid.create().toString(); - if (options.md5) { - let headers = options.headers; - headers[CONTENT_MD5_HEADER] = window.btoa( - md5(JSON.stringify(data)).toLowerCase() - ); - } - - if (localStorage.getItem(USER_ID)) { - headers[USER_ID] = localStorage.getItem(USER_ID); - } -} - -function handleSuccess(responseHeaders, requestHeaders) { - let authToken = responseHeaders[AUTHORIZATION_HEADER]; - let prevToken = requestHeaders && requestHeaders[AUTHORIZATION_HEADER]; - if (authToken && authToken !== prevToken) { - if (authToken === 'null') { - localStorage.removeItem(STORAGE_AUTH_KEY); - } else { - localStorage.setItem(STORAGE_AUTH_KEY, authToken); - } - } -} - -class RestAPIUtil { - async handleRequest(url, type, options = {}, data = {}) { - applySecurity(options, data); - - let config = { - method: type, - url: url, - headers: options.headers, - data: data - }; - - store.dispatch(sendRequestAction(url)); - - if (options.dataType === BINARY) { - config.responseType = 'arraybuffer'; - } - try { - const result = await axios(config); - store.dispatch(recieveResponseAction(url)); - if (options.dataType !== BINARY) { - handleSuccess(result.headers, result.config.headers); - } - return options.dataType === BINARY - ? { - blob: new Blob([result.data]), - headers: result.headers - } - : result.data; - } catch (error) { - store.dispatch(recieveResponseAction(url)); - errorResponseHandler(error.response); - return Promise.reject({ - responseJSON: error.response.data - }); - } - } - - fetch(url, options) { - return this.handleRequest(url, GET, options); - } - - get(url, options) { - return this.fetch(url, options); - } - - post(url, data, options) { - return this.handleRequest(url, POST, options, data); - } - - put(url, data, options) { - return this.handleRequest(url, PUT, options, data); - } - - delete(url, options) { - return this.handleRequest(url, DELETE, options); - } - - patch(url, options) { - return this.handleRequest(url, PATCH, options); - } -} - -const instance = new RestAPIUtil(); - -export default instance; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/archiveLabel/ArchiveLabel.js b/workflow-designer-ui/src/main/frontend/src/shared/archiveLabel/ArchiveLabel.js deleted file mode 100644 index 45b39090..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/archiveLabel/ArchiveLabel.js +++ /dev/null @@ -1,8 +0,0 @@ -import React from 'react'; -import { I18n } from 'react-redux-i18n'; - -const ArchiveLabel = () => ( - <div className="archive-label">{I18n.t('workflow.overview.archived')}</div> -); - -export default ArchiveLabel; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js b/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js deleted file mode 100644 index 7ff4d328..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js +++ /dev/null @@ -1,50 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import { I18n } from 'react-redux-i18n'; - -const Description = ({ description, onDataChange, dataTestId, disabled }) => ( - <div className="description-part"> - <div className="sdc-textarea"> - <div className="sdc-textarea__label"> - {I18n.t('workflow.general.description')} - </div> - <textarea - value={description} - data-test-id={dataTestId || 'description'} - onChange={event => { - onDataChange({ description: event.target.value }); - }} - className="custom-textarea field-section sdc-textarea__textarea" - disabled={disabled} - /> - </div> - </div> -); - -Description.propTypes = { - description: PropTypes.string, - onDataChange: PropTypes.func, - dataTestId: PropTypes.string, - disabled: PropTypes.bool -}; - -Description.defaultProps = { - disabled: false -}; - -export default Description; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/components/Select/index.js b/workflow-designer-ui/src/main/frontend/src/shared/components/Select/index.js deleted file mode 100644 index df30fad9..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/components/Select/index.js +++ /dev/null @@ -1,54 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -import isEmpty from 'lodash.isempty'; - -const Select = props => { - const { dataObj, selectedItemValue, disabled, label } = props; - return ( - <div className="select-wrapper version-selector sdc-input"> - {label && <label>{label}</label>} - <select - className="inputinput-selector" - key={'selector'} - value={selectedItemValue} - disabled={disabled} - data-test-id="vc-select-box"> - {!isEmpty(dataObj) && - dataObj.map(item => { - return ( - <option - key={'select-item' + item.id} - value={item.id} - data-test-id="vc-option"> - {item.displayed || item.name} - </option> - ); - })} - </select> - </div> - ); -}; - -Select.propTypes = { - dataObj: PropTypes.arrayOf(Object), - selectedItemValue: PropTypes.string, - disabled: PropTypes.bool, - label: PropTypes.string -}; - -export default Select; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/components/VersionInfo/index.js b/workflow-designer-ui/src/main/frontend/src/shared/components/VersionInfo/index.js deleted file mode 100644 index 2c6bba24..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/components/VersionInfo/index.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ -import React from 'react'; -import PropTypes from 'prop-types'; -export const LabeledValue = ({ title, value }) => ( - <React.Fragment> - <div className="label">{title}</div> - <div className="value selectable">{value}</div> - </React.Fragment> -); - -LabeledValue.propTypes = { - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]) -}; - -export const VersionInfo = ({ children }) => ( - <div className="version-info-part">{children}</div> -); - -VersionInfo.defaultProps = { - created: '', - modified: '' -}; - -VersionInfo.propTypes = { - created: PropTypes.string, - modified: PropTypes.string, - children: PropTypes.oneOfType([PropTypes.array, PropTypes.object]) -}; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js b/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js deleted file mode 100644 index f8c8f327..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright © 2018 European Support Limited - * - * 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 - * - * 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. - */ -import store from 'wfapp/store'; -import { showErrorModalAction } from 'shared/modal/modalWrapperActions'; - -export default error => { - const errorData = { - title: error.statusText, - body: error.data ? error.data.message : 'GENERIC ERROR' - }; - store.dispatch( - showErrorModalAction({ - ...errorData, - withButtons: true, - closeButtonText: 'Ok' - }) - ); -}; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/loader/Loader.jsx b/workflow-designer-ui/src/main/frontend/src/shared/loader/Loader.jsx deleted file mode 100644 index 0b4c9f42..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/loader/Loader.jsx +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright © 2016-2017 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { connect } from 'react-redux'; - -export const mapStateToProps = ({ loader: { isLoading } }) => { - return { - isLoading - }; -}; - -export class Loader extends React.Component { - shouldComponentUpdate(nextProps) { - return nextProps.isLoading !== this.props.isLoading; - } - - render() { - let { isLoading } = this.props; - return ( - <div className="onboarding-loader"> - {isLoading && ( - <div className="onboarding-loader-backdrop"> - <div className="tlv-loader large" /> - </div> - )} - </div> - ); - } -} - -Loader.propTypes = { - isLoading: PropTypes.bool -}; - -export default connect(mapStateToProps)(Loader); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderConstants.js b/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderConstants.js deleted file mode 100644 index 02ce84ca..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderConstants.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright © 2016-2017 European Support Limited - * - * 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 - * - * 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. - */ -export const actionTypes = { - SHOW: 'SHOW', - HIDE: 'HIDE', - - SEND_REQUEST: 'loader/SEND_REQUEST', - RECEIVE_RESPONSE: 'loader/RECEIVE_RESPONSE' -}; - -export const initialState = { - fetchingRequests: 0, - currentlyFetching: [], - isLoading: false -}; - -export const sendRequestAction = url => ({ - type: actionTypes.SEND_REQUEST, - url -}); - -export const recieveResponseAction = url => ({ - type: actionTypes.RECEIVE_RESPONSE, - url -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderReducer.js b/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderReducer.js deleted file mode 100644 index d883492e..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/loader/LoaderReducer.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright © 2016-2017 European Support Limited - * - * 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 - * - * 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. - */ -import { actionTypes, initialState } from 'shared/loader/LoaderConstants.js'; - -export default (state = initialState, action) => { - let fetchingRequests = state.fetchingRequests; - let newArray; - switch (action.type) { - case actionTypes.SEND_REQUEST: - fetchingRequests++; - newArray = state.currentlyFetching.slice(); - newArray.splice(0, 0, action.url); - return { - fetchingRequests: fetchingRequests, - currentlyFetching: newArray, - isLoading: true - }; - case actionTypes.RECEIVE_RESPONSE: - fetchingRequests--; - - newArray = state.currentlyFetching.filter(item => { - return item !== action.url; - }); - return { - currentlyFetching: newArray, - fetchingRequests: fetchingRequests, - isLoading: fetchingRequests !== 0 - }; - case actionTypes.SHOW: - return { isLoading: true }; - case actionTypes.HIDE: - return { isLoading: false }; - default: - return state; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/loader/__tests__/loaderReducer-test.js b/workflow-designer-ui/src/main/frontend/src/shared/loader/__tests__/loaderReducer-test.js deleted file mode 100644 index 3ae40361..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/loader/__tests__/loaderReducer-test.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -import loaderReducer from 'shared/loader/LoaderReducer'; -import { - initialState, - sendRequestAction, - recieveResponseAction -} from 'shared/loader/LoaderConstants'; - -describe('Loader reducer', () => { - it('return initial state', () => { - expect(loaderReducer(undefined, {})).toEqual(initialState); - }); - - it('send request action test', () => { - const url = 'TEST'; - const loaderData = { - fetchingRequests: 1, - currentlyFetching: [url], - isLoading: true - }; - - expect(loaderReducer(initialState, sendRequestAction(url))).toEqual( - loaderData - ); - }); - - it('recieve response action test', () => { - const url = 'TEST'; - const loaderData = { - fetchingRequests: 1, - currentlyFetching: [url], - isLoading: true - }; - - expect(loaderReducer(loaderData, recieveResponseAction(url))).toEqual( - initialState - ); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapper.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapper.js deleted file mode 100644 index 899ff217..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapper.js +++ /dev/null @@ -1,35 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { connect } from 'react-redux'; - -import ModalWrapperView from 'shared/modal/ModalWrapperView'; -import { hideModalAction } from 'shared/modal/modalWrapperActions'; - -const mapStateToProps = state => ({ - modal: state.modal -}); - -const mapDispatchToProps = dispatch => ({ - hideModal: () => dispatch(hideModalAction()) -}); - -const ModalWrapper = connect( - mapStateToProps, - mapDispatchToProps -)(ModalWrapperView); - -export default ModalWrapper; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapperView.jsx b/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapperView.jsx deleted file mode 100644 index c83a0acc..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/ModalWrapperView.jsx +++ /dev/null @@ -1,99 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -import { - Modal, - ModalHeader, - ModalTitle, - ModalBody, - ModalFooter -} from 'onap-ui-react'; - -import modalWrapperComponents from 'shared/modal/modalWrapperComponents'; - -class ModalWrapperView extends React.Component { - constructor(props) { - super(props); - - this.handleClose = this.handleClose.bind(this); - } - - handleClose() { - const { hideModal, onClose } = this.props; - - hideModal(); - - if (typeof onClose === 'function') { - onClose(); - } - } - - render() { - const { modal } = this.props; - - if (!modal || !modal.type) { - return null; - } - - const { - size, - type, - title, - body, - withButtons, - actionButtonText, - actionButtonClick, - closeButtonText, - customComponentName, - customComponentProps - } = modal; - - const CustomComponent = - customComponentName && modalWrapperComponents[customComponentName]; - - return ( - <Modal show size={size} type={type}> - <ModalHeader onClose={this.handleClose} type={type}> - {title && <ModalTitle>{title}</ModalTitle>} - </ModalHeader> - {body && <ModalBody>{body}</ModalBody>} - {CustomComponent && ( - <CustomComponent {...customComponentProps} /> - )} - {withButtons && ( - <ModalFooter - actionButtonText={actionButtonText} - actionButtonClick={actionButtonClick} - closeButtonText={closeButtonText} - onClose={this.handleClose} - withButtons - /> - )} - </Modal> - ); - } -} - -ModalWrapperView.propTypes = { - hideModal: PropTypes.func, - onClose: PropTypes.func, - modal: PropTypes.object -}; - -export default ModalWrapperView; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperActions-test.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperActions-test.js deleted file mode 100644 index 0be53de4..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperActions-test.js +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -import { - SHOW_MODAL, - HIDE_MODAL, - showInfoModalAction, - showAlertModalAction, - showErrorModalAction, - showCustomModalAction, - hideModalAction -} from 'shared/modal/modalWrapperActions'; - -describe('Modal Wrapper Actions', () => { - const actions = [ - { fn: showInfoModalAction, type: 'info', size: 'small' }, - { fn: showAlertModalAction, type: 'alert', size: 'small' }, - { fn: showErrorModalAction, type: 'error', size: 'small' }, - { fn: showCustomModalAction, type: 'custom', size: 'medium' } - ]; - - it('returns correct action', () => { - actions.forEach(action => { - const payload = { - title: 'Title', - body: 'Body', - withButtons: true, - actionButtonText: 'Action Button Text', - actionButtonClick: () => {}, - closeButtonText: 'Close Button Text' - }; - - const expected = { - type: SHOW_MODAL, - payload: { - size: action.size, - ...payload, - type: action.type - } - }; - - expect(action.fn(payload)).toEqual(expected); - }); - }); - - it('returns correct size in action', () => { - actions.forEach(action => { - const size = 'large'; - - const payload = { - size - }; - - const expected = { - type: SHOW_MODAL, - payload: { size, type: action.type } - }; - - expect(action.fn(payload)).toEqual(expected); - }); - }); - - it('returns hide modal action', () => { - const expected = { - type: HIDE_MODAL - }; - - expect(hideModalAction()).toEqual(expected); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperReducer-test.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperReducer-test.js deleted file mode 100644 index c33190c5..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/__tests__/modalWrapperReducer-test.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -import modalWrapperReducer from 'shared/modal/modalWrapperReducer'; -import { - showInfoModalAction, - hideModalAction -} from 'shared/modal/modalWrapperActions'; - -describe('Modal Wrapper Reducer', () => { - it('returns the initial state', () => { - const state = { - type: 'info', - title: 'Title' - }; - expect(modalWrapperReducer(state, {})).toEqual(state); - }); - - it('returns correct state for show modal action', () => { - const payload = { - size: 'medium', - title: 'Title' - }; - - const action = showInfoModalAction(payload); - - const expected = { - ...payload, - type: 'info' - }; - - expect(modalWrapperReducer({}, action)).toEqual(expected); - }); - - it('returns correct state for hide modal action', () => { - const state = { - size: 'medium', - title: 'Title', - type: 'info' - }; - - const action = hideModalAction(); - - expect(modalWrapperReducer(state, action)).toEqual({}); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperActions.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperActions.js deleted file mode 100644 index fe0ca0a5..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperActions.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { createAction } from 'redux-actions'; - -export const SHOW_MODAL = 'modal/SHOW_MODAL'; -export const HIDE_MODAL = 'modal/HIDE_MODAL'; - -export const showInfoModalAction = createAction(SHOW_MODAL, payload => ({ - size: 'small', - ...payload, - type: 'info' -})); - -export const showAlertModalAction = createAction(SHOW_MODAL, payload => ({ - size: 'small', - ...payload, - type: 'alert' -})); - -export const showErrorModalAction = createAction(SHOW_MODAL, payload => ({ - size: 'small', - ...payload, - type: 'error' -})); - -export const showCustomModalAction = createAction(SHOW_MODAL, payload => ({ - size: 'medium', - ...payload, - type: 'custom' -})); - -export const hideModalAction = createAction(HIDE_MODAL); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperComponents.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperComponents.js deleted file mode 100644 index 1e051b2f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperComponents.js +++ /dev/null @@ -1,27 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import NewWorkflow from 'features/workflow/create/CreateWorkflow'; -import NewVersion from 'features/version/create/CreateVersion'; - -export const NEW_WORKFLOW_MODAL = 'NEW_WORKFLOW_MODAL'; -export const NEW_VERSION_MODAL = 'NEW_VERSION_MODAL'; - -const modalWrapperComponents = { - NEW_WORKFLOW_MODAL: NewWorkflow, - NEW_VERSION_MODAL: NewVersion -}; - -export default modalWrapperComponents; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperReducer.js b/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperReducer.js deleted file mode 100644 index 600998b6..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/modal/modalWrapperReducer.js +++ /dev/null @@ -1,32 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { SHOW_MODAL, HIDE_MODAL } from 'shared/modal/modalWrapperActions'; - -const modalWrapperReducer = (state = {}, action) => { - const { type, payload } = action; - - switch (type) { - case SHOW_MODAL: - return { ...payload }; - case HIDE_MODAL: - return {}; - default: - return state; - } -}; - -export default modalWrapperReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationLink.jsx b/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationLink.jsx deleted file mode 100644 index 6688cb55..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationLink.jsx +++ /dev/null @@ -1,48 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import classnames from 'classnames'; - -function getItemDataTestId(itemId) { - return itemId.split('|')[0]; -} - -const NavigationLink = ({ item, activeItemId, onClick }) => { - return ( - <div - key={'navAction_' + item.id} - className={classnames('navigation-group-item-name', { - selected: item.id === activeItemId, - disabled: item.disabled, - 'bold-name': item.expanded, - hidden: item.hidden - })} - onClick={event => onClick(event, item)} - data-test-id={'navbar-group-item-' + getItemDataTestId(item.id)}> - {item.name} - </div> - ); -}; - -NavigationLink.propTypes = { - item: PropTypes.object, - activeItemId: PropTypes.string, - onClick: PropTypes.func -}; - -export default NavigationLink; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenu.jsx b/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenu.jsx deleted file mode 100644 index f8a7d46f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenu.jsx +++ /dev/null @@ -1,39 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import NavigationMenuItems from './NavigationMenuItems'; - -const NavigationMenu = ({ menu, activeItemId, onNavigationItemClick }) => { - return ( - <div className="navigation-group" key={menu.id}> - <NavigationMenuItems - items={menu.items} - activeItemId={activeItemId} - onNavigationItemClick={onNavigationItemClick} - /> - </div> - ); -}; - -NavigationMenu.propTypes = { - menu: PropTypes.object, - activeItemId: PropTypes.string.isRequired, - onNavigationItemClick: PropTypes.func -}; - -export default NavigationMenu; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItem.jsx b/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItem.jsx deleted file mode 100644 index 540e09c7..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItem.jsx +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import classnames from 'classnames'; -import NavigationLink from './NavigationLink'; - -const NavigationMenuItem = ({ onNavigationItemClick, item, activeItemId }) => { - return ( - <div - className={classnames('navigation-group-item', { - 'selected-item': item.id === activeItemId - })} - key={'item_' + item.id}> - <NavigationLink - item={item} - activeItemId={activeItemId} - onClick={onNavigationItemClick} - /> - </div> - ); -}; - -NavigationMenuItem.propTypes = { - onNavigationItemClick: PropTypes.func, - item: PropTypes.object, - activeItemId: PropTypes.string -}; - -export default NavigationMenuItem; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItems.jsx b/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItems.jsx deleted file mode 100644 index 56bad084..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/NavigationMenuItems.jsx +++ /dev/null @@ -1,47 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import NavigationMenuItem from './NavigationMenuItem'; - -const NavigationMenuItems = ({ - items, - activeItemId, - onNavigationItemClick -}) => { - return ( - <div className="navigation-group-items"> - {items && - items.map(item => ( - <NavigationMenuItem - key={'menuItem_' + item.id} - item={item} - activeItemId={activeItemId} - onNavigationItemClick={onNavigationItemClick} - /> - ))} - </div> - ); -}; - -NavigationMenuItems.propTypes = { - items: PropTypes.array, - activeItemId: PropTypes.string, - onNavigationItemClick: PropTypes.func -}; - -export default NavigationMenuItems; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/index.js b/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/index.js deleted file mode 100644 index b3af6f47..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/navigationSideBar/index.js +++ /dev/null @@ -1,73 +0,0 @@ -/*! - * Copyright © 2016-2018 European Support Limited - * - * 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 - * - * 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. - */ - -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import NavigationMenu from './NavigationMenu'; - -class NavigationSideBar extends Component { - static propTypes = { - activeItemId: PropTypes.string, - onSelect: PropTypes.func, - onToggle: PropTypes.func, - groups: PropTypes.array, - disabled: PropTypes.bool, - onNavigationItemClick: PropTypes.func - }; - - constructor(props) { - super(props); - this.state = { - activeItemId: null - }; - this.handleItemClicked = this.handleItemClicked.bind(this); - } - - render() { - let { groups, activeItemId, disabled = false } = this.props; - - return ( - <div - className={`navigation-side-content ${ - disabled ? 'disabled' : '' - }`}> - {groups.map(group => ( - <NavigationMenu - menu={group} - activeItemId={activeItemId} - onNavigationItemClick={this.handleItemClicked} - key={'menu_' + group.id} - /> - ))} - </div> - ); - } - - handleItemClicked(event, item) { - event.stopPropagation(); - if (this.props.onToggle) { - this.props.onToggle(this.props.groups, item.id); - } - if (item.onSelect) { - item.onSelect(); - } - if (this.props.onSelect) { - this.props.onSelect(item); - } - } -} - -export default NavigationSideBar; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/Notifications.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/Notifications.js deleted file mode 100644 index 5be899a9..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/Notifications.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { connect } from 'react-redux'; -import NotificationsView from 'shared/notifications/NotificationsView'; -import { notificationActions } from 'shared/notifications/notificationsActions'; - -const mapStateToProps = state => { - return { - notifications: state.notifications - }; -}; - -function mapDispatchToProps(dispatch) { - return { - removeNotifications: payload => - dispatch(notificationActions.removeNotification(payload)) - }; -} - -export default connect( - mapStateToProps, - mapDispatchToProps -)(NotificationsView); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/NotificationsView.jsx b/workflow-designer-ui/src/main/frontend/src/shared/notifications/NotificationsView.jsx deleted file mode 100644 index 44812897..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/NotificationsView.jsx +++ /dev/null @@ -1,56 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import React, { PureComponent } from 'react'; -import PropTypes from 'prop-types'; -import { Notification } from 'onap-ui-react'; -import { CSSTransition, TransitionGroup } from 'react-transition-group'; - -export default class NotificationsView extends PureComponent { - static propTypes = { - removeNotifications: PropTypes.func, - notifications: PropTypes.array - }; - - constructor(props) { - super(props); - } - - render() { - const { notifications, removeNotifications } = this.props; - return ( - <div className="workflow-notifications-container position-top-right"> - <TransitionGroup> - {notifications.map(item => ( - <CSSTransition - in={true} - timeout={500} - unmountOnExit - classNames="react-transition" - key={`notification-transition-${item.id}`}> - <Notification - key={item.id} - type={item.type} - title={item.title} - message={item.message} - onClick={() => removeNotifications(item)} - /> - </CSSTransition> - ))} - </TransitionGroup> - </div> - ); - } -} diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/NotificationView_snapshot-test.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/NotificationView_snapshot-test.js deleted file mode 100644 index 616f10ff..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/NotificationView_snapshot-test.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import React from 'react'; -import renderer from 'react-test-renderer'; - -import NotificationsView from 'shared/notifications/NotificationsView'; - -describe('Notification View Snapshot', () => { - it('renders correctly', () => { - const tree = renderer - .create(<NotificationsView notifications={[]} />) - .toJSON(); - - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/__snapshots__/NotificationView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/__snapshots__/NotificationView_snapshot-test.js.snap deleted file mode 100644 index eb4a573f..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/__snapshots__/NotificationView_snapshot-test.js.snap +++ /dev/null @@ -1,9 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Notification View Snapshot renders correctly 1`] = ` -<div - className="workflow-notifications-container position-top-right" -> - <div /> -</div> -`; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/notificationsReducer-test.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/notificationsReducer-test.js deleted file mode 100644 index d308d22d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/__tests__/notificationsReducer-test.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import notificationsReducer from 'shared/notifications/notificationsReducer'; -import { actionTypes } from 'shared/notifications/notificationsConstants'; - -describe('Notifications Reducer', () => { - it('Returns empty state array', () => { - expect(notificationsReducer(undefined, {})).toEqual([]); - }); - it('Add notification obj to the notification arr in store', () => { - const action = { - type: actionTypes.ADD_NOTIFICATION, - payload: { - title: 'Notification1', - message: 'This is a test', - type: 'info', - id: '4a2b0038-e442-4ccb-b577-5d04eee6fdfb', - timeout: 200 - } - }; - expect(notificationsReducer([], action)).toEqual([action.payload]); - }); - it('Remove notification instance from store', () => { - const resultState = [ - { - title: 'Notification1', - message: 'This is a test', - type: 'info', - id: '4a2b0038-e442-4ccb-b577-5d04eee6fdfb', - timeout: 200 - } - ]; - const removeAction = { - type: actionTypes.REMOVE_NOTIFICATION, - payload: { - title: 'Notification1', - message: 'This is a test', - type: 'info', - id: '4a2b0038-e442-4ccb-b577-5d04eee6fdfb', - timeout: 200 - } - }; - expect(notificationsReducer([], removeAction)).toEqual([]); - expect(notificationsReducer(resultState, removeAction)).toEqual( - resultState.filter(item => item.id !== removeAction.payload.id) - ); - }); -}); diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsActions.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsActions.js deleted file mode 100644 index 84f9da83..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsActions.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { actionTypes } from 'shared/notifications/notificationsConstants'; -import UUID from 'uuid-js'; - -export const notificationActions = { - showNotification: item => ({ - type: actionTypes.ADD_NOTIFICATION, - payload: { - ...item, - id: UUID.create().toString() - } - }), - - showSuccess: ({ title, message, timeout }) => - notificationActions.showNotification({ - title, - message, - timeout, - type: 'success' - }), - showInfo: ({ title, message, timeout }) => - notificationActions.showNotification({ - title, - message, - timeout, - type: 'info' - }), - showWarning: ({ title, message, timeout }) => - notificationActions.showNotification({ - title, - message, - timeout, - type: 'warning' - }), - showError: ({ title, message, timeout }) => - notificationActions.showNotification({ - title, - message, - timeout, - type: 'error' - }), - removeNotification: item => ({ - type: actionTypes.REMOVE_NOTIFICATION, - payload: item - }) -}; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsConstants.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsConstants.js deleted file mode 100644 index 3e166424..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsConstants.js +++ /dev/null @@ -1,21 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -export const actionTypes = { - ADD_NOTIFICATION: 'notification/ADD_NOTIFICATION', - REMOVE_NOTIFICATION: 'notification/REMOVE_NOTIFICATION' -}; -export const notificationTimeout = 4000; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsReducer.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsReducer.js deleted file mode 100644 index f0989cf5..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsReducer.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -import { actionTypes } from 'shared/notifications/notificationsConstants'; - -function notificationsReducer(state = [], action) { - switch (action.type) { - case actionTypes.ADD_NOTIFICATION: - return [...state, action.payload]; - case actionTypes.REMOVE_NOTIFICATION: - return state.filter(item => item.id !== action.payload.id); - default: - return state; - } -} - -export default notificationsReducer; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsSagas.js b/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsSagas.js deleted file mode 100644 index c30930a2..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/notifications/notificationsSagas.js +++ /dev/null @@ -1,33 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -import { takeEvery, put } from 'redux-saga/effects'; -import { delay } from 'redux-saga'; -import { - actionTypes, - notificationTimeout -} from 'shared/notifications/notificationsConstants.js'; -import { notificationActions } from 'shared/notifications/notificationsActions'; - -export function* handleComingNotifications(params) { - const { timeout, ...data } = params; - const interval = timeout || notificationTimeout; - yield delay(interval); - yield put(notificationActions.removeNotification(data.payload)); -} - -export function* watchNotifications() { - yield takeEvery(actionTypes.ADD_NOTIFICATION, handleComingNotifications); -} diff --git a/workflow-designer-ui/src/main/frontend/src/shared/pubsub/base-pubsub.ts b/workflow-designer-ui/src/main/frontend/src/shared/pubsub/base-pubsub.ts deleted file mode 100644 index 41e8039d..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/pubsub/base-pubsub.ts +++ /dev/null @@ -1,127 +0,0 @@ -declare const window: Window; - -export class BasePubSub { - - subscribers: Map<string, ISubscriber>; - eventsCallbacks: Array<Function>; - clientId: string; - eventsToWait: Map<string, Array<string>>; - lastEventNotified: string; - - constructor(pluginId: string) { - this.subscribers = new Map<string, ISubscriber>(); - this.eventsCallbacks = []; - this.eventsToWait = new Map<string, Array<string>>(); - this.clientId = pluginId; - this.lastEventNotified = ""; - this.onMessage = this.onMessage.bind(this); - - window.addEventListener("message", this.onMessage); - } - - public register(subscriberId: string, subscriberWindow: Window, subscriberUrl: string) { - const subscriber = { - window: subscriberWindow, - locationUrl: subscriberUrl || subscriberWindow.location.href - } as ISubscriber; - - this.subscribers.set(subscriberId, subscriber); - } - - public unregister(subscriberId: string) { - this.subscribers.delete(subscriberId); - } - - public on(callback: Function) { - let functionExists = this.eventsCallbacks.find((func: Function) => { - return callback.toString() == func.toString() - }); - - if (!functionExists) { - this.eventsCallbacks.push(callback); - } - } - - public off(callback: Function) { - let index = this.eventsCallbacks.indexOf(callback); - this.eventsCallbacks.splice(index, 1) - } - - public notify(eventType:string, eventData?:any) { - let eventObj = { - type: eventType, - data: eventData, - originId: this.clientId - } as IPubSubEvent; - - this.subscribers.forEach( (subscriber: ISubscriber, subscriberId: string) => { - subscriber.window.postMessage(eventObj, subscriber.locationUrl); - }); - - this.lastEventNotified = eventType; - - return { - subscribe: function(callbackFn) { - - if(this.subscribers.size !== 0) { - let subscribersToNotify = Array.from(this.subscribers.keys()); - - const checkNotifyComplete = (subscriberId: string) => { - - let index = subscribersToNotify.indexOf(subscriberId); - subscribersToNotify.splice(index, 1); - - if (subscribersToNotify.length === 0) { - callbackFn(); - } - }; - - this.subscribers.forEach((subscriber: ISubscriber, subscriberId: string) => { - if (this.eventsToWait.has(subscriberId) && this.eventsToWait.get(subscriberId).indexOf(eventType) !== -1) { - - const actionCompletedFunction = (eventData, subId = subscriberId) => { - if (eventData.type == "ACTION_COMPLETED") { - checkNotifyComplete(subId); - } - this.off(actionCompletedFunction); - - }; - this.on(actionCompletedFunction); - } - else { - checkNotifyComplete(subscriberId); - } - }); - } - else { - callbackFn(); - } - }.bind(this) - } - } - - public isWaitingForEvent(eventName: string) : boolean { - return Array.from(this.eventsToWait.values()).some((eventsList: Array<string>) => - eventsList.indexOf(eventName) !== -1 - ); - } - - protected onMessage(event: any) { - if (this.subscribers.has(event.data.originId)) { - this.eventsCallbacks.forEach((callback: Function) => { - callback(event.data, event); - }) - } - } -} - -export interface IPubSubEvent { - type: string; - originId: string; - data: any; -} - -export interface ISubscriber { - window: Window; - locationUrl: string; -} diff --git a/workflow-designer-ui/src/main/frontend/src/shared/pubsub/plugin-pubsub.ts b/workflow-designer-ui/src/main/frontend/src/shared/pubsub/plugin-pubsub.ts deleted file mode 100644 index 8f99e659..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/pubsub/plugin-pubsub.ts +++ /dev/null @@ -1,30 +0,0 @@ -import {BasePubSub} from 'shared/pubsub/base-pubsub'; - -declare const window: Window; - -export class PluginPubSub extends BasePubSub { - - - constructor(pluginId: string, parentUrl: string, eventsToWait?: Array<string>) { - super(pluginId); - this.register('sdc-hub', window.parent, parentUrl); - this.subscribe(eventsToWait); - } - - public subscribe(eventsToWait?: Array<string>) { - const registerData = { - pluginId: this.clientId, - eventsToWait: eventsToWait || [] - }; - - this.notify('PLUGIN_REGISTER', registerData); - } - - public unsubscribe() { - const unregisterData = { - pluginId: this.clientId - }; - - this.notify('PLUGIN_UNREGISTER', unregisterData); - } -} diff --git a/workflow-designer-ui/src/main/frontend/src/shared/scroll/InfiniteScroll.js b/workflow-designer-ui/src/main/frontend/src/shared/scroll/InfiniteScroll.js deleted file mode 100644 index 04d00120..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/scroll/InfiniteScroll.js +++ /dev/null @@ -1,161 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; - -class InfiniteScroll extends React.Component { - constructor(props) { - super(props); - this.state = { - initialLoad: false - }; - } - componentDidMount() { - this.scrollEl = this.getScrollElement(); - this.attachScrollListener(); - this.setState({ initialLoad: true }); - } - - componentDidUpdate() { - this.attachScrollListener(); - } - - componentWillUnmount() { - this.detachScrollListener(); - } - - getParentElement(el) { - return el.parentNode; - } - - getScrollElement() { - if (this.props.useWindow) { - return window; - } - - return this.getParentElement(this.scrollComponent); - } - - detachScrollListener() { - this.scrollEl.removeEventListener( - 'scroll', - this.scrollListener, - this.props.useCapture - ); - window.removeEventListener( - 'resize', - this.scrollListener, - this.props.useCapture - ); - } - - attachScrollListener() { - if (!this.props.hasMore || !this.scrollEl) { - return; - } - - const options = { - capture: this.props.useCapture, - passive: true - }; - - this.scrollEl.addEventListener('scroll', this.scrollListener, options); - window.addEventListener('resize', this.scrollListener, options); - - this.scrollListener(); - } - - scrollListener = () => { - const el = this.scrollComponent; - const scrollEl = window; - const parentNode = this.getParentElement(el); - - let offset; - if (this.props.useWindow) { - const doc = - document.documentElement || - document.body.parentNode || - document.body; - const scrollTop = - scrollEl.pageYOffset !== undefined - ? scrollEl.pageYOffset - : doc.scrollTop; - - offset = - this.calculateTopPosition(el) + - (el.offsetHeight - scrollTop - window.innerHeight); - } else { - offset = - el.scrollHeight - - parentNode.scrollTop - - parentNode.clientHeight; - } - - // Here we make sure the element is visible as well as checking the offset - if (offset < Number(this.props.threshold) && el.offsetParent !== null) { - this.detachScrollListener(); - // Call loadMore after detachScrollListener to allow for non-async loadMore functions - if ( - typeof this.props.loadMore === 'function' && - this.state.initialLoad - ) { - this.props.loadMore(); - } - } - }; - - calculateTopPosition(el) { - if (!el) { - return 0; - } - return el.offsetTop + this.calculateTopPosition(el.offsetParent); - } - - render() { - const { children, element } = this.props; - - const props = { - ref: node => { - this.scrollComponent = node; - } - }; - - const childrenArray = [children]; - - return React.createElement(element, props, childrenArray); - } -} - -InfiniteScroll.propTypes = { - children: PropTypes.node.isRequired, - element: PropTypes.node, - hasMore: PropTypes.bool, - loadMore: PropTypes.func.isRequired, - threshold: PropTypes.number, - useCapture: PropTypes.bool, - useWindow: PropTypes.bool -}; - -InfiniteScroll.defaultProps = { - element: 'div', - hasMore: false, - threshold: 250, - useWindow: true, - useCapture: false -}; - -export default InfiniteScroll; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/scroll/Scrollbars.js b/workflow-designer-ui/src/main/frontend/src/shared/scroll/Scrollbars.js deleted file mode 100644 index e5ec8cee..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/scroll/Scrollbars.js +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import PerfectScrollbar from 'perfect-scrollbar'; - -class Scrollbars extends React.Component { - containerRef = React.createRef(); - scrollbars = null; - - componentDidMount() { - const container = this.containerRef.current; - - this.scrollbars = new PerfectScrollbar(container); - } - - componentDidUpdate() { - if (this.scrollbars) { - this.scrollbars.update(); - } - } - - componentWillUnmount() { - this.scrollbars.destroy(); - this.scrollbars = null; - } - - render() { - const { children, className } = this.props; - - return ( - <div className={className} ref={this.containerRef}> - {children} - </div> - ); - } -} - -Scrollbars.propTypes = { - children: PropTypes.node, - className: PropTypes.string -}; - -export default Scrollbars; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/searchInput/SearchInput.jsx b/workflow-designer-ui/src/main/frontend/src/shared/searchInput/SearchInput.jsx deleted file mode 100644 index a4ae2cd9..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/searchInput/SearchInput.jsx +++ /dev/null @@ -1,131 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { SVGIcon } from 'onap-ui-react'; - -class ExpandableInput extends React.Component { - static propTypes = { - dataTestId: PropTypes.string, - onChange: PropTypes.func, - value: PropTypes.string - }; - - state = { showInput: !!this.props.value }; - - handleRef = input => { - this.domNode = input; - - this.domNode && this.domNode.focus(); - }; - - showInput = () => { - this.setState({ showInput: true }); - }; - - hideInput = () => { - this.setState({ showInput: false }); - }; - - closeInput = () => { - if (!this.props.value) { - this.hideInput(); - } - }; - - getValue = () => { - return this.props.value; - }; - - handleChange = e => { - this.props.onChange(e.target.value); - }; - - handleClose() { - this.props.onChange(''); - - this.hideInput(); - } - - handleKeyDown = e => { - if (e.key === 'Escape') { - e.preventDefault(); - - this.handleClose(); - } - }; - - handleBlur = () => { - if (!this.props.value) { - this.setState({ showInput: false }); - } - }; - - render() { - let { value, dataTestId } = this.props; - - const { showInput } = this.state; - - if (!showInput) { - return ( - <div className="search-input-top"> - <SVGIcon - className="search-input-wrapper closed" - name="search" - data-test-id={dataTestId} - onClick={this.showInput} - /> - </div> - ); - } - - return ( - <div className="search-input-top"> - <div className="search-input-wrapper opened"> - <div className="search-input-control"> - <input - type="text" - value={value} - ref={this.handleRef} - className="input-control" - data-test-id={`${dataTestId}-input-control`} - onChange={this.handleChange} - onKeyDown={this.handleKeyDown} - onBlur={this.handleBlur} - /> - </div> - {value && ( - <SVGIcon - data-test-id={`${dataTestId}-close-search`} - onClick={() => this.handleClose()} - name="close" - /> - )} - {!value && ( - <SVGIcon - name="search" - data-test-id={`${dataTestId}-blur-search`} - onClick={this.handleBlur} - /> - )} - </div> - </div> - ); - } -} - -export default ExpandableInput; diff --git a/workflow-designer-ui/src/main/frontend/src/shared/tree/Tree.jsx b/workflow-designer-ui/src/main/frontend/src/shared/tree/Tree.jsx deleted file mode 100644 index 60ef9646..00000000 --- a/workflow-designer-ui/src/main/frontend/src/shared/tree/Tree.jsx +++ /dev/null @@ -1,231 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { select } from 'd3-selection'; -import { tree, stratify } from 'd3-hierarchy'; -function diagonal(d) { - const offset = 50; - return ( - 'M' + - d.y + - ',' + - d.x + - 'C' + - (d.parent.y + offset) + - ',' + - d.x + - ' ' + - (d.parent.y + offset) + - ',' + - d.parent.x + - ' ' + - d.parent.y + - ',' + - d.parent.x - ); -} - -const nodeRadius = 8; -const verticalSpaceBetweenNodes = 70; -const NARROW_HORIZONTAL_SPACES = 47; -const WIDE_HORIZONTAL_SPACES = 65; - -const stratifyFn = stratify() - .id(d => d.id) - .parentId(d => d.parent); - -class Tree extends Component { - static propTypes = { - name: PropTypes.string, - width: PropTypes.number, - allowScaleWidth: PropTypes.bool, - nodes: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string, - name: PropTypes.string, - parent: PropTypes.string - }) - ), - selectedNodeId: PropTypes.string, - onNodeClick: PropTypes.func, - onRenderedBeyondWidth: PropTypes.func, - scrollable: PropTypes.bool, - toWiden: PropTypes.bool - }; - - static defaultProps = { - width: 500, - allowScaleWidth: true, - name: 'default-name' - }; - - render() { - let { width, name, scrollable = false } = this.props; - return ( - <div - className={`tree-view ${name}-container ${ - scrollable ? 'scrollable' : '' - }`}> - <svg width={width} className={name} /> - </div> - ); - } - - componentDidMount() { - this.renderTree(); - } - - componentDidUpdate(prevProps) { - if ( - this.props.nodes.length !== prevProps.nodes.length || - this.props.selectedNodeId !== prevProps.selectedNodeId - ) { - this.renderTree(); - } - } - - renderTree() { - let { - width, - nodes, - name, - allowScaleWidth, - selectedNodeId, - onRenderedBeyondWidth, - toWiden - } = this.props; - if (nodes.length > 0) { - let horizontalSpaceBetweenLeaves = toWiden - ? WIDE_HORIZONTAL_SPACES - : NARROW_HORIZONTAL_SPACES; - const treeFn = tree().nodeSize([ - horizontalSpaceBetweenLeaves, - verticalSpaceBetweenNodes - ]); //.size([width - 50, height - 50]) - let root = stratifyFn(nodes).sort((a, b) => - a.data.name.localeCompare(b.data.name) - ); - let svgHeight = - verticalSpaceBetweenNodes * root.height + nodeRadius * 6; - - treeFn(root); - - let nodesXValue = root.descendants().map(node => node.x); - let maxX = Math.max(...nodesXValue); - let minX = Math.min(...nodesXValue); - - let svgTempWidth = - ((maxX - minX) / 30) * horizontalSpaceBetweenLeaves; - let svgWidth = svgTempWidth < width ? width - 5 : svgTempWidth; - const svgEL = select(`svg.${name}`); - const container = select(`.tree-view.${name}-container`); - svgEL.html(''); - svgEL.attr('height', svgHeight); - let canvasWidth = width; - if (svgTempWidth > width) { - if (allowScaleWidth) { - canvasWidth = svgTempWidth; - } - // we seems to have a margin of 25px that we can still see with text - if ( - svgTempWidth - 25 > width && - onRenderedBeyondWidth !== undefined - ) { - onRenderedBeyondWidth(); - } - } - svgEL.attr('width', canvasWidth); - let rootGroup = svgEL - .append('g') - .attr( - 'transform', - `translate(${svgWidth / 2 + nodeRadius},${nodeRadius * - 4}) rotate(90)` - ); - - // handle link - rootGroup - .selectAll('.link') - .data(root.descendants().slice(1)) - .enter() - .append('path') - .attr('class', 'link') - .attr('d', diagonal); - - let node = rootGroup - .selectAll('.node') - .data(root.descendants()) - .enter() - .append('g') - .attr( - 'class', - node => - `node ${node.children ? ' has-children' : ' leaf'} ${ - node.id === selectedNodeId ? 'selectedNode' : '' - } ${this.props.onNodeClick ? 'clickable' : ''}` - ) - .attr( - 'transform', - node => 'translate(' + node.y + ',' + node.x + ')' - ) - .on('click', node => this.onNodeClick(node)); - - node.append('circle') - .attr('r', nodeRadius) - .attr('class', 'outer-circle'); - node.append('circle') - .attr('r', nodeRadius - 3) - .attr('class', 'inner-circle'); - - node.append('text') - .attr('y', nodeRadius / 4 + 1) - .attr('x', -nodeRadius * 1.8) - .text(node => node.data.name) - .attr('transform', 'rotate(-90)'); - - let selectedNode = selectedNodeId - ? root.descendants().find(node => node.id === selectedNodeId) - : null; - if (selectedNode) { - container.property( - 'scrollLeft', - svgWidth / 4 + - (svgWidth / 4 - 100) - - (selectedNode.x / 30) * horizontalSpaceBetweenLeaves - ); - container.property( - 'scrollTop', - (selectedNode.y / 100) * verticalSpaceBetweenNodes - ); - } else { - container.property( - 'scrollLeft', - svgWidth / 4 + (svgWidth / 4 - 100) - ); - } - } - } - - onNodeClick(node) { - if (this.props.onNodeClick) { - this.props.onNodeClick(node.data); - } - } -} - -export default Tree; diff --git a/workflow-designer-ui/src/main/frontend/src/store.js b/workflow-designer-ui/src/main/frontend/src/store.js deleted file mode 100644 index 90b55bbd..00000000 --- a/workflow-designer-ui/src/main/frontend/src/store.js +++ /dev/null @@ -1,42 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* -* 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. -*/ - -import { createStore, applyMiddleware, compose } from 'redux'; -import thunk from 'redux-thunk'; -import createSagaMiddleware from 'redux-saga'; -import { syncTranslationWithStore } from 'react-redux-i18n'; - -import reducers from './rootReducers'; -import rootSaga from './rootSaga'; - -const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; -const sagaMiddleware = createSagaMiddleware(); - -const middleware = [thunk, sagaMiddleware]; - -const store = createStore( - reducers, - composeEnhancers(applyMiddleware(...middleware)) -); - -const rootSagaTask = sagaMiddleware.run(rootSaga); -syncTranslationWithStore(store); - -rootSagaTask.done.catch(function(err) { - console.log(err); -}); - -export default store; diff --git a/workflow-designer-ui/src/main/frontend/testSetup/fileTransform.js b/workflow-designer-ui/src/main/frontend/testSetup/fileTransform.js deleted file mode 100644 index 16a5a5f8..00000000 --- a/workflow-designer-ui/src/main/frontend/testSetup/fileTransform.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -const path = require('path'); - -module.exports = { - process(src, filename) { - return `module.exports = ${JSON.stringify(path.basename(filename))};`; - } -}; diff --git a/workflow-designer-ui/src/main/frontend/tools/ModuleRedirectPlugin.js b/workflow-designer-ui/src/main/frontend/tools/ModuleRedirectPlugin.js deleted file mode 100644 index 37eb5c3b..00000000 --- a/workflow-designer-ui/src/main/frontend/tools/ModuleRedirectPlugin.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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 ModuleRedirectPlugin (options) { - options = options || {}; - this.intercept = options.intercept; - this.redirect = options.redirect; - this.ignore = options.ignore; -} - -ModuleRedirectPlugin.prototype.apply = function (resolver) { - resolver.plugin('described-resolve', (request, callback) => { - if (!request.request.match(this.intercept) || - request.request.match(this.ignore) - ) { - return callback(); - } - var newRequest = { - ...request, - request: request.request.replace(this.intercept, this.redirect) - }; - resolver.doResolve( - 'resolve', - newRequest, - `Resolved request '${request.request}' to '${newRequest.request}'.`, - callback - ); - }); -} - -module.exports = ModuleRedirectPlugin; diff --git a/workflow-designer-ui/src/main/frontend/tools/devConfig.defaults.json b/workflow-designer-ui/src/main/frontend/tools/devConfig.defaults.json deleted file mode 100644 index 9fa77d49..00000000 --- a/workflow-designer-ui/src/main/frontend/tools/devConfig.defaults.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "port": 9000, - "proxyTarget": null, - "proxyConfig": { - "cookies": null, - "cookiesReplaceRules": [], - "urlReplaceRules": [], - "jsReplaceRules": [], - "appContextPath": null, - "login": null, - "redirectionPath": null, - "onboardingProxy": { - "rewrite": null, - "proxy": [] - }, - "catalogProxy": { - "rewrite": null, - "proxy": [] - }, - "websocketProxy": { - "proxy": [] - }, - "bundles": { - "bundle": ["src/index.js"] - } - } -} diff --git a/workflow-designer-ui/src/main/frontend/tools/getDevConfig.js b/workflow-designer-ui/src/main/frontend/tools/getDevConfig.js deleted file mode 100644 index 49aa9158..00000000 --- a/workflow-designer-ui/src/main/frontend/tools/getDevConfig.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -module.exports = function () { - let localDevConfig = {}; - try { - localDevConfig = require('./devConfig'); - } catch (e) {} - const devConfig = Object.assign({}, require('./devConfig.defaults'), localDevConfig); - let devPort = process.env.PORT || devConfig.port; - devConfig.port = devPort; - return devConfig; -}();
\ No newline at end of file diff --git a/workflow-designer-ui/src/main/frontend/tools/mocks/mock.js b/workflow-designer-ui/src/main/frontend/tools/mocks/mock.js deleted file mode 100644 index 8366f400..00000000 --- a/workflow-designer-ui/src/main/frontend/tools/mocks/mock.js +++ /dev/null @@ -1,209 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -const proxy = { - 'POST /workflows': { - id: '755eab7752374a2380544065b59b082d', - name: 'Workflow one', - description: 'description description 1' - }, - 'POST /workflows/:id/versions': { - baseId: null, - creationTime: '2018-07-11T14:30:42.954Z', - description: 'description', - id: '7b5f6b086613470985082df2c0f6c713', - modificationTime: '2018-07-11T14:30:42.954Z', - name: 'version 1', - status: 'Certified' - }, - 'GET /wf/workflows': { - total: 2, - limit: 100, - offset: 0, - results: [ - { - id: '755eab7752374a2380544065b59b082d', - name: 'Workflow one', - description: 'description description 1', - category: null - }, - { - id: 'ef8159204dac4c10a85b29ec30b4bd56', - name: 'Workflow two', - description: 'description description 2', - category: null - } - ] - }, - 'GET /wf/workflow/category': [ - { - name: 'Network Connectivity', - normalizedName: 'network connectivity', - uniqueId: 'resourceNewCategory.network connectivity', - icons: null, - subcategories: [ - { - name: 'Virtual Links', - normalizedName: 'virtual links', - uniqueId: - 'resourceNewCategory.network connectivity.virtual links', - icons: ['vl'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Connection Points', - normalizedName: 'connection points', - uniqueId: - 'resourceNewCategory.network connectivity.connection points', - icons: ['cp'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - } - ], - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Generic', - normalizedName: 'generic', - uniqueId: 'resourceNewCategory.generic', - icons: null, - subcategories: [ - { - name: 'Infrastructure', - normalizedName: 'infrastructure', - uniqueId: 'resourceNewCategory.generic.infrastructure', - icons: ['connector'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Network Elements', - normalizedName: 'network elements', - uniqueId: 'resourceNewCategory.generic.network elements', - icons: ['network', 'connector'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Database', - normalizedName: 'database', - uniqueId: 'resourceNewCategory.generic.database', - icons: ['database'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Abstract', - normalizedName: 'abstract', - uniqueId: 'resourceNewCategory.generic.abstract', - icons: ['objectStorage', 'compute'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - }, - { - name: 'Rules', - normalizedName: 'rules', - uniqueId: 'resourceNewCategory.generic.rules', - icons: ['networkrules', 'securityrules'], - groupings: null, - version: null, - ownerId: null, - empty: false, - type: null - } - ], - version: null, - ownerId: null, - empty: false, - type: null - } - ], - 'GET /wf/workflows/:id/versions/:versionId': { - id: '7b5f6b086613470985082df2c0f6c713', - major: 0, - minor: 0, - name: '1.0', - description: - 'Initial version, bug fix for previous version that fixed an exception when the port was occupied', - baseId: null, - creationTime: '2018-07-04T08:24:50.777+0000', - modificationTime: '2018-07-04T11:06:29.559+0000', - status: 'Draft', - state: { - synchronizationState: 'UpToDate', - dirty: false - }, - additionalInfo: null, - final: false - }, - 'GET /wf/workflows/:id': { - id: '755eab7752374a2380544065b59b082d', - name: 'Workflow1', - description: 'workflow description', - creationTime: '2018-07-04T08:24:50.777+0000' - }, - 'GET /wf/workflow/:id/getVersions': { - listCount: 2, - versionList: [ - { - id: '7b5f6b086613470985082df2c0f6c713', - baseId: null, - name: '1.0', - description: - 'Initial version, bug fix for previous version that fixed an exception when the port was occupied', - status: 'Certified', - creationTime: '2018-07-11T09:08:46.892Z', - modificationTime: '2018-07-11T09:08:46.892Z', - archivedStatus: 'ACTIVE' - }, - { - id: '7b5f6b086613470985082df2c0f6c666', - baseId: '7b5f6b086613470985082df2c0f6c713', - name: '2.0', - description: - 'Test version, bug fix for previous version that fixed an exception when the port was occupied', - status: 'Certified', - creationTime: '2018-07-09T09:08:46.892Z', - modificationTime: '2018-07-09T09:08:46.892Z', - archivedStatus: 'ACTIVE' - } - ] - } -}; - -module.exports = proxy; diff --git a/workflow-designer-ui/src/main/frontend/tools/proxy-server.js b/workflow-designer-ui/src/main/frontend/tools/proxy-server.js deleted file mode 100644 index bdec886c..00000000 --- a/workflow-designer-ui/src/main/frontend/tools/proxy-server.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ -'use strict'; - -const proxy = require('http-proxy-middleware'); -const devConfig = require('./getDevConfig'); - -module.exports = function(server) { - let proxyConfigDefaults = { - changeOrigin: true, - secure: false, - onProxyReq: (proxyReq, req, res) => { - proxyReq.setHeader( - 'USER_ID', - devConfig.proxyConfig.cookies.USER_ID - ); - } - }; - - let middlewares = []; - - middlewares.push( - proxy( - ['/wf', '/v1.0/activity-spec'], - Object.assign({}, proxyConfigDefaults, { - target: devConfig.proxyTarget - }) - ) - ); - server.use(middlewares); -}; diff --git a/workflow-designer-ui/src/main/frontend/tsconfig.json b/workflow-designer-ui/src/main/frontend/tsconfig.json deleted file mode 100644 index a3bc367f..00000000 --- a/workflow-designer-ui/src/main/frontend/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "strict" : false, - "noImplicitAny": false, - "outDir": "./dist/", - "module": "es6", - "target": "es5", - "jsx": "react", - "lib": ["es5", "es6", "dom"], - "allowJs": true - } -} diff --git a/workflow-designer-ui/src/main/frontend/webpack.config.js b/workflow-designer-ui/src/main/frontend/webpack.config.js deleted file mode 100644 index 7e7b02bc..00000000 --- a/workflow-designer-ui/src/main/frontend/webpack.config.js +++ /dev/null @@ -1,164 +0,0 @@ -/* -* Copyright © 2018 European Support Limited -* -* 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 -* - * 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. -*/ - -'use strict'; - -const path = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); -const { DefinePlugin } = require('webpack'); -const ModuleRedirectPlugin = require('./tools/ModuleRedirectPlugin'); -const devConfig = require('./tools/getDevConfig'); -const apiMocker = require('webpack-api-mocker'); -const proxyServer = require('./tools/proxy-server'); - -module.exports = (env, argv) => { - const WITH_MOCK = env === 'mock'; - const DEV = argv.mode && argv.mode === 'development'; - console.log('WITH_MOCK', WITH_MOCK); - let srcPath = [path.resolve(__dirname, 'src')]; - let commonPath = [path.resolve(__dirname, 'common')]; - let resourcesPath = [path.resolve(__dirname, 'resources')]; - let modulePath = [path.resolve('.'), path.join(__dirname, 'node_modules')]; - - let webpackConfig = { - performance: { hints: false }, - entry: [__dirname + '/src/index.js'], - devtool: DEV ? 'eval-source-map' : 'none', - resolve: { - modules: modulePath, - extensions: ['.js', '.json', '.css', '.scss', '.jsx', '.ts'], - alias: { - wfapp: path.resolve(__dirname, 'src/'), - features: path.resolve(__dirname, 'src/features'), - i18n: path.resolve(__dirname, 'src/i18n'), - services: path.resolve(__dirname, 'src/services'), - shared: path.resolve(__dirname, 'src/shared'), - config: path.resolve(__dirname, 'src/config') - } - }, - output: { - path: __dirname + '/dist', - filename: 'bundle.js' - }, - module: { - rules: [ - { - test: /\.(js|jsx)$/, - include: [srcPath, commonPath], - use: [ - { loader: 'babel-loader' }, - { loader: 'eslint-loader', options: { fix: false } } - ] - }, - { - test: /\.(js|jsx)$/, - loader: 'source-map-loader', - include: [srcPath, commonPath], - enforce: 'pre' - }, - { - test: /\.(css|scss)$/, - use: [ - { - loader: 'style-loader' - }, - { - loader: 'css-loader' - }, - { - loader: 'sass-loader', - options: { - output: { path: path.join(__dirname, 'dist') } - } - } - ], - include: [ - resourcesPath, - path.join(__dirname, 'node_modules/sdc-ui'), - commonPath - ] - }, - { - test: /\.less$/, - use: [ - { - loader: 'style-loader' - }, - { - loader: 'css-loader' - }, - { - loader: 'less-loader', - options: { - output: { path: path.join(__dirname, 'dist') } - } - } - ] - }, - { - test: /\.(bpmn|xml)$/, - loader: 'raw-loader' - }, - { - test: /\.ts|\.tsx$/, - loader: ['babel-loader', 'awesome-typescript-loader'], - include: srcPath - }, - { - test: /\.(eot|svg|ttf|woff|woff2)(\?.*)?$/, - use: [ - { - loader: 'file-loader', - options: {} - } - ] - } - ] - }, - plugins: [ - new DefinePlugin({ - DEBUG: DEV === true - }), - new HtmlWebpackPlugin({ - filename: 'index.html', - template: __dirname + '/index.html' - }) - ] - }; - - if (DEV) { - webpackConfig.devServer = { - before: WITH_MOCK - ? app => apiMocker(app, path.resolve('./tools/mocks/mock.js')) - : app => proxyServer(app), - port: devConfig.port, - historyApiFallback: true, - publicPath: `http://localhost:${devConfig.port}`, - contentBase: [path.join(__dirname, 'dist')], - inline: true, - hot: true, - stats: { - colors: true, - exclude: ['node_modules'] - } - }; - } else { - webpackConfig.plugins.push(new UglifyJsPlugin()); - } - console.log('Running build for : ' + argv.mode); - return webpackConfig; -}; diff --git a/workflow-designer-ui/src/main/frontend/yarn.lock b/workflow-designer-ui/src/main/frontend/yarn.lock deleted file mode 100644 index 9670e720..00000000 --- a/workflow-designer-ui/src/main/frontend/yarn.lock +++ /dev/null @@ -1,12474 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" - dependencies: - "@babel/highlight" "^7.0.0" - -"@babel/code-frame@^7.0.0-beta.35": - version "7.0.0-beta.46" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.46.tgz#e0d002100805daab1461c0fcb32a07e304f3a4f4" - dependencies: - "@babel/highlight" "7.0.0-beta.46" - -"@babel/generator@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0.tgz#1efd58bffa951dc846449e58ce3a1d7f02d393aa" - dependencies: - "@babel/types" "^7.0.0" - jsesc "^2.5.1" - lodash "^4.17.10" - source-map "^0.5.0" - trim-right "^1.0.1" - -"@babel/helper-function-name@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0.tgz#a68cc8d04420ccc663dd258f9cc41b8261efa2d4" - dependencies: - "@babel/helper-get-function-arity" "^7.0.0" - "@babel/template" "^7.0.0" - "@babel/types" "^7.0.0" - -"@babel/helper-get-function-arity@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3" - dependencies: - "@babel/types" "^7.0.0" - -"@babel/helper-split-export-declaration@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz#3aae285c0311c2ab095d997b8c9a94cad547d813" - dependencies: - "@babel/types" "^7.0.0" - -"@babel/highlight@7.0.0-beta.46": - version "7.0.0-beta.46" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.46.tgz#c553c51e65f572bdedd6eff66fc0bb563016645e" - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^3.0.0" - -"@babel/highlight@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4" - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - -"@babel/parser@7.0.0-beta.53": - version "7.0.0-beta.53" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0-beta.53.tgz#1f45eb617bf9463d482b2c04d349d9e4edbf4892" - -"@babel/parser@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0.tgz#697655183394facffb063437ddf52c0277698775" - -"@babel/template@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0.tgz#c2bc9870405959c89a9c814376a2ecb247838c80" - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.0.0" - "@babel/types" "^7.0.0" - -"@babel/traverse@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0.tgz#b1fe9b6567fdf3ab542cfad6f3b31f854d799a61" - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.0.0" - "@babel/helper-function-name" "^7.0.0" - "@babel/helper-split-export-declaration" "^7.0.0" - "@babel/parser" "^7.0.0" - "@babel/types" "^7.0.0" - debug "^3.1.0" - globals "^11.1.0" - lodash "^4.17.10" - -"@babel/types@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0.tgz#6e191793d3c854d19c6749989e3bc55f0e962118" - dependencies: - esutils "^2.0.2" - lodash "^4.17.10" - to-fast-properties "^2.0.0" - -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" - -"@sindresorhus/is@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" - -"@storybook/addon-actions@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.4.10.tgz#b90ca8ccbad925dcbb4af02d2d24cc2c60bcec3f" - dependencies: - "@storybook/components" "3.4.10" - babel-runtime "^6.26.0" - deep-equal "^1.0.1" - glamor "^2.20.40" - glamorous "^4.12.1" - global "^4.3.2" - make-error "^1.3.4" - prop-types "^15.6.1" - react-inspector "^2.2.2" - uuid "^3.2.1" - -"@storybook/addon-links@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.4.10.tgz#db53d0a0b354e7f5e55195315f48f7045307a429" - dependencies: - "@storybook/components" "3.4.10" - babel-runtime "^6.26.0" - global "^4.3.2" - prop-types "^15.6.1" - -"@storybook/addons@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.4.10.tgz#13298cdcb7ccc396321b1336b9785b69273a022d" - -"@storybook/channel-postmessage@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.4.10.tgz#fa88bdf8530d4499481c9e30c9364545f043b908" - dependencies: - "@storybook/channels" "3.4.10" - global "^4.3.2" - json-stringify-safe "^5.0.1" - -"@storybook/channels@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.4.10.tgz#ab023a0d8cbd34a4eb4b8ae5c6f02654fed9190b" - -"@storybook/client-logger@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.4.10.tgz#510854ee326808a65a20b79e3405763280bc7027" - -"@storybook/components@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.4.10.tgz#9af0bba14234d10f14a37656ac5982ec640cfcc8" - dependencies: - glamor "^2.20.40" - glamorous "^4.12.1" - prop-types "^15.6.1" - -"@storybook/core@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-3.4.10.tgz#32bdd071be15ad611e87f55d96e1d80bcc23e636" - dependencies: - "@storybook/addons" "3.4.10" - "@storybook/channel-postmessage" "3.4.10" - "@storybook/client-logger" "3.4.10" - "@storybook/node-logger" "3.4.10" - "@storybook/ui" "3.4.10" - autoprefixer "^7.2.6" - babel-runtime "^6.26.0" - chalk "^2.3.2" - commander "^2.15.0" - css-loader "^0.28.11" - dotenv "^5.0.1" - events "^2.0.0" - express "^4.16.3" - file-loader "^1.1.11" - global "^4.3.2" - json-loader "^0.5.7" - postcss-flexbugs-fixes "^3.2.0" - postcss-loader "^2.1.2" - prop-types "^15.6.1" - qs "^6.5.1" - serve-favicon "^2.4.5" - shelljs "^0.8.1" - style-loader "^0.20.3" - url-loader "^0.6.2" - webpack "^3.11.0" - webpack-dev-middleware "^1.12.2" - webpack-hot-middleware "^2.22.1" - -"@storybook/mantra-core@^1.7.2": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@storybook/mantra-core/-/mantra-core-1.7.2.tgz#e10c7faca29769e97131e0e0308ef7cfb655b70c" - dependencies: - "@storybook/react-komposer" "^2.0.1" - "@storybook/react-simple-di" "^1.2.1" - babel-runtime "6.x.x" - -"@storybook/node-logger@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.4.10.tgz#b89b7008a7d98b28530920a178ec77bde2ab97cc" - dependencies: - npmlog "^4.1.2" - -"@storybook/podda@^1.2.3": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@storybook/podda/-/podda-1.2.3.tgz#53c4a1a3f8c7bbd5755dff5c34576fd1af9d38ba" - dependencies: - babel-runtime "^6.11.6" - immutable "^3.8.1" - -"@storybook/react-komposer@^2.0.1", "@storybook/react-komposer@^2.0.3": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@storybook/react-komposer/-/react-komposer-2.0.4.tgz#c2c0d4a75d9b4a9c0c6b46f14ab050f458ad4bb0" - dependencies: - "@storybook/react-stubber" "^1.0.0" - babel-runtime "^6.11.6" - hoist-non-react-statics "^1.2.0" - lodash.pick "^4.4.0" - shallowequal "^0.2.2" - -"@storybook/react-simple-di@^1.2.1": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@storybook/react-simple-di/-/react-simple-di-1.3.0.tgz#13116d89a2f42898716a7f8c4095b47415526371" - dependencies: - babel-runtime "6.x.x" - create-react-class "^15.6.2" - hoist-non-react-statics "1.x.x" - prop-types "^15.6.0" - -"@storybook/react-stubber@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@storybook/react-stubber/-/react-stubber-1.0.1.tgz#8c312c2658b9eeafce470e1c39e4193f0b5bf9b1" - dependencies: - babel-runtime "^6.5.0" - -"@storybook/react@^3.1.5": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.4.10.tgz#3bab6cd5c23c90b3de7b9e5aa58042a28cb0d181" - dependencies: - "@storybook/addon-actions" "3.4.10" - "@storybook/addon-links" "3.4.10" - "@storybook/addons" "3.4.10" - "@storybook/channel-postmessage" "3.4.10" - "@storybook/client-logger" "3.4.10" - "@storybook/core" "3.4.10" - "@storybook/node-logger" "3.4.10" - "@storybook/ui" "3.4.10" - airbnb-js-shims "^1.4.1" - babel-loader "^7.1.4" - babel-plugin-macros "^2.2.0" - babel-plugin-react-docgen "^1.9.0" - babel-plugin-transform-regenerator "^6.26.0" - babel-plugin-transform-runtime "^6.23.0" - babel-preset-env "^1.6.1" - babel-preset-minify "^0.3.0" - babel-preset-react "^6.24.1" - babel-preset-stage-0 "^6.24.1" - babel-runtime "^6.26.0" - case-sensitive-paths-webpack-plugin "^2.1.2" - common-tags "^1.7.2" - core-js "^2.5.3" - dotenv-webpack "^1.5.5" - find-cache-dir "^1.0.0" - glamor "^2.20.40" - glamorous "^4.12.1" - global "^4.3.2" - html-loader "^0.5.5" - html-webpack-plugin "^2.30.1" - json5 "^0.5.1" - lodash.flattendeep "^4.4.0" - markdown-loader "^2.0.2" - prop-types "^15.6.1" - react-dev-utils "^5.0.0" - redux "^3.7.2" - uglifyjs-webpack-plugin "^1.2.4" - util-deprecate "^1.0.2" - webpack "^3.11.0" - webpack-hot-middleware "^2.22.1" - -"@storybook/ui@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.4.10.tgz#aeb36f60f4297a7065aa64ba770df681d6aac793" - dependencies: - "@storybook/components" "3.4.10" - "@storybook/mantra-core" "^1.7.2" - "@storybook/podda" "^1.2.3" - "@storybook/react-komposer" "^2.0.3" - babel-runtime "^6.26.0" - deep-equal "^1.0.1" - events "^2.0.0" - fuse.js "^3.2.0" - global "^4.3.2" - keycode "^2.1.9" - lodash.debounce "^4.0.8" - lodash.pick "^4.4.0" - lodash.sortby "^4.7.0" - lodash.throttle "^4.1.1" - prop-types "^15.6.1" - qs "^6.5.1" - react-fuzzy "^0.5.2" - react-icons "^2.2.7" - react-modal "^3.3.2" - react-split-pane "^0.1.77" - react-treebeard "^2.1.0" - -"@types/node@*": - version "10.5.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.0.tgz#f5b61395c09b47ac46aaa1452750c9a72b3d3673" - -"@webassemblyjs/ast@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.4.3.tgz#3b3f6fced944d8660273347533e6d4d315b5934a" - dependencies: - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" - debug "^3.1.0" - webassemblyjs "1.4.3" - -"@webassemblyjs/floating-point-hex-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.4.3.tgz#f5aee4c376a717c74264d7bacada981e7e44faad" - -"@webassemblyjs/helper-buffer@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.4.3.tgz#0434b55958519bf503697d3824857b1dea80b729" - dependencies: - debug "^3.1.0" - -"@webassemblyjs/helper-code-frame@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.4.3.tgz#f1349ca3e01a8e29ee2098c770773ef97af43641" - dependencies: - "@webassemblyjs/wast-printer" "1.4.3" - -"@webassemblyjs/helper-fsm@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.4.3.tgz#65a921db48fb43e868f17b27497870bdcae22b79" - -"@webassemblyjs/helper-wasm-bytecode@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.4.3.tgz#0e5b4b5418e33f8a26e940b7809862828c3721a5" - -"@webassemblyjs/helper-wasm-section@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.4.3.tgz#9ceedd53a3f152c3412e072887ade668d0b1acbf" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" - debug "^3.1.0" - -"@webassemblyjs/leb128@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.4.3.tgz#5a5e5949dbb5adfe3ae95664d0439927ac557fb8" - dependencies: - leb "^0.3.0" - -"@webassemblyjs/validation@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/validation/-/validation-1.4.3.tgz#9e66c9b3079d7bbcf2070c1bf52a54af2a09aac9" - dependencies: - "@webassemblyjs/ast" "1.4.3" - -"@webassemblyjs/wasm-edit@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.4.3.tgz#87febd565e0ffb5ae25f6495bb3958d17aa0a779" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/helper-wasm-section" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" - "@webassemblyjs/wasm-opt" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - "@webassemblyjs/wast-printer" "1.4.3" - debug "^3.1.0" - -"@webassemblyjs/wasm-gen@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.4.3.tgz#8553164d0154a6be8f74d653d7ab355f73240aa4" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/leb128" "1.4.3" - -"@webassemblyjs/wasm-opt@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.4.3.tgz#26c7a23bfb136aa405b1d3410e63408ec60894b8" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - debug "^3.1.0" - -"@webassemblyjs/wasm-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.4.3.tgz#7ddd3e408f8542647ed612019cfb780830993698" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/leb128" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - webassemblyjs "1.4.3" - -"@webassemblyjs/wast-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.4.3.tgz#3250402e2c5ed53dbe2233c9de1fe1f9f0d51745" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/floating-point-hex-parser" "1.4.3" - "@webassemblyjs/helper-code-frame" "1.4.3" - "@webassemblyjs/helper-fsm" "1.4.3" - long "^3.2.0" - webassemblyjs "1.4.3" - -"@webassemblyjs/wast-printer@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.4.3.tgz#3d59aa8d0252d6814a3ef4e6d2a34c9ded3904e0" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" - long "^3.2.0" - -JSONStream@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.2.tgz#c102371b6ec3a7cf3b847ca00c20bb0fce4c6dea" - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abab@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" - -abbrev@1, abbrev@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - -accepts@~1.3.4, accepts@~1.3.5: - version "1.3.5" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" - dependencies: - mime-types "~2.1.18" - negotiator "0.6.1" - -acorn-dynamic-import@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" - dependencies: - acorn "^4.0.3" - -acorn-dynamic-import@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278" - dependencies: - acorn "^5.0.0" - -acorn-globals@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538" - dependencies: - acorn "^5.0.0" - -acorn-jsx@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-4.1.1.tgz#e8e41e48ea2fe0c896740610ab6a4ffd8add225e" - dependencies: - acorn "^5.0.3" - -acorn@^4.0.3: - version "4.0.13" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" - -acorn@^5.0.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.1.tgz#f095829297706a7c9776958c0afc8930a9b9d9d8" - -acorn@^5.0.3, acorn@^5.6.0: - version "5.7.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.2.tgz#91fa871883485d06708800318404e72bfb26dcc5" - -acorn@^5.3.0: - version "5.5.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9" - -address@1.0.3, address@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/address/-/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" - -agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.0.tgz#9838b5c3392b962bad031e6a4c5e1024abec45ce" - dependencies: - es6-promisify "^5.0.0" - -agentkeepalive@^3.3.0, agentkeepalive@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.4.1.tgz#aa95aebc3a749bca5ed53e3880a09f5235b48f0c" - dependencies: - humanize-ms "^1.2.1" - -airbnb-js-shims@^1.4.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.7.0.tgz#bc74f00bd241632051ebec80bc5ccfed2b21dffc" - dependencies: - array-includes "^3.0.3" - array.prototype.flat "^1.2.1" - array.prototype.flatmap "^1.2.1" - array.prototype.flatten "^1.2.1" - es5-shim "^4.5.10" - es6-shim "^0.35.3" - function.prototype.name "^1.1.0" - object.entries "^1.0.4" - object.fromentries "^1.0.0" - object.getownpropertydescriptors "^2.0.3" - object.values "^1.0.4" - promise.prototype.finally "^3.1.0" - string.prototype.matchall "^3.0.0" - string.prototype.padend "^3.0.0" - string.prototype.padstart "^3.0.0" - symbol.prototype.description "^1.0.0" - -ajv-keywords@^1.1.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" - -ajv-keywords@^3.0.0, ajv-keywords@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" - -ajv@^4.7.0: - version "4.11.8" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" - dependencies: - co "^4.6.0" - json-stable-stringify "^1.0.1" - -ajv@^5.0.0, ajv@^5.1.0: - version "5.5.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" - dependencies: - co "^4.6.0" - fast-deep-equal "^1.0.0" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.3.0" - -ajv@^6.0.1, ajv@^6.5.0: - version "6.5.3" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9" - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ajv@^6.1.0: - version "6.5.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.1.tgz#88ebc1263c7133937d108b80c5572e64e1d9322d" - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.1" - -align-text@^0.1.1, align-text@^0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" - dependencies: - kind-of "^3.0.2" - longest "^1.0.1" - repeat-string "^1.5.2" - -alphanum-sort@^1.0.1, alphanum-sort@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" - -amdefine@>=0.0.4: - version "1.0.1" - resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" - -ansi-align@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" - dependencies: - string-width "^2.0.0" - -ansi-escapes@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - -ansi-escapes@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" - -ansi-html@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - -ansi-regex@^3.0.0, ansi-regex@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - -ansi-styles@^3.2.0, ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - dependencies: - color-convert "^1.9.0" - -ansi-styles@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178" - -ansicolors@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" - -ansistyles@~0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" - -any-observable@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.2.0.tgz#c67870058003579009083f54ac0abafb5c33d242" - -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - -append-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/append-buffer/-/append-buffer-1.0.2.tgz#d8220cf466081525efea50614f3de6514dfa58f1" - dependencies: - buffer-equal "^1.0.0" - -append-transform@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" - dependencies: - default-require-extensions "^1.0.0" - -aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2, aproba@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - -archy@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - -are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - dependencies: - sprintf-js "~1.0.2" - -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - dependencies: - arr-flatten "^1.0.1" - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - -arr-flatten@^1.0.1, arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - -array-differ@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" - -array-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" - -array-filter@~0.0.0: - version "0.0.1" - resolved "https://registry.yarnpkg.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec" - -array-find-index@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - -array-find@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-find/-/array-find-1.0.0.tgz#6c8e286d11ed768327f8e62ecee87353ca3e78b8" - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - -array-flatten@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.1.tgz#426bb9da84090c1838d812c8150af20a8331e296" - -array-includes@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.7.0" - -array-map@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" - -array-reduce@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b" - -array-union@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - dependencies: - array-uniq "^1.0.1" - -array-uniq@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - -array.prototype.flat@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.10.0" - function-bind "^1.1.1" - -array.prototype.flatmap@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.1.tgz#3103cd4826ef90019c9b0a4839b2535fa6faf4e9" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.10.0" - function-bind "^1.1.1" - -array.prototype.flatten@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatten/-/array.prototype.flatten-1.2.1.tgz#a77ae1b64524ce373b137fade324d12040d3c680" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.10.0" - function-bind "^1.1.1" - -arrify@^1.0.0, arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - -asap@^2.0.0, asap@~2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - -asn1.js@^4.0.0: - version "4.10.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -asn1@~0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - -assert-plus@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" - -assert@^1.1.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" - dependencies: - util "0.10.3" - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - -ast-types@0.10.1: - version "0.10.1" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.10.1.tgz#f52fca9715579a14f841d67d7f8d25432ab6a3dd" - -ast-types@0.11.3: - version "0.11.3" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8" - -ast-types@0.11.5: - version "0.11.5" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.5.tgz#9890825d660c03c28339f315e9fa0a360e31ec28" - -ast-types@0.9.6: - version "0.9.6" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9" - -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - -async-each@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - -async-foreach@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542" - -async-limiter@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" - -async@^0.9.0: - version "0.9.2" - resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" - -async@^1.4.0, async@^1.5.0, async@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" - -async@^2.1.2, async@^2.1.4: - version "2.6.1" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" - dependencies: - lodash "^4.17.10" - -async@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" - dependencies: - lodash "^4.14.0" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - -atob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" - -atob@~1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/atob/-/atob-1.1.3.tgz#95f13629b12c3a51a5d215abdce2aa9f32f80773" - -autoprefixer@^6.3.1: - version "6.7.7" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-6.7.7.tgz#1dbd1c835658e35ce3f9984099db00585c782014" - dependencies: - browserslist "^1.7.6" - caniuse-db "^1.0.30000634" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^5.2.16" - postcss-value-parser "^3.2.3" - -autoprefixer@^7.2.6: - version "7.2.6" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.6.tgz#256672f86f7c735da849c4f07d008abb056067dc" - dependencies: - browserslist "^2.11.3" - caniuse-lite "^1.0.30000805" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^6.0.17" - postcss-value-parser "^3.2.3" - -awesome-typescript-loader@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/awesome-typescript-loader/-/awesome-typescript-loader-5.2.0.tgz#d7bccf4823c45096ec24da4c12a1507d276ba15a" - dependencies: - chalk "^2.4.1" - enhanced-resolve "^4.0.0" - loader-utils "^1.1.0" - lodash "^4.17.5" - micromatch "^3.1.9" - mkdirp "^0.5.1" - source-map-support "^0.5.3" - webpack-log "^1.2.0" - -aws-sign2@~0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - -aws4@^1.2.1, aws4@^1.6.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" - -axios@^0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.18.0.tgz#32d53e4851efdc0a11993b6cd000789d70c05102" - dependencies: - follow-redirects "^1.3.0" - is-buffer "^1.1.5" - -babel-code-frame@6.26.0, babel-code-frame@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" - dependencies: - chalk "^1.1.3" - esutils "^2.0.2" - js-tokens "^3.0.2" - -babel-core@^6.0.0, babel-core@^6.24.0, babel-core@^6.26.0: - version "6.26.3" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" - dependencies: - babel-code-frame "^6.26.0" - babel-generator "^6.26.0" - babel-helpers "^6.24.1" - babel-messages "^6.23.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - convert-source-map "^1.5.1" - debug "^2.6.9" - json5 "^0.5.1" - lodash "^4.17.4" - minimatch "^3.0.4" - path-is-absolute "^1.0.1" - private "^0.1.8" - slash "^1.0.0" - source-map "^0.5.7" - -babel-eslint@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-9.0.0.tgz#7d9445f81ed9f60aff38115f838970df9f2b6220" - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.0.0" - "@babel/traverse" "^7.0.0" - "@babel/types" "^7.0.0" - eslint-scope "3.7.1" - eslint-visitor-keys "^1.0.0" - -babel-generator@^6.18.0, babel-generator@^6.26.0: - version "6.26.1" - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" - dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "^1.3.0" - lodash "^4.17.4" - source-map "^0.5.7" - trim-right "^1.0.1" - -babel-helper-bindify-decorators@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz#14c19e5f142d7b47f19a52431e52b1ccbc40a330" - dependencies: - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" - dependencies: - babel-helper-explode-assignable-expression "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-builder-react-jsx@^6.24.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz#39ff8313b75c8b65dceff1f31d383e0ff2a408a0" - dependencies: - babel-runtime "^6.26.0" - babel-types "^6.26.0" - esutils "^2.0.2" - -babel-helper-call-delegate@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" - dependencies: - babel-helper-hoist-variables "^6.24.1" - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-define-map@^6.24.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz#a5f56dab41a25f97ecb498c7ebaca9819f95be5f" - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-helper-evaluate-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.3.0.tgz#2439545e0b6eae5b7f49b790acbebd6b9a73df20" - -babel-helper-explode-assignable-expression@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" - dependencies: - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-explode-class@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz#7dc2a3910dee007056e1e31d640ced3d54eaa9eb" - dependencies: - babel-helper-bindify-decorators "^6.24.1" - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-flip-expressions@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.3.0.tgz#f5b6394bd5219b43cf8f7b201535ed540c6e7fa2" - -babel-helper-function-name@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" - dependencies: - babel-helper-get-function-arity "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-get-function-arity@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-hoist-variables@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-is-nodes-equiv@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684" - -babel-helper-is-void-0@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.3.0.tgz#95570d20bd27b2206f68083ae9980ee7003d8fe7" - -babel-helper-mark-eval-scopes@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.3.0.tgz#b4731314fdd7a89091271a5213b4e12d236e29e8" - -babel-helper-optimise-call-expression@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-regex@^6.24.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz#325c59f902f82f24b74faceed0363954f6495e72" - dependencies: - babel-runtime "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-helper-remap-async-to-generator@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-remove-or-void@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.3.0.tgz#f43c86147c8fcc395a9528cbb31e7ff49d7e16e3" - -babel-helper-replace-supers@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a" - dependencies: - babel-helper-optimise-call-expression "^6.24.1" - babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-to-multiple-sequence-expressions@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.3.0.tgz#8da2275ccc26995566118f7213abfd9af7214427" - -babel-helpers@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-jest@^22.1.0, babel-jest@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.4.3.tgz#4b7a0b6041691bbd422ab49b3b73654a49a6627a" - dependencies: - babel-plugin-istanbul "^4.1.5" - babel-preset-jest "^22.4.3" - -babel-loader@7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.4.tgz#e3463938bd4e6d55d1c174c5485d406a188ed015" - dependencies: - find-cache-dir "^1.0.0" - loader-utils "^1.0.2" - mkdirp "^0.5.1" - -babel-loader@^7.1.4: - version "7.1.5" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.5.tgz#e3ee0cd7394aa557e013b02d3e492bfd07aa6d68" - dependencies: - find-cache-dir "^1.0.0" - loader-utils "^1.0.2" - mkdirp "^0.5.1" - -babel-messages@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-check-es2015-constants@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-istanbul@^4.1.5: - version "4.1.6" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45" - dependencies: - babel-plugin-syntax-object-rest-spread "^6.13.0" - find-up "^2.1.0" - istanbul-lib-instrument "^1.10.1" - test-exclude "^4.2.1" - -babel-plugin-jest-hoist@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.3.tgz#7d8bcccadc2667f96a0dcc6afe1891875ee6c14a" - -babel-plugin-macros@^2.2.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.4.0.tgz#6c5f9836e1f6c0a9743b3bab4af29f73e437e544" - dependencies: - cosmiconfig "^5.0.5" - -babel-plugin-minify-builtins@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.3.0.tgz#4740117a6a784063aaf8f092989cf9e4bd484860" - dependencies: - babel-helper-evaluate-path "^0.3.0" - -babel-plugin-minify-constant-folding@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.3.0.tgz#687e40336bd4ddd921e0e197f0006235ac184bb9" - dependencies: - babel-helper-evaluate-path "^0.3.0" - -babel-plugin-minify-dead-code-elimination@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.3.0.tgz#a323f686c404b824186ba5583cf7996cac81719e" - dependencies: - babel-helper-evaluate-path "^0.3.0" - babel-helper-mark-eval-scopes "^0.3.0" - babel-helper-remove-or-void "^0.3.0" - lodash.some "^4.6.0" - -babel-plugin-minify-flip-comparisons@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.3.0.tgz#6627893a409c9f30ef7f2c89e0c6eea7ee97ddc4" - dependencies: - babel-helper-is-void-0 "^0.3.0" - -babel-plugin-minify-guarded-expressions@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.3.0.tgz#2552d96189ef45d9a463f1a6b5e4fa110703ac8d" - dependencies: - babel-helper-flip-expressions "^0.3.0" - -babel-plugin-minify-infinity@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.3.0.tgz#c5ec0edd433517cf31b3af17077c202beb48bbe7" - -babel-plugin-minify-mangle-names@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.3.0.tgz#f28561bad0dd2f0380816816bb946e219b3b6135" - dependencies: - babel-helper-mark-eval-scopes "^0.3.0" - -babel-plugin-minify-numeric-literals@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.3.0.tgz#b57734a612e8a592005407323c321119f27d4b40" - -babel-plugin-minify-replace@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.3.0.tgz#980125bbf7cbb5a637439de9d0b1b030a4693893" - -babel-plugin-minify-simplify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.3.0.tgz#14574cc74d21c81d3060fafa041010028189f11b" - dependencies: - babel-helper-flip-expressions "^0.3.0" - babel-helper-is-nodes-equiv "^0.0.1" - babel-helper-to-multiple-sequence-expressions "^0.3.0" - -babel-plugin-minify-type-constructors@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.3.0.tgz#7f5a86ef322c4746364e3c591b8514eeafea6ad4" - dependencies: - babel-helper-is-void-0 "^0.3.0" - -babel-plugin-react-docgen@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-1.9.0.tgz#2e79aeed2f93b53a172398f93324fdcf9f02e01f" - dependencies: - babel-types "^6.24.1" - lodash "^4.17.0" - react-docgen "^3.0.0-beta11" - -babel-plugin-syntax-async-functions@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" - -babel-plugin-syntax-async-generators@^6.5.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a" - -babel-plugin-syntax-class-constructor-call@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz#9cb9d39fe43c8600bec8146456ddcbd4e1a76416" - -babel-plugin-syntax-class-properties@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de" - -babel-plugin-syntax-decorators@^6.1.18, babel-plugin-syntax-decorators@^6.13.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b" - -babel-plugin-syntax-do-expressions@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz#5747756139aa26d390d09410b03744ba07e4796d" - -babel-plugin-syntax-dynamic-import@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da" - -babel-plugin-syntax-exponentiation-operator@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" - -babel-plugin-syntax-export-extensions@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz#70a1484f0f9089a4e84ad44bac353c95b9b12721" - -babel-plugin-syntax-flow@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d" - -babel-plugin-syntax-function-bind@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46" - -babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" - -babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-spread@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" - -babel-plugin-syntax-trailing-function-commas@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" - -babel-plugin-transform-async-generator-functions@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db" - dependencies: - babel-helper-remap-async-to-generator "^6.24.1" - babel-plugin-syntax-async-generators "^6.5.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-to-generator@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" - dependencies: - babel-helper-remap-async-to-generator "^6.24.1" - babel-plugin-syntax-async-functions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-class-constructor-call@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz#80dc285505ac067dcb8d6c65e2f6f11ab7765ef9" - dependencies: - babel-plugin-syntax-class-constructor-call "^6.18.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-class-properties@^6.10.2, babel-plugin-transform-class-properties@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" - dependencies: - babel-helper-function-name "^6.24.1" - babel-plugin-syntax-class-properties "^6.8.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-decorators-legacy@^1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators-legacy/-/babel-plugin-transform-decorators-legacy-1.3.4.tgz#741b58f6c5bce9e6027e0882d9c994f04f366925" - dependencies: - babel-plugin-syntax-decorators "^6.1.18" - babel-runtime "^6.2.0" - babel-template "^6.3.0" - -babel-plugin-transform-decorators@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d" - dependencies: - babel-helper-explode-class "^6.24.1" - babel-plugin-syntax-decorators "^6.13.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-types "^6.24.1" - -babel-plugin-transform-do-expressions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz#28ccaf92812d949c2cd1281f690c8fdc468ae9bb" - dependencies: - babel-plugin-syntax-do-expressions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-arrow-functions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" - dependencies: - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" - dependencies: - babel-helper-define-map "^6.24.1" - babel-helper-function-name "^6.24.1" - babel-helper-optimise-call-expression "^6.24.1" - babel-helper-replace-supers "^6.24.1" - babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-duplicate-keys@^6.22.0, babel-plugin-transform-es2015-duplicate-keys@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-literals@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" - dependencies: - babel-plugin-transform-es2015-modules-commonjs "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1: - version "6.26.2" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3" - dependencies: - babel-plugin-transform-strict-mode "^6.24.1" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-types "^6.26.0" - -babel-plugin-transform-es2015-modules-systemjs@^6.23.0, babel-plugin-transform-es2015-modules-systemjs@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" - dependencies: - babel-helper-hoist-variables "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-modules-umd@^6.23.0, babel-plugin-transform-es2015-modules-umd@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" - dependencies: - babel-plugin-transform-es2015-modules-amd "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" - dependencies: - babel-helper-replace-supers "^6.24.1" - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" - dependencies: - babel-helper-call-delegate "^6.24.1" - babel-helper-get-function-arity "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-spread@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" - dependencies: - babel-helper-regex "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-template-literals@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-typeof-symbol@^6.22.0, babel-plugin-transform-es2015-typeof-symbol@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-unicode-regex@^6.22.0, babel-plugin-transform-es2015-unicode-regex@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" - dependencies: - babel-helper-regex "^6.24.1" - babel-runtime "^6.22.0" - regexpu-core "^2.0.0" - -babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" - dependencies: - babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" - babel-plugin-syntax-exponentiation-operator "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-export-extensions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz#53738b47e75e8218589eea946cbbd39109bbe653" - dependencies: - babel-plugin-syntax-export-extensions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.8.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" - dependencies: - babel-plugin-syntax-flow "^6.18.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-function-bind@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz#c6fb8e96ac296a310b8cf8ea401462407ddf6a97" - dependencies: - babel-plugin-syntax-function-bind "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-inline-consecutive-adds@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.3.0.tgz#f07d93689c0002ed2b2b62969bdd99f734e03f57" - -babel-plugin-transform-member-expression-literals@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.4.tgz#37039c9a0c3313a39495faac2ff3a6b5b9d038bf" - -babel-plugin-transform-merge-sibling-variables@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.4.tgz#85b422fc3377b449c9d1cde44087203532401dae" - -babel-plugin-transform-minify-booleans@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.4.tgz#acbb3e56a3555dd23928e4b582d285162dd2b198" - -babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object-rest-spread@^6.8.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" - dependencies: - babel-plugin-syntax-object-rest-spread "^6.8.0" - babel-runtime "^6.26.0" - -babel-plugin-transform-property-literals@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.4.tgz#98c1d21e255736573f93ece54459f6ce24985d39" - dependencies: - esutils "^2.0.2" - -babel-plugin-transform-react-display-name@^6.23.0: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz#67e2bf1f1e9c93ab08db96792e05392bf2cc28d1" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-react-jsx-self@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz#df6d80a9da2612a121e6ddd7558bcbecf06e636e" - dependencies: - babel-plugin-syntax-jsx "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-react-jsx-source@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz#66ac12153f5cd2d17b3c19268f4bf0197f44ecd6" - dependencies: - babel-plugin-syntax-jsx "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-react-jsx@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz#840a028e7df460dfc3a2d29f0c0d91f6376e66a3" - dependencies: - babel-helper-builder-react-jsx "^6.24.1" - babel-plugin-syntax-jsx "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.24.1, babel-plugin-transform-regenerator@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f" - dependencies: - regenerator-transform "^0.10.0" - -babel-plugin-transform-regexp-constructors@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.3.0.tgz#9bb2c8dd082271a5cb1b3a441a7c52e8fd07e0f5" - -babel-plugin-transform-remove-console@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz#b980360c067384e24b357a588d807d3c83527780" - -babel-plugin-transform-remove-debugger@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.4.tgz#42b727631c97978e1eb2d199a7aec84a18339ef2" - -babel-plugin-transform-remove-undefined@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.3.0.tgz#03f5f0071867781e9beabbc7b77bf8095fd3f3ec" - dependencies: - babel-helper-evaluate-path "^0.3.0" - -babel-plugin-transform-runtime@^6.22.0, babel-plugin-transform-runtime@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-simplify-comparison-operators@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.4.tgz#f62afe096cab0e1f68a2d753fdf283888471ceb9" - -babel-plugin-transform-strict-mode@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-undefined-to-void@^6.9.0: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.4.tgz#be241ca81404030678b748717322b89d0c8fe280" - -babel-preset-env@^1.6.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.7.0.tgz#dea79fa4ebeb883cd35dab07e260c1c9c04df77a" - dependencies: - babel-plugin-check-es2015-constants "^6.22.0" - babel-plugin-syntax-trailing-function-commas "^6.22.0" - babel-plugin-transform-async-to-generator "^6.22.0" - babel-plugin-transform-es2015-arrow-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoping "^6.23.0" - babel-plugin-transform-es2015-classes "^6.23.0" - babel-plugin-transform-es2015-computed-properties "^6.22.0" - babel-plugin-transform-es2015-destructuring "^6.23.0" - babel-plugin-transform-es2015-duplicate-keys "^6.22.0" - babel-plugin-transform-es2015-for-of "^6.23.0" - babel-plugin-transform-es2015-function-name "^6.22.0" - babel-plugin-transform-es2015-literals "^6.22.0" - babel-plugin-transform-es2015-modules-amd "^6.22.0" - babel-plugin-transform-es2015-modules-commonjs "^6.23.0" - babel-plugin-transform-es2015-modules-systemjs "^6.23.0" - babel-plugin-transform-es2015-modules-umd "^6.23.0" - babel-plugin-transform-es2015-object-super "^6.22.0" - babel-plugin-transform-es2015-parameters "^6.23.0" - babel-plugin-transform-es2015-shorthand-properties "^6.22.0" - babel-plugin-transform-es2015-spread "^6.22.0" - babel-plugin-transform-es2015-sticky-regex "^6.22.0" - babel-plugin-transform-es2015-template-literals "^6.22.0" - babel-plugin-transform-es2015-typeof-symbol "^6.23.0" - babel-plugin-transform-es2015-unicode-regex "^6.22.0" - babel-plugin-transform-exponentiation-operator "^6.22.0" - babel-plugin-transform-regenerator "^6.22.0" - browserslist "^3.2.6" - invariant "^2.2.2" - semver "^5.3.0" - -babel-preset-es2015@^6.9.0: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939" - dependencies: - babel-plugin-check-es2015-constants "^6.22.0" - babel-plugin-transform-es2015-arrow-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoping "^6.24.1" - babel-plugin-transform-es2015-classes "^6.24.1" - babel-plugin-transform-es2015-computed-properties "^6.24.1" - babel-plugin-transform-es2015-destructuring "^6.22.0" - babel-plugin-transform-es2015-duplicate-keys "^6.24.1" - babel-plugin-transform-es2015-for-of "^6.22.0" - babel-plugin-transform-es2015-function-name "^6.24.1" - babel-plugin-transform-es2015-literals "^6.22.0" - babel-plugin-transform-es2015-modules-amd "^6.24.1" - babel-plugin-transform-es2015-modules-commonjs "^6.24.1" - babel-plugin-transform-es2015-modules-systemjs "^6.24.1" - babel-plugin-transform-es2015-modules-umd "^6.24.1" - babel-plugin-transform-es2015-object-super "^6.24.1" - babel-plugin-transform-es2015-parameters "^6.24.1" - babel-plugin-transform-es2015-shorthand-properties "^6.24.1" - babel-plugin-transform-es2015-spread "^6.22.0" - babel-plugin-transform-es2015-sticky-regex "^6.24.1" - babel-plugin-transform-es2015-template-literals "^6.22.0" - babel-plugin-transform-es2015-typeof-symbol "^6.22.0" - babel-plugin-transform-es2015-unicode-regex "^6.24.1" - babel-plugin-transform-regenerator "^6.24.1" - -babel-preset-flow@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz#e71218887085ae9a24b5be4169affb599816c49d" - dependencies: - babel-plugin-transform-flow-strip-types "^6.22.0" - -babel-preset-jest@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.4.3.tgz#e92eef9813b7026ab4ca675799f37419b5a44156" - dependencies: - babel-plugin-jest-hoist "^22.4.3" - babel-plugin-syntax-object-rest-spread "^6.13.0" - -babel-preset-minify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.3.0.tgz#7db64afa75f16f6e06c0aa5f25195f6f36784d77" - dependencies: - babel-plugin-minify-builtins "^0.3.0" - babel-plugin-minify-constant-folding "^0.3.0" - babel-plugin-minify-dead-code-elimination "^0.3.0" - babel-plugin-minify-flip-comparisons "^0.3.0" - babel-plugin-minify-guarded-expressions "^0.3.0" - babel-plugin-minify-infinity "^0.3.0" - babel-plugin-minify-mangle-names "^0.3.0" - babel-plugin-minify-numeric-literals "^0.3.0" - babel-plugin-minify-replace "^0.3.0" - babel-plugin-minify-simplify "^0.3.0" - babel-plugin-minify-type-constructors "^0.3.0" - babel-plugin-transform-inline-consecutive-adds "^0.3.0" - babel-plugin-transform-member-expression-literals "^6.9.0" - babel-plugin-transform-merge-sibling-variables "^6.9.0" - babel-plugin-transform-minify-booleans "^6.9.0" - babel-plugin-transform-property-literals "^6.9.0" - babel-plugin-transform-regexp-constructors "^0.3.0" - babel-plugin-transform-remove-console "^6.9.0" - babel-plugin-transform-remove-debugger "^6.9.0" - babel-plugin-transform-remove-undefined "^0.3.0" - babel-plugin-transform-simplify-comparison-operators "^6.9.0" - babel-plugin-transform-undefined-to-void "^6.9.0" - lodash.isplainobject "^4.0.6" - -babel-preset-react@^6.23.0, babel-preset-react@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-react/-/babel-preset-react-6.24.1.tgz#ba69dfaea45fc3ec639b6a4ecea6e17702c91380" - dependencies: - babel-plugin-syntax-jsx "^6.3.13" - babel-plugin-transform-react-display-name "^6.23.0" - babel-plugin-transform-react-jsx "^6.24.1" - babel-plugin-transform-react-jsx-self "^6.22.0" - babel-plugin-transform-react-jsx-source "^6.22.0" - babel-preset-flow "^6.23.0" - -babel-preset-stage-0@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz#5642d15042f91384d7e5af8bc88b1db95b039e6a" - dependencies: - babel-plugin-transform-do-expressions "^6.22.0" - babel-plugin-transform-function-bind "^6.22.0" - babel-preset-stage-1 "^6.24.1" - -babel-preset-stage-1@^6.24.1, babel-preset-stage-1@^6.5.0: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0" - dependencies: - babel-plugin-transform-class-constructor-call "^6.24.1" - babel-plugin-transform-export-extensions "^6.22.0" - babel-preset-stage-2 "^6.24.1" - -babel-preset-stage-2@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz#d9e2960fb3d71187f0e64eec62bc07767219bdc1" - dependencies: - babel-plugin-syntax-dynamic-import "^6.18.0" - babel-plugin-transform-class-properties "^6.24.1" - babel-plugin-transform-decorators "^6.24.1" - babel-preset-stage-3 "^6.24.1" - -babel-preset-stage-3@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395" - dependencies: - babel-plugin-syntax-trailing-function-commas "^6.22.0" - babel-plugin-transform-async-generator-functions "^6.24.1" - babel-plugin-transform-async-to-generator "^6.24.1" - babel-plugin-transform-exponentiation-operator "^6.24.1" - babel-plugin-transform-object-rest-spread "^6.22.0" - -babel-register@^6.26.0, babel-register@^6.9.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" - dependencies: - babel-core "^6.26.0" - babel-runtime "^6.26.0" - core-js "^2.5.0" - home-or-tmp "^2.0.0" - lodash "^4.17.4" - mkdirp "^0.5.1" - source-map-support "^0.4.15" - -babel-runtime@6.x.x, babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0, babel-runtime@^6.5.0, babel-runtime@^6.9.2: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.11.0" - -babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0, babel-template@^6.3.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" - dependencies: - babel-runtime "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - lodash "^4.17.4" - -babel-traverse@^6.18.0, babel-traverse@^6.24.1, babel-traverse@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" - dependencies: - babel-code-frame "^6.26.0" - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - debug "^2.6.8" - globals "^9.18.0" - invariant "^2.2.2" - lodash "^4.17.4" - -babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" - dependencies: - babel-runtime "^6.26.0" - esutils "^2.0.2" - lodash "^4.17.4" - to-fast-properties "^1.0.3" - -babylon@^6.17.3, babylon@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" - -babylon@^7.0.0-beta.30: - version "7.0.0-beta.46" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.46.tgz#b6ddaba81bbb130313932757ff9c195d527088b6" - -balanced-match@^0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" - -balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - -base64-js@^1.0.2: - version "1.3.0" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3" - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - -bcrypt-pbkdf@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" - dependencies: - tweetnacl "^0.14.3" - -big.js@^3.1.3: - version "3.2.0" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" - -bin-links@^1.1.0, bin-links@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-1.1.2.tgz#fb74bd54bae6b7befc6c6221f25322ac830d9757" - dependencies: - bluebird "^3.5.0" - cmd-shim "^2.0.2" - gentle-fs "^2.0.0" - graceful-fs "^4.1.11" - write-file-atomic "^2.3.0" - -binary-extensions@^1.0.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" - -binaryextensions@2: - version "2.1.1" - resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.1.tgz#3209a51ca4a4ad541a3b8d3d6a6d5b83a2485935" - -block-stream@*: - version "0.0.9" - resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" - dependencies: - inherits "~2.0.0" - -bluebird@^3.4.7, bluebird@^3.5.0, bluebird@^3.5.1, bluebird@~3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: - version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - -body-parser@1.18.2, body-parser@^1.18.2: - version "1.18.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" - dependencies: - bytes "3.0.0" - content-type "~1.0.4" - debug "2.6.9" - depd "~1.1.1" - http-errors "~1.6.2" - iconv-lite "0.4.19" - on-finished "~2.3.0" - qs "6.5.1" - raw-body "2.3.2" - type-is "~1.6.15" - -bonjour@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - dependencies: - array-flatten "^2.1.0" - deep-equal "^1.0.1" - dns-equal "^1.0.0" - dns-txt "^2.0.2" - multicast-dns "^6.0.1" - multicast-dns-service-types "^1.1.0" - -boolbase@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - -boom@2.x.x: - version "2.10.1" - resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" - dependencies: - hoek "2.x.x" - -boom@4.x.x: - version "4.3.1" - resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" - dependencies: - hoek "4.x.x" - -boom@5.x.x: - version "5.2.0" - resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" - dependencies: - hoek "4.x.x" - -bowser@^1.0.0, bowser@^1.7.3: - version "1.9.4" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.9.4.tgz#890c58a2813a9d3243704334fa81b96a5c150c9a" - -boxen@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" - dependencies: - ansi-align "^2.0.0" - camelcase "^4.0.0" - chalk "^2.0.1" - cli-boxes "^1.0.0" - string-width "^2.0.0" - term-size "^1.2.0" - widest-line "^2.0.0" - -bpmn-font@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/bpmn-font/-/bpmn-font-0.8.0.tgz#85b18715faede345cd33c8a48f50bbe557ff76c2" - -bpmn-js-properties-panel@^0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/bpmn-js-properties-panel/-/bpmn-js-properties-panel-0.26.1.tgz#893d9fe7027958a719a5d3973ec2d2e2c68a65eb" - dependencies: - ids "^0.2.2" - inherits "^2.0.1" - lodash "^4.17.10" - min-dom "^3.1.0" - scroll-tabs "^1.0.0" - selection-update "^0.1.2" - -bpmn-js@^2.4.1: - version "2.5.0" - resolved "https://registry.yarnpkg.com/bpmn-js/-/bpmn-js-2.5.0.tgz#3dd8b91ab25972b5464ce573c4f1d285941f0f64" - dependencies: - bpmn-font "^0.8.0" - bpmn-moddle "^5.1.5" - css.escape "^1.5.1" - diagram-js "^2.6.0" - diagram-js-direct-editing "^1.3.0" - ids "^0.2.0" - inherits "^2.0.1" - min-dash "^3.0.0" - min-dom "^3.0.0" - object-refs "^0.3.0" - tiny-svg "^2.0.0" - -bpmn-moddle@^5.1.5: - version "5.1.5" - resolved "https://registry.yarnpkg.com/bpmn-moddle/-/bpmn-moddle-5.1.5.tgz#cfbd8be1beb0d7dd10c998db7616f2615265823a" - dependencies: - min-dash "^3.0.0" - moddle "^4.1.0" - moddle-xml "^7.2.3" - -brace-expansion@^1.0.0, brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^1.8.2: - version "1.8.5" - resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" - dependencies: - expand-range "^1.8.1" - preserve "^0.2.0" - repeat-element "^1.1.2" - -braces@^2.3.0, braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -brcast@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/brcast/-/brcast-3.0.1.tgz#6256a8349b20de9eed44257a9b24d71493cd48dd" - -brorand@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - -browser-process-hrtime@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e" - -browser-resolve@^1.11.2: - version "1.11.2" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" - dependencies: - resolve "1.1.7" - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.1.tgz#3343124db6d7ad53e26a8826318712bdc8450f9c" - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - -browserify-rsa@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" - dependencies: - bn.js "^4.1.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" - dependencies: - bn.js "^4.1.1" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.2" - elliptic "^6.0.0" - inherits "^2.0.1" - parse-asn1 "^5.0.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - dependencies: - pako "~1.0.5" - -browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: - version "1.7.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9" - dependencies: - caniuse-db "^1.0.30000639" - electron-to-chromium "^1.2.7" - -browserslist@^2.11.3: - version "2.11.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" - dependencies: - caniuse-lite "^1.0.30000792" - electron-to-chromium "^1.3.30" - -browserslist@^3.2.6: - version "3.2.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.7.tgz#aa488634d320b55e88bab0256184dbbcca1e6de9" - dependencies: - caniuse-lite "^1.0.30000835" - electron-to-chromium "^1.3.45" - -bser@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" - dependencies: - node-int64 "^0.4.0" - -buffer-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz#59616b498304d556abd466966b22eeda3eca5fbe" - -buffer-from@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04" - -buffer-indexof@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - -buffer@^4.3.0: - version "4.9.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -builtin-modules@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - -byte-size@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-4.0.3.tgz#b7c095efc68eadf82985fccd9a2df43a74fa2ccd" - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - -cacache@^10.0.0, cacache@^10.0.4: - version "10.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460" - dependencies: - bluebird "^3.5.1" - chownr "^1.0.1" - glob "^7.1.2" - graceful-fs "^4.1.11" - lru-cache "^4.1.1" - mississippi "^2.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.2" - ssri "^5.2.4" - unique-filename "^1.1.0" - y18n "^4.0.0" - -cacache@^11.0.1: - version "11.0.2" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-11.0.2.tgz#ff30541a05302200108a759e660e30786f788764" - dependencies: - bluebird "^3.5.1" - chownr "^1.0.1" - figgy-pudding "^3.1.0" - glob "^7.1.2" - graceful-fs "^4.1.11" - lru-cache "^4.1.2" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.2" - ssri "^6.0.0" - unique-filename "^1.1.0" - y18n "^4.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -cacheable-request@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-2.1.4.tgz#0d808801b6342ad33c91df9d0b44dc09b91e5c3d" - dependencies: - clone-response "1.0.2" - get-stream "3.0.0" - http-cache-semantics "3.8.1" - keyv "3.0.0" - lowercase-keys "1.0.0" - normalize-url "2.0.1" - responselike "1.0.2" - -call-limit@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/call-limit/-/call-limit-1.1.0.tgz#6fd61b03f3da42a2cd0ec2b60f02bd0e71991fea" - -call-me-maybe@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" - -caller-path@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" - dependencies: - callsites "^0.2.0" - -callsites@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - -camel-case@3.0.x: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" - dependencies: - no-case "^2.2.0" - upper-case "^1.1.1" - -camelcase-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" - dependencies: - camelcase "^2.0.0" - map-obj "^1.0.0" - -camelcase@^1.0.2: - version "1.2.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" - -camelcase@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" - -camelcase@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" - -camelcase@^4.0.0, camelcase@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" - -caniuse-api@^1.5.2: - version "1.6.1" - resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-1.6.1.tgz#b534e7c734c4f81ec5fbe8aca2ad24354b962c6c" - dependencies: - browserslist "^1.3.6" - caniuse-db "^1.0.30000529" - lodash.memoize "^4.1.2" - lodash.uniq "^4.5.0" - -caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000860" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000860.tgz#5ceab253aae172b5f0acd0d5428ba501c4b08d41" - -caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000805: - version "1.0.30000874" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000874.tgz#a641b1f1c420d58d9b132920ef6ba87bbdcd2223" - -caniuse-lite@^1.0.30000835: - version "1.0.30000840" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000840.tgz#344513f8f843536cf99694964c09811277eee395" - -capture-exit@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" - dependencies: - rsvp "^3.3.3" - -capture-stack-trace@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" - -case-sensitive-paths-webpack-plugin@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.1.2.tgz#c899b52175763689224571dad778742e133f0192" - -caseless@~0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - -center-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" - dependencies: - align-text "^0.1.3" - lazy-cache "^1.0.3" - -chalk@1.1.3, chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.2, chalk@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f" - dependencies: - ansi-styles "~1.0.0" - has-color "~0.1.0" - strip-ansi "~0.1.0" - -chardet@^0.4.0: - version "0.4.2" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" - -charenc@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - -cheerio@^1.0.0-rc.2: - version "1.0.0-rc.2" - resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db" - dependencies: - css-select "~1.2.0" - dom-serializer "~0.1.0" - entities "~1.1.1" - htmlparser2 "^3.9.1" - lodash "^4.15.0" - parse5 "^3.0.1" - -chokidar@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.3.tgz#dcbd4f6cbb2a55b4799ba8a840ac527e5f4b1176" - dependencies: - anymatch "^2.0.0" - async-each "^1.0.0" - braces "^2.3.0" - glob-parent "^3.1.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^2.1.1" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - upath "^1.0.0" - optionalDependencies: - fsevents "^1.1.2" - -chokidar@^2.0.2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" - dependencies: - anymatch "^2.0.0" - async-each "^1.0.0" - braces "^2.3.0" - glob-parent "^3.1.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - lodash.debounce "^4.0.8" - normalize-path "^2.1.1" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - upath "^1.0.5" - optionalDependencies: - fsevents "^1.2.2" - -chownr@^1.0.1, chownr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" - -chrome-trace-event@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-0.1.3.tgz#d395af2d31c87b90a716c831fe326f69768ec084" - -ci-info@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.3.tgz#710193264bb05c77b8c90d02f5aaf22216a667b2" - -cidr-regex@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/cidr-regex/-/cidr-regex-2.0.8.tgz#c79bae6223d241c0860d93bfde1fb1c1c4fdcab6" - dependencies: - ip-regex "^2.1.0" - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -circular-json@^0.3.1: - version "0.3.3" - resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" - -clap@^1.0.9: - version "1.2.3" - resolved "https://registry.yarnpkg.com/clap/-/clap-1.2.3.tgz#4f36745b32008492557f46412d66d50cb99bce51" - dependencies: - chalk "^1.1.3" - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -classnames@^2.2.4: - version "2.2.5" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d" - -classnames@^2.2.5, classnames@^2.2.6: - version "2.2.6" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce" - -clean-css@4.1.x: - version "4.1.11" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.11.tgz#2ecdf145aba38f54740f26cefd0ff3e03e125d6a" - dependencies: - source-map "0.5.x" - -clean-webpack-plugin@^0.1.19: - version "0.1.19" - resolved "https://registry.yarnpkg.com/clean-webpack-plugin/-/clean-webpack-plugin-0.1.19.tgz#ceda8bb96b00fe168e9b080272960d20fdcadd6d" - dependencies: - rimraf "^2.6.1" - -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - -cli-columns@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/cli-columns/-/cli-columns-3.1.2.tgz#6732d972979efc2ae444a1f08e08fa139c96a18e" - dependencies: - string-width "^2.0.0" - strip-ansi "^3.0.1" - -cli-cursor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - dependencies: - restore-cursor "^1.0.1" - -cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - dependencies: - restore-cursor "^2.0.0" - -cli-spinners@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" - -cli-table2@^0.2.0, cli-table2@~0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/cli-table2/-/cli-table2-0.2.0.tgz#2d1ef7f218a0e786e214540562d4bd177fe32d97" - dependencies: - lodash "^3.10.1" - string-width "^1.0.1" - optionalDependencies: - colors "^1.1.2" - -cli-table@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" - dependencies: - colors "1.0.3" - -cli-truncate@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" - dependencies: - slice-ansi "0.0.4" - string-width "^1.0.1" - -cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - -cliui@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" - dependencies: - center-align "^0.1.1" - right-align "^0.1.1" - wordwrap "0.0.2" - -cliui@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi "^2.0.0" - -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - -clone-buffer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" - -clone-deep@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-2.0.2.tgz#00db3a1e173656730d1188c3d6aced6d7ea97713" - dependencies: - for-own "^1.0.0" - is-plain-object "^2.0.4" - kind-of "^6.0.0" - shallow-clone "^1.0.0" - -clone-deep@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-3.0.1.tgz#7d1a4b88a3cf0bc2da84696ba712b349a6506a44" - dependencies: - for-own "^1.0.0" - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^2.0.2" - -clone-response@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" - dependencies: - mimic-response "^1.0.0" - -clone-stats@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" - -clone-stats@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" - -clone@^1.0.0, clone@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - -clone@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb" - -cloneable-readable@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.2.tgz#d591dee4a8f8bc15da43ce97dceeba13d43e2a65" - dependencies: - inherits "^2.0.1" - process-nextick-args "^2.0.0" - readable-stream "^2.3.5" - -closest@*, closest@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/closest/-/closest-0.0.1.tgz#26da6f80b3e0e17e71f80f12782819e9f653495c" - dependencies: - matches-selector "0.0.1" - -cmd-shim@^2.0.2, cmd-shim@~2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb" - dependencies: - graceful-fs "^4.1.2" - mkdirp "~0.5.0" - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - -coa@~1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/coa/-/coa-1.0.4.tgz#a9ef153660d6a86a8bdec0289a5c684d217432fd" - dependencies: - q "^1.1.2" - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.3.0, color-convert@^1.9.0: - version "1.9.2" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" - dependencies: - color-name "1.1.1" - -color-name@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" - -color-name@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - -color-string@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991" - dependencies: - color-name "^1.0.0" - -color@^0.11.0: - version "0.11.4" - resolved "https://registry.yarnpkg.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764" - dependencies: - clone "^1.0.2" - color-convert "^1.3.0" - color-string "^0.3.0" - -colormin@^1.0.5: - version "1.1.2" - resolved "https://registry.yarnpkg.com/colormin/-/colormin-1.1.2.tgz#ea2f7420a72b96881a38aae59ec124a6f7298133" - dependencies: - color "^0.11.0" - css-color-names "0.0.4" - has "^1.0.1" - -colors-cli@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/colors-cli/-/colors-cli-1.0.13.tgz#9222edaba8388511316b08b03d9d596ed34a79bb" - -colors@0.5.x: - version "0.5.1" - resolved "https://registry.yarnpkg.com/colors/-/colors-0.5.1.tgz#7d0023eaeb154e8ee9fce75dcb923d0ed1667774" - -colors@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - -colors@^1.1.2: - version "1.2.5" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" - -colors@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" - -columnify@~1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" - dependencies: - strip-ansi "^3.0.0" - wcwidth "^1.0.0" - -combined-stream@1.0.6, combined-stream@^1.0.5, combined-stream@~1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" - dependencies: - delayed-stream "~1.0.0" - -commander@2.15.x, commander@^2.13.0, commander@^2.9.0, commander@~2.15.0: - version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" - -commander@2.16.x: - version "2.16.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50" - -commander@^2.15.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.0.tgz#9d07b25e2a6f198b76d8b756a0e8a9604a6a1a60" - -commander@~2.13.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" - -common-tags@^1.7.2: - version "1.8.0" - resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937" - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - -compare-versions@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.2.0.tgz#f36f23aacc539da0e3e0f71af46ce5b953a6ae76" - -component-emitter@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" - -component-event@*: - version "0.2.0" - resolved "https://registry.yarnpkg.com/component-event/-/component-event-0.2.0.tgz#8689a7c25a7dd0afe7e2e8408091d5b9e12ce196" - -component-event@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/component-event/-/component-event-0.1.4.tgz#3de78fc28782381787e24bf2a7c536bf0142c9b4" - -compressible@~2.0.13: - version "2.0.13" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.13.tgz#0d1020ab924b2fdb4d6279875c7d6daba6baa7a9" - dependencies: - mime-db ">= 1.33.0 < 2" - -compression@^1.5.2: - version "1.7.2" - resolved "http://registry.npmjs.org/compression/-/compression-1.7.2.tgz#aaffbcd6aaf854b44ebb280353d5ad1651f59a69" - dependencies: - accepts "~1.3.4" - bytes "3.0.0" - compressible "~2.0.13" - debug "2.6.9" - on-headers "~1.0.1" - safe-buffer "5.1.1" - vary "~1.1.2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - -concat-stream@^1.5.0, concat-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -config-chain@~1.1.11: - version "1.1.11" - resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.11.tgz#aba09747dfbe4c3e70e766a6e41586e1859fc6f2" - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - -configstore@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" - dependencies: - dot-prop "^4.1.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" - -connect-history-api-fallback@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a" - -console-browserify@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" - dependencies: - date-now "^0.1.4" - -console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - -contains-path@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" - -content-disposition@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" - -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - -convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - -cookie@0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" - -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - -core-js@^1.0.0: - version "1.2.7" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" - -core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.3: - version "2.5.7" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" - -core-js@^2.5.0: - version "2.5.6" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" - -core-util-is@1.0.2, core-util-is@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - -cosmiconfig@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc" - dependencies: - is-directory "^0.3.1" - js-yaml "^3.9.0" - parse-json "^4.0.0" - require-from-string "^2.0.1" - -cosmiconfig@^5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.0.5.tgz#a809e3c2306891ce17ab70359dc8bdf661fe2cd0" - dependencies: - is-directory "^0.3.1" - js-yaml "^3.9.0" - parse-json "^4.0.0" - -create-ecdh@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" - dependencies: - bn.js "^4.1.0" - elliptic "^6.0.0" - -create-error-class@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" - dependencies: - capture-stack-trace "^1.0.0" - -create-hash@^1.1.0, create-hash@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -create-react-class@^15.6.0, create-react-class@^15.6.2: - version "15.6.3" - resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.3.tgz#2d73237fb3f970ae6ebe011a9e66f46dbca80036" - dependencies: - fbjs "^0.8.9" - loose-envify "^1.3.1" - object-assign "^4.1.1" - -cross-spawn@5.1.0, cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982" - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -crypt@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - -cryptiles@2.x.x: - version "2.0.5" - resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" - dependencies: - boom "2.x.x" - -cryptiles@3.x.x: - version "3.1.2" - resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" - dependencies: - boom "5.x.x" - -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - -crypto-random-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" - -css-color-names@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" - -css-in-js-utils@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/css-in-js-utils/-/css-in-js-utils-2.0.1.tgz#3b472b398787291b47cfe3e44fecfdd9e914ba99" - dependencies: - hyphenate-style-name "^1.0.2" - isobject "^3.0.1" - -css-loader@^0.23.1: - version "0.23.1" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.23.1.tgz#9fa23f2b5c0965235910ad5ecef3b8a36390fe50" - dependencies: - css-selector-tokenizer "^0.5.1" - cssnano ">=2.6.1 <4" - loader-utils "~0.2.2" - lodash.camelcase "^3.0.1" - object-assign "^4.0.1" - postcss "^5.0.6" - postcss-modules-extract-imports "^1.0.0" - postcss-modules-local-by-default "^1.0.1" - postcss-modules-scope "^1.0.0" - postcss-modules-values "^1.1.0" - source-list-map "^0.1.4" - -css-loader@^0.28.1, css-loader@^0.28.11: - version "0.28.11" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.11.tgz#c3f9864a700be2711bb5a2462b2389b1a392dab7" - dependencies: - babel-code-frame "^6.26.0" - css-selector-tokenizer "^0.7.0" - cssnano "^3.10.0" - icss-utils "^2.1.0" - loader-utils "^1.0.2" - lodash.camelcase "^4.3.0" - object-assign "^4.1.1" - postcss "^5.0.6" - postcss-modules-extract-imports "^1.2.0" - postcss-modules-local-by-default "^1.2.0" - postcss-modules-scope "^1.1.0" - postcss-modules-values "^1.3.0" - postcss-value-parser "^3.3.0" - source-list-map "^2.0.0" - -css-select@^1.1.0, css-select@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858" - dependencies: - boolbase "~1.0.0" - css-what "2.1" - domutils "1.5.1" - nth-check "~1.0.1" - -css-selector-tokenizer@^0.5.1: - version "0.5.4" - resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.5.4.tgz#139bafd34a35fd0c1428487049e0699e6f6a2c21" - dependencies: - cssesc "^0.1.0" - fastparse "^1.1.1" - -css-selector-tokenizer@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz#e6988474ae8c953477bf5e7efecfceccd9cf4c86" - dependencies: - cssesc "^0.1.0" - fastparse "^1.1.1" - regexpu-core "^1.0.0" - -css-what@2.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd" - -css.escape@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" - -css@2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/css/-/css-2.2.1.tgz#73a4c81de85db664d4ee674f7d47085e3b2d55dc" - dependencies: - inherits "^2.0.1" - source-map "^0.1.38" - source-map-resolve "^0.3.0" - urix "^0.1.0" - -cssesc@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4" - -"cssnano@>=2.6.1 <4", cssnano@^3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38" - dependencies: - autoprefixer "^6.3.1" - decamelize "^1.1.2" - defined "^1.0.0" - has "^1.0.1" - object-assign "^4.0.1" - postcss "^5.0.14" - postcss-calc "^5.2.0" - postcss-colormin "^2.1.8" - postcss-convert-values "^2.3.4" - postcss-discard-comments "^2.0.4" - postcss-discard-duplicates "^2.0.1" - postcss-discard-empty "^2.0.1" - postcss-discard-overridden "^0.1.1" - postcss-discard-unused "^2.2.1" - postcss-filter-plugins "^2.0.0" - postcss-merge-idents "^2.1.5" - postcss-merge-longhand "^2.0.1" - postcss-merge-rules "^2.0.3" - postcss-minify-font-values "^1.0.2" - postcss-minify-gradients "^1.0.1" - postcss-minify-params "^1.0.4" - postcss-minify-selectors "^2.0.4" - postcss-normalize-charset "^1.1.0" - postcss-normalize-url "^3.0.7" - postcss-ordered-values "^2.1.0" - postcss-reduce-idents "^2.2.2" - postcss-reduce-initial "^1.0.0" - postcss-reduce-transforms "^1.0.3" - postcss-svgo "^2.1.1" - postcss-unique-selectors "^2.0.2" - postcss-value-parser "^3.2.3" - postcss-zindex "^2.0.1" - -csso@~2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/csso/-/csso-2.3.2.tgz#ddd52c587033f49e94b71fc55569f252e8ff5f85" - dependencies: - clap "^1.0.9" - source-map "^0.5.3" - -cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": - version "0.3.2" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" - -"cssstyle@>= 0.2.37 < 0.3.0": - version "0.2.37" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" - dependencies: - cssom "0.3.x" - -csstype@^2.2.0: - version "2.5.6" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.5.6.tgz#2ae1db2319642d8b80a668d2d025c6196071e788" - -currently-unhandled@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" - dependencies: - array-find-index "^1.0.1" - -cyclist@~0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" - -d3-hierarchy@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-1.1.6.tgz#842c1372090f870b7ea013ebae5c0c8d9f56229c" - -d3-selection@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.3.0.tgz#d53772382d3dc4f7507bfb28bcd2d6aed2a0ad6d" - -d@1: - version "1.0.0" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f" - dependencies: - es5-ext "^0.10.9" - -dargs@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-5.1.0.tgz#ec7ea50c78564cd36c9d5ec18f66329fade27829" - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - dependencies: - assert-plus "^1.0.0" - -data-urls@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-1.0.0.tgz#24802de4e81c298ea8a9388bb0d8e461c774684f" - dependencies: - abab "^1.0.4" - whatwg-mimetype "^2.0.0" - whatwg-url "^6.4.0" - -date-fns@^1.27.2: - version "1.29.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" - -date-now@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" - -dateformat@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - -debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.6, debug@^2.6.8, debug@^2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - dependencies: - ms "2.0.0" - -debug@3.1.0, debug@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - dependencies: - ms "2.0.0" - -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - -decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - -decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - -decompress-response@^3.2.0, decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - dependencies: - mimic-response "^1.0.0" - -deep-equal@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" - -deep-extend@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" - -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - -deep-is@~0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" - -deepmerge@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.1.0.tgz#511a54fff405fc346f0240bb270a3e9533a31102" - -default-require-extensions@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" - dependencies: - strip-bom "^2.0.0" - -defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - dependencies: - clone "^1.0.2" - -define-properties@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" - dependencies: - foreach "^2.0.5" - object-keys "^1.0.8" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -defined@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" - -del@^2.0.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" - dependencies: - globby "^5.0.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - rimraf "^2.2.8" - -del@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/del/-/del-3.0.0.tgz#53ecf699ffcbcb39637691ab13baf160819766e5" - dependencies: - globby "^6.1.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - p-map "^1.1.1" - pify "^3.0.0" - rimraf "^2.2.8" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - -delegate-events@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/delegate-events/-/delegate-events-1.1.1.tgz#dab490a9c1f1d40ca40ebcd21edaf717b671d4d4" - dependencies: - closest "*" - component-event "*" - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - -depd@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" - -depd@~1.1.1, depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - -des.js@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - -detect-conflict@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/detect-conflict/-/detect-conflict-1.0.1.tgz#088657a66a961c05019db7c4230883b1c6b4176e" - -detect-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" - dependencies: - repeating "^2.0.0" - -detect-indent@~5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - -detect-newline@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" - -detect-node@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.3.tgz#a2033c09cc8e158d37748fbde7507832bd6ce127" - -detect-port-alt@1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275" - dependencies: - address "^1.0.1" - debug "^2.6.0" - -dezalgo@^1.0.0, dezalgo@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - dependencies: - asap "^2.0.0" - wrappy "1" - -diagram-js-direct-editing@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/diagram-js-direct-editing/-/diagram-js-direct-editing-1.3.0.tgz#b99c1e45135660e362b7b34073632fbf20352c14" - dependencies: - min-dash "^3.0.0" - min-dom "^3.0.0" - -diagram-js@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/diagram-js/-/diagram-js-2.6.0.tgz#9047a123a0cb95d29ed4a300febf667e2023f6b2" - dependencies: - css.escape "^1.5.1" - didi "^4.0.0" - hammerjs "^2.0.1" - inherits "^2.0.1" - min-dash "^3.0.0" - min-dom "^3.0.0" - object-refs "^0.3.0" - path-intersection "^1.0.2" - tiny-svg "^2.0.0" - -didi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/didi/-/didi-4.0.0.tgz#2b89d892a67fd3777f7642d3bf06697b69e9b622" - -diff@^3.2.0, diff@^3.3.1, diff@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -dir-glob@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" - dependencies: - arrify "^1.0.1" - path-type "^3.0.0" - -discontinuous-range@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a" - -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - -dns-packet@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.1.tgz#12aa426981075be500b910eedcd0b47dd7deda5a" - dependencies: - ip "^1.1.0" - safe-buffer "^5.0.1" - -dns-txt@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - dependencies: - buffer-indexof "^1.0.0" - -doctrine@1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" - dependencies: - esutils "^2.0.2" - isarray "^1.0.0" - -doctrine@^2.0.0, doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - dependencies: - esutils "^2.0.2" - -dom-converter@~0.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.1.4.tgz#a45ef5727b890c9bffe6d7c876e7b19cb0e17f3b" - dependencies: - utila "~0.3" - -dom-helpers@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.3.1.tgz#fc1a4e15ffdf60ddde03a480a9c0fece821dd4a6" - -dom-serializer@0, dom-serializer@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" - dependencies: - domelementtype "~1.1.1" - entities "~1.1.1" - -dom-walk@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" - -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - -domelementtype@1, domelementtype@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" - -domelementtype@~1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" - -domexception@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" - dependencies: - webidl-conversions "^4.0.2" - -domhandler@2.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594" - dependencies: - domelementtype "1" - -domhandler@^2.3.0: - version "2.4.2" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" - dependencies: - domelementtype "1" - -domify@^1.3.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/domify/-/domify-1.4.0.tgz#11483617f764f8695975b4bdc79b14f0803b629b" - -domutils@1.1: - version "1.1.6" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.1.6.tgz#bddc3de099b9a2efacc51c623f28f416ecc57485" - dependencies: - domelementtype "1" - -domutils@1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" - dependencies: - dom-serializer "0" - domelementtype "1" - -domutils@^1.5.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" - dependencies: - dom-serializer "0" - domelementtype "1" - -dot-prop@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" - dependencies: - is-obj "^1.0.0" - -dotenv-webpack@^1.5.5: - version "1.5.7" - resolved "https://registry.yarnpkg.com/dotenv-webpack/-/dotenv-webpack-1.5.7.tgz#c44395ab21d1fd28d79a90942a7b14b1debd145f" - dependencies: - dotenv "^5.0.1" - -dotenv@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" - -duplexer3@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" - -duplexer@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" - -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.6.0.tgz#592903f5d80b38d037220541264d69a198fb3410" - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - -ecc-jsbn@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" - dependencies: - jsbn "~0.1.0" - -editions@^1.1.1, editions@^1.3.3: - version "1.3.4" - resolved "https://registry.yarnpkg.com/editions/-/editions-1.3.4.tgz#3662cb592347c3168eb8e498a0ff73271d67f50b" - -editor@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/editor/-/editor-1.0.0.tgz#60c7f87bd62bcc6a894fa8ccd6afb7823a24f742" - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - -ejs@^2.5.9: - version "2.6.1" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" - -electron-to-chromium@^1.2.7: - version "1.3.50" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.50.tgz#7438b76f92b41b919f3fbdd350fbd0757dacddf7" - -electron-to-chromium@^1.3.30: - version "1.3.55" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.55.tgz#f150e10b20b77d9d41afcca312efe0c3b1a7fdce" - -electron-to-chromium@^1.3.45: - version "1.3.45" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.45.tgz#458ac1b1c5c760ce8811a16d2bfbd97ec30bafb8" - -elegant-spinner@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" - -elliptic@^6.0.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" - dependencies: - bn.js "^4.4.0" - brorand "^1.0.1" - hash.js "^1.0.0" - hmac-drbg "^1.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.0" - -emojis-list@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - -encoding@^0.1.11: - version "0.1.12" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" - dependencies: - iconv-lite "~0.4.13" - -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" - dependencies: - once "^1.4.0" - -enhanced-resolve@^3.3.0, enhanced-resolve@^3.4.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e" - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.4.0" - object-assign "^4.0.1" - tapable "^0.2.7" - -enhanced-resolve@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.0.0.tgz#e34a6eaa790f62fccd71d93959f56b2b432db10a" - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.4.0" - tapable "^1.0.0" - -ensure-array@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/ensure-array/-/ensure-array-1.0.0.tgz#317e9fc632c656bb849eb649133528e205b23abc" - -entities@^1.1.1, entities@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" - -envinfo@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-4.4.2.tgz#472c49f3a8b9bca73962641ce7cb692bf623cd1c" - -enzyme-adapter-react-16@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4" - dependencies: - enzyme-adapter-utils "^1.3.0" - lodash "^4.17.4" - object.assign "^4.0.4" - object.values "^1.0.4" - prop-types "^15.6.0" - react-reconciler "^0.7.0" - react-test-renderer "^16.0.0-0" - -enzyme-adapter-utils@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7" - dependencies: - lodash "^4.17.4" - object.assign "^4.0.4" - prop-types "^15.6.0" - -enzyme@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.3.0.tgz#0971abd167f2d4bf3f5bd508229e1c4b6dc50479" - dependencies: - cheerio "^1.0.0-rc.2" - function.prototype.name "^1.0.3" - has "^1.0.1" - is-boolean-object "^1.0.0" - is-callable "^1.1.3" - is-number-object "^1.0.3" - is-string "^1.0.4" - is-subset "^0.1.1" - lodash "^4.17.4" - object-inspect "^1.5.0" - object-is "^1.0.1" - object.assign "^4.1.0" - object.entries "^1.0.4" - object.values "^1.0.4" - raf "^3.4.0" - rst-selector-parser "^2.2.3" - -eol@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/eol/-/eol-0.9.1.tgz#f701912f504074be35c6117a5c4ade49cd547acd" - -err-code@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" - -errno@^0.1.1, errno@^0.1.3, errno@~0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" - dependencies: - prr "~1.0.1" - -error-ex@^1.2.0, error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - dependencies: - is-arrayish "^0.2.1" - -error@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/error/-/error-7.0.2.tgz#a5f75fff4d9926126ddac0ea5dc38e689153cb02" - dependencies: - string-template "~0.2.1" - xtend "~4.0.0" - -es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0, es-abstract@^1.9.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165" - dependencies: - es-to-primitive "^1.1.1" - function-bind "^1.1.1" - has "^1.0.1" - is-callable "^1.1.3" - is-regex "^1.0.4" - -es-to-primitive@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" - dependencies: - is-callable "^1.1.1" - is-date-object "^1.0.1" - is-symbol "^1.0.1" - -es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14: - version "0.10.45" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.45.tgz#0bfdf7b473da5919d5adf3bd25ceb754fccc3653" - dependencies: - es6-iterator "~2.0.3" - es6-symbol "~3.1.1" - next-tick "1" - -es5-shim@^4.5.10: - version "4.5.10" - resolved "https://registry.yarnpkg.com/es5-shim/-/es5-shim-4.5.10.tgz#b7e17ef4df2a145b821f1497b50c25cf94026205" - -es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-map@^0.1.3: - version "0.1.5" - resolved "https://registry.yarnpkg.com/es6-map/-/es6-map-0.1.5.tgz#9136e0503dcc06a301690f0bb14ff4e364e949f0" - dependencies: - d "1" - es5-ext "~0.10.14" - es6-iterator "~2.0.1" - es6-set "~0.1.5" - es6-symbol "~3.1.1" - event-emitter "~0.3.5" - -es6-promise@^4.0.3: - version "4.2.4" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29" - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - dependencies: - es6-promise "^4.0.3" - -es6-set@~0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/es6-set/-/es6-set-0.1.5.tgz#d2b3ec5d4d800ced818db538d28974db0a73ccb1" - dependencies: - d "1" - es5-ext "~0.10.14" - es6-iterator "~2.0.1" - es6-symbol "3.1.1" - event-emitter "~0.3.5" - -es6-shim@^0.35.3: - version "0.35.3" - resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.3.tgz#9bfb7363feffff87a6cdb6cd93e405ec3c4b6f26" - -es6-symbol@3.1.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77" - dependencies: - d "1" - es5-ext "~0.10.14" - -es6-templates@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/es6-templates/-/es6-templates-0.2.3.tgz#5cb9ac9fb1ded6eb1239342b81d792bbb4078ee4" - dependencies: - recast "~0.11.12" - through "~2.3.6" - -es6-weak-map@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.2.tgz#5e3ab32251ffd1538a1f8e5ffa1357772f92d96f" - dependencies: - d "1" - es5-ext "^0.10.14" - es6-iterator "^2.0.1" - es6-symbol "^3.1.1" - -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - -escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - -escodegen@^1.9.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.9.1.tgz#dbae17ef96c8e4bedb1356f4504fa4cc2f7cb7e2" - dependencies: - esprima "^3.1.3" - estraverse "^4.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - -escope@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3" - dependencies: - es6-map "^0.1.3" - es6-weak-map "^2.0.1" - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-config-prettier@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-3.0.1.tgz#479214f64c1a4b344040924bfb97543db334b7b1" - dependencies: - get-stdin "^6.0.0" - -eslint-import-resolver-node@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" - dependencies: - debug "^2.6.9" - resolve "^1.5.0" - -eslint-loader@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-loader/-/eslint-loader-2.1.0.tgz#61334c548aeb0b8e20ec3a552fb7a88c47261c6a" - dependencies: - loader-fs-cache "^1.0.0" - loader-utils "^1.0.2" - object-assign "^4.0.1" - object-hash "^1.1.4" - rimraf "^2.6.1" - -eslint-module-utils@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz#b270362cd88b1a48ad308976ce7fa54e98411746" - dependencies: - debug "^2.6.8" - pkg-dir "^1.0.0" - -eslint-plugin-import@^2.14.0: - version "2.14.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz#6b17626d2e3e6ad52cfce8807a845d15e22111a8" - dependencies: - contains-path "^0.1.0" - debug "^2.6.8" - doctrine "1.5.0" - eslint-import-resolver-node "^0.3.1" - eslint-module-utils "^2.2.0" - has "^1.0.1" - lodash "^4.17.4" - minimatch "^3.0.3" - read-pkg-up "^2.0.0" - resolve "^1.6.0" - -eslint-plugin-jest@^21.22.0: - version "21.22.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.22.0.tgz#1b9e49b3e5ce9a3d0a51af4579991d517f33726e" - -eslint-plugin-prettier@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.2.tgz#71998c60aedfa2141f7bfcbf9d1c459bf98b4fad" - dependencies: - fast-diff "^1.1.1" - jest-docblock "^21.0.0" - -eslint-plugin-react@^7.11.1: - version "7.11.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz#c01a7af6f17519457d6116aa94fc6d2ccad5443c" - dependencies: - array-includes "^3.0.3" - doctrine "^2.1.0" - has "^1.0.3" - jsx-ast-utils "^2.0.1" - prop-types "^15.6.2" - -eslint-scope@3.7.1, eslint-scope@^3.7.1: - version "3.7.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.0.tgz#50bf3071e9338bcdc43331794a0cb533f0136172" - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-utils@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512" - -eslint-visitor-keys@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" - -eslint@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.4.0.tgz#d068ec03006bb9e06b429dc85f7e46c1b69fac62" - dependencies: - ajv "^6.5.0" - babel-code-frame "^6.26.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^3.1.0" - doctrine "^2.1.0" - eslint-scope "^4.0.0" - eslint-utils "^1.3.1" - eslint-visitor-keys "^1.0.0" - espree "^4.0.0" - esquery "^1.0.1" - esutils "^2.0.2" - file-entry-cache "^2.0.0" - functional-red-black-tree "^1.0.1" - glob "^7.1.2" - globals "^11.7.0" - ignore "^4.0.2" - imurmurhash "^0.1.4" - inquirer "^5.2.0" - is-resolvable "^1.1.0" - js-yaml "^3.11.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.5" - minimatch "^3.0.4" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - optionator "^0.8.2" - path-is-inside "^1.0.2" - pluralize "^7.0.0" - progress "^2.0.0" - regexpp "^2.0.0" - require-uncached "^1.0.3" - semver "^5.5.0" - strip-ansi "^4.0.0" - strip-json-comments "^2.0.1" - table "^4.0.3" - text-table "^0.2.0" - -espree@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-4.0.0.tgz#253998f20a0f82db5d866385799d912a83a36634" - dependencies: - acorn "^5.6.0" - acorn-jsx "^4.1.1" - -esprima@^2.6.0: - version "2.7.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" - -esprima@^3.1.3, esprima@~3.1.0: - version "3.1.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" - -esprima@^4.0.0, esprima@~4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" - -esquery@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" - dependencies: - estraverse "^4.0.0" - -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - dependencies: - estraverse "^4.1.0" - -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" - -esutils@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - -event-emitter@~0.3.5: - version "0.3.5" - resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" - dependencies: - d "1" - es5-ext "~0.10.14" - -eventemitter3@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163" - -events@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" - -events@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/events/-/events-2.1.0.tgz#2a9a1e18e6106e0e812aa9ebd4a819b3c29c0ba5" - -eventsource@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-0.1.6.tgz#0acede849ed7dd1ccc32c811bb11b944d4f29232" - dependencies: - original ">=0.0.5" - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -exec-sh@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.1.tgz#163b98a6e89e6b65b47c2a28d215bc1f63989c38" - dependencies: - merge "^1.1.3" - -execa@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -exenv@^1.2.0, exenv@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" - -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - dependencies: - is-posix-bracket "^0.1.0" - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expand-range@^1.8.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" - dependencies: - fill-range "^2.1.0" - -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - dependencies: - homedir-polyfill "^1.0.1" - -expect@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/expect/-/expect-22.4.3.tgz#d5a29d0a0e1fb2153557caef2674d4547e914674" - dependencies: - ansi-styles "^3.2.0" - jest-diff "^22.4.3" - jest-get-type "^22.4.3" - jest-matcher-utils "^22.4.3" - jest-message-util "^22.4.3" - jest-regex-util "^22.4.3" - -express@^4.16.2, express@^4.16.3: - version "4.16.3" - resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53" - dependencies: - accepts "~1.3.5" - array-flatten "1.1.1" - body-parser "1.18.2" - content-disposition "0.5.2" - content-type "~1.0.4" - cookie "0.3.1" - cookie-signature "1.0.6" - debug "2.6.9" - depd "~1.1.2" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.1.1" - fresh "0.5.2" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "~2.3.0" - parseurl "~1.3.2" - path-to-regexp "0.1.7" - proxy-addr "~2.0.3" - qs "6.5.1" - range-parser "~1.2.0" - safe-buffer "5.1.1" - send "0.16.2" - serve-static "1.13.2" - setprototypeof "1.1.0" - statuses "~1.4.0" - type-is "~1.6.16" - utils-merge "1.0.1" - vary "~1.1.2" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@^3.0.0, extend@~3.0.0, extend@~3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" - -external-editor@^2.0.4, external-editor@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" - dependencies: - chardet "^0.4.0" - iconv-lite "^0.4.17" - tmp "^0.0.33" - -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - dependencies: - is-extglob "^1.0.0" - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - -fast-deep-equal@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" - -fast-deep-equal@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" - -fast-diff@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.1.2.tgz#4b62c42b8e03de3f848460b639079920695d0154" - -fast-glob@^2.0.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.1.tgz#686c2345be88f3741e174add0be6f2e5b6078889" - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.1" - micromatch "^3.1.10" - -fast-json-stable-stringify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" - -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - -fast-memoize@^2.2.7: - version "2.5.1" - resolved "https://registry.yarnpkg.com/fast-memoize/-/fast-memoize-2.5.1.tgz#c3519241e80552ce395e1a32dcdde8d1fd680f5d" - -fastparse@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8" - -faye-websocket@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" - dependencies: - websocket-driver ">=0.5.1" - -faye-websocket@~0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.1.tgz#f0efe18c4f56e4f40afc7e06c719fd5ee6188f38" - dependencies: - websocket-driver ">=0.5.1" - -fb-watchman@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" - dependencies: - bser "^2.0.0" - -fbjs@^0.8.12, fbjs@^0.8.16, fbjs@^0.8.9: - version "0.8.17" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" - dependencies: - core-js "^1.0.0" - isomorphic-fetch "^2.1.1" - loose-envify "^1.0.0" - object-assign "^4.1.0" - promise "^7.1.1" - setimmediate "^1.0.5" - ua-parser-js "^0.7.18" - -figgy-pudding@^3.0.0, figgy-pudding@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.1.0.tgz#a77ed2284175976c424b390b298569e9df86dd1e" - -figures@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - dependencies: - escape-string-regexp "^1.0.5" - -file-entry-cache@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" - dependencies: - flat-cache "^1.2.1" - object-assign "^4.0.1" - -file-loader@^0.11.2: - version "0.11.2" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-0.11.2.tgz#4ff1df28af38719a6098093b88c82c71d1794a34" - dependencies: - loader-utils "^1.0.2" - -file-loader@^1.1.11: - version "1.1.11" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.11.tgz#6fe886449b0f2a936e43cabaac0cdbfb369506f8" - dependencies: - loader-utils "^1.0.2" - schema-utils "^0.4.5" - -file-saver@^1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/file-saver/-/file-saver-1.3.8.tgz#e68a30c7cb044e2fb362b428469feb291c2e09d8" - -filename-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" - -fileset@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" - dependencies: - glob "^7.0.3" - minimatch "^3.0.3" - -filesize@3.5.11: - version "3.5.11" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.11.tgz#1919326749433bb3cf77368bd158caabcc19e9ee" - -fill-range@^2.1.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" - dependencies: - is-number "^2.1.0" - isobject "^2.0.0" - randomatic "^3.0.0" - repeat-element "^1.1.2" - repeat-string "^1.5.2" - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -finalhandler@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "~2.3.0" - parseurl "~1.3.2" - statuses "~1.4.0" - unpipe "~1.0.0" - -find-cache-dir@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9" - dependencies: - commondir "^1.0.1" - mkdirp "^0.5.1" - pkg-dir "^1.0.0" - -find-cache-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" - dependencies: - commondir "^1.0.1" - make-dir "^1.0.0" - pkg-dir "^2.0.0" - -find-npm-prefix@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/find-npm-prefix/-/find-npm-prefix-1.0.2.tgz#8d8ce2c78b3b4b9e66c8acc6a37c231eb841cfdf" - -find-up@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" - -find-up@^2.0.0, find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - dependencies: - locate-path "^2.0.0" - -first-chunk-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70" - dependencies: - readable-stream "^2.0.2" - -flat-cache@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" - dependencies: - circular-json "^0.3.1" - del "^2.0.2" - graceful-fs "^4.1.2" - write "^0.2.1" - -flatten@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" - -flow-parser@^0.*: - version "0.72.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.72.0.tgz#6c8041e76ac7d0be1a71ce29c00cd1435fb6013c" - -flush-write-stream@^1.0.0, flush-write-stream@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.3.tgz#c5d586ef38af6097650b49bc41b55fabb19f35bd" - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.4" - -follow-redirects@^1.0.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.4.1.tgz#d8120f4518190f55aac65bb6fc7b85fcd666d6aa" - dependencies: - debug "^3.1.0" - -follow-redirects@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.0.tgz#234f49cf770b7f35b40e790f636ceba0c3a0ab77" - dependencies: - debug "^3.1.0" - -for-in@^0.1.3: - version "0.1.8" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1" - -for-in@^1.0.1, for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - -for-own@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" - dependencies: - for-in "^1.0.1" - -for-own@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" - dependencies: - for-in "^1.0.1" - -foreach@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - -form-data@~2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.5" - mime-types "^2.1.12" - -form-data@~2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099" - dependencies: - asynckit "^0.4.0" - combined-stream "1.0.6" - mime-types "^2.1.12" - -forwarded@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - dependencies: - map-cache "^0.2.2" - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - -from2@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-1.3.0.tgz#88413baaa5f9a597cfde9221d86986cd3c061dfd" - dependencies: - inherits "~2.0.1" - readable-stream "~1.1.10" - -from2@^2.1.0, from2@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs-minipass@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" - dependencies: - minipass "^2.2.1" - -fs-mkdirp-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz#0b7815fc3201c6a69e14db98ce098c16935259eb" - dependencies: - graceful-fs "^4.1.11" - through2 "^2.0.3" - -fs-vacuum@^1.2.10, fs-vacuum@~1.2.10: - version "1.2.10" - resolved "https://registry.yarnpkg.com/fs-vacuum/-/fs-vacuum-1.2.10.tgz#b7629bec07a4031a2548fdf99f5ecf1cc8b31e36" - dependencies: - graceful-fs "^4.1.2" - path-is-inside "^1.0.1" - rimraf "^2.5.2" - -fs-write-stream-atomic@^1.0.8, fs-write-stream-atomic@~1.0.10: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - -fsevents@^1.1.2, fsevents@^1.2.2: - version "1.2.4" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426" - dependencies: - nan "^2.9.2" - node-pre-gyp "^0.10.0" - -fsevents@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.3.tgz#08292982e7059f6674c93d8b829c1e8604979ac0" - dependencies: - nan "^2.9.2" - node-pre-gyp "^0.9.0" - -fstream@^1.0.0, fstream@^1.0.2: - version "1.0.11" - resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" - dependencies: - graceful-fs "^4.1.2" - inherits "~2.0.0" - mkdirp ">=0.5 0" - rimraf "2" - -function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - -function.prototype.name@^1.0.3, function.prototype.name@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327" - dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - is-callable "^1.1.3" - -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - -fuse.js@^3.0.1, fuse.js@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.2.1.tgz#6320cb94ce56ec9755c89ade775bcdbb0358d425" - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -gaze@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/gaze/-/gaze-1.1.2.tgz#847224677adb8870d679257ed3388fdb61e40105" - dependencies: - globule "^1.0.0" - -generate-function@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" - -generate-object-property@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" - dependencies: - is-property "^1.0.0" - -genfun@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/genfun/-/genfun-4.0.1.tgz#ed10041f2e4a7f1b0a38466d17a5c3e27df1dfc1" - -gentle-fs@^2.0.0, gentle-fs@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/gentle-fs/-/gentle-fs-2.0.1.tgz#585cfd612bfc5cd52471fdb42537f016a5ce3687" - dependencies: - aproba "^1.1.2" - fs-vacuum "^1.2.10" - graceful-fs "^4.1.11" - iferr "^0.1.5" - mkdirp "^0.5.1" - path-is-inside "^1.0.2" - read-cmd-shim "^1.0.1" - slide "^1.1.6" - -get-caller-file@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" - -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - -get-stdin@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - -get-stream@3.0.0, get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - dependencies: - assert-plus "^1.0.0" - -gh-got@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/gh-got/-/gh-got-6.0.0.tgz#d74353004c6ec466647520a10bd46f7299d268d0" - dependencies: - got "^7.0.0" - is-plain-obj "^1.1.0" - -github-username@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/github-username/-/github-username-4.1.0.tgz#cbe280041883206da4212ae9e4b5f169c30bf417" - dependencies: - gh-got "^6.0.0" - -glamor@^2.20.40: - version "2.20.40" - resolved "https://registry.yarnpkg.com/glamor/-/glamor-2.20.40.tgz#f606660357b7cf18dface731ad1a2cfa93817f05" - dependencies: - fbjs "^0.8.12" - inline-style-prefixer "^3.0.6" - object-assign "^4.1.1" - prop-types "^15.5.10" - through "^2.3.8" - -glamorous@^4.12.1: - version "4.13.1" - resolved "https://registry.yarnpkg.com/glamorous/-/glamorous-4.13.1.tgz#8909afcbc7f09133c6eb26bedcc1250c1f774312" - dependencies: - brcast "^3.0.0" - csstype "^2.2.0" - fast-memoize "^2.2.7" - html-tag-names "^1.1.1" - is-function "^1.0.1" - is-plain-object "^2.0.4" - react-html-attributes "^1.4.2" - svg-tag-names "^1.1.0" - -glob-all@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-all/-/glob-all-3.1.0.tgz#8913ddfb5ee1ac7812656241b03d5217c64b02ab" - dependencies: - glob "^7.0.5" - yargs "~1.2.6" - -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - dependencies: - is-glob "^2.0.0" - -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-stream@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-6.1.0.tgz#7045c99413b3eb94888d83ab46d0b404cc7bdde4" - dependencies: - extend "^3.0.0" - glob "^7.1.1" - glob-parent "^3.1.0" - is-negated-glob "^1.0.0" - ordered-read-streams "^1.0.0" - pumpify "^1.3.5" - readable-stream "^2.1.5" - remove-trailing-separator "^1.0.1" - to-absolute-glob "^2.0.0" - unique-stream "^2.0.2" - -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - -glob@^6.0.4: - version "6.0.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@~7.1.1, glob@~7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -global-dirs@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - dependencies: - ini "^1.3.4" - -global-modules@1.0.0, global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - -global@^4.3.0, global@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" - dependencies: - min-document "^2.19.0" - process "~0.5.1" - -globals@^11.1.0, globals@^11.7.0: - version "11.7.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" - -globals@^9.18.0: - version "9.18.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" - -globby@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" - dependencies: - array-union "^1.0.1" - arrify "^1.0.0" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^8.0.0, globby@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.1.tgz#b5ad48b8aa80b35b814fc1281ecc851f1d2b5b50" - dependencies: - array-union "^1.0.1" - dir-glob "^2.0.0" - fast-glob "^2.0.2" - glob "^7.1.2" - ignore "^3.3.5" - pify "^3.0.0" - slash "^1.0.0" - -globule@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/globule/-/globule-1.2.0.tgz#1dc49c6822dd9e8a2fa00ba2a295006e8664bd09" - dependencies: - glob "~7.1.1" - lodash "~4.17.4" - minimatch "~3.0.2" - -got@^6.7.1: - version "6.7.1" - resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" - dependencies: - create-error-class "^3.0.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - unzip-response "^2.0.1" - url-parse-lax "^1.0.0" - -got@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" - dependencies: - decompress-response "^3.2.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-plain-obj "^1.1.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - p-cancelable "^0.3.0" - p-timeout "^1.1.1" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - url-parse-lax "^1.0.0" - url-to-options "^1.0.1" - -got@^8.2.0: - version "8.3.1" - resolved "https://registry.yarnpkg.com/got/-/got-8.3.1.tgz#093324403d4d955f5a16a7a8d39955d055ae10ed" - dependencies: - "@sindresorhus/is" "^0.7.0" - cacheable-request "^2.1.1" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - into-stream "^3.1.0" - is-retry-allowed "^1.1.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - mimic-response "^1.0.0" - p-cancelable "^0.4.0" - p-timeout "^2.0.1" - pify "^3.0.0" - safe-buffer "^5.1.1" - timed-out "^4.0.1" - url-parse-lax "^3.0.0" - url-to-options "^1.0.1" - -graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@~4.1.11: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - -grouped-queue@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/grouped-queue/-/grouped-queue-0.3.3.tgz#c167d2a5319c5a0e0964ef6a25b7c2df8996c85c" - dependencies: - lodash "^4.17.2" - -growly@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - -gulp-sort@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/gulp-sort/-/gulp-sort-2.0.0.tgz#c6762a2f1f0de0a3fc595a21599d3fac8dba1aca" - dependencies: - through2 "^2.0.1" - -gzip-size@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-3.0.0.tgz#546188e9bdc337f673772f81660464b389dce520" - dependencies: - duplexer "^0.1.1" - -hammerjs@^2.0.1: - version "2.0.8" - resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" - -handle-thing@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4" - -handlebars@^4.0.3: - version "4.0.11" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc" - dependencies: - async "^1.4.0" - optimist "^0.6.1" - source-map "^0.4.4" - optionalDependencies: - uglify-js "^2.6" - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - -har-validator@~2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" - dependencies: - chalk "^1.1.1" - commander "^2.9.0" - is-my-json-valid "^2.12.4" - pinkie-promise "^2.0.0" - -har-validator@~5.0.3: - version "5.0.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" - dependencies: - ajv "^5.1.0" - har-schema "^2.0.0" - -harmony-reflect@^1.4.6: - version "1.6.0" - resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.0.tgz#9c28a77386ec225f7b5d370f9861ba09c4eea58f" - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - dependencies: - ansi-regex "^2.0.0" - -has-color@~0.1.0: - version "0.1.7" - resolved "https://registry.yarnpkg.com/has-color/-/has-color-0.1.7.tgz#67144a5260c34fc3cca677d041daf52fe7b78b2f" - -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - -has-flag@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - -has-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" - -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - dependencies: - has-symbol-support-x "^1.4.1" - -has-unicode@^2.0.0, has-unicode@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has@^1.0.1, has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - dependencies: - function-bind "^1.1.1" - -hash-base@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.4" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.4.tgz#8b50e1f35d51bd01e5ed9ece4dbe3549ccfa0a3c" - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.0" - -hat@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/hat/-/hat-0.0.3.tgz#bb014a9e64b3788aed8005917413d4ff3d502d8a" - -hawk@~3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" - dependencies: - boom "2.x.x" - cryptiles "2.x.x" - hoek "2.x.x" - sntp "1.x.x" - -hawk@~6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" - dependencies: - boom "4.x.x" - cryptiles "3.x.x" - hoek "4.x.x" - sntp "2.x.x" - -he@1.1.x: - version "1.1.1" - resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" - -history@^4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/history/-/history-4.7.2.tgz#22b5c7f31633c5b8021c7f4a8a954ac139ee8d5b" - dependencies: - invariant "^2.2.1" - loose-envify "^1.2.0" - resolve-pathname "^2.2.0" - value-equal "^0.4.0" - warning "^3.0.0" - -hmac-drbg@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -hoek@2.x.x: - version "2.16.3" - resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" - -hoek@4.x.x: - version "4.2.1" - resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb" - -hoist-non-react-statics@1.x.x, hoist-non-react-statics@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb" - -hoist-non-react-statics@^2.3.0, hoist-non-react-statics@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz#d2ca2dfc19c5a91c5a6615ce8e564ef0347e2a40" - -home-or-tmp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.1" - -homedir-polyfill@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^2.1.4: - version "2.6.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.6.1.tgz#6e4cee78b01bb849dcf93527708c69fdbee410df" - -hosted-git-info@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.6.0.tgz#23235b29ab230c576aab0d4f13fc046b0b038222" - -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - -html-comment-regex@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.1.tgz#668b93776eaae55ebde8f3ad464b307a4963625e" - -html-element-attributes@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/html-element-attributes/-/html-element-attributes-1.3.1.tgz#9fa6a2e37e6b61790a303e87ddbbb9746e8c035f" - -html-encoding-sniffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" - dependencies: - whatwg-encoding "^1.0.1" - -html-entities@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" - -html-loader@^0.5.5: - version "0.5.5" - resolved "https://registry.yarnpkg.com/html-loader/-/html-loader-0.5.5.tgz#6356dbeb0c49756d8ebd5ca327f16ff06ab5faea" - dependencies: - es6-templates "^0.2.3" - fastparse "^1.1.1" - html-minifier "^3.5.8" - loader-utils "^1.1.0" - object-assign "^4.1.1" - -html-minifier@^3.2.3: - version "3.5.17" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.17.tgz#fe9834c4288e4d5b4dfe18fbc7f3f811c108e5ea" - dependencies: - camel-case "3.0.x" - clean-css "4.1.x" - commander "2.15.x" - he "1.1.x" - param-case "2.1.x" - relateurl "0.2.x" - uglify-js "3.4.x" - -html-minifier@^3.5.8: - version "3.5.19" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.19.tgz#ed53c4b7326fe507bc3a1adbcc3bbb56660a2ebd" - dependencies: - camel-case "3.0.x" - clean-css "4.1.x" - commander "2.16.x" - he "1.1.x" - param-case "2.1.x" - relateurl "0.2.x" - uglify-js "3.4.x" - -html-tag-names@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/html-tag-names/-/html-tag-names-1.1.3.tgz#f81f75e59d626cb8a958a19e58f90c1d69707b82" - -html-webpack-plugin@^2.30.1: - version "2.30.1" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-2.30.1.tgz#7f9c421b7ea91ec460f56527d78df484ee7537d5" - dependencies: - bluebird "^3.4.7" - html-minifier "^3.2.3" - loader-utils "^0.2.16" - lodash "^4.17.3" - pretty-error "^2.0.2" - toposort "^1.0.0" - -html-webpack-plugin@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz#b01abbd723acaaa7b37b6af4492ebda03d9dd37b" - dependencies: - html-minifier "^3.2.3" - loader-utils "^0.2.16" - lodash "^4.17.3" - pretty-error "^2.0.2" - tapable "^1.0.0" - toposort "^1.0.0" - util.promisify "1.0.0" - -htmlparser2@^3.9.1, htmlparser2@^3.9.2: - version "3.9.2" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.2.tgz#1bdf87acca0f3f9e53fa4fcceb0f4b4cbb00b338" - dependencies: - domelementtype "^1.3.0" - domhandler "^2.3.0" - domutils "^1.5.1" - entities "^1.1.1" - inherits "^2.0.1" - readable-stream "^2.0.2" - -htmlparser2@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.3.0.tgz#cc70d05a59f6542e43f0e685c982e14c924a9efe" - dependencies: - domelementtype "1" - domhandler "2.1" - domutils "1.1" - readable-stream "1.0" - -http-cache-semantics@3.8.1, http-cache-semantics@^3.8.0, http-cache-semantics@^3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" - -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - -http-errors@1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" - dependencies: - depd "1.1.1" - inherits "2.0.3" - setprototypeof "1.0.3" - statuses ">= 1.3.1 < 2" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-loader@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/http-loader/-/http-loader-0.0.1.tgz#b04f8c2d8e872ae079572606eff0f4b8ef55d07c" - -http-parser-js@>=0.4.0: - version "0.4.13" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.13.tgz#3bd6d6fde6e3172c9334c3b33b6c193d80fe1137" - -http-proxy-agent@^2.0.0, http-proxy-agent@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" - dependencies: - agent-base "4" - debug "3.1.0" - -http-proxy-middleware@^0.17.4: - version "0.17.4" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz#642e8848851d66f09d4f124912846dbaeb41b833" - dependencies: - http-proxy "^1.16.2" - is-glob "^3.1.0" - lodash "^4.17.2" - micromatch "^2.3.11" - -http-proxy-middleware@~0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz#0987e6bb5a5606e5a69168d8f967a87f15dd8aab" - dependencies: - http-proxy "^1.16.2" - is-glob "^4.0.0" - lodash "^4.17.5" - micromatch "^3.1.9" - -http-proxy@^1.16.2: - version "1.17.0" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a" - dependencies: - eventemitter3 "^3.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-signature@~1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" - dependencies: - assert-plus "^0.2.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - -https-proxy-agent@^2.1.0, https-proxy-agent@^2.2.0, https-proxy-agent@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" - dependencies: - agent-base "^4.1.0" - debug "^3.1.0" - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - dependencies: - ms "^2.0.0" - -hyphenate-style-name@^1.0.1, hyphenate-style-name@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz#31160a36930adaf1fc04c6074f7eb41465d4ec4b" - -i18next-scanner@^2.4.6: - version "2.4.6" - resolved "https://registry.yarnpkg.com/i18next-scanner/-/i18next-scanner-2.4.6.tgz#c0433757c227cc3517d956cb15d8339deabba4c5" - dependencies: - chalk "^2.3.0" - clone-deep "^3.0.1" - commander "^2.13.0" - deepmerge "^2.0.1" - ensure-array "^1.0.0" - eol "^0.9.1" - esprima "^4.0.0" - gulp-sort "^2.0.0" - htmlparser2 "^3.9.2" - lodash "^4.0.0" - parse5 "^4.0.0" - sortobject "^1.1.1" - through2 "^2.0.3" - vinyl "^2.1.0" - vinyl-fs "^3.0.1" - -iconv-lite@0.4.19: - version "0.4.19" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" - -iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: - version "0.4.23" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" - dependencies: - safer-buffer ">= 2.1.2 < 3" - -icss-replace-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" - -icss-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-2.1.0.tgz#83f0a0ec378bf3246178b6c2ad9136f135b1c962" - dependencies: - postcss "^6.0.1" - -identity-obj-proxy@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14" - dependencies: - harmony-reflect "^1.4.6" - -ids@^0.2.0, ids@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/ids/-/ids-0.2.2.tgz#c23140dd06f5e5e95b1a5e5e98877ea734965540" - dependencies: - hat "^0.0.3" - -ieee754@^1.1.4: - version "1.1.12" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" - -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - -iferr@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-1.0.0.tgz#36700e6a6d5d42e3e66b6d90fb55a018970b0aab" - -ignore-walk@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" - dependencies: - minimatch "^3.0.4" - -ignore@^3.3.5: - version "3.3.8" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.8.tgz#3f8e9c35d38708a3a7e0e9abb6c73e7ee7707b2b" - -ignore@^4.0.2: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - -image-size@~0.5.0: - version "0.5.5" - resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" - -immutable@^3.8.1: - version "3.8.2" - resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3" - -import-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" - dependencies: - import-from "^2.1.0" - -import-from@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" - dependencies: - resolve-from "^3.0.0" - -import-lazy@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" - -import-local@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" - dependencies: - pkg-dir "^2.0.0" - resolve-cwd "^2.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - -in-publish@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/in-publish/-/in-publish-2.0.0.tgz#e20ff5e3a2afc2690320b6dc552682a9c7fadf51" - -indent-string@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" - dependencies: - repeating "^2.0.0" - -indent-string@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - -indexes-of@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" - -indexof@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" - -inflight@^1.0.4, inflight@~1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - -ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - -init-package-json@^1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-1.10.3.tgz#45ffe2f610a8ca134f2bd1db5637b235070f6cbe" - dependencies: - glob "^7.1.1" - npm-package-arg "^4.0.0 || ^5.0.0 || ^6.0.0" - promzard "^0.3.0" - read "~1.0.1" - read-package-json "1 || 2" - semver "2.x || 3.x || 4 || 5" - validate-npm-package-license "^3.0.1" - validate-npm-package-name "^3.0.0" - -inline-style-prefixer@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-2.0.5.tgz#c153c7e88fd84fef5c602e95a8168b2770671fe7" - dependencies: - bowser "^1.0.0" - hyphenate-style-name "^1.0.1" - -inline-style-prefixer@^3.0.6: - version "3.0.8" - resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-3.0.8.tgz#8551b8e5b4d573244e66a34b04f7d32076a2b534" - dependencies: - bowser "^1.7.3" - css-in-js-utils "^2.0.0" - -inquirer@3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.0.4" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rx-lite "^4.0.8" - rx-lite-aggregates "^4.0.8" - string-width "^2.1.0" - strip-ansi "^4.0.0" - through "^2.3.6" - -inquirer@^5.1.0, inquirer@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-5.2.0.tgz#db350c2b73daca77ff1243962e9f22f099685726" - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.1.0" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^5.5.2" - string-width "^2.1.0" - strip-ansi "^4.0.0" - through "^2.3.6" - -install@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/install/-/install-0.11.0.tgz#e539d3c7db572ab5081d3780de20796dd3cc842e" - -internal-ip@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-1.2.0.tgz#ae9fbf93b984878785d50a8de1b356956058cf5c" - dependencies: - meow "^3.3.0" - -interpret@^1.0.0, interpret@^1.0.4: - version "1.1.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" - -intl@^1.2: - version "1.2.5" - resolved "https://registry.yarnpkg.com/intl/-/intl-1.2.5.tgz#82244a2190c4e419f8371f5aa34daa3420e2abde" - -into-stream@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" - dependencies: - from2 "^2.1.1" - p-is-promise "^1.1.0" - -invariant@^2.0.0, invariant@^2.2.1, invariant@^2.2.2, invariant@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - dependencies: - loose-envify "^1.0.0" - -invert-kv@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" - -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - -ip@^1.1.0, ip@^1.1.4, ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - -ipaddr.js@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b" - -is-absolute-url@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6" - -is-absolute@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" - dependencies: - is-relative "^1.0.0" - is-windows "^1.0.1" - -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - dependencies: - kind-of "^6.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - dependencies: - binary-extensions "^1.0.0" - -is-boolean-object@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93" - -is-buffer@^1.1.5, is-buffer@~1.1.1: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - -is-builtin-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" - dependencies: - builtin-modules "^1.0.0" - -is-callable@^1.1.1, is-callable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" - -is-ci@^1.0.10: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5" - dependencies: - ci-info "^1.0.0" - -is-cidr@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-cidr/-/is-cidr-2.0.5.tgz#13227927d71865d1177fe0e5b60e6ddd3dee0034" - dependencies: - cidr-regex "^2.0.8" - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - dependencies: - kind-of "^6.0.0" - -is-date-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" - -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - -is-dom@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/is-dom/-/is-dom-1.0.9.tgz#483832d52972073de12b9fe3f60320870da8370d" - -is-dotfile@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - dependencies: - is-primitive "^2.0.0" - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - -is-extendable@^1.0.0, is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - -is-finite@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - -is-function@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" - -is-generator-fn@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" - -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - dependencies: - is-extglob "^1.0.0" - -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" - dependencies: - is-extglob "^2.1.1" - -is-installed-globally@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" - dependencies: - global-dirs "^0.1.0" - is-path-inside "^1.0.0" - -is-my-ip-valid@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz#7b351b8e8edd4d3995d4d066680e664d94696824" - -is-my-json-valid@^2.12.4: - version "2.17.2" - resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz#6b2103a288e94ef3de5cf15d29dd85fc4b78d65c" - dependencies: - generate-function "^2.0.0" - generate-object-property "^1.1.0" - is-my-ip-valid "^1.0.0" - jsonpointer "^4.0.0" - xtend "^4.0.0" - -is-negated-glob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2" - -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - -is-number-object@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799" - -is-number@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" - dependencies: - kind-of "^3.0.2" - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - dependencies: - kind-of "^3.0.2" - -is-number@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" - -is-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - -is-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" - -is-observable@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-0.2.0.tgz#b361311d83c6e5d726cabf5e250b0237106f5ae2" - dependencies: - symbol-observable "^0.2.2" - -is-path-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" - -is-path-in-cwd@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" - dependencies: - is-path-inside "^1.0.0" - -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - dependencies: - path-is-inside "^1.0.1" - -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - -is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - dependencies: - isobject "^3.0.1" - -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - -is-property@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" - -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - -is-regex@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" - dependencies: - has "^1.0.1" - -is-relative@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" - dependencies: - is-unc-path "^1.0.0" - -is-resolvable@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" - -is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" - -is-root@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-root/-/is-root-1.0.0.tgz#07b6c233bc394cd9d02ba15c966bd6660d6342d5" - -is-scoped@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-scoped/-/is-scoped-1.0.0.tgz#449ca98299e713038256289ecb2b540dc437cb30" - dependencies: - scoped-regex "^1.0.0" - -is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - -is-string@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64" - -is-subset@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" - -is-svg@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-2.1.0.tgz#cf61090da0d9efbcab8722deba6f032208dbb0e9" - dependencies: - html-comment-regex "^1.1.0" - -is-symbol@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - -is-unc-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" - dependencies: - unc-path-regex "^0.1.2" - -is-utf8@^0.2.0, is-utf8@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - -is-valid-glob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa" - -is-windows@^1.0.1, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - -isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - -isbinaryfile@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.2.tgz#4a3e974ec0cba9004d3fc6cde7209ea69368a621" - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - -isomorphic-fetch@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" - dependencies: - node-fetch "^1.0.1" - whatwg-fetch ">=0.10.0" - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - -istanbul-api@^1.1.14: - version "1.3.1" - resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.3.1.tgz#4c3b05d18c0016d1022e079b98dc82c40f488954" - dependencies: - async "^2.1.4" - compare-versions "^3.1.0" - fileset "^2.0.2" - istanbul-lib-coverage "^1.2.0" - istanbul-lib-hook "^1.2.0" - istanbul-lib-instrument "^1.10.1" - istanbul-lib-report "^1.1.4" - istanbul-lib-source-maps "^1.2.4" - istanbul-reports "^1.3.0" - js-yaml "^3.7.0" - mkdirp "^0.5.1" - once "^1.4.0" - -istanbul-lib-coverage@^1.1.1, istanbul-lib-coverage@^1.1.2, istanbul-lib-coverage@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.0.tgz#f7d8f2e42b97e37fe796114cb0f9d68b5e3a4341" - -istanbul-lib-hook@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.0.tgz#ae556fd5a41a6e8efa0b1002b1e416dfeaf9816c" - dependencies: - append-transform "^0.4.0" - -istanbul-lib-instrument@^1.10.1, istanbul-lib-instrument@^1.8.0: - version "1.10.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.1.tgz#724b4b6caceba8692d3f1f9d0727e279c401af7b" - dependencies: - babel-generator "^6.18.0" - babel-template "^6.16.0" - babel-traverse "^6.18.0" - babel-types "^6.18.0" - babylon "^6.18.0" - istanbul-lib-coverage "^1.2.0" - semver "^5.3.0" - -istanbul-lib-report@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.4.tgz#e886cdf505c4ebbd8e099e4396a90d0a28e2acb5" - dependencies: - istanbul-lib-coverage "^1.2.0" - mkdirp "^0.5.1" - path-parse "^1.0.5" - supports-color "^3.1.2" - -istanbul-lib-source-maps@^1.2.1: - version "1.2.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.3.tgz#20fb54b14e14b3fb6edb6aca3571fd2143db44e6" - dependencies: - debug "^3.1.0" - istanbul-lib-coverage "^1.1.2" - mkdirp "^0.5.1" - rimraf "^2.6.1" - source-map "^0.5.3" - -istanbul-lib-source-maps@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.4.tgz#cc7ccad61629f4efff8e2f78adb8c522c9976ec7" - dependencies: - debug "^3.1.0" - istanbul-lib-coverage "^1.2.0" - mkdirp "^0.5.1" - rimraf "^2.6.1" - source-map "^0.5.3" - -istanbul-reports@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.3.0.tgz#2f322e81e1d9520767597dca3c20a0cce89a3554" - dependencies: - handlebars "^4.0.3" - -istextorbinary@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/istextorbinary/-/istextorbinary-2.2.1.tgz#a5231a08ef6dd22b268d0895084cf8d58b5bec53" - dependencies: - binaryextensions "2" - editions "^1.3.3" - textextensions "2" - -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - -jest-changed-files@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.4.3.tgz#8882181e022c38bd46a2e4d18d44d19d90a90fb2" - dependencies: - throat "^4.0.0" - -jest-cli@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.4.3.tgz#bf16c4a5fb7edc3fa5b9bb7819e34139e88a72c7" - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.1" - exit "^0.1.2" - glob "^7.1.2" - graceful-fs "^4.1.11" - import-local "^1.0.0" - is-ci "^1.0.10" - istanbul-api "^1.1.14" - istanbul-lib-coverage "^1.1.1" - istanbul-lib-instrument "^1.8.0" - istanbul-lib-source-maps "^1.2.1" - jest-changed-files "^22.4.3" - jest-config "^22.4.3" - jest-environment-jsdom "^22.4.3" - jest-get-type "^22.4.3" - jest-haste-map "^22.4.3" - jest-message-util "^22.4.3" - jest-regex-util "^22.4.3" - jest-resolve-dependencies "^22.4.3" - jest-runner "^22.4.3" - jest-runtime "^22.4.3" - jest-snapshot "^22.4.3" - jest-util "^22.4.3" - jest-validate "^22.4.3" - jest-worker "^22.4.3" - micromatch "^2.3.11" - node-notifier "^5.2.1" - realpath-native "^1.0.0" - rimraf "^2.5.4" - slash "^1.0.0" - string-length "^2.0.0" - strip-ansi "^4.0.0" - which "^1.2.12" - yargs "^10.0.3" - -jest-config@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.4.3.tgz#0e9d57db267839ea31309119b41dc2fa31b76403" - dependencies: - chalk "^2.0.1" - glob "^7.1.1" - jest-environment-jsdom "^22.4.3" - jest-environment-node "^22.4.3" - jest-get-type "^22.4.3" - jest-jasmine2 "^22.4.3" - jest-regex-util "^22.4.3" - jest-resolve "^22.4.3" - jest-util "^22.4.3" - jest-validate "^22.4.3" - pretty-format "^22.4.3" - -jest-diff@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.4.3.tgz#e18cc3feff0aeef159d02310f2686d4065378030" - dependencies: - chalk "^2.0.1" - diff "^3.2.0" - jest-get-type "^22.4.3" - pretty-format "^22.4.3" - -jest-docblock@^21.0.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" - -jest-docblock@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.4.3.tgz#50886f132b42b280c903c592373bb6e93bb68b19" - dependencies: - detect-newline "^2.1.0" - -jest-environment-jsdom@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.4.3.tgz#d67daa4155e33516aecdd35afd82d4abf0fa8a1e" - dependencies: - jest-mock "^22.4.3" - jest-util "^22.4.3" - jsdom "^11.5.1" - -jest-environment-node@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.4.3.tgz#54c4eaa374c83dd52a9da8759be14ebe1d0b9129" - dependencies: - jest-mock "^22.4.3" - jest-util "^22.4.3" - -jest-get-type@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" - -jest-haste-map@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.4.3.tgz#25842fa2ba350200767ac27f658d58b9d5c2e20b" - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - jest-docblock "^22.4.3" - jest-serializer "^22.4.3" - jest-worker "^22.4.3" - micromatch "^2.3.11" - sane "^2.0.0" - -jest-jasmine2@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.4.3.tgz#4daf64cd14c793da9db34a7c7b8dcfe52a745965" - dependencies: - chalk "^2.0.1" - co "^4.6.0" - expect "^22.4.3" - graceful-fs "^4.1.11" - is-generator-fn "^1.0.0" - jest-diff "^22.4.3" - jest-matcher-utils "^22.4.3" - jest-message-util "^22.4.3" - jest-snapshot "^22.4.3" - jest-util "^22.4.3" - source-map-support "^0.5.0" - -jest-leak-detector@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-22.4.3.tgz#2b7b263103afae8c52b6b91241a2de40117e5b35" - dependencies: - pretty-format "^22.4.3" - -jest-localstorage-mock@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/jest-localstorage-mock/-/jest-localstorage-mock-2.2.0.tgz#ce9a9de01dfdde2ad8aa08adf73acc7e5cc394cf" - -jest-matcher-utils@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.4.3.tgz#4632fe428ebc73ebc194d3c7b65d37b161f710ff" - dependencies: - chalk "^2.0.1" - jest-get-type "^22.4.3" - pretty-format "^22.4.3" - -jest-message-util@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.4.3.tgz#cf3d38aafe4befddbfc455e57d65d5239e399eb7" - dependencies: - "@babel/code-frame" "^7.0.0-beta.35" - chalk "^2.0.1" - micromatch "^2.3.11" - slash "^1.0.0" - stack-utils "^1.0.1" - -jest-mock@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.4.3.tgz#f63ba2f07a1511772cdc7979733397df770aabc7" - -jest-regex-util@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-22.4.3.tgz#a826eb191cdf22502198c5401a1fc04de9cef5af" - -jest-resolve-dependencies@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-22.4.3.tgz#e2256a5a846732dc3969cb72f3c9ad7725a8195e" - dependencies: - jest-regex-util "^22.4.3" - -jest-resolve@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.4.3.tgz#0ce9d438c8438229aa9b916968ec6b05c1abb4ea" - dependencies: - browser-resolve "^1.11.2" - chalk "^2.0.1" - -jest-runner@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.4.3.tgz#298ddd6a22b992c64401b4667702b325e50610c3" - dependencies: - exit "^0.1.2" - jest-config "^22.4.3" - jest-docblock "^22.4.3" - jest-haste-map "^22.4.3" - jest-jasmine2 "^22.4.3" - jest-leak-detector "^22.4.3" - jest-message-util "^22.4.3" - jest-runtime "^22.4.3" - jest-util "^22.4.3" - jest-worker "^22.4.3" - throat "^4.0.0" - -jest-runtime@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.4.3.tgz#b69926c34b851b920f666c93e86ba2912087e3d0" - dependencies: - babel-core "^6.0.0" - babel-jest "^22.4.3" - babel-plugin-istanbul "^4.1.5" - chalk "^2.0.1" - convert-source-map "^1.4.0" - exit "^0.1.2" - graceful-fs "^4.1.11" - jest-config "^22.4.3" - jest-haste-map "^22.4.3" - jest-regex-util "^22.4.3" - jest-resolve "^22.4.3" - jest-util "^22.4.3" - jest-validate "^22.4.3" - json-stable-stringify "^1.0.1" - micromatch "^2.3.11" - realpath-native "^1.0.0" - slash "^1.0.0" - strip-bom "3.0.0" - write-file-atomic "^2.1.0" - yargs "^10.0.3" - -jest-serializer@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-22.4.3.tgz#a679b81a7f111e4766235f4f0c46d230ee0f7436" - -jest-snapshot@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.4.3.tgz#b5c9b42846ffb9faccb76b841315ba67887362d2" - dependencies: - chalk "^2.0.1" - jest-diff "^22.4.3" - jest-matcher-utils "^22.4.3" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - pretty-format "^22.4.3" - -jest-util@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.4.3.tgz#c70fec8eec487c37b10b0809dc064a7ecf6aafac" - dependencies: - callsites "^2.0.0" - chalk "^2.0.1" - graceful-fs "^4.1.11" - is-ci "^1.0.10" - jest-message-util "^22.4.3" - mkdirp "^0.5.1" - source-map "^0.6.0" - -jest-validate@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.4.3.tgz#0780954a5a7daaeec8d3c10834b9280865976b30" - dependencies: - chalk "^2.0.1" - jest-config "^22.4.3" - jest-get-type "^22.4.3" - leven "^2.1.0" - pretty-format "^22.4.3" - -jest-worker@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.4.3.tgz#5c421417cba1c0abf64bf56bd5fb7968d79dd40b" - dependencies: - merge-stream "^1.0.1" - -jest@^22.0.5: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-22.4.3.tgz#2261f4b117dc46d9a4a1a673d2150958dee92f16" - dependencies: - import-local "^1.0.0" - jest-cli "^22.4.3" - -js-base64@^2.1.8: - version "2.4.3" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582" - -js-base64@^2.1.9: - version "2.4.5" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.5.tgz#e293cd3c7c82f070d700fc7a1ca0a2e69f101f92" - -js-tokens@^3.0.0, js-tokens@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - -js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - -js-yaml@^3.11.0, js-yaml@^3.9.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -js-yaml@^3.7.0: - version "3.11.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef" - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -js-yaml@~3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.7.0.tgz#5c967ddd837a9bfdca5f2de84253abe8a1c03b80" - dependencies: - argparse "^1.0.7" - esprima "^2.6.0" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - -jscodeshift@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.4.1.tgz#da91a1c2eccfa03a3387a21d39948e251ced444a" - dependencies: - async "^1.5.0" - babel-plugin-transform-flow-strip-types "^6.8.0" - babel-preset-es2015 "^6.9.0" - babel-preset-stage-1 "^6.5.0" - babel-register "^6.9.0" - babylon "^6.17.3" - colors "^1.1.2" - flow-parser "^0.*" - lodash "^4.13.1" - micromatch "^2.3.7" - node-dir "0.1.8" - nomnom "^1.8.1" - recast "^0.12.5" - temp "^0.8.1" - write-file-atomic "^1.2.0" - -jscodeshift@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.5.0.tgz#bdb7b6cc20dd62c16aa728c3fa2d2fe66ca7c748" - dependencies: - babel-plugin-transform-flow-strip-types "^6.8.0" - babel-preset-es2015 "^6.9.0" - babel-preset-stage-1 "^6.5.0" - babel-register "^6.9.0" - babylon "^7.0.0-beta.30" - colors "^1.1.2" - flow-parser "^0.*" - lodash "^4.13.1" - micromatch "^2.3.7" - neo-async "^2.5.0" - node-dir "0.1.8" - nomnom "^1.8.1" - recast "^0.14.1" - temp "^0.8.1" - write-file-atomic "^1.2.0" - -jsdom@^11.5.1: - version "11.10.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-11.10.0.tgz#a42cd54e88895dc765f03f15b807a474962ac3b5" - dependencies: - abab "^1.0.4" - acorn "^5.3.0" - acorn-globals "^4.1.0" - array-equal "^1.0.0" - cssom ">= 0.3.2 < 0.4.0" - cssstyle ">= 0.2.37 < 0.3.0" - data-urls "^1.0.0" - domexception "^1.0.0" - escodegen "^1.9.0" - html-encoding-sniffer "^1.0.2" - left-pad "^1.2.0" - nwmatcher "^1.4.3" - parse5 "4.0.0" - pn "^1.1.0" - request "^2.83.0" - request-promise-native "^1.0.5" - sax "^1.2.4" - symbol-tree "^3.2.2" - tough-cookie "^2.3.3" - w3c-hr-time "^1.0.1" - webidl-conversions "^4.0.2" - whatwg-encoding "^1.0.3" - whatwg-mimetype "^2.1.0" - whatwg-url "^6.4.0" - ws "^4.0.0" - xml-name-validator "^3.0.0" - -jsesc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" - -jsesc@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe" - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - -json-buffer@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - -json-loader@^0.5.4, json-loader@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" - -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - -json-schema-traverse@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - -json-stable-stringify@^1.0.0, json-stable-stringify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" - dependencies: - jsonify "~0.0.0" - -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - -json3@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" - -json5@^0.5.0, json5@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" - -jsonify@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" - -jsonparse@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - -jsonpointer@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" - -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - -jsx-ast-utils@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f" - dependencies: - array-includes "^3.0.3" - -keycode@^2.1.9: - version "2.2.0" - resolved "https://registry.yarnpkg.com/keycode/-/keycode-2.2.0.tgz#3d0af56dc7b8b8e5cba8d0a97f107204eec22b04" - -keyv@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" - dependencies: - json-buffer "3.0.0" - -killable@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.0.tgz#da8b84bd47de5395878f95d64d02f2449fe05e6b" - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" - -latest-version@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" - dependencies: - package-json "^4.0.0" - -lazy-cache@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" - -lazy-property@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lazy-property/-/lazy-property-1.0.0.tgz#84ddc4b370679ba8bd4cdcfa4c06b43d57111147" - -lazystream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz#f6995fe0f820392f61396be89462407bb77168e4" - dependencies: - readable-stream "^2.0.5" - -lcid@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" - dependencies: - invert-kv "^1.0.0" - -lead@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lead/-/lead-1.0.0.tgz#6f14f99a37be3a9dd784f5495690e5903466ee42" - dependencies: - flush-write-stream "^1.0.2" - -leb@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/leb/-/leb-0.3.0.tgz#32bee9fad168328d6aea8522d833f4180eed1da3" - -left-pad@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" - -less-loader@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-4.1.0.tgz#2c1352c5b09a4f84101490274fd51674de41363e" - dependencies: - clone "^2.1.1" - loader-utils "^1.1.0" - pify "^3.0.0" - -less@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/less/-/less-3.0.4.tgz#d27dcedbac96031c9e7b76f1da1e4b7d83760814" - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - image-size "~0.5.0" - mime "^1.4.1" - mkdirp "^0.5.0" - promise "^7.1.1" - request "^2.83.0" - source-map "~0.6.0" - -leven@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" - -levn@^0.3.0, levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - -libcipm@^1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/libcipm/-/libcipm-1.6.2.tgz#5a9d83b8606b9733cfff016ad9b37d3b8198ae09" - dependencies: - bin-links "^1.1.0" - bluebird "^3.5.1" - find-npm-prefix "^1.0.2" - graceful-fs "^4.1.11" - lock-verify "^2.0.0" - npm-lifecycle "^2.0.0" - npm-logical-tree "^1.2.1" - npm-package-arg "^6.0.0" - pacote "^7.5.1" - protoduck "^5.0.0" - read-package-json "^2.0.12" - rimraf "^2.6.2" - worker-farm "^1.5.4" - -libnpmhook@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/libnpmhook/-/libnpmhook-4.0.1.tgz#63641654de772cbeb96a88527a7fd5456ec3c2d7" - dependencies: - figgy-pudding "^3.1.0" - npm-registry-fetch "^3.0.0" - -libnpx@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/libnpx/-/libnpx-10.2.0.tgz#1bf4a1c9f36081f64935eb014041da10855e3102" - dependencies: - dotenv "^5.0.1" - npm-package-arg "^6.0.0" - rimraf "^2.6.2" - safe-buffer "^5.1.0" - update-notifier "^2.3.0" - which "^1.3.0" - y18n "^4.0.0" - yargs "^11.0.0" - -listr-silent-renderer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" - -listr-update-renderer@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz#344d980da2ca2e8b145ba305908f32ae3f4cc8a7" - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - elegant-spinner "^1.0.1" - figures "^1.7.0" - indent-string "^3.0.0" - log-symbols "^1.0.2" - log-update "^1.0.2" - strip-ansi "^3.0.1" - -listr-verbose-renderer@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#8206f4cf6d52ddc5827e5fd14989e0e965933a35" - dependencies: - chalk "^1.1.3" - cli-cursor "^1.0.2" - date-fns "^1.27.2" - figures "^1.7.0" - -listr@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/listr/-/listr-0.13.0.tgz#20bb0ba30bae660ee84cc0503df4be3d5623887d" - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - figures "^1.7.0" - indent-string "^2.1.0" - is-observable "^0.2.0" - is-promise "^2.1.0" - is-stream "^1.1.0" - listr-silent-renderer "^1.1.1" - listr-update-renderer "^0.4.0" - listr-verbose-renderer "^0.4.0" - log-symbols "^1.0.2" - log-update "^1.0.2" - ora "^0.2.3" - p-map "^1.1.1" - rxjs "^5.4.2" - stream-to-observable "^0.2.0" - strip-ansi "^3.0.1" - -load-json-file@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - -load-json-file@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - strip-bom "^3.0.0" - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -loader-fs-cache@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/loader-fs-cache/-/loader-fs-cache-1.0.1.tgz#56e0bf08bd9708b26a765b68509840c8dec9fdbc" - dependencies: - find-cache-dir "^0.1.1" - mkdirp "0.5.1" - -loader-runner@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" - -loader-utils@1.1.0, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" - dependencies: - big.js "^3.1.3" - emojis-list "^2.0.0" - json5 "^0.5.0" - -loader-utils@^0.2.16, loader-utils@~0.2.2: - version "0.2.17" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" - dependencies: - big.js "^3.1.3" - emojis-list "^2.0.0" - json5 "^0.5.0" - object-assign "^4.0.1" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - -lock-verify@^2.0.0, lock-verify@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lock-verify/-/lock-verify-2.0.2.tgz#148e4f85974915c9e3c34d694b7de9ecb18ee7a8" - dependencies: - npm-package-arg "^5.1.2 || 6" - semver "^5.4.1" - -lockfile@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/lockfile/-/lockfile-1.0.4.tgz#07f819d25ae48f87e538e6578b6964a4981a5609" - dependencies: - signal-exit "^3.0.2" - -lodash-es@^4.17.4, lodash-es@^4.17.5, lodash-es@^4.2.1: - version "4.17.10" - resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.10.tgz#62cd7104cdf5dd87f235a837f0ede0e8e5117e05" - -lodash._baseuniq@~4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" - dependencies: - lodash._createset "~4.0.0" - lodash._root "~3.0.0" - -lodash._createcompounder@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._createcompounder/-/lodash._createcompounder-3.0.0.tgz#5dd2cb55372d6e70e0e2392fb2304d6631091075" - dependencies: - lodash.deburr "^3.0.0" - lodash.words "^3.0.0" - -lodash._createset@~4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" - -lodash._getnative@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" - -lodash._root@^3.0.0, lodash._root@~3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" - -lodash.assign@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" - -lodash.camelcase@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-3.0.1.tgz#932c8b87f8a4377897c67197533282f97aeac298" - dependencies: - lodash._createcompounder "^3.0.0" - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - -lodash.clonedeep@^4.3.2, lodash.clonedeep@~4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - -lodash.deburr@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/lodash.deburr/-/lodash.deburr-3.2.0.tgz#6da8f54334a366a7cf4c4c76ef8d80aa1b365ed5" - dependencies: - lodash._root "^3.0.0" - -lodash.flattendeep@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" - -lodash.foreach@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53" - -lodash.isarguments@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" - -lodash.isarray@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" - -lodash.isempty@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" - -lodash.isequal@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - -lodash.keys@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" - dependencies: - lodash._getnative "^3.0.0" - lodash.isarguments "^3.0.0" - lodash.isarray "^3.0.0" - -lodash.map@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" - -lodash.memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - -lodash.merge@^4.6.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" - -lodash.mergewith@^4.6.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz#639057e726c3afbdb3e7d42741caa8d6e4335927" - -lodash.pick@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" - -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - -lodash.some@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" - -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" - -lodash.tail@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.tail/-/lodash.tail-4.1.1.tgz#d2333a36d9e7717c8ad2f7cacafec7c32b444664" - -lodash.throttle@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" - -lodash.union@~4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" - -lodash.uniq@^4.5.0, lodash.uniq@~4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - -lodash.without@~4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac" - -lodash.words@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/lodash.words/-/lodash.words-3.2.0.tgz#4e2a8649bc08745b17c695b1a3ce8fee596623b3" - dependencies: - lodash._root "^3.0.0" - -lodash@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" - -lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.0, lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@~4.17.4: - version "4.17.10" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" - -log-symbols@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" - dependencies: - chalk "^1.0.0" - -log-symbols@^2.1.0, log-symbols@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" - dependencies: - chalk "^2.0.1" - -log-update@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-1.0.2.tgz#19929f64c4093d2d2e7075a1dad8af59c296b8d1" - dependencies: - ansi-escapes "^1.0.0" - cli-cursor "^1.0.2" - -loglevel@^1.4.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa" - -loglevelnext@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/loglevelnext/-/loglevelnext-1.0.5.tgz#36fc4f5996d6640f539ff203ba819641680d75a2" - dependencies: - es6-symbol "^3.1.1" - object.assign "^4.1.0" - -long@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" - -longest@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" - -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" - dependencies: - js-tokens "^3.0.0" - -loud-rejection@^1.0.0, loud-rejection@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" - dependencies: - currently-unhandled "^0.4.1" - signal-exit "^3.0.0" - -lower-case@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" - -lowercase-keys@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" - -lowercase-keys@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" - -lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2: - version "4.1.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - -make-dir@^1.0.0, make-dir@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - dependencies: - pify "^3.0.0" - -make-error@^1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.4.tgz#19978ed575f9e9545d2ff8c13e33b5d18a67d535" - -make-fetch-happen@^2.5.0, make-fetch-happen@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-2.6.0.tgz#8474aa52198f6b1ae4f3094c04e8370d35ea8a38" - dependencies: - agentkeepalive "^3.3.0" - cacache "^10.0.0" - http-cache-semantics "^3.8.0" - http-proxy-agent "^2.0.0" - https-proxy-agent "^2.1.0" - lru-cache "^4.1.1" - mississippi "^1.2.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^3.0.1" - ssri "^5.0.0" - -make-fetch-happen@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-3.0.0.tgz#7b661d2372fc4710ab5cc8e1fa3c290eea69a961" - dependencies: - agentkeepalive "^3.4.1" - cacache "^10.0.4" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.0" - lru-cache "^4.1.2" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^3.0.1" - ssri "^5.2.4" - -make-fetch-happen@^4.0.0, make-fetch-happen@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-4.0.1.tgz#141497cb878f243ba93136c83d8aba12c216c083" - dependencies: - agentkeepalive "^3.4.1" - cacache "^11.0.1" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" - lru-cache "^4.1.2" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^4.0.0" - ssri "^6.0.0" - -makeerror@1.0.x: - version "1.0.11" - resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" - dependencies: - tmpl "1.0.x" - -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - -map-obj@^1.0.0, map-obj@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - dependencies: - object-visit "^1.0.0" - -markdown-loader@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/markdown-loader/-/markdown-loader-2.0.2.tgz#1cdcf11307658cd611046d7db34c2fe80542af7c" - dependencies: - loader-utils "^1.1.0" - marked "^0.3.9" - -marked@^0.3.9: - version "0.3.19" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.19.tgz#5d47f709c4c9fc3c216b6d46127280f40b39d790" - -matches-selector@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/matches-selector/-/matches-selector-0.0.1.tgz#1df5262243ae341c1a0804dd302048267ac713bb" - -matches-selector@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/matches-selector/-/matches-selector-1.2.0.tgz#d1814e7e8f43e69d22ac33c9af727dc884ecf12a" - -math-expression-evaluator@^1.2.14: - version "1.2.17" - resolved "https://registry.yarnpkg.com/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz#de819fdbcd84dccd8fae59c6aeb79615b9d266ac" - -math-random@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" - -md5.js@^1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.4.tgz#e9bdbde94a20a5ac18b04340fc5764d5b09d901d" - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -md5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" - dependencies: - charenc "~0.0.1" - crypt "~0.0.1" - is-buffer "~1.1.1" - -meant@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/meant/-/meant-1.0.1.tgz#66044fea2f23230ec806fb515efea29c44d2115d" - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - -mem-fs-editor@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-4.0.2.tgz#55a79b1e824da631254c4c95ba6366602c77af90" - dependencies: - commondir "^1.0.1" - deep-extend "^0.5.1" - ejs "^2.5.9" - glob "^7.0.3" - globby "^8.0.0" - isbinaryfile "^3.0.2" - mkdirp "^0.5.0" - multimatch "^2.0.0" - rimraf "^2.2.8" - through2 "^2.0.0" - vinyl "^2.0.1" - -mem-fs@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/mem-fs/-/mem-fs-1.1.3.tgz#b8ae8d2e3fcb6f5d3f9165c12d4551a065d989cc" - dependencies: - through2 "^2.0.0" - vinyl "^1.1.0" - vinyl-file "^2.0.0" - -mem@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" - dependencies: - mimic-fn "^1.0.0" - -memory-fs@^0.4.0, memory-fs@~0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -meow@^3.3.0, meow@^3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" - dependencies: - camelcase-keys "^2.0.0" - decamelize "^1.1.2" - loud-rejection "^1.0.0" - map-obj "^1.0.1" - minimist "^1.1.3" - normalize-package-data "^2.3.4" - object-assign "^4.0.1" - read-pkg-up "^1.0.1" - redent "^1.0.0" - trim-newlines "^1.0.0" - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - -merge-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" - dependencies: - readable-stream "^2.0.1" - -merge2@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.2.tgz#03212e3da8d86c4d8523cebd6318193414f94e34" - -merge@^1.1.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - -micromatch@^2.3.11, micromatch@^2.3.7: - version "2.3.11" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - -micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8, micromatch@^3.1.9: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - -"mime-db@>= 1.33.0 < 2", mime-db@~1.33.0: - version "1.33.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" - -mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.7: - version "2.1.18" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" - dependencies: - mime-db "~1.33.0" - -mime@1.3.x: - version "1.3.6" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0" - -mime@1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" - -mime@^1.4.1, mime@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - -mime@^2.1.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369" - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - -mimic-response@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.0.tgz#df3d3652a73fded6b9b0b24146e6fd052353458e" - -min-dash@^3.0.0, min-dash@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/min-dash/-/min-dash-3.1.0.tgz#ba1d0f06dd233f163ac8041f115e3bb08ba7fda9" - -min-document@^2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" - dependencies: - dom-walk "^0.1.0" - -min-dom@^3.0.0, min-dom@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/min-dom/-/min-dom-3.1.1.tgz#53440d23d32a0a8bb6b2e657ca4cfd39d998a29a" - dependencies: - closest "0.0.1" - component-event "^0.1.4" - delegate-events "^1.1.1" - domify "^1.3.1" - indexof "0.0.1" - matches-selector "^1.2.0" - -minimalistic-assert@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - -minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - -"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - dependencies: - brace-expansion "^1.1.7" - -minimatch@3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" - dependencies: - brace-expansion "^1.0.0" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - -minimist@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.1.0.tgz#99df657a52574c21c9057497df742790b2b4c0de" - -minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - -minipass@^2.2.1, minipass@^2.2.4, minipass@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.3.tgz#a7dcc8b7b833f5d368759cce544dccb55f50f233" - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" - dependencies: - minipass "^2.2.1" - -mississippi@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.1.tgz#2a8bb465e86550ac8b36a7b6f45599171d78671e" - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^1.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mississippi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-2.0.0.tgz#3442a508fafc28500486feea99409676e4ee5a6f" - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^2.0.1" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mitt@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.1.3.tgz#528c506238a05dce11cd914a741ea2cc332da9b8" - -mixin-deep@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mixin-object@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e" - dependencies: - for-in "^0.1.3" - is-extendable "^0.1.1" - -mixin-object@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-3.0.0.tgz#55091196c9cf744f4c7956fb7021da38c736c440" - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.0" - -mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - dependencies: - minimist "0.0.8" - -moddle-xml@^7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/moddle-xml/-/moddle-xml-7.2.3.tgz#99c13bc026976361252518d657368b3c78eae483" - dependencies: - min-dash "^3.0.0" - moddle "^4.1.0" - saxen "^8.0.0" - tiny-stack "^1.0.0" - -moddle@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/moddle/-/moddle-4.1.0.tgz#1b49f60dbe6c9565875605555c9fabe661e400b6" - dependencies: - min-dash "^3.0.0" - -moment@^2.17.1, moment@^2.18.1, moment@^2.22.1: - version "2.22.1" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.1.tgz#529a2e9bf973f259c9643d237fda84de3a26e8ad" - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - -ms@2.1.1, ms@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" - -multicast-dns-service-types@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - -multicast-dns@^6.0.1: - version "6.2.3" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" - dependencies: - dns-packet "^1.3.1" - thunky "^1.0.2" - -multimatch@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-2.1.0.tgz#9c7906a22fb4c02919e2f5f75161b4cdbd4b2a2b" - dependencies: - array-differ "^1.0.0" - array-union "^1.0.1" - arrify "^1.0.0" - minimatch "^3.0.0" - -mute-stream@0.0.7, mute-stream@~0.0.4: - version "0.0.7" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - -nan@^2.10.0, nan@^2.9.2: - version "2.10.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - -nearley@^2.7.10: - version "2.13.0" - resolved "https://registry.yarnpkg.com/nearley/-/nearley-2.13.0.tgz#6e7b0f4e68bfc3e74c99eaef2eda39e513143439" - dependencies: - nomnom "~1.6.2" - railroad-diagrams "^1.0.0" - randexp "0.4.6" - semver "^5.4.1" - -needle@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d" - dependencies: - debug "^2.1.2" - iconv-lite "^0.4.4" - sax "^1.2.4" - -negotiator@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" - -neo-async@^2.5.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.1.tgz#acb909e327b1e87ec9ef15f41b8a269512ad41ee" - -next-tick@1: - version "1.0.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" - -nice-try@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4" - -no-case@^2.2.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" - dependencies: - lower-case "^1.1.1" - -node-dir@0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.8.tgz#55fb8deb699070707fb67f91a460f0448294c77d" - -node-dir@^0.1.10: - version "0.1.17" - resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" - dependencies: - minimatch "^3.0.2" - -node-fetch-npm@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" - dependencies: - encoding "^0.1.11" - json-parse-better-errors "^1.0.0" - safe-buffer "^5.1.1" - -node-fetch@^1.0.1: - version "1.7.3" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" - dependencies: - encoding "^0.1.11" - is-stream "^1.0.1" - -node-forge@0.7.5: - version "0.7.5" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.5.tgz#6c152c345ce11c52f465c2abd957e8639cd674df" - -node-gyp@^3.3.1, node-gyp@^3.6.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.6.2.tgz#9bfbe54562286284838e750eac05295853fa1c60" - dependencies: - fstream "^1.0.0" - glob "^7.0.3" - graceful-fs "^4.1.2" - minimatch "^3.0.2" - mkdirp "^0.5.0" - nopt "2 || 3" - npmlog "0 || 1 || 2 || 3 || 4" - osenv "0" - request "2" - rimraf "2" - semver "~5.3.0" - tar "^2.0.0" - which "1" - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - -node-libs-browser@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^1.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.0" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.10.3" - vm-browserify "0.0.4" - -node-notifier@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz#fa313dd08f5517db0e2502e5758d664ac69f9dea" - dependencies: - growly "^1.3.0" - semver "^5.4.1" - shellwords "^0.1.1" - which "^1.3.0" - -node-pre-gyp@^0.10.0: - version "0.10.2" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.2.tgz#e8945c20ef6795a20aac2b44f036eb13cf5146e3" - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.0" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4" - -node-pre-gyp@^0.9.0: - version "0.9.1" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.9.1.tgz#f11c07516dd92f87199dbc7e1838eab7cd56c9e0" - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.0" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.1.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4" - -node-sass@^4.5.2, node-sass@^4.7.2: - version "4.9.0" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.9.0.tgz#d1b8aa855d98ed684d6848db929a20771cc2ae52" - dependencies: - async-foreach "^0.1.3" - chalk "^1.1.1" - cross-spawn "^3.0.0" - gaze "^1.0.0" - get-stdin "^4.0.1" - glob "^7.0.3" - in-publish "^2.0.0" - lodash.assign "^4.2.0" - lodash.clonedeep "^4.3.2" - lodash.mergewith "^4.6.0" - meow "^3.7.0" - mkdirp "^0.5.1" - nan "^2.10.0" - node-gyp "^3.3.1" - npmlog "^4.0.0" - request "~2.79.0" - sass-graph "^2.2.4" - stdout-stream "^1.4.0" - "true-case-path" "^1.0.2" - -nomnom@^1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/nomnom/-/nomnom-1.8.1.tgz#2151f722472ba79e50a76fc125bb8c8f2e4dc2a7" - dependencies: - chalk "~0.4.0" - underscore "~1.6.0" - -nomnom@~1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/nomnom/-/nomnom-1.6.2.tgz#84a66a260174408fc5b77a18f888eccc44fb6971" - dependencies: - colors "0.5.x" - underscore "~1.4.4" - -"nopt@2 || 3": - version "3.0.6" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" - dependencies: - abbrev "1" - -nopt@^4.0.1, nopt@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - dependencies: - abbrev "1" - osenv "^0.1.4" - -normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.4.0, "normalize-package-data@~1.0.1 || ^2.0.0", normalize-package-data@~2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" - dependencies: - hosted-git-info "^2.1.4" - is-builtin-module "^1.0.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-path@^2.0.1, normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - dependencies: - remove-trailing-separator "^1.0.1" - -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - -normalize-url@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-2.0.1.tgz#835a9da1551fa26f70e92329069a23aa6574d7e6" - dependencies: - prepend-http "^2.0.0" - query-string "^5.0.1" - sort-keys "^2.0.0" - -normalize-url@^1.4.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c" - dependencies: - object-assign "^4.0.1" - prepend-http "^1.0.0" - query-string "^4.1.0" - sort-keys "^1.0.0" - -now-and-later@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/now-and-later/-/now-and-later-2.0.0.tgz#bc61cbb456d79cb32207ce47ca05136ff2e7d6ee" - dependencies: - once "^1.3.2" - -npm-audit-report@^1.0.8: - version "1.1.0" - resolved "https://registry.yarnpkg.com/npm-audit-report/-/npm-audit-report-1.1.0.tgz#c4c74bb08b3be25cafaff89fd68ed81fecf6846d" - dependencies: - cli-table2 "^0.2.0" - console-control-strings "^1.1.0" - -npm-bundled@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" - -npm-cache-filename@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/npm-cache-filename/-/npm-cache-filename-1.0.2.tgz#ded306c5b0bfc870a9e9faf823bc5f283e05ae11" - -npm-install-checks@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-3.0.0.tgz#d4aecdfd51a53e3723b7b2f93b2ee28e307bc0d7" - dependencies: - semver "^2.3.0 || 3.x || 4 || 5" - -npm-lifecycle@^2.0.0, npm-lifecycle@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/npm-lifecycle/-/npm-lifecycle-2.0.1.tgz#897313f05ed24db8e28d99fa8b42c31b625e6237" - dependencies: - byline "^5.0.0" - graceful-fs "^4.1.11" - node-gyp "^3.6.2" - resolve-from "^4.0.0" - slide "^1.1.6" - uid-number "0.0.6" - umask "^1.1.0" - which "^1.3.0" - -npm-logical-tree@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/npm-logical-tree/-/npm-logical-tree-1.2.1.tgz#44610141ca24664cad35d1e607176193fd8f5b88" - -"npm-package-arg@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" - dependencies: - hosted-git-info "^2.6.0" - osenv "^0.1.5" - semver "^5.5.0" - validate-npm-package-name "^3.0.0" - -npm-packlist@^1.1.10, npm-packlist@^1.1.6, npm-packlist@~1.1.10: - version "1.1.10" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - -npm-pick-manifest@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-2.1.0.tgz#dc381bdd670c35d81655e1d5a94aa3dd4d87fce5" - dependencies: - npm-package-arg "^6.0.0" - semver "^5.4.1" - -npm-profile@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-3.0.1.tgz#65a1018340f14399a086b5d0a9bd0d13145d8e57" - dependencies: - aproba "^1.1.2" - make-fetch-happen "^2.5.0" - -npm-registry-client@^8.5.1: - version "8.5.1" - resolved "https://registry.yarnpkg.com/npm-registry-client/-/npm-registry-client-8.5.1.tgz#8115809c0a4b40938b8a109b8ea74d26c6f5d7f1" - dependencies: - concat-stream "^1.5.2" - graceful-fs "^4.1.6" - normalize-package-data "~1.0.1 || ^2.0.0" - npm-package-arg "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" - once "^1.3.3" - request "^2.74.0" - retry "^0.10.0" - safe-buffer "^5.1.1" - semver "2 >=2.2.1 || 3.x || 4 || 5" - slide "^1.1.3" - ssri "^5.2.4" - optionalDependencies: - npmlog "2 || ^3.1.0 || ^4.0.0" - -npm-registry-fetch@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-1.1.1.tgz#710bc5947d9ee2c549375072dab6d5d17baf2eb2" - dependencies: - bluebird "^3.5.1" - figgy-pudding "^3.0.0" - lru-cache "^4.1.2" - make-fetch-happen "^3.0.0" - npm-package-arg "^6.0.0" - safe-buffer "^5.1.1" - -npm-registry-fetch@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-3.1.1.tgz#e96bae698afdd45d4a01aca29e881fc0bc55206c" - dependencies: - bluebird "^3.5.1" - figgy-pudding "^3.1.0" - lru-cache "^4.1.2" - make-fetch-happen "^4.0.0" - npm-package-arg "^6.0.0" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - dependencies: - path-key "^2.0.0" - -npm-user-validate@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/npm-user-validate/-/npm-user-validate-1.0.0.tgz#8ceca0f5cea04d4e93519ef72d0557a75122e951" - -npm@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/npm/-/npm-6.0.1.tgz#13b8850d5521daf39924600ad87220fcb6636d81" - dependencies: - JSONStream "^1.3.2" - abbrev "~1.1.1" - ansi-regex "~3.0.0" - ansicolors "~0.3.2" - ansistyles "~0.1.3" - aproba "~1.2.0" - archy "~1.0.0" - bin-links "^1.1.2" - bluebird "~3.5.1" - byte-size "^4.0.2" - cacache "^11.0.1" - call-limit "~1.1.0" - chownr "~1.0.1" - cli-columns "^3.1.2" - cli-table2 "~0.2.0" - cmd-shim "~2.0.2" - columnify "~1.5.4" - config-chain "~1.1.11" - detect-indent "~5.0.0" - detect-newline "^2.1.0" - dezalgo "~1.0.3" - editor "~1.0.0" - figgy-pudding "^3.1.0" - find-npm-prefix "^1.0.2" - fs-vacuum "~1.2.10" - fs-write-stream-atomic "~1.0.10" - gentle-fs "^2.0.1" - glob "~7.1.2" - graceful-fs "~4.1.11" - has-unicode "~2.0.1" - hosted-git-info "^2.6.0" - iferr "^1.0.0" - inflight "~1.0.6" - inherits "~2.0.3" - ini "^1.3.5" - init-package-json "^1.10.3" - is-cidr "^2.0.5" - json-parse-better-errors "^1.0.2" - lazy-property "~1.0.0" - libcipm "^1.6.2" - libnpmhook "^4.0.1" - libnpx "^10.2.0" - lock-verify "^2.0.2" - lockfile "^1.0.4" - lodash._baseuniq "~4.6.0" - lodash.clonedeep "~4.5.0" - lodash.union "~4.6.0" - lodash.uniq "~4.5.0" - lodash.without "~4.4.0" - lru-cache "^4.1.2" - meant "~1.0.1" - mississippi "^3.0.0" - mkdirp "~0.5.1" - move-concurrently "^1.0.1" - node-gyp "^3.6.2" - nopt "~4.0.1" - normalize-package-data "~2.4.0" - npm-audit-report "^1.0.8" - npm-cache-filename "~1.0.2" - npm-install-checks "~3.0.0" - npm-lifecycle "^2.0.1" - npm-package-arg "^6.1.0" - npm-packlist "~1.1.10" - npm-pick-manifest "^2.1.0" - npm-profile "^3.0.1" - npm-registry-client "^8.5.1" - npm-registry-fetch "^1.1.0" - npm-user-validate "~1.0.0" - npmlog "~4.1.2" - once "~1.4.0" - opener "~1.4.3" - osenv "^0.1.5" - pacote "^8.1.1" - path-is-inside "~1.0.2" - promise-inflight "~1.0.1" - qrcode-terminal "^0.12.0" - query-string "^6.1.0" - qw "~1.0.1" - read "~1.0.7" - read-cmd-shim "~1.0.1" - read-installed "~4.0.3" - read-package-json "^2.0.13" - read-package-tree "^5.2.1" - readable-stream "^2.3.6" - request "^2.85.0" - retry "^0.12.0" - rimraf "~2.6.2" - safe-buffer "^5.1.2" - semver "^5.5.0" - sha "~2.0.1" - slide "~1.1.6" - sorted-object "~2.0.1" - sorted-union-stream "~2.1.3" - ssri "^6.0.0" - strip-ansi "~4.0.0" - tar "^4.4.2" - text-table "~0.2.0" - tiny-relative-date "^1.3.0" - uid-number "0.0.6" - umask "~1.1.0" - unique-filename "~1.1.0" - unpipe "~1.0.0" - update-notifier "^2.5.0" - uuid "^3.2.1" - validate-npm-package-license "^3.0.3" - validate-npm-package-name "~3.0.0" - which "~1.3.0" - worker-farm "^1.6.0" - wrappy "~1.0.2" - write-file-atomic "^2.3.0" - -"npmlog@0 || 1 || 2 || 3 || 4", "npmlog@2 || ^3.1.0 || ^4.0.0", npmlog@^4.0.0, npmlog@^4.0.2, npmlog@^4.1.2, npmlog@~4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -nth-check@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4" - dependencies: - boolbase "~1.0.0" - -num2fraction@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - -nwmatcher@^1.4.3: - version "1.4.4" - resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e" - -oauth-sign@~0.8.1, oauth-sign@~0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" - -object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-hash@^1.1.4: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.0.tgz#76d9ba6ff113cf8efc0d996102851fe6723963e2" - -object-inspect@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b" - -object-is@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" - -object-keys@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" - -object-keys@^1.0.8: - version "1.0.12" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2" - -object-refs@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/object-refs/-/object-refs-0.3.0.tgz#934f4f0fb6b409e78be15fa60f616108aed63786" - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - dependencies: - isobject "^3.0.0" - -object.assign@^4.0.4, object.assign@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" - dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - has-symbols "^1.0.0" - object-keys "^1.0.11" - -object.entries@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.6.1" - function-bind "^1.1.0" - has "^1.0.1" - -object.fromentries@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-1.0.0.tgz#e90ec27445ec6e37f48be9af9077d9aa8bef0d40" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.11.0" - function-bind "^1.1.1" - has "^1.0.1" - -object.getownpropertydescriptors@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.5.1" - -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - dependencies: - isobject "^3.0.1" - -object.values@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.0.4.tgz#e524da09b4f66ff05df457546ec72ac99f13069a" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.6.1" - function-bind "^1.1.0" - has "^1.0.1" - -obuf@^1.0.0, obuf@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - dependencies: - ee-first "1.1.1" - -on-headers@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" - -onap-ui-common@1.0.100: - version "1.0.100" - resolved "https://registry.yarnpkg.com/onap-ui-common/-/onap-ui-common-1.0.100.tgz#c0dae1d3d1c3fd2b866340d27a1179ed10a3a860" - integrity sha512-d+eaYgVgrj9B8/3iVDlkxO2jiE7wXFrvMogxxHsyM8E0Fa7wXGEGwohA4JD5nGydT84dU2vPzwkby7SZNgGpKA== - -onap-ui-react@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/onap-ui-react/-/onap-ui-react-0.1.1.tgz#3640bdb9fb10f85104ad9dd57a9f320b0703abf3" - integrity sha512-hax7WzSMIPll9fHvKVjFbn2dIOh39fWuiy0VQKONq/ccU3f/y08Y6EzJo7rzWcwjt8bp2KDhqNZky0HwIquc6w== - dependencies: - "@storybook/react" "^3.1.5" - http-loader "0.0.1" - onap-ui-common "1.0.100" - prop-types "^15.6.0" - react "15.6.2" - react-dom "15.6.2" - reflect-metadata "^0.1.3" - svg-react-loader "^0.4.4" - -once@^1.3.0, once@^1.3.1, once@^1.3.2, once@^1.3.3, once@^1.4.0, once@~1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - dependencies: - wrappy "1" - -onetime@^1.0.0: - version "1.1.0" - resolved "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - dependencies: - mimic-fn "^1.0.0" - -opener@~1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" - -opn@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.2.0.tgz#71fdf934d6827d676cecbea1531f95d354641225" - dependencies: - is-wsl "^1.1.0" - -opn@^5.1.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.3.0.tgz#64871565c863875f052cfdf53d3e3cb5adb53b1c" - dependencies: - is-wsl "^1.1.0" - -optimist@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - -optionator@^0.8.1, optionator@^0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.4" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - wordwrap "~1.0.0" - -ora@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" - dependencies: - chalk "^1.1.1" - cli-cursor "^1.0.2" - cli-spinners "^0.1.2" - object-assign "^4.0.1" - -ordered-read-streams@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz#77c0cb37c41525d64166d990ffad7ec6a0e1363e" - dependencies: - readable-stream "^2.0.1" - -original@>=0.0.5: - version "1.0.1" - resolved "https://registry.yarnpkg.com/original/-/original-1.0.1.tgz#b0a53ff42ba997a8c9cd1fb5daaeb42b9d693190" - dependencies: - url-parse "~1.4.0" - -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - -os-locale@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" - dependencies: - lcid "^1.0.0" - -os-locale@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" - dependencies: - execa "^0.7.0" - lcid "^1.0.0" - mem "^1.1.0" - -os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - -osenv@0, osenv@^0.1.4, osenv@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" - -p-cancelable@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.4.1.tgz#35f363d67d52081c8d9585e37bcceb7e0bbcb2a0" - -p-each-series@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71" - dependencies: - p-reduce "^1.0.0" - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - -p-is-promise@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" - -p-lazy@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-lazy/-/p-lazy-1.0.0.tgz#ec53c802f2ee3ac28f166cc82d0b2b02de27a835" - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - dependencies: - p-try "^1.0.0" - -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - dependencies: - p-limit "^1.1.0" - -p-map@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" - -p-reduce@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" - -p-timeout@^1.1.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-1.2.1.tgz#5eb3b353b7fce99f101a1038880bb054ebbea386" - dependencies: - p-finally "^1.0.0" - -p-timeout@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" - dependencies: - p-finally "^1.0.0" - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - -package-json@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" - dependencies: - got "^6.7.1" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - -pacote@^7.5.1: - version "7.6.1" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-7.6.1.tgz#d44621c89a5a61f173989b60236757728387c094" - dependencies: - bluebird "^3.5.1" - cacache "^10.0.4" - get-stream "^3.0.0" - glob "^7.1.2" - lru-cache "^4.1.1" - make-fetch-happen "^2.6.0" - minimatch "^3.0.4" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.4.0" - npm-package-arg "^6.0.0" - npm-packlist "^1.1.10" - npm-pick-manifest "^2.1.0" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.0" - rimraf "^2.6.2" - safe-buffer "^5.1.1" - semver "^5.5.0" - ssri "^5.2.4" - tar "^4.4.0" - unique-filename "^1.1.0" - which "^1.3.0" - -pacote@^8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-8.1.1.tgz#7ee85dad2bccf5524e5460508f833c60dddf5183" - dependencies: - bluebird "^3.5.1" - cacache "^11.0.1" - get-stream "^3.0.0" - glob "^7.1.2" - lru-cache "^4.1.2" - make-fetch-happen "^4.0.1" - minimatch "^3.0.4" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.1.10" - npm-pick-manifest "^2.1.0" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.0" - rimraf "^2.6.2" - safe-buffer "^5.1.1" - semver "^5.5.0" - ssri "^6.0.0" - tar "^4.4.1" - unique-filename "^1.1.0" - which "^1.3.0" - -pako@~1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258" - -parallel-transform@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" - dependencies: - cyclist "~0.2.2" - inherits "^2.0.3" - readable-stream "^2.1.5" - -param-case@2.1.x: - version "2.1.1" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" - dependencies: - no-case "^2.2.0" - -parse-asn1@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8" - dependencies: - asn1.js "^4.0.0" - browserify-aes "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - -parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - dependencies: - error-ex "^1.2.0" - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - -parse5@4.0.0, parse5@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" - -parse5@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" - dependencies: - "@types/node" "*" - -parseurl@~1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - -path-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - -path-exists@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - dependencies: - pinkie-promise "^2.0.0" - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - -path-intersection@^1.0.2: - version "1.1.1" - resolved "https://registry.yarnpkg.com/path-intersection/-/path-intersection-1.1.1.tgz#a1185ebae7cd9f6d86fd299533c3f7c638a01559" - -path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - -path-is-inside@^1.0.1, path-is-inside@^1.0.2, path-is-inside@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - -path-parse@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" - -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - -path-to-regexp@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d" - dependencies: - isarray "0.0.1" - -path-to-regexp@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.2.1.tgz#90b617025a16381a879bc82a38d4e8bdeb2bcf45" - -path-type@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" - dependencies: - graceful-fs "^4.1.2" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -path-type@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" - dependencies: - pify "^2.0.0" - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - dependencies: - pify "^3.0.0" - -pbkdf2@^3.0.3: - version "3.0.16" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.16.tgz#7404208ec6b01b62d85bf83853a8064f8d9c2a5c" - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -perfect-scrollbar@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/perfect-scrollbar/-/perfect-scrollbar-1.4.0.tgz#5d014ef9775e1f43058a1dbae9ed1daf0e7091f1" - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - -pify@^2.0.0, pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - -pkg-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" - dependencies: - find-up "^1.0.0" - -pkg-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" - dependencies: - find-up "^2.1.0" - -pluralize@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" - -pn@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" - -portfinder@^1.0.9: - version "1.0.13" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9" - dependencies: - async "^1.5.2" - debug "^2.2.0" - mkdirp "0.5.x" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - -postcss-calc@^5.2.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-5.3.1.tgz#77bae7ca928ad85716e2fda42f261bf7c1d65b5e" - dependencies: - postcss "^5.0.2" - postcss-message-helpers "^2.0.0" - reduce-css-calc "^1.2.6" - -postcss-colormin@^2.1.8: - version "2.2.2" - resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-2.2.2.tgz#6631417d5f0e909a3d7ec26b24c8a8d1e4f96e4b" - dependencies: - colormin "^1.0.5" - postcss "^5.0.13" - postcss-value-parser "^3.2.3" - -postcss-convert-values@^2.3.4: - version "2.6.1" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz#bbd8593c5c1fd2e3d1c322bb925dcae8dae4d62d" - dependencies: - postcss "^5.0.11" - postcss-value-parser "^3.1.2" - -postcss-discard-comments@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz#befe89fafd5b3dace5ccce51b76b81514be00e3d" - dependencies: - postcss "^5.0.14" - -postcss-discard-duplicates@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz#b9abf27b88ac188158a5eb12abcae20263b91932" - dependencies: - postcss "^5.0.4" - -postcss-discard-empty@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz#d2b4bd9d5ced5ebd8dcade7640c7d7cd7f4f92b5" - dependencies: - postcss "^5.0.14" - -postcss-discard-overridden@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz#8b1eaf554f686fb288cd874c55667b0aa3668d58" - dependencies: - postcss "^5.0.16" - -postcss-discard-unused@^2.2.1: - version "2.2.3" - resolved "https://registry.yarnpkg.com/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz#bce30b2cc591ffc634322b5fb3464b6d934f4433" - dependencies: - postcss "^5.0.14" - uniqs "^2.0.0" - -postcss-filter-plugins@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/postcss-filter-plugins/-/postcss-filter-plugins-2.0.3.tgz#82245fdf82337041645e477114d8e593aa18b8ec" - dependencies: - postcss "^5.0.4" - -postcss-flexbugs-fixes@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-3.3.1.tgz#0783cc7212850ef707f97f8bc8b6fb624e00c75d" - dependencies: - postcss "^6.0.1" - -postcss-load-config@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.0.0.tgz#f1312ddbf5912cd747177083c5ef7a19d62ee484" - dependencies: - cosmiconfig "^4.0.0" - import-cwd "^2.0.0" - -postcss-loader@^2.1.2: - version "2.1.6" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.1.6.tgz#1d7dd7b17c6ba234b9bed5af13e0bea40a42d740" - dependencies: - loader-utils "^1.1.0" - postcss "^6.0.0" - postcss-load-config "^2.0.0" - schema-utils "^0.4.0" - -postcss-merge-idents@^2.1.5: - version "2.1.7" - resolved "https://registry.yarnpkg.com/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz#4c5530313c08e1d5b3bbf3d2bbc747e278eea270" - dependencies: - has "^1.0.1" - postcss "^5.0.10" - postcss-value-parser "^3.1.1" - -postcss-merge-longhand@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz#23d90cd127b0a77994915332739034a1a4f3d658" - dependencies: - postcss "^5.0.4" - -postcss-merge-rules@^2.0.3: - version "2.1.2" - resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz#d1df5dfaa7b1acc3be553f0e9e10e87c61b5f721" - dependencies: - browserslist "^1.5.2" - caniuse-api "^1.5.2" - postcss "^5.0.4" - postcss-selector-parser "^2.2.2" - vendors "^1.0.0" - -postcss-message-helpers@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz#a4f2f4fab6e4fe002f0aed000478cdf52f9ba60e" - -postcss-minify-font-values@^1.0.2: - version "1.0.5" - resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz#4b58edb56641eba7c8474ab3526cafd7bbdecb69" - dependencies: - object-assign "^4.0.1" - postcss "^5.0.4" - postcss-value-parser "^3.0.2" - -postcss-minify-gradients@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz#5dbda11373703f83cfb4a3ea3881d8d75ff5e6e1" - dependencies: - postcss "^5.0.12" - postcss-value-parser "^3.3.0" - -postcss-minify-params@^1.0.4: - version "1.2.2" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz#ad2ce071373b943b3d930a3fa59a358c28d6f1f3" - dependencies: - alphanum-sort "^1.0.1" - postcss "^5.0.2" - postcss-value-parser "^3.0.2" - uniqs "^2.0.0" - -postcss-minify-selectors@^2.0.4: - version "2.1.1" - resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz#b2c6a98c0072cf91b932d1a496508114311735bf" - dependencies: - alphanum-sort "^1.0.2" - has "^1.0.1" - postcss "^5.0.14" - postcss-selector-parser "^2.0.0" - -postcss-modules-extract-imports@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz#b614c9720be6816eaee35fb3a5faa1dba6a05ddb" - dependencies: - postcss "^6.0.1" - -postcss-modules-extract-imports@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz#66140ecece38ef06bf0d3e355d69bf59d141ea85" - dependencies: - postcss "^6.0.1" - -postcss-modules-local-by-default@^1.0.1, postcss-modules-local-by-default@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069" - dependencies: - css-selector-tokenizer "^0.7.0" - postcss "^6.0.1" - -postcss-modules-scope@^1.0.0, postcss-modules-scope@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90" - dependencies: - css-selector-tokenizer "^0.7.0" - postcss "^6.0.1" - -postcss-modules-values@^1.1.0, postcss-modules-values@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20" - dependencies: - icss-replace-symbols "^1.1.0" - postcss "^6.0.1" - -postcss-normalize-charset@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz#ef9ee71212d7fe759c78ed162f61ed62b5cb93f1" - dependencies: - postcss "^5.0.5" - -postcss-normalize-url@^3.0.7: - version "3.0.8" - resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz#108f74b3f2fcdaf891a2ffa3ea4592279fc78222" - dependencies: - is-absolute-url "^2.0.0" - normalize-url "^1.4.0" - postcss "^5.0.14" - postcss-value-parser "^3.2.3" - -postcss-ordered-values@^2.1.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz#eec6c2a67b6c412a8db2042e77fe8da43f95c11d" - dependencies: - postcss "^5.0.4" - postcss-value-parser "^3.0.1" - -postcss-reduce-idents@^2.2.2: - version "2.4.0" - resolved "https://registry.yarnpkg.com/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz#c2c6d20cc958284f6abfbe63f7609bf409059ad3" - dependencies: - postcss "^5.0.4" - postcss-value-parser "^3.0.2" - -postcss-reduce-initial@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz#68f80695f045d08263a879ad240df8dd64f644ea" - dependencies: - postcss "^5.0.4" - -postcss-reduce-transforms@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz#ff76f4d8212437b31c298a42d2e1444025771ae1" - dependencies: - has "^1.0.1" - postcss "^5.0.8" - postcss-value-parser "^3.0.1" - -postcss-selector-parser@^2.0.0, postcss-selector-parser@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz#f9437788606c3c9acee16ffe8d8b16297f27bb90" - dependencies: - flatten "^1.0.2" - indexes-of "^1.0.1" - uniq "^1.0.1" - -postcss-svgo@^2.1.1: - version "2.1.6" - resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-2.1.6.tgz#b6df18aa613b666e133f08adb5219c2684ac108d" - dependencies: - is-svg "^2.0.0" - postcss "^5.0.14" - postcss-value-parser "^3.2.3" - svgo "^0.7.0" - -postcss-unique-selectors@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz#981d57d29ddcb33e7b1dfe1fd43b8649f933ca1d" - dependencies: - alphanum-sort "^1.0.1" - postcss "^5.0.4" - uniqs "^2.0.0" - -postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15" - -postcss-zindex@^2.0.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/postcss-zindex/-/postcss-zindex-2.2.0.tgz#d2109ddc055b91af67fc4cb3b025946639d2af22" - dependencies: - has "^1.0.1" - postcss "^5.0.4" - uniqs "^2.0.0" - -postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0.14, postcss@^5.0.16, postcss@^5.0.2, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.0.6, postcss@^5.0.8, postcss@^5.2.16: - version "5.2.18" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.18.tgz#badfa1497d46244f6390f58b319830d9107853c5" - dependencies: - chalk "^1.1.3" - js-base64 "^2.1.9" - source-map "^0.5.6" - supports-color "^3.2.3" - -postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.17: - version "6.0.23" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" - dependencies: - chalk "^2.4.1" - source-map "^0.6.1" - supports-color "^5.4.0" - -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - -prepend-http@^1.0.0, prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - -prepend-http@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - -preserve@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" - -prettier@1.14.2: - version "1.14.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.2.tgz#0ac1c6e1a90baa22a62925f41963c841983282f9" - -prettier@^1.5.3: - version "1.12.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325" - -pretty-bytes@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9" - -pretty-error@^2.0.2: - version "2.1.1" - resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3" - dependencies: - renderkid "^2.0.1" - utila "~0.4" - -pretty-format@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f" - dependencies: - ansi-regex "^3.0.0" - ansi-styles "^3.2.0" - -private@^0.1.6, private@^0.1.8, private@~0.1.5: - version "0.1.8" - resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" - -process-nextick-args@^2.0.0, process-nextick-args@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - -process@~0.5.1: - version "0.5.2" - resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" - -progress@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" - -promise-inflight@^1.0.1, promise-inflight@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - -promise-retry@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d" - dependencies: - err-code "^1.0.0" - retry "^0.10.0" - -promise.prototype.finally@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.0.tgz#66f161b1643636e50e7cf201dc1b84a857f3864e" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.9.0" - function-bind "^1.1.1" - -promise@^7.1.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" - dependencies: - asap "~2.0.3" - -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - dependencies: - read "1" - -prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.5.9, prop-types@^15.6.0, prop-types@^15.6.2: - version "15.6.2" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" - dependencies: - loose-envify "^1.3.1" - object-assign "^4.1.1" - -prop-types@^15.6.1: - version "15.6.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.3.1" - object-assign "^4.1.1" - -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - -protoduck@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/protoduck/-/protoduck-5.0.0.tgz#752145e6be0ad834cb25716f670a713c860dce70" - dependencies: - genfun "^4.0.1" - -proxy-addr@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341" - dependencies: - forwarded "~0.1.2" - ipaddr.js "1.6.0" - -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - -public-encrypt@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.2.tgz#46eb9107206bf73489f8b85b69d91334c6610994" - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - -pump@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^2.0.0, pump@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3, pumpify@^1.3.5: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - -punycode@^1.2.4, punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - -q@^1.1.2: - version "1.5.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - -qrcode-terminal@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" - -qs@6.5.1: - version "6.5.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" - -qs@^6.5.1, qs@^6.5.2, qs@~6.5.1: - version "6.5.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - -qs@~6.3.0: - version "6.3.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" - -query-string@^4.1.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" - dependencies: - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -query-string@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.1.0.tgz#01e7d69f6a0940dac67a937d6c6325647aa4532a" - dependencies: - decode-uri-component "^0.2.0" - strict-uri-encode "^2.0.0" - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - -querystring@0.2.0, querystring@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - -querystringify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.0.0.tgz#fa3ed6e68eb15159457c89b37bc6472833195755" - -qw@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/qw/-/qw-1.0.1.tgz#efbfdc740f9ad054304426acb183412cc8b996d4" - -radium@^0.19.0: - version "0.19.6" - resolved "https://registry.yarnpkg.com/radium/-/radium-0.19.6.tgz#b86721d08dbd303b061a4ae2ebb06cc6e335ae72" - dependencies: - array-find "^1.0.0" - exenv "^1.2.1" - inline-style-prefixer "^2.0.5" - prop-types "^15.5.8" - -raf@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.0.tgz#a28876881b4bc2ca9117d4138163ddb80f781575" - dependencies: - performance-now "^2.1.0" - -railroad-diagrams@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" - -ramda@0.21.0: - version "0.21.0" - resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35" - -randexp@0.4.6: - version "0.4.6" - resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" - dependencies: - discontinuous-range "1.0.0" - ret "~0.1.10" - -randomatic@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.0.0.tgz#d35490030eb4f7578de292ce6dfb04a91a128923" - dependencies: - is-number "^4.0.0" - kind-of "^6.0.0" - math-random "^1.0.1" - -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@^1.0.3, range-parser@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" - -raw-body@2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" - dependencies: - bytes "3.0.0" - http-errors "1.6.2" - iconv-lite "0.4.19" - unpipe "1.0.0" - -raw-loader@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" - -rc@^1.0.1, rc@^1.1.6: - version "1.2.7" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.7.tgz#8a10ca30d588d00464360372b890d06dacd02297" - dependencies: - deep-extend "^0.5.1" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - -rc@^1.1.7, rc@^1.2.7: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - -react-datepicker@^0.48.0: - version "0.48.0" - resolved "https://registry.yarnpkg.com/react-datepicker/-/react-datepicker-0.48.0.tgz#bf8ea4283e3f8e0737be3ceb808a94a8d4231d49" - dependencies: - classnames "^2.2.5" - moment "^2.17.1" - prop-types "^15.5.8" - react-onclickoutside "^6.1.1" - tether "^1.4.0" - -react-dev-utils@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-5.0.1.tgz#1f396e161fe44b595db1b186a40067289bf06613" - dependencies: - address "1.0.3" - babel-code-frame "6.26.0" - chalk "1.1.3" - cross-spawn "5.1.0" - detect-port-alt "1.1.6" - escape-string-regexp "1.0.5" - filesize "3.5.11" - global-modules "1.0.0" - gzip-size "3.0.0" - inquirer "3.3.0" - is-root "1.0.0" - opn "5.2.0" - react-error-overlay "^4.0.0" - recursive-readdir "2.2.1" - shell-quote "1.6.1" - sockjs-client "1.1.4" - strip-ansi "3.0.1" - text-table "0.2.0" - -react-docgen@^3.0.0-beta11: - version "3.0.0-rc.0" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-3.0.0-rc.0.tgz#6452afc31649d651c9bafce9b94a470581530b76" - dependencies: - "@babel/parser" "7.0.0-beta.53" - async "^2.1.4" - babel-runtime "^6.9.2" - commander "^2.9.0" - doctrine "^2.0.0" - node-dir "^0.1.10" - recast "^0.15.0" - -react-dom@15.6.2: - version "15.6.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.2.tgz#41cfadf693b757faf2708443a1d1fd5a02bef730" - dependencies: - fbjs "^0.8.9" - loose-envify "^1.1.0" - object-assign "^4.1.0" - prop-types "^15.5.10" - -react-dom@^16.3.2: - version "16.3.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.2.tgz#cb90f107e09536d683d84ed5d4888e9640e0e4df" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.0" - -react-error-overlay@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-4.0.0.tgz#d198408a85b4070937a98667f500c832f86bd5d4" - -react-fuzzy@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/react-fuzzy/-/react-fuzzy-0.5.2.tgz#fc13bf6f0b785e5fefe908724efebec4935eaefe" - dependencies: - babel-runtime "^6.23.0" - classnames "^2.2.5" - fuse.js "^3.0.1" - prop-types "^15.5.9" - -react-hot-loader@^4.3.3: - version "4.3.3" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.3.3.tgz#37409a3341c7787563d0972007ba02521f82f5d5" - dependencies: - fast-levenshtein "^2.0.6" - global "^4.3.0" - hoist-non-react-statics "^2.5.0" - prop-types "^15.6.1" - react-lifecycles-compat "^3.0.4" - shallowequal "^1.0.2" - -react-html-attributes@^1.4.2: - version "1.4.3" - resolved "https://registry.yarnpkg.com/react-html-attributes/-/react-html-attributes-1.4.3.tgz#8c36c35fce6b750938d286af428ed1da7625186e" - dependencies: - html-element-attributes "^1.0.0" - -react-i18nify@^1.11.8: - version "1.11.14" - resolved "https://registry.yarnpkg.com/react-i18nify/-/react-i18nify-1.11.14.tgz#e88acdba4766815b91edcecd222aa1242f422ff3" - dependencies: - intl "^1.2" - moment "^2.22.1" - prop-types "^15.6.1" - -react-icon-base@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/react-icon-base/-/react-icon-base-2.1.0.tgz#a196e33fdf1e7aaa1fda3aefbb68bdad9e82a79d" - -react-icons@^2.2.7: - version "2.2.7" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-2.2.7.tgz#d7860826b258557510dac10680abea5ca23cf650" - dependencies: - react-icon-base "2.1.0" - -react-input-autosize@^2.1.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-input-autosize/-/react-input-autosize-2.2.1.tgz#ec428fa15b1592994fb5f9aa15bb1eb6baf420f8" - dependencies: - prop-types "^15.5.8" - -react-inspector@^2.2.2: - version "2.3.0" - resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.3.0.tgz#fc9c1d38ab687fc0d190dcaf133ae40158968fc8" - dependencies: - babel-runtime "^6.26.0" - is-dom "^1.0.9" - -react-is@^16.4.1: - version "16.4.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e" - -react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" - -react-modal@^3.3.2: - version "3.5.1" - resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.5.1.tgz#33d38527def90ea324848f7d63e53acc4468a451" - dependencies: - exenv "^1.2.0" - prop-types "^15.5.10" - react-lifecycles-compat "^3.0.0" - warning "^3.0.0" - -react-onclickoutside@^6.1.1: - version "6.7.1" - resolved "https://registry.yarnpkg.com/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz#6a5b5b8b4eae6b776259712c89c8a2b36b17be93" - -react-reconciler@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.0" - -react-redux-i18n@^1.9.2: - version "1.9.2" - resolved "https://registry.yarnpkg.com/react-redux-i18n/-/react-redux-i18n-1.9.2.tgz#29d7dd1b708bb922fbf83c7316286ec84af590ce" - dependencies: - react-i18nify "^1.11.8" - -react-redux@^5.0.6: - version "5.0.7" - resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.0.7.tgz#0dc1076d9afb4670f993ffaef44b8f8c1155a4c8" - dependencies: - hoist-non-react-statics "^2.5.0" - invariant "^2.0.0" - lodash "^4.17.5" - lodash-es "^4.17.5" - loose-envify "^1.1.0" - prop-types "^15.6.0" - -react-router-dom@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.2.2.tgz#c8a81df3adc58bba8a76782e946cbd4eae649b8d" - dependencies: - history "^4.7.2" - invariant "^2.2.2" - loose-envify "^1.3.1" - prop-types "^15.5.4" - react-router "^4.2.0" - warning "^3.0.0" - -react-router@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.2.0.tgz#61f7b3e3770daeb24062dae3eedef1b054155986" - dependencies: - history "^4.7.2" - hoist-non-react-statics "^2.3.0" - invariant "^2.2.2" - loose-envify "^1.3.1" - path-to-regexp "^1.7.0" - prop-types "^15.5.4" - warning "^3.0.0" - -react-router@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e" - dependencies: - history "^4.7.2" - hoist-non-react-statics "^2.5.0" - invariant "^2.2.4" - loose-envify "^1.3.1" - path-to-regexp "^1.7.0" - prop-types "^15.6.1" - warning "^4.0.1" - -react-select@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/react-select/-/react-select-1.2.1.tgz#a2fe58a569eb14dcaa6543816260b97e538120d1" - dependencies: - classnames "^2.2.4" - prop-types "^15.5.8" - react-input-autosize "^2.1.2" - -react-split-pane@^0.1.77: - version "0.1.82" - resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.82.tgz#42fbb9fd4823f05e037de0dab3cd6cf9bf0cf4ea" - dependencies: - inline-style-prefixer "^3.0.6" - prop-types "^15.5.10" - react-lifecycles-compat "^3.0.4" - react-style-proptype "^3.0.0" - -react-style-proptype@^3.0.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/react-style-proptype/-/react-style-proptype-3.2.1.tgz#7cfeb9b87ec7ab9dcbde9715170ed10c11fb86aa" - dependencies: - prop-types "^15.5.4" - -react-test-renderer@^16.0.0-0, react-test-renderer@^16.4.1: - version "16.4.1" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.1.tgz#f2fb30c2c7b517db6e5b10ed20bb6b0a7ccd8d70" - dependencies: - fbjs "^0.8.16" - object-assign "^4.1.1" - prop-types "^15.6.0" - react-is "^16.4.1" - -react-transition-group@^2.0.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-2.4.0.tgz#1d9391fabfd82e016f26fabd1eec329dbd922b5a" - dependencies: - dom-helpers "^3.3.1" - loose-envify "^1.3.1" - prop-types "^15.6.2" - react-lifecycles-compat "^3.0.4" - -react-transition-group@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-2.3.1.tgz#31d611b33e143a5e0f2d94c348e026a0f3b474b6" - dependencies: - dom-helpers "^3.3.1" - loose-envify "^1.3.1" - prop-types "^15.6.1" - -react-treebeard@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/react-treebeard/-/react-treebeard-2.1.0.tgz#fbd5cf51089b6f09a9b18350ab3bddf736e57800" - dependencies: - babel-runtime "^6.23.0" - deep-equal "^1.0.1" - prop-types "^15.5.8" - radium "^0.19.0" - shallowequal "^0.2.2" - velocity-react "^1.3.1" - -react@15.6.2: - version "15.6.2" - resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72" - dependencies: - create-react-class "^15.6.0" - fbjs "^0.8.9" - loose-envify "^1.1.0" - object-assign "^4.1.0" - prop-types "^15.5.10" - -react@^16.2.0: - version "16.3.2" - resolved "https://registry.yarnpkg.com/react/-/react-16.3.2.tgz#fdc8420398533a1e58872f59091b272ce2f91ea9" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.0" - -read-chunk@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/read-chunk/-/read-chunk-2.1.0.tgz#6a04c0928005ed9d42e1a6ac5600e19cbc7ff655" - dependencies: - pify "^3.0.0" - safe-buffer "^5.1.1" - -read-cmd-shim@^1.0.1, read-cmd-shim@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b" - dependencies: - graceful-fs "^4.1.2" - -read-installed@~4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/read-installed/-/read-installed-4.0.3.tgz#ff9b8b67f187d1e4c29b9feb31f6b223acd19067" - dependencies: - debuglog "^1.0.1" - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - semver "2 || 3 || 4 || 5" - slide "~1.1.3" - util-extend "^1.0.1" - optionalDependencies: - graceful-fs "^4.1.2" - -"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.12, read-package-json@^2.0.13: - version "2.0.13" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.0.13.tgz#2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a" - dependencies: - glob "^7.1.1" - json-parse-better-errors "^1.0.1" - normalize-package-data "^2.0.0" - slash "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" - -read-package-tree@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.2.1.tgz#6218b187d6fac82289ce4387bbbaf8eef536ad63" - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - once "^1.3.0" - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - -read-pkg-up@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" - dependencies: - find-up "^1.0.0" - read-pkg "^1.0.0" - -read-pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" - dependencies: - find-up "^2.0.0" - read-pkg "^2.0.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - -read-pkg@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" - dependencies: - load-json-file "^1.0.0" - normalize-package-data "^2.3.2" - path-type "^1.0.0" - -read-pkg@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" - dependencies: - load-json-file "^2.0.0" - normalize-package-data "^2.3.2" - path-type "^2.0.0" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -read@1, read@~1.0.1, read@~1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - dependencies: - mute-stream "~0.0.4" - -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.9, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@1.0: - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readable-stream@~1.1.10: - version "1.1.14" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readdir-scoped-modules@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - -readdirp@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" - dependencies: - graceful-fs "^4.1.2" - minimatch "^3.0.2" - readable-stream "^2.0.2" - set-immediate-shim "^1.0.1" - -realpath-native@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.0.0.tgz#7885721a83b43bd5327609f0ddecb2482305fdf0" - dependencies: - util.promisify "^1.0.0" - -recast@^0.12.5: - version "0.12.9" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.12.9.tgz#e8e52bdb9691af462ccbd7c15d5a5113647a15f1" - dependencies: - ast-types "0.10.1" - core-js "^2.4.1" - esprima "~4.0.0" - private "~0.1.5" - source-map "~0.6.1" - -recast@^0.14.1: - version "0.14.7" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d" - dependencies: - ast-types "0.11.3" - esprima "~4.0.0" - private "~0.1.5" - source-map "~0.6.1" - -recast@^0.15.0: - version "0.15.3" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.15.3.tgz#5fc1fd1c8e2d4d027ee3977a176bbb8d1c83305e" - dependencies: - ast-types "0.11.5" - esprima "~4.0.0" - private "~0.1.5" - source-map "~0.6.1" - -recast@~0.11.12: - version "0.11.23" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.11.23.tgz#451fd3004ab1e4df9b4e4b66376b2a21912462d3" - dependencies: - ast-types "0.9.6" - esprima "~3.1.0" - private "~0.1.5" - source-map "~0.5.0" - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - dependencies: - resolve "^1.1.6" - -recursive-readdir@2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/recursive-readdir/-/recursive-readdir-2.2.1.tgz#90ef231d0778c5ce093c9a48d74e5c5422d13a99" - dependencies: - minimatch "3.0.3" - -redent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" - dependencies: - indent-string "^2.1.0" - strip-indent "^1.0.1" - -reduce-css-calc@^1.2.6: - version "1.3.0" - resolved "https://registry.yarnpkg.com/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz#747c914e049614a4c9cfbba629871ad1d2927716" - dependencies: - balanced-match "^0.4.2" - math-expression-evaluator "^1.2.14" - reduce-function-call "^1.0.1" - -reduce-function-call@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/reduce-function-call/-/reduce-function-call-1.0.2.tgz#5a200bf92e0e37751752fe45b0ab330fd4b6be99" - dependencies: - balanced-match "^0.4.2" - -reduce-reducers@^0.1.0: - version "0.1.5" - resolved "https://registry.yarnpkg.com/reduce-reducers/-/reduce-reducers-0.1.5.tgz#ff77ca8068ff41007319b8b4b91533c7e0e54576" - -redux-actions@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/redux-actions/-/redux-actions-2.4.0.tgz#620df42d264af88366b4e919c46ae68da7c9ce7c" - dependencies: - invariant "^2.2.1" - lodash "^4.13.1" - lodash-es "^4.17.4" - reduce-reducers "^0.1.0" - -redux-saga@^0.16.0: - version "0.16.0" - resolved "https://registry.yarnpkg.com/redux-saga/-/redux-saga-0.16.0.tgz#0a231db0a1489301dd980f6f2f88d8ced418f724" - -redux-thunk@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.3.0.tgz#51c2c19a185ed5187aaa9a2d08b666d0d6467622" - -redux@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/redux/-/redux-3.7.2.tgz#06b73123215901d25d065be342eb026bc1c8537b" - dependencies: - lodash "^4.2.1" - lodash-es "^4.2.1" - loose-envify "^1.1.0" - symbol-observable "^1.0.3" - -reflect-metadata@^0.1.3: - version "0.1.12" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.12.tgz#311bf0c6b63cd782f228a81abe146a2bfa9c56f2" - -regenerate@^1.2.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" - -regenerator-runtime@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" - -regenerator-transform@^0.10.0: - version "0.10.1" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.10.1.tgz#1e4996837231da8b7f3cf4114d71b5691a0680dd" - dependencies: - babel-runtime "^6.18.0" - babel-types "^6.19.0" - private "^0.1.6" - -regex-cache@^0.4.2: - version "0.4.4" - resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" - dependencies: - is-equal-shallow "^0.1.3" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexp.prototype.flags@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c" - dependencies: - define-properties "^1.1.2" - -regexpp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.0.tgz#b2a7534a85ca1b033bcf5ce9ff8e56d4e0755365" - -regexpu-core@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" - dependencies: - regenerate "^1.2.1" - regjsgen "^0.2.0" - regjsparser "^0.1.4" - -regexpu-core@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" - dependencies: - regenerate "^1.2.1" - regjsgen "^0.2.0" - regjsparser "^0.1.4" - -registry-auth-token@^3.0.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" - dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" - -registry-url@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - dependencies: - rc "^1.0.1" - -regjsgen@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" - -regjsparser@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" - dependencies: - jsesc "~0.5.0" - -relateurl@0.2.x: - version "0.2.7" - resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - -remove-bom-buffer@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz#c2bf1e377520d324f623892e33c10cac2c252b53" - dependencies: - is-buffer "^1.1.5" - is-utf8 "^0.2.1" - -remove-bom-stream@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz#05f1a593f16e42e1fb90ebf59de8e569525f9523" - dependencies: - remove-bom-buffer "^3.0.0" - safe-buffer "^5.1.0" - through2 "^2.0.3" - -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - -renderkid@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-2.0.1.tgz#898cabfc8bede4b7b91135a3ffd323e58c0db319" - dependencies: - css-select "^1.1.0" - dom-converter "~0.1" - htmlparser2 "~3.3.0" - strip-ansi "^3.0.0" - utila "~0.3" - -repeat-element@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" - -repeat-string@^1.5.2, repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - -repeating@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" - dependencies: - is-finite "^1.0.0" - -replace-ext@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" - -replace-ext@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" - -request-promise-core@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" - dependencies: - lodash "^4.13.1" - -request-promise-native@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5" - dependencies: - request-promise-core "1.1.1" - stealthy-require "^1.1.0" - tough-cookie ">=2.3.3" - -request@2, request@^2.74.0, request@^2.83.0, request@^2.85.0: - version "2.85.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa" - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.6.0" - caseless "~0.12.0" - combined-stream "~1.0.5" - extend "~3.0.1" - forever-agent "~0.6.1" - form-data "~2.3.1" - har-validator "~5.0.3" - hawk "~6.0.2" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.17" - oauth-sign "~0.8.2" - performance-now "^2.1.0" - qs "~6.5.1" - safe-buffer "^5.1.1" - stringstream "~0.0.5" - tough-cookie "~2.3.3" - tunnel-agent "^0.6.0" - uuid "^3.1.0" - -request@~2.79.0: - version "2.79.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" - dependencies: - aws-sign2 "~0.6.0" - aws4 "^1.2.1" - caseless "~0.11.0" - combined-stream "~1.0.5" - extend "~3.0.0" - forever-agent "~0.6.1" - form-data "~2.1.1" - har-validator "~2.0.6" - hawk "~3.1.3" - http-signature "~1.1.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.7" - oauth-sign "~0.8.1" - qs "~6.3.0" - stringstream "~0.0.4" - tough-cookie "~2.3.0" - tunnel-agent "~0.4.1" - uuid "^3.0.0" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - -require-from-string@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - -require-uncached@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" - dependencies: - caller-path "^0.1.0" - resolve-from "^1.0.0" - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - -reselect@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/reselect/-/reselect-3.0.1.tgz#efdaa98ea7451324d092b2b2163a6a1d7a9a2147" - -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - dependencies: - resolve-from "^3.0.0" - -resolve-dir@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - -resolve-from@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" - -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - -resolve-options@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/resolve-options/-/resolve-options-1.1.0.tgz#32bb9e39c06d67338dc9378c0d6d6074566ad131" - dependencies: - value-or-function "^3.0.0" - -resolve-pathname@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-2.2.0.tgz#7e9ae21ed815fd63ab189adeee64dc831eefa879" - -resolve-url@^0.2.1, resolve-url@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - -resolve@1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" - -resolve@^1.1.6, resolve@^1.5.0, resolve@^1.6.0: - version "1.8.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" - dependencies: - path-parse "^1.0.5" - -responselike@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - dependencies: - lowercase-keys "^1.0.0" - -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - -retry@^0.10.0: - version "0.10.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - -right-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" - dependencies: - align-text "^0.1.1" - -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@~2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" - dependencies: - glob "^7.0.5" - -rimraf@~2.2.6: - version "2.2.8" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582" - -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -rst-selector-parser@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91" - dependencies: - lodash.flattendeep "^4.4.0" - nearley "^2.7.10" - -rsvp@^3.3.3: - version "3.6.2" - resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" - -run-async@^2.0.0, run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - dependencies: - is-promise "^2.1.0" - -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - dependencies: - aproba "^1.1.1" - -rx-lite-aggregates@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" - dependencies: - rx-lite "*" - -rx-lite@*, rx-lite@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" - -rx@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" - -rxjs@^5.4.2, rxjs@^5.5.2: - version "5.5.10" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.10.tgz#fde02d7a614f6c8683d0d1957827f492e09db045" - dependencies: - symbol-observable "1.0.1" - -safe-buffer@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" - -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - -sane@^2.0.0: - version "2.5.2" - resolved "https://registry.yarnpkg.com/sane/-/sane-2.5.2.tgz#b4dc1861c21b427e929507a3e751e2a2cb8ab3fa" - dependencies: - anymatch "^2.0.0" - capture-exit "^1.2.0" - exec-sh "^0.2.0" - fb-watchman "^2.0.0" - micromatch "^3.1.4" - minimist "^1.1.1" - walker "~1.0.5" - watch "~0.18.0" - optionalDependencies: - fsevents "^1.2.3" - -sass-graph@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/sass-graph/-/sass-graph-2.2.4.tgz#13fbd63cd1caf0908b9fd93476ad43a51d1e0b49" - dependencies: - glob "^7.0.0" - lodash "^4.0.0" - scss-tokenizer "^0.2.3" - yargs "^7.0.0" - -sass-loader@^6.0.5, sass-loader@^6.0.6: - version "6.0.7" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-6.0.7.tgz#dd2fdb3e7eeff4a53f35ba6ac408715488353d00" - dependencies: - clone-deep "^2.0.1" - loader-utils "^1.0.1" - lodash.tail "^4.1.1" - neo-async "^2.5.0" - pify "^3.0.0" - -sax@>=0.6.0, sax@^1.2.4, sax@~1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - -saxen@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/saxen/-/saxen-8.0.0.tgz#910e2878b1ffa58b214ef8cd2d827bb7a82b2b2b" - -schema-utils@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf" - dependencies: - ajv "^5.0.0" - -schema-utils@^0.4.0, schema-utils@^0.4.4, schema-utils@^0.4.5: - version "0.4.5" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.5.tgz#21836f0608aac17b78f9e3e24daff14a5ca13a3e" - dependencies: - ajv "^6.1.0" - ajv-keywords "^3.1.0" - -scoped-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/scoped-regex/-/scoped-regex-1.0.0.tgz#a346bb1acd4207ae70bd7c0c7ca9e566b6baddb8" - -scroll-tabs@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/scroll-tabs/-/scroll-tabs-1.0.1.tgz#bac04e4a1725e8a03344bae644dd6d7cdc192452" - dependencies: - min-dash "^3.1.0" - min-dom "^3.1.0" - mitt "^1.1.3" - -scss-tokenizer@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz#8eb06db9a9723333824d3f5530641149847ce5d1" - dependencies: - js-base64 "^2.1.8" - source-map "^0.4.2" - -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - -selection-update@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/selection-update/-/selection-update-0.1.2.tgz#803a044dcc6edab5a3ae648f5f0357e89ad66b96" - -selfsigned@^1.9.1: - version "1.10.3" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.3.tgz#d628ecf9e3735f84e8bafba936b3cf85bea43823" - dependencies: - node-forge "0.7.5" - -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - dependencies: - semver "^5.0.3" - -"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" - -semver@~5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" - -send@0.16.2: - version "0.16.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" - dependencies: - debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "~1.6.2" - mime "1.4.1" - ms "2.0.0" - on-finished "~2.3.0" - range-parser "~1.2.0" - statuses "~1.4.0" - -serialize-javascript@^1.4.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.5.0.tgz#1aa336162c88a890ddad5384baebc93a655161fe" - -serve-favicon@^2.4.5: - version "2.5.0" - resolved "https://registry.yarnpkg.com/serve-favicon/-/serve-favicon-2.5.0.tgz#935d240cdfe0f5805307fdfe967d88942a2cbcf0" - dependencies: - etag "~1.8.1" - fresh "0.5.2" - ms "2.1.1" - parseurl "~1.3.2" - safe-buffer "5.1.1" - -serve-index@^1.7.2: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - -serve-static@1.13.2: - version "1.13.2" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1" - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.2" - send "0.16.2" - -set-blocking@^2.0.0, set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - -set-immediate-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - -set-value@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.1" - to-object-path "^0.3.0" - -set-value@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setimmediate@^1.0.4, setimmediate@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - -setprototypeof@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" - -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -sha@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/sha/-/sha-2.0.1.tgz#6030822fbd2c9823949f8f72ed6411ee5cf25aae" - dependencies: - graceful-fs "^4.1.2" - readable-stream "^2.0.2" - -shallow-clone@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-1.0.0.tgz#4480cd06e882ef68b2ad88a3ea54832e2c48b571" - dependencies: - is-extendable "^0.1.1" - kind-of "^5.0.0" - mixin-object "^2.0.1" - -shallow-clone@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-2.0.2.tgz#7f6e9cf3b64e37d5f4afb0f648a0204da556b872" - dependencies: - is-extendable "^1.0.1" - kind-of "^6.0.2" - mixin-object "^3.0.0" - -shallowequal@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-0.2.2.tgz#1e32fd5bcab6ad688a4812cb0cc04efc75c7014e" - dependencies: - lodash.keys "^3.1.2" - -shallowequal@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - dependencies: - shebang-regex "^1.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - -shell-quote@1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767" - dependencies: - array-filter "~0.0.0" - array-map "~0.0.0" - array-reduce "~0.0.0" - jsonify "~0.0.0" - -shelljs@^0.8.0, shelljs@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -shellwords@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" - -signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - -slash@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" - -slice-ansi@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - -slice-ansi@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" - dependencies: - is-fullwidth-code-point "^2.0.0" - -slide@^1.1.3, slide@^1.1.5, slide@^1.1.6, slide@~1.1.3, slide@~1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - -smart-buffer@^1.0.13: - version "1.1.15" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-1.1.15.tgz#7f114b5b65fab3e2a35aa775bb12f0d1c649bf16" - -smart-buffer@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -sntp@1.x.x: - version "1.0.9" - resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" - dependencies: - hoek "2.x.x" - -sntp@2.x.x: - version "2.1.0" - resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" - dependencies: - hoek "4.x.x" - -sockjs-client@1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.1.4.tgz#5babe386b775e4cf14e7520911452654016c8b12" - dependencies: - debug "^2.6.6" - eventsource "0.1.6" - faye-websocket "~0.11.0" - inherits "^2.0.1" - json3 "^3.3.2" - url-parse "^1.1.8" - -sockjs@0.3.19: - version "0.3.19" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.19.tgz#d976bbe800af7bd20ae08598d582393508993c0d" - dependencies: - faye-websocket "^0.10.0" - uuid "^3.0.1" - -socks-proxy-agent@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-3.0.1.tgz#2eae7cf8e2a82d34565761539a7f9718c5617659" - dependencies: - agent-base "^4.1.0" - socks "^1.1.10" - -socks-proxy-agent@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" - dependencies: - agent-base "~4.2.0" - socks "~2.2.0" - -socks@^1.1.10: - version "1.1.10" - resolved "https://registry.yarnpkg.com/socks/-/socks-1.1.10.tgz#5b8b7fc7c8f341c53ed056e929b7bf4de8ba7b5a" - dependencies: - ip "^1.1.4" - smart-buffer "^1.0.13" - -socks@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.2.0.tgz#144985b3331ced3ab5ccbee640ab7cb7d43fdd1f" - dependencies: - ip "^1.1.5" - smart-buffer "^4.0.1" - -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - dependencies: - is-plain-obj "^1.0.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - dependencies: - is-plain-obj "^1.0.0" - -sorted-object@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/sorted-object/-/sorted-object-2.0.1.tgz#7d631f4bd3a798a24af1dffcfbfe83337a5df5fc" - -sorted-union-stream@~2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/sorted-union-stream/-/sorted-union-stream-2.1.3.tgz#c7794c7e077880052ff71a8d4a2dbb4a9a638ac7" - dependencies: - from2 "^1.3.0" - stream-iterate "^1.1.0" - -sortobject@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/sortobject/-/sortobject-1.1.1.tgz#4f695d4d44ed0a4c06482c34c2582a2dcdc2ab34" - dependencies: - editions "^1.1.1" - -source-list-map@^0.1.4: - version "0.1.8" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" - -source-list-map@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" - -source-map-loader@^0.1.5: - version "0.1.6" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.1.6.tgz#c09903da6d73b9e53b7ed8ee5245597051e98e91" - dependencies: - async "^0.9.0" - loader-utils "~0.2.2" - source-map "~0.1.33" - -source-map-resolve@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.3.1.tgz#610f6122a445b8dd51535a2a71b783dfc1248761" - dependencies: - atob "~1.1.0" - resolve-url "~0.2.1" - source-map-url "~0.3.0" - urix "~0.1.0" - -source-map-resolve@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" - dependencies: - atob "^2.1.1" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@^0.4.15: - version "0.4.18" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" - dependencies: - source-map "^0.5.6" - -source-map-support@^0.5.0, source-map-support@^0.5.3: - version "0.5.6" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.6.tgz#4435cee46b1aab62b8e8610ce60f788091c51c13" - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" - -source-map-url@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.3.0.tgz#7ecaf13b57bcd09da8a40c5d269db33799d4aaf9" - -source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.0, source-map@~0.5.1: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - -source-map@^0.1.38, source-map@~0.1.33: - version "0.1.43" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" - dependencies: - amdefine ">=0.0.4" - -source-map@^0.4.2, source-map@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" - dependencies: - amdefine ">=0.0.4" - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - -spdx-correct@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" - -spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" - -spdy-transport@^2.0.18: - version "2.1.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-2.1.0.tgz#4bbb15aaffed0beefdd56ad61dbdc8ba3e2cb7a1" - dependencies: - debug "^2.6.8" - detect-node "^2.0.3" - hpack.js "^2.1.6" - obuf "^1.1.1" - readable-stream "^2.2.9" - safe-buffer "^5.0.1" - wbuf "^1.7.2" - -spdy@^3.4.1: - version "3.4.7" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc" - dependencies: - debug "^2.6.8" - handle-thing "^1.2.5" - http-deceiver "^1.2.7" - safe-buffer "^5.0.1" - select-hose "^2.0.0" - spdy-transport "^2.0.18" - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - dependencies: - extend-shallow "^3.0.0" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - -sshpk@^1.7.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - dashdash "^1.12.0" - getpass "^0.1.1" - optionalDependencies: - bcrypt-pbkdf "^1.0.0" - ecc-jsbn "~0.1.1" - jsbn "~0.1.0" - tweetnacl "~0.14.0" - -ssri@^5.0.0, ssri@^5.2.4: - version "5.3.0" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.3.0.tgz#ba3872c9c6d33a0704a7d71ff045e5ec48999d06" - dependencies: - safe-buffer "^5.1.1" - -ssri@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.0.tgz#fc21bfc90e03275ac3e23d5a42e38b8a1cbc130d" - -stack-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -"statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - -statuses@~1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" - -stdout-stream@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/stdout-stream/-/stdout-stream-1.4.0.tgz#a2c7c8587e54d9427ea9edb3ac3f2cd522df378b" - dependencies: - readable-stream "^2.0.1" - -stealthy-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" - -stream-browserify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-each@^1.1.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd" - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - -stream-iterate@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/stream-iterate/-/stream-iterate-1.2.0.tgz#2bd7c77296c1702a46488b8ad41f79865eecd4e1" - dependencies: - readable-stream "^2.1.5" - stream-shift "^1.0.0" - -stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - -stream-to-observable@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/stream-to-observable/-/stream-to-observable-0.2.0.tgz#59d6ea393d87c2c0ddac10aa0d561bc6ba6f0e10" - dependencies: - any-observable "^0.2.0" - -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - -string-length@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" - dependencies: - astral-regex "^1.0.0" - strip-ansi "^4.0.0" - -string-template@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add" - -string-width@^1.0.1, string-width@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string.prototype.matchall@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-3.0.0.tgz#66f4d8dd5c6c6cea4dffb55ec5f3184a8dd0dd59" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.12.0" - function-bind "^1.1.1" - has-symbols "^1.0.0" - regexp.prototype.flags "^1.2.0" - -string.prototype.padend@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.4.3" - function-bind "^1.0.2" - -string.prototype.padstart@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz#5bcfad39f4649bb2d031292e19bcf0b510d4b242" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.4.3" - function-bind "^1.0.2" - -string_decoder@^1.0.0, string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - dependencies: - safe-buffer "~5.1.0" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - -stringstream@~0.0.4, stringstream@~0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" - -strip-ansi@3.0.1, strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0, strip-ansi@~4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.1.1.tgz#39e8a98d044d150660abe4a6808acf70bb7bc991" - -strip-bom-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca" - dependencies: - first-chunk-stream "^2.0.0" - strip-bom "^2.0.0" - -strip-bom@3.0.0, strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - dependencies: - is-utf8 "^0.2.0" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - -strip-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" - dependencies: - get-stdin "^4.0.1" - -strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - -style-loader@^0.17.0: - version "0.17.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.17.0.tgz#e8254bccdb7af74bd58274e36107b4d5ab4df310" - dependencies: - loader-utils "^1.0.2" - -style-loader@^0.20.3: - version "0.20.3" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.20.3.tgz#ebef06b89dec491bcb1fdb3452e913a6fd1c10c4" - dependencies: - loader-utils "^1.1.0" - schema-utils "^0.4.5" - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - -supports-color@^3.1.0, supports-color@^3.1.2, supports-color@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - dependencies: - has-flag "^1.0.0" - -supports-color@^4.2.1: - version "4.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" - dependencies: - has-flag "^2.0.0" - -supports-color@^5.1.0, supports-color@^5.3.0, supports-color@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" - dependencies: - has-flag "^3.0.0" - -svg-react-loader@^0.4.4: - version "0.4.5" - resolved "https://registry.yarnpkg.com/svg-react-loader/-/svg-react-loader-0.4.5.tgz#1f324c9c7b858f5c89fac752bbe9ca3f6214f850" - dependencies: - css "2.2.1" - loader-utils "1.1.0" - ramda "0.21.0" - rx "4.1.0" - traverse "0.6.6" - xml2js "0.4.17" - -svg-tag-names@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/svg-tag-names/-/svg-tag-names-1.1.1.tgz#9641b29ef71025ee094c7043f7cdde7d99fbd50a" - -svgo@^0.7.0: - version "0.7.2" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-0.7.2.tgz#9f5772413952135c6fefbf40afe6a4faa88b4bb5" - dependencies: - coa "~1.0.1" - colors "~1.1.2" - csso "~2.3.1" - js-yaml "~3.7.0" - mkdirp "~0.5.1" - sax "~1.2.1" - whet.extend "~0.9.9" - -symbol-observable@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" - -symbol-observable@^0.2.2: - version "0.2.4" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-0.2.4.tgz#95a83db26186d6af7e7a18dbd9760a2f86d08f40" - -symbol-observable@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - -symbol-tree@^3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" - -symbol.prototype.description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/symbol.prototype.description/-/symbol.prototype.description-1.0.0.tgz#6e355660eb1e44ca8ad53a68fdb72ef131ca4b12" - dependencies: - has-symbols "^1.0.0" - -table@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" - dependencies: - ajv "^6.0.1" - ajv-keywords "^3.0.0" - chalk "^2.1.0" - lodash "^4.17.4" - slice-ansi "1.0.0" - string-width "^2.1.1" - -tapable@^0.2.7, tapable@~0.2.5: - version "0.2.8" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22" - -tapable@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0.tgz#cbb639d9002eed9c6b5975eb20598d7936f1f9f2" - -tar@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" - dependencies: - block-stream "*" - fstream "^1.0.2" - inherits "2" - -tar@^4: - version "4.4.4" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.4.tgz#ec8409fae9f665a4355cc3b4087d0820232bb8cd" - dependencies: - chownr "^1.0.1" - fs-minipass "^1.2.5" - minipass "^2.3.3" - minizlib "^1.1.0" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.2" - -tar@^4.4.0, tar@^4.4.1, tar@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.2.tgz#60685211ba46b38847b1ae7ee1a24d744a2cd462" - dependencies: - chownr "^1.0.1" - fs-minipass "^1.2.5" - minipass "^2.2.4" - minizlib "^1.1.0" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.2" - -temp@^0.8.1: - version "0.8.3" - resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59" - dependencies: - os-tmpdir "^1.0.0" - rimraf "~2.2.6" - -term-size@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" - dependencies: - execa "^0.7.0" - -test-exclude@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.2.1.tgz#dfa222f03480bca69207ca728b37d74b45f724fa" - dependencies: - arrify "^1.0.1" - micromatch "^3.1.8" - object-assign "^4.1.0" - read-pkg-up "^1.0.1" - require-main-filename "^1.0.1" - -tether@^1.4.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/tether/-/tether-1.4.4.tgz#9dc6eb2b3e601da2098fd264e7f7a8b264de1125" - -text-table@0.2.0, text-table@^0.2.0, text-table@~0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - -textextensions@2: - version "2.2.0" - resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-2.2.0.tgz#38ac676151285b658654581987a0ce1a4490d286" - -throat@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" - -through2-filter@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-2.0.0.tgz#60bc55a0dacb76085db1f9dae99ab43f83d622ec" - dependencies: - through2 "~2.0.0" - xtend "~4.0.0" - -through2@^2.0.0, through2@^2.0.1, through2@^2.0.3, through2@~2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" - dependencies: - readable-stream "^2.1.5" - xtend "~4.0.1" - -"through@>=2.2.7 <3", through@^2.3.6, through@^2.3.8, through@~2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - -thunky@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.0.2.tgz#a862e018e3fb1ea2ec3fce5d55605cf57f247371" - -time-stamp@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-2.0.1.tgz#708a89359c1fc50bd5e7b1c8aa750d08c9172232" - -timed-out@^4.0.0, timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - -timers-browserify@^2.0.4: - version "2.0.10" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.10.tgz#1d28e3d2aadf1d5a5996c4e9f95601cd053480ae" - dependencies: - setimmediate "^1.0.4" - -tiny-relative-date@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz#fa08aad501ed730f31cc043181d995c39a935e07" - -tiny-stack@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/tiny-stack/-/tiny-stack-1.1.0.tgz#a5d65c5753709ea43b29e903e6f6323185b9ac21" - -tiny-svg@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/tiny-svg/-/tiny-svg-2.1.2.tgz#607c73004d3c807ba7d69ba9616d433190d2baf7" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - dependencies: - os-tmpdir "~1.0.2" - -tmpl@1.0.x: - version "1.0.4" - resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" - -to-absolute-glob@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz#1865f43d9e74b0822db9f145b78cff7d0f7c849b" - dependencies: - is-absolute "^1.0.0" - is-negated-glob "^1.0.0" - -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - -to-fast-properties@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -to-through@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-through/-/to-through-2.0.0.tgz#fc92adaba072647bc0b67d6b03664aa195093af6" - dependencies: - through2 "^2.0.3" - -toposort@^1.0.0: - version "1.0.7" - resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029" - -tough-cookie@>=2.3.3, tough-cookie@^2.3.3, tough-cookie@~2.3.0, tough-cookie@~2.3.3: - version "2.3.4" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" - dependencies: - punycode "^1.4.1" - -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - dependencies: - punycode "^2.1.0" - -traverse@0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" - -trim-newlines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" - -trim-right@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" - -"true-case-path@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/true-case-path/-/true-case-path-1.0.2.tgz#7ec91130924766c7f573be3020c34f8fdfd00d62" - dependencies: - glob "^6.0.4" - -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - dependencies: - safe-buffer "^5.0.1" - -tunnel-agent@~0.4.1: - version "0.4.3" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - dependencies: - prelude-ls "~1.1.2" - -type-is@~1.6.15, type-is@~1.6.16: - version "1.6.16" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" - dependencies: - media-typer "0.3.0" - mime-types "~2.1.18" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - -typescript@^2.9.2: - version "2.9.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c" - -ua-parser-js@^0.7.18: - version "0.7.18" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed" - -uglify-es@^3.3.4: - version "3.3.9" - resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677" - dependencies: - commander "~2.13.0" - source-map "~0.6.1" - -uglify-js@3.4.x: - version "3.4.2" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.2.tgz#70511a390eb62423675ba63c374ba1abf045116c" - dependencies: - commander "~2.15.0" - source-map "~0.6.1" - -uglify-js@^2.6, uglify-js@^2.8.27, uglify-js@^2.8.29: - version "2.8.29" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" - dependencies: - source-map "~0.5.1" - yargs "~3.10.0" - optionalDependencies: - uglify-to-browserify "~1.0.0" - -uglify-to-browserify@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" - -uglifyjs-webpack-plugin@^0.4.6: - version "0.4.6" - resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz#b951f4abb6bd617e66f63eb891498e391763e309" - dependencies: - source-map "^0.5.6" - uglify-js "^2.8.29" - webpack-sources "^1.0.1" - -uglifyjs-webpack-plugin@^1.1.6: - version "1.2.5" - resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.5.tgz#2ef8387c8f1a903ec5e44fa36f9f3cbdcea67641" - dependencies: - cacache "^10.0.4" - find-cache-dir "^1.0.0" - schema-utils "^0.4.5" - serialize-javascript "^1.4.0" - source-map "^0.6.1" - uglify-es "^3.3.4" - webpack-sources "^1.1.0" - worker-farm "^1.5.2" - -uglifyjs-webpack-plugin@^1.2.4: - version "1.2.7" - resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.7.tgz#57638dd99c853a1ebfe9d97b42160a8a507f9d00" - dependencies: - cacache "^10.0.4" - find-cache-dir "^1.0.0" - schema-utils "^0.4.5" - serialize-javascript "^1.4.0" - source-map "^0.6.1" - uglify-es "^3.3.4" - webpack-sources "^1.1.0" - worker-farm "^1.5.2" - -uid-number@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - -umask@^1.1.0, umask@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" - -unc-path-regex@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" - -underscore@~1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.4.4.tgz#61a6a32010622afa07963bf325203cf12239d604" - -underscore@~1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.6.0.tgz#8b38b10cacdef63337b8b24e4ff86d45aea529a8" - -union-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^0.4.3" - -uniq@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" - -uniqs@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" - -unique-filename@^1.1.0, unique-filename@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.0.tgz#d05f2fe4032560871f30e93cbe735eea201514f3" - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.0.tgz#db6676e7c7cc0629878ff196097c78855ae9f4ab" - dependencies: - imurmurhash "^0.1.4" - -unique-stream@^2.0.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-2.2.1.tgz#5aa003cfbe94c5ff866c4e7d668bb1c4dbadb369" - dependencies: - json-stable-stringify "^1.0.0" - through2-filter "^2.0.0" - -unique-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" - dependencies: - crypto-random-string "^1.0.0" - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -untildify@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-3.0.2.tgz#7f1f302055b3fea0f3e81dc78eb36766cb65e3f1" - -unzip-response@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" - -upath@^1.0.0, upath@^1.0.5: - version "1.1.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" - -update-notifier@^2.3.0, update-notifier@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" - dependencies: - boxen "^1.2.1" - chalk "^2.0.1" - configstore "^3.0.0" - import-lazy "^2.1.0" - is-ci "^1.0.10" - is-installed-globally "^0.1.0" - is-npm "^1.0.0" - latest-version "^3.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" - -upper-case@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" - -uri-js@^4.2.1, uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - dependencies: - punycode "^2.1.0" - -urix@^0.1.0, urix@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - -url-join@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.0.tgz#4d3340e807d3773bda9991f8305acdcc2a665d2a" - -url-loader@^0.5.8: - version "0.5.9" - resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.5.9.tgz#cc8fea82c7b906e7777019250869e569e995c295" - dependencies: - loader-utils "^1.0.2" - mime "1.3.x" - -url-loader@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.6.2.tgz#a007a7109620e9d988d14bce677a1decb9a993f7" - dependencies: - loader-utils "^1.0.2" - mime "^1.4.1" - schema-utils "^0.3.0" - -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - dependencies: - prepend-http "^1.0.1" - -url-parse-lax@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - dependencies: - prepend-http "^2.0.0" - -url-parse@^1.1.8, url-parse@~1.4.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.1.tgz#4dec9dad3dc8585f862fed461d2e19bbf623df30" - dependencies: - querystringify "^2.0.0" - requires-port "^1.0.0" - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - -url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - dependencies: - punycode "1.3.2" - querystring "0.2.0" - -use@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.0.tgz#14716bf03fdfefd03040aef58d8b4b85f3a7c544" - dependencies: - kind-of "^6.0.2" - -util-deprecate@^1.0.2, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - -util-extend@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/util-extend/-/util-extend-1.0.3.tgz#a7c216d267545169637b3b6edc6ca9119e2ff93f" - -util.promisify@1.0.0, util.promisify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" - dependencies: - define-properties "^1.1.2" - object.getownpropertydescriptors "^2.0.3" - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - dependencies: - inherits "2.0.1" - -util@^0.10.3: - version "0.10.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" - dependencies: - inherits "2.0.3" - -utila@~0.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/utila/-/utila-0.3.3.tgz#d7e8e7d7e309107092b05f8d9688824d633a4226" - -utila@~0.4: - version "0.4.0" - resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - -uuid-js@^0.7.5: - version "0.7.5" - resolved "https://registry.yarnpkg.com/uuid-js/-/uuid-js-0.7.5.tgz#6c886d02a53d2d40dcf25d91a170b4a7b25b94d0" - -uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" - -uuid@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.0.tgz#b237147804881d7b86f40a7ff8f590f15c37de32" - -v8-compile-cache@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz#8d32e4f16974654657e676e0e467a348e89b0dc4" - -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz#81643bcbef1bdfecd4623793dc4648948ba98338" - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - dependencies: - builtins "^1.0.3" - -validator@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/validator/-/validator-10.2.0.tgz#61d6b10c3d5c9f368c75c2ce8ca2b792522eaafa" - -value-equal@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-0.4.0.tgz#c5bdd2f54ee093c04839d71ce2e4758a6890abc7" - -value-or-function@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/value-or-function/-/value-or-function-3.0.0.tgz#1c243a50b595c1be54a754bfece8563b9ff8d813" - -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - -velocity-animate@^1.4.0: - version "1.5.2" - resolved "https://registry.yarnpkg.com/velocity-animate/-/velocity-animate-1.5.2.tgz#5a351d75fca2a92756f5c3867548b873f6c32105" - -velocity-react@^1.3.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/velocity-react/-/velocity-react-1.4.1.tgz#1d0b41859cdf2521c08a8b57f44e93ed2d54b5fc" - dependencies: - lodash "^4.17.5" - prop-types "^15.5.8" - react-transition-group "^2.0.0" - velocity-animate "^1.4.0" - -vendors@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.2.tgz#7fcb5eef9f5623b156bcea89ec37d63676f21801" - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -vinyl-file@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-2.0.0.tgz#a7ebf5ffbefda1b7d18d140fcb07b223efb6751a" - dependencies: - graceful-fs "^4.1.2" - pify "^2.3.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - strip-bom-stream "^2.0.0" - vinyl "^1.1.0" - -vinyl-fs@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-3.0.3.tgz#c85849405f67428feabbbd5c5dbdd64f47d31bc7" - dependencies: - fs-mkdirp-stream "^1.0.0" - glob-stream "^6.1.0" - graceful-fs "^4.0.0" - is-valid-glob "^1.0.0" - lazystream "^1.0.0" - lead "^1.0.0" - object.assign "^4.0.4" - pumpify "^1.3.5" - readable-stream "^2.3.3" - remove-bom-buffer "^3.0.0" - remove-bom-stream "^1.2.0" - resolve-options "^1.1.0" - through2 "^2.0.0" - to-through "^2.0.0" - value-or-function "^3.0.0" - vinyl "^2.0.0" - vinyl-sourcemap "^1.1.0" - -vinyl-sourcemap@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz#92a800593a38703a8cdb11d8b300ad4be63b3e16" - dependencies: - append-buffer "^1.0.2" - convert-source-map "^1.5.0" - graceful-fs "^4.1.6" - normalize-path "^2.1.1" - now-and-later "^2.0.0" - remove-bom-buffer "^3.0.0" - vinyl "^2.0.0" - -vinyl@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-1.2.0.tgz#5c88036cf565e5df05558bfc911f8656df218884" - dependencies: - clone "^1.0.0" - clone-stats "^0.0.1" - replace-ext "0.0.1" - -vinyl@^2.0.0, vinyl@^2.0.1, vinyl@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c" - dependencies: - clone "^2.1.1" - clone-buffer "^1.0.0" - clone-stats "^1.0.0" - cloneable-readable "^1.0.0" - remove-trailing-separator "^1.0.1" - replace-ext "^1.0.0" - -vm-browserify@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" - dependencies: - indexof "0.0.1" - -w3c-hr-time@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045" - dependencies: - browser-process-hrtime "^0.1.2" - -walker@~1.0.5: - version "1.0.7" - resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" - dependencies: - makeerror "1.0.x" - -warning@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/warning/-/warning-3.0.0.tgz#32e5377cb572de4ab04753bdf8821c01ed605b7c" - dependencies: - loose-envify "^1.0.0" - -warning@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.1.tgz#66ce376b7fbfe8a887c22bdf0e7349d73d397745" - dependencies: - loose-envify "^1.0.0" - -watch@~0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/watch/-/watch-0.18.0.tgz#28095476c6df7c90c963138990c0a5423eb4b986" - dependencies: - exec-sh "^0.2.0" - minimist "^1.2.0" - -watchpack@^1.3.1, watchpack@^1.4.0, watchpack@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" - dependencies: - chokidar "^2.0.2" - graceful-fs "^4.1.2" - neo-async "^2.5.0" - -wbuf@^1.1.0, wbuf@^1.7.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - dependencies: - minimalistic-assert "^1.0.0" - -wcwidth@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - dependencies: - defaults "^1.0.3" - -webassemblyjs@1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webassemblyjs/-/webassemblyjs-1.4.3.tgz#0591893efb8fbde74498251cbe4b2d83df9239cb" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/validation" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" - long "^3.2.0" - -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" - -webpack-addons@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/webpack-addons/-/webpack-addons-1.1.5.tgz#2b178dfe873fb6e75e40a819fa5c26e4a9bc837a" - dependencies: - jscodeshift "^0.4.0" - -webpack-api-mocker@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-api-mocker/-/webpack-api-mocker-1.4.3.tgz#067ca945b89046e6ffc29b67cc2543835ac4578f" - dependencies: - body-parser "^1.18.2" - colors-cli "^1.0.13" - http-proxy "^1.16.2" - path-to-regexp "^2.2.1" - -webpack-cli@^2.0.14: - version "2.1.3" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-2.1.3.tgz#65d166851abaa56067ef3f716b02a97ba6bbe84d" - dependencies: - chalk "^2.3.2" - cross-spawn "^6.0.5" - diff "^3.5.0" - enhanced-resolve "^4.0.0" - envinfo "^4.4.2" - glob-all "^3.1.0" - global-modules "^1.0.0" - got "^8.2.0" - import-local "^1.0.0" - inquirer "^5.1.0" - interpret "^1.0.4" - jscodeshift "^0.5.0" - listr "^0.13.0" - loader-utils "^1.1.0" - lodash "^4.17.5" - log-symbols "^2.2.0" - mkdirp "^0.5.1" - p-each-series "^1.0.0" - p-lazy "^1.0.0" - prettier "^1.5.3" - supports-color "^5.3.0" - v8-compile-cache "^1.1.2" - webpack-addons "^1.1.5" - yargs "^11.1.0" - yeoman-environment "^2.0.0" - yeoman-generator "^2.0.4" - -webpack-dev-middleware@3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.1.3.tgz#8b32aa43da9ae79368c1bf1183f2b6cf5e1f39ed" - dependencies: - loud-rejection "^1.6.0" - memory-fs "~0.4.1" - mime "^2.1.0" - path-is-absolute "^1.0.0" - range-parser "^1.0.3" - url-join "^4.0.0" - webpack-log "^1.0.1" - -webpack-dev-middleware@^1.12.2: - version "1.12.2" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz#f8fc1120ce3b4fc5680ceecb43d777966b21105e" - dependencies: - memory-fs "~0.4.1" - mime "^1.5.0" - path-is-absolute "^1.0.0" - range-parser "^1.0.3" - time-stamp "^2.0.0" - -webpack-dev-server@^3.1.3: - version "3.1.4" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.1.4.tgz#9a08d13c4addd1e3b6d8ace116e86715094ad5b4" - dependencies: - ansi-html "0.0.7" - array-includes "^3.0.3" - bonjour "^3.5.0" - chokidar "^2.0.0" - compression "^1.5.2" - connect-history-api-fallback "^1.3.0" - debug "^3.1.0" - del "^3.0.0" - express "^4.16.2" - html-entities "^1.2.0" - http-proxy-middleware "~0.18.0" - import-local "^1.0.0" - internal-ip "1.2.0" - ip "^1.1.5" - killable "^1.0.0" - loglevel "^1.4.1" - opn "^5.1.0" - portfinder "^1.0.9" - selfsigned "^1.9.1" - serve-index "^1.7.2" - sockjs "0.3.19" - sockjs-client "1.1.4" - spdy "^3.4.1" - strip-ansi "^3.0.0" - supports-color "^5.1.0" - webpack-dev-middleware "3.1.3" - webpack-log "^1.1.2" - yargs "11.0.0" - -webpack-glob-entry@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/webpack-glob-entry/-/webpack-glob-entry-2.1.1.tgz#de21e0bfe062f8a220c0c64333b77236cb8a5f91" - dependencies: - glob "^7.1.1" - -webpack-hot-middleware@^2.22.1: - version "2.22.3" - resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.22.3.tgz#ae6025d57d656085c5b716b44e0bc0f796787776" - dependencies: - ansi-html "0.0.7" - html-entities "^1.2.0" - querystring "^0.2.0" - strip-ansi "^3.0.0" - -webpack-log@^1.0.1, webpack-log@^1.1.2, webpack-log@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-1.2.0.tgz#a4b34cda6b22b518dbb0ab32e567962d5c72a43d" - dependencies: - chalk "^2.1.0" - log-symbols "^2.1.0" - loglevelnext "^1.0.1" - uuid "^3.1.0" - -webpack-sass-loaders@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/webpack-sass-loaders/-/webpack-sass-loaders-1.0.0.tgz#d1ccdd51fd2baf1a59b1b7092c06c1fb882ccf17" - dependencies: - css-loader "^0.28.1" - file-loader "^0.11.2" - node-sass "^4.5.2" - sass-loader "^6.0.5" - style-loader "^0.17.0" - url-loader "^0.5.8" - webpack "^2.5.1" - -webpack-shell-plugin@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/webpack-shell-plugin/-/webpack-shell-plugin-0.5.0.tgz#29b8a1d80ddeae0ddb10e729667f728653c2c742" - -webpack-sources@^1.0.1, webpack-sources@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54" - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack@^2.5.1: - version "2.7.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.7.0.tgz#b2a1226804373ffd3d03ea9c6bd525067034f6b1" - dependencies: - acorn "^5.0.0" - acorn-dynamic-import "^2.0.0" - ajv "^4.7.0" - ajv-keywords "^1.1.1" - async "^2.1.2" - enhanced-resolve "^3.3.0" - interpret "^1.0.0" - json-loader "^0.5.4" - json5 "^0.5.1" - loader-runner "^2.3.0" - loader-utils "^0.2.16" - memory-fs "~0.4.1" - mkdirp "~0.5.0" - node-libs-browser "^2.0.0" - source-map "^0.5.3" - supports-color "^3.1.0" - tapable "~0.2.5" - uglify-js "^2.8.27" - watchpack "^1.3.1" - webpack-sources "^1.0.1" - yargs "^6.0.0" - -webpack@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.12.0.tgz#3f9e34360370602fcf639e97939db486f4ec0d74" - dependencies: - acorn "^5.0.0" - acorn-dynamic-import "^2.0.0" - ajv "^6.1.0" - ajv-keywords "^3.1.0" - async "^2.1.2" - enhanced-resolve "^3.4.0" - escope "^3.6.0" - interpret "^1.0.0" - json-loader "^0.5.4" - json5 "^0.5.1" - loader-runner "^2.3.0" - loader-utils "^1.1.0" - memory-fs "~0.4.1" - mkdirp "~0.5.0" - node-libs-browser "^2.0.0" - source-map "^0.5.3" - supports-color "^4.2.1" - tapable "^0.2.7" - uglifyjs-webpack-plugin "^0.4.6" - watchpack "^1.4.0" - webpack-sources "^1.0.1" - yargs "^8.0.2" - -webpack@^4.5.0: - version "4.8.3" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.8.3.tgz#957c8e80000f9e5cc03d775e78b472d8954f4eeb" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/wasm-edit" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - acorn "^5.0.0" - acorn-dynamic-import "^3.0.0" - ajv "^6.1.0" - ajv-keywords "^3.1.0" - chrome-trace-event "^0.1.1" - enhanced-resolve "^4.0.0" - eslint-scope "^3.7.1" - loader-runner "^2.3.0" - loader-utils "^1.1.0" - memory-fs "~0.4.1" - micromatch "^3.1.8" - mkdirp "~0.5.0" - neo-async "^2.5.0" - node-libs-browser "^2.0.0" - schema-utils "^0.4.4" - tapable "^1.0.0" - uglifyjs-webpack-plugin "^1.2.4" - watchpack "^1.5.0" - webpack-sources "^1.0.1" - -websocket-driver@>=0.5.1: - version "0.7.0" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.0.tgz#0caf9d2d755d93aee049d4bdd0d3fe2cca2a24eb" - dependencies: - http-parser-js ">=0.4.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" - -whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.3.tgz#57c235bc8657e914d24e1a397d3c82daee0a6ba3" - dependencies: - iconv-lite "0.4.19" - -whatwg-fetch@>=0.10.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" - -whatwg-mimetype@^2.0.0, whatwg-mimetype@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.1.0.tgz#f0f21d76cbba72362eb609dbed2a30cd17fcc7d4" - -whatwg-url@^6.4.0: - version "6.4.1" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-6.4.1.tgz#fdb94b440fd4ad836202c16e9737d511f012fd67" - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - -whet.extend@~0.9.9: - version "0.9.9" - resolved "https://registry.yarnpkg.com/whet.extend/-/whet.extend-0.9.9.tgz#f877d5bf648c97e5aa542fadc16d6a259b9c11a1" - -which-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" - -which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - -which@1, which@^1.2.12, which@^1.3.0, which@~1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" - dependencies: - isexe "^2.0.0" - -which@^1.2.14, which@^1.2.9: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - dependencies: - string-width "^1.0.2 || 2" - -widest-line@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.0.tgz#0142a4e8a243f8882c0233aa0e0281aa76152273" - dependencies: - string-width "^2.1.1" - -window-size@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" - -wordwrap@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" - -wordwrap@~0.0.2: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - -wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - -worker-farm@^1.5.2, worker-farm@^1.5.4, worker-farm@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.6.0.tgz#aecc405976fab5a95526180846f0dba288f3a4a0" - dependencies: - errno "~0.1.7" - -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - -wrappy@1, wrappy@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - -write-file-atomic@^1.2.0: - version "1.3.4" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f" - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" - -write-file-atomic@^2.0.0, write-file-atomic@^2.1.0, write-file-atomic@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -write@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" - dependencies: - mkdirp "^0.5.1" - -ws@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-4.1.0.tgz#a979b5d7d4da68bf54efe0408967c324869a7289" - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - -xdg-basedir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" - -xml-name-validator@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" - -xml2js@0.4.17: - version "0.4.17" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.17.tgz#17be93eaae3f3b779359c795b419705a8817e868" - dependencies: - sax ">=0.6.0" - xmlbuilder "^4.1.0" - -xmlbuilder@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.2.1.tgz#aa58a3041a066f90eaa16c2f5389ff19f3f461a5" - dependencies: - lodash "^4.0.0" - -xtend@^4.0.0, xtend@~4.0.0, xtend@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" - -y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - -y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - -yallist@^3.0.0, yallist@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" - -yargs-parser@^4.2.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" - dependencies: - camelcase "^3.0.0" - -yargs-parser@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" - dependencies: - camelcase "^3.0.0" - -yargs-parser@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" - dependencies: - camelcase "^4.1.0" - -yargs-parser@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" - dependencies: - camelcase "^4.1.0" - -yargs-parser@^9.0.2: - version "9.0.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" - dependencies: - camelcase "^4.1.0" - -yargs@11.0.0, yargs@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b" - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^9.0.2" - -yargs@^10.0.3: - version "10.1.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5" - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^8.1.0" - -yargs@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.1.0.tgz#90b869934ed6e871115ea2ff58b03f4724ed2d77" - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^9.0.2" - -yargs@^6.0.0: - version "6.6.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" - dependencies: - camelcase "^3.0.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^1.4.0" - read-pkg-up "^1.0.1" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^1.0.2" - which-module "^1.0.0" - y18n "^3.2.1" - yargs-parser "^4.2.0" - -yargs@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" - dependencies: - camelcase "^3.0.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^1.4.0" - read-pkg-up "^1.0.1" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^1.0.2" - which-module "^1.0.0" - y18n "^3.2.1" - yargs-parser "^5.0.0" - -yargs@^8.0.2: - version "8.0.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360" - dependencies: - camelcase "^4.1.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - read-pkg-up "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^7.0.0" - -yargs@~1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-1.2.6.tgz#9c7b4a82fd5d595b2bf17ab6dcc43135432fe34b" - dependencies: - minimist "^0.1.0" - -yargs@~3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" - dependencies: - camelcase "^1.0.2" - cliui "^2.1.0" - decamelize "^1.0.0" - window-size "0.1.0" - -yeoman-environment@^2.0.0, yeoman-environment@^2.0.5: - version "2.1.0" - resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-2.1.0.tgz#175f49ad693aff41c8998d32f6103c20c62ec37b" - dependencies: - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^3.1.0" - diff "^3.3.1" - escape-string-regexp "^1.0.2" - globby "^8.0.1" - grouped-queue "^0.3.3" - inquirer "^5.2.0" - is-scoped "^1.0.0" - lodash "^4.17.10" - log-symbols "^2.1.0" - mem-fs "^1.1.0" - strip-ansi "^4.0.0" - text-table "^0.2.0" - untildify "^3.0.2" - -yeoman-generator@^2.0.4: - version "2.0.5" - resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-2.0.5.tgz#57b0b3474701293cc9ec965288f3400b00887c81" - dependencies: - async "^2.6.0" - chalk "^2.3.0" - cli-table "^0.3.1" - cross-spawn "^6.0.5" - dargs "^5.1.0" - dateformat "^3.0.3" - debug "^3.1.0" - detect-conflict "^1.0.0" - error "^7.0.2" - find-up "^2.1.0" - github-username "^4.0.0" - istextorbinary "^2.2.1" - lodash "^4.17.10" - make-dir "^1.1.0" - mem-fs-editor "^4.0.0" - minimist "^1.2.0" - pretty-bytes "^4.0.2" - read-chunk "^2.1.0" - read-pkg-up "^3.0.0" - rimraf "^2.6.2" - run-async "^2.0.0" - shelljs "^0.8.0" - text-table "^0.2.0" - through2 "^2.0.0" - yeoman-environment "^2.0.5" diff --git a/workflow-designer-ui/src/main/java/org/onap/workflow/web/SSLProxyServlet.java b/workflow-designer-ui/src/main/java/org/onap/workflow/web/SSLProxyServlet.java deleted file mode 100644 index 775706d2..00000000 --- a/workflow-designer-ui/src/main/java/org/onap/workflow/web/SSLProxyServlet.java +++ /dev/null @@ -1,211 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. 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 - * - * 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. - * ============LICENSE_END========================================================= - */ - - -package org.onap.workflow.web; - - -import org.eclipse.jetty.client.HttpClient; -import org.eclipse.jetty.client.api.Request; -import org.eclipse.jetty.http.HttpHeader; -import org.eclipse.jetty.http.HttpScheme; -import org.eclipse.jetty.proxy.ProxyServlet; -import org.eclipse.jetty.util.URIUtil; -import org.eclipse.jetty.util.ssl.SslContextFactory; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.Enumeration; - - -/*** - * Class that provides the proxy implementation for both secured and unsecured backend connections. - * - * The following nevironment value is mandatory: - * proxyTo - the full URL to the backend server (including protocol and context path if relevant) - * - * In case of a secured connection (proxyTo starting with https) the following may be set: - * sslTrustAll - set to true if all secure connection are accepted - * maxPoolConnections - number of connection in the pool, only when overriding the jetty default - * - * In case of SSL and nto trusting all certificates: - * keystorePath - path to the keystore - * keystoreType - type of the keystore - * keystorePassword - keystore password - * - * truststorePath - path to the truststore - * truststoreType - type of the truststore - * truststorePassword - truststore password - - */ - -public class SSLProxyServlet extends ProxyServlet { - - - public static final int TIMEOUT = 600000; - protected static final String PROXY_TO = "proxyTo"; - protected static final String TRUST_ALL = "sslTrustAll"; - protected static final String MAX_POOL_CONNECTIONS = "maxPoolConnections"; - protected static final String KEYSTORE_PATH = "keystorePath"; - protected static final String KEYSTORE_TYPE = "keystoreType"; - protected static final String KEYSTORE_P = "keystorePassword"; - protected static final String KEYMANAGER_P = "keyManagerPassword"; - protected static final String KEYSTORE_CYPHER = "keystoreCypher"; - protected static final String TRUSTSTORE_PATH = "truststorePath"; - protected static final String TRUSTSTORE_TYPE = "truststoreType"; - protected static final String TRUSTSTORE_P = "truststorePassword"; - protected static final String ENDPOINT_IDENTIFICATION_ALGORITHM = "endpointIdentificationAlgorithm"; - private static final long serialVersionUID = 1L; - private static URL proxyUrl = null; - - - private static void setProxyUrl(URL proxy) { - SSLProxyServlet.proxyUrl = proxy; - } - - private void initProxyUrl() throws ServletException, MalformedURLException { - - if (SSLProxyServlet.proxyUrl != null) - return; - String proxyUrlStr = System.getProperty(PROXY_TO); - if (proxyUrlStr == null) { - throw new ServletException("-D" + PROXY_TO + " must be specified"); - } - setProxyUrl(new URL(proxyUrlStr)); - } - - - @Override - public void init() throws ServletException { - super.init(); - try { - initProxyUrl(); - } catch (MalformedURLException e) { - throw new ServletException(e); - } - } - - - @Override - public void sendProxyRequest(HttpServletRequest request, HttpServletResponse response, Request proxyRequest) { - - @SuppressWarnings("unchecked") - Enumeration<String> headerNames = request.getHeaderNames(); - while (headerNames.hasMoreElements()) { - String headerName = headerNames.nextElement(); - if (!proxyRequest.getHeaders().containsKey(headerName)) { - String headerVal = request.getHeader(headerName); - proxyRequest.header(headerName, headerVal); - } - } - proxyRequest.getHeaders().remove(HttpHeader.HOST); - super.sendProxyRequest(request, response, proxyRequest); - - } - - @Override - protected HttpClient newHttpClient() { - // ioverride parent method to be able to create a secured client as well. - boolean isSecureClient = ( - proxyUrl.getProtocol() != null && - proxyUrl.getProtocol().equalsIgnoreCase(HttpScheme.HTTPS.toString())); - if ((isSecureClient)) { - String trustAll = System.getProperty(TRUST_ALL); - SslContextFactory sslContextFactory = null; - if (trustAll != null && Boolean.parseBoolean(trustAll) == Boolean.TRUE) { - sslContextFactory = new SslContextFactory.Client(true); - } else { - sslContextFactory = new SslContextFactory.Client(false); - // setting up truststore - sslContextFactory.setTrustStorePath(System.getProperty(TRUSTSTORE_PATH)); - sslContextFactory.setTrustStorePassword(System.getProperty(TRUSTSTORE_P)); - sslContextFactory.setTrustStoreType(System.getProperty(TRUSTSTORE_TYPE)); - // setting up keystore - sslContextFactory.setKeyStorePath(System.getProperty(KEYSTORE_PATH)); - sslContextFactory.setKeyStorePassword(System.getProperty(KEYSTORE_P)); - sslContextFactory.setKeyStoreType(System.getProperty(KEYSTORE_TYPE)); - sslContextFactory.setKeyManagerPassword(System.getProperty(KEYMANAGER_P)); - - if (System.getProperty(ENDPOINT_IDENTIFICATION_ALGORITHM) != null && - !System.getProperty(ENDPOINT_IDENTIFICATION_ALGORITHM).equals("")) { - sslContextFactory - .setEndpointIdentificationAlgorithm(System.getProperty(ENDPOINT_IDENTIFICATION_ALGORITHM)); - } - - if (System.getProperty(KEYSTORE_CYPHER) != null && - !System.getProperty(KEYSTORE_CYPHER).equals("")) { - sslContextFactory.setIncludeCipherSuites(System.getProperty(KEYSTORE_CYPHER)); - } - } - - return new HttpClient(sslContextFactory); - - } else { - return super.newHttpClient(); - } - - } - - @Override - protected HttpClient createHttpClient() throws ServletException { - - try { - initProxyUrl(); - } catch (MalformedURLException e) { - throw new ServletException(e); - } - // calling the parent and setting the configuration for our implementation - HttpClient client = super.createHttpClient(); - setTimeout(TIMEOUT); - client.setIdleTimeout(TIMEOUT); - client.setStopTimeout(TIMEOUT); - if (System.getProperty(MAX_POOL_CONNECTIONS) != null) { - client.setMaxConnectionsPerDestination( - Integer.valueOf(System.getProperty(MAX_POOL_CONNECTIONS))); - } - return client; - - } - - - - @Override - protected String rewriteTarget(HttpServletRequest request) { - - String path = proxyUrl.getPath(); - if (request.getServletPath() != null) { - path += request.getServletPath(); - } - if (request.getPathInfo() != null) { - path += request.getPathInfo(); - } - - return URIUtil.newURI( - proxyUrl.getProtocol(), - proxyUrl.getHost(), - proxyUrl.getPort(), - path, - request.getQueryString()); - } - -} diff --git a/workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml b/workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml deleted file mode 100644 index 92e847c8..00000000 --- a/workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> - -<Configure class="org.eclipse.jetty.webapp.WebAppContext"> - <Set name="contextPath">/workflows</Set> -</Configure> diff --git a/workflow-designer-ui/src/main/webapp/WEB-INF/web.xml b/workflow-designer-ui/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index 279b405e..00000000 --- a/workflow-designer-ui/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" - version="4.0"> - - <servlet> - <servlet-name>Backend Proxy</servlet-name> - <servlet-class>org.onap.workflow.web.SSLProxyServlet</servlet-class> - <load-on-startup>1</load-on-startup> - <async-supported>true</async-supported> - </servlet> - <servlet-mapping> - <servlet-name>Backend Proxy</servlet-name> - <url-pattern>/wf/*</url-pattern> - <url-pattern>/v1.0/activity-spec/*</url-pattern> - </servlet-mapping> - -</web-app> |