diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2024-03-22 02:33:33 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2024-03-21 21:24:35 +0000 |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/components/downloadManager | |
parent | Upgrade electron to '29.1.5' (diff) | |
download | ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip |
Upgrade node modules
Diffstat (limited to 'src/components/downloadManager')
-rw-r--r-- | src/components/downloadManager/DownloadManagerDashboard.tsx | 34 | ||||
-rw-r--r-- | src/components/downloadManager/DownloadManagerLayout.tsx | 13 |
2 files changed, 26 insertions, 21 deletions
diff --git a/src/components/downloadManager/DownloadManagerDashboard.tsx b/src/components/downloadManager/DownloadManagerDashboard.tsx index 25e73d48f..490be269d 100644 --- a/src/components/downloadManager/DownloadManagerDashboard.tsx +++ b/src/components/downloadManager/DownloadManagerDashboard.tsx | |||
@@ -1,29 +1,29 @@ | |||
1 | import { Component } from 'react'; | 1 | import { mdiDownload } from '@mdi/js'; |
2 | import { observer } from 'mobx-react'; | 2 | import CancelIcon from '@mui/icons-material/Cancel'; |
3 | import { IntlShape, defineMessages, injectIntl } from 'react-intl'; | 3 | import ClearAllIcon from '@mui/icons-material/ClearAll'; |
4 | import { shell } from 'electron'; | 4 | import DeleteIcon from '@mui/icons-material/Delete'; |
5 | import prettyBytes from 'pretty-bytes'; | 5 | import FolderIcon from '@mui/icons-material/Folder'; |
6 | import PauseIcon from '@mui/icons-material/Pause'; | ||
7 | import PlayArrowIcon from '@mui/icons-material/PlayArrow'; | ||
6 | import { | 8 | import { |
7 | Typography, | 9 | Box, |
8 | Card, | 10 | Card, |
9 | CardContent, | 11 | CardContent, |
10 | LinearProgress, | ||
11 | Box, | ||
12 | IconButton, | 12 | IconButton, |
13 | LinearProgress, | ||
13 | ListItemButton, | 14 | ListItemButton, |
14 | ListItemIcon, | 15 | ListItemIcon, |
15 | ListItemText, | 16 | ListItemText, |
17 | Typography, | ||
16 | } from '@mui/material'; | 18 | } from '@mui/material'; |
17 | import { mdiDownload } from '@mdi/js'; | 19 | import { shell } from 'electron'; |
18 | import PlayArrowIcon from '@mui/icons-material/PlayArrow'; | ||
19 | import PauseIcon from '@mui/icons-material/Pause'; | ||
20 | import CancelIcon from '@mui/icons-material/Cancel'; | ||
21 | import FolderIcon from '@mui/icons-material/Folder'; | ||
22 | import DeleteIcon from '@mui/icons-material/Delete'; | ||
23 | import ClearAllIcon from '@mui/icons-material/ClearAll'; | ||
24 | import { round } from 'lodash'; | 20 | import { round } from 'lodash'; |
25 | import { RealStores } from '../../stores'; | 21 | import { observer } from 'mobx-react'; |
26 | import { Actions } from '../../actions/lib/actions'; | 22 | import prettyBytes from 'pretty-bytes'; |
23 | import { Component } from 'react'; | ||
24 | import { type IntlShape, defineMessages, injectIntl } from 'react-intl'; | ||
25 | import type { Actions } from '../../actions/lib/actions'; | ||
26 | import type { RealStores } from '../../stores'; | ||
27 | import Icon from '../ui/icon'; | 27 | import Icon from '../ui/icon'; |
28 | 28 | ||
29 | const messages = defineMessages({ | 29 | const messages = defineMessages({ |
diff --git a/src/components/downloadManager/DownloadManagerLayout.tsx b/src/components/downloadManager/DownloadManagerLayout.tsx index 1e018cfb8..08c0ace1e 100644 --- a/src/components/downloadManager/DownloadManagerLayout.tsx +++ b/src/components/downloadManager/DownloadManagerLayout.tsx | |||
@@ -1,14 +1,19 @@ | |||
1 | import React, { Component } from 'react'; | ||
2 | import { inject, observer } from 'mobx-react'; | 1 | import { inject, observer } from 'mobx-react'; |
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 2 | import type React from 'react'; |
3 | import { Component } from 'react'; | ||
4 | import { | ||
5 | type WrappedComponentProps, | ||
6 | defineMessages, | ||
7 | injectIntl, | ||
8 | } from 'react-intl'; | ||
4 | 9 | ||
5 | import { mdiClose } from '@mdi/js'; | 10 | import { mdiClose } from '@mdi/js'; |
6 | import { Outlet } from 'react-router-dom'; | 11 | import { Outlet } from 'react-router-dom'; |
7 | import { Actions } from '../../actions/lib/actions'; | 12 | import type { Actions } from '../../actions/lib/actions'; |
8 | import { isEscKeyPress } from '../../jsUtils'; | 13 | import { isEscKeyPress } from '../../jsUtils'; |
9 | import Appear from '../ui/effects/Appear'; | 14 | import Appear from '../ui/effects/Appear'; |
10 | import ErrorBoundary from '../util/ErrorBoundary'; | ||
11 | import Icon from '../ui/icon'; | 15 | import Icon from '../ui/icon'; |
16 | import ErrorBoundary from '../util/ErrorBoundary'; | ||
12 | 17 | ||
13 | const messages = defineMessages({ | 18 | const messages = defineMessages({ |
14 | closeSettings: { | 19 | closeSettings: { |