TagSpaces is an offline, open source, document manager with tagging support
add AWS S3 dialog
Stanimir Marinovf0ae612a300e
diff --git a/app/components/S3Form.js b/app/components/S3Form.jsnew file mode 100644index 000000000..dc84ac34b--- /dev/null+++ b/app/components/S3Form.js@@ -0,0 +1,345 @@+/**+ * TagSpaces - universal file and folder organizer+ * Copyright (C) 2017-present TagSpaces UG (haftungsbeschraenkt)+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License (version 3) as+ * published by the Free Software Foundation.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ *+ * @flow+ */++import React from 'react';+import Select from 'react-select';+import FormControl from '@material-ui/core/FormControl';+import FormControlLabel from '@material-ui/core/FormControlLabel';+import FormHelperText from '@material-ui/core/FormHelperText';+import FormGroup from '@material-ui/core/FormGroup';+import Paper from '@material-ui/core/Paper';+import Grid from '@material-ui/core/Grid';+import Input from '@material-ui/core/Input';+import InputLabel from '@material-ui/core/InputLabel';+import TextField from '@material-ui/core/TextField';+import Typography from '@material-ui/core/Typography';+import MenuItem from '@material-ui/core/MenuItem';+import NoSsr from '@material-ui/core/NoSsr';+import { emphasize } from '@material-ui/core/styles/colorManipulator';+import { bindActionCreators } from 'redux';+import { connect } from 'react-redux';+import { withStyles } from '@material-ui/core/styles';+// import styles from './SidePanels.css';+import i18n from '../services/i18n';+import { Pro } from '../pro';++type Props = {+ classes: Object+};++type State = {+ locationName?: string,+ accessKey?: string+};++const styles = {+ root: {+ flexGrow: 1,+ height: 250,+ },+ input: {+ display: 'flex',+ padding: 0,+ },+ valueContainer: {+ display: 'flex',+ flexWrap: 'wrap',+ flex: 1,+ alignItems: 'center',+ overflow: 'hidden',+ },+ chip: {+ // margin: `${theme.spacing.unit / 2}px ${theme.spacing.unit / 4}px`,+ },+ chipFocused: {+ /* backgroundColor: emphasize(+ // theme.palette.type === 'light' ? theme.palette.grey[300] : theme.palette.grey[700],+ 0.08,+ ), */+ },+ noOptionsMessage: {+ // padding: `${theme.spacing.unit}px ${theme.spacing.unit * 2}px`,+ },+ singleValue: {+ fontSize: 16,+ },+ placeholder: {+ position: 'absolute',+ left: 2,+ fontSize: 16,+ },+ paper: {+ // position: 'absolute',+ zIndex: 1,+ // marginTop: theme.spacing.unit,+ left: 0,+ right: 0,+ }+};++class S3Form extends React.Component<Props, State> {+ state = {+ locationName: undefined,+ accessKey: undefined+ };++ suggestions = [+ { label: 'US East (Ohio)', value: 'us-east-2' },+ { label: 'US East (N. Virginia)', value: 'us-east-1' },+ { label: 'US West (N. California)', value: 'us-west-1' },+ { label: 'US West (Oregon)', value: 'us-west-2' },+ { label: 'Asia Pacific (Mumbai)', value: 'ap-south-1' },+ { label: 'Asia Pacific (Osaka-Local)', value: 'ap-northeast-3' },+ { label: 'Asia Pacific (Seoul)', value: 'ap-northeast-2' },+ { label: 'Asia Pacific (Singapore)', value: 'ap-southeast-1' },+ { label: 'Asia Pacific (Sydney)', value: 'ap-southeast-2' },+ { label: 'Asia Pacific (Tokyo)', value: 'ap-northeast-1' },+ { label: 'Canada (Central)', value: 'ca-central-1' },+ { label: 'China (Beijing)', value: 'cn-north-1' },+ { label: 'China (Ningxia)', value: 'cn-northwest-1' },+ { label: 'EU (Frankfurt)', value: 'eu-central-1' },+ { label: 'EU (Ireland)', value: 'eu-west-1' },+ { label: 'EU (London)', value: 'eu-west-2' },+ { label: 'EU (Paris)', value: 'eu-west-3' },+ { label: 'South America (São Paulo)', value: 'sa-east-1' },+ ].map(suggestion => ({+ value: suggestion.value,+ label: suggestion.label,+ }));++ handleChange = name => value => {+ this.setState({+ [name]: value,+ });+ };++ NoOptionsMessage = (props) => (+ <Typography+ color="textSecondary"+ // className={props.selectProps.classes.noOptionsMessage}+ {...props.innerProps}+ >+ {props.children}+ </Typography>+ );++ inputComponent = ({ inputRef, ...props }) => <div ref={inputRef} {...props} />++ Control = (props) => (+ <TextField+ fullWidth+ InputProps={{+ inputComponent: this.inputComponent,+ inputProps: {+ style: styles.input,+ inputRef: props.innerRef,+ children: props.children,+ ...props.innerProps,+ },+ }}+ {...props.selectProps.textFieldProps}+ />+ )++ Option = (props) => (+ <MenuItem+ buttonRef={props.innerRef}+ selected={props.isFocused}+ component="div"+ style={{+ fontWeight: props.isSelected ? 500 : 400,+ }}+ {...props.innerProps}+ >+ {props.children}+ </MenuItem>+ );++ Placeholder = (props) => (+ <Typography+ color="textSecondary"+ style={styles.placeholder}+ {...props.innerProps}+ >+ {props.children}+ </Typography>+ );++ SingleValue = (props) => (+ <Typography style={styles.singleValue} {...props.innerProps}>+ {props.children}+ </Typography>+ );++ ValueContainer = (props) => <div style={styles.valueContainer}>{props.children}</div>++ /* MultiValue = (props) => (+ <Chip+ tabIndex={-1}+ label={props.children}+ className={classNames(props.selectProps.classes.chip, {+ [props.selectProps.classes.chipFocused]: props.isFocused,+ })}+ onDelete={props.removeProps.onClick}+ deleteIcon={<CancelIcon {...props.removeProps} />}+ />+ ) */++ Menu = (props) => (+ <Paper square style={styles.paper} {...props.innerProps}>+ {props.children}+ </Paper>+ );++ components = {+ Control: this.Control,+ Menu: this.Menu,+ // MultiValue: this.MultiValue,+ NoOptionsMessage: this.NoOptionsMessage,+ Option: this.Option,+ Placeholder: this.Placeholder,+ SingleValue: this.SingleValue,+ ValueContainer: this.ValueContainer,+ };++ render() {+ // const { classes, theme } = this.props;+ const selectStyles = {+ input: base => ({+ ...base,+ // color: theme.palette.text.primary,+ flex: 1,+ '& input': {+ font: 'inherit',+ },+ }),+ };+ return (+ <Grid container spacing={24}>+ <Grid item xs={12}>+ <FormControl+ fullWidth={true}+ error={this.state.errorTextPath}+ >+ <InputLabel htmlFor="name">{i18n.t('core:createLocationName')}</InputLabel>+ <Input+ required+ margin="dense"+ name="name"+ label={i18n.t('core:createLocationName')}+ fullWidth={true}+ data-tid="locationName"+ onChange={this.handleInputChange}+ value={this.state.locationName}+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </FormControl>+ </Grid>+ <Grid item xs={12}>+ <FormControl+ fullWidth={true}+ error={this.state.errorTextPath}+ >+ <InputLabel htmlFor="accessKey">{i18n.t('core:accessKeyId')}</InputLabel>+ <Input+ required+ margin="dense"+ name="accessKey"+ label={i18n.t('core:accessKeyId')}+ fullWidth={true}+ data-tid="accessKeyId"+ onChange={this.handleInputChange}+ value={this.state.accessKey}+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </FormControl>+ </Grid>+ <Grid item xs={12}>+ <FormControl+ fullWidth={true}+ error={this.state.errorTextPath}+ >+ <InputLabel htmlFor="secretAccessKey">{i18n.t('core:secretAccessKey')}</InputLabel>+ <Input+ required+ margin="dense"+ name="secretAccessKey"+ label={i18n.t('core:secretAccessKey')}+ fullWidth={true}+ data-tid="secretAccessKey"+ onChange={this.handleInputChange}+ value={this.state.accessKey}+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </FormControl>+ </Grid>+ <Grid item xs={6}>+ <FormControl+ error={this.state.errorTextPath}+ >+ <InputLabel htmlFor="bucketName">{i18n.t('core:bucketName')}</InputLabel>+ <Input+ required+ margin="dense"+ name="bucketName"+ label={i18n.t('core:bucketName')}+ fullWidth={true}+ data-tid="bucketName"+ onChange={this.handleInputChange}+ value={this.state.accessKey}+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </FormControl>+ </Grid>+ <Grid item xs={6}>+ <NoSsr>+ <Select+ options={this.suggestions}+ styles={selectStyles}+ fullWidth={true}+ components={this.components}+ value={this.state.region}+ onChange={this.handleChange('region')}+ placeholder="Search a region"+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </NoSsr>+ </Grid>+ </Grid>+ );+ }+}++/* function mapStateToProps(state) {+ return {+ };+} */++/* function mapDispatchToProps(dispatch) {+ return bindActionCreators({+ searchLocationIndex: AppActions.searchLocationIndex,+ loadDirectoryContent: AppActions.loadDirectoryContent+ }, dispatch);+} */++export default S3Form;+/*export default withStyles(styles)(+ S3Form+ // connect(mapStateToProps, mapDispatchToProps)(Search)+);*/diff --git a/app/components/dialogs/CreateLocationDialog.js b/app/components/dialogs/CreateLocationDialog.jsindex 257331365..a01008b54 100644--- a/app/components/dialogs/CreateLocationDialog.js+++ b/app/components/dialogs/CreateLocationDialog.js@@ -21,6 +21,7 @@ import React from 'react';import Button from '@material-ui/core/Button';import TextField from '@material-ui/core/TextField';import uuidv1 from 'uuid';+import { withStyles } from '@material-ui/core/styles';import DialogActions from '@material-ui/core/DialogActions';import DialogContent from '@material-ui/core/DialogContent';import DialogTitle from '@material-ui/core/DialogTitle';@@ -34,6 +35,9 @@ import FormGroup from '@material-ui/core/FormGroup';import Input from '@material-ui/core/Input';import InputLabel from '@material-ui/core/InputLabel';import InputAdornment from '@material-ui/core/InputAdornment';+import Radio from '@material-ui/core/Radio';+import RadioGroup from '@material-ui/core/RadioGroup';+import FormLabel from '@material-ui/core/FormLabel';import GenericDialog, { onEnterKeyHandler } from './GenericDialog';import i18n from '../../services/i18n';import PlatformIO from '../../services/platform-io';@@ -41,8 +45,24 @@ import { extractDirectoryName } from '../../utils/paths';import { type Location } from '../../reducers/locations';import AppConfig from '../../config';import { Pro } from '../../pro';+import S3Form from '../S3Form';++const styles = theme => ({+ root: {+ display: 'flex',+ },+ formControl: {+ margin: theme.spacing.unit * 3,+ },+ group: {+ margin: `${theme.spacing.unit}px 0`,+ display: 'flex',+ flexDirection: 'row'+ },+});type Props = {+ classes: Object,open?: boolean,onClose: () => void,addLocation: (location: Location) => void,@@ -62,7 +82,8 @@ type State = {isDefault?: boolean,isReadOnly?: boolean,watchForChanges?: boolean,- persistIndex?: boolean+ persistIndex?: boolean,+ type: string};class CreateLocationDialog extends React.Component<Props, State> {@@ -77,7 +98,8 @@ class CreateLocationDialog extends React.Component<Props, State> {isDefault: false,isReadOnly: false,watchForChanges: false,- persistIndex: false+ persistIndex: false,+ type: 'local'};componentWillReceiveProps = (nextProps: any) => {@@ -89,7 +111,7 @@ class CreateLocationDialog extends React.Component<Props, State> {perspective: '',isDefault: false,isReadOnly: false,- watchForChanges: Pro ? true : false,+ watchForChanges: !!Pro,persistIndex: false});}@@ -166,106 +188,136 @@ class CreateLocationDialog extends React.Component<Props, State> {<DialogTitle>{i18n.t('core:createLocationTitle')}</DialogTitle>);+ handleTypeChange = event => {+ this.setState({ type: event.target.value });+ };+renderContent = () => {- return (- <DialogContent>- <FormControl- fullWidth={true}- error={this.state.errorTextPath}- >- <TextField- error={this.state.errorTextPath}- required- margin="dense"- name="name"- label={i18n.t('core:createLocationName')}- onChange={this.handleInputChange}- value={this.state.name}- data-tid="locationName"+ const { classes } = this.props;+ let content;+ if (this.state.type === 'cloud') {+ content = (<S3Form />);+ } else {+ content = (+ <div>+ <FormControlfullWidth={true}- />- {this.state.errorTextName && <FormHelperText>Invalid Name</FormHelperText>}- </FormControl>- <FormControl- fullWidth={true}- error={this.state.errorTextPath}- >- <InputLabel htmlFor="name">{i18n.t('core:createLocationPath')}</InputLabel>- <Input- required- margin="dense"- name="path"- label={i18n.t('core:createLocationPath')}+ error={this.state.errorTextPath}+ >+ <TextField+ error={this.state.errorTextPath}+ required+ margin="dense"+ name="name"+ label={i18n.t('core:createLocationName')}+ onChange={this.handleInputChange}+ value={this.state.name}+ data-tid="locationName"+ fullWidth={true}+ />+ {this.state.errorTextName && <FormHelperText>Invalid Name</FormHelperText>}+ </FormControl>+ <FormControlfullWidth={true}- data-tid="locationPath"- onChange={this.handleInputChange}- value={this.state.path}- endAdornment={- <InputAdornment position="end" style={{ height: 32 }}>- <IconButton- onClick={this.openDirectory}- >- <FolderIcon />- </IconButton>- </InputAdornment>- }- />- {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ error={this.state.errorTextPath}+ >+ <InputLabel htmlFor="path">{i18n.t('core:createLocationPath')}</InputLabel>+ <Input+ required+ margin="dense"+ name="path"+ label={i18n.t('core:createLocationPath')}+ fullWidth={true}+ data-tid="locationPath"+ onChange={this.handleInputChange}+ value={this.state.path}+ endAdornment={+ <InputAdornment position="end" style={{ height: 32 }}>+ <IconButton+ onClick={this.openDirectory}+ >+ <FolderIcon />+ </IconButton>+ </InputAdornment>+ }+ />+ {this.state.errorTextPath && <FormHelperText>{i18n.t('core:invalidPath')}</FormHelperText>}+ </FormControl>+ <FormGroup>+ <FormControlLabel+ control={+ <Switch+ data-tid="locationIsDefault"+ name="isDefault"+ checked={this.state.isDefault}+ onChange={this.handleInputChange}+ />+ }+ label={i18n.t('core:startupLocation')}+ />+ <FormControlLabel+ control={+ <Switch+ disabled={!Pro}+ data-tid="changeReadOnlyMode"+ name="isReadOnly"+ checked={this.state.isReadOnly}+ onChange={this.handleInputChange}+ />+ }+ label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}+ />+ <FormControlLabel+ control={+ <Switch+ disabled={!Pro}+ data-tid="changePersistIndex"+ name="persistIndex"+ checked={this.state.persistIndex}+ onChange={this.handleInputChange}+ />+ }+ label={i18n.t('core:persistIndexSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}+ />+ <FormControlLabel+ control={+ <Switch+ disabled={!Pro}+ data-tid="changeWatchForChanges"+ name="watchForChanges"+ checked={this.state.watchForChanges}+ onChange={this.handleInputChange}+ />+ }+ label={i18n.t('core:watchForChangesInLocation') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}+ />+ </FormGroup>+ </div>+ );+ }+ return (+ <DialogContent>+ <FormControl className={classes.formControl} component="fieldset" fullWidth={true}>+ <span>Type</span>+ <RadioGroup+ for="local"+ component="label"+ aria-label="Type"+ name="Type"+ value={this.state.type}+ onChange={this.handleTypeChange}+ row+ >+ <FormControlLabel value="local" control={<Radio />} label="Local" />+ <FormControlLabel value="cloud" control={<Radio />} label="Cloud (S3 AWS)" />+ </RadioGroup></FormControl>- <FormGroup>- <FormControlLabel- control={- <Switch- data-tid="locationIsDefault"- name="isDefault"- checked={this.state.isDefault}- onChange={this.handleInputChange}- />- }- label={i18n.t('core:startupLocation')}- />- <FormControlLabel- control={- <Switch- disabled={!Pro}- data-tid="changeReadOnlyMode"- name="isReadOnly"- checked={this.state.isReadOnly}- onChange={this.handleInputChange}- />- }- label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}- />- <FormControlLabel- control={- <Switch- disabled={!Pro}- data-tid="changePersistIndex"- name="persistIndex"- checked={this.state.persistIndex}- onChange={this.handleInputChange}- />- }- label={i18n.t('core:persistIndexSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}- />- <FormControlLabel- control={- <Switch- disabled={!Pro}- data-tid="changeWatchForChanges"- name="watchForChanges"- checked={this.state.watchForChanges}- onChange={this.handleInputChange}- />- }- label={i18n.t('core:watchForChangesInLocation') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}- />- </FormGroup>+ {content}</DialogContent>);};-/*+ /*<FormControlfullWidth={true}>@@ -314,4 +366,4 @@ class CreateLocationDialog extends React.Component<Props, State> {}}-export default CreateLocationDialog;+export default withStyles(styles)(CreateLocationDialog);diff --git a/package.json b/package.jsonindex b478ce100..deb533dca 100644--- a/package.json+++ b/package.json@@ -221,6 +221,7 @@"react-router": "^4.3.1","react-router-dom": "^4.3.1","react-router-redux": "^5.0.0-alpha.6",+ "react-select": "^2.1.1","react-split-pane": "^0.1.84","redux": "^3.7.2","redux-persist": "^4.8.2",diff --git a/yarn.lock b/yarn.lockindex 129df42d7..9bf475c90 100644--- a/yarn.lock+++ b/yarn.lock@@ -53,6 +53,13 @@dependencies:"@babel/types" "7.0.0-beta.44"+"@babel/helper-module-imports@^7.0.0":+ version "7.0.0"+ resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d"+ integrity sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==+ dependencies:+ "@babel/types" "^7.0.0"+"@babel/[email protected]":version "7.0.0-beta.44"resolved "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc"@@ -127,6 +134,62 @@lodash "^4.2.0"to-fast-properties "^2.0.0"+"@babel/types@^7.0.0":+ version "7.1.5"+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.1.5.tgz#12fe64e91a431234b7017b4227a78cc0eec4e081"+ integrity sha512-sJeqa/d9eM/bax8Ivg+fXF7FpN3E/ZmTrWbkk6r+g7biVYfALMnLin4dKijsaqEhpd2xvOGfQTkQkD31YCVV4A==+ dependencies:+ esutils "^2.0.2"+ lodash "^4.17.10"+ to-fast-properties "^2.0.0"++"@emotion/babel-utils@^0.6.4":+ version "0.6.10"+ resolved "https://registry.yarnpkg.com/@emotion/babel-utils/-/babel-utils-0.6.10.tgz#83dbf3dfa933fae9fc566e54fbb45f14674c6ccc"+ integrity sha512-/fnkM/LTEp3jKe++T0KyTszVGWNKPNOUJfjNKLO17BzQ6QPxgbg3whayom1Qr2oLFH3V92tDymU+dT5q676uow==+ dependencies:+ "@emotion/hash" "^0.6.6"+ "@emotion/memoize" "^0.6.6"+ "@emotion/serialize" "^0.9.1"+ convert-source-map "^1.5.1"+ find-root "^1.1.0"+ source-map "^0.7.2"++"@emotion/hash@^0.6.2", "@emotion/hash@^0.6.6":+ version "0.6.6"+ resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.6.6.tgz#62266c5f0eac6941fece302abad69f2ee7e25e44"+ integrity sha512-ojhgxzUHZ7am3D2jHkMzPpsBAiB005GF5YU4ea+8DNPybMk01JJUM9V9YRlF/GE95tcOm8DxQvWA2jq19bGalQ==++"@emotion/memoize@^0.6.1", "@emotion/memoize@^0.6.6":+ version "0.6.6"+ resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b"+ integrity sha512-h4t4jFjtm1YV7UirAFuSuFGyLa+NNxjdkq6DpFLANNQY5rHueFZHVY+8Cu1HYVP6DrheB0kv4m5xPjo7eKT7yQ==++"@emotion/serialize@^0.9.1":+ version "0.9.1"+ resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.9.1.tgz#a494982a6920730dba6303eb018220a2b629c145"+ integrity sha512-zTuAFtyPvCctHBEL8KZ5lJuwBanGSutFEncqLn/m9T1a6a93smBStK+bZzcNPgj4QS8Rkw9VTwJGhRIUVO8zsQ==+ dependencies:+ "@emotion/hash" "^0.6.6"+ "@emotion/memoize" "^0.6.6"+ "@emotion/unitless" "^0.6.7"+ "@emotion/utils" "^0.8.2"++"@emotion/stylis@^0.7.0":+ version "0.7.1"+ resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.7.1.tgz#50f63225e712d99e2b2b39c19c70fff023793ca5"+ integrity sha512-/SLmSIkN13M//53TtNxgxo57mcJk/UJIDFRKwOiLIBEyBHEcipgR6hNMQ/59Sl4VjCJ0Z/3zeAZyvnSLPG/1HQ==++"@emotion/unitless@^0.6.2", "@emotion/unitless@^0.6.7":+ version "0.6.7"+ resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.6.7.tgz#53e9f1892f725b194d5e6a1684a7b394df592397"+ integrity sha512-Arj1hncvEVqQ2p7Ega08uHLr1JuRYBuO5cIvcA+WWEQ5+VmkOE3ZXzl04NbQxeQpWX78G7u6MqxKuNX3wvYZxg==++"@emotion/utils@^0.8.2":+ version "0.8.2"+ resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.8.2.tgz#576ff7fb1230185b619a75d258cbc98f0867a8dc"+ integrity sha512-rLu3wcBWH4P5q1CGoSSH/i9hrXs7SlbRLkoq9IGuoPYNGQvDJ3pt/wmOM+XgYjIDRMVIdkUWt0RsfzF50JfnCw==+"@material-ui/core@^3.3.2":version "3.3.2"resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-3.3.2.tgz#ca9ce331ac5a31ef8acc732305967f3e5cfe4934"@@ -1192,6 +1255,24 @@ babel-plugin-dev-expression@^0.2.1:resolved "https://registry.yarnpkg.com/babel-plugin-dev-expression/-/babel-plugin-dev-expression-0.2.1.tgz#d4a7beefefbb50e3f2734990a82a2486cf9eb9ee"integrity sha1-1Ke+7++7UOPyc0mQqCokhs+eue4=+babel-plugin-emotion@^9.2.11:+ version "9.2.11"+ resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-9.2.11.tgz#319c005a9ee1d15bb447f59fe504c35fd5807728"+ integrity sha512-dgCImifnOPPSeXod2znAmgc64NhaaOjGEHROR/M+lmStb3841yK1sgaDYAYMnlvWNz8GnpwIPN0VmNpbWYZ+VQ==+ dependencies:+ "@babel/helper-module-imports" "^7.0.0"+ "@emotion/babel-utils" "^0.6.4"+ "@emotion/hash" "^0.6.2"+ "@emotion/memoize" "^0.6.1"+ "@emotion/stylis" "^0.7.0"+ babel-plugin-macros "^2.0.0"+ babel-plugin-syntax-jsx "^6.18.0"+ convert-source-map "^1.5.0"+ find-root "^1.1.0"+ mkdirp "^0.5.1"+ source-map "^0.5.7"+ touch "^2.0.1"+babel-plugin-flow-runtime@^0.17.0:version "0.17.0"resolved "https://registry.yarnpkg.com/babel-plugin-flow-runtime/-/babel-plugin-flow-runtime-0.17.0.tgz#51d7b2e6a526edc48fad8d8eed45bf7cc32ffc08"@@ -1219,6 +1300,14 @@ babel-plugin-jest-hoist@^23.2.0:resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.2.0.tgz#e61fae05a1ca8801aadee57a6d66b8cefaf44167"integrity sha1-5h+uBaHKiAGq3uV6bWa4zvr0QWc=+babel-plugin-macros@^2.0.0:+ version "2.4.2"+ resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.4.2.tgz#21b1a2e82e2130403c5ff785cba6548e9b644b28"+ integrity sha512-NBVpEWN4OQ/bHnu1fyDaAaTPAjnhXCEPqr1RwqxrU7b6tZ2hypp+zX4hlNfmVGfClD5c3Sl6Hfj5TJNF5VG5aA==+ dependencies:+ cosmiconfig "^5.0.5"+ resolve "^1.8.1"+babel-plugin-minify-builtins@^0.2.0:version "0.2.0"resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.2.0.tgz#317f824b0907210b6348671bb040ca072e2e0c82"@@ -1357,7 +1446,7 @@ babel-plugin-syntax-function-bind@^6.8.0:resolved "https://registry.yarnpkg.com/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46"integrity sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=-babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0:+babel-plugin-syntax-jsx@^6.18.0, 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"integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=@@ -2567,6 +2656,13 @@ cache-base@^1.0.1:union-value "^1.0.0"unset-value "^1.0.0"+caller-callsite@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"+ integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=+ dependencies:+ callsites "^2.0.0"+caller-path@^0.1.0:version "0.1.0"resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f"@@ -2574,6 +2670,13 @@ caller-path@^0.1.0:dependencies:callsites "^0.2.0"+caller-path@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4"+ integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=+ dependencies:+ caller-callsite "^2.0.0"+callsites@^0.2.0:version "0.2.0"resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca"@@ -3229,6 +3332,13 @@ convert-source-map@^1.4.0, convert-source-map@^1.5.1:resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"integrity sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=+convert-source-map@^1.5.0:+ version "1.6.0"+ resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"+ integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==+ dependencies:+ safe-buffer "~5.1.1"+version "1.0.6"resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"@@ -3289,6 +3399,16 @@ cosmiconfig@^2.1.1:parse-json "^2.2.0"require-from-string "^1.1.0"+cosmiconfig@^5.0.5:+ version "5.0.7"+ resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.0.7.tgz#39826b292ee0d78eda137dfa3173bd1c21a43b04"+ integrity sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA==+ dependencies:+ import-fresh "^2.0.0"+ is-directory "^0.3.1"+ js-yaml "^3.9.0"+ parse-json "^4.0.0"+crc32-stream@^2.0.0:version "2.0.0"resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-2.0.0.tgz#e3cdd3b4df3168dd74e3de3fbbcb7b297fe908f4"@@ -3310,6 +3430,19 @@ create-ecdh@^4.0.0:bn.js "^4.1.0"elliptic "^6.0.0"+create-emotion@^9.2.12:+ version "9.2.12"+ resolved "https://registry.yarnpkg.com/create-emotion/-/create-emotion-9.2.12.tgz#0fc8e7f92c4f8bb924b0fef6781f66b1d07cb26f"+ integrity sha512-P57uOF9NL2y98Xrbl2OuiDQUZ30GVmASsv5fbsjF4Hlraip2kyAvMm+2PoYUvFFw03Fhgtxk3RqZSm2/qHL9hA==+ dependencies:+ "@emotion/hash" "^0.6.2"+ "@emotion/memoize" "^0.6.1"+ "@emotion/stylis" "^0.7.0"+ "@emotion/unitless" "^0.6.2"+ csstype "^2.5.2"+ stylis "^3.5.0"+ stylis-rule-sheet "^0.0.10"+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"@@ -4338,6 +4471,14 @@ emojis-list@^2.0.0:resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=+emotion@^9.1.2:+ version "9.2.12"+ resolved "https://registry.yarnpkg.com/emotion/-/emotion-9.2.12.tgz#53925aaa005614e65c6e43db8243c843574d1ea9"+ integrity sha512-hcx7jppaI8VoXxIWEhxpDW7I+B4kq9RNzQLmsrF6LY8BGKqe2N+gFAQr0EfuFucFlPs2A9HM4+xNj4NeqEWIOQ==+ dependencies:+ babel-plugin-emotion "^9.2.11"+ create-emotion "^9.2.12"+encodeurl@~1.0.2:version "1.0.2"resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"@@ -5195,6 +5336,11 @@ find-root@^0.1.1:resolved "https://registry.yarnpkg.com/find-root/-/find-root-0.1.2.tgz#98d2267cff1916ccaf2743b3a0eea81d79d7dcd1"integrity sha1-mNImfP8ZFsyvJ0OzoO6oHXnX3NE=+find-root@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"+ integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==+find-up@^1.0.0:version "1.1.2"resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"@@ -6302,6 +6448,14 @@ immediate@~3.0.5:resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=+import-fresh@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546"+ integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY=+ dependencies:+ caller-path "^2.0.0"+ 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"@@ -7349,7 +7503,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:version "1.0.0"resolved "https://github.com/sara-nl/js-webdav-client#978c2c74692091de2bc8c60268045980508a0959"-js-yaml@^3.12.0, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.1:+js-yaml@^3.12.0, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.0, js-yaml@^3.9.1:version "3.12.0"resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1"integrity sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==@@ -8307,6 +8461,11 @@ memoize-one@^3.0.1:resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-3.1.1.tgz#ef609811e3bc28970eac2884eece64d167830d17"integrity sha512-YqVh744GsMlZu6xkhGslPSqSurOv6P+kLN2J3ysBZfagLcL5FdRK/0UpgLoL8hwjjEvvAVkjJZyFP+1T6p1vgA==+memoize-one@^4.0.0:+ version "4.0.3"+ resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-4.0.3.tgz#cdfdd942853f1a1b4c71c5336b8c49da0bf0273c"+ integrity sha512-QmpUu4KqDmX0plH4u+tf0riMc1KHE1+lw95cMrLlXQAFOx/xnBtwhZ52XJxd9X2O6kwKBqX32kmhbhlobD0cuw==+memory-fs@^0.2.0:version "0.2.0"resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.2.0.tgz#f2bb25368bc121e391c2520de92969caee0a0290"@@ -8869,6 +9028,13 @@ nopt@^4.0.1:abbrev "1"osenv "^0.1.4"+nopt@~1.0.10:+ version "1.0.10"+ resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"+ integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=+ dependencies:+ abbrev "1"+normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, 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"@@ -10234,6 +10400,13 @@ raf@^3.1.0:dependencies:performance-now "^2.1.0"+raf@^3.4.0:+ version "3.4.1"+ resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"+ integrity sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==+ dependencies:+ performance-now "^2.1.0"+rafl@~1.2.1:version "1.2.2"resolved "https://registry.yarnpkg.com/rafl/-/rafl-1.2.2.tgz#fe930f758211020d47e38815f5196a8be4150740"@@ -10503,6 +10676,13 @@ react-i18next@^4.6.1:dependencies:hoist-non-react-statics "1.2.0"+react-input-autosize@^2.2.1:+ version "2.2.1"+ resolved "https://registry.yarnpkg.com/react-input-autosize/-/react-input-autosize-2.2.1.tgz#ec428fa15b1592994fb5f9aa15bb1eb6baf420f8"+ integrity sha512-3+K4CD13iE4lQQ2WlF8PuV5htfmTRLH6MDnfndHM6LuBRszuXnuyIfE7nhSKt8AzRBZ50bu0sAhkNMeS5pxQQA==+ dependencies:+ prop-types "^15.5.8"+react-joyride@^2.0.0-11:version "2.0.0-11"resolved "https://registry.yarnpkg.com/react-joyride/-/react-joyride-2.0.0-11.tgz#5cbf4f86b83dfbf9242e7d19482a0fd7cc69ad52"@@ -10605,6 +10785,19 @@ react-router@^4.2.0, react-router@^4.3.1:prop-types "^15.6.1"warning "^4.0.1"+react-select@^2.1.1:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/react-select/-/react-select-2.1.1.tgz#762d0babd8c7c46a944db51cbb72e4ee117253f9"+ integrity sha512-ukie2LJStNfJEJ7wtqA+crAfzYpkpPr86urvmJGisECwsWJob9boCM4zjmKCi5QR7G8uY9+v7ZoliJpeCz/4xw==+ dependencies:+ classnames "^2.2.5"+ emotion "^9.1.2"+ memoize-one "^4.0.0"+ prop-types "^15.6.0"+ raf "^3.4.0"+ react-input-autosize "^2.2.1"+ react-transition-group "^2.2.1"+react-split-pane@^0.1.84:version "0.1.84"resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.84.tgz#b9c1499cbc40b09cf29953ee6f5ff1039d31906e"@@ -11319,7 +11512,7 @@ [email protected]:resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=-resolve@^1.1.6, resolve@^1.2.0, resolve@^1.5.0, resolve@^1.6.0:+resolve@^1.1.6, resolve@^1.2.0, resolve@^1.5.0, resolve@^1.6.0, resolve@^1.8.1:version "1.8.1"resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26"integrity sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==@@ -11936,6 +12129,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==+source-map@^0.7.2:+ version "0.7.3"+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"+ integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==+sourcemapped-stacktrace@^1.1.6:version "1.1.8"resolved "https://registry.yarnpkg.com/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.8.tgz#6b7a3f1a6fb15f6d40e701e23ce404553480d688"@@ -12381,6 +12579,16 @@ stylelint@^7.10.1, stylelint@^7.5.0, stylelint@^7.9.0:svg-tags "^1.0.0"table "^4.0.1"+stylis-rule-sheet@^0.0.10:+ version "0.0.10"+ resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"+ integrity sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==++stylis@^3.5.0:+ version "3.5.3"+ resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.3.tgz#99fdc46afba6af4deff570825994181a5e6ce546"+ integrity sha512-TxU0aAscJghF9I3V9q601xcK3Uw1JbXvpsBGj/HULqexKOKlOEzzlIpLFRbKkCK990ccuxfXUqmPbIIo7Fq/cQ==+sugarss@^0.2.0:version "0.2.0"resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-0.2.0.tgz#ac34237563327c6ff897b64742bf6aec190ad39e"@@ -12713,6 +12921,13 @@ toposort@^1.0.0:resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=+touch@^2.0.1:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/touch/-/touch-2.0.2.tgz#ca0b2a3ae3211246a61b16ba9e6cbf1596287164"+ integrity sha512-qjNtvsFXTRq7IuMLweVgFxmEuQ6gLbRs2jQxL80TtZ31dEKWYIxRXquij6w6VimyDek5hD3PytljHmEtAs2u0A==+ dependencies:+ nopt "~1.0.10"+tough-cookie@>=2.3.3, tough-cookie@^2.3.3, tough-cookie@~2.4.3:version "2.4.3"resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"