* adding gift icons * adding uuid generator for gift id * adding gift page to home navigation * fixed toast overlay * adding rotate icons * gifts index page * created gifts overview page * create gift pgae * fixing expire time * gift confirmation screen * manual claim page * derive hirarachical wallet for gift * encoding and decoding gift urls * formatting days till expiry time * standardized gift share message * creating gift storage * opening and deleting gifts table * adding firebase gift functions * adding gifts deeplink * creating gifts context * added tracking for gift index * fixed wrong translation placement * creating reclaim gift page * auto open claim page * creating claim page * updated reclaim to work off uuid not claim link * fixed translations issue * added restore gifts * adding description to payment * fixing android text styles * fixing android status bar style * fixing claimed state * show all txs but then list the expired ones on the reclaim page * adding translations * updating min height * making sure spark is connected before handling lookup * fixed exists property * allow only reclaim of expired swaps * fixed style bug * adding recliam not exipired error message * adding connection label to expanded gift page * fixed unknown sender text bug * added confirm screen + pending tx for incoming gift * only show claim option if a reclaim exists * uncomment pay * Update locales/pt-BR/translation.json Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com> * Update locales/pt-BR/translation.json Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com> * Update locales/pt-BR/translation.json Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com> * Update locales/pt-BR/translation.json Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com> --------- Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
214 lines
9.2 KiB
JavaScript
214 lines
9.2 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 ViewCustodyAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/viewAccountPage';
|
|
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 NWCWalletSetup from '../app/components/admin/homeComponents/settingsContent/nwc/showSeedPage';
|
|
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 {
|
|
CreateAccountHome,
|
|
DislaimerPage,
|
|
GenerateKey,
|
|
PinSetupPage,
|
|
RestoreWallet,
|
|
SkipCreateAccountPathMessage,
|
|
} from '../app/screens/createAccount';
|
|
import {
|
|
AdminHomeIndex,
|
|
AppStorePageIndex,
|
|
ConfirmTxPage,
|
|
ExpandedTx,
|
|
ReceivePaymentHome,
|
|
SendPaymentHome,
|
|
SettingsContentIndex,
|
|
SettingsIndex,
|
|
TechnicalTransactionDetails,
|
|
ViewAllTxPage,
|
|
} from '../app/screens/inAccount';
|
|
|
|
const SLIDE_FROM_BOTTOM_SCREENS = [
|
|
{ name: 'CustomWebView', component: CustomWebView },
|
|
{ name: 'SendBTC', component: SendPaymentHome },
|
|
{ name: 'ReceiveBTC', component: ReceivePaymentHome },
|
|
{ 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 },
|
|
];
|
|
const SLIDE_FROM_RIGHT_SCREENS = [
|
|
{
|
|
name: 'CreateAccountHome',
|
|
component: CreateAccountHome,
|
|
options: { gestureEnabled: true },
|
|
},
|
|
{ name: 'SettingsHome', component: SettingsIndex },
|
|
// {name: 'HistoricalOnChainPayments', component: HistoricalOnChainPayments},
|
|
{ name: 'ChooseContactHalfModal', component: ChooseContactHalfModal },
|
|
{ name: 'SettingsContentHome', component: SettingsContentIndex },
|
|
{
|
|
name: 'ConfirmPaymentScreen',
|
|
component: SendPaymentScreen,
|
|
options: { gestureEnabled: false },
|
|
},
|
|
{ name: 'ExpandedContactsPage', component: ExpandedContactsPage },
|
|
{ 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: 'ViewCustodyAccount', component: ViewCustodyAccountPage },
|
|
{ name: 'CustodyAccountPaymentPage', component: AccountPaymentPage },
|
|
{ name: 'NosterWalletConnect', component: NosterWalletConnect },
|
|
{ name: 'CreateNostrConnectAccount', component: CreateNostrConnectAccount },
|
|
// {name: 'NWCWallet', component: NWCWallet},
|
|
{ name: 'NWCWalletSetup', component: NWCWalletSetup },
|
|
{ name: 'SparkSettingsPage', component: SparkSettingsPage },
|
|
{ name: 'Nip5VerificationPage', component: Nip5VerificationPage },
|
|
{ name: 'SelectGiftCardForContacts', component: SelectGiftCardForContacts },
|
|
{ name: 'SMSMessagingReceivedPage', component: SMSMessagingReceivedPage },
|
|
{ name: 'SMSMessagingSendPage', component: SMSMessagingSendPage },
|
|
{ name: 'CreateGift', component: CreateGift },
|
|
];
|
|
|
|
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,
|
|
};
|