@oxyhq/services 6.9.46 → 6.10.2
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/index.js +36 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js +0 -20
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActingAsBanner.js +0 -4
- package/lib/commonjs/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -2
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +33 -398
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +8 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +3 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -5
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/Icon.js +6 -7
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +1 -5
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -2
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +100 -37
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +23 -9
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +11 -8
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +2 -2
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +139 -284
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -2
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/TextField.js +0 -1
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -2
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +80 -76
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -8
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +18 -23
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js +213 -25
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/commonjs/ui/components/logo/LogoIcon.js +63 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +50 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +54 -88
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +7 -9
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +0 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +34 -21
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/index.js +32 -12
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +10 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +34 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +235 -57
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +17 -13
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +6 -0
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +36 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +168 -70
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +7 -7
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +0 -8
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +71 -20
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +12 -41
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +33 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionSocket.js +101 -130
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +4 -4
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/index.js +1 -11
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +55 -3
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +16 -16
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +108 -123
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +20 -19
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +204 -161
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +18 -18
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +22 -23
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +939 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +13 -20
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +10 -13
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +4 -4
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +17 -15
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +797 -159
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -9
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +29 -21
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +3 -5
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -5
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +75 -73
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +32 -21
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +4 -3
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +3 -3
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +57 -56
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +2 -3
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +39 -22
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +18 -21
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +0 -5
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +0 -5
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js +0 -11
- package/lib/commonjs/ui/styles/index.js.map +1 -1
- package/lib/commonjs/ui/styles/spacing.js +1 -42
- package/lib/commonjs/ui/styles/spacing.js.map +1 -1
- package/lib/commonjs/ui/styles/theme.js +0 -4
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +58 -39
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +3 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/userUtils.js +33 -16
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/module/index.js +9 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +0 -6
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActingAsBanner.js +0 -4
- package/lib/module/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +1 -1
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -2
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +35 -400
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +9 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +2 -4
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/Header.js +0 -5
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/Icon.js +6 -7
- package/lib/module/ui/components/Icon.js.map +1 -1
- package/lib/module/ui/components/IconButton/IconButton.js +1 -5
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -2
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +103 -40
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +23 -9
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +11 -8
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +2 -2
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +137 -284
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -2
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -1
- package/lib/module/ui/components/TextField.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +80 -75
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +6 -7
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +18 -22
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +212 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/logo/LogoIcon.js +56 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +43 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +55 -88
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +2 -10
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +8 -8
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/theming.js +0 -1
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +32 -19
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +5 -3
- package/lib/module/ui/hooks/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +6 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +30 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +231 -52
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +9 -5
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +1 -1
- package/lib/module/ui/hooks/queries/index.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +35 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +166 -68
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +3 -3
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +0 -3
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +73 -22
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +11 -39
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +29 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useSessionSocket.js +101 -130
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/module/ui/index.js +1 -10
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +54 -2
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +15 -14
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +96 -111
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +19 -18
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +189 -145
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +15 -15
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +14 -15
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +936 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +11 -18
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +8 -11
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +3 -3
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +14 -12
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +764 -125
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +2 -3
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +26 -17
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -3
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -3
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +60 -57
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +27 -16
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +4 -3
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +2 -2
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +48 -47
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +2 -3
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +40 -23
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +16 -19
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -4
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +0 -5
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/index.js +0 -1
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -42
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +0 -4
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +54 -36
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +3 -1
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/userUtils.js +34 -16
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +7 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.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.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- 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/paymentStyles.d.ts +0 -7
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/index.d.ts +5 -3
- package/lib/typescript/commonjs/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +1 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/commonjs/ui/navigation/routes.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.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/HelpSupportScreen.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/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.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/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -2
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +7 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +0 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.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.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- 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/paymentStyles.d.ts +0 -7
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/index.d.ts +5 -3
- package/lib/typescript/module/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +1 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/module/ui/navigation/routes.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.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/HelpSupportScreen.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/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.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/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +0 -2
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/module/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/index.d.ts +0 -1
- package/lib/typescript/module/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/module/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/types/expo-vector-icons.d.ts +7 -4
- package/package.json +64 -31
- package/src/index.ts +11 -4
- package/src/types/expo-vector-icons.d.ts +7 -4
- package/src/ui/client.ts +0 -6
- package/src/ui/components/ActingAsBanner.tsx +0 -4
- package/src/ui/components/ActivityIndicator.tsx +1 -1
- package/src/ui/components/Avatar.tsx +0 -2
- package/src/ui/components/BottomSheet.tsx +41 -440
- package/src/ui/components/BottomSheetRouter.tsx +12 -1
- package/src/ui/components/FollowButton.tsx +2 -4
- package/src/ui/components/Header.tsx +0 -5
- package/src/ui/components/Icon.tsx +12 -6
- package/src/ui/components/IconButton/IconButton.tsx +0 -3
- package/src/ui/components/OxyPayButton.tsx +0 -2
- package/src/ui/components/OxyProvider.tsx +127 -48
- package/src/ui/components/OxySignInButton.tsx +21 -9
- package/src/ui/components/ProfileCard.tsx +13 -10
- package/src/ui/components/QuickActions.tsx +2 -2
- package/src/ui/components/SignInModal.tsx +80 -199
- package/src/ui/components/StepBasedScreen.tsx +0 -2
- package/src/ui/components/TextField/Addons/Outline.tsx +2 -2
- package/src/ui/components/TextField/helpers.tsx +2 -2
- package/src/ui/components/TextField/types.tsx +0 -1
- package/src/ui/components/TextField.tsx +1 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/feedback/feedbackStyles.ts +0 -2
- package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +71 -65
- package/src/ui/components/fileManagement/FileViewer.tsx +6 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +21 -25
- package/src/ui/components/fileManagement/styles.ts +206 -18
- package/src/ui/components/logo/LogoIcon.tsx +70 -0
- package/src/ui/components/logo/LogoText.tsx +70 -0
- package/src/ui/components/modals/DeleteAccountModal.tsx +56 -91
- package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
- package/src/ui/components/payment/PaymentReviewStep.tsx +1 -1
- package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
- package/src/ui/components/payment/paymentStyles.ts +0 -8
- package/src/ui/components/styles/overlay.tsx +17 -8
- package/src/ui/components/theming.tsx +0 -1
- package/src/ui/components/types.tsx +3 -2
- package/src/ui/context/OxyContext.tsx +34 -19
- package/src/ui/context/hooks/useAuthOperations.ts +1 -3
- package/src/ui/hooks/index.ts +11 -4
- package/src/ui/hooks/mutations/mutationFactory.ts +16 -1
- package/src/ui/hooks/mutations/mutationKeys.ts +28 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +251 -59
- package/src/ui/hooks/mutations/useServicesMutations.ts +10 -4
- package/src/ui/hooks/queries/index.ts +1 -0
- package/src/ui/hooks/queries/queryKeys.ts +2 -0
- package/src/ui/hooks/queries/useAccountQueries.ts +83 -3
- package/src/ui/hooks/queries/useSecurityQueries.ts +42 -2
- package/src/ui/hooks/queryClient.ts +194 -69
- package/src/ui/hooks/useAsyncAction.ts +3 -3
- package/src/ui/hooks/useAuth.ts +0 -2
- package/src/ui/hooks/useAvatarPicker.ts +108 -27
- package/src/ui/hooks/useFileDownloadUrl.ts +15 -39
- package/src/ui/hooks/useMutationStatus.ts +111 -0
- package/src/ui/hooks/useOnlineStatus.ts +29 -0
- package/src/ui/hooks/useSessionSocket.ts +136 -126
- package/src/ui/hooks/useSettingToggle.ts +1 -1
- package/src/ui/index.ts +0 -12
- package/src/ui/navigation/routes.ts +93 -2
- package/src/ui/screens/AccountCenterScreen.tsx +15 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +94 -104
- package/src/ui/screens/AccountSettingsScreen.tsx +18 -17
- package/src/ui/screens/AccountSwitcherScreen.tsx +331 -298
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -15
- package/src/ui/screens/AppInfoScreen.tsx +8 -13
- package/src/ui/screens/AvatarCropScreen.tsx +1073 -0
- package/src/ui/screens/CreateManagedAccountScreen.tsx +5 -16
- package/src/ui/screens/EditProfileFieldScreen.tsx +5 -10
- package/src/ui/screens/FAQScreen.tsx +3 -3
- package/src/ui/screens/FeedbackScreen.tsx +14 -12
- package/src/ui/screens/FileManagementScreen.tsx +885 -124
- package/src/ui/screens/HelpSupportScreen.tsx +2 -3
- package/src/ui/screens/HistoryViewScreen.tsx +24 -9
- package/src/ui/screens/LanguageSelectorScreen.tsx +1 -3
- package/src/ui/screens/LegalDocumentsScreen.tsx +3 -3
- package/src/ui/screens/PaymentGatewayScreen.tsx +2 -2
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +51 -56
- package/src/ui/screens/PrivacySettingsScreen.tsx +22 -20
- package/src/ui/screens/ProfileScreen.tsx +1 -2
- package/src/ui/screens/SavesCollectionsScreen.tsx +2 -2
- package/src/ui/screens/SessionManagementScreen.tsx +35 -47
- package/src/ui/screens/UserLinksScreen.tsx +1 -2
- package/src/ui/screens/UserListScreen.tsx +30 -19
- package/src/ui/screens/WelcomeNewUserScreen.tsx +14 -18
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +0 -3
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +4 -8
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +1 -1
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +3 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +13 -18
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +3 -4
- package/src/ui/server.ts +0 -4
- package/src/ui/styles/authStyles.ts +0 -5
- package/src/ui/styles/index.ts +0 -1
- package/src/ui/styles/spacing.ts +0 -43
- package/src/ui/styles/theme.ts +0 -4
- package/src/ui/utils/fileManagement.ts +66 -38
- package/src/ui/utils/sessionHelpers.ts +3 -1
- package/src/ui/utils/userUtils.ts +45 -29
- package/lib/commonjs/lib/sonner-safe.js +0 -32
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +0 -19
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/lib/sonner.native.js +0 -24
- package/lib/commonjs/lib/sonner.native.js.map +0 -1
- package/lib/commonjs/lib/sonner.web.js +0 -24
- package/lib/commonjs/lib/sonner.web.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +0 -33
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -38
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/fonts.js +0 -84
- package/lib/commonjs/ui/styles/fonts.js.map +0 -1
- package/lib/module/lib/sonner-safe.js +0 -29
- package/lib/module/lib/sonner-safe.js.map +0 -1
- package/lib/module/lib/sonner.js +0 -14
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/lib/sonner.native.js +0 -19
- package/lib/module/lib/sonner.native.js.map +0 -1
- package/lib/module/lib/sonner.web.js +0 -19
- package/lib/module/lib/sonner.web.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +0 -29
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +0 -33
- package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/module/ui/styles/fonts.js +0 -81
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.d.ts +0 -12
- package/lib/typescript/commonjs/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/module/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.d.ts +0 -12
- package/lib/typescript/module/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/module/ui/styles/fonts.d.ts.map +0 -1
- package/src/lib/sonner-safe.ts +0 -31
- package/src/lib/sonner.native.ts +0 -28
- package/src/lib/sonner.ts +0 -11
- package/src/lib/sonner.web.ts +0 -28
- package/src/ui/hooks/useThemeColors.ts +0 -27
- package/src/ui/hooks/useThemeStyles.ts +0 -50
- package/src/ui/styles/fonts.ts +0 -77
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from 'react';
|
|
4
4
|
import { View, StyleSheet, ScrollView } from 'react-native';
|
|
5
|
-
import { toast } from '
|
|
5
|
+
import { toast } from '@oxyhq/bloom';
|
|
6
6
|
import { Header, LoadingState, EmptyState } from "../components/index.js";
|
|
7
7
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
8
8
|
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
@@ -12,8 +12,7 @@ import { useColorScheme } from "../hooks/useColorScheme.js";
|
|
|
12
12
|
import { Colors } from "../constants/theme.js";
|
|
13
13
|
import { normalizeColorScheme } from "../utils/themeUtils.js";
|
|
14
14
|
import { useOxy } from "../context/OxyContext.js";
|
|
15
|
-
import
|
|
16
|
-
import { usePromptControl } from '@oxyhq/bloom/prompt';
|
|
15
|
+
import { Dialog, useDialogControl } from '@oxyhq/bloom';
|
|
17
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
17
|
const HistoryViewScreen = ({
|
|
19
18
|
onClose,
|
|
@@ -33,8 +32,8 @@ const HistoryViewScreen = ({
|
|
|
33
32
|
const [history, setHistory] = useState([]);
|
|
34
33
|
const [isLoading, setIsLoading] = useState(true);
|
|
35
34
|
const [isDeleting, setIsDeleting] = useState(false);
|
|
36
|
-
const
|
|
37
|
-
const
|
|
35
|
+
const deleteLast15Dialog = useDialogControl();
|
|
36
|
+
const clearAllDialog = useDialogControl();
|
|
38
37
|
const getStorage = async () => {
|
|
39
38
|
const isRN = typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
|
|
40
39
|
if (isRN) {
|
|
@@ -143,7 +142,7 @@ const HistoryViewScreen = ({
|
|
|
143
142
|
}),
|
|
144
143
|
title: t('history.deleteLast15Minutes.title') || 'Delete Last 15 Minutes',
|
|
145
144
|
description: t('history.deleteLast15Minutes.subtitle') || 'Remove recent history entries',
|
|
146
|
-
onPress: () =>
|
|
145
|
+
onPress: () => deleteLast15Dialog.open(),
|
|
147
146
|
disabled: isDeleting || history.length === 0
|
|
148
147
|
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
149
148
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
@@ -152,7 +151,7 @@ const HistoryViewScreen = ({
|
|
|
152
151
|
}),
|
|
153
152
|
title: t('history.clearAll.title') || 'Clear All History',
|
|
154
153
|
description: t('history.clearAll.subtitle') || 'Remove all history entries',
|
|
155
|
-
onPress: () =>
|
|
154
|
+
onPress: () => clearAllDialog.open(),
|
|
156
155
|
disabled: isDeleting || history.length === 0
|
|
157
156
|
})]
|
|
158
157
|
}), /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
@@ -172,20 +171,30 @@ const HistoryViewScreen = ({
|
|
|
172
171
|
description: formatTime(item.timestamp)
|
|
173
172
|
}, item.id))
|
|
174
173
|
})]
|
|
175
|
-
}), /*#__PURE__*/_jsx(
|
|
176
|
-
control:
|
|
174
|
+
}), /*#__PURE__*/_jsx(Dialog, {
|
|
175
|
+
control: deleteLast15Dialog,
|
|
177
176
|
title: t('history.deleteLast15Minutes.title') || 'Delete Last 15 Minutes',
|
|
178
177
|
description: t('history.deleteLast15Minutes.confirm') || 'Delete last 15 minutes of history?',
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
actions: [{
|
|
179
|
+
label: t('common.actions.delete') || 'Delete',
|
|
180
|
+
color: 'destructive',
|
|
181
|
+
onPress: handleDeleteLast15Minutes
|
|
182
|
+
}, {
|
|
183
|
+
label: t('common.cancel') || 'Cancel',
|
|
184
|
+
color: 'cancel'
|
|
185
|
+
}]
|
|
186
|
+
}), /*#__PURE__*/_jsx(Dialog, {
|
|
187
|
+
control: clearAllDialog,
|
|
184
188
|
title: t('history.clearAll.title') || 'Clear All History',
|
|
185
189
|
description: t('history.clearAll.confirm') || 'Clear all history? This cannot be undone.',
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
actions: [{
|
|
191
|
+
label: t('history.clearAll.title') || 'Clear All',
|
|
192
|
+
color: 'destructive',
|
|
193
|
+
onPress: handleClearAll
|
|
194
|
+
}, {
|
|
195
|
+
label: t('common.cancel') || 'Cancel',
|
|
196
|
+
color: 'cancel'
|
|
197
|
+
}]
|
|
189
198
|
})]
|
|
190
199
|
});
|
|
191
200
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useCallback","View","StyleSheet","ScrollView","toast","Header","LoadingState","EmptyState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","useOxy","
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","View","StyleSheet","ScrollView","toast","Header","LoadingState","EmptyState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","useOxy","Dialog","useDialogControl","jsx","_jsx","jsxs","_jsxs","HistoryViewScreen","onClose","theme","goBack","user","t","bloomTheme","colorScheme","normalizedColorScheme","themeColors","history","setHistory","isLoading","setIsLoading","isDeleting","setIsDeleting","deleteLast15Dialog","clearAllDialog","getStorage","isRN","navigator","product","mod","s","default","getItem","bind","setItem","removeItem","e","__DEV__","console","error","Error","k","window","localStorage","v","useEffect","load","storage","stored","id","parsed","JSON","parse","map","i","timestamp","Date","handleDeleteLast15Minutes","cutoff","now","filtered","filter","item","stringify","success","handleClearAll","formatTime","date","diff","getTime","min","Math","floor","hrs","days","toLocaleDateString","style","styles","container","backgroundColor","colors","background","children","title","onBack","variant","elevation","content","icon","name","color","iconStorage","description","onPress","open","disabled","length","iconSharing","message","text","textColor","type","iconSecurity","iconPersonalInfo","query","control","actions","label","create","flex","padding","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/HistoryViewScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAE3D,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,MAAM,EAAEC,YAAY,EAAEC,UAAU,QAAQ,wBAAe;AAChE,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,Y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O,EAAE,CACL;QAAEC,KAAK,EAAE/F,CAAC,CAAC,wBAAwB,CAAC,IAAI,WAAW;QAAE8E,KAAK,EAAE,aAAa;QAAEG,OAAO,EAAE5B;MAAe,CAAC,EACpG;QAAE0C,KAAK,EAAE/F,CAAC,CAAC,eAAe,CAAC,IAAI,QAAQ;QAAE8E,KAAK,EAAE;MAAS,CAAC;IAC5D,CACL,CAAC;EAAA,CACA,CAAC;AAEf,CAAC;AAED,MAAMb,MAAM,GAAG3F,UAAU,CAAC0H,MAAM,CAAC;EAAE9B,SAAS,EAAE;IAAE+B,IAAI,EAAE;EAAE,CAAC;EAAEtB,OAAO,EAAE;IAAEsB,IAAI,EAAE,CAAC;IAAEC,OAAO,EAAE;EAAG;AAAE,CAAC,CAAC;AAE/F,4BAAehI,KAAK,CAACiI,IAAI,CAACxG,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -5,13 +5,12 @@ import { View, Text, StyleSheet, ScrollView, Platform } from 'react-native';
|
|
|
5
5
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
6
6
|
import { normalizeTheme } from "../utils/themeUtils.js";
|
|
7
7
|
import { Ionicons } from '@expo/vector-icons';
|
|
8
|
-
import { toast } from '
|
|
8
|
+
import { toast } from '@oxyhq/bloom';
|
|
9
9
|
import { Header } from "../components/index.js";
|
|
10
10
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
11
11
|
import { useI18n } from "../hooks/useI18n.js";
|
|
12
12
|
import { SUPPORTED_LANGUAGES } from '@oxyhq/core';
|
|
13
13
|
import { useOxy } from "../context/OxyContext.js";
|
|
14
|
-
import { fontFamilies } from "../styles/fonts.js";
|
|
15
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
15
|
/**
|
|
17
16
|
* LanguageSelectorScreen - Optimized for performance
|
|
@@ -184,7 +183,6 @@ const styles = StyleSheet.create({
|
|
|
184
183
|
bigTitle: {
|
|
185
184
|
fontSize: 34,
|
|
186
185
|
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
187
|
-
fontFamily: fontFamilies.interBold,
|
|
188
186
|
lineHeight: 40,
|
|
189
187
|
marginBottom: 8,
|
|
190
188
|
letterSpacing: -0.5
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useMemo","useCallback","View","Text","StyleSheet","ScrollView","Platform","useTheme","normalizeTheme","Ionicons","toast","Header","SettingsListGroup","SettingsListItem","useI18n","SUPPORTED_LANGUAGES","useOxy","
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","useCallback","View","Text","StyleSheet","ScrollView","Platform","useTheme","normalizeTheme","Ionicons","toast","Header","SettingsListGroup","SettingsListItem","useI18n","SUPPORTED_LANGUAGES","useOxy","jsx","_jsx","jsxs","_jsxs","LanguageSelectorScreen","goBack","onClose","theme","user","currentLanguage","setLanguage","oxyServices","isAuthenticated","t","bloomTheme","normalizedTheme","isLoading","setIsLoading","handleLanguageSelect","languageId","serverSyncFailed","id","updateProfile","language","e","__DEV__","console","warn","Error","message","selectedLang","find","lang","success","name","error","languageItems","map","isSelected","title","description","nativeName","icon","style","styles","languageFlag","backgroundColor","color","children","flagEmoji","flag","onPress","rightElement","size","colors","primary","undefined","showChevron","container","background","subtitle","onBack","variant","elevation","content","contentContainerStyle","contentContainer","showsVerticalScrollIndicator","removeClippedSubviews","titleContainer","bigTitle","text","bigSubtitle","textSecondary","sectionContainer","materialCard","card","item","create","flex","padding","paddingTop","marginBottom","fontSize","fontWeight","OS","lineHeight","letterSpacing","opacity","marginTop","borderRadius","overflow","width","height","alignItems","justifyContent","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LanguageSelectorScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AAC7D,SACIC,IAAI,EACJC,IAAI,EAEJC,UAAU,EACVC,UAAU,EACVC,QAAQ,QACL,cAAc;AAErB,SAAS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5F,sBAAsB,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from 'react';
|
|
4
4
|
import { View, StyleSheet, ScrollView, Linking } from 'react-native';
|
|
5
|
-
import { toast } from '
|
|
5
|
+
import { toast } from '@oxyhq/bloom';
|
|
6
6
|
import { Header, LoadingState } from "../components/index.js";
|
|
7
7
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
8
8
|
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
@@ -160,7 +160,7 @@ const LegalDocumentsScreen = ({
|
|
|
160
160
|
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
161
161
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
162
162
|
name: "heart",
|
|
163
|
-
color:
|
|
163
|
+
color: bloomTheme.colors.error
|
|
164
164
|
}),
|
|
165
165
|
title: t('legal.childSafety.title') || 'Child Safety Policy',
|
|
166
166
|
description: t('legal.childSafety.subtitle') || 'Protecting minors on our platform',
|
|
@@ -168,7 +168,7 @@ const LegalDocumentsScreen = ({
|
|
|
168
168
|
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
169
169
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
170
170
|
name: "cookie",
|
|
171
|
-
color:
|
|
171
|
+
color: bloomTheme.colors.textTertiary
|
|
172
172
|
}),
|
|
173
173
|
title: t('legal.cookiePolicy.title') || 'Cookie Policy',
|
|
174
174
|
description: t('legal.cookiePolicy.subtitle') || 'How we use cookies and similar technologies',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useCallback","View","StyleSheet","ScrollView","Linking","toast","Header","LoadingState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","jsx","_jsx","jsxs","_jsxs","LegalDocumentsScreen","onClose","theme","goBack","initialStep","t","loading","setLoading","bloomTheme","colorScheme","normalizedColorScheme","themeColors","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","documentType","handleOpenPolicy","policyKey","url","canOpen","canOpenURL","openURL","error","__DEV__","console","useEffect","getPolicyTitle","key","titles","style","styles","container","backgroundColor","colors","background","children","title","onBack","variant","elevation","message","color","text","content","icon","name","iconPersonalInfo","description","onPress","iconSecurity","iconData","iconStorage","iconSharing","create","flex","padding","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LegalDocumentsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SACIC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,OAAO,QACJ,cAAc;AAErB,SAASC,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","View","StyleSheet","ScrollView","Linking","toast","Header","LoadingState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","jsx","_jsx","jsxs","_jsxs","LegalDocumentsScreen","onClose","theme","goBack","initialStep","t","loading","setLoading","bloomTheme","colorScheme","normalizedColorScheme","themeColors","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","documentType","handleOpenPolicy","policyKey","url","canOpen","canOpenURL","openURL","error","__DEV__","console","useEffect","getPolicyTitle","key","titles","style","styles","container","backgroundColor","colors","background","children","title","onBack","variant","elevation","message","color","text","content","icon","name","iconPersonalInfo","description","onPress","iconSecurity","iconData","iconStorage","iconSharing","textTertiary","create","flex","padding","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LegalDocumentsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SACIC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,OAAO,QACJ,cAAc;AAErB,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,MAAM,EAAEC,YAAY,QAAQ,wBAAe;AAC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0BAA0B,CAAC,IAAI,eAAgB;UACxD+C,WAAW,EAAE/C,CAAC,CAAC,6BAA6B,CAAC,IAAI,6CAA8C;UAC/FgD,OAAO,EAAEhC,gBAAgB,CAAC,QAAQ;QAAE,CACvC,CAAC;MAAA,CACa;IAAC,CACZ,CAAC;EAAA,CACX,CAAC;AAEf,CAAC;AAED,MAAMc,MAAM,GAAGrD,UAAU,CAAC6E,MAAM,CAAC;EAC7BvB,SAAS,EAAE;IACPwB,IAAI,EAAE;EACV,CAAC;EACDZ,OAAO,EAAE;IACLY,IAAI,EAAE,CAAC;IACPC,OAAO,EAAE;EACb;AACJ,CAAC,CAAC;AAEF,4BAAenF,KAAK,CAACoF,IAAI,CAAC9D,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -121,7 +121,7 @@ const PaymentGatewayScreen = props => {
|
|
|
121
121
|
}
|
|
122
122
|
}, [currentStep, progressAnim, animateTransition]);
|
|
123
123
|
|
|
124
|
-
// Pay handler
|
|
124
|
+
// Pay handler — placeholder for payment integration
|
|
125
125
|
const handlePay = useCallback(() => {
|
|
126
126
|
setIsPaying(true);
|
|
127
127
|
setTimeout(() => {
|
|
@@ -172,7 +172,7 @@ const PaymentGatewayScreen = props => {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
// FairCoin address
|
|
175
|
+
// FairCoin address placeholder — replaced when integration is wired up.
|
|
176
176
|
const faircoinAddress = 'f1abc1234FAIRCOINADDRESS';
|
|
177
177
|
const {
|
|
178
178
|
width: windowWidth
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
4
4
|
import { View, Text, TouchableOpacity, StyleSheet, ScrollView, ActivityIndicator } from 'react-native';
|
|
5
|
-
import {
|
|
6
|
-
import { toast } from '../../lib/sonner';
|
|
7
|
-
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
8
|
-
import { usePromptControl } from '@oxyhq/bloom/prompt';
|
|
5
|
+
import { Dialog, toast, useDialogControl } from '@oxyhq/bloom';
|
|
9
6
|
import { Ionicons } from '@expo/vector-icons';
|
|
10
7
|
import { useI18n } from "../hooks/useI18n.js";
|
|
11
8
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
@@ -38,8 +35,8 @@ const PremiumSubscriptionScreen = ({
|
|
|
38
35
|
const bloomTheme = useTheme();
|
|
39
36
|
|
|
40
37
|
// Prompt controls
|
|
41
|
-
const
|
|
42
|
-
const
|
|
38
|
+
const cancelSubscriptionDialog = useDialogControl();
|
|
39
|
+
const unsubscribeFeatureDialog = useDialogControl();
|
|
43
40
|
|
|
44
41
|
// Extract commonly used colors for readability
|
|
45
42
|
const textColor = bloomTheme.colors.text;
|
|
@@ -50,10 +47,8 @@ const PremiumSubscriptionScreen = ({
|
|
|
50
47
|
const successColor = bloomTheme.colors.success;
|
|
51
48
|
const dangerColor = bloomTheme.colors.error;
|
|
52
49
|
const isDarkTheme = bloomTheme.isDark;
|
|
53
|
-
const warningColor =
|
|
50
|
+
const warningColor = bloomTheme.colors.warning;
|
|
54
51
|
|
|
55
|
-
// TODO: Replace mock data with actual API integration
|
|
56
|
-
// Should fetch plans from oxyServices.getSubscriptionPlans() and individual features from oxyServices.getIndividualFeatures()
|
|
57
52
|
// Oxy+ subscription plans
|
|
58
53
|
const mockPlans = [{
|
|
59
54
|
id: 'mention-plus',
|
|
@@ -300,8 +295,8 @@ const PremiumSubscriptionScreen = ({
|
|
|
300
295
|
}
|
|
301
296
|
};
|
|
302
297
|
const confirmCancelSubscription = useCallback(() => {
|
|
303
|
-
|
|
304
|
-
}, [
|
|
298
|
+
cancelSubscriptionDialog.open();
|
|
299
|
+
}, [cancelSubscriptionDialog]);
|
|
305
300
|
const handleCancelSubscription = useCallback(async () => {
|
|
306
301
|
try {
|
|
307
302
|
setSubscription(prev => prev ? {
|
|
@@ -373,8 +368,8 @@ const PremiumSubscriptionScreen = ({
|
|
|
373
368
|
};
|
|
374
369
|
const confirmFeatureUnsubscribe = useCallback(featureId => {
|
|
375
370
|
setPendingUnsubscribeFeatureId(featureId);
|
|
376
|
-
|
|
377
|
-
}, [
|
|
371
|
+
unsubscribeFeatureDialog.open();
|
|
372
|
+
}, [unsubscribeFeatureDialog]);
|
|
378
373
|
const handleFeatureUnsubscribe = useCallback(async () => {
|
|
379
374
|
if (!pendingUnsubscribeFeatureId) return;
|
|
380
375
|
const feature = individualFeatures.find(f => f.id === pendingUnsubscribeFeatureId);
|
|
@@ -426,7 +421,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
426
421
|
children: t('premium.title') || 'Oxy+ Subscriptions'
|
|
427
422
|
}), /*#__PURE__*/_jsx(Text, {
|
|
428
423
|
style: [styles.currentAppText, {
|
|
429
|
-
color:
|
|
424
|
+
color: bloomTheme.colors.textSecondary
|
|
430
425
|
}],
|
|
431
426
|
children: t('premium.forApp', {
|
|
432
427
|
app: getAppDisplayName(currentAppPackage)
|
|
@@ -485,7 +480,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
485
480
|
})]
|
|
486
481
|
}), /*#__PURE__*/_jsx(Text, {
|
|
487
482
|
style: [styles.subscriptionDetail, {
|
|
488
|
-
color:
|
|
483
|
+
color: bloomTheme.colors.textSecondary
|
|
489
484
|
}],
|
|
490
485
|
children: t('premium.current.renewsOn', {
|
|
491
486
|
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
@@ -550,7 +545,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
550
545
|
onPress: () => setBillingInterval('month'),
|
|
551
546
|
children: /*#__PURE__*/_jsx(Text, {
|
|
552
547
|
style: [styles.billingOptionText, {
|
|
553
|
-
color: billingInterval === 'month' ?
|
|
548
|
+
color: billingInterval === 'month' ? bloomTheme.colors.negativeForeground : textColor
|
|
554
549
|
}],
|
|
555
550
|
children: t('premium.billing.monthly') || 'Monthly'
|
|
556
551
|
})
|
|
@@ -561,7 +556,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
561
556
|
onPress: () => setBillingInterval('year'),
|
|
562
557
|
children: /*#__PURE__*/_jsx(Text, {
|
|
563
558
|
style: [styles.billingOptionText, {
|
|
564
|
-
color: billingInterval === 'year' ?
|
|
559
|
+
color: billingInterval === 'year' ? bloomTheme.colors.negativeForeground : textColor
|
|
565
560
|
}],
|
|
566
561
|
children: t('premium.billing.yearly') || 'Yearly'
|
|
567
562
|
})
|
|
@@ -644,12 +639,12 @@ const PremiumSubscriptionScreen = ({
|
|
|
644
639
|
children: plan.name
|
|
645
640
|
}), /*#__PURE__*/_jsx(Text, {
|
|
646
641
|
style: [styles.planDescription, {
|
|
647
|
-
color:
|
|
642
|
+
color: bloomTheme.colors.textSecondary
|
|
648
643
|
}],
|
|
649
644
|
children: plan.description
|
|
650
645
|
}), /*#__PURE__*/_jsx(Text, {
|
|
651
646
|
style: [styles.planAppScope, {
|
|
652
|
-
color:
|
|
647
|
+
color: bloomTheme.colors.textTertiary
|
|
653
648
|
}],
|
|
654
649
|
children: getAppScopeText()
|
|
655
650
|
}), !availability.available && /*#__PURE__*/_jsx(Text, {
|
|
@@ -667,7 +662,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
667
662
|
children: pricing.formatted
|
|
668
663
|
}), /*#__PURE__*/_jsx(Text, {
|
|
669
664
|
style: [styles.planInterval, {
|
|
670
|
-
color:
|
|
665
|
+
color: bloomTheme.colors.textSecondary
|
|
671
666
|
}],
|
|
672
667
|
children: t('premium.plan.perInterval', {
|
|
673
668
|
interval: pricing.interval
|
|
@@ -698,11 +693,11 @@ const PremiumSubscriptionScreen = ({
|
|
|
698
693
|
})
|
|
699
694
|
}) : !availability.available ? /*#__PURE__*/_jsx(View, {
|
|
700
695
|
style: [styles.unavailablePlanButton, {
|
|
701
|
-
backgroundColor:
|
|
696
|
+
backgroundColor: bloomTheme.colors.border
|
|
702
697
|
}],
|
|
703
698
|
children: /*#__PURE__*/_jsx(Text, {
|
|
704
699
|
style: [styles.unavailablePlanText, {
|
|
705
|
-
color:
|
|
700
|
+
color: bloomTheme.colors.textTertiary
|
|
706
701
|
}],
|
|
707
702
|
children: t('premium.plan.notAvailableInApp') || 'Not Available in Current App'
|
|
708
703
|
})
|
|
@@ -713,11 +708,11 @@ const PremiumSubscriptionScreen = ({
|
|
|
713
708
|
onPress: () => handleSubscribe(plan.id),
|
|
714
709
|
disabled: processingPayment,
|
|
715
710
|
children: processingPayment ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
716
|
-
color:
|
|
711
|
+
color: bloomTheme.colors.negativeForeground,
|
|
717
712
|
size: "small"
|
|
718
713
|
}) : /*#__PURE__*/_jsx(Text, {
|
|
719
714
|
style: [styles.selectPlanText, {
|
|
720
|
-
color: plan.isPopular ?
|
|
715
|
+
color: plan.isPopular ? bloomTheme.colors.negativeForeground : textColor
|
|
721
716
|
}],
|
|
722
717
|
children: t('premium.actions.subscribeTo', {
|
|
723
718
|
name: plan.name
|
|
@@ -767,15 +762,15 @@ const PremiumSubscriptionScreen = ({
|
|
|
767
762
|
const getCategoryColor = category => {
|
|
768
763
|
switch (category) {
|
|
769
764
|
case 'analytics':
|
|
770
|
-
return
|
|
765
|
+
return bloomTheme.colors.warning;
|
|
771
766
|
case 'customization':
|
|
772
|
-
return
|
|
767
|
+
return bloomTheme.colors.secondary;
|
|
773
768
|
case 'content':
|
|
774
|
-
return
|
|
769
|
+
return bloomTheme.colors.success;
|
|
775
770
|
case 'networking':
|
|
776
|
-
return
|
|
771
|
+
return bloomTheme.colors.info;
|
|
777
772
|
case 'productivity':
|
|
778
|
-
return
|
|
773
|
+
return bloomTheme.colors.error;
|
|
779
774
|
default:
|
|
780
775
|
return primaryColor;
|
|
781
776
|
}
|
|
@@ -844,12 +839,12 @@ const PremiumSubscriptionScreen = ({
|
|
|
844
839
|
})]
|
|
845
840
|
}), /*#__PURE__*/_jsx(Text, {
|
|
846
841
|
style: [styles.featureDescription, {
|
|
847
|
-
color:
|
|
842
|
+
color: bloomTheme.colors.textSecondary
|
|
848
843
|
}],
|
|
849
844
|
children: feature.description
|
|
850
845
|
}), /*#__PURE__*/_jsx(Text, {
|
|
851
846
|
style: [styles.appScopeText, {
|
|
852
|
-
color:
|
|
847
|
+
color: bloomTheme.colors.textTertiary
|
|
853
848
|
}],
|
|
854
849
|
children: getAppScopeText()
|
|
855
850
|
})]
|
|
@@ -863,7 +858,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
863
858
|
children: pricing.formatted
|
|
864
859
|
}), /*#__PURE__*/_jsx(Text, {
|
|
865
860
|
style: [styles.featureInterval, {
|
|
866
|
-
color:
|
|
861
|
+
color: bloomTheme.colors.textSecondary
|
|
867
862
|
}],
|
|
868
863
|
children: t('premium.plan.perInterval', {
|
|
869
864
|
interval: pricing.interval
|
|
@@ -876,7 +871,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
876
871
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
877
872
|
name: "checkmark-circle",
|
|
878
873
|
size: 16,
|
|
879
|
-
color:
|
|
874
|
+
color: bloomTheme.colors.negativeForeground
|
|
880
875
|
}), /*#__PURE__*/_jsx(Text, {
|
|
881
876
|
style: styles.includedInPlanText,
|
|
882
877
|
children: t('premium.feature.includedInPlan') || 'Included in your plan'
|
|
@@ -890,7 +885,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
890
885
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
891
886
|
name: "checkmark",
|
|
892
887
|
size: 16,
|
|
893
|
-
color:
|
|
888
|
+
color: bloomTheme.colors.negativeForeground
|
|
894
889
|
}), /*#__PURE__*/_jsx(Text, {
|
|
895
890
|
style: styles.subscribedText,
|
|
896
891
|
children: t('premium.feature.subscribed') || 'Subscribed'
|
|
@@ -914,7 +909,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
914
909
|
onPress: () => handleFeatureSubscribe(feature.id),
|
|
915
910
|
disabled: processingPayment,
|
|
916
911
|
children: processingPayment ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
917
|
-
color:
|
|
912
|
+
color: bloomTheme.colors.negativeForeground,
|
|
918
913
|
size: "small"
|
|
919
914
|
}) : /*#__PURE__*/_jsx(Text, {
|
|
920
915
|
style: styles.subscribeFeatureText,
|
|
@@ -922,11 +917,11 @@ const PremiumSubscriptionScreen = ({
|
|
|
922
917
|
})
|
|
923
918
|
}) : /*#__PURE__*/_jsx(View, {
|
|
924
919
|
style: [styles.unavailableButton, {
|
|
925
|
-
backgroundColor:
|
|
920
|
+
backgroundColor: bloomTheme.colors.border
|
|
926
921
|
}],
|
|
927
922
|
children: /*#__PURE__*/_jsx(Text, {
|
|
928
923
|
style: [styles.unavailableText, {
|
|
929
|
-
color:
|
|
924
|
+
color: bloomTheme.colors.textTertiary
|
|
930
925
|
}],
|
|
931
926
|
children: "Only available in subscription plans"
|
|
932
927
|
})
|
|
@@ -944,7 +939,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
944
939
|
children: "Individual Features"
|
|
945
940
|
}), /*#__PURE__*/_jsx(Text, {
|
|
946
941
|
style: [styles.sectionSubtitle, {
|
|
947
|
-
color:
|
|
942
|
+
color: bloomTheme.colors.textSecondary
|
|
948
943
|
}],
|
|
949
944
|
children: "Subscribe to specific features you need. Some features are included in subscription plans."
|
|
950
945
|
}), categories.map(category => {
|
|
@@ -971,7 +966,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
971
966
|
const testApps = ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'];
|
|
972
967
|
return /*#__PURE__*/_jsxs(View, {
|
|
973
968
|
style: [styles.appSwitcher, {
|
|
974
|
-
backgroundColor:
|
|
969
|
+
backgroundColor: bloomTheme.colors.backgroundSecondary,
|
|
975
970
|
borderColor
|
|
976
971
|
}],
|
|
977
972
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
@@ -994,7 +989,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
994
989
|
},
|
|
995
990
|
children: /*#__PURE__*/_jsx(Text, {
|
|
996
991
|
style: [styles.appSwitcherButtonText, {
|
|
997
|
-
color: currentAppPackage === app ?
|
|
992
|
+
color: currentAppPackage === app ? bloomTheme.colors.negativeForeground : textColor
|
|
998
993
|
}],
|
|
999
994
|
children: app
|
|
1000
995
|
})
|
|
@@ -1036,7 +1031,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1036
1031
|
children: t('premium.choosePlan') || 'Choose Your Plan'
|
|
1037
1032
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1038
1033
|
style: [styles.sectionSubtitle, {
|
|
1039
|
-
color:
|
|
1034
|
+
color: bloomTheme.colors.textSecondary
|
|
1040
1035
|
}],
|
|
1041
1036
|
children: t('premium.choosePlanSubtitle') || 'Unlock premium features and take your experience to the next level'
|
|
1042
1037
|
})]
|
|
@@ -1075,7 +1070,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1075
1070
|
children: t('premium.benefits.performance.title') || 'Enhanced Performance'
|
|
1076
1071
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1077
1072
|
style: [styles.benefitDescription, {
|
|
1078
|
-
color:
|
|
1073
|
+
color: bloomTheme.colors.textSecondary
|
|
1079
1074
|
}],
|
|
1080
1075
|
children: t('premium.benefits.performance.desc') || 'Faster processing and priority access to our servers'
|
|
1081
1076
|
})]
|
|
@@ -1095,7 +1090,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1095
1090
|
children: t('premium.benefits.security.title') || 'Advanced Security'
|
|
1096
1091
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1097
1092
|
style: [styles.benefitDescription, {
|
|
1098
|
-
color:
|
|
1093
|
+
color: bloomTheme.colors.textSecondary
|
|
1099
1094
|
}],
|
|
1100
1095
|
children: t('premium.benefits.security.desc') || 'Enhanced encryption and security features'
|
|
1101
1096
|
})]
|
|
@@ -1115,7 +1110,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1115
1110
|
children: t('premium.benefits.support.title') || 'Priority Support'
|
|
1116
1111
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1117
1112
|
style: [styles.benefitDescription, {
|
|
1118
|
-
color:
|
|
1113
|
+
color: bloomTheme.colors.textSecondary
|
|
1119
1114
|
}],
|
|
1120
1115
|
children: t('premium.benefits.support.desc') || 'Get help faster with our premium support team'
|
|
1121
1116
|
})]
|
|
@@ -1125,22 +1120,32 @@ const PremiumSubscriptionScreen = ({
|
|
|
1125
1120
|
}), /*#__PURE__*/_jsx(View, {
|
|
1126
1121
|
style: styles.bottomSpacing
|
|
1127
1122
|
})]
|
|
1128
|
-
}), /*#__PURE__*/_jsx(
|
|
1129
|
-
control:
|
|
1123
|
+
}), /*#__PURE__*/_jsx(Dialog, {
|
|
1124
|
+
control: cancelSubscriptionDialog,
|
|
1130
1125
|
title: t('premium.confirms.cancelSubTitle') || 'Cancel Subscription',
|
|
1131
1126
|
description: t('premium.confirms.cancelSub') || 'Are you sure you want to cancel your subscription? You will lose access to premium features at the end of your current billing period.',
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1127
|
+
actions: [{
|
|
1128
|
+
label: t('premium.actions.cancelSubBtn') || 'Cancel Subscription',
|
|
1129
|
+
color: 'destructive',
|
|
1130
|
+
onPress: handleCancelSubscription
|
|
1131
|
+
}, {
|
|
1132
|
+
label: t('common.cancel') || 'Cancel',
|
|
1133
|
+
color: 'cancel'
|
|
1134
|
+
}]
|
|
1135
|
+
}), /*#__PURE__*/_jsx(Dialog, {
|
|
1136
|
+
control: unsubscribeFeatureDialog,
|
|
1137
1137
|
title: t('premium.confirms.unsubscribeFeatureTitle') || 'Unsubscribe from Feature',
|
|
1138
1138
|
description: pendingUnsubscribeFeature ? t('premium.confirms.unsubscribeFeature', {
|
|
1139
1139
|
name: pendingUnsubscribeFeature.name
|
|
1140
1140
|
}) ?? `Are you sure you want to unsubscribe from ${pendingUnsubscribeFeature.name}?` : '',
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1141
|
+
actions: [{
|
|
1142
|
+
label: t('premium.actions.unsubscribe') || 'Unsubscribe',
|
|
1143
|
+
color: 'destructive',
|
|
1144
|
+
onPress: handleFeatureUnsubscribe
|
|
1145
|
+
}, {
|
|
1146
|
+
label: t('common.cancel') || 'Cancel',
|
|
1147
|
+
color: 'cancel'
|
|
1148
|
+
}]
|
|
1144
1149
|
})]
|
|
1145
1150
|
});
|
|
1146
1151
|
};
|
|
@@ -1162,8 +1167,7 @@ const styles = StyleSheet.create({
|
|
|
1162
1167
|
},
|
|
1163
1168
|
headerTitle: {
|
|
1164
1169
|
fontSize: 20,
|
|
1165
|
-
fontWeight: '600'
|
|
1166
|
-
fontFamily: fontFamilies.interSemiBold
|
|
1170
|
+
fontWeight: '600'
|
|
1167
1171
|
},
|
|
1168
1172
|
headerTitleContainer: {
|
|
1169
1173
|
flex: 1,
|
|
@@ -1186,7 +1190,6 @@ const styles = StyleSheet.create({
|
|
|
1186
1190
|
sectionTitle: {
|
|
1187
1191
|
fontSize: 24,
|
|
1188
1192
|
fontWeight: 'bold',
|
|
1189
|
-
fontFamily: fontFamilies.interBold,
|
|
1190
1193
|
marginBottom: 8
|
|
1191
1194
|
},
|
|
1192
1195
|
sectionSubtitle: {
|