@oxyhq/services 6.9.44 → 6.9.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/ui/components/OxyPayButton.js +4 -2
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +6 -5
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +83 -82
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +271 -102
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +76 -121
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +24 -15
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +32 -18
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js +5 -4
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +0 -35
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +3 -2
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +83 -219
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +26 -13
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +50 -28
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +83 -48
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +11 -10
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +38 -23
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +2 -2
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +4 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +13 -13
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +117 -142
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +112 -78
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +213 -144
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +26 -14
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +57 -51
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +108 -86
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +109 -130
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +15 -8
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +60 -54
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +12 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +66 -93
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +159 -190
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +20 -22
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +16 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +127 -70
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +13 -29
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +110 -52
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +3 -5
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +0 -21
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +4 -2
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +6 -5
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +84 -83
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +271 -100
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +76 -122
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +24 -15
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +32 -19
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/icon/OxyIcon.js +5 -4
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -5
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +3 -2
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +83 -220
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +26 -13
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +49 -26
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +84 -48
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +11 -9
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +38 -22
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/constants/theme.js +2 -2
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +4 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +12 -13
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +117 -142
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +112 -78
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +213 -145
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +28 -16
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +48 -42
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +110 -88
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +110 -131
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +16 -9
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +61 -55
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +12 -9
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +66 -94
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +161 -192
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +21 -23
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +17 -18
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +128 -72
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +15 -31
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +110 -52
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +4 -6
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +0 -20
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +3 -4
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -3
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -4
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +3 -4
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -3
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/index.d.ts +0 -5
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -4
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/ui/components/OxyPayButton.tsx +5 -3
- package/src/ui/components/OxyProvider.tsx +6 -5
- package/src/ui/components/OxySignInButton.tsx +82 -81
- package/src/ui/components/SignInModal.tsx +186 -42
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +69 -99
- package/src/ui/components/fileManagement/FileViewer.tsx +25 -15
- package/src/ui/components/fileManagement/UploadPreview.tsx +58 -46
- package/src/ui/components/icon/OxyIcon.tsx +5 -4
- package/src/ui/components/index.ts +0 -5
- package/src/ui/components/internal/PinInput.tsx +4 -3
- package/src/ui/components/modals/DeleteAccountModal.tsx +79 -221
- package/src/ui/components/payment/PaymentDetailsStep.tsx +16 -19
- package/src/ui/components/payment/PaymentMethodStep.tsx +33 -35
- package/src/ui/components/payment/PaymentReviewStep.tsx +63 -67
- package/src/ui/components/payment/PaymentSuccessStep.tsx +4 -12
- package/src/ui/components/payment/PaymentSummaryStep.tsx +26 -33
- package/src/ui/constants/theme.ts +2 -2
- package/src/ui/context/hooks/useAuthOperations.ts +4 -3
- package/src/ui/screens/AccountCenterScreen.tsx +36 -139
- package/src/ui/screens/AccountOverviewScreen.tsx +107 -163
- package/src/ui/screens/AccountSettingsScreen.tsx +142 -156
- package/src/ui/screens/AccountSwitcherScreen.tsx +226 -199
- package/src/ui/screens/AccountVerificationScreen.tsx +34 -25
- package/src/ui/screens/FeedbackScreen.tsx +50 -38
- package/src/ui/screens/FileManagementScreen.tsx +88 -88
- package/src/ui/screens/HistoryViewScreen.tsx +79 -207
- package/src/ui/screens/LanguageSelectorScreen.tsx +19 -7
- package/src/ui/screens/LegalDocumentsScreen.tsx +46 -63
- package/src/ui/screens/PaymentGatewayScreen.tsx +11 -12
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +73 -93
- package/src/ui/screens/PrivacySettingsScreen.tsx +81 -193
- package/src/ui/screens/SavesCollectionsScreen.tsx +23 -23
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -19
- package/src/ui/screens/SessionManagementScreen.tsx +130 -76
- package/src/ui/screens/UserLinksScreen.tsx +15 -32
- package/src/ui/screens/WelcomeNewUserScreen.tsx +46 -20
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +4 -6
- package/src/ui/utils/fileManagement.ts +0 -30
- package/lib/commonjs/ui/components/GroupedItem.js +0 -138
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -41
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -39
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -29
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/SettingRow.js +0 -90
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -206
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/utils/confirmAction.js +0 -28
- package/lib/commonjs/ui/utils/confirmAction.js.map +0 -1
- package/lib/module/ui/components/GroupedItem.js +0 -135
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -37
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -34
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -25
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/SettingRow.js +0 -85
- package/lib/module/ui/components/SettingRow.js.map +0 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -202
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -25
- package/lib/module/ui/utils/confirmAction.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Section.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/confirmAction.d.ts +0 -7
- package/lib/typescript/commonjs/ui/utils/confirmAction.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Section.d.ts +0 -12
- package/lib/typescript/module/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/module/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/confirmAction.d.ts +0 -7
- package/lib/typescript/module/ui/utils/confirmAction.d.ts.map +0 -1
- package/src/ui/components/GroupedItem.tsx +0 -161
- package/src/ui/components/GroupedSection.tsx +0 -60
- package/src/ui/components/Section.tsx +0 -42
- package/src/ui/components/SectionTitle.tsx +0 -27
- package/src/ui/components/SettingRow.tsx +0 -98
- package/src/ui/components/internal/GroupedPillButtons.tsx +0 -250
- package/src/ui/utils/confirmAction.ts +0 -23
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
StyleSheet,
|
|
7
7
|
ActivityIndicator,
|
|
8
8
|
ScrollView,
|
|
9
|
-
Alert,
|
|
10
9
|
Platform,
|
|
11
10
|
Image,
|
|
12
11
|
TextStyle,
|
|
@@ -15,12 +14,11 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
|
15
14
|
import type { BaseScreenProps } from '../types/navigation';
|
|
16
15
|
import OxyLogo from '../components/OxyLogo';
|
|
17
16
|
import Avatar from '../components/Avatar';
|
|
18
|
-
import OxyIcon from '../components/icon/OxyIcon';
|
|
19
17
|
import { fontFamilies } from '../styles/fonts';
|
|
20
18
|
import { toast } from '../../lib/sonner';
|
|
21
|
-
import { confirmAction } from '../utils/confirmAction';
|
|
22
19
|
import { Ionicons } from '@expo/vector-icons';
|
|
23
|
-
import
|
|
20
|
+
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
21
|
+
import { usePromptControl } from '@oxyhq/bloom/prompt';
|
|
24
22
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
25
23
|
import { useI18n } from '../hooks/useI18n';
|
|
26
24
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
@@ -37,6 +35,7 @@ import {
|
|
|
37
35
|
createScreenContentStyle,
|
|
38
36
|
} from '../constants/spacing';
|
|
39
37
|
import { DeleteAccountModal } from '../components/modals';
|
|
38
|
+
import { useDialogControl } from '@oxyhq/bloom/dialog';
|
|
40
39
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
41
40
|
|
|
42
41
|
// Optional Lottie import - gracefully handle if not available
|
|
@@ -87,7 +86,10 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
87
86
|
const [showMoreAccounts, setShowMoreAccounts] = useState(false);
|
|
88
87
|
const [additionalAccountsData, setAdditionalAccountsData] = useState<any[]>([]);
|
|
89
88
|
const [loadingAdditionalAccounts, setLoadingAdditionalAccounts] = useState(false);
|
|
90
|
-
const
|
|
89
|
+
const deleteAccountControl = useDialogControl();
|
|
90
|
+
const logoutPrompt = usePromptControl();
|
|
91
|
+
const signOutAllPrompt = usePromptControl();
|
|
92
|
+
const downloadDataPrompt = usePromptControl();
|
|
91
93
|
const lottieRef = useRef<any>(null);
|
|
92
94
|
const hasPlayedRef = useRef(false);
|
|
93
95
|
const insets = useSafeAreaInsets();
|
|
@@ -199,110 +201,44 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
199
201
|
}
|
|
200
202
|
}, [logout, onClose]);
|
|
201
203
|
|
|
202
|
-
const confirmLogout = useCallback(() => {
|
|
203
|
-
confirmAction(t('common.confirms.signOut'), handleLogout);
|
|
204
|
-
}, [handleLogout]);
|
|
205
|
-
|
|
206
204
|
const handleAddAccount = useCallback(() => {
|
|
207
205
|
toast.info(t('accountOverview.addAccountComing'));
|
|
208
206
|
}, [t]);
|
|
209
207
|
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
}, [handleLogout]);
|
|
213
|
-
|
|
214
|
-
const handleDownloadData = useCallback(async () => {
|
|
215
|
-
if (!oxyServices || !user) {
|
|
216
|
-
toast.error(t('accountOverview.items.downloadData.error') || 'Service not available');
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
|
|
208
|
+
const performDownload = useCallback(async (format: 'json' | 'csv') => {
|
|
209
|
+
if (!oxyServices || !user) { toast.error(t('accountOverview.items.downloadData.error') || 'Service not available'); return; }
|
|
220
210
|
try {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
try {
|
|
233
|
-
toast.loading(t('accountOverview.items.downloadData.downloading') || 'Preparing download...');
|
|
234
|
-
const blob = await oxyServices.downloadAccountData('json');
|
|
235
|
-
|
|
236
|
-
// Create download link for web
|
|
237
|
-
if (Platform.OS === 'web') {
|
|
238
|
-
const url = URL.createObjectURL(blob);
|
|
239
|
-
const link = document.createElement('a');
|
|
240
|
-
link.href = url;
|
|
241
|
-
link.download = `account-data-${Date.now()}.json`;
|
|
242
|
-
document.body.appendChild(link);
|
|
243
|
-
link.click();
|
|
244
|
-
document.body.removeChild(link);
|
|
245
|
-
URL.revokeObjectURL(url);
|
|
246
|
-
toast.success(t('accountOverview.items.downloadData.success') || 'Data downloaded successfully');
|
|
247
|
-
} else {
|
|
248
|
-
// For React Native, you'd need to use a library like expo-file-system
|
|
249
|
-
toast.success(t('accountOverview.items.downloadData.success') || 'Data downloaded successfully');
|
|
250
|
-
}
|
|
251
|
-
} catch (error: unknown) {
|
|
252
|
-
if (__DEV__) {
|
|
253
|
-
console.error('Failed to download data:', error);
|
|
254
|
-
}
|
|
255
|
-
toast.error((error instanceof Error ? error.message : null) || t('accountOverview.items.downloadData.error') || 'Failed to download data');
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
text: 'CSV',
|
|
261
|
-
onPress: async () => {
|
|
262
|
-
try {
|
|
263
|
-
toast.loading(t('accountOverview.items.downloadData.downloading') || 'Preparing download...');
|
|
264
|
-
const blob = await oxyServices.downloadAccountData('csv');
|
|
265
|
-
|
|
266
|
-
// Create download link for web
|
|
267
|
-
if (Platform.OS === 'web') {
|
|
268
|
-
const url = URL.createObjectURL(blob);
|
|
269
|
-
const link = document.createElement('a');
|
|
270
|
-
link.href = url;
|
|
271
|
-
link.download = `account-data-${Date.now()}.csv`;
|
|
272
|
-
document.body.appendChild(link);
|
|
273
|
-
link.click();
|
|
274
|
-
document.body.removeChild(link);
|
|
275
|
-
URL.revokeObjectURL(url);
|
|
276
|
-
toast.success(t('accountOverview.items.downloadData.success') || 'Data downloaded successfully');
|
|
277
|
-
} else {
|
|
278
|
-
// For React Native, you'd need to use a library like expo-file-system
|
|
279
|
-
toast.success(t('accountOverview.items.downloadData.success') || 'Data downloaded successfully');
|
|
280
|
-
}
|
|
281
|
-
} catch (error: unknown) {
|
|
282
|
-
if (__DEV__) {
|
|
283
|
-
console.error('Failed to download data:', error);
|
|
284
|
-
}
|
|
285
|
-
toast.error((error instanceof Error ? error.message : null) || t('accountOverview.items.downloadData.error') || 'Failed to download data');
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
},
|
|
289
|
-
]
|
|
290
|
-
);
|
|
291
|
-
} catch (error: unknown) {
|
|
292
|
-
if (__DEV__) {
|
|
293
|
-
console.error('Failed to initiate download:', error);
|
|
211
|
+
toast.loading(t('accountOverview.items.downloadData.downloading') || 'Preparing download...');
|
|
212
|
+
const blob = await oxyServices.downloadAccountData(format);
|
|
213
|
+
if (Platform.OS === 'web') {
|
|
214
|
+
const url = URL.createObjectURL(blob);
|
|
215
|
+
const link = document.createElement('a');
|
|
216
|
+
link.href = url;
|
|
217
|
+
link.download = `account-data-${Date.now()}.${format}`;
|
|
218
|
+
document.body.appendChild(link);
|
|
219
|
+
link.click();
|
|
220
|
+
document.body.removeChild(link);
|
|
221
|
+
URL.revokeObjectURL(url);
|
|
294
222
|
}
|
|
223
|
+
toast.success(t('accountOverview.items.downloadData.success') || 'Data downloaded successfully');
|
|
224
|
+
} catch (error: unknown) {
|
|
225
|
+
if (__DEV__) { console.error('Failed to download data:', error); }
|
|
295
226
|
toast.error((error instanceof Error ? error.message : null) || t('accountOverview.items.downloadData.error') || 'Failed to download data');
|
|
296
227
|
}
|
|
297
228
|
}, [oxyServices, user, t]);
|
|
298
229
|
|
|
230
|
+
const handleDownloadData = useCallback(() => {
|
|
231
|
+
if (!oxyServices || !user) { toast.error(t('accountOverview.items.downloadData.error') || 'Service not available'); return; }
|
|
232
|
+
downloadDataPrompt.open();
|
|
233
|
+
}, [oxyServices, user, t, downloadDataPrompt]);
|
|
234
|
+
|
|
299
235
|
const handleDeleteAccount = useCallback(() => {
|
|
300
236
|
if (!user) {
|
|
301
237
|
toast.error(t('accountOverview.items.deleteAccount.error') || 'User not available');
|
|
302
238
|
return;
|
|
303
239
|
}
|
|
304
|
-
|
|
305
|
-
}, [user, t]);
|
|
240
|
+
deleteAccountControl.open();
|
|
241
|
+
}, [user, t, deleteAccountControl]);
|
|
306
242
|
|
|
307
243
|
const handleConfirmDelete = useCallback(async (password: string) => {
|
|
308
244
|
if (!oxyServices || !user) {
|
|
@@ -311,7 +247,7 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
311
247
|
|
|
312
248
|
await oxyServices.deleteAccount(password);
|
|
313
249
|
toast.success(t('accountOverview.items.deleteAccount.success') || 'Account deleted successfully');
|
|
314
|
-
|
|
250
|
+
deleteAccountControl.close();
|
|
315
251
|
await logout();
|
|
316
252
|
if (onClose) {
|
|
317
253
|
onClose();
|
|
@@ -427,78 +363,59 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
427
363
|
) : null}
|
|
428
364
|
</SettingsListGroup>
|
|
429
365
|
|
|
430
|
-
{/* Additional Accounts
|
|
366
|
+
{/* Additional Accounts */}
|
|
431
367
|
{showMoreAccounts && (
|
|
432
|
-
<
|
|
368
|
+
<SettingsListGroup title={`${t('accountOverview.sections.additionalAccounts') || 'Additional Accounts'}${additionalAccountsData.length > 0 ? ` (${additionalAccountsData.length})` : ''}`}>
|
|
433
369
|
{loadingAdditionalAccounts ? (
|
|
434
|
-
<
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
<ActivityIndicator size="small" color={baseThemeColors.iconSecurity} />
|
|
445
|
-
<Text style={styles.loadingText}>{t('accountOverview.loadingAdditional.title') || 'Loading accounts...'}</Text>
|
|
446
|
-
</View>
|
|
447
|
-
),
|
|
448
|
-
},
|
|
449
|
-
]}
|
|
450
|
-
|
|
370
|
+
<SettingsListItem
|
|
371
|
+
icon={<SettingsIcon name="sync" color={baseThemeColors.iconSecurity} />}
|
|
372
|
+
title={t('accountOverview.loadingAdditional.title') || 'Loading accounts...'}
|
|
373
|
+
description={t('accountOverview.loadingAdditional.subtitle') || 'Please wait while we load your additional accounts'}
|
|
374
|
+
rightElement={
|
|
375
|
+
<View style={styles.loadingContainer}>
|
|
376
|
+
<ActivityIndicator size="small" color={baseThemeColors.iconSecurity} />
|
|
377
|
+
</View>
|
|
378
|
+
}
|
|
379
|
+
showChevron={false}
|
|
451
380
|
/>
|
|
452
381
|
) : additionalAccountsData.length > 0 ? (
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
icon
|
|
457
|
-
|
|
458
|
-
|
|
382
|
+
additionalAccountsData.map((account) => (
|
|
383
|
+
<SettingsListItem
|
|
384
|
+
key={`account-${account.id}`}
|
|
385
|
+
icon={
|
|
386
|
+
<View style={styles.userIcon}>
|
|
387
|
+
{account.avatar ? (
|
|
388
|
+
<Image
|
|
389
|
+
source={{ uri: oxyServices.getFileDownloadUrl(account.avatar, 'thumb') }}
|
|
390
|
+
style={styles.accountAvatarImage}
|
|
391
|
+
/>
|
|
392
|
+
) : (
|
|
393
|
+
<View style={styles.accountAvatarFallback}>
|
|
394
|
+
<Text style={styles.accountAvatarText}>
|
|
395
|
+
{account.username?.charAt(0).toUpperCase() || '?'}
|
|
396
|
+
</Text>
|
|
397
|
+
</View>
|
|
398
|
+
)}
|
|
399
|
+
</View>
|
|
400
|
+
}
|
|
401
|
+
title={typeof account.name === 'object'
|
|
459
402
|
? account.name?.full || account.name?.first || account.username
|
|
460
|
-
: account.name || account.username
|
|
461
|
-
|
|
462
|
-
onPress
|
|
403
|
+
: account.name || account.username}
|
|
404
|
+
description={account.email || account.username}
|
|
405
|
+
onPress={() => {
|
|
463
406
|
toast.info(t('accountOverview.items.accountSwitcher.switchPrompt', { username: account.username }) || `Switch to ${account.username}?`);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
<View style={styles.userIcon}>
|
|
468
|
-
{account.avatar ? (
|
|
469
|
-
<Image
|
|
470
|
-
source={{ uri: oxyServices.getFileDownloadUrl(account.avatar, 'thumb') }}
|
|
471
|
-
style={styles.accountAvatarImage}
|
|
472
|
-
/>
|
|
473
|
-
) : (
|
|
474
|
-
<View style={styles.accountAvatarFallback}>
|
|
475
|
-
<Text style={styles.accountAvatarText}>
|
|
476
|
-
{account.username?.charAt(0).toUpperCase() || '?'}
|
|
477
|
-
</Text>
|
|
478
|
-
</View>
|
|
479
|
-
)}
|
|
480
|
-
</View>
|
|
481
|
-
<OxyIcon name="chevron-forward" size={16} color="#ccc" />
|
|
482
|
-
</>
|
|
483
|
-
),
|
|
484
|
-
}))}
|
|
485
|
-
|
|
486
|
-
/>
|
|
407
|
+
}}
|
|
408
|
+
/>
|
|
409
|
+
))
|
|
487
410
|
) : (
|
|
488
|
-
<
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
iconColor: '#ccc',
|
|
494
|
-
title: t('accountOverview.additional.noAccounts.title') || 'No other accounts',
|
|
495
|
-
subtitle: t('accountOverview.additional.noAccounts.subtitle') || 'Add another account to switch between them',
|
|
496
|
-
},
|
|
497
|
-
]}
|
|
498
|
-
|
|
411
|
+
<SettingsListItem
|
|
412
|
+
icon={<SettingsIcon name="account-outline" color="#ccc" />}
|
|
413
|
+
title={t('accountOverview.additional.noAccounts.title') || 'No other accounts'}
|
|
414
|
+
description={t('accountOverview.additional.noAccounts.subtitle') || 'Add another account to switch between them'}
|
|
415
|
+
showChevron={false}
|
|
499
416
|
/>
|
|
500
417
|
)}
|
|
501
|
-
</
|
|
418
|
+
</SettingsListGroup>
|
|
502
419
|
)}
|
|
503
420
|
|
|
504
421
|
{/* Account Management */}
|
|
@@ -514,7 +431,7 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
514
431
|
icon={<SettingsIcon name="logout" color={baseThemeColors.iconSharing} />}
|
|
515
432
|
title={t('accountOverview.items.signOutAll.title') || 'Sign out of all accounts'}
|
|
516
433
|
description={t('accountOverview.items.signOutAll.subtitle') || 'Remove all accounts from this device'}
|
|
517
|
-
onPress={
|
|
434
|
+
onPress={() => signOutAllPrompt.open()}
|
|
518
435
|
/>
|
|
519
436
|
</SettingsListGroup>
|
|
520
437
|
)}
|
|
@@ -619,23 +536,50 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
619
536
|
icon={<SettingsIcon name="logout" color="#FF3B30" />}
|
|
620
537
|
title={t('accountOverview.items.signOut.title')}
|
|
621
538
|
description={t('accountOverview.items.signOut.subtitle')}
|
|
622
|
-
onPress={
|
|
539
|
+
onPress={() => logoutPrompt.open()}
|
|
623
540
|
destructive={true}
|
|
624
541
|
showChevron={false}
|
|
625
542
|
/>
|
|
626
543
|
</SettingsListGroup>
|
|
627
544
|
</ScrollView>
|
|
628
545
|
|
|
629
|
-
{/* Delete Account
|
|
546
|
+
{/* Delete Account Dialog */}
|
|
630
547
|
{user && (
|
|
631
548
|
<DeleteAccountModal
|
|
632
|
-
|
|
549
|
+
control={deleteAccountControl}
|
|
633
550
|
username={user.username || ''}
|
|
634
|
-
onClose={() => setShowDeleteModal(false)}
|
|
635
551
|
onDelete={handleConfirmDelete}
|
|
636
552
|
t={t}
|
|
637
553
|
/>
|
|
638
554
|
)}
|
|
555
|
+
|
|
556
|
+
<Prompt.Basic
|
|
557
|
+
control={logoutPrompt}
|
|
558
|
+
title={t('accountOverview.items.signOut.title') || 'Sign Out'}
|
|
559
|
+
description={t('common.confirms.signOut') || 'Are you sure you want to sign out?'}
|
|
560
|
+
onConfirm={handleLogout}
|
|
561
|
+
confirmButtonCta={t('accountOverview.items.signOut.title') || 'Sign Out'}
|
|
562
|
+
confirmButtonColor="negative"
|
|
563
|
+
/>
|
|
564
|
+
<Prompt.Basic
|
|
565
|
+
control={signOutAllPrompt}
|
|
566
|
+
title={t('accountOverview.items.signOutAll.title') || 'Sign Out All'}
|
|
567
|
+
description={t('common.confirms.signOutAll') || 'Are you sure you want to sign out of all accounts?'}
|
|
568
|
+
onConfirm={handleLogout}
|
|
569
|
+
confirmButtonCta={t('accountOverview.items.signOutAll.title') || 'Sign Out All'}
|
|
570
|
+
confirmButtonColor="negative"
|
|
571
|
+
/>
|
|
572
|
+
<Prompt.Outer control={downloadDataPrompt}>
|
|
573
|
+
<Prompt.Content>
|
|
574
|
+
<Prompt.TitleText>{t('accountOverview.items.downloadData.confirmTitle') || 'Download Account Data'}</Prompt.TitleText>
|
|
575
|
+
<Prompt.DescriptionText>{t('accountOverview.items.downloadData.confirmMessage') || 'Choose the format for your account data export:'}</Prompt.DescriptionText>
|
|
576
|
+
</Prompt.Content>
|
|
577
|
+
<Prompt.Actions>
|
|
578
|
+
<Prompt.Action cta="JSON" onPress={() => performDownload('json')} color="primary" />
|
|
579
|
+
<Prompt.Action cta="CSV" onPress={() => performDownload('csv')} color="primary_subtle" />
|
|
580
|
+
<Prompt.Cancel cta={t('common.cancel') || 'Cancel'} />
|
|
581
|
+
</Prompt.Actions>
|
|
582
|
+
</Prompt.Outer>
|
|
639
583
|
</View>
|
|
640
584
|
);
|
|
641
585
|
};
|