Upgraded and removed some unwanted packages.

pull/86/head
Akshay Joshi 2022-06-02 18:07:59 +05:30
parent 20bc17eb6f
commit 3bc373fff0
3 changed files with 816 additions and 1604 deletions

View File

@ -19,7 +19,7 @@
"@emotion/react": "^11.1.5", "@emotion/react": "^11.1.5",
"@emotion/styled": "^10.0.14", "@emotion/styled": "^10.0.14",
"@emotion/utils": "^1.0.0", "@emotion/utils": "^1.0.0",
"@svgr/webpack": "^5.5.0", "@svgr/webpack": "^6.2.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1", "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"autoprefixer": "^10.2.4", "autoprefixer": "^10.2.4",
"axios-mock-adapter": "^1.17.0", "axios-mock-adapter": "^1.17.0",
@ -37,10 +37,6 @@
"exports-loader": "^2.0.0", "exports-loader": "^2.0.0",
"html-react-parser": "^1.2.7", "html-react-parser": "^1.2.7",
"image-minimizer-webpack-plugin": "^2.2.0", "image-minimizer-webpack-plugin": "^2.2.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-pngquant": "^9.0.1",
"imagemin-svgo": "^8.0.0",
"is-docker": "^2.1.1", "is-docker": "^2.1.1",
"istanbul-instrumenter-loader": "^3.0.1", "istanbul-instrumenter-loader": "^3.0.1",
"jasmine-core": "^3.6.0", "jasmine-core": "^3.6.0",
@ -74,7 +70,7 @@
"webpack": "^5.21.2", "webpack": "^5.21.2",
"webpack-bundle-analyzer": "^4.4.0", "webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0", "webpack-cli": "^4.5.0",
"yarn-audit-html": "^2.0.0" "yarn-audit-html": "^3.0.1"
}, },
"dependencies": { "dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-class-properties": "^7.10.4",
@ -86,8 +82,6 @@
"@material-ui/icons": "^4.11.2", "@material-ui/icons": "^4.11.2",
"@material-ui/lab": "4.0.0-alpha.58", "@material-ui/lab": "4.0.0-alpha.58",
"@material-ui/pickers": "^3.2.10", "@material-ui/pickers": "^3.2.10",
"@mui/icons-material": "^5.4.2",
"@mui/material": "^5.4.3",
"@projectstorm/react-diagrams": "^6.6.1", "@projectstorm/react-diagrams": "^6.6.1",
"@simonwep/pickr": "^1.5.1", "@simonwep/pickr": "^1.5.1",
"@szhsin/react-menu": "^2.2.0", "@szhsin/react-menu": "^2.2.0",
@ -141,7 +135,7 @@
"moment-timezone": "^0.5.34", "moment-timezone": "^0.5.34",
"mousetrap": "^1.6.3", "mousetrap": "^1.6.3",
"notificar": "^1.0.1", "notificar": "^1.0.1",
"notistack": "^2.0.0", "notistack": "^1.0.10",
"path-fx": "^2.0.0", "path-fx": "^2.0.0",
"pathfinding": "^0.4.18", "pathfinding": "^0.4.18",
"paths-js": "^0.4.9", "paths-js": "^0.4.9",

View File

@ -18,14 +18,14 @@ import Graphs from './Graphs';
import Notify from '../../../static/js/helpers/Notifier'; import Notify from '../../../static/js/helpers/Notifier';
import { Box, Tab, Tabs } from '@material-ui/core'; import { Box, Tab, Tabs } from '@material-ui/core';
import { PgIconButton } from '../../../static/js/components/Buttons'; import { PgIconButton } from '../../../static/js/components/Buttons';
import CancelIcon from '@mui/icons-material/Cancel'; import CancelIcon from '@material-ui/icons/Cancel';
import SquareIcon from '@mui/icons-material/Square'; import StopSharpIcon from '@material-ui/icons/StopSharp';
import ArrowRightOutlinedIcon from '@mui/icons-material/ArrowRightOutlined'; import ArrowRightOutlinedIcon from '@material-ui/icons/ArrowRightOutlined';
import ArrowDropDownOutlinedIcon from '@mui/icons-material/ArrowDropDownOutlined'; import ArrowDropDownOutlinedIcon from '@material-ui/icons/ArrowDropDownOutlined';
import WelcomeDashboard from './WelcomeDashboard'; import WelcomeDashboard from './WelcomeDashboard';
import ActiveQuery from './ActiveQuery.ui'; import ActiveQuery from './ActiveQuery.ui';
import _ from 'lodash'; import _ from 'lodash';
import CachedIcon from '@mui/icons-material/Cached'; import CachedOutlinedIcon from '@material-ui/icons/CachedOutlined';
import EmptyPanelMessage from '../../../static/js/components/EmptyPanelMessage'; import EmptyPanelMessage from '../../../static/js/components/EmptyPanelMessage';
import TabPanel from '../../../static/js/components/TabPanel'; import TabPanel from '../../../static/js/components/TabPanel';
@ -287,7 +287,7 @@ export default function Dashboard({
<PgIconButton <PgIconButton
size="xs" size="xs"
noBorder noBorder
icon={<SquareIcon/>} icon={<StopSharpIcon/>}
onClick={() => { onClick={() => {
if (!canTakeAction(row, 'cancel')) if (!canTakeAction(row, 'cancel'))
return; return;
@ -774,7 +774,7 @@ export default function Dashboard({
size="xs" size="xs"
noBorder noBorder
className={classes.refreshButton} className={classes.refreshButton}
icon={<CachedIcon />} icon={<CachedOutlinedIcon />}
onClick={(e) => { onClick={(e) => {
e.preventDefault(); e.preventDefault();
setRefresh(!refresh); setRefresh(!refresh);

File diff suppressed because it is too large Load Diff