diff options
author | 2024-03-22 02:33:33 +0530 | |
---|---|---|
committer | 2024-03-21 21:24:35 +0000 | |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/components/settings | |
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/settings')
12 files changed, 140 insertions, 91 deletions
diff --git a/src/components/settings/SettingsLayout.tsx b/src/components/settings/SettingsLayout.tsx index f96ad7394..17f8c3e33 100644 --- a/src/components/settings/SettingsLayout.tsx +++ b/src/components/settings/SettingsLayout.tsx | |||
@@ -1,12 +1,16 @@ | |||
1 | import { Component, PropsWithChildren, ReactElement } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
4 | import { mdiClose } from '@mdi/js'; | 1 | import { mdiClose } from '@mdi/js'; |
2 | import { observer } from 'mobx-react'; | ||
3 | import { Component, type PropsWithChildren, type ReactElement } from 'react'; | ||
4 | import { | ||
5 | type WrappedComponentProps, | ||
6 | defineMessages, | ||
7 | injectIntl, | ||
8 | } from 'react-intl'; | ||
5 | import { Outlet } from 'react-router-dom'; | 9 | import { Outlet } from 'react-router-dom'; |
6 | import ErrorBoundary from '../util/ErrorBoundary'; | 10 | import { isEscKeyPress } from '../../jsUtils'; |
7 | import Appear from '../ui/effects/Appear'; | 11 | import Appear from '../ui/effects/Appear'; |
8 | import Icon from '../ui/icon'; | 12 | import Icon from '../ui/icon'; |
9 | import { isEscKeyPress } from '../../jsUtils'; | 13 | import ErrorBoundary from '../util/ErrorBoundary'; |
10 | 14 | ||
11 | const messages = defineMessages({ | 15 | const messages = defineMessages({ |
12 | closeSettings: { | 16 | closeSettings: { |
diff --git a/src/components/settings/account/AccountDashboard.tsx b/src/components/settings/account/AccountDashboard.tsx index eab019084..76b4ce14e 100644 --- a/src/components/settings/account/AccountDashboard.tsx +++ b/src/components/settings/account/AccountDashboard.tsx | |||
@@ -1,18 +1,22 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | 1 | import { observer } from 'mobx-react'; |
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 2 | import { Component } from 'react'; |
3 | import { | ||
4 | type WrappedComponentProps, | ||
5 | defineMessages, | ||
6 | injectIntl, | ||
7 | } from 'react-intl'; | ||
4 | import { Tooltip as ReactTooltip } from 'react-tooltip'; | 8 | import { Tooltip as ReactTooltip } from 'react-tooltip'; |
5 | import { H1, H2 } from '../../ui/headline'; | 9 | import { H1, H2 } from '../../ui/headline'; |
6 | 10 | ||
7 | import Loader from '../../ui/loader'; | ||
8 | import Button from '../../ui/button'; | ||
9 | import Infobox from '../../ui/infobox/index'; | ||
10 | import { | 11 | import { |
11 | DEFAULT_LOADER_COLOR, | 12 | DEFAULT_LOADER_COLOR, |
12 | LOCAL_SERVER, | ||
13 | LIVE_FRANZ_API, | 13 | LIVE_FRANZ_API, |
14 | LOCAL_SERVER, | ||
14 | } from '../../../config'; | 15 | } from '../../../config'; |
15 | import User from '../../../models/User'; | 16 | import type User from '../../../models/User'; |
17 | import Button from '../../ui/button'; | ||
18 | import Infobox from '../../ui/infobox/index'; | ||
19 | import Loader from '../../ui/loader'; | ||
16 | 20 | ||
17 | const messages = defineMessages({ | 21 | const messages = defineMessages({ |
18 | headline: { | 22 | headline: { |
diff --git a/src/components/settings/navigation/SettingsNavigation.tsx b/src/components/settings/navigation/SettingsNavigation.tsx index 66763c6a6..0504b6553 100644 --- a/src/components/settings/navigation/SettingsNavigation.tsx +++ b/src/components/settings/navigation/SettingsNavigation.tsx | |||
@@ -1,12 +1,16 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
3 | import { inject, observer } from 'mobx-react'; | 1 | import { inject, observer } from 'mobx-react'; |
2 | import { Component } from 'react'; | ||
3 | import { | ||
4 | type WrappedComponentProps, | ||
5 | defineMessages, | ||
6 | injectIntl, | ||
7 | } from 'react-intl'; | ||
4 | import { NavLink } from 'react-router-dom'; | 8 | import { NavLink } from 'react-router-dom'; |
5 | import { StoresProps } from '../../../@types/ferdium-components.types'; | 9 | import type { StoresProps } from '../../../@types/ferdium-components.types'; |
6 | import { | 10 | import { |
7 | LOCAL_SERVER, | ||
8 | LIVE_FERDIUM_API, | 11 | LIVE_FERDIUM_API, |
9 | LIVE_FRANZ_API, | 12 | LIVE_FRANZ_API, |
13 | LOCAL_SERVER, | ||
10 | } from '../../../config'; | 14 | } from '../../../config'; |
11 | import globalMessages from '../../../i18n/globalMessages'; | 15 | import globalMessages from '../../../i18n/globalMessages'; |
12 | 16 | ||
diff --git a/src/components/settings/releaseNotes/ReleaseNotesDashboard.tsx b/src/components/settings/releaseNotes/ReleaseNotesDashboard.tsx index 9b17e551c..1afc17491 100644 --- a/src/components/settings/releaseNotes/ReleaseNotesDashboard.tsx +++ b/src/components/settings/releaseNotes/ReleaseNotesDashboard.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { IntlShape, defineMessages, injectIntl } from 'react-intl'; | ||
4 | import Markdown from 'markdown-to-jsx'; | 1 | import Markdown from 'markdown-to-jsx'; |
2 | import { observer } from 'mobx-react'; | ||
3 | import { Component } from 'react'; | ||
4 | import { type IntlShape, defineMessages, injectIntl } from 'react-intl'; | ||
5 | import { ferdiumVersion } from '../../../environment-remote'; | 5 | import { ferdiumVersion } from '../../../environment-remote'; |
6 | import { | 6 | import { |
7 | getFerdiumVersion, | 7 | getFerdiumVersion, |
diff --git a/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx b/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx index 4a6fe54f4..23db7141e 100644 --- a/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx +++ b/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx | |||
@@ -1,14 +1,18 @@ | |||
1 | import { 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 { Component } from 'react'; |
3 | import { | ||
4 | type WrappedComponentProps, | ||
5 | defineMessages, | ||
6 | injectIntl, | ||
7 | } from 'react-intl'; | ||
4 | 8 | ||
5 | import { mdiClose } from '@mdi/js'; | 9 | import { mdiClose } from '@mdi/js'; |
6 | import { Outlet } from 'react-router-dom'; | 10 | import { Outlet } from 'react-router-dom'; |
7 | import ErrorBoundary from '../../util/ErrorBoundary'; | 11 | import type { Actions } from '../../../actions/lib/actions'; |
12 | import { isEscKeyPress } from '../../../jsUtils'; | ||
8 | import Appear from '../../ui/effects/Appear'; | 13 | import Appear from '../../ui/effects/Appear'; |
9 | import Icon from '../../ui/icon'; | 14 | import Icon from '../../ui/icon'; |
10 | import { isEscKeyPress } from '../../../jsUtils'; | 15 | import ErrorBoundary from '../../util/ErrorBoundary'; |
11 | import { Actions } from '../../../actions/lib/actions'; | ||
12 | 16 | ||
13 | const messages = defineMessages({ | 17 | const messages = defineMessages({ |
14 | closeSettings: { | 18 | closeSettings: { |
diff --git a/src/components/settings/services/EditServiceForm.tsx b/src/components/settings/services/EditServiceForm.tsx index 520cb3c46..69893c16c 100644 --- a/src/components/settings/services/EditServiceForm.tsx +++ b/src/components/settings/services/EditServiceForm.tsx | |||
@@ -1,25 +1,29 @@ | |||
1 | import { Component, FormEvent, ReactElement } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { Link } from 'react-router-dom'; | ||
4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
5 | import { mdiInformation } from '@mdi/js'; | 1 | import { mdiInformation } from '@mdi/js'; |
6 | import { noop } from 'lodash'; | 2 | import { noop } from 'lodash'; |
7 | import Form from '../../../lib/Form'; | 3 | import { observer } from 'mobx-react'; |
8 | import Tabs from '../../ui/Tabs/Tabs'; | 4 | import { Component, type FormEvent, type ReactElement } from 'react'; |
9 | import TabItem from '../../ui/Tabs/TabItem'; | 5 | import { |
10 | import Input from '../../ui/input/index'; | 6 | type WrappedComponentProps, |
11 | import Toggle from '../../ui/toggle'; | 7 | defineMessages, |
12 | import Slider from '../../ui/Slider'; | 8 | injectIntl, |
13 | import Button from '../../ui/button'; | 9 | } from 'react-intl'; |
14 | import ImageUpload from '../../ui/imageUpload'; | 10 | import { Link } from 'react-router-dom'; |
15 | import Select from '../../ui/Select'; | ||
16 | import { isMac } from '../../../environment'; | 11 | import { isMac } from '../../../environment'; |
12 | import { normalizedUrl } from '../../../helpers/url-helpers'; | ||
17 | import globalMessages from '../../../i18n/globalMessages'; | 13 | import globalMessages from '../../../i18n/globalMessages'; |
18 | import Icon from '../../ui/icon'; | 14 | import type Form from '../../../lib/Form'; |
15 | import type { IRecipe } from '../../../models/Recipe'; | ||
16 | import type Service from '../../../models/Service'; | ||
17 | import Select from '../../ui/Select'; | ||
18 | import Slider from '../../ui/Slider'; | ||
19 | import TabItem from '../../ui/Tabs/TabItem'; | ||
20 | import Tabs from '../../ui/Tabs/Tabs'; | ||
21 | import Button from '../../ui/button'; | ||
19 | import { H3 } from '../../ui/headline'; | 22 | import { H3 } from '../../ui/headline'; |
20 | import { IRecipe } from '../../../models/Recipe'; | 23 | import Icon from '../../ui/icon'; |
21 | import Service from '../../../models/Service'; | 24 | import ImageUpload from '../../ui/imageUpload'; |
22 | import { normalizedUrl } from '../../../helpers/url-helpers'; | 25 | import Input from '../../ui/input/index'; |
26 | import Toggle from '../../ui/toggle'; | ||
23 | 27 | ||
24 | const messages = defineMessages({ | 28 | const messages = defineMessages({ |
25 | saveService: { | 29 | saveService: { |
diff --git a/src/components/settings/services/ServiceError.tsx b/src/components/settings/services/ServiceError.tsx index 87efdeb96..426565547 100644 --- a/src/components/settings/services/ServiceError.tsx +++ b/src/components/settings/services/ServiceError.tsx | |||
@@ -1,7 +1,11 @@ | |||
1 | import { Component, ReactElement } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | 1 | import { observer } from 'mobx-react'; |
2 | import { Component, type ReactElement } from 'react'; | ||
3 | import { | ||
4 | type WrappedComponentProps, | ||
5 | defineMessages, | ||
6 | injectIntl, | ||
7 | } from 'react-intl'; | ||
3 | import { Link } from 'react-router-dom'; | 8 | import { Link } from 'react-router-dom'; |
4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
5 | import Infobox from '../../ui/Infobox'; | 9 | import Infobox from '../../ui/Infobox'; |
6 | import Button from '../../ui/button'; | 10 | import Button from '../../ui/button'; |
7 | 11 | ||
diff --git a/src/components/settings/services/ServiceItem.tsx b/src/components/settings/services/ServiceItem.tsx index 35b63b160..7df59f1d2 100644 --- a/src/components/settings/services/ServiceItem.tsx +++ b/src/components/settings/services/ServiceItem.tsx | |||
@@ -1,10 +1,14 @@ | |||
1 | import { Component, ReactElement } from 'react'; | ||
2 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
3 | import { Tooltip as ReactTooltip } from 'react-tooltip'; | ||
4 | import { observer } from 'mobx-react'; | ||
5 | import classnames from 'classnames'; | ||
6 | import { mdiBellOff, mdiMessageBulletedOff, mdiPower } from '@mdi/js'; | 1 | import { mdiBellOff, mdiMessageBulletedOff, mdiPower } from '@mdi/js'; |
7 | import ServiceModel from '../../../models/Service'; | 2 | import classnames from 'classnames'; |
3 | import { observer } from 'mobx-react'; | ||
4 | import { Component, type ReactElement } from 'react'; | ||
5 | import { | ||
6 | type WrappedComponentProps, | ||
7 | defineMessages, | ||
8 | injectIntl, | ||
9 | } from 'react-intl'; | ||
10 | import { Tooltip as ReactTooltip } from 'react-tooltip'; | ||
11 | import type ServiceModel from '../../../models/Service'; | ||
8 | import Icon from '../../ui/icon'; | 12 | import Icon from '../../ui/icon'; |
9 | 13 | ||
10 | const messages = defineMessages({ | 14 | const messages = defineMessages({ |
diff --git a/src/components/settings/services/ServicesDashboard.tsx b/src/components/settings/services/ServicesDashboard.tsx index b8c3ce3f0..e63898ae5 100644 --- a/src/components/settings/services/ServicesDashboard.tsx +++ b/src/components/settings/services/ServicesDashboard.tsx | |||
@@ -1,16 +1,20 @@ | |||
1 | import { Component, ReactElement } from 'react'; | 1 | import type { To } from 'history'; |
2 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
3 | import { Component, type ReactElement } from 'react'; | ||
4 | import { | ||
5 | type WrappedComponentProps, | ||
6 | defineMessages, | ||
7 | injectIntl, | ||
8 | } from 'react-intl'; | ||
3 | import { Link } from 'react-router-dom'; | 9 | import { Link } from 'react-router-dom'; |
4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 10 | import type Service from '../../../models/Service'; |
5 | import { To } from 'history'; | ||
6 | import SearchInput from '../../ui/SearchInput'; | ||
7 | import Infobox from '../../ui/Infobox'; | ||
8 | import Loader from '../../ui/loader'; | ||
9 | import FAB from '../../ui/FAB'; | 11 | import FAB from '../../ui/FAB'; |
10 | import ServiceItem from './ServiceItem'; | 12 | import Infobox from '../../ui/Infobox'; |
13 | import SearchInput from '../../ui/SearchInput'; | ||
11 | import Appear from '../../ui/effects/Appear'; | 14 | import Appear from '../../ui/effects/Appear'; |
12 | import { H1 } from '../../ui/headline'; | 15 | import { H1 } from '../../ui/headline'; |
13 | import Service from '../../../models/Service'; | 16 | import Loader from '../../ui/loader'; |
17 | import ServiceItem from './ServiceItem'; | ||
14 | 18 | ||
15 | const messages = defineMessages({ | 19 | const messages = defineMessages({ |
16 | headline: { | 20 | headline: { |
diff --git a/src/components/settings/settings/EditSettingsForm.tsx b/src/components/settings/settings/EditSettingsForm.tsx index 81cfe8b12..598158e20 100644 --- a/src/components/settings/settings/EditSettingsForm.tsx +++ b/src/components/settings/settings/EditSettingsForm.tsx | |||
@@ -1,31 +1,20 @@ | |||
1 | import { systemPreferences } from '@electron/remote'; | 1 | import { systemPreferences } from '@electron/remote'; |
2 | import { Component, ReactElement } from 'react'; | ||
3 | import { observer } from 'mobx-react'; | ||
4 | import prettyBytes from 'pretty-bytes'; | ||
5 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
6 | import { mdiGithub, mdiOpenInNew, mdiPowerPlug } from '@mdi/js'; | 2 | import { mdiGithub, mdiOpenInNew, mdiPowerPlug } from '@mdi/js'; |
7 | import { noop } from 'lodash'; | 3 | import { noop } from 'lodash'; |
8 | import Form from '../../../lib/Form'; | 4 | import { observer } from 'mobx-react'; |
9 | import Button from '../../ui/button'; | 5 | import prettyBytes from 'pretty-bytes'; |
10 | import Toggle from '../../ui/toggle'; | 6 | import { Component, type ReactElement } from 'react'; |
11 | import Select from '../../ui/Select'; | ||
12 | import Input from '../../ui/input/index'; | ||
13 | import ColorPickerInput from '../../ui/colorPickerInput'; | ||
14 | import Infobox from '../../ui/Infobox'; | ||
15 | import { H1, H2, H3, H5 } from '../../ui/headline'; | ||
16 | import { | 7 | import { |
17 | ferdiumVersion, | 8 | type WrappedComponentProps, |
18 | userDataCertsPath, | 9 | defineMessages, |
19 | userDataPath, | 10 | injectIntl, |
20 | userDataRecipesPath, | 11 | } from 'react-intl'; |
21 | } from '../../../environment-remote'; | ||
22 | import { updateVersionParse } from '../../../helpers/update-helpers'; | ||
23 | import { | 12 | import { |
24 | DEFAULT_ACCENT_COLOR, | 13 | DEFAULT_ACCENT_COLOR, |
25 | DEFAULT_APP_SETTINGS, | 14 | DEFAULT_APP_SETTINGS, |
26 | FERDIUM_TRANSLATION, | 15 | FERDIUM_TRANSLATION, |
27 | GITHUB_FRANZ_URL, | ||
28 | GITHUB_FERDIUM_URL, | 16 | GITHUB_FERDIUM_URL, |
17 | GITHUB_FRANZ_URL, | ||
29 | SPLIT_COLUMNS_MAX, | 18 | SPLIT_COLUMNS_MAX, |
30 | SPLIT_COLUMNS_MIN, | 19 | SPLIT_COLUMNS_MIN, |
31 | } from '../../../config'; | 20 | } from '../../../config'; |
@@ -35,10 +24,25 @@ import { | |||
35 | isWindows, | 24 | isWindows, |
36 | lockFerdiumShortcutKey, | 25 | lockFerdiumShortcutKey, |
37 | } from '../../../environment'; | 26 | } from '../../../environment'; |
27 | import { | ||
28 | ferdiumVersion, | ||
29 | userDataCertsPath, | ||
30 | userDataPath, | ||
31 | userDataRecipesPath, | ||
32 | } from '../../../environment-remote'; | ||
33 | import { updateVersionParse } from '../../../helpers/update-helpers'; | ||
38 | import { openExternalUrl, openPath } from '../../../helpers/url-helpers'; | 34 | import { openExternalUrl, openPath } from '../../../helpers/url-helpers'; |
39 | import globalMessages from '../../../i18n/globalMessages'; | 35 | import globalMessages from '../../../i18n/globalMessages'; |
40 | import Icon from '../../ui/icon'; | 36 | import type Form from '../../../lib/Form'; |
37 | import Infobox from '../../ui/Infobox'; | ||
38 | import Select from '../../ui/Select'; | ||
41 | import Slider from '../../ui/Slider'; | 39 | import Slider from '../../ui/Slider'; |
40 | import Button from '../../ui/button'; | ||
41 | import ColorPickerInput from '../../ui/colorPickerInput'; | ||
42 | import { H1, H2, H3, H5 } from '../../ui/headline'; | ||
43 | import Icon from '../../ui/icon'; | ||
44 | import Input from '../../ui/input/index'; | ||
45 | import Toggle from '../../ui/toggle'; | ||
42 | 46 | ||
43 | const debug = require('../../../preload-safe-debug')( | 47 | const debug = require('../../../preload-safe-debug')( |
44 | 'Ferdium:EditSettingsForm', | 48 | 'Ferdium:EditSettingsForm', |
diff --git a/src/components/settings/team/TeamDashboard.tsx b/src/components/settings/team/TeamDashboard.tsx index 96613373e..b2d5aa6d5 100644 --- a/src/components/settings/team/TeamDashboard.tsx +++ b/src/components/settings/team/TeamDashboard.tsx | |||
@@ -1,16 +1,20 @@ | |||
1 | // TODO: Is this feature even being used? If not, then we can cleanup this code | 1 | // TODO: Is this feature even being used? If not, then we can cleanup this code |
2 | 2 | ||
3 | import { Component, ReactElement } from 'react'; | 3 | import classnames from 'classnames'; |
4 | import { observer } from 'mobx-react'; | 4 | import { observer } from 'mobx-react'; |
5 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 5 | import { Component, type ReactElement } from 'react'; |
6 | import { | ||
7 | type WrappedComponentProps, | ||
8 | defineMessages, | ||
9 | injectIntl, | ||
10 | } from 'react-intl'; | ||
11 | import withStyles, { type WithStylesProps } from 'react-jss'; | ||
6 | import { Tooltip as ReactTooltip } from 'react-tooltip'; | 12 | import { Tooltip as ReactTooltip } from 'react-tooltip'; |
7 | import withStyles, { WithStylesProps } from 'react-jss'; | 13 | import { DEFAULT_LOADER_COLOR, LIVE_FRANZ_API } from '../../../config'; |
8 | import classnames from 'classnames'; | ||
9 | import Loader from '../../ui/loader'; | ||
10 | import Button from '../../ui/button'; | ||
11 | import Infobox from '../../ui/Infobox'; | 14 | import Infobox from '../../ui/Infobox'; |
15 | import Button from '../../ui/button'; | ||
12 | import { H1 } from '../../ui/headline'; | 16 | import { H1 } from '../../ui/headline'; |
13 | import { DEFAULT_LOADER_COLOR, LIVE_FRANZ_API } from '../../../config'; | 17 | import Loader from '../../ui/loader'; |
14 | 18 | ||
15 | const messages = defineMessages({ | 19 | const messages = defineMessages({ |
16 | headline: { | 20 | headline: { |
diff --git a/src/components/settings/user/EditUserForm.tsx b/src/components/settings/user/EditUserForm.tsx index 5a2a5a83e..f4b84166a 100644 --- a/src/components/settings/user/EditUserForm.tsx +++ b/src/components/settings/user/EditUserForm.tsx | |||
@@ -1,14 +1,23 @@ | |||
1 | import { Component, FormEvent, FormEventHandler, ReactElement } from 'react'; | 1 | import { noop } from 'lodash'; |
2 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 3 | import { |
4 | Component, | ||
5 | type FormEvent, | ||
6 | type FormEventHandler, | ||
7 | type ReactElement, | ||
8 | } from 'react'; | ||
9 | import { | ||
10 | type WrappedComponentProps, | ||
11 | defineMessages, | ||
12 | injectIntl, | ||
13 | } from 'react-intl'; | ||
4 | import { Link } from 'react-router-dom'; | 14 | import { Link } from 'react-router-dom'; |
5 | import { noop } from 'lodash'; | 15 | import type Form from '../../../lib/Form'; |
6 | import Input from '../../ui/input/index'; | ||
7 | import Form from '../../../lib/Form'; | ||
8 | import Button from '../../ui/button'; | ||
9 | import Radio from '../../ui/Radio'; | ||
10 | import Infobox from '../../ui/Infobox'; | 16 | import Infobox from '../../ui/Infobox'; |
17 | import Radio from '../../ui/Radio'; | ||
18 | import Button from '../../ui/button'; | ||
11 | import { H2 } from '../../ui/headline'; | 19 | import { H2 } from '../../ui/headline'; |
20 | import Input from '../../ui/input/index'; | ||
12 | 21 | ||
13 | const messages = defineMessages({ | 22 | const messages = defineMessages({ |
14 | headline: { | 23 | headline: { |