@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_vectorIcons","require","_jsxRuntime","OxyIcon","name","size","color","style","jsx","Ionicons","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["ui/components/icon/OxyIcon.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["_vectorIcons","require","_theme","_jsxRuntime","OxyIcon","name","size","color","style","theme","useTheme","resolvedColor","colors","icon","jsx","Ionicons","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["ui/components/icon/OxyIcon.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA8C,IAAAE,WAAA,GAAAF,OAAA;AAS9C,MAAMG,OAA4B,GAAGA,CAAC;EACpCC,IAAI;EACJC,IAAI,GAAG,EAAE;EACTC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAMC,KAAK,GAAG,IAAAC,eAAQ,EAAC,CAAC;EACxB,MAAMC,aAAa,GAAGJ,KAAK,IAAIE,KAAK,CAACG,MAAM,CAACC,IAAI;EAEhD,oBACE,IAAAV,WAAA,CAAAW,GAAA,EAACd,YAAA,CAAAe,QAAQ;IACPV,IAAI,EAAEA,IAAsD;IAC5DC,IAAI,EAAEA,IAAK;IACXC,KAAK,EAAEI,aAAc;IACrBH,KAAK,EAAEA;EAAM,CACd,CAAC;AAEN,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEad,OAAO","ignoreList":[]}
|
|
@@ -27,18 +27,6 @@ Object.defineProperty(exports, "FontLoader", {
|
|
|
27
27
|
return _FontLoader.FontLoader;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
Object.defineProperty(exports, "GroupedItem", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _GroupedItem.default;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "GroupedSection", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _GroupedSection.default;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
30
|
Object.defineProperty(exports, "Header", {
|
|
43
31
|
enumerable: true,
|
|
44
32
|
get: function () {
|
|
@@ -81,24 +69,6 @@ Object.defineProperty(exports, "QuickActions", {
|
|
|
81
69
|
return _QuickActions.default;
|
|
82
70
|
}
|
|
83
71
|
});
|
|
84
|
-
Object.defineProperty(exports, "Section", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _Section.default;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "SectionTitle", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _SectionTitle.default;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "SettingRow", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return _SettingRow.default;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
72
|
Object.defineProperty(exports, "SettingsIcon", {
|
|
103
73
|
enumerable: true,
|
|
104
74
|
get: function () {
|
|
@@ -118,15 +88,10 @@ Object.defineProperty(exports, "setupFonts", {
|
|
|
118
88
|
}
|
|
119
89
|
});
|
|
120
90
|
var _ProfileCard = _interopRequireDefault(require("./ProfileCard.js"));
|
|
121
|
-
var _Section = _interopRequireDefault(require("./Section.js"));
|
|
122
|
-
var _SectionTitle = _interopRequireDefault(require("./SectionTitle.js"));
|
|
123
|
-
var _GroupedItem = _interopRequireDefault(require("./GroupedItem.js"));
|
|
124
|
-
var _GroupedSection = _interopRequireDefault(require("./GroupedSection.js"));
|
|
125
91
|
var _QuickActions = _interopRequireDefault(require("./QuickActions.js"));
|
|
126
92
|
var _Header = _interopRequireWildcard(require("./Header.js"));
|
|
127
93
|
var _LoadingState = _interopRequireDefault(require("./LoadingState.js"));
|
|
128
94
|
var _EmptyState = _interopRequireDefault(require("./EmptyState.js"));
|
|
129
|
-
var _SettingRow = _interopRequireDefault(require("./SettingRow.js"));
|
|
130
95
|
var _SettingsIcon = require("./SettingsIcon.js");
|
|
131
96
|
var _Avatar = _interopRequireDefault(require("./Avatar.js"));
|
|
132
97
|
var _FollowButton = _interopRequireDefault(require("./FollowButton.js"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ProfileCard","_interopRequireDefault","require","
|
|
1
|
+
{"version":3,"names":["_ProfileCard","_interopRequireDefault","require","_QuickActions","_Header","_interopRequireWildcard","_LoadingState","_EmptyState","_SettingsIcon","_Avatar","_FollowButton","_FontLoader","_OxyLogo","_OxySignInButton","_OxyPayButton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor"],"sourceRoot":"../../../../src","sources":["ui/components/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,WAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAGA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,aAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,gBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,aAAA,GAAAb,sBAAA,CAAAC,OAAA;AAAyD,SAAAG,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAAA,SAAAf,uBAAAc,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAK,UAAA,GAAAL,CAAA,KAAAU,OAAA,EAAAV,CAAA","ignoreList":[]}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
+
var _theme = require("@oxyhq/bloom/theme");
|
|
9
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
12
|
const PinInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
@@ -16,6 +17,7 @@ const PinInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
16
17
|
autoFocus,
|
|
17
18
|
colors
|
|
18
19
|
}, ref) => {
|
|
20
|
+
const theme = (0, _theme.useTheme)();
|
|
19
21
|
const inputs = (0, _react.useRef)([]);
|
|
20
22
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
21
23
|
focus: () => {
|
|
@@ -57,7 +59,7 @@ const PinInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
57
59
|
style: [styles.pinInput, {
|
|
58
60
|
borderColor: colors.primary,
|
|
59
61
|
color: colors.text,
|
|
60
|
-
backgroundColor: colors.inputBackground
|
|
62
|
+
backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary
|
|
61
63
|
}, value[idx] ? {
|
|
62
64
|
borderWidth: 2
|
|
63
65
|
} : {
|
|
@@ -91,7 +93,6 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
91
93
|
borderWidth: 1,
|
|
92
94
|
fontSize: 28,
|
|
93
95
|
fontWeight: '600',
|
|
94
|
-
backgroundColor: '#F5F5F5',
|
|
95
96
|
textAlign: 'center',
|
|
96
97
|
marginHorizontal: 2,
|
|
97
98
|
..._reactNative.Platform.select({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PinInput","forwardRef","value","onChange","length","disabled","autoFocus","colors","ref","inputs","useRef","useImperativeHandle","focus","current","handleChange","text","idx","test","newValue","split","slice","join","joined","handleKeyPress","nativeEvent","key","jsx","View","style","styles","pinContainer","children","Array","from","map","_","TextInput","pinInput","borderColor","primary","color","backgroundColor","inputBackground","borderWidth","onChangeText","onKeyPress","keyboardType","Platform","OS","maxLength","editable","textAlign","selectionColor","returnKeyType","StyleSheet","create","flexDirection","justifyContent","gap","marginBottom","marginTop","width","height","borderRadius","fontSize","fontWeight","marginHorizontal","select","web","boxShadow","shadowColor","shadowOpacity","shadowOffset","shadowRadius","elevation","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/PinInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_theme","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PinInput","forwardRef","value","onChange","length","disabled","autoFocus","colors","ref","theme","useTheme","inputs","useRef","useImperativeHandle","focus","current","handleChange","text","idx","test","newValue","split","slice","join","joined","handleKeyPress","nativeEvent","key","jsx","View","style","styles","pinContainer","children","Array","from","map","_","TextInput","pinInput","borderColor","primary","color","backgroundColor","inputBackground","backgroundSecondary","borderWidth","onChangeText","onKeyPress","keyboardType","Platform","OS","maxLength","editable","textAlign","selectionColor","returnKeyType","StyleSheet","create","flexDirection","justifyContent","gap","marginBottom","marginTop","width","height","borderRadius","fontSize","fontWeight","marginHorizontal","select","web","boxShadow","shadowColor","shadowOpacity","shadowOffset","shadowRadius","elevation","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/PinInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAA8C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,C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MAClCoC,SAAS,EAAC,QAAQ;MAClBC,cAAc,EAAEhD,MAAM,CAACkC,OAAQ;MAC/Be,aAAa,EAAC;IAAM,GAhBf,aAAatC,GAAG,EAiBxB,CACJ;EAAC,CACA,CAAC;AAEf,CAAC,CAAC;AAEF,MAAMa,MAAM,GAAG0B,uBAAU,CAACC,MAAM,CAAC;EAC7B1B,YAAY,EAAE;IACV2B,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACf,CAAC;EACDxB,QAAQ,EAAE;IACNyB,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,EAAE;IAChBpB,WAAW,EAAE,CAAC;IACdqB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBd,SAAS,EAAE,QAAQ;IACnBe,gBAAgB,EAAE,CAAC;IACnB,GAAGnB,qBAAQ,CAACoB,MAAM,CAAC;MACfC,GAAG,EAAE;QACDC,SAAS,EAAE;MACf,CAAC;MACDjF,OAAO,EAAE;QACLkF,WAAW,EAAE,MAAM;QACnBC,aAAa,EAAE,IAAI;QACnBC,YAAY,EAAE;UAAEX,KAAK,EAAE,CAAC;UAAEC,MAAM,EAAE;QAAE,CAAC;QACrCW,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE;MACf;IACJ,CAAC;EACL;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxF,OAAA,GAEYS,QAAQ","ignoreList":[]}
|
|
@@ -6,15 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
+
var Dialog = _interopRequireWildcard(require("@oxyhq/bloom/dialog"));
|
|
10
|
+
var Prompt = _interopRequireWildcard(require("@oxyhq/bloom/prompt"));
|
|
9
11
|
var _OxyIcon = _interopRequireDefault(require("../icon/OxyIcon.js"));
|
|
10
12
|
var _theme = require("@oxyhq/bloom/theme");
|
|
11
|
-
var _loading = require("@oxyhq/bloom/loading");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
16
|
const DeleteAccountModal = ({
|
|
15
|
-
|
|
17
|
+
control,
|
|
16
18
|
username,
|
|
17
|
-
onClose,
|
|
18
19
|
onDelete,
|
|
19
20
|
t
|
|
20
21
|
}) => {
|
|
@@ -31,243 +32,106 @@ const DeleteAccountModal = ({
|
|
|
31
32
|
setIsDeleting(true);
|
|
32
33
|
try {
|
|
33
34
|
await onDelete(password);
|
|
34
|
-
//
|
|
35
|
+
// Dialog will be closed by parent on success
|
|
35
36
|
} catch (err) {
|
|
36
37
|
setError((err instanceof Error ? err.message : null) || t('deleteAccount.error') || 'Failed to delete account');
|
|
37
38
|
} finally {
|
|
38
39
|
setIsDeleting(false);
|
|
39
40
|
}
|
|
40
41
|
}, [isValid, password, onDelete, t]);
|
|
41
|
-
const
|
|
42
|
+
const handleCleanup = (0, _react.useCallback)(() => {
|
|
42
43
|
if (isDeleting) return;
|
|
43
44
|
setPassword('');
|
|
44
45
|
setConfirmUsername('');
|
|
45
46
|
setError(null);
|
|
46
|
-
|
|
47
|
-
}, [isDeleting
|
|
48
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}],
|
|
60
|
-
activeOpacity: 1,
|
|
61
|
-
onPress: handleClose
|
|
62
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
63
|
-
style: [styles.modal, {
|
|
64
|
-
backgroundColor: theme.colors.background
|
|
65
|
-
}],
|
|
66
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
67
|
-
style: styles.header,
|
|
68
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyIcon.default, {
|
|
69
|
-
name: "alert",
|
|
70
|
-
size: 32,
|
|
71
|
-
color: theme.colors.error
|
|
72
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
73
|
-
className: "text-destructive",
|
|
74
|
-
style: styles.title,
|
|
75
|
-
children: t('deleteAccount.title') || 'Delete Account'
|
|
76
|
-
})]
|
|
47
|
+
setShowPassword(false);
|
|
48
|
+
}, [isDeleting]);
|
|
49
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Dialog.Outer, {
|
|
50
|
+
control: control,
|
|
51
|
+
onClose: handleCleanup,
|
|
52
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Dialog.Handle, {}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(Dialog.ScrollableInner, {
|
|
53
|
+
label: "Delete Account",
|
|
54
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
55
|
+
className: "flex-row items-center mb-4 gap-3",
|
|
56
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyIcon.default, {
|
|
57
|
+
name: "alert",
|
|
58
|
+
size: 32,
|
|
59
|
+
color: theme.colors.error
|
|
77
60
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
78
|
-
className: "text-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
style: styles.inputContainer,
|
|
99
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
100
|
-
className: "text-foreground",
|
|
101
|
-
style: styles.input,
|
|
102
|
-
value: password,
|
|
103
|
-
onChangeText: setPassword,
|
|
104
|
-
placeholder: t('deleteAccount.passwordPlaceholder') || 'Password',
|
|
105
|
-
placeholderTextColor: theme.colors.textSecondary,
|
|
106
|
-
secureTextEntry: !showPassword,
|
|
107
|
-
autoCapitalize: "none",
|
|
108
|
-
editable: !isDeleting
|
|
109
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
110
|
-
onPress: () => setShowPassword(!showPassword),
|
|
111
|
-
style: styles.eyeButton,
|
|
112
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyIcon.default, {
|
|
113
|
-
name: showPassword ? 'eye-off' : 'eye',
|
|
114
|
-
size: 20,
|
|
115
|
-
color: theme.colors.textSecondary
|
|
116
|
-
})
|
|
117
|
-
})]
|
|
118
|
-
})]
|
|
61
|
+
className: "text-destructive text-xl font-bold",
|
|
62
|
+
children: t('deleteAccount.title') || 'Delete Account'
|
|
63
|
+
})]
|
|
64
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
65
|
+
className: "text-foreground text-sm leading-5 mb-5",
|
|
66
|
+
children: t('deleteAccount.warning') || 'This action cannot be undone. Your account and all associated data will be permanently deleted.'
|
|
67
|
+
}), error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
68
|
+
className: "p-3 rounded-lg mb-4",
|
|
69
|
+
style: {
|
|
70
|
+
backgroundColor: `${theme.colors.error}20`
|
|
71
|
+
},
|
|
72
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
73
|
+
className: "text-destructive text-sm text-center",
|
|
74
|
+
children: error
|
|
75
|
+
})
|
|
76
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
77
|
+
className: "mb-4",
|
|
78
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
79
|
+
className: "text-muted-foreground text-[13px] mb-2",
|
|
80
|
+
children: t('deleteAccount.passwordLabel') || 'Enter your password'
|
|
119
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
120
|
-
|
|
121
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.
|
|
122
|
-
className: "text-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}) || `Type "${username}" to confirm`
|
|
127
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
128
|
-
className: "text-foreground bg-background",
|
|
129
|
-
style: [styles.input, styles.confirmInput, {
|
|
130
|
-
borderColor: confirmUsername === username ? theme.colors.success : theme.colors.border
|
|
131
|
-
}],
|
|
132
|
-
value: confirmUsername,
|
|
133
|
-
onChangeText: setConfirmUsername,
|
|
134
|
-
placeholder: username,
|
|
82
|
+
className: "flex-row items-center border border-border bg-background rounded-lg",
|
|
83
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
84
|
+
className: "text-foreground flex-1 text-base py-3 px-4",
|
|
85
|
+
value: password,
|
|
86
|
+
onChangeText: setPassword,
|
|
87
|
+
placeholder: t('deleteAccount.passwordPlaceholder') || 'Password',
|
|
135
88
|
placeholderTextColor: theme.colors.textSecondary,
|
|
89
|
+
secureTextEntry: !showPassword,
|
|
136
90
|
autoCapitalize: "none",
|
|
137
|
-
autoCorrect: false,
|
|
138
91
|
editable: !isDeleting
|
|
139
|
-
})]
|
|
140
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
141
|
-
style: styles.buttons,
|
|
142
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
143
|
-
className: "border-border",
|
|
144
|
-
style: [styles.button, styles.cancelButton],
|
|
145
|
-
onPress: handleClose,
|
|
146
|
-
disabled: isDeleting,
|
|
147
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
148
|
-
className: "text-foreground",
|
|
149
|
-
style: styles.buttonText,
|
|
150
|
-
children: t('common.cancel') || 'Cancel'
|
|
151
|
-
})
|
|
152
92
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
size: "small"
|
|
160
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
161
|
-
style: [styles.deleteButtonText, {
|
|
162
|
-
color: theme.colors.card
|
|
163
|
-
}],
|
|
164
|
-
children: t('deleteAccount.confirm') || 'Delete Forever'
|
|
93
|
+
onPress: () => setShowPassword(!showPassword),
|
|
94
|
+
className: "p-3",
|
|
95
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyIcon.default, {
|
|
96
|
+
name: showPassword ? 'eye-off' : 'eye',
|
|
97
|
+
size: 20,
|
|
98
|
+
color: theme.colors.textSecondary
|
|
165
99
|
})
|
|
166
100
|
})]
|
|
167
101
|
})]
|
|
102
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
103
|
+
className: "mb-4",
|
|
104
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
105
|
+
className: "text-muted-foreground text-[13px] mb-2",
|
|
106
|
+
children: t('deleteAccount.confirmLabel', {
|
|
107
|
+
username
|
|
108
|
+
}) || `Type "${username}" to confirm`
|
|
109
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
110
|
+
className: "text-foreground bg-background text-base py-3 px-4 border rounded-lg",
|
|
111
|
+
style: {
|
|
112
|
+
borderColor: confirmUsername === username ? theme.colors.success : theme.colors.border
|
|
113
|
+
},
|
|
114
|
+
value: confirmUsername,
|
|
115
|
+
onChangeText: setConfirmUsername,
|
|
116
|
+
placeholder: username,
|
|
117
|
+
placeholderTextColor: theme.colors.textSecondary,
|
|
118
|
+
autoCapitalize: "none",
|
|
119
|
+
autoCorrect: false,
|
|
120
|
+
editable: !isDeleting
|
|
121
|
+
})]
|
|
122
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(Prompt.Actions, {
|
|
123
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Prompt.Action, {
|
|
124
|
+
onPress: handleDelete,
|
|
125
|
+
color: "negative",
|
|
126
|
+
cta: isDeleting ? undefined : t('deleteAccount.confirm') || 'Delete Forever',
|
|
127
|
+
disabled: !isValid || isDeleting,
|
|
128
|
+
shouldCloseOnPress: false
|
|
129
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Prompt.Cancel, {
|
|
130
|
+
cta: t('common.cancel') || 'Cancel'
|
|
131
|
+
})]
|
|
168
132
|
})]
|
|
169
|
-
})
|
|
133
|
+
})]
|
|
170
134
|
});
|
|
171
135
|
};
|
|
172
|
-
const styles = _reactNative.StyleSheet.create({
|
|
173
|
-
overlay: {
|
|
174
|
-
flex: 1,
|
|
175
|
-
justifyContent: 'center',
|
|
176
|
-
alignItems: 'center'
|
|
177
|
-
},
|
|
178
|
-
backdrop: {
|
|
179
|
-
..._reactNative.StyleSheet.absoluteFillObject
|
|
180
|
-
},
|
|
181
|
-
modal: {
|
|
182
|
-
width: '90%',
|
|
183
|
-
maxWidth: 400,
|
|
184
|
-
borderRadius: 16,
|
|
185
|
-
padding: 24,
|
|
186
|
-
shadowColor: '#000',
|
|
187
|
-
shadowOffset: {
|
|
188
|
-
width: 0,
|
|
189
|
-
height: 4
|
|
190
|
-
},
|
|
191
|
-
shadowOpacity: 0.3,
|
|
192
|
-
shadowRadius: 8,
|
|
193
|
-
elevation: 8
|
|
194
|
-
},
|
|
195
|
-
header: {
|
|
196
|
-
flexDirection: 'row',
|
|
197
|
-
alignItems: 'center',
|
|
198
|
-
marginBottom: 16,
|
|
199
|
-
gap: 12
|
|
200
|
-
},
|
|
201
|
-
title: {
|
|
202
|
-
fontSize: 20,
|
|
203
|
-
fontWeight: '700'
|
|
204
|
-
},
|
|
205
|
-
warning: {
|
|
206
|
-
fontSize: 14,
|
|
207
|
-
lineHeight: 20,
|
|
208
|
-
marginBottom: 20
|
|
209
|
-
},
|
|
210
|
-
errorContainer: {
|
|
211
|
-
padding: 12,
|
|
212
|
-
borderRadius: 8,
|
|
213
|
-
marginBottom: 16
|
|
214
|
-
},
|
|
215
|
-
errorText: {
|
|
216
|
-
fontSize: 14,
|
|
217
|
-
textAlign: 'center'
|
|
218
|
-
},
|
|
219
|
-
inputGroup: {
|
|
220
|
-
marginBottom: 16
|
|
221
|
-
},
|
|
222
|
-
label: {
|
|
223
|
-
fontSize: 13,
|
|
224
|
-
marginBottom: 8
|
|
225
|
-
},
|
|
226
|
-
inputContainer: {
|
|
227
|
-
flexDirection: 'row',
|
|
228
|
-
alignItems: 'center',
|
|
229
|
-
borderWidth: 1,
|
|
230
|
-
borderRadius: 8
|
|
231
|
-
},
|
|
232
|
-
input: {
|
|
233
|
-
flex: 1,
|
|
234
|
-
fontSize: 16,
|
|
235
|
-
paddingVertical: 12,
|
|
236
|
-
paddingHorizontal: 16
|
|
237
|
-
},
|
|
238
|
-
confirmInput: {
|
|
239
|
-
borderWidth: 1,
|
|
240
|
-
borderRadius: 8
|
|
241
|
-
},
|
|
242
|
-
eyeButton: {
|
|
243
|
-
padding: 12
|
|
244
|
-
},
|
|
245
|
-
buttons: {
|
|
246
|
-
flexDirection: 'row',
|
|
247
|
-
gap: 12,
|
|
248
|
-
marginTop: 8
|
|
249
|
-
},
|
|
250
|
-
button: {
|
|
251
|
-
flex: 1,
|
|
252
|
-
paddingVertical: 14,
|
|
253
|
-
borderRadius: 8,
|
|
254
|
-
alignItems: 'center',
|
|
255
|
-
justifyContent: 'center'
|
|
256
|
-
},
|
|
257
|
-
cancelButton: {
|
|
258
|
-
borderWidth: 1
|
|
259
|
-
},
|
|
260
|
-
deleteButton: {
|
|
261
|
-
minHeight: 48
|
|
262
|
-
},
|
|
263
|
-
buttonText: {
|
|
264
|
-
fontSize: 16,
|
|
265
|
-
fontWeight: '600'
|
|
266
|
-
},
|
|
267
|
-
deleteButtonText: {
|
|
268
|
-
fontSize: 16,
|
|
269
|
-
fontWeight: '600'
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
136
|
var _default = exports.default = DeleteAccountModal;
|
|
273
137
|
//# sourceMappingURL=DeleteAccountModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","Dialog","_interopRequireWildcard","Prompt","_OxyIcon","_interopRequireDefault","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DeleteAccountModal","control","username","onDelete","theme","useTheme","password","setPassword","useState","confirmUsername","setConfirmUsername","isDeleting","setIsDeleting","error","setError","showPassword","setShowPassword","isValid","length","handleDelete","useCallback","err","Error","message","handleCleanup","jsxs","Outer","onClose","children","jsx","Handle","ScrollableInner","label","View","className","name","size","color","colors","Text","style","backgroundColor","TextInput","value","onChangeText","placeholder","placeholderTextColor","textSecondary","secureTextEntry","autoCapitalize","editable","TouchableOpacity","onPress","borderColor","success","border","autoCorrect","Actions","Action","cta","undefined","disabled","shouldCloseOnPress","Cancel","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/modals/DeleteAccountModal.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAD,uBAAA,CAAAH,OAAA;AACA,IAAAK,QAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAA8C,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAM,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBAAA,YAAAA,CAAAM,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAAO,CAAA,CAAAM,GAAA,CAAAb,CAAA,EAAAS,CAAA,gBAAAN,CAAA,IAAAH,CAAA,gBAAAG,CAAA,OAAAW,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAG,CA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AQ,EAAE,CAACvC;QAAW,CACzB,CAAC;MAAA,CACA,CAAC,eAEP,IAAA/B,WAAA,CAAA6C,IAAA,EAACjD,MAAM,CAACiF,OAAO;QAAA7B,QAAA,gBACX,IAAAhD,WAAA,CAAAiD,GAAA,EAACrD,MAAM,CAACkF,MAAM;UACVN,OAAO,EAAEjC,YAAa;UACtBkB,KAAK,EAAC,UAAU;UAChBsB,GAAG,EAAEhD,UAAU,GAAGiD,SAAS,GAAI5E,CAAC,CAAC,uBAAuB,CAAC,IAAI,gBAAkB;UAC/E6E,QAAQ,EAAE,CAAC5C,OAAO,IAAIN,UAAW;UACjCmD,kBAAkB,EAAE;QAAM,CAC7B,CAAC,eACF,IAAAlF,WAAA,CAAAiD,GAAA,EAACrD,MAAM,CAACuF,MAAM;UAACJ,GAAG,EAAE3E,CAAC,CAAC,eAAe,CAAC,IAAI;QAAS,CAAE,CAAC;MAAA,CAC1C,CAAC;IAAA,CACG,CAAC;EAAA,CACf,CAAC;AAEvB,CAAC;AAAC,IAAAgF,QAAA,GAAAC,OAAA,CAAAlF,OAAA,GAEaiB,kBAAkB","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _vectorIcons = require("@expo/vector-icons");
|
|
10
|
-
var
|
|
10
|
+
var _button = require("@oxyhq/bloom/button");
|
|
11
11
|
var _TextField = _interopRequireDefault(require("../TextField.js"));
|
|
12
12
|
var _index = require("../icon/index.js");
|
|
13
13
|
var _paymentStyles = require("./paymentStyles.js");
|
|
@@ -293,20 +293,33 @@ const PaymentDetailsStep = ({
|
|
|
293
293
|
})]
|
|
294
294
|
})
|
|
295
295
|
})]
|
|
296
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
297
|
+
style: {
|
|
298
|
+
flexDirection: 'row',
|
|
299
|
+
gap: 8,
|
|
300
|
+
justifyContent: 'flex-end'
|
|
301
|
+
},
|
|
302
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
303
|
+
variant: "secondary",
|
|
299
304
|
onPress: onBack,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
305
|
+
size: "small",
|
|
306
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
307
|
+
name: "arrow-back",
|
|
308
|
+
size: 16
|
|
309
|
+
}),
|
|
310
|
+
children: t('payment.actions.back')
|
|
311
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
312
|
+
variant: "primary",
|
|
304
313
|
onPress: onNext,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
314
|
+
size: "small",
|
|
315
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
316
|
+
name: "arrow-forward",
|
|
317
|
+
size: 16
|
|
318
|
+
}),
|
|
319
|
+
iconPosition: "right",
|
|
320
|
+
disabled: paymentMethod === 'card' && !isCardValid,
|
|
321
|
+
children: t('payment.actions.continue')
|
|
322
|
+
})]
|
|
310
323
|
})]
|
|
311
324
|
});
|
|
312
325
|
};
|