Files
com.blitzwallet/navigation/screens.js
T

241 lines
11 KiB
JavaScript

import {
AddOrDeleteContactImage,
CameraModal,
ClipboardCopyPopup,
ContactsPageLongPressActions,
EditReceivePaymentInformation,
ErrorScreen,
SendPaymentScreen,
SwitchReceiveOptionPage,
} from '../app/components/admin';
import {
ConfirmLeaveChatGPT,
CountryList,
CreateGiftCardAccount,
ExpandedGiftCardPage,
GeneratedVPNFile,
GiftCardOrderDetails,
GiftCardPage,
HistoricalGiftCardPurchases,
HistoricalVPNPurchases,
SwitchGenerativeAIModel,
} from '../app/components/admin/homeComponents/apps';
import ConfirmSMSReceivePage from '../app/components/admin/homeComponents/apps/sms4sats/confirmReceivePaymentScreen';
import SMSMessagingReceivedPage from '../app/components/admin/homeComponents/apps/sms4sats/receivePage';
import SMSMessagingSendPage from '../app/components/admin/homeComponents/apps/sms4sats/sendPage';
import HistoricalSMSMessagingPage from '../app/components/admin/homeComponents/apps/sms4sats/sentPayments';
import ViewSmsReceiveCode from '../app/components/admin/homeComponents/apps/sms4sats/viewSMScode';
import {
ChooseContactHalfModal,
EditMyProfilePage,
ExpandedAddContactsPage,
ExpandedContactsPage,
// MyContactProfilePage,
SelectGiftCardForContacts,
SendAndRequestPage,
} from '../app/components/admin/homeComponents/contacts';
import SparkErrorScreen from '../app/components/admin/homeComponents/homeLightning/sparkErrorScreen';
import BackupSeedWarning from '../app/components/admin/homeComponents/homeLightning/backupSeedWarning';
import {
ConfirmActionPage,
NosterWalletConnect,
TotalTipsScreen,
ViewPOSTransactions,
} from '../app/components/admin/homeComponents/settingsContent';
import AccountPaymentPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/accountPaymentPage';
import CreateCustodyAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/createAccountPage';
import SelectCreateAccountType from '../app/components/admin/homeComponents/settingsContent/accountComponents/selectCreateAccountType';
import EditAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/editAccountPage';
import EditAccountName from '../app/components/admin/homeComponents/settingsContent/accountComponents/editAccountName';
import EmojiAvatarSelector from '../app/components/admin/homeComponents/settingsContent/accountComponents/selectProfileImage';
import RemoveAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/removeAccountPage';
import RestoreDerivedAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/restoreDerivedAccountPage';
import SeedPhraseWarning from '../app/components/admin/homeComponents/settingsContent/seedPhraseWarning';
import ConfirmPinForLoginMode from '../app/components/admin/homeComponents/settingsContent/loginSecurity/enterPinPage';
import Nip5VerificationPage from '../app/components/admin/homeComponents/settingsContent/nip5/nip5Account';
import CreateNostrConnectAccount from '../app/components/admin/homeComponents/settingsContent/nwc/createNWCAccount';
import AddPOSItemsPage from '../app/components/admin/homeComponents/settingsContent/posPath/items/addPOSItemsPage';
import POSInstructionsPath from '../app/components/admin/homeComponents/settingsContent/posPath/posInstructionsPath';
import SparkSettingsPage from '../app/components/admin/homeComponents/settingsContent/sparkLrc20';
import RoostockSwapInfo from '../app/components/admin/homeComponents/settingsContent/swapsComponents/rootstockSwapInfo';
import { CustomWebView } from '../app/functions/CustomElements';
import CustomHalfModal from '../app/functions/CustomElements/halfModal';
import InformationPopup from '../app/functions/CustomElements/informationPopup';
import ShowProfileQr from '../app/functions/CustomElements/showProfileQr';
import CreateGift from '../app/components/admin/homeComponents/gifts/createGift';
import AdvancedGiftClaim from '../app/components/admin/homeComponents/gifts/advancedClaimMode';
import CreatePoolAmount from '../app/components/admin/homeComponents/pools/createPoolAmount';
import PoolManagementScreen from '../app/components/admin/homeComponents/pools/poolManagementScreen';
import PoolDetailScreen from '../app/components/admin/homeComponents/pools/poolDetailScreen';
import ViewContibutors from '../app/components/admin/homeComponents/pools/viewContributors';
import {
CreateAccountHome,
DislaimerPage,
GenerateKey,
PinSetupPage,
RestoreWallet,
SkipCreateAccountPathMessage,
} from '../app/screens/createAccount';
import {
AdminHomeIndex,
AppStorePageIndex,
ConfirmTxPage,
ExpandedTx,
ReceivePaymentHome,
SendPaymentHome,
SettingsContentIndex,
SettingsIndex,
TechnicalTransactionDetails,
ViewAllTxPage,
SwapsPage,
SettingsHub,
} from '../app/screens/inAccount';
import ConversionHistory from '../app/components/admin/homeComponents/swaps/swapHistory';
const SLIDE_FROM_BOTTOM_SCREENS = [
{ name: 'CustomWebView', component: CustomWebView },
{ name: 'SendBTC', component: SendPaymentHome },
{ name: 'ExpandedTx', component: ExpandedTx },
{
name: 'TechnicalTransactionDetails',
component: TechnicalTransactionDetails,
},
// {name: 'LiquidSettingsPage', component: LiquidSettingsPage},
{
name: 'EditReceivePaymentInformation',
component: EditReceivePaymentInformation,
},
{ name: 'SwitchReceiveOptionPage', component: SwitchReceiveOptionPage },
{ name: 'ViewAllTxPage', component: ViewAllTxPage },
{ name: 'CameraModal', component: CameraModal },
{ name: 'SwitchGenerativeAIModel', component: SwitchGenerativeAIModel },
{ name: 'ShowProfileQr', component: ShowProfileQr },
{ name: 'SwapsPage', component: SwapsPage },
{ name: 'ConversionHistory', component: ConversionHistory },
{ name: 'ViewContributor', component: ViewContibutors },
];
const SLIDE_FROM_RIGHT_SCREENS = [
{
name: 'CreateAccountHome',
component: CreateAccountHome,
options: { gestureEnabled: true },
},
{ name: 'SettingsHome', component: SettingsHub },
{ name: 'ShowProfileQrSlideRight', component: ShowProfileQr },
// {name: 'HistoricalOnChainPayments', component: HistoricalOnChainPayments},
{ name: 'ChooseContactHalfModal', component: ChooseContactHalfModal },
{ name: 'SettingsContentHome', component: SettingsContentIndex },
{
name: 'ConfirmPaymentScreen',
component: SendPaymentScreen,
options: { gestureEnabled: false },
},
{ name: 'ExpandedContactsPage', component: ExpandedContactsPage },
{ name: 'ReceiveBTC', component: ReceivePaymentHome },
// { name: 'MyContactProfilePage', component: MyContactProfilePage },
{ name: 'EditMyProfilePage', component: EditMyProfilePage },
{ name: 'ExpandedAddContactsPage', component: ExpandedAddContactsPage },
{ name: 'SendAndRequestPage', component: SendAndRequestPage },
{ name: 'AppStorePageIndex', component: AppStorePageIndex },
{ name: 'HistoricalSMSMessagingPage', component: HistoricalSMSMessagingPage },
{ name: 'HistoricalVPNPurchases', component: HistoricalVPNPurchases },
{ name: 'GeneratedVPNFile', component: GeneratedVPNFile },
{ name: 'POSInstructionsPath', component: POSInstructionsPath },
{ name: 'CreateGiftCardAccount', component: CreateGiftCardAccount },
{ name: 'GiftCardsPage', component: GiftCardPage },
{ name: 'CountryList', component: CountryList },
{ name: 'ExpandedGiftCardPage', component: ExpandedGiftCardPage },
{
name: 'HistoricalGiftCardPurchases',
component: HistoricalGiftCardPurchases,
},
// {name: 'ManualSwapPopup', component: ManualSwapPopup},
{ name: 'ViewPOSTransactions', component: ViewPOSTransactions },
// {name: 'LspDescriptionPopup', component: LspDescriptionPopup},
{ name: 'DisclaimerPage', component: DislaimerPage },
{ name: 'GenerateKey', component: GenerateKey },
{ name: 'PinSetup', component: PinSetupPage },
{ name: 'RestoreWallet', component: RestoreWallet },
// {name: 'EcashSettings', component: EcashSettings},
{ name: 'AddPOSItemsPage', component: AddPOSItemsPage },
{ name: 'CreateCustodyAccount', component: CreateCustodyAccountPage },
{ name: 'SelectCreateAccountType', component: SelectCreateAccountType },
{ name: 'RestoreDerivedAccount', component: RestoreDerivedAccountPage },
{ name: 'EditAccountName', component: EditAccountName },
{ name: 'EditAccountPage', component: EditAccountPage },
{ name: 'RemoveAccountPage', component: RemoveAccountPage },
{ name: 'SeedPhraseWarning', component: SeedPhraseWarning },
{ name: 'EmojiAvatarSelector', component: EmojiAvatarSelector },
{ name: 'CustodyAccountPaymentPage', component: AccountPaymentPage },
{ name: 'NosterWalletConnect', component: NosterWalletConnect },
{ name: 'CreateNostrConnectAccount', component: CreateNostrConnectAccount },
// {name: 'NWCWallet', component: NWCWallet},
{ name: 'SparkSettingsPage', component: SparkSettingsPage },
{ name: 'Nip5VerificationPage', component: Nip5VerificationPage },
{ name: 'SelectGiftCardForContacts', component: SelectGiftCardForContacts },
{ name: 'SMSMessagingReceivedPage', component: SMSMessagingReceivedPage },
{ name: 'SMSMessagingSendPage', component: SMSMessagingSendPage },
{ name: 'CreateGift', component: CreateGift },
{ name: 'AdvancedGiftClaim', component: AdvancedGiftClaim },
{ name: 'PoolManagementScreen', component: PoolManagementScreen },
{ name: 'CreatePoolAmount', component: CreatePoolAmount },
{ name: 'PoolDetailScreen', component: PoolDetailScreen },
];
const FADE_SCREENS = [
{ name: 'CustomHalfModal', component: CustomHalfModal },
{ name: 'ConfirmActionPage', component: ConfirmActionPage },
{ name: 'ConfirmLeaveChatGPT', component: ConfirmLeaveChatGPT },
{ name: 'ClipboardCopyPopup', component: ClipboardCopyPopup },
{ name: 'ErrorScreen', component: ErrorScreen },
{ name: 'SparkErrorScreen', component: SparkErrorScreen },
// {name: 'ExplainBalanceScreen', component: ExplainBalanceScreen},
{ name: 'GiftCardOrderDetails', component: GiftCardOrderDetails },
{
name: 'ContactsPageLongPressActions',
component: ContactsPageLongPressActions,
},
// {name: 'RestoreProofsPopup', component: RestoreProofsPopup},
// {name: 'MigrateProofsPopup', component: MigrateProofsPopup},
{ name: 'AddOrDeleteContactImage', component: AddOrDeleteContactImage },
{
name: 'SkipCreateAccountPathMessage',
component: SkipCreateAccountPathMessage,
},
{ name: 'InformationPopup', component: InformationPopup },
{ name: 'ConfirmTxPage', component: ConfirmTxPage },
{
name: 'HomeAdmin',
component: AdminHomeIndex,
options: { gestureEnabled: false },
},
// {
// name: 'ViewCustodyKey',
// component: ViewCustodyKey,
// },
{ name: 'ConfirmPinForLoginMode', component: ConfirmPinForLoginMode },
{ name: 'ViewSMSReceiveCode', component: ViewSmsReceiveCode },
{ name: 'ConfirmSMSReceivePage', component: ConfirmSMSReceivePage },
{ name: 'RoostockSwapInfo', component: RoostockSwapInfo },
{ name: 'BackupSeedWarning', component: BackupSeedWarning },
];
const FADE_TRANSPARENT_MODAL_SCREENS = [
{
name: 'TotalTipsScreen',
component: TotalTipsScreen,
},
// {
// name: 'RefundLiquidSwapPopup',
// component: RefundLiquidSwapPopup,
// },
];
export {
SLIDE_FROM_BOTTOM_SCREENS,
SLIDE_FROM_RIGHT_SCREENS,
FADE_SCREENS,
FADE_TRANSPARENT_MODAL_SCREENS,
};