diff --git a/.eslintrc.json b/.eslintrc.json index e17ccbd4f..641421bea 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -37,7 +37,7 @@ "position": "before" } ], - "groups": [["external", "builtin"], "internal", ["parent", "sibling", "index"]], + "groups": [["external", "builtin"], "internal", "parent", "sibling", "index"], "alphabetize": { "order": "asc", "caseInsensitive": true diff --git a/package.json b/package.json index 91fbd7fa5..e43c10fc6 100644 --- a/package.json +++ b/package.json @@ -151,9 +151,9 @@ "babel-plugin-transform-remove-console": "^6.9.4", "deprecated-react-native-prop-types": "^2.3.0", "dotenv": "^16.0.3", - "eslint": "^8.19.0", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.26.0", + "eslint": "^8.52.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^26.5.3", "metro-react-native-babel-preset": "0.76.8", "node-libs-react-native": "^1.2.1", diff --git a/src/apis/kord-fi/index.ts b/src/apis/kord-fi/index.ts index 72daaa345..621856592 100644 --- a/src/apis/kord-fi/index.ts +++ b/src/apis/kord-fi/index.ts @@ -15,6 +15,7 @@ import { tzktUrl } from 'src/utils/linking'; import { tzToMutez } from 'src/utils/tezos.util'; import { fallbackTezosToolkit } from '../youves/utils'; + import { KordFiLendStats, KordFiStatsResponse, KordFiUserDepositsResponse } from './types'; const kordFiApi = axios.create({ diff --git a/src/apis/objkt/index.ts b/src/apis/objkt/index.ts index ceaad6463..70e38da1f 100644 --- a/src/apis/objkt/index.ts +++ b/src/apis/objkt/index.ts @@ -41,8 +41,6 @@ import { } from './types'; import { transformObjktCollectionItem } from './utils'; -export { objktCurrencies } from './constants'; - export const fetchCollections$ = (accountPkh: string): Observable => { const request = buildGetCollectionsQuery(accountPkh); diff --git a/src/beacon/beacon-handler.ts b/src/beacon/beacon-handler.ts index 8feee21b0..ae960cbe1 100644 --- a/src/beacon/beacon-handler.ts +++ b/src/beacon/beacon-handler.ts @@ -11,6 +11,7 @@ import type { ExtendedP2PPairingResponse } from '@airgap/beacon-types'; import { EventFn } from '../config/general'; import { isDefined } from '../utils/is-defined'; + import { BeaconStorage } from './storage'; const WALLET_CLIENT_ERROR = 'Wallet client not defined!'; diff --git a/src/beacon/use-beacon-handler.hook.ts b/src/beacon/use-beacon-handler.hook.ts index 98a9d9449..325fe25bc 100644 --- a/src/beacon/use-beacon-handler.hook.ts +++ b/src/beacon/use-beacon-handler.hook.ts @@ -10,6 +10,7 @@ import { ModalsEnum } from '../navigator/enums/modals.enum'; import { useNavigation } from '../navigator/hooks/use-navigation.hook'; import { showErrorToast } from '../toast/toast.utils'; import { isDefined } from '../utils/is-defined'; + import { BeaconHandler, isBeaconMessage } from './beacon-handler'; export const beaconDeepLinkHandler = async ( diff --git a/src/biometry/biometry-availability.provider.tsx b/src/biometry/biometry-availability.provider.tsx index e02690032..bf4ddc1d7 100644 --- a/src/biometry/biometry-availability.provider.tsx +++ b/src/biometry/biometry-availability.provider.tsx @@ -3,6 +3,7 @@ import React, { FC, useState } from 'react'; import ReactNativeBiometrics, { BiometryType } from 'react-native-biometrics'; import { useAppStateStatus } from '../hooks/use-app-state-status.hook'; + import { BiometryAvailabilityContext } from './biometry-availability.context'; const rnBiometrics = new ReactNativeBiometrics(); diff --git a/src/components/accept-ads-banner/accept-ads-banner.tsx b/src/components/accept-ads-banner/accept-ads-banner.tsx index d380184a0..77b817757 100644 --- a/src/components/accept-ads-banner/accept-ads-banner.tsx +++ b/src/components/accept-ads-banner/accept-ads-banner.tsx @@ -9,6 +9,7 @@ import { formatSize } from 'src/styles/format-size'; import { ButtonLargePrimary } from '../button/button-large/button-large-primary/button-large-primary'; import { ButtonLargeSecondary } from '../button/button-large/button-large-secondary/button-large-secondary'; import { Divider } from '../divider/divider'; + import { AcceptAdsBannerSelectors } from './accept-ads-banner.selectors'; import { useCommonBannerStyles } from './common-banner.styles'; diff --git a/src/components/account-dropdown/account-dropdown-base.tsx b/src/components/account-dropdown/account-dropdown-base.tsx index 9593f27f3..6a3db07f2 100644 --- a/src/components/account-dropdown/account-dropdown-base.tsx +++ b/src/components/account-dropdown/account-dropdown-base.tsx @@ -13,6 +13,7 @@ import { isDefined } from 'src/utils/is-defined'; import { BottomSheetActionButton } from '../bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button'; import { Dropdown, DropdownActionButtonsComponent, DropdownValueBaseProps } from '../dropdown/dropdown'; + import { accountEqualityFn } from './account-equality-fn'; const ActionButtons: DropdownActionButtonsComponent = ({ onPress }) => { diff --git a/src/components/account-dropdown/account-form-dropdown.tsx b/src/components/account-dropdown/account-form-dropdown.tsx index 6c202f736..79e97cb01 100644 --- a/src/components/account-dropdown/account-form-dropdown.tsx +++ b/src/components/account-dropdown/account-form-dropdown.tsx @@ -7,6 +7,7 @@ import { AccountBaseInterface } from '../../interfaces/account.interface'; import { DropdownValueComponent } from '../dropdown/dropdown'; import { DropdownItemContainer } from '../dropdown/dropdown-item-container/dropdown-item-container'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { AccountDropdownItem, renderAccountListItem } from './account-dropdown-item/account-dropdown-item'; import { accountEqualityFn } from './account-equality-fn'; diff --git a/src/components/account-dropdown/account-form-section-dropdown.tsx b/src/components/account-dropdown/account-form-section-dropdown.tsx index f31f6cd7f..f5ddb6b83 100644 --- a/src/components/account-dropdown/account-form-section-dropdown.tsx +++ b/src/components/account-dropdown/account-form-section-dropdown.tsx @@ -9,6 +9,7 @@ import { SectionDropdownDataInterface } from '../../interfaces/section-dropdown- import { DropdownValueComponent } from '../dropdown/dropdown'; import { DropdownItemContainer } from '../dropdown/dropdown-item-container/dropdown-item-container'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { AccountDropdownItem, renderAccountListItem } from './account-dropdown-item/account-dropdown-item'; import { accountEqualityFn } from './account-equality-fn'; diff --git a/src/components/account-dropdown/current-account-dropdown.tsx b/src/components/account-dropdown/current-account-dropdown.tsx index f0da1c60d..655aa61a8 100644 --- a/src/components/account-dropdown/current-account-dropdown.tsx +++ b/src/components/account-dropdown/current-account-dropdown.tsx @@ -10,6 +10,7 @@ import { useSelectedAccountSelector, useVisibleAccountsListSelector } from 'src/ import { DropdownValueComponent, DropdownValueProps } from '../dropdown/dropdown'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { AccountDropdownBase } from './account-dropdown-base'; import { AccountDropdownItem, renderAccountListItem } from './account-dropdown-item/account-dropdown-item'; import { CurrentAccountDropdownStyles } from './current-account-dropdown.styles'; diff --git a/src/components/activity-groups-list/activity-group-item/activity-group-amount-change/activity-group-amount-change.tsx b/src/components/activity-groups-list/activity-group-item/activity-group-amount-change/activity-group-amount-change.tsx index 4961504f5..d4e628b99 100644 --- a/src/components/activity-groups-list/activity-group-item/activity-group-amount-change/activity-group-amount-change.tsx +++ b/src/components/activity-groups-list/activity-group-item/activity-group-amount-change/activity-group-amount-change.tsx @@ -4,6 +4,7 @@ import { Text, View } from 'react-native'; import { NonZeroAmounts } from '../../../../interfaces/non-zero-amounts.interface'; import { conditionalStyle } from '../../../../utils/conditional-style'; import { formatAssetAmount } from '../../../../utils/number.util'; + import { useActivityGroupAmountChangeStyles } from './activity-group-amount-change.styles'; interface Props { diff --git a/src/components/activity-groups-list/activity-group-item/activity-group-dollar-amount-change/activity-group-dollar-amount-change.tsx b/src/components/activity-groups-list/activity-group-item/activity-group-dollar-amount-change/activity-group-dollar-amount-change.tsx index 5791302a1..27febed04 100644 --- a/src/components/activity-groups-list/activity-group-item/activity-group-dollar-amount-change/activity-group-dollar-amount-change.tsx +++ b/src/components/activity-groups-list/activity-group-item/activity-group-dollar-amount-change/activity-group-dollar-amount-change.tsx @@ -4,6 +4,7 @@ import { View } from 'react-native'; import { NonZeroAmounts } from '../../../../interfaces/non-zero-amounts.interface'; import { conditionalStyle } from '../../../../utils/conditional-style'; import { FormattedAmount } from '../../../formatted-amount'; + import { useActivityGroupDollarAmountChangeStyles } from './activity-group-dollar-amount-change.styles'; interface Props { diff --git a/src/components/activity-groups-list/activity-group-item/activity-group-item.tsx b/src/components/activity-groups-list/activity-group-item/activity-group-item.tsx index 5e9039727..e42e078fb 100644 --- a/src/components/activity-groups-list/activity-group-item/activity-group-item.tsx +++ b/src/components/activity-groups-list/activity-group-item/activity-group-item.tsx @@ -10,6 +10,7 @@ import { tzktUrl } from '../../../utils/linking'; import { Divider } from '../../divider/divider'; import { ExternalLinkButton } from '../../icon/external-link-button/external-link-button'; import { PublicKeyHashText } from '../../public-key-hash-text/public-key-hash-text'; + import { ActivityGroupAmountChange } from './activity-group-amount-change/activity-group-amount-change'; import { ActivityGroupDollarAmountChange } from './activity-group-dollar-amount-change/activity-group-dollar-amount-change'; import { useActivityGroupItemStyles } from './activity-group-item.styles'; diff --git a/src/components/activity-groups-list/activity-group-item/activity-group-type/activity-group-type.tsx b/src/components/activity-groups-list/activity-group-item/activity-group-type/activity-group-type.tsx index 5730472aa..78c911b1c 100644 --- a/src/components/activity-groups-list/activity-group-item/activity-group-type/activity-group-type.tsx +++ b/src/components/activity-groups-list/activity-group-item/activity-group-type/activity-group-type.tsx @@ -5,6 +5,7 @@ import { ActivityGroup } from '../../../../interfaces/activity.interface'; import { formatSize } from '../../../../styles/format-size'; import { Divider } from '../../../divider/divider'; import { Icon } from '../../../icon/icon'; + import { useActivityGroupTypeStyles } from './activity-group-type.styles'; import { useActivityGroupInfo } from './use-activity-group-info.hook'; diff --git a/src/components/activity-groups-list/activity-group-item/activity-status-badge/activity-status-badge.tsx b/src/components/activity-groups-list/activity-group-item/activity-status-badge/activity-status-badge.tsx index ed9f050a4..e19632a59 100644 --- a/src/components/activity-groups-list/activity-group-item/activity-status-badge/activity-status-badge.tsx +++ b/src/components/activity-groups-list/activity-group-item/activity-status-badge/activity-status-badge.tsx @@ -3,6 +3,7 @@ import { Text, View } from 'react-native'; import { ActivityStatusEnum } from '../../../../enums/activity-status.enum'; import { useColors } from '../../../../styles/use-colors'; + import { useActivityStatusBadgeStyles } from './activity-status-badge.styles'; interface Props { diff --git a/src/components/address-input/address-input.tsx b/src/components/address-input/address-input.tsx index a63e6cddf..58df30513 100644 --- a/src/components/address-input/address-input.tsx +++ b/src/components/address-input/address-input.tsx @@ -12,6 +12,7 @@ import { ButtonSmallSecondary } from '../button/button-small/button-small-second import { StyledTextInput } from '../styled-text-input/styled-text-input'; import { StyledTextInputProps } from '../styled-text-input/styled-text-input.props'; import { StyledTextInputStyles } from '../styled-text-input/styled-text-input.styles'; + import { AddressInputStyles } from './address-input.styles'; interface Props diff --git a/src/components/asset-amount-input/asset-amount-input.tsx b/src/components/asset-amount-input/asset-amount-input.tsx index 05160aafe..4498e5c56 100644 --- a/src/components/asset-amount-input/asset-amount-input.tsx +++ b/src/components/asset-amount-input/asset-amount-input.tsx @@ -28,6 +28,7 @@ import { TextSegmentControl } from '../segmented-control/text-segment-control/te import { TokenDropdownItem } from '../token-dropdown/token-dropdown-item/token-dropdown-item'; import { tokenEqualityFn } from '../token-dropdown/token-equality-fn'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; + import { AssetAmountInputProps, AssetAmountInputStylesConfig } from './asset-amount-input.props'; import { useAssetAmountInputStyles } from './asset-amount-input.styles'; import { dollarToTokenAmount, tokenToDollarAmount } from './asset-amount-input.utils'; diff --git a/src/components/asset-equity-text/asset-equity-text.tsx b/src/components/asset-equity-text/asset-equity-text.tsx index ee66ad16d..cd43bce95 100644 --- a/src/components/asset-equity-text/asset-equity-text.tsx +++ b/src/components/asset-equity-text/asset-equity-text.tsx @@ -6,6 +6,7 @@ import { useCurrentFiatCurrencyMetadataSelector } from '../../store/settings/set import { TokenMetadataInterface } from '../../token/interfaces/token-metadata.interface'; import { isDefined } from '../../utils/is-defined'; import { formatAssetAmount } from '../../utils/number.util'; + import { useAssetEquityTextStyles } from './asset-equity-text.styles'; interface Props { diff --git a/src/components/attention-message/attention-message.tsx b/src/components/attention-message/attention-message.tsx index 476026f08..0c7b619f3 100644 --- a/src/components/attention-message/attention-message.tsx +++ b/src/components/attention-message/attention-message.tsx @@ -6,6 +6,7 @@ import { isDefined } from '../../utils/is-defined'; import { Divider } from '../divider/divider'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useAttentionMessageStyles } from './attention-message.styles'; interface Props { diff --git a/src/components/avatar-image/avatar-image.tsx b/src/components/avatar-image/avatar-image.tsx index ddf2ed0da..39e800ff4 100644 --- a/src/components/avatar-image/avatar-image.tsx +++ b/src/components/avatar-image/avatar-image.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import FastImage from 'react-native-fast-image'; import { formatSize } from '../../styles/format-size'; + import { useAvatarImageStyles } from './avatar-image.styles'; interface Props { diff --git a/src/components/bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button.tsx b/src/components/bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button.tsx index 1c9e0b616..db25df151 100644 --- a/src/components/bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button.tsx +++ b/src/components/bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button.tsx @@ -6,6 +6,7 @@ import { conditionalStyle } from 'src/utils/conditional-style'; import { setTestID } from 'src/utils/test-id.utils'; import { TouchableOpacityComponentProps, TouchableWithAnalytics } from '../../touchable-with-analytics'; + import { useBottomSheetActionButtonStyles } from './bottom-sheet-action-button.styles'; interface Props extends Pick, TestIdProps { diff --git a/src/components/bottom-sheet/bottom-sheet.tsx b/src/components/bottom-sheet/bottom-sheet.tsx index 3304c15ba..26ed3b5ca 100644 --- a/src/components/bottom-sheet/bottom-sheet.tsx +++ b/src/components/bottom-sheet/bottom-sheet.tsx @@ -14,6 +14,7 @@ import { emptyComponent, emptyFn, EmptyFn } from '../../config/general'; import { useAppLock } from '../../shelter/app-lock/app-lock'; import { formatSize } from '../../styles/format-size'; import { isDefined } from '../../utils/is-defined'; + import { useDropdownBottomSheetStyles } from './bottom-sheet.styles'; import { BottomSheetControllerProps } from './use-bottom-sheet-controller'; diff --git a/src/components/button/button-large/button-delegate-primary/button-delegate-primary.tsx b/src/components/button/button-large/button-delegate-primary/button-delegate-primary.tsx index 0d4b534e8..19d74bbbc 100644 --- a/src/components/button/button-large/button-delegate-primary/button-delegate-primary.tsx +++ b/src/components/button/button-large/button-delegate-primary/button-delegate-primary.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Button } from '../../button'; import { ButtonLargeProps } from '../button-large.props'; + import { useButtonDelegatePrimaryStyleConfig } from './button-delegate-primary.styles'; export const ButtonDelegatePrimary: FC = props => { diff --git a/src/components/button/button-large/button-large-primary/button-large-primary.tsx b/src/components/button/button-large/button-large-primary/button-large-primary.tsx index 3a8e08f87..8da41ac89 100644 --- a/src/components/button/button-large/button-large-primary/button-large-primary.tsx +++ b/src/components/button/button-large/button-large-primary/button-large-primary.tsx @@ -3,6 +3,7 @@ import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { Button } from '../../button'; import { ButtonLargeProps } from '../button-large.props'; + import { useButtonLargePrimaryStyleConfig } from './button-large-primary.styles'; interface Props extends ButtonLargeProps { diff --git a/src/components/button/button-large/button-large-secondary/button-large-secondary.tsx b/src/components/button/button-large/button-large-secondary/button-large-secondary.tsx index 0644e1c48..f3dd01813 100644 --- a/src/components/button/button-large/button-large-secondary/button-large-secondary.tsx +++ b/src/components/button/button-large/button-large-secondary/button-large-secondary.tsx @@ -4,6 +4,7 @@ import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { Button } from '../../button'; import { ButtonStyleConfig } from '../../button-style.config'; import { ButtonLargeProps } from '../button-large.props'; + import { useButtonLargeSecondaryStyleConfig } from './button-large-secondary.styles'; interface Props extends ButtonLargeProps { diff --git a/src/components/button/button-link/button-link.tsx b/src/components/button/button-link/button-link.tsx index f7b6b2e23..cd595cfdd 100644 --- a/src/components/button/button-link/button-link.tsx +++ b/src/components/button/button-link/button-link.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Button } from '../button'; import { ButtonSharedProps } from '../button-shared.props'; + import { useButtonLinkStyles } from './button-link.styles'; interface Props extends Omit { diff --git a/src/components/button/button-medium/button-medium.tsx b/src/components/button/button-medium/button-medium.tsx index db42f5791..0235f9eb9 100644 --- a/src/components/button/button-medium/button-medium.tsx +++ b/src/components/button/button-medium/button-medium.tsx @@ -4,6 +4,7 @@ import { IconNameEnum } from '../../icon/icon-name.enum'; import { Button } from '../button'; import { ButtonSharedProps } from '../button-shared.props'; import { ButtonStyleConfig } from '../button-style.config'; + import { useButtonMediumStyleConfig } from './button-medium.styles'; interface Props extends ButtonSharedProps { diff --git a/src/components/button/button-small/button-small-delegate/button-small-delegate.tsx b/src/components/button/button-small/button-small-delegate/button-small-delegate.tsx index efb43f186..9ed1f2339 100644 --- a/src/components/button/button-small/button-small-delegate/button-small-delegate.tsx +++ b/src/components/button/button-small/button-small-delegate/button-small-delegate.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Button } from '../../button'; import { ButtonSmallProps } from '../button-small.props'; + import { useButtonSmallDelegateStyles } from './button-small-delegate.styles'; export const ButtonSmallDelegate: FC = props => { diff --git a/src/components/button/button-small/button-small-secondary/button-small-secondary.tsx b/src/components/button/button-small/button-small-secondary/button-small-secondary.tsx index 4e53770b5..9ec025a52 100644 --- a/src/components/button/button-small/button-small-secondary/button-small-secondary.tsx +++ b/src/components/button/button-small/button-small-secondary/button-small-secondary.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Button } from '../../button'; import { ButtonSmallProps } from '../button-small.props'; + import { useButtonSmallSecondaryStyles } from './button-small-secondary.styles'; export const ButtonSmallSecondary: FC = props => { diff --git a/src/components/button/button.tsx b/src/components/button/button.tsx index f6f92fa6b..bf7740045 100644 --- a/src/components/button/button.tsx +++ b/src/components/button/button.tsx @@ -9,6 +9,7 @@ import { isDefined } from 'src/utils/is-defined'; import { setTestID } from 'src/utils/test-id.utils'; import { Icon } from '../icon/icon'; + import { ButtonSharedProps } from './button-shared.props'; import { ButtonStyleConfig } from './button-style.config'; import { ButtonStyles } from './button.styles'; diff --git a/src/components/checkbox-icon/checkbox-icon.tsx b/src/components/checkbox-icon/checkbox-icon.tsx index 57470f5ad..1522233ea 100644 --- a/src/components/checkbox-icon/checkbox-icon.tsx +++ b/src/components/checkbox-icon/checkbox-icon.tsx @@ -5,6 +5,7 @@ import { EmptyFn } from '../../config/general'; import { formatSize } from '../../styles/format-size'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useCheckboxIconStyles } from './checkbox-icon.styles'; interface Props { diff --git a/src/components/collectible-image/index.tsx b/src/components/collectible-image/index.tsx index e2ee08b4d..b1e381429 100644 --- a/src/components/collectible-image/index.tsx +++ b/src/components/collectible-image/index.tsx @@ -7,6 +7,7 @@ import { isImgUriDataUri } from 'src/utils/image.utils'; import { ActivityIndicator } from '../activity-indicator'; import { AnimatedSvg } from '../animated-svg'; import { BrokenImage } from '../broken-image'; + import { useCollectibleImageStyles } from './styles'; import { useCollectibleImagesStack } from './use-images-stack'; diff --git a/src/components/data-placeholder/data-placeholder.tsx b/src/components/data-placeholder/data-placeholder.tsx index e55b965d5..c216a3723 100644 --- a/src/components/data-placeholder/data-placeholder.tsx +++ b/src/components/data-placeholder/data-placeholder.tsx @@ -4,6 +4,7 @@ import { Text, View } from 'react-native'; import { formatSize } from '../../styles/format-size'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useDataPlaceholderStyles } from './data-placeholder.styles'; interface Props { diff --git a/src/components/delegate-tag/components/delegate-tag-container/delegate-tag-container.tsx b/src/components/delegate-tag/components/delegate-tag-container/delegate-tag-container.tsx index e4f7ff2e5..625204563 100644 --- a/src/components/delegate-tag/components/delegate-tag-container/delegate-tag-container.tsx +++ b/src/components/delegate-tag/components/delegate-tag-container/delegate-tag-container.tsx @@ -4,6 +4,7 @@ import { View } from 'react-native'; import { TokenInterface } from '../../../../token/interfaces/token.interface'; import { getTokenSlug } from '../../../../token/utils/token.utils'; import { useApyStyles } from '../../../token-screen-content-container/apy.styles'; + import { useDelegateTagContainerStyles } from './delegate-tag-container.styles'; interface DelegateTagContainerProps { diff --git a/src/components/delegate-tag/delegate-tag.tsx b/src/components/delegate-tag/delegate-tag.tsx index baaafe15a..f88190d90 100644 --- a/src/components/delegate-tag/delegate-tag.tsx +++ b/src/components/delegate-tag/delegate-tag.tsx @@ -8,6 +8,7 @@ import { TokenInterface } from '../../token/interfaces/token.interface'; import { getTokenSlug } from '../../token/utils/token.utils'; import { getDelegateText } from '../../utils/get-delegate-text.util'; import { isDefined } from '../../utils/is-defined'; + import { DelegateTagContainer } from './components/delegate-tag-container/delegate-tag-container'; import { useDelegateTagStyles } from './delegate-tag.styles'; diff --git a/src/components/disclaimer/disclaimer.tsx b/src/components/disclaimer/disclaimer.tsx index 69fd850e5..3b4afaa66 100644 --- a/src/components/disclaimer/disclaimer.tsx +++ b/src/components/disclaimer/disclaimer.tsx @@ -4,6 +4,7 @@ import { Text } from 'react-native'; import { isDefined } from '../../utils/is-defined'; import { AttentionMessage } from '../attention-message/attention-message'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useDisclaimerStyles } from './disclaimer.styles'; interface Props { diff --git a/src/components/dropdown/dropdown-item-container/dropdown-item-container.tsx b/src/components/dropdown/dropdown-item-container/dropdown-item-container.tsx index f706e5787..25e94fd4f 100644 --- a/src/components/dropdown/dropdown-item-container/dropdown-item-container.tsx +++ b/src/components/dropdown/dropdown-item-container/dropdown-item-container.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; import { conditionalStyle } from '../../../utils/conditional-style'; + import { useDropdownItemContainerStyles } from './dropdown-item-container.styles'; interface Props { diff --git a/src/components/dropdown/dropdown.tsx b/src/components/dropdown/dropdown.tsx index 14a97a5b7..16b5ebeb4 100644 --- a/src/components/dropdown/dropdown.tsx +++ b/src/components/dropdown/dropdown.tsx @@ -16,6 +16,7 @@ import { useBottomSheetController } from '../bottom-sheet/use-bottom-sheet-contr import { DataPlaceholder } from '../data-placeholder/data-placeholder'; import { SearchInput } from '../search-input/search-input'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; + import { DropdownItemContainer } from './dropdown-item-container/dropdown-item-container'; import { DropdownSelectors } from './selectors'; import { useDropdownStyles } from './styles'; diff --git a/src/components/dropdown/section-dropdown.tsx b/src/components/dropdown/section-dropdown.tsx index be6a1fd7a..87e6cda4e 100644 --- a/src/components/dropdown/section-dropdown.tsx +++ b/src/components/dropdown/section-dropdown.tsx @@ -15,6 +15,7 @@ import { useBottomSheetController } from '../bottom-sheet/use-bottom-sheet-contr import { DataPlaceholder } from '../data-placeholder/data-placeholder'; import { SearchInput } from '../search-input/search-input'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; + import { DropdownItemContainer } from './dropdown-item-container/dropdown-item-container'; import { useDropdownStyles } from './styles'; diff --git a/src/components/earn-opportunity-item/stats-item/index.tsx b/src/components/earn-opportunity-item/stats-item/index.tsx index f76002454..e9907bdc1 100644 --- a/src/components/earn-opportunity-item/stats-item/index.tsx +++ b/src/components/earn-opportunity-item/stats-item/index.tsx @@ -6,6 +6,7 @@ import { FormattedAmountWithLoader } from 'src/components/formatted-amount-with- import { useCurrentFiatCurrencyMetadataSelector } from 'src/store/settings/settings-selectors'; import { AssetAmounts } from '../use-amounts'; + import { useStatsItemStyles } from './styles'; interface Props { diff --git a/src/components/earn-opportunity-tokens/index.tsx b/src/components/earn-opportunity-tokens/index.tsx index 6c5e39a64..59ea0b2ed 100644 --- a/src/components/earn-opportunity-tokens/index.tsx +++ b/src/components/earn-opportunity-tokens/index.tsx @@ -8,6 +8,7 @@ import { TokenInterface } from 'src/token/interfaces/token.interface'; import { conditionalStyle } from 'src/utils/conditional-style'; import { TruncatedText } from '../truncated-text'; + import { useEarnOpportunityTokensStyles } from './styles'; interface Props { diff --git a/src/components/error-disclaimer-message/error-disclaimer-message.tsx b/src/components/error-disclaimer-message/error-disclaimer-message.tsx index 4a9c2e211..a4c521cb7 100644 --- a/src/components/error-disclaimer-message/error-disclaimer-message.tsx +++ b/src/components/error-disclaimer-message/error-disclaimer-message.tsx @@ -7,6 +7,7 @@ import { isDefined } from '../../utils/is-defined'; import { Divider } from '../divider/divider'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useErrorDisclaimerMessageStyles } from './error-disclaimer-message.styles'; interface Props { diff --git a/src/components/fields/abstract-field.tsx b/src/components/fields/abstract-field.tsx index 4f0644314..b24a2fc23 100644 --- a/src/components/fields/abstract-field.tsx +++ b/src/components/fields/abstract-field.tsx @@ -6,6 +6,7 @@ import { formatSize } from 'src/styles/format-size'; import { CheckboxLabel } from '../checkbox-description/checkbox-label'; import { Divider } from '../divider/divider'; + import { useAbstractFieldStyles } from './abstract-field.styles'; import { FieldProps } from './field.props'; diff --git a/src/components/file-input/file-input.tsx b/src/components/file-input/file-input.tsx index 263ac8ed4..81daffaaa 100644 --- a/src/components/file-input/file-input.tsx +++ b/src/components/file-input/file-input.tsx @@ -11,6 +11,7 @@ import { isString } from '../../utils/is-string'; import { ButtonLargePrimary } from '../button/button-large/button-large-primary/button-large-primary'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; + import { useFileInputStyles } from './file-input.styles'; export interface FileInputValue { diff --git a/src/components/header-card-action-buttons/header-card-action-buttons.tsx b/src/components/header-card-action-buttons/header-card-action-buttons.tsx index 4feed7d56..d50bad9ed 100644 --- a/src/components/header-card-action-buttons/header-card-action-buttons.tsx +++ b/src/components/header-card-action-buttons/header-card-action-buttons.tsx @@ -22,6 +22,7 @@ import { useButtonMediumStyleConfig } from '../button/button-medium/button-mediu import { ButtonsContainer } from '../button/buttons-container/buttons-container'; import { Divider } from '../divider/divider'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useHeaderCardActionButtonsStyles } from './header-card-action-buttons.styles'; interface Props { diff --git a/src/components/header-card/header-card.tsx b/src/components/header-card/header-card.tsx index fcfb68719..e9fcd38c4 100644 --- a/src/components/header-card/header-card.tsx +++ b/src/components/header-card/header-card.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { LayoutChangeEvent, StyleProp, View, ViewStyle } from 'react-native'; import { InsetSubstitute } from '../inset-substitute/inset-substitute'; + import { useHeaderCardStyles } from './header-card.styles'; interface Props { diff --git a/src/components/header/exolix-screen-options.tsx b/src/components/header/exolix-screen-options.tsx index 5caab25c2..8ee1fbb55 100644 --- a/src/components/header/exolix-screen-options.tsx +++ b/src/components/header/exolix-screen-options.tsx @@ -4,6 +4,7 @@ import React, { FC, useMemo } from 'react'; import { useNavigation } from '../../navigator/hooks/use-navigation.hook'; import { useExolixStep } from '../../store/exolix/exolix-selectors'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { HeaderButton } from './header-button/header-button'; import { HeaderProgress } from './header-progress/header-progress'; import { HeaderTitle } from './header-title/header-title'; diff --git a/src/components/header/header-action/header-actions.tsx b/src/components/header/header-action/header-actions.tsx index 020d865dd..ff139e1bd 100644 --- a/src/components/header/header-action/header-actions.tsx +++ b/src/components/header/header-action/header-actions.tsx @@ -6,6 +6,7 @@ import { useNavigation } from '../../../navigator/hooks/use-navigation.hook'; import { formatSize } from '../../../styles/format-size'; import { IconNameEnum } from '../../icon/icon-name.enum'; import { TouchableIcon } from '../../icon/touchable-icon/touchable-icon'; + import { useHeaderTitleStyles } from './header-actions.styles'; export const HeaderAction: FC = () => { diff --git a/src/components/header/header-button/header-button.tsx b/src/components/header/header-button/header-button.tsx index 7e2532e41..ad719fa27 100644 --- a/src/components/header/header-button/header-button.tsx +++ b/src/components/header/header-button/header-button.tsx @@ -3,6 +3,7 @@ import React, { FC } from 'react'; import { TestIdProps } from '../../../interfaces/test-id.props'; import { IconNameEnum } from '../../icon/icon-name.enum'; import { TouchableIcon } from '../../icon/touchable-icon/touchable-icon'; + import { HeaderButtonStyles } from './header-button.styles'; interface Props extends TestIdProps { diff --git a/src/components/header/header-progress/header-progress.tsx b/src/components/header/header-progress/header-progress.tsx index 073a206c5..dcf3e5a87 100644 --- a/src/components/header/header-progress/header-progress.tsx +++ b/src/components/header/header-progress/header-progress.tsx @@ -4,6 +4,7 @@ import { Text, View } from 'react-native'; import { formatSize } from 'src/styles/format-size'; import { Divider } from '../../divider/divider'; + import { useHeaderProgressStyles } from './header-progress.styles'; const progressContainerWidth = formatSize(48); diff --git a/src/components/header/header-token-info/header-token-info.tsx b/src/components/header/header-token-info/header-token-info.tsx index 289404631..ba98a182b 100644 --- a/src/components/header/header-token-info/header-token-info.tsx +++ b/src/components/header/header-token-info/header-token-info.tsx @@ -6,6 +6,7 @@ import { TokenMetadataInterface } from 'src/token/interfaces/token-metadata.inte import { isString } from 'src/utils/is-string'; import { TokenIcon } from '../../token-icon/token-icon'; + import { useHeaderTokenInfoStyles } from './header-token-info.styles'; interface Props { diff --git a/src/components/icon-title-no-bg/icon-title-no-bg.tsx b/src/components/icon-title-no-bg/icon-title-no-bg.tsx index 40fab3286..81d9c0f42 100644 --- a/src/components/icon-title-no-bg/icon-title-no-bg.tsx +++ b/src/components/icon-title-no-bg/icon-title-no-bg.tsx @@ -6,6 +6,7 @@ import { TestIdProps } from 'src/interfaces/test-id.props'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useIconTitleNoBgStyles } from './icon-title-no-bg.styles'; interface Props extends TestIdProps { diff --git a/src/components/icon/external-link-button/external-link-button.tsx b/src/components/icon/external-link-button/external-link-button.tsx index 817de0344..16162f42c 100644 --- a/src/components/icon/external-link-button/external-link-button.tsx +++ b/src/components/icon/external-link-button/external-link-button.tsx @@ -10,6 +10,7 @@ import { openUrl } from 'src/utils/linking'; import { Icon } from '../icon'; import { IconNameEnum } from '../icon-name.enum'; + import { useExternalLinkButtonStyles } from './external-link-button.styles'; interface Props extends TestIdProps { diff --git a/src/components/icon/icon.tsx b/src/components/icon/icon.tsx index 35a907b8b..dd96e29fb 100644 --- a/src/components/icon/icon.tsx +++ b/src/components/icon/icon.tsx @@ -4,6 +4,7 @@ import { SvgProps } from 'react-native-svg'; import { TestIdProps } from '../../interfaces/test-id.props'; import { formatSize } from '../../styles/format-size'; + import { IconNameEnum } from './icon-name.enum'; import { iconNameMap } from './icon-name.map'; diff --git a/src/components/icon/touchable-icon/touchable-icon.tsx b/src/components/icon/touchable-icon/touchable-icon.tsx index c495f505f..f2c34b362 100644 --- a/src/components/icon/touchable-icon/touchable-icon.tsx +++ b/src/components/icon/touchable-icon/touchable-icon.tsx @@ -7,6 +7,7 @@ import { formatSize } from 'src/styles/format-size'; import { generateHitSlop } from 'src/styles/generate-hit-slop'; import { Icon, IconProps } from '../icon'; + import { TouchableIconStyles } from './touchable-icon.styles'; interface Props extends IconProps { diff --git a/src/components/label/label.tsx b/src/components/label/label.tsx index 202a65706..3097ab41f 100644 --- a/src/components/label/label.tsx +++ b/src/components/label/label.tsx @@ -5,6 +5,7 @@ import { formatSize } from 'src/styles/format-size'; import { isDefined } from 'src/utils/is-defined'; import { Divider } from '../divider/divider'; + import { DescriptionType, Description } from './description'; import { useLabelStyles } from './styles'; diff --git a/src/components/link-with-icon/link-with-icon.tsx b/src/components/link-with-icon/link-with-icon.tsx index 86316561d..75644a3c3 100644 --- a/src/components/link-with-icon/link-with-icon.tsx +++ b/src/components/link-with-icon/link-with-icon.tsx @@ -11,6 +11,7 @@ import { isValidAddress } from 'src/utils/tezos.util'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TruncatedText } from '../truncated-text'; + import { useLinkWithIconStyles } from './link-with-icon.styles'; interface Props { diff --git a/src/components/loader/loader.tsx b/src/components/loader/loader.tsx index 94296fe54..e6a729d82 100644 --- a/src/components/loader/loader.tsx +++ b/src/components/loader/loader.tsx @@ -7,6 +7,7 @@ import { formatSize } from 'src/styles/format-size'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { LoaderLines, VECTOR_SIZE } from './loader-lines'; import { useLoaderStyles } from './loader.styles'; diff --git a/src/components/loading-placeholder/loading-placeholder.tsx b/src/components/loading-placeholder/loading-placeholder.tsx index 6c9ac9e3c..8cd5bfbcb 100644 --- a/src/components/loading-placeholder/loading-placeholder.tsx +++ b/src/components/loading-placeholder/loading-placeholder.tsx @@ -4,6 +4,7 @@ import { Text, View } from 'react-native'; import { formatSize } from '../../styles/format-size'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useLoadingPlaceholderStyles } from './loading-placeholder.styles'; interface Props { diff --git a/src/components/mnemonic/protected-overlay/protected-overlay.tsx b/src/components/mnemonic/protected-overlay/protected-overlay.tsx index d63a9664c..ca528a87b 100644 --- a/src/components/mnemonic/protected-overlay/protected-overlay.tsx +++ b/src/components/mnemonic/protected-overlay/protected-overlay.tsx @@ -8,6 +8,7 @@ import { useColors } from '../../../styles/use-colors'; import { Divider } from '../../divider/divider'; import { Icon } from '../../icon/icon'; import { IconNameEnum } from '../../icon/icon-name.enum'; + import { useProtectedOverlayStyle } from './protected-overlay.style'; interface Props { diff --git a/src/components/mnemonic/reveal-secret-view/reveal-secret-view.tsx b/src/components/mnemonic/reveal-secret-view/reveal-secret-view.tsx index b4326c0fe..6fac5bdee 100644 --- a/src/components/mnemonic/reveal-secret-view/reveal-secret-view.tsx +++ b/src/components/mnemonic/reveal-secret-view/reveal-secret-view.tsx @@ -10,6 +10,7 @@ import { StyledTextInput } from '../../styled-text-input/styled-text-input'; import { StyledTextInputStyles } from '../../styled-text-input/styled-text-input.styles'; import { MnemonicStyles } from '../mnemonic.styles'; import { ProtectedOverlay } from '../protected-overlay/protected-overlay'; + import { RevealSecretViewSelectors } from './reveal-secret-view.selectors'; interface Props extends TestIdProps { diff --git a/src/components/modal-buttons-container/modal-buttons-container.tsx b/src/components/modal-buttons-container/modal-buttons-container.tsx index ad6c2f9b5..504af3e27 100644 --- a/src/components/modal-buttons-container/modal-buttons-container.tsx +++ b/src/components/modal-buttons-container/modal-buttons-container.tsx @@ -3,6 +3,7 @@ import { View } from 'react-native'; import { ButtonsContainer } from '../button/buttons-container/buttons-container'; import { InsetSubstitute } from '../inset-substitute/inset-substitute'; + import { useModalButtonsContainerStyles } from './modal-buttons-container.styles'; export const ModalButtonsContainer: FC = ({ children }) => { diff --git a/src/components/new-seed-phrase-attention/new-seed-phrase-attention.tsx b/src/components/new-seed-phrase-attention/new-seed-phrase-attention.tsx index 99224f7ac..b0d1437a5 100644 --- a/src/components/new-seed-phrase-attention/new-seed-phrase-attention.tsx +++ b/src/components/new-seed-phrase-attention/new-seed-phrase-attention.tsx @@ -2,6 +2,7 @@ import React from 'react'; import { Text, View } from 'react-native'; import { AttentionMessage } from '../attention-message/attention-message'; + import { useSeedPhraseAttentionStyles } from './new-seed-phrase-attention.styles'; export const NewSeedPhraseAttention = () => { diff --git a/src/components/optimal-promotion-item/optimal-promotion-item.tsx b/src/components/optimal-promotion-item/optimal-promotion-item.tsx index 70342eb03..3064b8b5f 100644 --- a/src/components/optimal-promotion-item/optimal-promotion-item.tsx +++ b/src/components/optimal-promotion-item/optimal-promotion-item.tsx @@ -13,6 +13,7 @@ import { import { useIsEmptyPromotion } from 'src/utils/optimal.utils'; import { TextPromotionItem } from '../text-promotion-item/text-promotion-item'; + import { OptimalPromotionVariantEnum } from './optimal-promotion-variant.enum'; interface Props extends TestIdProps { diff --git a/src/components/password-strength-indicator/password-strength-indicator.tsx b/src/components/password-strength-indicator/password-strength-indicator.tsx index f5219528d..482731f44 100644 --- a/src/components/password-strength-indicator/password-strength-indicator.tsx +++ b/src/components/password-strength-indicator/password-strength-indicator.tsx @@ -9,6 +9,7 @@ import { import { formatSize } from '../../styles/format-size'; import { isDefined } from '../../utils/is-defined'; import { Divider } from '../divider/divider'; + import { PasswordStrengthIndicatorItem, PasswordStrengthIndicatorItemProps diff --git a/src/components/public-key-hash-text/public-key-hash-text.tsx b/src/components/public-key-hash-text/public-key-hash-text.tsx index 946f1a37d..502f9ea96 100644 --- a/src/components/public-key-hash-text/public-key-hash-text.tsx +++ b/src/components/public-key-hash-text/public-key-hash-text.tsx @@ -8,6 +8,7 @@ import { copyStringToClipboard } from 'src/utils/clipboard.utils'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; import { TruncatedText } from '../truncated-text'; + import { usePublicKeyHashTextStyles } from './public-key-hash-text.styles'; interface Props extends MarginProps, TestIdProps { diff --git a/src/components/quote/quote.tsx b/src/components/quote/quote.tsx index b59b31529..a3e04e9a0 100644 --- a/src/components/quote/quote.tsx +++ b/src/components/quote/quote.tsx @@ -3,6 +3,7 @@ import { Text, View } from 'react-native'; import { formatSize } from '../../styles/format-size'; import { Divider } from '../divider/divider'; + import { useQuoteStyles } from './quote.styles'; interface Props { diff --git a/src/components/robot-icon/robot-icon.tsx b/src/components/robot-icon/robot-icon.tsx index 78dc94f1d..7810c8cdc 100644 --- a/src/components/robot-icon/robot-icon.tsx +++ b/src/components/robot-icon/robot-icon.tsx @@ -5,6 +5,7 @@ import { View } from 'react-native'; import { SvgXml } from 'react-native-svg'; import { formatSize } from '../../styles/format-size'; + import { useRobotIconStyles } from './robot-icon.styles'; interface Props { diff --git a/src/components/screen-container/screen-container.tsx b/src/components/screen-container/screen-container.tsx index 40c23eec5..0555ce02b 100644 --- a/src/components/screen-container/screen-container.tsx +++ b/src/components/screen-container/screen-container.tsx @@ -21,6 +21,7 @@ import { setTestID } from 'src/utils/test-id.utils'; import { ButtonsContainer } from '../button/buttons-container/buttons-container'; import { Divider } from '../divider/divider'; import { InsetSubstitute } from '../inset-substitute/inset-substitute'; + import { useScreenContainerStyles } from './screen-container.styles'; interface Props extends TestIdProps { diff --git a/src/components/search-input/search-input.tsx b/src/components/search-input/search-input.tsx index 0c8604e1d..7576a07e8 100644 --- a/src/components/search-input/search-input.tsx +++ b/src/components/search-input/search-input.tsx @@ -12,6 +12,7 @@ import { setTestID } from 'src/utils/test-id.utils'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useSearchInputStyles } from './search-input.styles'; type Props = Pick & TestIdProps; diff --git a/src/components/search/search.tsx b/src/components/search/search.tsx index a743a1832..7d32dceb6 100644 --- a/src/components/search/search.tsx +++ b/src/components/search/search.tsx @@ -12,6 +12,7 @@ import { useAnalytics } from 'src/utils/analytics/use-analytics.hook'; import { Divider } from '../divider/divider'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; + import { useSearchStyles } from './search.styles'; interface Props extends TestIdProps { diff --git a/src/components/seed-phrase-word-given/seed-phrase-word-given.tsx b/src/components/seed-phrase-word-given/seed-phrase-word-given.tsx index c194fba3c..dcdcd1fbd 100644 --- a/src/components/seed-phrase-word-given/seed-phrase-word-given.tsx +++ b/src/components/seed-phrase-word-given/seed-phrase-word-given.tsx @@ -3,6 +3,7 @@ import { Text, View } from 'react-native'; import { formatSize } from '../../styles/format-size'; import { Divider } from '../divider/divider'; + import { useSeedPhraseWordGivenStyles } from './seed-phrase-word-given.styles'; interface SeedPhraseWordGivenProps { diff --git a/src/components/seed-phrase-word-input/seed-phrase-word-input.tsx b/src/components/seed-phrase-word-input/seed-phrase-word-input.tsx index 72a666a6b..21dfe2c91 100644 --- a/src/components/seed-phrase-word-input/seed-phrase-word-input.tsx +++ b/src/components/seed-phrase-word-input/seed-phrase-word-input.tsx @@ -6,6 +6,7 @@ import { formatSize } from '../../styles/format-size'; import { setTestID } from '../../utils/test-id.utils'; import { Divider } from '../divider/divider'; import { StyledTextInput } from '../styled-text-input/styled-text-input'; + import { SeedPhraseWordInputSelectors } from './seed-phrase-word-input.selectors'; import { useSeedPhraseWordInputStyles } from './seed-phrase-word-input.styles'; diff --git a/src/components/segmented-control/icon-segment-control/icon-segment-control.tsx b/src/components/segmented-control/icon-segment-control/icon-segment-control.tsx index a79135851..4c58a005d 100644 --- a/src/components/segmented-control/icon-segment-control/icon-segment-control.tsx +++ b/src/components/segmented-control/icon-segment-control/icon-segment-control.tsx @@ -3,6 +3,7 @@ import React, { memo } from 'react'; import { IconNameEnum } from 'src/components/icon/icon-name.enum'; import { SegmentedControl, SegmentedControlProps } from '../segmented-control'; + import { IconSegmentControlValue } from './icon-segment-control-value/icon-segment-control-value'; export const IconSegmentControl = memo>( diff --git a/src/components/segmented-control/text-segment-control/text-segment-control-value/text-segment-control-value.tsx b/src/components/segmented-control/text-segment-control/text-segment-control-value/text-segment-control-value.tsx index 0b4a92b51..fb75b9616 100644 --- a/src/components/segmented-control/text-segment-control/text-segment-control-value/text-segment-control-value.tsx +++ b/src/components/segmented-control/text-segment-control/text-segment-control-value/text-segment-control-value.tsx @@ -5,6 +5,7 @@ import { conditionalStyle } from 'src/utils/conditional-style'; import { SegmentedControlValueComponentProps } from '../../segmented-control'; import { useSegmentedControlColor } from '../../use-segmented-control-color.hook'; + import { useTextSegmentControlValueStyles } from './text-segment-control-value.styles'; export const TextSegmentControlValue = memo>( diff --git a/src/components/segmented-control/text-segment-control/text-segment-control.tsx b/src/components/segmented-control/text-segment-control/text-segment-control.tsx index 1b9893c83..6b75933d9 100644 --- a/src/components/segmented-control/text-segment-control/text-segment-control.tsx +++ b/src/components/segmented-control/text-segment-control/text-segment-control.tsx @@ -1,6 +1,7 @@ import React, { memo } from 'react'; import { SegmentedControl, SegmentedControlProps } from '../segmented-control'; + import { TextSegmentControlValue } from './text-segment-control-value/text-segment-control-value'; export const TextSegmentControl = memo>(props => ( diff --git a/src/components/simple-model-view/index.tsx b/src/components/simple-model-view/index.tsx index 9edbc7573..4e628ae08 100644 --- a/src/components/simple-model-view/index.tsx +++ b/src/components/simple-model-view/index.tsx @@ -5,6 +5,7 @@ import { WebView, WebViewMessageEvent } from 'react-native-webview'; import { useWillUnmount } from 'src/utils/hooks/use-will-unmount'; import { ActivityIndicator } from '../activity-indicator'; + import { useSimpleModelViewStyles } from './styles'; interface Props { diff --git a/src/components/slider/slider.tsx b/src/components/slider/slider.tsx index 891ee45be..912c86261 100644 --- a/src/components/slider/slider.tsx +++ b/src/components/slider/slider.tsx @@ -7,6 +7,7 @@ import { formatSize } from '../../styles/format-size'; import { useColors } from '../../styles/use-colors'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useSliderStyles } from './slider.styles'; type Props = Pick & diff --git a/src/components/sorter/sorter.styles.ts b/src/components/sorter/sorter.styles.ts index dd6acdf16..e50e82726 100644 --- a/src/components/sorter/sorter.styles.ts +++ b/src/components/sorter/sorter.styles.ts @@ -1,4 +1,5 @@ import { formatSize } from '../../styles/format-size'; + import { createUseStyles } from './../../styles/create-use-styles'; export const useSorterStyles = createUseStyles(({ colors, typography }) => ({ diff --git a/src/components/sorter/sorter.tsx b/src/components/sorter/sorter.tsx index ced8ed219..8cffcc8b2 100644 --- a/src/components/sorter/sorter.tsx +++ b/src/components/sorter/sorter.tsx @@ -12,6 +12,7 @@ import { BottomSheetActionButton } from '../bottom-sheet/bottom-sheet-action-but import { useBottomSheetController } from '../bottom-sheet/use-bottom-sheet-controller'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useSorterStyles } from './sorter.styles'; interface Props extends TestIdProps { diff --git a/src/components/static-token-icon/static-token-icon.tsx b/src/components/static-token-icon/static-token-icon.tsx index 325cf4bcc..9accb9b15 100644 --- a/src/components/static-token-icon/static-token-icon.tsx +++ b/src/components/static-token-icon/static-token-icon.tsx @@ -11,6 +11,7 @@ import { isImgUriDataUri } from 'src/utils/image.utils'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { useStaticTokenIconStyles } from './static-token-icon.styles'; interface Props { diff --git a/src/components/styled-numberic-input/styled-numeric-input.tsx b/src/components/styled-numberic-input/styled-numeric-input.tsx index e211820a9..3f1ef1892 100644 --- a/src/components/styled-numberic-input/styled-numeric-input.tsx +++ b/src/components/styled-numberic-input/styled-numeric-input.tsx @@ -4,6 +4,7 @@ import { emptyFn } from '../../config/general'; import { useNetworkInfo } from '../../hooks/use-network-info.hook'; import { useNumericInput } from '../../hooks/use-numeric-input.hook'; import { StyledTextInput } from '../styled-text-input/styled-text-input'; + import { StyledNumericInputProps } from './styled-numeric-input.props'; export const StyledNumericInput: FC = ({ diff --git a/src/components/styled-password-input/styled-password-input.tsx b/src/components/styled-password-input/styled-password-input.tsx index bb95630ce..43ac70f60 100644 --- a/src/components/styled-password-input/styled-password-input.tsx +++ b/src/components/styled-password-input/styled-password-input.tsx @@ -7,6 +7,7 @@ import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; import { OVERLAY_SHOW_TIMEOUT } from '../mnemonic/mnemonic.config'; import { StyledTextInput } from '../styled-text-input/styled-text-input'; + import { StyledPasswordInputProps } from './styled-password-input.props'; import { useStyledPasswordInputStyles } from './styled-password-input.styles'; diff --git a/src/components/styled-radio-group/index.tsx b/src/components/styled-radio-group/index.tsx index 5a1f6d01d..e13cdfdd7 100644 --- a/src/components/styled-radio-group/index.tsx +++ b/src/components/styled-radio-group/index.tsx @@ -4,6 +4,7 @@ import { View, ViewStyle } from 'react-native'; import { useColors } from 'src/styles/use-colors'; import { TestIdProps } from '../../interfaces/test-id.props'; + import { RadioItemInterface, RadioGroup } from './radio-group'; import { useStyledRadioButtonsGroupStyles } from './styles'; diff --git a/src/components/styled-text-input/styled-text-input.tsx b/src/components/styled-text-input/styled-text-input.tsx index 2324f0e34..7746532cc 100644 --- a/src/components/styled-text-input/styled-text-input.tsx +++ b/src/components/styled-text-input/styled-text-input.tsx @@ -8,6 +8,7 @@ import { isString } from '../../utils/is-string'; import { setTestID } from '../../utils/test-id.utils'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; + import { StyledTextInputProps } from './styled-text-input.props'; import { useStyledTextInputStyles } from './styled-text-input.styles'; diff --git a/src/components/switch/switch.tsx b/src/components/switch/switch.tsx index 17724ce6a..883cfe40f 100644 --- a/src/components/switch/switch.tsx +++ b/src/components/switch/switch.tsx @@ -14,6 +14,7 @@ import { generateHitSlop } from '../../styles/generate-hit-slop'; import { useColors } from '../../styles/use-colors'; import { AnalyticsEventCategory } from '../../utils/analytics/analytics-event.enum'; import { useAnalytics } from '../../utils/analytics/use-analytics.hook'; + import { useSwitchStyles } from './switch.styles'; const AnimatedTouchableOpacity = Animated.createAnimatedComponent(TouchableOpacity); diff --git a/src/components/text-link/black-text-link.tsx b/src/components/text-link/black-text-link.tsx index e0d372b30..f7cc6dd61 100644 --- a/src/components/text-link/black-text-link.tsx +++ b/src/components/text-link/black-text-link.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Text } from 'react-native'; import { openUrl } from '../../utils/linking'; + import { useTextLinkStyles } from './text-link.styles'; interface Props { diff --git a/src/components/text-link/text-link.tsx b/src/components/text-link/text-link.tsx index 06f580b87..3aa54ff44 100644 --- a/src/components/text-link/text-link.tsx +++ b/src/components/text-link/text-link.tsx @@ -2,6 +2,7 @@ import React, { FC } from 'react'; import { Text, TextProps } from 'react-native'; import { openUrl } from '../../utils/linking'; + import { useTextLinkStyles } from './text-link.styles'; interface Props extends Pick { diff --git a/src/components/text-promotion-item/text-promotion-item.tsx b/src/components/text-promotion-item/text-promotion-item.tsx index 017ad7ff3..2cbcdd441 100644 --- a/src/components/text-promotion-item/text-promotion-item.tsx +++ b/src/components/text-promotion-item/text-promotion-item.tsx @@ -11,6 +11,7 @@ import { openUrl } from 'src/utils/linking'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; + import { TextPromotionItemSelectors } from './text-promotion-item.selectors'; import { useTextPromotionItemStyles } from './text-promotion-item.styles'; diff --git a/src/components/token-container/token-container.tsx b/src/components/token-container/token-container.tsx index b44a80a82..de762c329 100644 --- a/src/components/token-container/token-container.tsx +++ b/src/components/token-container/token-container.tsx @@ -8,6 +8,7 @@ import { DelegateTag } from '../delegate-tag/delegate-tag'; import { Divider } from '../divider/divider'; import { TokenIcon } from '../token-icon/token-icon'; import { TruncatedText } from '../truncated-text'; + import { TokenContainerProps } from './token-container.props'; import { useTokenContainerStyles } from './token-container.styles'; diff --git a/src/components/token-dropdown/token-dropdown-item/token-dropdown-item.tsx b/src/components/token-dropdown/token-dropdown-item/token-dropdown-item.tsx index 8fe1f8de7..eb3f3d773 100644 --- a/src/components/token-dropdown/token-dropdown-item/token-dropdown-item.tsx +++ b/src/components/token-dropdown/token-dropdown-item/token-dropdown-item.tsx @@ -14,6 +14,7 @@ import { Icon } from '../../icon/icon'; import { IconNameEnum } from '../../icon/icon-name.enum'; import { TokenIcon } from '../../token-icon/token-icon'; import { tokenEqualityFn } from '../token-equality-fn'; + import { useTokenDropdownItemStyles } from './token-dropdown-item.styles'; interface Props { diff --git a/src/components/token-equity-value/token-equity-value.tsx b/src/components/token-equity-value/token-equity-value.tsx index 71ceb548c..7fbd35ac1 100644 --- a/src/components/token-equity-value/token-equity-value.tsx +++ b/src/components/token-equity-value/token-equity-value.tsx @@ -14,6 +14,7 @@ import { Divider } from '../divider/divider'; import { HideBalance } from '../hide-balance/hide-balance'; import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; + import { useTokenEquityValueStyles } from './token-equity-value.styles'; const currentDate = new Date().toLocaleString('en-GB', { day: 'numeric', month: 'long', year: 'numeric' }); diff --git a/src/components/token-icon/loadable-image.tsx b/src/components/token-icon/loadable-image.tsx index 09b8ac593..92507fe48 100644 --- a/src/components/token-icon/loadable-image.tsx +++ b/src/components/token-icon/loadable-image.tsx @@ -7,6 +7,7 @@ import { isString } from 'src/utils/is-string'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { TokenIconStyles } from './token-icon.styles'; interface Props { diff --git a/src/components/token-icon/token-icon.tsx b/src/components/token-icon/token-icon.tsx index abe92cca2..6137adeed 100644 --- a/src/components/token-icon/token-icon.tsx +++ b/src/components/token-icon/token-icon.tsx @@ -16,6 +16,7 @@ import { isString } from 'src/utils/is-string'; import { DataUriImage } from '../data-uri-image'; import { Icon } from '../icon/icon'; import { IconNameEnum } from '../icon/icon-name.enum'; + import { LoadableTokenIconImage } from './loadable-image'; import { TokenIconStyles } from './token-icon.styles'; diff --git a/src/components/token-screen-content-container/token-header.tsx b/src/components/token-screen-content-container/token-header.tsx index 51b101a33..d7115bce8 100644 --- a/src/components/token-screen-content-container/token-header.tsx +++ b/src/components/token-screen-content-container/token-header.tsx @@ -18,6 +18,7 @@ import { openUrl } from 'src/utils/linking'; import { INITIAL_APR_VALUE } from '../../apis/youves/constants'; import { getDelegateText } from '../../utils/get-delegate-text.util'; + import { useApyStyles } from './apy.styles'; import { apyLinkSelectors } from './token-header.selectors'; import { useTokenScreenContentContainerStyles } from './token-screen-content-container.styles'; diff --git a/src/components/token-screen-content-container/token-screen-content-container.tsx b/src/components/token-screen-content-container/token-screen-content-container.tsx index f126861f1..9c0fd0c14 100644 --- a/src/components/token-screen-content-container/token-screen-content-container.tsx +++ b/src/components/token-screen-content-container/token-screen-content-container.tsx @@ -6,6 +6,7 @@ import { TokenInterface } from '../../token/interfaces/token.interface'; import { IconNameEnum } from '../icon/icon-name.enum'; import { ScreenContainer } from '../screen-container/screen-container'; import { IconSegmentControl } from '../segmented-control/icon-segment-control/icon-segment-control'; + import { TokenHeader } from './token-header'; import { useTokenScreenContentContainerStyles } from './token-screen-content-container.styles'; diff --git a/src/components/top-up-field/asset-amount-input/index.tsx b/src/components/top-up-field/asset-amount-input/index.tsx index 7fbfede9b..f20c754aa 100644 --- a/src/components/top-up-field/asset-amount-input/index.tsx +++ b/src/components/top-up-field/asset-amount-input/index.tsx @@ -18,6 +18,7 @@ import { conditionalStyle } from 'src/utils/conditional-style'; import { isDefined } from 'src/utils/is-defined'; import { renderTopUpTokenListItem, TopUpTokenDropdownItem } from '../dropdown-item'; + import { TopUpAssetValueText } from './asset-value-text'; import { TopUpAssetAmountInputSelectors } from './selectors'; import { useTopUpAssetAmountInputStyles } from './styles'; diff --git a/src/components/wallet-address/wallet-address.tsx b/src/components/wallet-address/wallet-address.tsx index 1d2340178..0759a1bdc 100644 --- a/src/components/wallet-address/wallet-address.tsx +++ b/src/components/wallet-address/wallet-address.tsx @@ -15,6 +15,7 @@ import { IconNameEnum } from '../icon/icon-name.enum'; import { TouchableIcon } from '../icon/touchable-icon/touchable-icon'; import { PublicKeyHashText } from '../public-key-hash-text/public-key-hash-text'; import { TouchableWithAnalytics } from '../touchable-with-analytics'; + import { WalletAddressSelectors } from './selectors'; import { useWalletAddressStyles } from './wallet-address.styles'; diff --git a/src/form/error-message/error-message.tsx b/src/form/error-message/error-message.tsx index 311d76574..5bd1bf448 100644 --- a/src/form/error-message/error-message.tsx +++ b/src/form/error-message/error-message.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { Text } from 'react-native'; import { hasError } from '../../utils/has-error'; + import { useErrorMessageStyles } from './error-message.styles'; interface Props { diff --git a/src/form/form-address-input.tsx b/src/form/form-address-input.tsx index 5b3643ae3..e86c03ecd 100644 --- a/src/form/form-address-input.tsx +++ b/src/form/form-address-input.tsx @@ -6,6 +6,7 @@ import { StyledTextInputProps } from '../components/styled-text-input/styled-tex import { emptyFn, EmptyFn } from '../config/general'; import { TestIdProps } from '../interfaces/test-id.props'; import { hasError } from '../utils/has-error'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends Pick, TestIdProps { diff --git a/src/form/form-biometry-checkbox/form-biometry-checkbox.tsx b/src/form/form-biometry-checkbox/form-biometry-checkbox.tsx index b1cbcedfc..98f4e22ba 100644 --- a/src/form/form-biometry-checkbox/form-biometry-checkbox.tsx +++ b/src/form/form-biometry-checkbox/form-biometry-checkbox.tsx @@ -9,6 +9,7 @@ import { Divider } from '../../components/divider/divider'; import { formatSize } from '../../styles/format-size'; import { isDefined } from '../../utils/is-defined'; import { ErrorMessage } from '../error-message/error-message'; + import { useFormBiometryCheckboxStyles } from './form-biometry-checkbox.styles'; interface Props { diff --git a/src/form/form-checkbox.tsx b/src/form/form-checkbox.tsx index f073e6fc2..0e63ae662 100644 --- a/src/form/form-checkbox.tsx +++ b/src/form/form-checkbox.tsx @@ -7,6 +7,7 @@ import { TestIdProps } from '../interfaces/test-id.props'; import { AnalyticsEventCategory } from '../utils/analytics/analytics-event.enum'; import { useAnalytics } from '../utils/analytics/use-analytics.hook'; import { isDefined } from '../utils/is-defined'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends Pick, TestIdProps { diff --git a/src/form/form-file-input.tsx b/src/form/form-file-input.tsx index e3bc2d45b..d7430408a 100644 --- a/src/form/form-file-input.tsx +++ b/src/form/form-file-input.tsx @@ -2,6 +2,7 @@ import { useField } from 'formik'; import React, { FC } from 'react'; import { FileInput, FileInputProps, FileInputValue } from '../components/file-input/file-input'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends Omit { diff --git a/src/form/form-mnemonic-input.tsx b/src/form/form-mnemonic-input.tsx index 966436418..69c7c84bd 100644 --- a/src/form/form-mnemonic-input.tsx +++ b/src/form/form-mnemonic-input.tsx @@ -5,6 +5,7 @@ import { MnemonicInput } from '../components/mnemonic/mnemonic-input/mnemonic-in import { MnemonicProps } from '../components/mnemonic/mnemonic.props'; import { TestIdProps } from '../interfaces/test-id.props'; import { hasError } from '../utils/has-error'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends Pick, TestIdProps { diff --git a/src/form/form-numeric-input/form-numeric-input-buttons/form-numeric-input-buttons.tsx b/src/form/form-numeric-input/form-numeric-input-buttons/form-numeric-input-buttons.tsx index 367451795..0449143ac 100644 --- a/src/form/form-numeric-input/form-numeric-input-buttons/form-numeric-input-buttons.tsx +++ b/src/form/form-numeric-input/form-numeric-input-buttons/form-numeric-input-buttons.tsx @@ -6,6 +6,7 @@ import { ButtonSmallSecondary } from '../../../components/button/button-small/bu import { Divider } from '../../../components/divider/divider'; import { EventFn } from '../../../config/general'; import { formatSize } from '../../../styles/format-size'; + import { FormNumericInputButtonsStyles } from './form-numeric-input-buttons.styles'; interface Props { diff --git a/src/form/form-numeric-input/form-numeric-input.tsx b/src/form/form-numeric-input/form-numeric-input.tsx index b5db88c4e..7763c4e52 100644 --- a/src/form/form-numeric-input/form-numeric-input.tsx +++ b/src/form/form-numeric-input/form-numeric-input.tsx @@ -9,6 +9,7 @@ import { TestIdProps } from '../../interfaces/test-id.props'; import { hasError } from '../../utils/has-error'; import { isDefined } from '../../utils/is-defined'; import { ErrorMessage } from '../error-message/error-message'; + import { FormNumericInputButtons } from './form-numeric-input-buttons/form-numeric-input-buttons'; interface Props diff --git a/src/form/form-password-input.tsx b/src/form/form-password-input.tsx index d6c733ef7..d76b91867 100644 --- a/src/form/form-password-input.tsx +++ b/src/form/form-password-input.tsx @@ -8,6 +8,7 @@ import { StyledPasswordInputProps } from '../components/styled-password-input/st import { formatSize } from '../styles/format-size'; import { hasError } from '../utils/has-error'; import { isDefined } from '../utils/is-defined'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends Pick { diff --git a/src/form/form-section-dropdown.tsx b/src/form/form-section-dropdown.tsx index 4c7ad72ab..318fbacaa 100644 --- a/src/form/form-section-dropdown.tsx +++ b/src/form/form-section-dropdown.tsx @@ -2,6 +2,7 @@ import { useField } from 'formik'; import React from 'react'; import { SectionDropdown, SectionDropdownProps } from '../components/dropdown/section-dropdown'; + import { ErrorMessage } from './error-message/error-message'; interface Props extends SectionDropdownProps { diff --git a/src/form/form-text-input.tsx b/src/form/form-text-input.tsx index b2bdc8cdf..064544921 100644 --- a/src/form/form-text-input.tsx +++ b/src/form/form-text-input.tsx @@ -6,6 +6,7 @@ import { StyledTextInputProps } from '../components/styled-text-input/styled-tex import { TestIdProps } from '../interfaces/test-id.props'; import { autocorrectDisableProps } from '../utils/autocorrect-disable.utils'; import { hasError } from '../utils/has-error'; + import { ErrorMessage } from './error-message/error-message'; interface Props diff --git a/src/form/validation/asset.ts b/src/form/validation/asset.ts index 6e3f038ce..ddc3a1995 100644 --- a/src/form/validation/asset.ts +++ b/src/form/validation/asset.ts @@ -3,6 +3,7 @@ import { object, SchemaOf } from 'yup'; import { tokenEqualityFn } from '../../components/token-dropdown/token-equality-fn'; import { emptyTezosLikeToken, TokenInterface } from '../../token/interfaces/token.interface'; import { isDefined } from '../../utils/is-defined'; + import { makeRequiredErrorMessage } from './messages'; export const assetValidation: SchemaOf = object() diff --git a/src/form/validation/seed-phrase.ts b/src/form/validation/seed-phrase.ts index 1f680f34f..94110f910 100644 --- a/src/form/validation/seed-phrase.ts +++ b/src/form/validation/seed-phrase.ts @@ -2,6 +2,7 @@ import { validateMnemonic } from 'bip39'; import { string } from 'yup'; import { isDefined } from '../../utils/is-defined'; + import { makeRequiredErrorMessage } from './messages'; const wordsCountError = '12, 15, 18, 21 or 24 words'; diff --git a/src/form/validation/token-address.ts b/src/form/validation/token-address.ts index 7738977a7..60f183a98 100644 --- a/src/form/validation/token-address.ts +++ b/src/form/validation/token-address.ts @@ -2,6 +2,7 @@ import { string } from 'yup'; import { isDefined } from '../../utils/is-defined'; import { isKTAddress, isValidAddress } from '../../utils/tezos.util'; + import { makeRequiredErrorMessage } from './messages'; const invalidAddressError = 'Invalid address'; diff --git a/src/form/validation/wallet-address.ts b/src/form/validation/wallet-address.ts index 971581b57..d27f2cb02 100644 --- a/src/form/validation/wallet-address.ts +++ b/src/form/validation/wallet-address.ts @@ -2,6 +2,7 @@ import { string, ValidationError } from 'yup'; import { isTezosDomainNameValid } from '../../utils/dns.utils'; import { isDefined } from '../../utils/is-defined'; + import { addressValidation } from './address'; import { makeRequiredErrorMessage } from './messages'; diff --git a/src/hooks/block-subscription/use-block-subscription.hook.ts b/src/hooks/block-subscription/use-block-subscription.hook.ts index 67367813c..55de92e78 100644 --- a/src/hooks/block-subscription/use-block-subscription.hook.ts +++ b/src/hooks/block-subscription/use-block-subscription.hook.ts @@ -1,6 +1,7 @@ import { useEffect, useRef, useState } from 'react'; import { TEZOS_DEXES_API_URL } from '../../utils/env.utils'; + import { BlockInterface, EMPTY_BLOCK } from './block.interface'; const BLOCK_UPDATE_API_URL = `${TEZOS_DEXES_API_URL}/block`; diff --git a/src/hooks/hide-balance/hide-balance.provider.tsx b/src/hooks/hide-balance/hide-balance.provider.tsx index 38964d11a..f0ea6acb7 100644 --- a/src/hooks/hide-balance/hide-balance.provider.tsx +++ b/src/hooks/hide-balance/hide-balance.provider.tsx @@ -1,6 +1,7 @@ import React, { FC, useEffect, useState } from 'react'; import { useBalanceHiddenSelector } from '../../store/settings/settings-selectors'; + import { HideBalanceContext } from './hide-balance.context'; export const HideBalanceProvider: FC = ({ children }) => { diff --git a/src/hooks/request-confirmation/use-dapp-request-confirmation.hook.ts b/src/hooks/request-confirmation/use-dapp-request-confirmation.hook.ts index 249ed8af9..6fcd5315b 100644 --- a/src/hooks/request-confirmation/use-dapp-request-confirmation.hook.ts +++ b/src/hooks/request-confirmation/use-dapp-request-confirmation.hook.ts @@ -5,6 +5,7 @@ import { ObservableInput } from 'rxjs'; import { Action } from '../../interfaces/action.interface'; import { abortRequestAction } from '../../store/d-apps/d-apps-actions'; + import { useRequestConfirmation } from './use-request-confirmation.hook'; export const useDappRequestConfirmation = >( diff --git a/src/hooks/use-device-passcode.hook.ts b/src/hooks/use-device-passcode.hook.ts index d7882b824..a6b311a7a 100644 --- a/src/hooks/use-device-passcode.hook.ts +++ b/src/hooks/use-device-passcode.hook.ts @@ -3,6 +3,7 @@ import { isPinOrFingerprintSet } from 'react-native-device-info'; import { useDispatch } from 'react-redux'; import { resetApplicationAction } from '../store/root-state.actions'; + import { useAppStateStatus } from './use-app-state-status.hook'; export const useDevicePasscode = () => { diff --git a/src/hooks/use-filtered-swap-tokens.hook.ts b/src/hooks/use-filtered-swap-tokens.hook.ts index e13b27e24..88d8a627d 100644 --- a/src/hooks/use-filtered-swap-tokens.hook.ts +++ b/src/hooks/use-filtered-swap-tokens.hook.ts @@ -9,6 +9,7 @@ import { useTezosTokenOfCurrentAccount } from 'src/utils/wallet.utils'; import { TokenInterface } from '../token/interfaces/token.interface'; import { isString } from '../utils/is-string'; import { isNonZeroBalance } from '../utils/tezos.util'; + import { useTokenExchangeRateGetter } from './use-token-exchange-rate-getter.hook'; export enum TokensInputsEnum { diff --git a/src/hooks/use-network-info.hook.ts b/src/hooks/use-network-info.hook.ts index 57568464c..b2c63b773 100644 --- a/src/hooks/use-network-info.hook.ts +++ b/src/hooks/use-network-info.hook.ts @@ -3,6 +3,7 @@ import { useMemo } from 'react'; import { useSelectedRpcUrlSelector } from '../store/settings/settings-selectors'; import { getNetworkGasTokenMetadata, isDcpNode } from '../utils/network.utils'; + import { useChainId } from './use-chain-id.hook'; export const useNetworkInfo = () => { diff --git a/src/hooks/use-non-zero-amounts.hook.ts b/src/hooks/use-non-zero-amounts.hook.ts index febf80ef7..a426df592 100644 --- a/src/hooks/use-non-zero-amounts.hook.ts +++ b/src/hooks/use-non-zero-amounts.hook.ts @@ -9,6 +9,7 @@ import { getTokenSlug } from '../token/utils/token.utils'; import { isDefined } from '../utils/is-defined'; import { isString } from '../utils/is-string'; import { mutezToTz } from '../utils/tezos.util'; + import { useTokenMetadataGetter } from './use-token-metadata-getter.hook'; export const useNonZeroAmounts = (group: ActivityGroup) => { diff --git a/src/hooks/use-update-animation.hook.ts b/src/hooks/use-update-animation.hook.ts index 8ffde119e..875f2190e 100644 --- a/src/hooks/use-update-animation.hook.ts +++ b/src/hooks/use-update-animation.hook.ts @@ -2,6 +2,7 @@ import { useEffect } from 'react'; import { Animated } from 'react-native'; import { animateTiming, AnimateTimingConfig } from '../utils/animate-timing.util'; + import { getAnimationValue } from './use-animation-ref.hook'; export const useUpdateAnimation = ( diff --git a/src/interfaces/account-state.interface.mock.ts b/src/interfaces/account-state.interface.mock.ts index e83e64e03..ec91816e3 100644 --- a/src/interfaces/account-state.interface.mock.ts +++ b/src/interfaces/account-state.interface.mock.ts @@ -1,4 +1,5 @@ import { mockAccountTokens } from '../token/interfaces/account-token.interface.mock'; + import { AccountStateInterface } from './account-state.interface'; export const mockAccountState: AccountStateInterface = { diff --git a/src/interfaces/account.interface.mock.ts b/src/interfaces/account.interface.mock.ts index 7351b93d0..c12576ea3 100644 --- a/src/interfaces/account.interface.mock.ts +++ b/src/interfaces/account.interface.mock.ts @@ -1,5 +1,6 @@ import { AccountTypeEnum } from '../enums/account-type.enum'; import { mockAccountCredentials } from '../mocks/account-credentials.mock'; + import { AccountInterface, AccountBaseInterface } from './account.interface'; export const mockAccountBase: AccountBaseInterface = { diff --git a/src/interfaces/account.interface.ts b/src/interfaces/account.interface.ts index c0ad9a063..04ee853f7 100644 --- a/src/interfaces/account.interface.ts +++ b/src/interfaces/account.interface.ts @@ -2,6 +2,7 @@ import { EMPTY_PUBLIC_KEY_HASH } from '../config/system'; import { AccountTypeEnum } from '../enums/account-type.enum'; import { LoadableEntityState } from '../store/types'; import { AccountTokenInterface } from '../token/interfaces/account-token.interface'; + import { ActivityGroup } from './activity.interface'; export interface AccountBaseInterface { diff --git a/src/interfaces/activity.interface.mock.ts b/src/interfaces/activity.interface.mock.ts index 00daf7305..e4cdd93be 100644 --- a/src/interfaces/activity.interface.mock.ts +++ b/src/interfaces/activity.interface.mock.ts @@ -1,5 +1,6 @@ import { ActivityStatusEnum } from '../enums/activity-status.enum'; import { ActivityTypeEnum } from '../enums/activity-type.enum'; + import { ActivityInterface } from './activity.interface'; import { TzktTokenTransfer } from './tzkt.interface'; diff --git a/src/interfaces/activity.interface.ts b/src/interfaces/activity.interface.ts index 522d2287c..44e7ed0f2 100644 --- a/src/interfaces/activity.interface.ts +++ b/src/interfaces/activity.interface.ts @@ -1,5 +1,6 @@ import { ActivityStatusEnum } from '../enums/activity-status.enum'; import { ActivityTypeEnum } from '../enums/activity-type.enum'; + import { emptyMember, MemberInterface } from './member.interface'; export interface ActivityInterface { diff --git a/src/interfaces/operation.interface.mock.ts b/src/interfaces/operation.interface.mock.ts index d67406550..df441e41a 100644 --- a/src/interfaces/operation.interface.mock.ts +++ b/src/interfaces/operation.interface.mock.ts @@ -1,5 +1,6 @@ import { ActivityStatusEnum } from '../enums/activity-status.enum'; import { ActivityTypeEnum } from '../enums/activity-type.enum'; + import { OperationInterface } from './operation.interface'; const mockMember = { diff --git a/src/interfaces/operation.interface.ts b/src/interfaces/operation.interface.ts index 885bf8ebf..f4611253f 100644 --- a/src/interfaces/operation.interface.ts +++ b/src/interfaces/operation.interface.ts @@ -1,5 +1,6 @@ import { ActivityStatusEnum } from '../enums/activity-status.enum'; import { ActivityTypeEnum } from '../enums/activity-type.enum'; + import { MemberInterface } from './member.interface'; export interface OperationInterface { diff --git a/src/interfaces/transfer.interface.mock.ts b/src/interfaces/transfer.interface.mock.ts index 698c1b47b..968fc4b04 100644 --- a/src/interfaces/transfer.interface.mock.ts +++ b/src/interfaces/transfer.interface.mock.ts @@ -1,4 +1,5 @@ import { ActivityStatusEnum } from '../enums/activity-status.enum'; + import { TransferInterface } from './transfer.interface'; export const mockSenderAddress = 'mockSenderAddress'; diff --git a/src/modals/add-asset-modal/add-asset-info/add-asset-info.tsx b/src/modals/add-asset-modal/add-asset-info/add-asset-info.tsx index 818175dbe..51fa14b7c 100644 --- a/src/modals/add-asset-modal/add-asset-info/add-asset-info.tsx +++ b/src/modals/add-asset-modal/add-asset-info/add-asset-info.tsx @@ -19,6 +19,7 @@ import { useAddTokenSuggestionSelector } from '../../../store/tokens-metadata/to import { addTokenAction } from '../../../store/wallet/wallet-actions'; import { formatSize } from '../../../styles/format-size'; import { showSuccessToast } from '../../../toast/toast.utils'; + import { addTokenInfoFormValidationSchema, AddTokenInfoFormValues } from './add-asset-info.form'; import { AddAssetInfoSelectors } from './add-asset-info.selectors'; diff --git a/src/modals/add-asset-modal/add-asset-modal.tsx b/src/modals/add-asset-modal/add-asset-modal.tsx index f586c113e..33fb4d2a6 100644 --- a/src/modals/add-asset-modal/add-asset-modal.tsx +++ b/src/modals/add-asset-modal/add-asset-modal.tsx @@ -5,6 +5,7 @@ import { useInnerScreenProgress } from '../../hooks/use-inner-screen-progress'; import { ModalsEnum } from '../../navigator/enums/modals.enum'; import { useNavigation } from '../../navigator/hooks/use-navigation.hook'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { AddAssetAddress } from './add-asset-address/add-asset-address'; import { AddAssetInfo } from './add-asset-info/add-asset-info'; diff --git a/src/modals/collectible-modal/components/collectible-attributes/index.tsx b/src/modals/collectible-modal/components/collectible-attributes/index.tsx index 75f84277a..fd27d1f68 100644 --- a/src/modals/collectible-modal/components/collectible-attributes/index.tsx +++ b/src/modals/collectible-modal/components/collectible-attributes/index.tsx @@ -2,6 +2,7 @@ import React, { FC, memo } from 'react'; import { Text, View } from 'react-native'; import { CollectibleAttribute } from '../../types'; + import { styles, useCollectibleAttributeStyles } from './styles'; interface Props { diff --git a/src/modals/confirmation-modal/d-app-operations-confirmation/app-metadata-view/app-metadata-view.tsx b/src/modals/confirmation-modal/d-app-operations-confirmation/app-metadata-view/app-metadata-view.tsx index ecb28bc20..ee858549a 100644 --- a/src/modals/confirmation-modal/d-app-operations-confirmation/app-metadata-view/app-metadata-view.tsx +++ b/src/modals/confirmation-modal/d-app-operations-confirmation/app-metadata-view/app-metadata-view.tsx @@ -5,6 +5,7 @@ import { Text, View } from 'react-native'; import { AppMetadataIcon } from '../../../../components/app-metadata-icon/app-metadata-icon'; import { Divider } from '../../../../components/divider/divider'; import { formatSize } from '../../../../styles/format-size'; + import { useAppMetadataViewStyles } from './app-metadata-view.styles'; interface Props { diff --git a/src/modals/confirmation-modal/d-app-operations-confirmation/d-app-operations-confirmation.tsx b/src/modals/confirmation-modal/d-app-operations-confirmation/d-app-operations-confirmation.tsx index f1598a30f..23c5cad3c 100644 --- a/src/modals/confirmation-modal/d-app-operations-confirmation/d-app-operations-confirmation.tsx +++ b/src/modals/confirmation-modal/d-app-operations-confirmation/d-app-operations-confirmation.tsx @@ -6,6 +6,7 @@ import { ScreenContainer } from 'src/components/screen-container/screen-containe import { isDefined } from 'src/utils/is-defined'; import { DAppOperationsConfirmationModalParams } from '../confirmation-modal.params'; + import { LoadingRequest } from './loading-request/loading-request'; import { OperationRequestConfirmation } from './operation-request-confirmation/operation-request-confirmation'; import { PermissionRequestConfirmation } from './permission-request-confirmation/permission-request-confirmation'; diff --git a/src/modals/confirmation-modal/d-app-operations-confirmation/loading-request/loading-request.tsx b/src/modals/confirmation-modal/d-app-operations-confirmation/loading-request/loading-request.tsx index 721b06218..98437bf9a 100644 --- a/src/modals/confirmation-modal/d-app-operations-confirmation/loading-request/loading-request.tsx +++ b/src/modals/confirmation-modal/d-app-operations-confirmation/loading-request/loading-request.tsx @@ -6,6 +6,7 @@ import { LoadingPlaceholder } from '../../../../components/loading-placeholder/l import { ModalButtonsContainer } from '../../../../components/modal-buttons-container/modal-buttons-container'; import { ScreenContainer } from '../../../../components/screen-container/screen-container'; import { useNavigation } from '../../../../navigator/hooks/use-navigation.hook'; + import { useLoadingRequestStyles } from './loading-request.styles'; const texts = [ diff --git a/src/modals/confirmation-modal/d-app-operations-confirmation/permission-request-confirmation/app-metadata-connection-view/app-metadata-connection-view.tsx b/src/modals/confirmation-modal/d-app-operations-confirmation/permission-request-confirmation/app-metadata-connection-view/app-metadata-connection-view.tsx index 73e2d9689..369b178b7 100644 --- a/src/modals/confirmation-modal/d-app-operations-confirmation/permission-request-confirmation/app-metadata-connection-view/app-metadata-connection-view.tsx +++ b/src/modals/confirmation-modal/d-app-operations-confirmation/permission-request-confirmation/app-metadata-connection-view/app-metadata-connection-view.tsx @@ -7,6 +7,7 @@ import { Divider } from '../../../../../components/divider/divider'; import { Icon } from '../../../../../components/icon/icon'; import { IconNameEnum } from '../../../../../components/icon/icon-name.enum'; import { formatSize } from '../../../../../styles/format-size'; + import { useAppMetadataConnectionViewStyles } from './app-metadata-connection-view.styles'; interface Props { diff --git a/src/modals/confirmation-modal/d-app-operations-confirmation/sign-payload-request-confirmation/sign-payload-request-confirmation.tsx b/src/modals/confirmation-modal/d-app-operations-confirmation/sign-payload-request-confirmation/sign-payload-request-confirmation.tsx index 900515047..afb068454 100644 --- a/src/modals/confirmation-modal/d-app-operations-confirmation/sign-payload-request-confirmation/sign-payload-request-confirmation.tsx +++ b/src/modals/confirmation-modal/d-app-operations-confirmation/sign-payload-request-confirmation/sign-payload-request-confirmation.tsx @@ -25,6 +25,7 @@ import { formatSize } from 'src/styles/format-size'; import { showSuccessToast } from 'src/toast/toast.utils'; import { AppMetadataView } from '../app-metadata-view/app-metadata-view'; + import { SignPayloadRequestConfirmationSelectors } from './sign-payload-request-confirmation.selectors'; import { useSignPayloadRequestConfirmationStyles } from './sign-payload-request-confirmation.styles'; diff --git a/src/modals/confirmation-modal/operations-confirmation/fee-form-input/fee-form-input.tsx b/src/modals/confirmation-modal/operations-confirmation/fee-form-input/fee-form-input.tsx index 83db9f8df..afbbb47a0 100644 --- a/src/modals/confirmation-modal/operations-confirmation/fee-form-input/fee-form-input.tsx +++ b/src/modals/confirmation-modal/operations-confirmation/fee-form-input/fee-form-input.tsx @@ -16,6 +16,7 @@ import { formatSize } from '../../../../styles/format-size'; import { isDefined } from '../../../../utils/is-defined'; import { mutezToTz, tzToMutez } from '../../../../utils/tezos.util'; import { useTezosToken } from '../../../../utils/wallet.utils'; + import { FeeFormInputValues } from './fee-form-input.form'; import { useFeeFormInputStyles } from './fee-form-input.styles'; diff --git a/src/modals/confirmation-modal/operations-confirmation/operations-confirmation.tsx b/src/modals/confirmation-modal/operations-confirmation/operations-confirmation.tsx index 2a188d22a..3fe90fc50 100644 --- a/src/modals/confirmation-modal/operations-confirmation/operations-confirmation.tsx +++ b/src/modals/confirmation-modal/operations-confirmation/operations-confirmation.tsx @@ -25,6 +25,7 @@ import { HELP_UKRAINE_BAKER_ADDRESS } from 'src/utils/known-bakers'; import { tzToMutez } from 'src/utils/tezos.util'; import { ConfirmationModalSelectors } from '../confirmation-modal.selectors'; + import { FeeFormInput } from './fee-form-input/fee-form-input'; import { FeeFormInputValues } from './fee-form-input/fee-form-input.form'; import { useEstimations } from './hooks/use-estimations.hook'; diff --git a/src/modals/confirmation-modal/operations-confirmation/operations-preview/operations-preview.tsx b/src/modals/confirmation-modal/operations-confirmation/operations-preview/operations-preview.tsx index 96a2d059d..796940495 100644 --- a/src/modals/confirmation-modal/operations-confirmation/operations-preview/operations-preview.tsx +++ b/src/modals/confirmation-modal/operations-confirmation/operations-preview/operations-preview.tsx @@ -2,6 +2,7 @@ import { ParamsWithKind } from '@taquito/taquito'; import React, { FC } from 'react'; import { getParamPreview } from '../../../../utils/param-preview.utils'; + import { OperationsPreviewItem } from './operations-preview-item/operations-preview-item'; interface Props { diff --git a/src/modals/contact-modals/add-contact-modal/add-contact-modal.tsx b/src/modals/contact-modals/add-contact-modal/add-contact-modal.tsx index d2bf45c38..4eb8e1808 100644 --- a/src/modals/contact-modals/add-contact-modal/add-contact-modal.tsx +++ b/src/modals/contact-modals/add-contact-modal/add-contact-modal.tsx @@ -25,6 +25,7 @@ import { tezosDomainsResolver } from 'src/utils/dns.utils'; import { handleContactSubmission } from '../utils/handle-contact-submission.util'; import { useAddContactFormValidationSchema } from '../validation-schema'; + import { AddContactModalSelectors } from './add-contact-modal.selectors'; export const AddContactModal: FC = () => { diff --git a/src/modals/contact-modals/edit-contact-modal/edit-contact-modal.tsx b/src/modals/contact-modals/edit-contact-modal/edit-contact-modal.tsx index d8cdc8c82..e57e98445 100644 --- a/src/modals/contact-modals/edit-contact-modal/edit-contact-modal.tsx +++ b/src/modals/contact-modals/edit-contact-modal/edit-contact-modal.tsx @@ -25,6 +25,7 @@ import { usePageAnalytic } from 'src/utils/analytics/use-analytics.hook'; import { tezosDomainsResolver } from '../../../utils/dns.utils'; import { handleContactSubmission } from '../utils/handle-contact-submission.util'; import { useEditContactFormValidationSchema } from '../validation-schema'; + import { EditContactModalSelectors } from './edit-contact-modal.selectors'; export const EditContactModal: FC = () => { diff --git a/src/modals/custom-rpc-modals/add-modal/add-modal.tsx b/src/modals/custom-rpc-modals/add-modal/add-modal.tsx index 40d7173e0..76b96b328 100644 --- a/src/modals/custom-rpc-modals/add-modal/add-modal.tsx +++ b/src/modals/custom-rpc-modals/add-modal/add-modal.tsx @@ -21,6 +21,7 @@ import { formatSize } from 'src/styles/format-size'; import { usePageAnalytic } from 'src/utils/analytics/use-analytics.hook'; import { formInitialValues, formValidationSchema, confirmUniqueRPC } from '../form.utils'; + import { AddModalSelectors } from './add-modal.selectors'; export const AddCustomRpcModal: FC = () => { diff --git a/src/modals/custom-rpc-modals/edit-modal/edit-modal.tsx b/src/modals/custom-rpc-modals/edit-modal/edit-modal.tsx index a4c6885f2..10abd0177 100644 --- a/src/modals/custom-rpc-modals/edit-modal/edit-modal.tsx +++ b/src/modals/custom-rpc-modals/edit-modal/edit-modal.tsx @@ -8,8 +8,8 @@ import { ButtonLargePrimary } from 'src/components/button/button-large/button-la import { ButtonLargeSecondary } from 'src/components/button/button-large/button-large-secondary/button-large-secondary'; import { ButtonsContainer } from 'src/components/button/buttons-container/buttons-container'; import { Divider } from 'src/components/divider/divider'; -import { IconTitleNoBg } from 'src/components/icon-title-no-bg/icon-title-no-bg'; import { IconNameEnum } from 'src/components/icon/icon-name.enum'; +import { IconTitleNoBg } from 'src/components/icon-title-no-bg/icon-title-no-bg'; import { InsetSubstitute } from 'src/components/inset-substitute/inset-substitute'; import { Label } from 'src/components/label/label'; import { ModalStatusBar } from 'src/components/modal-status-bar/modal-status-bar'; @@ -26,6 +26,7 @@ import { AnalyticsEventCategory } from 'src/utils/analytics/analytics-event.enum import { useAnalytics, usePageAnalytic } from 'src/utils/analytics/use-analytics.hook'; import { formInitialValues, formValidationSchema, confirmUniqueRPC } from '../form.utils'; + import { EditModalSelectors } from './edit-modal.selectors'; export const EditCustomRpcModal: FC = () => { diff --git a/src/modals/enable-biometry-password-modal/enable-biometry-password-modal.tsx b/src/modals/enable-biometry-password-modal/enable-biometry-password-modal.tsx index c1242e463..ae26670a1 100644 --- a/src/modals/enable-biometry-password-modal/enable-biometry-password-modal.tsx +++ b/src/modals/enable-biometry-password-modal/enable-biometry-password-modal.tsx @@ -11,6 +11,7 @@ import { FormPasswordInput } from '../../form/form-password-input'; import { ModalsEnum } from '../../navigator/enums/modals.enum'; import { useShelter } from '../../shelter/use-shelter.hook'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { EnableBiometryPasswordModalFormValues, enableBiometryPasswordModalInitialValues, diff --git a/src/modals/import-account-modal/import-account-modal.tsx b/src/modals/import-account-modal/import-account-modal.tsx index 6ea239379..79620ffd7 100644 --- a/src/modals/import-account-modal/import-account-modal.tsx +++ b/src/modals/import-account-modal/import-account-modal.tsx @@ -6,6 +6,7 @@ import { ModalStatusBar } from '../../components/modal-status-bar/modal-status-b import { ImportAccountTypeEnum } from '../../enums/account-type.enum'; import { ModalsEnum } from '../../navigator/enums/modals.enum'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { ImportAccountPrivateKey } from './import-account-private-key/import-account-private-key'; import { ImportAccountSeed } from './import-account-seed/import-account-seed'; import { ImportAccountType } from './import-account-type/import-account-type'; diff --git a/src/modals/import-account-modal/import-account-private-key/import-account-private-key.tsx b/src/modals/import-account-modal/import-account-private-key/import-account-private-key.tsx index 99e435f8e..daeef56b7 100644 --- a/src/modals/import-account-modal/import-account-private-key/import-account-private-key.tsx +++ b/src/modals/import-account-modal/import-account-private-key/import-account-private-key.tsx @@ -15,6 +15,7 @@ import { FormMnemonicInput } from '../../../form/form-mnemonic-input'; import { useShelter } from '../../../shelter/use-shelter.hook'; import { useAccountsListSelector } from '../../../store/wallet/wallet-selectors'; import { formatSize } from '../../../styles/format-size'; + import { importAccountPrivateKeyInitialValues, importAccountPrivateKeyValidationSchema diff --git a/src/modals/import-account-modal/import-account-seed/import-account-seed.tsx b/src/modals/import-account-modal/import-account-seed/import-account-seed.tsx index 8e527b6fd..8865ab1b2 100644 --- a/src/modals/import-account-modal/import-account-seed/import-account-seed.tsx +++ b/src/modals/import-account-modal/import-account-seed/import-account-seed.tsx @@ -23,6 +23,7 @@ import { formatSize } from '../../../styles/format-size'; import { isString } from '../../../utils/is-string'; import { seedToPrivateKey } from '../../../utils/keys.util'; import { ImportAccountStyles } from '../import-account.styles'; + import { ImportAccountSeedDerivationPathForm } from './import-account-seed-derivation-path.form'; import { importAccountSeedInitialValues, diff --git a/src/modals/manage-earn-opportunity-modal/details-card/index.tsx b/src/modals/manage-earn-opportunity-modal/details-card/index.tsx index a992314c3..8266c890c 100644 --- a/src/modals/manage-earn-opportunity-modal/details-card/index.tsx +++ b/src/modals/manage-earn-opportunity-modal/details-card/index.tsx @@ -28,6 +28,7 @@ import { useInterval } from 'src/utils/hooks'; import { isDefined } from 'src/utils/is-defined'; import { ManageEarnOpportunityModalSelectors } from '../selectors'; + import { StatsItem } from './stats-item'; import { useDetailsCardStyles } from './styles'; import { useClaimRewardsButtonConfig } from './use-claim-rewards-button-config'; diff --git a/src/modals/manage-earn-opportunity-modal/details-section/index.tsx b/src/modals/manage-earn-opportunity-modal/details-section/index.tsx index 0206f2f8a..eb84e2cf9 100644 --- a/src/modals/manage-earn-opportunity-modal/details-section/index.tsx +++ b/src/modals/manage-earn-opportunity-modal/details-section/index.tsx @@ -11,6 +11,7 @@ import { EarnOpportunity } from 'src/types/earn-opportunity.type'; import { isFarm } from 'src/utils/earn.utils'; import { DetailsCard } from '../details-card'; + import { useDetailsSectionStyles } from './styles'; interface Props { diff --git a/src/modals/manage-earn-opportunity-modal/stake-form/index.tsx b/src/modals/manage-earn-opportunity-modal/stake-form/index.tsx index 937f8f253..2ff722166 100644 --- a/src/modals/manage-earn-opportunity-modal/stake-form/index.tsx +++ b/src/modals/manage-earn-opportunity-modal/stake-form/index.tsx @@ -24,6 +24,7 @@ import { EXPECTED_STABLESWAP_STAKING_GAS_EXPENSE } from '../constants'; import { DetailsSection } from '../details-section'; import { ManageEarnOpportunityModalSelectors } from '../selectors'; import { VestingPeriodDisclaimers } from '../vesting-period-disclaimers'; + import { earnOpportunitiesRisksPoints } from './constants'; import { useAssetAmountInputStylesConfig, useStakeFormStyles } from './styles'; import { StakeFormValues } from './use-stake-formik'; diff --git a/src/modals/manage-earn-opportunity-modal/stake-form/use-stake-formik.ts b/src/modals/manage-earn-opportunity-modal/stake-form/use-stake-formik.ts index 6b80c7601..4e9cba28d 100644 --- a/src/modals/manage-earn-opportunity-modal/stake-form/use-stake-formik.ts +++ b/src/modals/manage-earn-opportunity-modal/stake-form/use-stake-formik.ts @@ -24,6 +24,7 @@ import { isDefined } from 'src/utils/is-defined'; import { getNetworkGasTokenMetadata } from 'src/utils/network.utils'; import { EXPECTED_STABLESWAP_STAKING_GAS_EXPENSE } from '../constants'; + import { createStakeOperationParams } from './create-stake-operation-params'; export interface StakeFormValues { diff --git a/src/modals/manage-earn-opportunity-modal/withdraw-form/index.tsx b/src/modals/manage-earn-opportunity-modal/withdraw-form/index.tsx index ef21ec7f7..7fb738c70 100644 --- a/src/modals/manage-earn-opportunity-modal/withdraw-form/index.tsx +++ b/src/modals/manage-earn-opportunity-modal/withdraw-form/index.tsx @@ -32,6 +32,7 @@ import { MINIMAL_DIVISIBLE_ATOMIC_AMOUNT, PERCENTAGE_OPTIONS } from '../constant import { DetailsSection } from '../details-section'; import { ManageEarnOpportunityModalSelectors } from '../selectors'; import { VestingPeriodDisclaimers } from '../vesting-period-disclaimers'; + import { PERCENTAGE_OPTIONS_TEXTS } from './percentage-options'; import { useAssetAmountInputStylesConfig, useWithdrawFormStyles } from './styles'; import { useTokensOptions } from './use-tokens-options'; diff --git a/src/modals/manage-earn-opportunity-modal/withdraw-form/use-withdraw-formik.ts b/src/modals/manage-earn-opportunity-modal/withdraw-form/use-withdraw-formik.ts index e259bf344..964cec0e5 100644 --- a/src/modals/manage-earn-opportunity-modal/withdraw-form/use-withdraw-formik.ts +++ b/src/modals/manage-earn-opportunity-modal/withdraw-form/use-withdraw-formik.ts @@ -27,6 +27,7 @@ import { doAfterConfirmation } from 'src/utils/farm.utils'; import { isDefined } from 'src/utils/is-defined'; import { MINIMAL_DIVISIBLE_ATOMIC_AMOUNT, PERCENTAGE_OPTIONS } from '../constants'; + import { createWithdrawOperationParams } from './create-withdraw-operation-params'; export interface WithdrawTokenOption { diff --git a/src/modals/rename-account-modal/rename-account-modal.tsx b/src/modals/rename-account-modal/rename-account-modal.tsx index cb56020c6..a24dafd03 100644 --- a/src/modals/rename-account-modal/rename-account-modal.tsx +++ b/src/modals/rename-account-modal/rename-account-modal.tsx @@ -18,6 +18,7 @@ import { useNavigation } from '../../navigator/hooks/use-navigation.hook'; import { updateAccountAction } from '../../store/wallet/wallet-actions'; import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { RenameAccountModalFormValues, renameAccountModalValidationSchema } from './rename-account-modal.form'; import { RenameAccountModalSelectors } from './rename-account-modal.selectors'; diff --git a/src/modals/reveal-private-key-modal/reveal-private-key-modal.tsx b/src/modals/reveal-private-key-modal/reveal-private-key-modal.tsx index b1cd0806b..c2a318058 100644 --- a/src/modals/reveal-private-key-modal/reveal-private-key-modal.tsx +++ b/src/modals/reveal-private-key-modal/reveal-private-key-modal.tsx @@ -13,6 +13,7 @@ import { ModalsEnum, ModalsParamList } from '../../navigator/enums/modals.enum'; import { useAccountsListSelector } from '../../store/wallet/wallet-selectors'; import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { RevealPrivateKeyModalFormValues, revealPrivateKeyModalValidationSchema diff --git a/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-form-content/reveal-seed-phrase-form-content.tsx b/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-form-content/reveal-seed-phrase-form-content.tsx index 9ac871011..e8e035fce 100644 --- a/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-form-content/reveal-seed-phrase-form-content.tsx +++ b/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-form-content/reveal-seed-phrase-form-content.tsx @@ -13,6 +13,7 @@ import { formatSize } from '../../../styles/format-size'; import { getDerivationPath } from '../../../utils/keys.util'; import { RevealSeedPhraseModalFormValues } from '../reveal-seed-phrase-modal.form'; import { RevealSeedPharaseSelectors } from '../reveal-seed-phrase.selectors'; + import { RevealSeedPhraseView } from './reveal-seed-phrase-view/reveal-seed-phrase-view'; export const RevealSeedPhraseFormContent: FC> = ({ diff --git a/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-modal.tsx b/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-modal.tsx index 30349d0e0..05cde57ca 100644 --- a/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-modal.tsx +++ b/src/modals/reveal-seed-phrase-modal/reveal-seed-phrase-modal.tsx @@ -7,6 +7,7 @@ import { AccountTypeEnum } from '../../enums/account-type.enum'; import { ModalsEnum, ModalsParamList } from '../../navigator/enums/modals.enum'; import { useHdAccountListSelector, useSelectedAccountSelector } from '../../store/wallet/wallet-selectors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { RevealSeedPhraseFormContent } from './reveal-seed-phrase-form-content/reveal-seed-phrase-form-content'; import { RevealSeedPhraseModalFormValues, diff --git a/src/navigator/main-stack.tsx b/src/navigator/main-stack.tsx index 6fb6a049c..a10d58094 100644 --- a/src/navigator/main-stack.tsx +++ b/src/navigator/main-stack.tsx @@ -36,8 +36,8 @@ import { Collection } from 'src/screens/collection'; import { Contacts } from 'src/screens/contacts/contacts'; import { ContinueWithCloud } from 'src/screens/continue-with-cloud'; import { CreateNewWallet } from 'src/screens/create-new-wallet/create-new-wallet'; -import { DAppsSettings } from 'src/screens/d-apps-settings/d-apps-settings'; import { DApps } from 'src/screens/d-apps/d-apps'; +import { DAppsSettings } from 'src/screens/d-apps-settings/d-apps-settings'; import { Debug } from 'src/screens/debug/debug'; import { DelegationScreen } from 'src/screens/delegation-screen/delegation-screen'; import { Earn } from 'src/screens/earn'; @@ -49,9 +49,9 @@ import { ManageAssets } from 'src/screens/manage-assets/manage-assets'; import { ManualBackup } from 'src/screens/manual-backup/manual-backup'; import { Market } from 'src/screens/market/market'; import { NodeSettings } from 'src/screens/node-settings/node-settings'; +import { Notifications } from 'src/screens/notifications/notifications'; import { NotificationsItem } from 'src/screens/notifications-item/notifications-item'; import { NotificationsSettings } from 'src/screens/notifications-settings/notifications-settings'; -import { Notifications } from 'src/screens/notifications/notifications'; import { Savings } from 'src/screens/savings'; import { ScanQrCode } from 'src/screens/scan-qr-code/scan-qr-code'; import { SecureSettings } from 'src/screens/secure-settings/secure-settings'; @@ -83,6 +83,7 @@ import { loadTokensApyActions } from '../store/d-apps/d-apps-actions'; import { loadAllFarmsAndStakesAction } from '../store/farms/actions'; import { togglePartnersPromotionAction } from '../store/partners-promotion/partners-promotion-actions'; import { loadAllSavingsAndStakesAction } from '../store/savings/actions'; + import { ScreensEnum, ScreensParamList } from './enums/screens.enum'; import { useStackNavigatorStyleOptions } from './hooks/use-stack-navigator-style-options.hook'; import { NavigationBar } from './navigation-bar/navigation-bar'; diff --git a/src/navigator/navigation-bar/navigation-bar.tsx b/src/navigator/navigation-bar/navigation-bar.tsx index 63a65465f..3e3308b30 100644 --- a/src/navigator/navigation-bar/navigation-bar.tsx +++ b/src/navigator/navigation-bar/navigation-bar.tsx @@ -7,6 +7,7 @@ import { useIsAuthorisedSelector } from '../../store/wallet/wallet-selectors'; import { conditionalStyle } from '../../utils/conditional-style'; import { CurrentRouteNameContext } from '../current-route-name.context'; import { ScreensEnum } from '../enums/screens.enum'; + import { NavigationBarStyles } from './navigation-bar.styles'; import { SideBar } from './side-bar/side-bar'; import { TabBar } from './tab-bar/tab-bar'; diff --git a/src/navigator/navigation-bar/side-bar/side-bar-button/side-bar-button.tsx b/src/navigator/navigation-bar/side-bar/side-bar-button/side-bar-button.tsx index 9ffa0fe98..f4303657b 100644 --- a/src/navigator/navigation-bar/side-bar/side-bar-button/side-bar-button.tsx +++ b/src/navigator/navigation-bar/side-bar/side-bar-button/side-bar-button.tsx @@ -9,6 +9,7 @@ import { useColors } from '../../../../styles/use-colors'; import { conditionalStyle } from '../../../../utils/conditional-style'; import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; + import { useSideBarButtonStyles } from './side-bar-button.styles'; interface Props { diff --git a/src/navigator/navigation-bar/side-bar/side-bar.tsx b/src/navigator/navigation-bar/side-bar/side-bar.tsx index 83baa26b8..b81255259 100644 --- a/src/navigator/navigation-bar/side-bar/side-bar.tsx +++ b/src/navigator/navigation-bar/side-bar/side-bar.tsx @@ -23,6 +23,7 @@ import { isDefined } from 'src/utils/is-defined'; import { isStackFocused } from 'src/utils/is-stack-focused.util'; import { getTokenParams, NOT_AVAILABLE_MESSAGE, RouteParams } from '../tab-bar/tab-bar'; + import { SideBarButton } from './side-bar-button/side-bar-button'; import { useSideBarStyles } from './side-bar.styles'; diff --git a/src/navigator/navigation-bar/tab-bar/tab-bar-button/tab-bar-button.tsx b/src/navigator/navigation-bar/tab-bar/tab-bar-button/tab-bar-button.tsx index d03541ea2..4bbf4101a 100644 --- a/src/navigator/navigation-bar/tab-bar/tab-bar-button/tab-bar-button.tsx +++ b/src/navigator/navigation-bar/tab-bar/tab-bar-button/tab-bar-button.tsx @@ -10,6 +10,7 @@ import { conditionalStyle } from 'src/utils/conditional-style'; import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; + import { useTabBarButtonStyles } from './tab-bar-button.styles'; interface Props { diff --git a/src/screens/about/about.tsx b/src/screens/about/about.tsx index e72f81a53..dd28945e6 100644 --- a/src/screens/about/about.tsx +++ b/src/screens/about/about.tsx @@ -24,6 +24,7 @@ import { ScreensEnum } from '../../navigator/enums/screens.enum'; import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { openUrl } from '../../utils/linking'; + import { useAboutStyles } from './about.styles'; import { AboutPageSelectors } from './selectors'; diff --git a/src/screens/app-check/app-check-warning.tsx b/src/screens/app-check/app-check-warning.tsx index 0d80646b4..520179ff1 100644 --- a/src/screens/app-check/app-check-warning.tsx +++ b/src/screens/app-check/app-check-warning.tsx @@ -12,6 +12,7 @@ import { OverlayEnum } from '../../navigator/enums/overlay.enum'; import { formatSize } from '../../styles/format-size'; import { useColors } from '../../styles/use-colors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { useAppCheckWarningStyles } from './app-check-warning.styles'; export const AppCheckWarning = () => { diff --git a/src/screens/buy/buy-with-credit-card/hooks/use-fiat-currencies-list.hook.ts b/src/screens/buy/buy-with-credit-card/hooks/use-fiat-currencies-list.hook.ts index 226031c5a..b49e47736 100644 --- a/src/screens/buy/buy-with-credit-card/hooks/use-fiat-currencies-list.hook.ts +++ b/src/screens/buy/buy-with-credit-card/hooks/use-fiat-currencies-list.hook.ts @@ -6,6 +6,7 @@ import { TopUpInputInterface } from 'src/store/buy-with-credit-card/types'; import { isDefined } from 'src/utils/is-defined'; import { mergeProvidersLimits } from '../utils'; + import { useFilteredCurrencies } from './use-filtered-currencies'; export const useFiatCurrenciesList = (inputCurrencySymbol: string, outputTokenSymbol: string) => { diff --git a/src/screens/buy/buy-with-credit-card/hooks/use-form-inputs-callbacks.ts b/src/screens/buy/buy-with-credit-card/hooks/use-form-inputs-callbacks.ts index 8efbb33e3..0275eed2c 100644 --- a/src/screens/buy/buy-with-credit-card/hooks/use-form-inputs-callbacks.ts +++ b/src/screens/buy/buy-with-credit-card/hooks/use-form-inputs-callbacks.ts @@ -15,6 +15,7 @@ import { isDefined } from 'src/utils/is-defined'; import { mergeAssetsLimits } from 'src/utils/pair-limits'; import { BuyWithCreditCardSelectors } from '../selectors'; + import { useBuyWithCreditCardFormik } from './use-buy-with-credit-card-formik.hook'; import { useFiatCurrenciesList } from './use-fiat-currencies-list.hook'; import { usePaymentProviders } from './use-payment-providers.hook'; diff --git a/src/screens/buy/buy-with-credit-card/index.tsx b/src/screens/buy/buy-with-credit-card/index.tsx index ae3d0f864..fd202a7b6 100644 --- a/src/screens/buy/buy-with-credit-card/index.tsx +++ b/src/screens/buy/buy-with-credit-card/index.tsx @@ -28,6 +28,7 @@ import { jsonEqualityFn } from 'src/utils/store.utils'; import { renderPaymentProviderOption } from '../components/payment-provider'; import { renderSelectedPaymentProvider } from '../components/selected-payment-provider'; + import { useBuyWithCreditCardFormik } from './hooks/use-buy-with-credit-card-formik.hook'; import { useCryptoCurrencies } from './hooks/use-crypto-currencies-list.hook'; import { useFiatCurrenciesList } from './hooks/use-fiat-currencies-list.hook'; diff --git a/src/screens/buy/crypto/exolix/steps/initial-step/initial-step.tsx b/src/screens/buy/crypto/exolix/steps/initial-step/initial-step.tsx index ee15c75d0..2b51335b5 100644 --- a/src/screens/buy/crypto/exolix/steps/initial-step/initial-step.tsx +++ b/src/screens/buy/crypto/exolix/steps/initial-step/initial-step.tsx @@ -24,6 +24,7 @@ import { ErrorComponent } from '../../components/error-component'; import { EXOLIX_PRIVICY_LINK, EXOLIX_TERMS_LINK, outputTokensList, initialFormValues } from '../../config'; import { exolixTopupFormValidationSchema, ExolixTopupFormValues } from '../../exolix-topup.form'; import { useFilteredCurrenciesList } from '../../hooks/use-filtered-currencies-list.hook'; + import { InitialStepSelectors } from './initial-step.selectors'; import { useInitialStepStyles } from './initial-step.styles'; import { loadMinMaxFields, updateOutputInputValue } from './initial-step.utils'; diff --git a/src/screens/cloud-backup/form.ts b/src/screens/cloud-backup/form.ts index 1012e8dd0..76de62514 100644 --- a/src/screens/cloud-backup/form.ts +++ b/src/screens/cloud-backup/form.ts @@ -25,6 +25,7 @@ import { import { useCloudAnalytics } from 'src/utils/cloud-backup/use-cloud-analytics'; import { isAndroid } from '../../config/system'; + import { CloudBackupSelectors } from './selectors'; import { alertOnExistingBackup } from './utils'; diff --git a/src/screens/collectibles-home/collectibles-list/collectible-item/index.tsx b/src/screens/collectibles-home/collectibles-list/collectible-item/index.tsx index 54f7b4c0b..3c8ed3e49 100644 --- a/src/screens/collectibles-home/collectibles-list/collectible-item/index.tsx +++ b/src/screens/collectibles-home/collectibles-list/collectible-item/index.tsx @@ -3,7 +3,7 @@ import React, { memo, useCallback, useMemo } from 'react'; import { StyleProp, Text, View, ViewStyle } from 'react-native'; import { TouchableOpacity } from 'react-native-gesture-handler'; -import { objktCurrencies } from 'src/apis/objkt'; +import { objktCurrencies } from 'src/apis/objkt/constants'; import { ModalsEnum } from 'src/navigator/enums/modals.enum'; import { useNavigation } from 'src/navigator/hooks/use-navigation.hook'; import { diff --git a/src/screens/collectibles-home/collectibles-list/index.tsx b/src/screens/collectibles-home/collectibles-list/index.tsx index fd1a31ad2..82988e6cd 100644 --- a/src/screens/collectibles-home/collectibles-list/index.tsx +++ b/src/screens/collectibles-home/collectibles-list/index.tsx @@ -16,6 +16,7 @@ import { UsableAccountAsset } from 'src/utils/assets/types'; import { createGetItemLayout } from 'src/utils/flat-list.utils'; import { useCollectiblesGridStyles } from '../styles'; + import { CollectibleItem } from './collectible-item'; import { useCollectibleItemStyles } from './collectible-item/styles'; import { CollectiblesListStyles, GRID_GAP } from './styles'; diff --git a/src/screens/collection/components/collectible-item.tsx b/src/screens/collection/components/collectible-item.tsx index f08bd2e0b..161535fa3 100644 --- a/src/screens/collection/components/collectible-item.tsx +++ b/src/screens/collection/components/collectible-item.tsx @@ -3,7 +3,8 @@ import React, { memo, useMemo } from 'react'; import { TouchableOpacity, View, Text } from 'react-native'; import useSWR from 'swr'; -import { fetchCollectibleExtraDetails, objktCurrencies } from 'src/apis/objkt'; +import { fetchCollectibleExtraDetails } from 'src/apis/objkt'; +import { objktCurrencies } from 'src/apis/objkt/constants'; import { CollectibleImage } from 'src/components/collectible-image'; import { Divider } from 'src/components/divider/divider'; import { Icon } from 'src/components/icon/icon'; @@ -25,6 +26,7 @@ import { createTezosToolkit } from 'src/utils/rpc/tezos-toolkit.utils'; import { mutezToTz } from 'src/utils/tezos.util'; import { navigateToObjktForBuy } from '../utils'; + import { useCollectibleItemStyles } from './collectible-item.styles'; const DETAILS_SYNC_INTERVAL = 4 * BLOCK_DURATION; diff --git a/src/screens/d-apps-settings/d-apps-settings.tsx b/src/screens/d-apps-settings/d-apps-settings.tsx index 2db625938..292663b6a 100644 --- a/src/screens/d-apps-settings/d-apps-settings.tsx +++ b/src/screens/d-apps-settings/d-apps-settings.tsx @@ -8,6 +8,7 @@ import { ScreensEnum } from '../../navigator/enums/screens.enum'; import { loadPermissionsActions } from '../../store/d-apps/d-apps-actions'; import { usePermissionsSelector } from '../../store/d-apps/d-apps-selectors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { PermissionItem } from './permission-item/permission-item'; export const DAppsSettings = () => { diff --git a/src/screens/d-apps-settings/permission-item/permission-item.tsx b/src/screens/d-apps-settings/permission-item/permission-item.tsx index f839ebf7a..81093ca0d 100644 --- a/src/screens/d-apps-settings/permission-item/permission-item.tsx +++ b/src/screens/d-apps-settings/permission-item/permission-item.tsx @@ -14,6 +14,7 @@ import { AnalyticsEventCategory } from 'src/utils/analytics/analytics-event.enum import { useAnalytics } from 'src/utils/analytics/use-analytics.hook'; import { DAppsSettingsSelectors } from '../d-apps.settings.selectors'; + import { PermissionItemAnalyticsEvents } from './analytics-events'; import { usePermissionItemStyles } from './permission-item.styles'; import { PermissionItemSelectors } from './selectors'; diff --git a/src/screens/debug/debug.tsx b/src/screens/debug/debug.tsx index bba32c587..419f80ca1 100644 --- a/src/screens/debug/debug.tsx +++ b/src/screens/debug/debug.tsx @@ -7,6 +7,7 @@ import { ScreenContainer } from '../../components/screen-container/screen-contai import { ScreensEnum } from '../../navigator/enums/screens.enum'; import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { ImportWatchOnlyDebug } from './import-watch-only-debug/import-watch-only-debug'; export const Debug: FC = () => { diff --git a/src/screens/debug/import-watch-only-debug/import-watch-only-debug.tsx b/src/screens/debug/import-watch-only-debug/import-watch-only-debug.tsx index 7e40fb4f3..e4ccdaf36 100644 --- a/src/screens/debug/import-watch-only-debug/import-watch-only-debug.tsx +++ b/src/screens/debug/import-watch-only-debug/import-watch-only-debug.tsx @@ -11,6 +11,7 @@ import { useNavigation } from '../../../navigator/hooks/use-navigation.hook'; import { loadWhitelistAction } from '../../../store/tokens-metadata/tokens-metadata-actions'; import { addHdAccountAction, setSelectedAccountAction } from '../../../store/wallet/wallet-actions'; import { showSuccessToast } from '../../../toast/toast.utils'; + import { importWatchOnlyDebugInitialValues, importWatchOnlyDebugValidationSchema, diff --git a/src/screens/delegation-screen/delegation-screen.tsx b/src/screens/delegation-screen/delegation-screen.tsx index d2d7f2fe5..13184b5ce 100644 --- a/src/screens/delegation-screen/delegation-screen.tsx +++ b/src/screens/delegation-screen/delegation-screen.tsx @@ -7,6 +7,7 @@ import { useNavigation } from '../../navigator/hooks/use-navigation.hook'; import { loadBakersListActions } from '../../store/baking/baking-actions'; import { useBakerRewardsListSelector, useSelectedBakerSelector } from '../../store/baking/baking-selectors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { AboutDelegationScreen } from './about-delegation-screen/about-delegation-screen'; import { SelectedBakerScreen } from './selected-baker-screen/selected-baker-screen'; diff --git a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item-details/baker-reward-item-details.tsx b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item-details/baker-reward-item-details.tsx index 55849e3d6..432b4b332 100644 --- a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item-details/baker-reward-item-details.tsx +++ b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item-details/baker-reward-item-details.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react'; import { BakerRewardInterface } from '../../../../../../interfaces/baker-reward.interface'; + import { Endorsements } from './details/endorsements'; import { MissedEndorsements } from './details/missed-endorsements'; import { MissedOwnBlocks } from './details/missed-own-blocks'; diff --git a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item.tsx b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item.tsx index 269c81ab3..d2a4f926a 100644 --- a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item.tsx +++ b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/baker-reward-item/baker-reward-item.tsx @@ -22,6 +22,7 @@ import { mutezToTz } from 'src/utils/tezos.util'; import { RewardsStatsCalculationParams } from '../interfaces/rewards-stats-calculation-params'; import { CycleStatus, getCycleStatusIcon } from '../utils/get-cycle-status-icon'; import { getRewardsStats } from '../utils/get-rewards-stats'; + import { BakerRewardItemDetails } from './baker-reward-item-details/baker-reward-item-details'; import { useBakerRewardItemStyles } from './baker-reward-item.styles'; diff --git a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/utils/get-rewards-stats.ts b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/utils/get-rewards-stats.ts index 8f7c9c629..19fe298db 100644 --- a/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/utils/get-rewards-stats.ts +++ b/src/screens/delegation-screen/selected-baker-screen/baker-rewards-list/utils/get-rewards-stats.ts @@ -1,6 +1,7 @@ import { BigNumber } from 'bignumber.js'; import { RewardsStatsCalculationParams } from '../interfaces/rewards-stats-calculation-params'; + import { calculateLuck } from './calculate-luck'; import { getBakingEfficiency } from './get-baking-efficiency'; import { CycleStatus } from './get-cycle-status-icon'; diff --git a/src/screens/enter-password/enter-password.tsx b/src/screens/enter-password/enter-password.tsx index aa5e3f5a0..ed70972ff 100644 --- a/src/screens/enter-password/enter-password.tsx +++ b/src/screens/enter-password/enter-password.tsx @@ -29,6 +29,7 @@ import { formatSize } from '../../styles/format-size'; import { ToastProvider } from '../../toast/toast-provider'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { isDefined } from '../../utils/is-defined'; + import { EnterPasswordFormValues, enterPasswordInitialValues, diff --git a/src/screens/force-update/force-update.tsx b/src/screens/force-update/force-update.tsx index 4cca84b36..447baf74a 100644 --- a/src/screens/force-update/force-update.tsx +++ b/src/screens/force-update/force-update.tsx @@ -13,6 +13,7 @@ import { formatSize } from '../../styles/format-size'; import { useColors } from '../../styles/use-colors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { openUrl } from '../../utils/linking'; + import { useForceUpdateStyles } from './force-update.styles'; const APP_STORE_LINK = 'https://apps.apple.com/us/app/temple-wallet-mobile/id1610108763'; diff --git a/src/screens/import-account/create-new-password/create-new-password.tsx b/src/screens/import-account/create-new-password/create-new-password.tsx index 9e1079b62..229729290 100644 --- a/src/screens/import-account/create-new-password/create-new-password.tsx +++ b/src/screens/import-account/create-new-password/create-new-password.tsx @@ -30,6 +30,7 @@ import { formatSize } from '../../../styles/format-size'; import { useSetPasswordScreensCommonStyles } from '../../../styles/set-password-screens-common-styles'; import { showWarningToast } from '../../../toast/toast.utils'; import { isString } from '../../../utils/is-string'; + import { createNewPasswordValidationSchema, CreateNewPasswordFormValues } from './create-new-password.form'; import { CreateNewPasswordSelectors } from './create-new-password.selectors'; diff --git a/src/screens/import-account/import-account.tsx b/src/screens/import-account/import-account.tsx index 4eec51425..8f5ccf40a 100644 --- a/src/screens/import-account/import-account.tsx +++ b/src/screens/import-account/import-account.tsx @@ -3,6 +3,7 @@ import React, { useState } from 'react'; import { useInnerScreenProgress } from '../../hooks/use-inner-screen-progress'; import { ScreensEnum } from '../../navigator/enums/screens.enum'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { CreateNewPassword } from './create-new-password/create-new-password'; import { ImportWallet, ImportWalletCredentials } from './import-wallet/import-wallet'; diff --git a/src/screens/import-account/import-wallet/import-wallet-from-keystore-file/import-wallet-from-keystore-file.tsx b/src/screens/import-account/import-wallet/import-wallet-from-keystore-file/import-wallet-from-keystore-file.tsx index 26e6f21b2..28ef8c75a 100644 --- a/src/screens/import-account/import-wallet/import-wallet-from-keystore-file/import-wallet-from-keystore-file.tsx +++ b/src/screens/import-account/import-wallet/import-wallet-from-keystore-file/import-wallet-from-keystore-file.tsx @@ -20,6 +20,7 @@ import { showErrorToast } from 'src/toast/toast.utils'; import { decryptSeedPhrase, KUKAI_VERSION_ERROR } from 'src/utils/kukai.utils'; import type { ImportWalletProps } from '../import-wallet'; + import { ImportWalletFromKeystoreFileFormValues, importWalletFromKeystoreFileInitialValues, diff --git a/src/screens/import-account/import-wallet/import-wallet-from-seed-phrase/import-wallet-from-seed-phrase.tsx b/src/screens/import-account/import-wallet/import-wallet-from-seed-phrase/import-wallet-from-seed-phrase.tsx index 727dcec30..a9051ea63 100644 --- a/src/screens/import-account/import-wallet/import-wallet-from-seed-phrase/import-wallet-from-seed-phrase.tsx +++ b/src/screens/import-account/import-wallet/import-wallet-from-seed-phrase/import-wallet-from-seed-phrase.tsx @@ -9,6 +9,7 @@ import { Label } from 'src/components/label/label'; import { FormMnemonicInput } from 'src/form/form-mnemonic-input'; import type { ImportWalletProps } from '../import-wallet'; + import { importWalletFromSeedPhraseInitialValues, importWalletFromSeedPhraseValidationSchema diff --git a/src/screens/manage-accounts/info-text/info-text.tsx b/src/screens/manage-accounts/info-text/info-text.tsx index 6c8df833f..99b0fb392 100644 --- a/src/screens/manage-accounts/info-text/info-text.tsx +++ b/src/screens/manage-accounts/info-text/info-text.tsx @@ -3,6 +3,7 @@ import { Text } from 'react-native'; import { Divider } from '../../../components/divider/divider'; import { formatSize } from '../../../styles/format-size'; + import { useInfoTextStyles } from './info-text.styles'; export const InfoText = () => { diff --git a/src/screens/manage-accounts/manage-hd-accounts/manage-hd-accounts.tsx b/src/screens/manage-accounts/manage-hd-accounts/manage-hd-accounts.tsx index 24abfe5f4..c3a994e54 100644 --- a/src/screens/manage-accounts/manage-hd-accounts/manage-hd-accounts.tsx +++ b/src/screens/manage-accounts/manage-hd-accounts/manage-hd-accounts.tsx @@ -15,6 +15,7 @@ import { useNavigation } from '../../../navigator/hooks/use-navigation.hook'; import { useHdAccountListSelector, useSelectedAccountSelector } from '../../../store/wallet/wallet-selectors'; import { formatSize } from '../../../styles/format-size'; import { InfoText } from '../info-text/info-text'; + import { ManageAccountItem } from './manage-account-item/manage-account-item'; import { ManageHdAccountsSelectors } from './manage-hd-accounts.selectors'; import { useManageHdAccountsStyles } from './manage-hd-accounts.styles'; diff --git a/src/screens/manage-accounts/manage-imported-accounts/manage-imported-accounts.tsx b/src/screens/manage-accounts/manage-imported-accounts/manage-imported-accounts.tsx index 8bd4ecac2..7dd1d0f8a 100644 --- a/src/screens/manage-accounts/manage-imported-accounts/manage-imported-accounts.tsx +++ b/src/screens/manage-accounts/manage-imported-accounts/manage-imported-accounts.tsx @@ -11,6 +11,7 @@ import { useImportedAccountListSelector, useSelectedAccountSelector } from '../. import { formatSize } from '../../../styles/format-size'; import { InfoText } from '../info-text/info-text'; import { ManageAccountItem } from '../manage-hd-accounts/manage-account-item/manage-account-item'; + import { ManageImportedAccountsSelectors } from './manage-imported-accounts.selectors'; export const ManageImportedAccounts = () => { diff --git a/src/screens/manual-backup/manual-backup.tsx b/src/screens/manual-backup/manual-backup.tsx index ed7157bef..0a3e0fd82 100644 --- a/src/screens/manual-backup/manual-backup.tsx +++ b/src/screens/manual-backup/manual-backup.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { useInnerScreenProgress } from '../../hooks/use-inner-screen-progress'; import { ScreensEnum } from '../../navigator/enums/screens.enum'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { RevealSeedPhrase } from './reveal-seed-phrase/reveal-seed-phrase'; import { VerifySeedPhrase } from './verify-seed-phrase/verify-seed-phrase'; diff --git a/src/screens/manual-backup/verify-seed-phrase/verify-seed-phrase-row/verify-seed-phrase-row.tsx b/src/screens/manual-backup/verify-seed-phrase/verify-seed-phrase-row/verify-seed-phrase-row.tsx index 8476998fe..a70033bad 100644 --- a/src/screens/manual-backup/verify-seed-phrase/verify-seed-phrase-row/verify-seed-phrase-row.tsx +++ b/src/screens/manual-backup/verify-seed-phrase/verify-seed-phrase-row/verify-seed-phrase-row.tsx @@ -3,6 +3,7 @@ import { View } from 'react-native'; import { SeedPhraseWordGiven } from '../../../../components/seed-phrase-word-given/seed-phrase-word-given'; import { SeedPhraseWordInput } from '../../../../components/seed-phrase-word-input/seed-phrase-word-input'; + import { useVerifySeedPhraseRowStyles } from './verify-seed-phrase-row.styles'; interface VerifySeedPhraseRowProps { diff --git a/src/screens/market/tezos-info/tezos-info.styles.ts b/src/screens/market/tezos-info/tezos-info.styles.ts index 77ac5a825..f95d5590f 100644 --- a/src/screens/market/tezos-info/tezos-info.styles.ts +++ b/src/screens/market/tezos-info/tezos-info.styles.ts @@ -1,4 +1,5 @@ import { formatSize } from '../../../styles/format-size'; + import { createUseStyles } from './../../../styles/create-use-styles'; export const useTezosInfoStyles = createUseStyles(({ colors, typography }) => ({ diff --git a/src/screens/market/tezos-info/tezos-info.tsx b/src/screens/market/tezos-info/tezos-info.tsx index 082f0aa17..5a7108a0f 100644 --- a/src/screens/market/tezos-info/tezos-info.tsx +++ b/src/screens/market/tezos-info/tezos-info.tsx @@ -13,6 +13,7 @@ import { TEZ_TOKEN_SLUG } from 'src/token/data/tokens-metadata'; import { formatPrice, formatPriceChange, formatRegularValue, getPriceChangeColor } from 'src/utils/market.utils'; import { MarketSelectors } from '../market.selectors'; + import { circulatingSupplyAlert, marketCapAlert, volumeAlert } from './alerts'; import { useTezosInfoStyles } from './tezos-info.styles'; diff --git a/src/screens/market/top-coins-table/filters/filters.tsx b/src/screens/market/top-coins-table/filters/filters.tsx index 23647a792..8adc97efa 100644 --- a/src/screens/market/top-coins-table/filters/filters.tsx +++ b/src/screens/market/top-coins-table/filters/filters.tsx @@ -8,6 +8,7 @@ import { EventFn } from '../../../../config/general'; import { MarketTokensSortFieldEnum } from '../../../../enums/market-tokens-sort-field.enum'; import { formatSize } from '../../../../styles/format-size'; import { MarketSelectors } from '../../market.selectors'; + import { useFilterStyles } from './filter.styles'; const marketTokensSortFieldsLabels: Record = { diff --git a/src/screens/market/top-coins-table/hidden-button/hidden-button.tsx b/src/screens/market/top-coins-table/hidden-button/hidden-button.tsx index 09e1f1f81..28d6c4d70 100644 --- a/src/screens/market/top-coins-table/hidden-button/hidden-button.tsx +++ b/src/screens/market/top-coins-table/hidden-button/hidden-button.tsx @@ -9,6 +9,7 @@ import { formatSize } from '../../../../styles/format-size'; import { AnalyticsEventCategory } from '../../../../utils/analytics/analytics-event.enum'; import { useAnalytics } from '../../../../utils/analytics/use-analytics.hook'; import { conditionalStyle } from '../../../../utils/conditional-style'; + import { useHiddenButtonStyles } from './hidden-button.styles'; interface Props extends TestIdProps { diff --git a/src/screens/market/top-coins-table/right-swipe-view/right-swipe-view.tsx b/src/screens/market/top-coins-table/right-swipe-view/right-swipe-view.tsx index 44cd5c213..00b4f9db6 100644 --- a/src/screens/market/top-coins-table/right-swipe-view/right-swipe-view.tsx +++ b/src/screens/market/top-coins-table/right-swipe-view/right-swipe-view.tsx @@ -14,6 +14,7 @@ import { useColors } from 'src/styles/use-colors'; import { useAccountTokenBySlug } from 'src/utils/assets/hooks'; import { HiddenButton } from '../hidden-button/hidden-button'; + import { RightSwipeViewSelectors } from './right-swipe-view.selectors'; import { useRightSwipeViewStyles } from './right-swipe-view.styles'; diff --git a/src/screens/market/top-coins-table/top-tokens-table.tsx b/src/screens/market/top-coins-table/top-tokens-table.tsx index 46731e00f..5e8c44bbb 100644 --- a/src/screens/market/top-coins-table/top-tokens-table.tsx +++ b/src/screens/market/top-coins-table/top-tokens-table.tsx @@ -10,6 +10,7 @@ import { MarketToken } from 'src/store/market/market.interfaces'; import { formatSize } from 'src/styles/format-size'; import { MarketSelectors } from '../market.selectors'; + import { Filters } from './filters/filters'; import { RightSwipeView } from './right-swipe-view/right-swipe-view'; import { Row } from './row/row'; diff --git a/src/screens/notifications-item/notifications-item-content/notifications-item-content.tsx b/src/screens/notifications-item/notifications-item-content/notifications-item-content.tsx index 9b910ccdd..bb8c99564 100644 --- a/src/screens/notifications-item/notifications-item-content/notifications-item-content.tsx +++ b/src/screens/notifications-item/notifications-item-content/notifications-item-content.tsx @@ -3,6 +3,7 @@ import { Text } from 'react-native'; import { TextLink } from '../../../components/text-link/text-link'; import { NotificationInterface } from '../../../interfaces/notification.interface'; + import { useNotificationsItemContentStyles } from './notifications-item-content.styles'; type Props = Pick; diff --git a/src/screens/notifications-item/notifications-item.tsx b/src/screens/notifications-item/notifications-item.tsx index 28161f9d2..0d351f0cc 100644 --- a/src/screens/notifications-item/notifications-item.tsx +++ b/src/screens/notifications-item/notifications-item.tsx @@ -19,6 +19,7 @@ import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { formatDateOutput } from '../../utils/date.utils'; import { isDefined } from '../../utils/is-defined'; + import { NotificationImageFallbacks } from './notification-image-fallbacks'; import { NotificationItemSelectors } from './notification-item.selectors'; import { NotificationsItemContent } from './notifications-item-content/notifications-item-content'; diff --git a/src/screens/notifications-settings/notifications-settings.tsx b/src/screens/notifications-settings/notifications-settings.tsx index bc27e598a..27ac059cc 100644 --- a/src/screens/notifications-settings/notifications-settings.tsx +++ b/src/screens/notifications-settings/notifications-settings.tsx @@ -16,6 +16,7 @@ import { setIsNewsEnabledAction } from '../../store/notifications/notifications- import { useIsNewsEnabledSelector } from '../../store/notifications/notifications-selectors'; import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; + import { NotificationsSettingsSelectors } from './notifications-settings.selectors'; export const NotificationsSettings = () => { diff --git a/src/screens/notifications/notification-preview-item/notification-preview-item.tsx b/src/screens/notifications/notification-preview-item/notification-preview-item.tsx index b926b3d34..891907c2c 100644 --- a/src/screens/notifications/notification-preview-item/notification-preview-item.tsx +++ b/src/screens/notifications/notification-preview-item/notification-preview-item.tsx @@ -16,6 +16,7 @@ import { conditionalStyle } from 'src/utils/conditional-style'; import { formatDateOutput } from 'src/utils/date.utils'; import { NotificationsSelectors } from '../notifications.selectors'; + import { useNotificationPreviewItemStyles } from './notification-preview-item.styles'; const NotificationsIconMap: Record = { diff --git a/src/screens/passcode/passcode.tsx b/src/screens/passcode/passcode.tsx index 1a447a3c8..4da37e6d3 100644 --- a/src/screens/passcode/passcode.tsx +++ b/src/screens/passcode/passcode.tsx @@ -14,6 +14,7 @@ import { formatSize } from '../../styles/format-size'; import { useColors } from '../../styles/use-colors'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { openUrl } from '../../utils/linking'; + import { PasscodeSelectors } from './passcode.selectors'; import { usePassCodeStyles } from './passcode.styles'; diff --git a/src/screens/scan-qr-code/empty-qr-code.tsx b/src/screens/scan-qr-code/empty-qr-code.tsx index 77e9ec29a..f5239be03 100644 --- a/src/screens/scan-qr-code/empty-qr-code.tsx +++ b/src/screens/scan-qr-code/empty-qr-code.tsx @@ -9,6 +9,7 @@ import { Divider } from '../../components/divider/divider'; import { isAndroid } from '../../config/system'; import { formatSize } from '../../styles/format-size'; import { openUrl } from '../../utils/linking'; + import { useScanQrCodeStyles } from './scan-qr-code.styles'; export const EmptyQrCode = () => { diff --git a/src/screens/secure-settings/secure-settings.tsx b/src/screens/secure-settings/secure-settings.tsx index 4f60ae90f..e45c00de6 100644 --- a/src/screens/secure-settings/secure-settings.tsx +++ b/src/screens/secure-settings/secure-settings.tsx @@ -25,6 +25,7 @@ import { import { formatSize } from '../../styles/format-size'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { isDefined } from '../../utils/is-defined'; + import { SecureSettingsSelectors } from './secure-settings.selectors'; export const SecureSettings = () => { diff --git a/src/screens/settings/settings.tsx b/src/screens/settings/settings.tsx index a3a32f583..aab32446c 100644 --- a/src/screens/settings/settings.tsx +++ b/src/screens/settings/settings.tsx @@ -37,6 +37,7 @@ import { usePageAnalytic, useAnalytics } from 'src/utils/analytics/use-analytics import { showErrorToast } from '../../toast/toast.utils'; import { copyStringToClipboard } from '../../utils/clipboard.utils'; import { getTempleDynamicLink } from '../../utils/dynamic-links'; + import { SettingsHeader } from './settings-header/settings-header'; import { SettingsSelectors } from './settings.selectors'; import { useSettingsStyles } from './settings.styles'; diff --git a/src/screens/swap/swap-form/hop-item/hop-item.tsx b/src/screens/swap/swap-form/hop-item/hop-item.tsx index b00fe8f19..2438ce0e7 100644 --- a/src/screens/swap/swap-form/hop-item/hop-item.tsx +++ b/src/screens/swap/swap-form/hop-item/hop-item.tsx @@ -8,6 +8,7 @@ import { formatSize } from 'src/styles/format-size'; import { TokenInterface } from 'src/token/interfaces/token.interface'; import { DexIcon } from '../dex-icon/dex-icon'; + import { useHopItemStyles } from './hop-item.styles'; interface Props { diff --git a/src/screens/swap/swap-form/lb-pool-part/index.tsx b/src/screens/swap/swap-form/lb-pool-part/index.tsx index 0e1917b72..bfffeb17e 100644 --- a/src/screens/swap/swap-form/lb-pool-part/index.tsx +++ b/src/screens/swap/swap-form/lb-pool-part/index.tsx @@ -10,6 +10,7 @@ import { SIRS_TOKEN_METADATA } from 'src/token/data/tokens-metadata'; import { conditionalStyle } from 'src/utils/conditional-style'; import { SwapRouteAmounts } from '../swap-route-amounts'; + import { useLbPoolPartStyles } from './styles'; interface Props { diff --git a/src/screens/swap/swap-form/swap-assets-button/swap-assets-button.tsx b/src/screens/swap/swap-form/swap-assets-button/swap-assets-button.tsx index afebb0561..8d90609aa 100644 --- a/src/screens/swap/swap-form/swap-assets-button/swap-assets-button.tsx +++ b/src/screens/swap/swap-form/swap-assets-button/swap-assets-button.tsx @@ -11,6 +11,7 @@ import { resetSwapParamsAction } from 'src/store/swap/swap-actions'; import { formatSize } from 'src/styles/format-size'; import { SwapFormSelectors } from '../swap-form.selectors'; + import { SwapAssetsButtonStyles } from './swap-assets-button.styles'; export const SwapAssetsButton: FC = () => { diff --git a/src/screens/swap/swap-form/swap-route-item/swap-route-item.tsx b/src/screens/swap/swap-form/swap-route-item/swap-route-item.tsx index 7d6971e9f..8db74d33c 100644 --- a/src/screens/swap/swap-form/swap-route-item/swap-route-item.tsx +++ b/src/screens/swap/swap-form/swap-route-item/swap-route-item.tsx @@ -12,6 +12,7 @@ import { useTezosTokenOfCurrentAccount } from 'src/utils/wallet.utils'; import { HopItem } from '../hop-item/hop-item'; import { SwapRouteAmounts } from '../swap-route-amounts'; + import { useSwapRouteItem } from './swap-route-item.styles'; interface Props { diff --git a/src/screens/swap/swap-form/swap-route/swap-route.tsx b/src/screens/swap/swap-form/swap-route/swap-route.tsx index 322874c7a..040191e79 100644 --- a/src/screens/swap/swap-form/swap-route/swap-route.tsx +++ b/src/screens/swap/swap-form/swap-route/swap-route.tsx @@ -17,6 +17,7 @@ import { isDefined } from 'src/utils/is-defined'; import { LbPoolPart } from '../lb-pool-part'; import { SwapRouteItem } from '../swap-route-item/swap-route-item'; + import { SwapRouteSelectors } from './selectors'; import { useSwapRouteStyles } from './swap-route.styles'; diff --git a/src/screens/swap/swap.tsx b/src/screens/swap/swap.tsx index 1ad1d7340..c709117ee 100644 --- a/src/screens/swap/swap.tsx +++ b/src/screens/swap/swap.tsx @@ -7,6 +7,7 @@ import { loadSwapDexesAction, loadSwapTokensAction, resetSwapParamsAction } from import { ScreensEnum, ScreensParamList } from '../../navigator/enums/screens.enum'; import { usePageAnalytic } from '../../utils/analytics/use-analytics.hook'; import { isDefined } from '../../utils/is-defined'; + import { SwapForm } from './swap-form/swap-form'; export const SwapScreen: FC = () => { diff --git a/src/screens/sync-account/after-sync-qr-scan/after-sync-qr-scan.tsx b/src/screens/sync-account/after-sync-qr-scan/after-sync-qr-scan.tsx index d83f8c774..f86fc3fda 100644 --- a/src/screens/sync-account/after-sync-qr-scan/after-sync-qr-scan.tsx +++ b/src/screens/sync-account/after-sync-qr-scan/after-sync-qr-scan.tsx @@ -16,6 +16,7 @@ import { import { showErrorToast } from '../../../toast/toast.utils'; import { usePageAnalytic } from '../../../utils/analytics/use-analytics.hook'; import { parseSyncPayload } from '../../../utils/sync.utils'; + import { ConfirmSync } from './confirm-sync/confirm-sync'; import { ConfirmSyncFormValues } from './confirm-sync/confirm-sync.form'; import { CreateNewPassword } from './create-new-password/create-new-password'; diff --git a/src/screens/sync-account/after-sync-qr-scan/confirm-sync/confirm-sync.tsx b/src/screens/sync-account/after-sync-qr-scan/confirm-sync/confirm-sync.tsx index 1bb917f2d..651122fed 100644 --- a/src/screens/sync-account/after-sync-qr-scan/confirm-sync/confirm-sync.tsx +++ b/src/screens/sync-account/after-sync-qr-scan/confirm-sync/confirm-sync.tsx @@ -23,6 +23,7 @@ import { FormPasswordInput } from '../../../../form/form-password-input'; import { usePasswordLock } from '../../../../hooks/use-password-lock.hook'; import { formatSize } from '../../../../styles/format-size'; import { useSetPasswordScreensCommonStyles } from '../../../../styles/set-password-screens-common-styles'; + import { ConfirmSyncFormValues, ConfirmSyncInitialValues, ConfirmSyncValidationSchema } from './confirm-sync.form'; import { ConfirmSyncSelectors } from './confirm-sync.selectors'; diff --git a/src/screens/sync-account/after-sync-qr-scan/create-new-password/create-new-password.tsx b/src/screens/sync-account/after-sync-qr-scan/create-new-password/create-new-password.tsx index 12073e8bb..54feaa0f1 100644 --- a/src/screens/sync-account/after-sync-qr-scan/create-new-password/create-new-password.tsx +++ b/src/screens/sync-account/after-sync-qr-scan/create-new-password/create-new-password.tsx @@ -15,6 +15,7 @@ import { FormPasswordInput } from '../../../../form/form-password-input'; import { useShelter } from '../../../../shelter/use-shelter.hook'; import { formatSize } from '../../../../styles/format-size'; import { useSetPasswordScreensCommonStyles } from '../../../../styles/set-password-screens-common-styles'; + import { CreateNewPasswordFormValues, createNewPasswordInitialValues, diff --git a/src/screens/sync-account/sync-instructions/sync-instructions.tsx b/src/screens/sync-account/sync-instructions/sync-instructions.tsx index ba56a5eb2..77a4d06f6 100644 --- a/src/screens/sync-account/sync-instructions/sync-instructions.tsx +++ b/src/screens/sync-account/sync-instructions/sync-instructions.tsx @@ -10,6 +10,7 @@ import { ScreenContainer } from '../../../components/screen-container/screen-con import { ScreensEnum } from '../../../navigator/enums/screens.enum'; import { useNavigation } from '../../../navigator/hooks/use-navigation.hook'; import { usePageAnalytic } from '../../../utils/analytics/use-analytics.hook'; + import { SyncInstructionsSelectors } from './sync-instructions.selectors'; import { useSyncInstructionsStyles } from './sync-instructions.styles'; diff --git a/src/screens/tezos-token-screen/tezos-token-screen.tsx b/src/screens/tezos-token-screen/tezos-token-screen.tsx index 0dc8a4a29..97f1bd327 100644 --- a/src/screens/tezos-token-screen/tezos-token-screen.tsx +++ b/src/screens/tezos-token-screen/tezos-token-screen.tsx @@ -1,8 +1,8 @@ import React, { useEffect } from 'react'; import { useDispatch } from 'react-redux'; -import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; import { HeaderCard } from 'src/components/header-card/header-card'; +import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; import { PublicKeyHashText } from 'src/components/public-key-hash-text/public-key-hash-text'; import { TokenEquityValue } from 'src/components/token-equity-value/token-equity-value'; import { TokenScreenContentContainer } from 'src/components/token-screen-content-container/token-screen-content-container'; diff --git a/src/screens/token-screen/token-info/token-info.tsx b/src/screens/token-screen/token-info/token-info.tsx index 5d9f46edc..35a5f6b98 100644 --- a/src/screens/token-screen/token-info/token-info.tsx +++ b/src/screens/token-screen/token-info/token-info.tsx @@ -9,6 +9,7 @@ import { TokenTypeEnum } from '../../../interfaces/token-type.enum'; import { TokenInterface } from '../../../token/interfaces/token.interface'; import { copyStringToClipboard } from '../../../utils/clipboard.utils'; import { isDefined } from '../../../utils/is-defined'; + import { useTokenInfoStyles } from './token-info.styles'; interface Props { diff --git a/src/screens/token-screen/token-screen.tsx b/src/screens/token-screen/token-screen.tsx index fd561e335..f943a09eb 100644 --- a/src/screens/token-screen/token-screen.tsx +++ b/src/screens/token-screen/token-screen.tsx @@ -3,10 +3,10 @@ import React, { useEffect, useMemo, useState } from 'react'; import { useDispatch } from 'react-redux'; import { ActivityGroupsList } from 'src/components/activity-groups-list/activity-groups-list'; -import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; -import { HeaderCard } from 'src/components/header-card/header-card'; import { HeaderTokenInfo } from 'src/components/header/header-token-info/header-token-info'; import { useNavigationSetOptions } from 'src/components/header/use-navigation-set-options.hook'; +import { HeaderCard } from 'src/components/header-card/header-card'; +import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; import { PublicKeyHashText } from 'src/components/public-key-hash-text/public-key-hash-text'; import { TokenEquityValue } from 'src/components/token-equity-value/token-equity-value'; import { TokenScreenContentContainer } from 'src/components/token-screen-content-container/token-screen-content-container'; diff --git a/src/screens/wallet/notifications-bell/notifications-bell.tsx b/src/screens/wallet/notifications-bell/notifications-bell.tsx index 8a3f2b7b2..998f51863 100644 --- a/src/screens/wallet/notifications-bell/notifications-bell.tsx +++ b/src/screens/wallet/notifications-bell/notifications-bell.tsx @@ -10,6 +10,7 @@ import { formatSize } from 'src/styles/format-size'; import { useColors } from 'src/styles/use-colors'; import { WalletSelectors } from '../wallet.selectors'; + import { NotificationsBellStyles } from './notifications-bell.styles'; export const NotificationsBell = memo(() => { diff --git a/src/screens/wallet/token-list/token-list.tsx b/src/screens/wallet/token-list/token-list.tsx index 66e9fd53a..c86296495 100644 --- a/src/screens/wallet/token-list/token-list.tsx +++ b/src/screens/wallet/token-list/token-list.tsx @@ -38,6 +38,7 @@ import { OptimalPromotionAdType } from 'src/utils/optimal.utils'; import { useTezosTokenOfCurrentAccount } from 'src/utils/wallet.utils'; import { WalletSelectors } from '../wallet.selectors'; + import { TezosToken } from './token-list-item/tezos-token'; import { TokenListItem } from './token-list-item/token-list-item'; import { useTokenListStyles } from './token-list.styles'; diff --git a/src/screens/wallet/wallet.tsx b/src/screens/wallet/wallet.tsx index 9feda094e..476756925 100644 --- a/src/screens/wallet/wallet.tsx +++ b/src/screens/wallet/wallet.tsx @@ -8,8 +8,8 @@ import { BottomSheet } from 'src/components/bottom-sheet/bottom-sheet'; import { BottomSheetActionButton } from 'src/components/bottom-sheet/bottom-sheet-action-button/bottom-sheet-action-button'; import { useBottomSheetController } from 'src/components/bottom-sheet/use-bottom-sheet-controller'; import { Divider } from 'src/components/divider/divider'; -import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; import { HeaderCard } from 'src/components/header-card/header-card'; +import { HeaderCardActionButtons } from 'src/components/header-card-action-buttons/header-card-action-buttons'; import { IconNameEnum } from 'src/components/icon/icon-name.enum'; import { TouchableIcon } from 'src/components/icon/touchable-icon/touchable-icon'; import { TokenEquityValue } from 'src/components/token-equity-value/token-equity-value'; diff --git a/src/shelter/app-lock/app-lock.spec.ts b/src/shelter/app-lock/app-lock.spec.ts index 1ede18795..52373b0a3 100644 --- a/src/shelter/app-lock/app-lock.spec.ts +++ b/src/shelter/app-lock/app-lock.spec.ts @@ -4,6 +4,7 @@ import { act } from 'react-test-renderer'; import { mockCorrectPassword, mockCorrectUserCredentialsValue } from '../../mocks/react-native-keychain.mock'; import { mockReactNativeToastMessage } from '../../mocks/react-native-toast-message.mock'; import { mockShelter } from '../shelter.mock'; + import { useAppLock } from './app-lock'; // TODO: figure out how to test ContextProvider value diff --git a/src/shelter/shelter.spec.ts b/src/shelter/shelter.spec.ts index c98f1f04e..260954245 100644 --- a/src/shelter/shelter.spec.ts +++ b/src/shelter/shelter.spec.ts @@ -16,6 +16,7 @@ import { } from '../utils/crypto.util.mock'; import { biometryKeychainOptions, getKeychainOptions, PASSWORD_STORAGE_KEY } from '../utils/keychain.utils'; import { rxJsTestingHelper } from '../utils/testing.utils'; + import { Shelter } from './shelter'; describe('Shelter', () => { diff --git a/src/shelter/use-shelter.hook.spec.ts b/src/shelter/use-shelter.hook.spec.ts index bbe7de69c..71fa8ad60 100644 --- a/src/shelter/use-shelter.hook.spec.ts +++ b/src/shelter/use-shelter.hook.spec.ts @@ -11,6 +11,7 @@ import { mockRootState } from '../store/root-state.mock'; import { setIsBiometricsEnabled } from '../store/settings/settings-actions'; import { addHdAccountAction, setSelectedAccountAction } from '../store/wallet/wallet-actions'; import { mockShowErrorToast, mockShowSuccessToast, mockShowWarningToast } from '../toast/toast.utils.mock'; + import { mockRevealedSecretKey, mockRevealedSeedPhrase, mockShelter } from './shelter.mock'; import { useShelter } from './use-shelter.hook'; diff --git a/src/shelter/use-shelter.hook.ts b/src/shelter/use-shelter.hook.ts index 526ec96df..582a3c6d2 100644 --- a/src/shelter/use-shelter.hook.ts +++ b/src/shelter/use-shelter.hook.ts @@ -4,6 +4,7 @@ import { EMPTY, Subject } from 'rxjs'; import { useNavigation } from '../navigator/hooks/use-navigation.hook'; import { useAccountsListSelector } from '../store/wallet/wallet-selectors'; + import { ImportWalletParams } from './interfaces/import-wallet-params.interface'; import { RevealSecretKeyParams } from './interfaces/reveal-secret-key-params.interface'; import { RevealSeedPhraseParams } from './interfaces/reveal-seed-phrase.params'; diff --git a/src/store/ab-testing/ab-testing-epics.ts b/src/store/ab-testing/ab-testing-epics.ts index f9d37d5e6..f2ad03b33 100644 --- a/src/store/ab-testing/ab-testing-epics.ts +++ b/src/store/ab-testing/ab-testing-epics.ts @@ -5,6 +5,7 @@ import { Action } from 'ts-action'; import { ofType } from 'ts-action-operators'; import { getABGroup$ } from '../../apis/temple-wallet'; + import { getUserTestingGroupNameActions } from './ab-testing-actions'; const getUserTestingGroupNameEpic = (action$: Observable) => diff --git a/src/store/ab-testing/ab-testing-state.mock.ts b/src/store/ab-testing/ab-testing-state.mock.ts index 704989a9f..7ca16cc66 100644 --- a/src/store/ab-testing/ab-testing-state.mock.ts +++ b/src/store/ab-testing/ab-testing-state.mock.ts @@ -1,4 +1,5 @@ import { ABTestGroup } from '../../apis/temple-wallet'; + import { ABTestingState } from './ab-testing-state'; export const mockABTestingState: ABTestingState = { diff --git a/src/store/advertising/advertising-epics.ts b/src/store/advertising/advertising-epics.ts index bd3169145..5a08ce4a1 100644 --- a/src/store/advertising/advertising-epics.ts +++ b/src/store/advertising/advertising-epics.ts @@ -6,6 +6,7 @@ import { ofType } from 'ts-action-operators'; import { templeWalletApi } from '../../api.service'; import { GetAdvertisingInfoResponse } from '../../interfaces/advertising-promotion.interface'; + import { loadAdvertisingPromotionActions } from './advertising-actions'; const loadActivePromotionEpic = (action$: Observable) => diff --git a/src/store/advertising/advertising-reducers.ts b/src/store/advertising/advertising-reducers.ts index dc69ca80a..4a0d7d5c6 100644 --- a/src/store/advertising/advertising-reducers.ts +++ b/src/store/advertising/advertising-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { loadAdvertisingPromotionActions } from './advertising-actions'; import { advertisingInitialState, AdvertisingState } from './advertising-state'; diff --git a/src/store/advertising/advertising-state.mock.ts b/src/store/advertising/advertising-state.mock.ts index 5c103c486..581caba6a 100644 --- a/src/store/advertising/advertising-state.mock.ts +++ b/src/store/advertising/advertising-state.mock.ts @@ -1,5 +1,6 @@ import { advertisingPromotionMock } from '../../interfaces/advertising-promotion.mock'; import { createEntity } from '../create-entity'; + import { AdvertisingState } from './advertising-state'; export const mockAdvertisingState: AdvertisingState = { diff --git a/src/store/baking/baking-reducers.ts b/src/store/baking/baking-reducers.ts index 1b15f4cad..fd4e5df3a 100644 --- a/src/store/baking/baking-reducers.ts +++ b/src/store/baking/baking-reducers.ts @@ -3,6 +3,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { emptyBaker } from 'src/apis/baking-bad'; import { createEntity } from '../create-entity'; + import { loadBakerRewardsListActions, loadBakersListActions, loadSelectedBakerActions } from './baking-actions'; import { bakingInitialState, BakingState } from './baking-state'; diff --git a/src/store/baking/baking-state.mock.ts b/src/store/baking/baking-state.mock.ts index 9f1a9664d..f94845c4f 100644 --- a/src/store/baking/baking-state.mock.ts +++ b/src/store/baking/baking-state.mock.ts @@ -2,6 +2,7 @@ import { mockBaker } from 'src/apis/baking-bad'; import { mockBakerReward } from 'src/interfaces/baker-reward.interface.mock'; import { createEntity } from '../create-entity'; + import { BakingState } from './baking-state'; export const mockBakingState: BakingState = { diff --git a/src/store/buy-with-credit-card/actions.ts b/src/store/buy-with-credit-card/actions.ts index 226296961..53db6df8c 100644 --- a/src/store/buy-with-credit-card/actions.ts +++ b/src/store/buy-with-credit-card/actions.ts @@ -4,6 +4,7 @@ import { TopUpProviderEnum } from 'src/enums/top-up-providers.enum'; import { PairLimits } from 'src/utils/pair-limits'; import { createActions } from '../create-actions'; + import { BuyWithCreditCardState, PairLimitsRecord } from './state'; export const loadAllCurrenciesActions = createActions( diff --git a/src/store/buy-with-credit-card/epics.ts b/src/store/buy-with-credit-card/epics.ts index 7d6de888a..2c23c9559 100644 --- a/src/store/buy-with-credit-card/epics.ts +++ b/src/store/buy-with-credit-card/epics.ts @@ -15,6 +15,7 @@ import { isDefined } from 'src/utils/is-defined'; import { createEntity } from '../create-entity'; import type { RootState } from '../types'; + import { loadAllCurrenciesActions, updatePairLimitsActions } from './actions'; import { TopUpProviderCurrencies } from './state'; import { mapAliceBobProviderCurrencies, mapMoonPayProviderCurrencies, mapUtorgProviderCurrencies } from './utils'; diff --git a/src/store/buy-with-credit-card/reducers.ts b/src/store/buy-with-credit-card/reducers.ts index 408b40b84..2ece441cb 100644 --- a/src/store/buy-with-credit-card/reducers.ts +++ b/src/store/buy-with-credit-card/reducers.ts @@ -4,6 +4,7 @@ import { TopUpProviderEnum } from 'src/enums/top-up-providers.enum'; import { isDefined } from 'src/utils/is-defined'; import { createEntity } from '../create-entity'; + import { loadAllCurrenciesActions, updatePairLimitsActions, updateTopUpProviderPairLimitsAction } from './actions'; import { buyWithCreditCardInitialState, BuyWithCreditCardState } from './state'; diff --git a/src/store/buy-with-credit-card/selectors.ts b/src/store/buy-with-credit-card/selectors.ts index 48c0ffa64..5a7d272a9 100644 --- a/src/store/buy-with-credit-card/selectors.ts +++ b/src/store/buy-with-credit-card/selectors.ts @@ -3,6 +3,7 @@ import { PairLimits } from 'src/utils/pair-limits'; import { useSelector } from '../selector'; import { LoadableEntityState } from '../types'; + import { PairLimitsRecord } from './state'; export const useFiatCurrenciesSelector = (topUpProvider: TopUpProviderEnum) => diff --git a/src/store/buy-with-credit-card/state.mock.ts b/src/store/buy-with-credit-card/state.mock.ts index 4c48d4c7a..bbfe18ae9 100644 --- a/src/store/buy-with-credit-card/state.mock.ts +++ b/src/store/buy-with-credit-card/state.mock.ts @@ -1,6 +1,7 @@ import { TopUpProviderEnum } from 'src/enums/top-up-providers.enum'; import { createEntity } from '../create-entity'; + import { BuyWithCreditCardState } from './state'; export const mockBuyWithCreditCardState: BuyWithCreditCardState = { diff --git a/src/store/buy-with-credit-card/state.ts b/src/store/buy-with-credit-card/state.ts index 13f9a2b10..0787f98fa 100644 --- a/src/store/buy-with-credit-card/state.ts +++ b/src/store/buy-with-credit-card/state.ts @@ -3,6 +3,7 @@ import { PairLimits } from 'src/utils/pair-limits'; import { createEntity } from '../create-entity'; import { LoadableEntityState } from '../types'; + import { TopUpInputInterface, TopUpOutputInterface } from './types'; export interface TopUpProviderCurrencies { diff --git a/src/store/collectibles/collectibles-actions.ts b/src/store/collectibles/collectibles-actions.ts index 003bfd8e5..7210f20d3 100644 --- a/src/store/collectibles/collectibles-actions.ts +++ b/src/store/collectibles/collectibles-actions.ts @@ -1,4 +1,5 @@ import { createActions } from '../create-actions'; + import type { CollectibleDetailsRecord } from './collectibles-state'; export const loadCollectiblesDetailsActions = createActions< diff --git a/src/store/collectibles/collectibles-reducers.ts b/src/store/collectibles/collectibles-reducers.ts index c6457917d..d9a596604 100644 --- a/src/store/collectibles/collectibles-reducers.ts +++ b/src/store/collectibles/collectibles-reducers.ts @@ -3,6 +3,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { persistReducer } from 'redux-persist'; import { createEntity } from '../create-entity'; + import { loadCollectiblesDetailsActions } from './collectibles-actions'; import { CollectiblesState, collectiblesInitialState } from './collectibles-state'; diff --git a/src/store/collectibles/collectibles-state.mock.ts b/src/store/collectibles/collectibles-state.mock.ts index 661923735..65fd6da05 100644 --- a/src/store/collectibles/collectibles-state.mock.ts +++ b/src/store/collectibles/collectibles-state.mock.ts @@ -1,6 +1,7 @@ import { mockPersistedState } from 'src/utils/redux'; import { createEntity } from '../create-entity'; + import type { CollectiblesState } from './collectibles-state'; export const mockCollectiblesState = mockPersistedState({ diff --git a/src/store/collectons/collections-actions.ts b/src/store/collectons/collections-actions.ts index 642ef6efe..146ae1815 100644 --- a/src/store/collectons/collections-actions.ts +++ b/src/store/collectons/collections-actions.ts @@ -1,4 +1,5 @@ import { createActions } from '../create-actions'; + import { Collection } from './collections-state'; export const loadCollectionsActions = createActions('collections/LOAD_COLLECTIONS'); diff --git a/src/store/collectons/collections-selectors.ts b/src/store/collectons/collections-selectors.ts index 99d547a61..4ce3b4847 100644 --- a/src/store/collectons/collections-selectors.ts +++ b/src/store/collectons/collections-selectors.ts @@ -2,6 +2,7 @@ import { useMemo } from 'react'; import { useSelector } from '../selector'; import { useCurrentAccountPkhSelector } from '../wallet/wallet-selectors'; + import { Collection } from './collections-state'; export const useCreatedCollectionsSelector = (): Collection[] => { diff --git a/src/store/contact-book/contact-book-epics.ts b/src/store/contact-book/contact-book-epics.ts index efa125389..9f1263372 100644 --- a/src/store/contact-book/contact-book-epics.ts +++ b/src/store/contact-book/contact-book-epics.ts @@ -8,6 +8,7 @@ import { loadTezosBalance$ } from 'src/utils/token-balance.utils'; import { withSelectedRpcUrl } from 'src/utils/wallet.utils'; import type { RootState } from '../types'; + import { loadContactTezosBalance } from './contact-book-actions'; const loadContactTezosBalanceEpic = (action$: Observable, state$: Observable) => diff --git a/src/store/contact-book/contact-book-state.mock.ts b/src/store/contact-book/contact-book-state.mock.ts index 26645574d..8c75bbe40 100644 --- a/src/store/contact-book/contact-book-state.mock.ts +++ b/src/store/contact-book/contact-book-state.mock.ts @@ -1,4 +1,5 @@ import { mockAccountBase } from '../../interfaces/account.interface.mock'; + import { ContactBookState } from './contact-book-state'; export const mockContactBookState: ContactBookState = { diff --git a/src/store/currency/currency-actions.ts b/src/store/currency/currency-actions.ts index 75c5f7fe8..978be5dc4 100644 --- a/src/store/currency/currency-actions.ts +++ b/src/store/currency/currency-actions.ts @@ -1,4 +1,5 @@ import { createActions } from '../create-actions'; + import { ExchangeRateRecord } from './currency-state'; interface ExchangeRateInterface { diff --git a/src/store/currency/currency-reducers.ts b/src/store/currency/currency-reducers.ts index dfe673138..d9f3dab0b 100644 --- a/src/store/currency/currency-reducers.ts +++ b/src/store/currency/currency-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { loadExchangeRates } from './currency-actions'; import { currencyInitialState, CurrencyState } from './currency-state'; diff --git a/src/store/currency/currency-state.mock.ts b/src/store/currency/currency-state.mock.ts index 9f21669b2..6e051f81c 100644 --- a/src/store/currency/currency-state.mock.ts +++ b/src/store/currency/currency-state.mock.ts @@ -1,4 +1,5 @@ import { createEntity } from '../create-entity'; + import { CurrencyState } from './currency-state'; export const mockCurrencyState: CurrencyState = { diff --git a/src/store/d-apps/d-apps-epics.ts b/src/store/d-apps/d-apps-epics.ts index 09f5c7b8b..b95039a9d 100644 --- a/src/store/d-apps/d-apps-epics.ts +++ b/src/store/d-apps/d-apps-epics.ts @@ -13,6 +13,7 @@ import { withUsdToTokenRates } from 'src/utils/wallet.utils'; import { emptyAction } from '../root-state.actions'; import type { RootState } from '../types'; + import { loadTokensApyActions, abortRequestAction, diff --git a/src/store/d-apps/d-apps-reducers.ts b/src/store/d-apps/d-apps-reducers.ts index 1413e79f0..4e8119c03 100644 --- a/src/store/d-apps/d-apps-reducers.ts +++ b/src/store/d-apps/d-apps-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { loadTokensApyActions, loadDAppsListActions, loadPermissionsActions } from './d-apps-actions'; import { dAppsInitialState, DAppsState } from './d-apps-state'; diff --git a/src/store/d-apps/d-apps-state.mock.ts b/src/store/d-apps/d-apps-state.mock.ts index 5edb61ad8..f6ac15b86 100644 --- a/src/store/d-apps/d-apps-state.mock.ts +++ b/src/store/d-apps/d-apps-state.mock.ts @@ -1,5 +1,6 @@ import { mockDApp } from '../../interfaces/custom-dapps-info.mock'; import { createEntity } from '../create-entity'; + import { DAppsState } from './d-apps-state'; export const mockDAppsState: DAppsState = { diff --git a/src/store/exolix/exolix-epics.ts b/src/store/exolix/exolix-epics.ts index b3d6eaa1c..c243222ec 100644 --- a/src/store/exolix/exolix-epics.ts +++ b/src/store/exolix/exolix-epics.ts @@ -10,6 +10,7 @@ import { loadExolixCurrencies, loadExolixExchangeData, submitExolixExchange } fr import { withSelectedIsAnalyticsEnabled, withSelectedUserId } from 'src/utils/security.utils'; import type { RootState } from '../types'; + import { loadExolixCurrenciesAction, loadExolixExchangeDataActions, diff --git a/src/store/farms/epics.ts b/src/store/farms/epics.ts index b66f1127f..5f6ab5112 100644 --- a/src/store/farms/epics.ts +++ b/src/store/farms/epics.ts @@ -15,6 +15,7 @@ import { createReadOnlyTezosToolkit } from 'src/utils/rpc/tezos-toolkit.utils'; import { withSelectedAccount, withSelectedRpcUrl } from 'src/utils/wallet.utils'; import type { RootState } from '../types'; + import { loadAllFarmsActions, loadAllFarmsAndStakesAction, diff --git a/src/store/farms/reducers.ts b/src/store/farms/reducers.ts index 5e4863f58..4a0816d02 100644 --- a/src/store/farms/reducers.ts +++ b/src/store/farms/reducers.ts @@ -6,6 +6,7 @@ import { isDefined } from 'src/utils/is-defined'; import { createEntity } from '../create-entity'; import { setSelectedAccountAction } from '../wallet/wallet-actions'; + import { loadAllFarmsActions, loadAllFarmsAndStakesAction, diff --git a/src/store/farms/state.mock.ts b/src/store/farms/state.mock.ts index c8ca000d2..dc0227d4c 100644 --- a/src/store/farms/state.mock.ts +++ b/src/store/farms/state.mock.ts @@ -1,6 +1,7 @@ import { EarnOpportunitiesSortFieldEnum } from 'src/enums/earn-opportunities-sort-fields.enum'; import { createEntity } from '../create-entity'; + import { FarmsState } from './state'; export const mockFarmsState: FarmsState = { diff --git a/src/store/market/market-actions.ts b/src/store/market/market-actions.ts index 2cef4a2e8..026098427 100644 --- a/src/store/market/market-actions.ts +++ b/src/store/market/market-actions.ts @@ -2,6 +2,7 @@ import { createAction } from '@reduxjs/toolkit'; import { MarketTokensSortFieldEnum } from '../../enums/market-tokens-sort-field.enum'; import { createActions } from '../create-actions'; + import { MarketToken } from './market.interfaces'; export const loadMarketTokensActions = createActions, string>('market/MARKET_TOKENS'); diff --git a/src/store/market/market-epics.ts b/src/store/market/market-epics.ts index 6b259d6b4..dd089065b 100644 --- a/src/store/market/market-epics.ts +++ b/src/store/market/market-epics.ts @@ -11,6 +11,7 @@ import { } from 'src/utils/market.utils'; import { RootState } from '../types'; + import { loadMarketTokensSlugsActions, loadMarketTokensActions } from './market-actions'; const loadMarketTokensSlugs$ = () => from(fetchMarketTokensSlugs()); diff --git a/src/store/market/market-reducers.ts b/src/store/market/market-reducers.ts index 52fb50f84..e2c8133d1 100644 --- a/src/store/market/market-reducers.ts +++ b/src/store/market/market-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { addFavouriteToken, deleteFavouriteToken, diff --git a/src/store/market/market-state.mock.ts b/src/store/market/market-state.mock.ts index dfcc9d7fe..2a985826f 100644 --- a/src/store/market/market-state.mock.ts +++ b/src/store/market/market-state.mock.ts @@ -1,5 +1,6 @@ import { MarketTokensSortFieldEnum } from '../../enums/market-tokens-sort-field.enum'; import { createEntity } from '../create-entity'; + import { MarketState } from './market-state'; export const mockMarketState: MarketState = { diff --git a/src/store/market/market-state.ts b/src/store/market/market-state.ts index bc59bda2b..a8ec2eaf8 100644 --- a/src/store/market/market-state.ts +++ b/src/store/market/market-state.ts @@ -1,5 +1,6 @@ import { MarketTokensSortFieldEnum } from '../../enums/market-tokens-sort-field.enum'; import { LoadableEntityState } from '../types'; + import { createEntity } from './../create-entity'; import { MarketToken } from './market.interfaces'; diff --git a/src/store/migration/migration-epics.ts b/src/store/migration/migration-epics.ts index ec72cfdcf..6e1c8df0f 100644 --- a/src/store/migration/migration-epics.ts +++ b/src/store/migration/migration-epics.ts @@ -11,6 +11,7 @@ import { isDefined } from 'src/utils/is-defined'; import { emptyAction } from '../root-state.actions'; import type { RootState } from '../types'; + import { addDcpTokensMetadata, deleteOldIsShownDomainName, diff --git a/src/store/notifications/notifications-epics.ts b/src/store/notifications/notifications-epics.ts index 2be5f4ac1..f50392fc1 100644 --- a/src/store/notifications/notifications-epics.ts +++ b/src/store/notifications/notifications-epics.ts @@ -6,6 +6,7 @@ import { ofType } from 'ts-action-operators'; import { loadNotifications$ } from '../../utils/notifications.util'; import type { RootState } from '../types'; + import { loadNotificationsAction } from './notifications-actions'; const loadNotificationsEpic = (action$: Observable, state$: Observable) => diff --git a/src/store/notifications/notifications-reducers.ts b/src/store/notifications/notifications-reducers.ts index 9953f0093..f58003f78 100644 --- a/src/store/notifications/notifications-reducers.ts +++ b/src/store/notifications/notifications-reducers.ts @@ -3,6 +3,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { NotificationStatus } from '../../enums/notification-status.enum'; import { isDefined } from '../../utils/is-defined'; import { createEntity } from '../create-entity'; + import { loadNotificationsAction, setIsNewsEnabledAction, diff --git a/src/store/notifications/notifications-state.mock.ts b/src/store/notifications/notifications-state.mock.ts index 6cf4f6dee..80e37b171 100644 --- a/src/store/notifications/notifications-state.mock.ts +++ b/src/store/notifications/notifications-state.mock.ts @@ -1,4 +1,5 @@ import { createEntity } from '../create-entity'; + import { NotificationsState } from './notifications-state'; export const mockNotificationsState: NotificationsState = { diff --git a/src/store/partners-promotion/partners-promotion-epics.ts b/src/store/partners-promotion/partners-promotion-epics.ts index d0b5ea8ec..862b19b62 100644 --- a/src/store/partners-promotion/partners-promotion-epics.ts +++ b/src/store/partners-promotion/partners-promotion-epics.ts @@ -8,6 +8,7 @@ import { getOptimalPromotion } from 'src/utils/optimal.utils'; import { withSelectedAccount } from 'src/utils/wallet.utils'; import { RootState } from '../types'; + import { loadPartnersPromoActions } from './partners-promotion-actions'; const loadPartnersPromotionEpic: Epic = (action$, state$) => diff --git a/src/store/partners-promotion/partners-promotion-reducers.ts b/src/store/partners-promotion/partners-promotion-reducers.ts index 2f352e9d1..016cdc64c 100644 --- a/src/store/partners-promotion/partners-promotion-reducers.ts +++ b/src/store/partners-promotion/partners-promotion-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { loadPartnersPromoActions, togglePartnersPromotionAction } from './partners-promotion-actions'; import { partnersPromotionInitialState } from './partners-promotion-state'; diff --git a/src/store/partners-promotion/partners-promotion-state.ts b/src/store/partners-promotion/partners-promotion-state.ts index 650fecc60..28840dddf 100644 --- a/src/store/partners-promotion/partners-promotion-state.ts +++ b/src/store/partners-promotion/partners-promotion-state.ts @@ -2,6 +2,7 @@ import { createEntity } from 'src/store/create-entity'; import { OptimalPromotionType } from 'src/utils/optimal.utils'; import { LoadableEntityState } from '../types'; + import { mockPartnersPromotion } from './partners-promotion-state.mock'; export interface PartnersPromotionState { diff --git a/src/store/savings/actions.ts b/src/store/savings/actions.ts index def0f1f26..ec1abcdc1 100644 --- a/src/store/savings/actions.ts +++ b/src/store/savings/actions.ts @@ -5,6 +5,7 @@ import { SavingsItem } from 'src/interfaces/earn-opportunity/savings-item.interf import { UserStakeValueInterface } from 'src/interfaces/user-stake-value.interface'; import { createActions } from '../create-actions'; + import { UserStakeInterface } from './state'; export const loadAllSavingsAndStakesAction = createAction('savings/LOAD_ALL_SAVINGS_AND_STAKES'); diff --git a/src/store/savings/epics.ts b/src/store/savings/epics.ts index 62c155019..ce6d1d48e 100644 --- a/src/store/savings/epics.ts +++ b/src/store/savings/epics.ts @@ -12,6 +12,7 @@ import { isDefined } from 'src/utils/is-defined'; import { withSelectedAccount, withUsdToTokenRates } from 'src/utils/wallet.utils'; import { RootState } from '../types'; + import { loadAllSavingsActions, loadAllSavingsAndStakesAction, diff --git a/src/store/savings/reducers.ts b/src/store/savings/reducers.ts index 533321f89..9398bae91 100644 --- a/src/store/savings/reducers.ts +++ b/src/store/savings/reducers.ts @@ -2,6 +2,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; import { setSelectedAccountAction } from '../wallet/wallet-actions'; + import { loadAllSavingsActions, loadAllSavingsAndStakesAction, diff --git a/src/store/savings/state.mock.ts b/src/store/savings/state.mock.ts index e4b58319c..a094e9ae8 100644 --- a/src/store/savings/state.mock.ts +++ b/src/store/savings/state.mock.ts @@ -1,6 +1,7 @@ import { EarnOpportunitiesSortFieldEnum } from 'src/enums/earn-opportunities-sort-fields.enum'; import { createEntity } from '../create-entity'; + import { SavingsState } from './state'; export const mockSavingsState: SavingsState = { diff --git a/src/store/security/security-epics.ts b/src/store/security/security-epics.ts index 987ec3da4..8abc61a9f 100644 --- a/src/store/security/security-epics.ts +++ b/src/store/security/security-epics.ts @@ -14,6 +14,7 @@ import { sendAnalyticsEvent } from 'src/utils/analytics/analytics.util'; import { withSelectedIsAnalyticsEnabled, withSelectedIsAuthorized, withSelectedUserId } from 'src/utils/security.utils'; import type { RootState } from '../types'; + import { checkApp } from './security-actions'; interface appCheckPayload extends VersionsInterface { diff --git a/src/store/security/security-reducers.ts b/src/store/security/security-reducers.ts index 7e49f3132..c969aaf0d 100644 --- a/src/store/security/security-reducers.ts +++ b/src/store/security/security-reducers.ts @@ -2,6 +2,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { INITIAL_ENTER_WRONG_PASSWORD_ATTEMPTS, MAX_PASSWORD_ATTEMPTS } from '../../config/security'; import { createEntity } from '../create-entity'; + import { checkApp, enterPassword } from './security-actions'; import { securityInitialState, SecurityState } from './security-state'; diff --git a/src/store/security/security-state.mock.ts b/src/store/security/security-state.mock.ts index 2d5f85c49..4956d1d34 100644 --- a/src/store/security/security-state.mock.ts +++ b/src/store/security/security-state.mock.ts @@ -1,5 +1,6 @@ import { INITIAL_ENTER_PASSWORD_LOCKTIME, INITIAL_ENTER_WRONG_PASSWORD_ATTEMPTS } from '../../config/security'; import { createEntity } from '../create-entity'; + import { SecurityState } from './security-state'; export const mockSecurityState: SecurityState = { diff --git a/src/store/settings/settings-epic.ts b/src/store/settings/settings-epic.ts index 029307bd7..4a6346874 100644 --- a/src/store/settings/settings-epic.ts +++ b/src/store/settings/settings-epic.ts @@ -5,6 +5,7 @@ import { Action } from 'ts-action'; import { ofType } from 'ts-action-operators'; import { Shelter } from '../../shelter/shelter'; + import { disableBiometryPassword, hideLoaderAction, diff --git a/src/store/settings/settings-reducers.ts b/src/store/settings/settings-reducers.ts index 45fc157bd..425b4054c 100644 --- a/src/store/settings/settings-reducers.ts +++ b/src/store/settings/settings-reducers.ts @@ -4,6 +4,7 @@ import { DCP_RPC, OLD_TEMPLE_RPC_URLS, TEMPLE_RPC } from 'src/utils/rpc/rpc-list import { addDcpRpc, changeTempleRpc } from '../migration/migration-actions'; import { resetKeychainOnInstallAction } from '../root-state.actions'; + import { addCustomRpc, editCustomRpc, diff --git a/src/store/settings/settings-state.mock.ts b/src/store/settings/settings-state.mock.ts index d00b8ce27..575e7e9a5 100644 --- a/src/store/settings/settings-state.mock.ts +++ b/src/store/settings/settings-state.mock.ts @@ -1,6 +1,7 @@ import { ThemesEnum } from '../../interfaces/theme.enum'; import { FiatCurrenciesEnum } from '../../utils/exchange-rate.util'; import { RpcList } from '../../utils/rpc/rpc-list'; + import { SettingsState } from './settings-state'; export const mockSettingsState: SettingsState = { diff --git a/src/store/swap/swap-reducers.ts b/src/store/swap/swap-reducers.ts index 1b527b1fc..3572badd3 100644 --- a/src/store/swap/swap-reducers.ts +++ b/src/store/swap/swap-reducers.ts @@ -1,6 +1,7 @@ import { createReducer } from '@reduxjs/toolkit'; import { createEntity } from '../create-entity'; + import { loadSwapDexesAction, loadSwapParamsAction, diff --git a/src/store/swap/swap-state.ts b/src/store/swap/swap-state.ts index d9ebe3740..5b429264b 100644 --- a/src/store/swap/swap-state.ts +++ b/src/store/swap/swap-state.ts @@ -8,6 +8,7 @@ import { TokenInterface } from 'src/token/interfaces/token.interface'; import { createEntity } from '../create-entity'; import { LoadableEntityState } from '../types'; + import { DEFAULT_SWAP_PARAMS } from './swap-state.mock'; export interface SwapState { diff --git a/src/store/tokens-metadata/tokens-metadata-epics.ts b/src/store/tokens-metadata/tokens-metadata-epics.ts index dbb02a6fb..c14572aee 100644 --- a/src/store/tokens-metadata/tokens-metadata-epics.ts +++ b/src/store/tokens-metadata/tokens-metadata-epics.ts @@ -8,6 +8,7 @@ import { loadTokenMetadata$, loadTokensMetadata$, loadWhitelist$ } from 'src/uti import { withSelectedRpcUrl } from 'src/utils/wallet.utils'; import type { RootState } from '../types'; + import { addTokensMetadataAction, loadTokenMetadataActions, diff --git a/src/store/tokens-metadata/tokens-metadata-reducers.ts b/src/store/tokens-metadata/tokens-metadata-reducers.ts index 20ec4672c..bd0fc6e82 100644 --- a/src/store/tokens-metadata/tokens-metadata-reducers.ts +++ b/src/store/tokens-metadata/tokens-metadata-reducers.ts @@ -6,6 +6,7 @@ import { isDefined } from 'src/utils/is-defined'; import { createEntity } from '../create-entity'; import { setNewTokensMetadata } from '../migration/migration-actions'; + import { addKnownSvg, addTokensMetadataAction, diff --git a/src/store/tokens-metadata/tokens-metadata-state.mock.ts b/src/store/tokens-metadata/tokens-metadata-state.mock.ts index 3be5129e4..c0ab2e3e9 100644 --- a/src/store/tokens-metadata/tokens-metadata-state.mock.ts +++ b/src/store/tokens-metadata/tokens-metadata-state.mock.ts @@ -1,6 +1,7 @@ import { mockFA1_2TokenMetadata, mockFA2TokenMetadata } from '../../token/interfaces/token-metadata.interface.mock'; import { getTokenSlug } from '../../token/utils/token.utils'; import { createEntity } from '../create-entity'; + import { TokensMetadataState } from './tokens-metadata-state'; export const mockTokensMetadataState: TokensMetadataState = { diff --git a/src/store/wallet/wallet-epics.ts b/src/store/wallet/wallet-epics.ts index 13297a516..884337a0c 100644 --- a/src/store/wallet/wallet-epics.ts +++ b/src/store/wallet/wallet-epics.ts @@ -30,6 +30,7 @@ import { loadSelectedBakerActions } from '../baking/baking-actions'; import { navigateAction } from '../root-state.actions'; import { loadTokensMetadataActions } from '../tokens-metadata/tokens-metadata-actions'; import type { RootState } from '../types'; + import { addTokenAction, highPriorityLoadTokenBalanceAction, diff --git a/src/store/wallet/wallet-reducers.ts b/src/store/wallet/wallet-reducers.ts index 6c3031607..7532b5a00 100644 --- a/src/store/wallet/wallet-reducers.ts +++ b/src/store/wallet/wallet-reducers.ts @@ -16,6 +16,7 @@ import { migrateAccountsState } from '../migration/migration-actions'; import { loadWhitelistAction } from '../tokens-metadata/tokens-metadata-actions'; + import { addHdAccountAction, addTokenAction, diff --git a/src/store/wallet/wallet-state.mock.ts b/src/store/wallet/wallet-state.mock.ts index 730c39419..5f6c0866d 100644 --- a/src/store/wallet/wallet-state.mock.ts +++ b/src/store/wallet/wallet-state.mock.ts @@ -1,5 +1,6 @@ import { mockAccountState } from '../../interfaces/account-state.interface.mock'; import { mockHdAccount } from '../../interfaces/account.interface.mock'; + import { WalletState } from './wallet-state'; export const mockWalletState: WalletState = { diff --git a/src/store/wallet/wallet-state.utils.ts b/src/store/wallet/wallet-state.utils.ts index 36796288c..6b47c475b 100644 --- a/src/store/wallet/wallet-state.utils.ts +++ b/src/store/wallet/wallet-state.utils.ts @@ -2,6 +2,7 @@ import { VisibilityEnum } from '../../enums/visibility.enum'; import { AccountStateInterface, initialAccountState } from '../../interfaces/account-state.interface'; import { TokenBalanceResponse } from '../../interfaces/token-balance-response.interface'; import { AccountTokenInterface } from '../../token/interfaces/account-token.interface'; + import { WalletState } from './wallet-state'; export const updateCurrentAccountState = ( diff --git a/src/styles/create-use-styles.ts b/src/styles/create-use-styles.ts index df41546bc..419bf12f5 100644 --- a/src/styles/create-use-styles.ts +++ b/src/styles/create-use-styles.ts @@ -2,6 +2,7 @@ import { useMemo } from 'react'; import { ImageStyle, StyleSheet, TextStyle, ViewStyle } from 'react-native'; import { ButtonStyleConfig } from '../components/button/button-style.config'; + import { Colors } from './colors'; import { useTypography } from './typography.context'; import { Typography } from './typography.types'; diff --git a/src/toast/toast-provider.tsx b/src/toast/toast-provider.tsx index 6fde0eb19..0fbe2ab6d 100644 --- a/src/toast/toast-provider.tsx +++ b/src/toast/toast-provider.tsx @@ -6,6 +6,7 @@ import { EmptyFn } from '../config/general'; import { isIOS } from '../config/system'; import { ToastTypeEnum } from '../enums/toast-type.enum'; import { formatSize } from '../styles/format-size'; + import { CopiedToast } from './copied-toast/copied-toast'; import { CustomToast } from './toast/custom-toast'; diff --git a/src/toast/toast/custom-toast.tsx b/src/toast/toast/custom-toast.tsx index 8b1191e6b..38ac74a85 100644 --- a/src/toast/toast/custom-toast.tsx +++ b/src/toast/toast/custom-toast.tsx @@ -16,6 +16,7 @@ import { isDefined } from '../../utils/is-defined'; import { isString } from '../../utils/is-string'; import { tzktUrl } from '../../utils/linking'; import { hexa } from '../../utils/style.util'; + import { useToastStyles } from './toast.styles'; interface Props { diff --git a/src/token/data/token-slugs.ts b/src/token/data/token-slugs.ts index 4c479d12d..d111966a2 100644 --- a/src/token/data/token-slugs.ts +++ b/src/token/data/token-slugs.ts @@ -1,4 +1,5 @@ import { getTokenSlug, toTokenSlug } from '../utils/token.utils'; + import { TEMPLE_TOKEN } from './tokens-metadata'; export const SIRS_TOKEN = { diff --git a/src/token/interfaces/account-token.interface.mock.ts b/src/token/interfaces/account-token.interface.mock.ts index 91521759b..ae191f9fe 100644 --- a/src/token/interfaces/account-token.interface.mock.ts +++ b/src/token/interfaces/account-token.interface.mock.ts @@ -1,6 +1,7 @@ import { VisibilityEnum } from '../../enums/visibility.enum'; import { PREDEFINED_MAINNET_TOKENS_METADATA } from '../data/tokens-metadata'; import { getTokenSlug } from '../utils/token.utils'; + import { AccountTokenInterface } from './account-token.interface'; export const mockAccountTokens: AccountTokenInterface[] = PREDEFINED_MAINNET_TOKENS_METADATA.map(token => ({ diff --git a/src/utils/activity.spec.ts b/src/utils/activity.spec.ts index d60ef7977..4ff656d63 100644 --- a/src/utils/activity.spec.ts +++ b/src/utils/activity.spec.ts @@ -1,4 +1,5 @@ import { mockOperations, mockTransfers } from '../interfaces/activity.interface.mock'; + import { groupActivitiesByHash } from './activity.utils'; describe('groupActivitiesByHash', () => { diff --git a/src/utils/activity.utils.ts b/src/utils/activity.utils.ts index e48e3f1d3..1301ac413 100644 --- a/src/utils/activity.utils.ts +++ b/src/utils/activity.utils.ts @@ -1,6 +1,7 @@ import { ActivityTypeEnum } from '../enums/activity-type.enum'; import { ActivityGroup, ActivityInterface, emptyActivity } from '../interfaces/activity.interface'; import { TzktTokenTransfer } from '../interfaces/tzkt.interface'; + import { isDefined } from './is-defined'; export const groupActivitiesByHash = ( diff --git a/src/utils/analytics/analytics.util.ts b/src/utils/analytics/analytics.util.ts index 377841e32..3ae8f62f0 100644 --- a/src/utils/analytics/analytics.util.ts +++ b/src/utils/analytics/analytics.util.ts @@ -4,6 +4,7 @@ import fetch from 'cross-fetch'; import type { AnalyticsEventProperties } from 'src/types/analytics-event-properties.type'; import { JITSU_ANALYTICS_KEY, JITSU_TRACKING_HOST } from '../env.utils'; + import { AnalyticsEventCategory } from './analytics-event.enum'; export const jitsu = jitsuClient({ diff --git a/src/utils/assets/hooks/collectibles.ts b/src/utils/assets/hooks/collectibles.ts index e90bf3ef5..818897afc 100644 --- a/src/utils/assets/hooks/collectibles.ts +++ b/src/utils/assets/hooks/collectibles.ts @@ -5,6 +5,7 @@ import { useTokensMetadataSelector } from 'src/store/tokens-metadata/tokens-meta import { useCurrentAccountStoredAssetsSelector } from 'src/store/wallet/wallet-selectors'; import { UsableAccountAsset } from '../types'; + import { buildUsableAccountAsset } from './utils'; export const useCurrentAccountCollectibles = (enabledOnly = false) => { diff --git a/src/utils/assets/hooks/tokens.ts b/src/utils/assets/hooks/tokens.ts index 1bf91a0b8..ac6ac63d4 100644 --- a/src/utils/assets/hooks/tokens.ts +++ b/src/utils/assets/hooks/tokens.ts @@ -7,6 +7,7 @@ import { useTokensMetadataSelector } from 'src/store/tokens-metadata/tokens-meta import { useCurrentAccountStoredAssetsSelector } from 'src/store/wallet/wallet-selectors'; import { UsableAccountAsset } from '../types'; + import { buildUsableAccountAsset } from './utils'; export const useCurrentAccountTokens = (enabledOnly = false) => { diff --git a/src/utils/clipboard.spec.ts b/src/utils/clipboard.spec.ts index 3f6e96d6b..9f48050f8 100644 --- a/src/utils/clipboard.spec.ts +++ b/src/utils/clipboard.spec.ts @@ -1,6 +1,7 @@ import { ToastTypeEnum } from '../enums/toast-type.enum'; import { mockReactNativeClipboard } from '../mocks/react-native-clipboard-clipboard.mock'; import { mockReactNativeToastMessage } from '../mocks/react-native-toast-message.mock'; + import { copyStringToClipboard } from './clipboard.utils'; describe('copyStringToClipboard', () => { diff --git a/src/utils/clipboard.utils.ts b/src/utils/clipboard.utils.ts index e78272a3e..d7b0b725a 100644 --- a/src/utils/clipboard.utils.ts +++ b/src/utils/clipboard.utils.ts @@ -1,6 +1,7 @@ import Clipboard from '@react-native-clipboard/clipboard'; import { showCopiedToast } from '../toast/toast.utils'; + import { isString } from './is-string'; export const copyStringToClipboard = (content?: string) => { diff --git a/src/utils/crypto.util.spec.ts b/src/utils/crypto.util.spec.ts index 4b366df24..c1570e85a 100644 --- a/src/utils/crypto.util.spec.ts +++ b/src/utils/crypto.util.spec.ts @@ -5,6 +5,7 @@ import { mockSymmetricKey64, mockUnencryptedString } from '../mocks/react-native-themis.mock'; + import { decryptString$, encryptString$ } from './crypto.util'; import { rxJsTestingHelper } from './testing.utils'; diff --git a/src/utils/dynamic-links.ts b/src/utils/dynamic-links.ts index 988130469..de329f1f6 100644 --- a/src/utils/dynamic-links.ts +++ b/src/utils/dynamic-links.ts @@ -1,6 +1,7 @@ import dynamicLinks from '@react-native-firebase/dynamic-links'; import { ANDROID_PACKAGE_NAME, APP_STORE_ID, IOS_BUNDLE_ID } from '../config/app-info'; + import { DYNAMIC_LINKS_DOMAIN_URI_PREFIX } from './env.utils'; interface Social { diff --git a/src/utils/is-stack-focused.util.ts b/src/utils/is-stack-focused.util.ts index ca06b5d0d..b26804116 100644 --- a/src/utils/is-stack-focused.util.ts +++ b/src/utils/is-stack-focused.util.ts @@ -1,4 +1,5 @@ import { ScreensOrModalsEnum } from '../interfaces/stacks.interface'; + import { isDefined } from './is-defined'; export const isStackFocused = (currentRouteName: ScreensOrModalsEnum, screensStack: ScreensOrModalsEnum[]) => diff --git a/src/utils/keys.utils.spec.ts b/src/utils/keys.utils.spec.ts index 0ef4cbc23..3202bf3a1 100644 --- a/src/utils/keys.utils.spec.ts +++ b/src/utils/keys.utils.spec.ts @@ -1,4 +1,5 @@ import { mockAccountCredentials } from '../mocks/account-credentials.mock'; + import { getDerivationPath, seedToPrivateKey, getPublicKeyAndHash$, generateSeed } from './keys.util'; import { rxJsTestingHelper } from './testing.utils'; diff --git a/src/utils/linking/tests.spec.ts b/src/utils/linking/tests.spec.ts index 9e08c161f..7a258face 100644 --- a/src/utils/linking/tests.spec.ts +++ b/src/utils/linking/tests.spec.ts @@ -1,5 +1,6 @@ import { mockLinking } from '../../mocks/react-native.mock'; import { DCP_RPC } from '../rpc/rpc-list'; + import { openUrl, tzktUrl } from './index'; describe('tzktUrl', () => { diff --git a/src/utils/market.utils.ts b/src/utils/market.utils.ts index c5244a836..0ff86022a 100644 --- a/src/utils/market.utils.ts +++ b/src/utils/market.utils.ts @@ -6,6 +6,7 @@ import { MarketTokensSortFieldEnum } from '../enums/market-tokens-sort-field.enu import { MarketToken, MarketTokenRaw } from '../store/market/market.interfaces'; import { RootState } from '../store/types'; import { Colors } from '../styles/colors'; + import { kFormatter } from './number.util'; const MINIMUM_AMOUNT = 0.01; diff --git a/src/utils/network.utils.ts b/src/utils/network.utils.ts index 27d4b96cd..bef5b966b 100644 --- a/src/utils/network.utils.ts +++ b/src/utils/network.utils.ts @@ -1,4 +1,5 @@ import { FILM_TOKEN_METADATA, TEZ_TOKEN_METADATA } from '../token/data/tokens-metadata'; + import { DCP_RPC } from './rpc/rpc-list'; const DCP_NODE_RPC_URL = new URL(DCP_RPC.url).href; diff --git a/src/utils/operation.utils.ts b/src/utils/operation.utils.ts index 0c8735b43..bdc5c6e9c 100644 --- a/src/utils/operation.utils.ts +++ b/src/utils/operation.utils.ts @@ -9,6 +9,7 @@ import { ParameterLiquidityBaking, ParamterFa2 } from '../interfaces/operation.interface'; + import { isDefined } from './is-defined'; import { stringToActivityStatusEnum } from './string-to-activity-status-enum.util'; diff --git a/src/utils/operations.utils.spec.ts b/src/utils/operations.utils.spec.ts index 9d2dfd76d..c9b267f5a 100644 --- a/src/utils/operations.utils.spec.ts +++ b/src/utils/operations.utils.spec.ts @@ -3,6 +3,7 @@ import { mockActivitiesWithoutMatchedAddress } from '../interfaces/activity.interface.mock'; import { mockOperations } from '../interfaces/operation.interface.mock'; + import { mapOperationsToActivities } from './operation.utils'; describe('mapOperationsToActivities', () => { diff --git a/src/utils/param-preview.spec.ts b/src/utils/param-preview.spec.ts index 3dfbb8dce..a21133e38 100644 --- a/src/utils/param-preview.spec.ts +++ b/src/utils/param-preview.spec.ts @@ -7,6 +7,7 @@ import { mockOriginationParams, mockTezosTransferParams } from '../interfaces/op-params.interface.mock'; + import { getParamPreview } from './param-preview.utils'; describe('getParamPreview', () => { diff --git a/src/utils/param-preview.utils.ts b/src/utils/param-preview.utils.ts index c5d057f40..3b547a312 100644 --- a/src/utils/param-preview.utils.ts +++ b/src/utils/param-preview.utils.ts @@ -3,6 +3,7 @@ import { BigNumber } from 'bignumber.js'; import { ParamPreviewTypeEnum } from '../enums/param-preview-type.enum'; import { ParamPreviewInterface, Token } from '../interfaces/param-preview.interface'; + import { isDefined } from './is-defined'; import { tzToMutez } from './tezos.util'; diff --git a/src/utils/read-only.signer.util.spec.ts b/src/utils/read-only.signer.util.spec.ts index 50a08c079..eb169418f 100644 --- a/src/utils/read-only.signer.util.spec.ts +++ b/src/utils/read-only.signer.util.spec.ts @@ -1,4 +1,5 @@ import { mockAccountCredentials } from '../mocks/account-credentials.mock'; + import { ReadOnlySigner } from './read-only.signer.util'; describe('ReadOnlySigner', () => { diff --git a/src/utils/read-only.signer.util.ts b/src/utils/read-only.signer.util.ts index b70c37619..b5e9f47f2 100644 --- a/src/utils/read-only.signer.util.ts +++ b/src/utils/read-only.signer.util.ts @@ -2,6 +2,7 @@ import { Signer } from '@taquito/taquito'; import { AccountTypeEnum } from '../enums/account-type.enum'; import { AccountInterface } from '../interfaces/account.interface'; + import { READ_ONLY_SIGNER_PUBLIC_KEY, READ_ONLY_SIGNER_PUBLIC_KEY_HASH } from './env.utils'; export class ReadOnlySigner implements Signer { diff --git a/src/utils/rpc/fast-rpc.ts b/src/utils/rpc/fast-rpc.ts index 9bafec66d..0029f1ec4 100644 --- a/src/utils/rpc/fast-rpc.ts +++ b/src/utils/rpc/fast-rpc.ts @@ -4,6 +4,7 @@ import { RpcClient } from '@taquito/rpc'; import memoize from 'mem'; import { isDefined } from '../is-defined'; + import { NoVespaiachHttpBackend } from './no-vespaiach-http-backend'; interface RPCOptions { diff --git a/src/utils/rpc/tezos-toolkit.utils.ts b/src/utils/rpc/tezos-toolkit.utils.ts index 59efa3b2d..fa386d9a5 100644 --- a/src/utils/rpc/tezos-toolkit.utils.ts +++ b/src/utils/rpc/tezos-toolkit.utils.ts @@ -6,6 +6,7 @@ import memoize from 'mem'; import { AccountInterface } from '../../interfaces/account.interface'; import { ReadOnlySigner } from '../read-only.signer.util'; + import { getFastRpcClient } from './fast-rpc'; const michelEncoder = new MichelCodecPacker(); diff --git a/src/utils/sync.utils.spec.ts b/src/utils/sync.utils.spec.ts index efabc54e8..48132d7aa 100644 --- a/src/utils/sync.utils.spec.ts +++ b/src/utils/sync.utils.spec.ts @@ -1,5 +1,6 @@ import { SyncPayloadInterface } from '../interfaces/sync.interface'; import { mockReactNativeThemis } from '../mocks/react-native-themis.mock'; + import { isSyncPayload, parseSyncPayload, TEMPLE_SYNC_PREFIX } from './sync.utils'; const prefixB64 = Buffer.from(TEMPLE_SYNC_PREFIX).toString('base64'); diff --git a/src/utils/sync.utils.ts b/src/utils/sync.utils.ts index 4df90068b..4fe3b2535 100644 --- a/src/utils/sync.utils.ts +++ b/src/utils/sync.utils.ts @@ -2,6 +2,7 @@ import { validateMnemonic } from 'bip39'; import { secureCellSealWithPassphraseDecrypt64 } from 'react-native-themis'; import { SyncPayloadInterface } from '../interfaces/sync.interface'; + import { isDefined } from './is-defined'; export const TEMPLE_SYNC_PREFIX = 'templesync'; diff --git a/src/utils/tezos.util.spec.ts b/src/utils/tezos.util.spec.ts index 5f8d832f2..207499ef7 100644 --- a/src/utils/tezos.util.spec.ts +++ b/src/utils/tezos.util.spec.ts @@ -1,6 +1,7 @@ import { BigNumber } from 'bignumber.js'; import { FILM_TOKEN_METADATA, TEZ_TOKEN_METADATA } from '../token/data/tokens-metadata'; + import { isKTAddress, isValidAddress, mutezToTz, tzToMutez, isCollectible } from './tezos.util'; const mockNaNBigNumber = new BigNumber(NaN); diff --git a/src/utils/tezos.util.ts b/src/utils/tezos.util.ts index e5188bc47..14f78adb7 100644 --- a/src/utils/tezos.util.ts +++ b/src/utils/tezos.util.ts @@ -3,6 +3,7 @@ import { BigNumber } from 'bignumber.js'; import { TokenMetadataInterface } from '../token/interfaces/token-metadata.interface'; import { TokenInterface } from '../token/interfaces/token.interface'; + import { isDefined } from './is-defined'; export const mutezToTz = (bigNum: BigNumber, decimals: number) => { diff --git a/src/utils/token-metadata.utils.spec.ts b/src/utils/token-metadata.utils.spec.ts index 1775d0fed..7166f3b67 100644 --- a/src/utils/token-metadata.utils.spec.ts +++ b/src/utils/token-metadata.utils.spec.ts @@ -1,4 +1,5 @@ import { mockTezosMetadataApi } from '../api.service.mock'; + import { rxJsTestingHelper } from './testing.utils'; import { loadTokenMetadata$, TokenMetadataResponse } from './token-metadata.utils'; diff --git a/src/utils/token-operations.util.ts b/src/utils/token-operations.util.ts index f2c29123b..2110fe8ac 100644 --- a/src/utils/token-operations.util.ts +++ b/src/utils/token-operations.util.ts @@ -16,6 +16,7 @@ import { TokenTypeEnum } from '../interfaces/token-type.enum'; import { LIQUIDITY_BAKING_DEX_ADDRESS } from '../token/data/token-slugs'; import { TEZ_TOKEN_SLUG } from '../token/data/tokens-metadata'; import { getTokenType } from '../token/utils/token.utils'; + import { isDefined } from './is-defined'; import { mapOperationsToActivities } from './operation.utils'; import { createReadOnlyTezosToolkit } from './rpc/tezos-toolkit.utils'; diff --git a/src/utils/transfer-params.spec.ts b/src/utils/transfer-params.spec.ts index 403e54c26..0090e3136 100644 --- a/src/utils/transfer-params.spec.ts +++ b/src/utils/transfer-params.spec.ts @@ -4,6 +4,7 @@ import { mockHdAccount } from '../interfaces/account.interface.mock'; import { mockFA1_2Contract, mockFA2Contract, mockToolkitMethods } from '../mocks/tezos.mock'; import { FILM_TOKEN_METADATA, TEZ_TOKEN_METADATA } from '../token/data/tokens-metadata'; import { mockFA1_2TokenMetadata, mockFA2TokenMetadata } from '../token/interfaces/token-metadata.interface.mock'; + import { rxJsTestingHelper } from './testing.utils'; import { getTransferParams$ } from './transfer-params.utils'; diff --git a/src/utils/transfer-params.utils.ts b/src/utils/transfer-params.utils.ts index 3868e332f..9ed221b38 100644 --- a/src/utils/transfer-params.utils.ts +++ b/src/utils/transfer-params.utils.ts @@ -8,6 +8,7 @@ import { AccountInterface } from '../interfaces/account.interface'; import { TokenTypeEnum } from '../interfaces/token-type.enum'; import { TokenMetadataInterface } from '../token/interfaces/token-metadata.interface'; import { getTokenType } from '../token/utils/token.utils'; + import { isString } from './is-string'; import { createReadOnlyTezosToolkit } from './rpc/tezos-toolkit.utils'; diff --git a/src/utils/transfer.utils.spec.ts b/src/utils/transfer.utils.spec.ts index 8b6f61c76..321f9f28a 100644 --- a/src/utils/transfer.utils.spec.ts +++ b/src/utils/transfer.utils.spec.ts @@ -1,5 +1,6 @@ import { TransferInterface } from '../interfaces/transfer.interface'; import { mockAppliedTransfer, mockReceiverAddress, mockSenderAddress } from '../interfaces/transfer.interface.mock'; + import { mapTransfersToActivities } from './transfer.utils'; describe('mapTransfersToActivities', () => { diff --git a/src/utils/transfer.utils.ts b/src/utils/transfer.utils.ts index a8f90e732..6757f1d1a 100644 --- a/src/utils/transfer.utils.ts +++ b/src/utils/transfer.utils.ts @@ -2,6 +2,7 @@ import { ActivityTypeEnum } from '../enums/activity-type.enum'; import { ActivityInterface } from '../interfaces/activity.interface'; import { MemberInterface } from '../interfaces/member.interface'; import { TransferInterface } from '../interfaces/transfer.interface'; + import { isDefined } from './is-defined'; import { stringToActivityStatusEnum } from './string-to-activity-status-enum.util'; diff --git a/yarn.lock b/yarn.lock index 083000d76..6005310fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2470,10 +2470,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.48.0": - version "8.48.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.48.0.tgz#642633964e217905436033a2bd08bf322849b7fb" - integrity sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw== +"@eslint/js@8.52.0": + version "8.52.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.52.0.tgz#78fe5f117840f69dc4a353adf9b9cd926353378c" + integrity sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA== "@gorhom/bottom-sheet@4.5.1": version "4.5.1" @@ -2507,12 +2507,12 @@ dependencies: "@hapi/hoek" "^9.0.0" -"@humanwhocodes/config-array@^0.11.10": - version "0.11.11" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" - integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== +"@humanwhocodes/config-array@^0.11.13": + version "0.11.13" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" + integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ== dependencies: - "@humanwhocodes/object-schema" "^1.2.1" + "@humanwhocodes/object-schema" "^2.0.1" debug "^4.1.1" minimatch "^3.0.5" @@ -2521,10 +2521,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" + integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" @@ -4412,6 +4412,11 @@ "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + "@walletconnect/core@2.7.0": version "2.7.0" resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.7.0.tgz#26f19710958648e401968ab2fd427d6b07fb3b37" @@ -4798,7 +4803,7 @@ array-includes@^3.1.2: get-intrinsic "^1.1.1" is-string "^1.0.5" -array-includes@^3.1.4, array-includes@^3.1.6: +array-includes@^3.1.6, array-includes@^3.1.7: version "3.1.7" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ== @@ -4814,7 +4819,18 @@ array-union@^2.1.0: resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array.prototype.flat@^1.2.5: +array.prototype.findlastindex@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" + integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + get-intrinsic "^1.2.1" + +array.prototype.flat@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== @@ -4824,7 +4840,7 @@ array.prototype.flat@^1.2.5: es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -array.prototype.flatmap@^1.3.1: +array.prototype.flatmap@^1.3.1, array.prototype.flatmap@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== @@ -5965,7 +5981,7 @@ dayjs@^1.8.15, dayjs@^1.8.29: resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.10.6.tgz" integrity sha512-AztC/IOW4L1Q41A86phW5Thhcrco3xuAA+YX/BLpLWWjRcTj5TOt/QImBLmCKlrF7u7k47arTnOyL6GnbG8Hvw== -debug@2.6.9, debug@^2.2.0, debug@^2.6.9: +debug@2.6.9, debug@^2.2.0: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -6587,7 +6603,7 @@ eslint-config-prettier@^8.5.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz#3a06a662130807e2502fc3ff8b4143d8a0658e11" integrity sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg== -eslint-import-resolver-node@^0.3.6: +eslint-import-resolver-node@^0.3.9: version "0.3.9" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== @@ -6596,10 +6612,10 @@ eslint-import-resolver-node@^0.3.6: is-core-module "^2.13.0" resolve "^1.22.4" -eslint-import-resolver-typescript@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.0.tgz#36f93e1eb65a635e688e16cae4bead54552e3bbd" - integrity sha512-QTHR9ddNnn35RTxlaEnx2gCxqFlF2SEN0SE2d17SqwyM7YOSI2GHWRYp5BiRkObTUNYPupC/3Fq2a0PpT+EKpg== +eslint-import-resolver-typescript@^3.6.1: + version "3.6.1" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz#7b983680edd3f1c5bce1a5829ae0bc2d57fe9efa" + integrity sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg== dependencies: debug "^4.3.4" enhanced-resolve "^5.12.0" @@ -6609,7 +6625,7 @@ eslint-import-resolver-typescript@^3.6.0: is-core-module "^2.11.0" is-glob "^4.0.3" -eslint-module-utils@^2.7.3, eslint-module-utils@^2.7.4: +eslint-module-utils@^2.7.4, eslint-module-utils@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== @@ -6632,24 +6648,28 @@ eslint-plugin-ft-flow@^2.0.1: lodash "^4.17.21" string-natural-compare "^3.0.1" -eslint-plugin-import@^2.26.0: - version "2.26.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" - integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== +eslint-plugin-import@^2.29.0: + version "2.29.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155" + integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg== dependencies: - array-includes "^3.1.4" - array.prototype.flat "^1.2.5" - debug "^2.6.9" + array-includes "^3.1.7" + array.prototype.findlastindex "^1.2.3" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" + debug "^3.2.7" doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.3" - has "^1.0.3" - is-core-module "^2.8.1" + eslint-import-resolver-node "^0.3.9" + eslint-module-utils "^2.8.0" + hasown "^2.0.0" + is-core-module "^2.13.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.values "^1.1.5" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" + object.fromentries "^2.0.7" + object.groupby "^1.0.1" + object.values "^1.1.7" + semver "^6.3.1" + tsconfig-paths "^3.14.2" eslint-plugin-jest@^26.5.3: version "26.9.0" @@ -6756,18 +6776,19 @@ eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@^8.19.0: - version "8.48.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.48.0.tgz#bf9998ba520063907ba7bfe4c480dc8be03c2155" - integrity sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg== +eslint@^8.52.0: + version "8.52.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.52.0.tgz#d0cd4a1fac06427a61ef9242b9353f36ea7062fc" + integrity sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" "@eslint/eslintrc" "^2.1.2" - "@eslint/js" "8.48.0" - "@humanwhocodes/config-array" "^0.11.10" + "@eslint/js" "8.52.0" + "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" + "@ungap/structured-clone" "^1.2.0" ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -7228,6 +7249,11 @@ function-bind@^1.1.1: resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + function.prototype.name@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" @@ -7528,6 +7554,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + he@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -7797,13 +7830,20 @@ is-callable@^1.1.4, is-callable@^1.2.3: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz" integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== -is-core-module@^2.11.0, is-core-module@^2.13.0, is-core-module@^2.8.1: +is-core-module@^2.11.0, is-core-module@^2.13.0: version "2.13.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== dependencies: has "^1.0.3" +is-core-module@^2.13.1: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + is-core-module@^2.2.0: version "2.6.0" resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz" @@ -9663,7 +9703,7 @@ object.entries@^1.1.6: define-properties "^1.2.0" es-abstract "^1.22.1" -object.fromentries@^2.0.6: +object.fromentries@^2.0.6, object.fromentries@^2.0.7: version "2.0.7" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== @@ -9672,6 +9712,16 @@ object.fromentries@^2.0.6: define-properties "^1.2.0" es-abstract "^1.22.1" +object.groupby@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" + integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + object.hasown@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.3.tgz#6a5f2897bb4d3668b8e79364f98ccf971bda55ae" @@ -9687,7 +9737,7 @@ object.pick@^1.1.1: dependencies: isobject "^3.0.1" -object.values@^1.1.5, object.values@^1.1.6: +object.values@^1.1.6, object.values@^1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a" integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng== @@ -11016,7 +11066,7 @@ resolve@^1.14.2: is-core-module "^2.2.0" path-parse "^1.0.6" -resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.4: +resolve@^1.20.0, resolve@^1.22.4: version "1.22.4" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.4.tgz#1dc40df46554cdaf8948a486a10f6ba1e2026c34" integrity sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg== @@ -11956,7 +12006,7 @@ ts-prune@^0.10.3: "true-myth" "^4.1.0" ts-morph "^13.0.1" -tsconfig-paths@^3.14.1: +tsconfig-paths@^3.14.2: version "3.14.2" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==