@oxyhq/services 11.0.0 → 11.1.1
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 +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/components/AccountMenu.js +9 -5
- package/lib/commonjs/ui/components/AccountMenu.js.map +1 -1
- package/lib/commonjs/ui/components/AnotherDeviceQR.js +51 -56
- package/lib/commonjs/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +18 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +23 -7
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +20 -1
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +153 -19
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +10 -6
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +6 -5
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +21 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +100 -108
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +227 -273
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +20 -37
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +89 -201
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +80 -208
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +56 -208
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +303 -352
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +20 -20
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +77 -89
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -58
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +67 -90
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +77 -177
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +113 -107
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +55 -114
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +67 -85
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +71 -135
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +15 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +65 -83
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +378 -1023
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +294 -242
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +194 -333
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +57 -97
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +41 -41
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +17 -24
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +83 -214
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +115 -77
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +70 -57
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +136 -332
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +47 -137
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +182 -115
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +138 -214
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +54 -92
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/utils/activeAuthuser.js +15 -9
- package/lib/commonjs/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/components/AccountMenu.js +10 -6
- package/lib/module/ui/components/AccountMenu.js.map +1 -1
- package/lib/module/ui/components/AnotherDeviceQR.js +50 -56
- package/lib/module/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +2 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +18 -5
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +1 -1
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +23 -7
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +20 -1
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +154 -20
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -6
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +6 -5
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/module/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js +21 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +4 -3
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +101 -109
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +228 -275
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +19 -39
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +90 -202
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +77 -205
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +55 -207
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +301 -350
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +20 -20
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +78 -90
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +44 -59
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +68 -91
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +75 -177
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +116 -108
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +52 -112
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +68 -86
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +69 -134
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +16 -10
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +66 -84
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +366 -1012
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +295 -243
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +192 -331
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +58 -98
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +42 -42
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -25
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +81 -212
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +114 -76
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +69 -57
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +135 -332
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +48 -138
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +184 -117
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +132 -208
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +58 -94
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/utils/activeAuthuser.js +15 -9
- package/lib/module/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.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/OxyProvider.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +34 -0
- 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/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.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.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- 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/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.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/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.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/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/module/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/module/ui/components/AnotherDeviceQR.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/OxyProvider.d.ts +3 -2
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +34 -0
- 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/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.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.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- 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/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PreferencesScreen.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/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.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/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/package.json +8 -3
- package/src/index.ts +2 -0
- package/src/types/expo-haptics.d.ts +42 -0
- package/src/ui/components/AccountMenu.tsx +11 -5
- package/src/ui/components/AnotherDeviceQR.tsx +53 -45
- package/src/ui/components/BottomSheetRouter.tsx +2 -1
- package/src/ui/components/FollowButton.tsx +24 -5
- package/src/ui/components/OxyLogo.tsx +1 -1
- package/src/ui/components/OxyProvider.tsx +22 -8
- package/src/ui/components/SignInModal.tsx +21 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/fileManagement/FileViewer.tsx +9 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +2 -2
- package/src/ui/context/OxyContext.tsx +178 -21
- package/src/ui/context/hooks/useAuthOperations.ts +6 -17
- package/src/ui/hooks/mutations/mutationFactory.ts +5 -5
- package/src/ui/hooks/mutations/useAccountMutations.ts +38 -38
- package/src/ui/hooks/mutations/useServicesMutations.ts +2 -2
- package/src/ui/hooks/queries/queryKeys.ts +6 -3
- package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
- package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
- package/src/ui/hooks/queryClient.ts +5 -5
- package/src/ui/hooks/useOxyAuthSession.ts +76 -2
- package/src/ui/hooks/useProfileEditing.ts +24 -0
- package/src/ui/hooks/useSessionManagement.ts +9 -6
- package/src/ui/screens/AccountVerificationScreen.tsx +101 -113
- package/src/ui/screens/AppInfoScreen.tsx +200 -238
- package/src/ui/screens/AvatarCropScreen.tsx +17 -4
- package/src/ui/screens/ConnectedAppsScreen.tsx +16 -34
- package/src/ui/screens/CreateManagedAccountScreen.tsx +94 -170
- package/src/ui/screens/EditProfileFieldScreen.tsx +77 -190
- package/src/ui/screens/FAQScreen.tsx +77 -208
- package/src/ui/screens/FeedbackScreen.tsx +330 -239
- package/src/ui/screens/FileManagementScreen.tsx +20 -20
- package/src/ui/screens/HelpSupportScreen.tsx +67 -82
- package/src/ui/screens/HistoryViewScreen.tsx +32 -38
- package/src/ui/screens/LanguageSelectorScreen.tsx +79 -93
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +81 -164
- package/src/ui/screens/LegalDocumentsScreen.tsx +184 -123
- package/src/ui/screens/ManageAccountScreen.tsx +48 -114
- package/src/ui/screens/NotificationsScreen.tsx +107 -106
- package/src/ui/screens/OxyAuthScreen.tsx +76 -109
- package/src/ui/screens/PaymentGatewayScreen.tsx +16 -7
- package/src/ui/screens/PreferencesScreen.tsx +96 -116
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +419 -872
- package/src/ui/screens/PrivacySettingsScreen.tsx +203 -185
- package/src/ui/screens/ProfileScreen.tsx +162 -246
- package/src/ui/screens/SavesCollectionsScreen.tsx +78 -125
- package/src/ui/screens/SearchSettingsScreen.tsx +52 -41
- package/src/ui/screens/UserLinksScreen.tsx +18 -25
- package/src/ui/screens/UserListScreen.tsx +95 -188
- package/src/ui/screens/WelcomeNewUserScreen.tsx +109 -36
- package/src/ui/screens/trust/TrustAboutScreen.tsx +52 -41
- package/src/ui/screens/trust/TrustCenterScreen.tsx +184 -222
- package/src/ui/screens/trust/TrustFAQScreen.tsx +64 -124
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +190 -67
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +147 -182
- package/src/ui/screens/trust/TrustRulesScreen.tsx +77 -50
- package/src/ui/utils/activeAuthuser.ts +15 -9
- package/src/ui/utils/avatarUtils.ts +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js +0 -72
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -261
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/module/ui/components/feedback/FormInput.js +0 -67
- package/lib/module/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -256
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/src/ui/components/feedback/FormInput.tsx +0 -84
- package/src/ui/components/feedback/feedbackStyles.ts +0 -246
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useEffect, useMemo, useState } from 'react';
|
|
4
|
-
import { View,
|
|
4
|
+
import { View, ScrollView, StyleSheet } from 'react-native';
|
|
5
5
|
import { Ionicons } from '@expo/vector-icons';
|
|
6
|
-
import {
|
|
6
|
+
import { Chip } from '@oxyhq/bloom/chip';
|
|
7
7
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
8
|
+
import { H1, Text } from '@oxyhq/bloom/typography';
|
|
9
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
10
|
+
import Header from "../../components/Header.js";
|
|
11
|
+
import { SettingsIcon } from "../../components/SettingsIcon.js";
|
|
12
|
+
import LoadingState from "../../components/LoadingState.js";
|
|
13
|
+
import { useI18n } from "../../hooks/useI18n.js";
|
|
12
14
|
import { useOxy } from "../../context/OxyContext.js";
|
|
13
15
|
import { getTrustTierLabel } from "./trustTier.js";
|
|
14
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
17
|
const TrustCenterScreen = ({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
onClose,
|
|
19
|
+
goBack,
|
|
20
|
+
navigate
|
|
19
21
|
}) => {
|
|
20
22
|
// Use useOxy() hook for OxyContext values
|
|
21
23
|
const {
|
|
@@ -32,20 +34,7 @@ const TrustCenterScreen = ({
|
|
|
32
34
|
const [isLoading, setIsLoading] = useState(true);
|
|
33
35
|
const [error, setError] = useState(null);
|
|
34
36
|
const bloomTheme = useTheme();
|
|
35
|
-
const
|
|
36
|
-
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
37
|
-
const themeColors = Colors[normalizedColorScheme];
|
|
38
|
-
// Override primaryColor for Oxy Trust screens (purple instead of blue)
|
|
39
|
-
const primaryColor = '#d169e5';
|
|
40
|
-
const dangerColor = bloomTheme.colors.error;
|
|
41
|
-
const mutedTextColor = bloomTheme.colors.textTertiary;
|
|
42
|
-
|
|
43
|
-
// Icon colors from theme
|
|
44
|
-
const iconLeaderboard = themeColors.iconPayments;
|
|
45
|
-
const iconRules = themeColors.iconSecurity;
|
|
46
|
-
const iconAbout = themeColors.iconPayments;
|
|
47
|
-
const iconRewards = themeColors.iconStorage;
|
|
48
|
-
const iconFAQ = themeColors.iconPersonalInfo;
|
|
37
|
+
const primaryColor = bloomTheme.colors.primary;
|
|
49
38
|
useEffect(() => {
|
|
50
39
|
if (!user) return;
|
|
51
40
|
setIsLoading(true);
|
|
@@ -59,342 +48,156 @@ const TrustCenterScreen = ({
|
|
|
59
48
|
}).finally(() => setIsLoading(false));
|
|
60
49
|
}, [user, oxyServices, t]);
|
|
61
50
|
const trustTierLabel = useMemo(() => trustTier ? getTrustTierLabel(trustTier, t) : null, [trustTier, t]);
|
|
51
|
+
const title = t('trust.center.title') || 'Trust Center';
|
|
62
52
|
if (!isAuthenticated) {
|
|
63
|
-
return /*#__PURE__*/
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
children:
|
|
72
|
-
|
|
53
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
54
|
+
className: "flex-1 bg-bg",
|
|
55
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
56
|
+
title: title,
|
|
57
|
+
onBack: goBack || onClose,
|
|
58
|
+
elevation: "subtle"
|
|
59
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
60
|
+
style: styles.center,
|
|
61
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
62
|
+
className: "text-text font-medium text-base",
|
|
63
|
+
children: t('common.status.notSignedIn') || 'Not signed in'
|
|
64
|
+
})
|
|
65
|
+
})]
|
|
73
66
|
});
|
|
74
67
|
}
|
|
75
68
|
if (isLoading) {
|
|
76
|
-
return /*#__PURE__*/
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
69
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
70
|
+
className: "flex-1 bg-bg",
|
|
71
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
72
|
+
title: title,
|
|
73
|
+
onBack: goBack || onClose,
|
|
74
|
+
elevation: "subtle"
|
|
75
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
76
|
+
style: styles.center,
|
|
77
|
+
children: /*#__PURE__*/_jsx(LoadingState, {
|
|
78
|
+
color: primaryColor
|
|
79
|
+
})
|
|
80
|
+
})]
|
|
85
81
|
});
|
|
86
82
|
}
|
|
87
|
-
return /*#__PURE__*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
83
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
84
|
+
className: "flex-1 bg-bg",
|
|
85
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
86
|
+
title: title,
|
|
87
|
+
onBack: goBack || onClose,
|
|
88
|
+
elevation: "subtle"
|
|
89
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
90
|
+
className: "flex-1",
|
|
91
|
+
contentContainerClassName: "px-screen-margin pb-space-24",
|
|
94
92
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
95
|
-
|
|
96
|
-
children: [/*#__PURE__*/_jsx(
|
|
97
|
-
style:
|
|
93
|
+
className: "items-center bg-fill-secondary rounded-radius-20 px-space-20 py-space-24 mb-space-16",
|
|
94
|
+
children: [/*#__PURE__*/_jsx(H1, {
|
|
95
|
+
style: {
|
|
98
96
|
color: primaryColor
|
|
99
|
-
}
|
|
97
|
+
},
|
|
100
98
|
children: reputationTotal ?? 0
|
|
101
99
|
}), /*#__PURE__*/_jsx(Text, {
|
|
102
|
-
|
|
103
|
-
color: bloomTheme.colors.textTertiary
|
|
104
|
-
}],
|
|
100
|
+
className: "text-text-tertiary text-base mt-space-2 mb-space-12",
|
|
105
101
|
children: t('trust.center.balance') || 'Reputation Balance'
|
|
106
|
-
}), trustTierLabel
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
102
|
+
}), trustTierLabel ? /*#__PURE__*/_jsx(Chip, {
|
|
103
|
+
variant: "soft",
|
|
104
|
+
color: "primary",
|
|
105
|
+
startIcon: /*#__PURE__*/_jsx(Ionicons, {
|
|
111
106
|
name: "shield-checkmark-outline",
|
|
112
107
|
size: 14,
|
|
113
108
|
color: primaryColor
|
|
114
|
-
}),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
})]
|
|
120
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
121
|
-
style: styles.actionContainer,
|
|
122
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
123
|
-
style: styles.actionRow,
|
|
124
|
-
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
125
|
-
style: styles.actionIconWrapper,
|
|
126
|
-
onPress: () => navigate?.('TrustLeaderboard'),
|
|
127
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
128
|
-
style: [styles.actionIcon, {
|
|
129
|
-
backgroundColor: iconLeaderboard
|
|
130
|
-
}],
|
|
131
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
132
|
-
name: "trophy-outline",
|
|
133
|
-
size: 28,
|
|
134
|
-
color: darkenColor(iconLeaderboard)
|
|
135
|
-
})
|
|
136
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
137
|
-
style: [styles.actionLabel, {
|
|
138
|
-
color: mutedTextColor
|
|
139
|
-
}],
|
|
140
|
-
children: t('trust.center.actions.leaderboard') || 'Leaderboard'
|
|
141
|
-
})]
|
|
142
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
143
|
-
style: styles.actionIconWrapper,
|
|
144
|
-
onPress: () => navigate?.('TrustRules'),
|
|
145
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
146
|
-
style: [styles.actionIcon, {
|
|
147
|
-
backgroundColor: iconRules
|
|
148
|
-
}],
|
|
149
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
150
|
-
name: "document-text-outline",
|
|
151
|
-
size: 28,
|
|
152
|
-
color: darkenColor(iconRules)
|
|
153
|
-
})
|
|
154
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
155
|
-
style: [styles.actionLabel, {
|
|
156
|
-
color: mutedTextColor
|
|
157
|
-
}],
|
|
158
|
-
children: t('trust.center.actions.rules') || 'Rules'
|
|
159
|
-
})]
|
|
160
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
161
|
-
style: styles.actionIconWrapper,
|
|
162
|
-
onPress: () => navigate?.('AboutTrust'),
|
|
163
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
164
|
-
style: [styles.actionIcon, {
|
|
165
|
-
backgroundColor: iconAbout
|
|
166
|
-
}],
|
|
167
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
168
|
-
name: "star-outline",
|
|
169
|
-
size: 28,
|
|
170
|
-
color: darkenColor(iconAbout)
|
|
171
|
-
})
|
|
172
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
173
|
-
style: [styles.actionLabel, {
|
|
174
|
-
color: mutedTextColor
|
|
175
|
-
}],
|
|
176
|
-
children: t('trust.center.actions.about') || 'About'
|
|
177
|
-
})]
|
|
178
|
-
})]
|
|
179
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
180
|
-
style: styles.actionRow,
|
|
181
|
-
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
182
|
-
style: styles.actionIconWrapper,
|
|
183
|
-
onPress: () => navigate?.('TrustRewards'),
|
|
184
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
185
|
-
style: [styles.actionIcon, {
|
|
186
|
-
backgroundColor: iconRewards
|
|
187
|
-
}],
|
|
188
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
189
|
-
name: "gift-outline",
|
|
190
|
-
size: 28,
|
|
191
|
-
color: darkenColor(iconRewards)
|
|
192
|
-
})
|
|
193
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
194
|
-
style: [styles.actionLabel, {
|
|
195
|
-
color: mutedTextColor
|
|
196
|
-
}],
|
|
197
|
-
children: t('trust.center.actions.rewards') || 'Rewards'
|
|
198
|
-
})]
|
|
199
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
200
|
-
style: styles.actionIconWrapper,
|
|
201
|
-
onPress: () => navigate?.('TrustFAQ'),
|
|
202
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
203
|
-
style: [styles.actionIcon, {
|
|
204
|
-
backgroundColor: iconFAQ
|
|
205
|
-
}],
|
|
206
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
207
|
-
name: "help-circle-outline",
|
|
208
|
-
size: 28,
|
|
209
|
-
color: darkenColor(iconFAQ)
|
|
210
|
-
})
|
|
211
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
212
|
-
style: [styles.actionLabel, {
|
|
213
|
-
color: mutedTextColor
|
|
214
|
-
}],
|
|
215
|
-
children: t('trust.center.actions.faq') || 'FAQ'
|
|
216
|
-
})]
|
|
217
|
-
})]
|
|
218
|
-
})]
|
|
219
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
220
|
-
style: [styles.infoText, {
|
|
221
|
-
color: mutedTextColor
|
|
222
|
-
}],
|
|
109
|
+
}),
|
|
110
|
+
children: trustTierLabel
|
|
111
|
+
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
112
|
+
className: "text-text-tertiary text-sm text-center mt-space-16",
|
|
113
|
+
style: styles.infoText,
|
|
223
114
|
children: t('trust.center.info') || 'Reputation can only be earned by positive actions in the Oxy Ecosystem. It cannot be sent or received directly.'
|
|
224
115
|
})]
|
|
225
|
-
}), /*#__PURE__*/
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
116
|
+
}), /*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
117
|
+
title: t('trust.center.actions.title') || 'Explore',
|
|
118
|
+
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
119
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
120
|
+
name: "trophy",
|
|
121
|
+
color: bloomTheme.colors.warning
|
|
122
|
+
}),
|
|
123
|
+
title: t('trust.center.actions.leaderboard') || 'Leaderboard',
|
|
124
|
+
onPress: () => navigate?.('TrustLeaderboard')
|
|
125
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
126
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
127
|
+
name: "file-document",
|
|
128
|
+
color: bloomTheme.colors.info
|
|
129
|
+
}),
|
|
130
|
+
title: t('trust.center.actions.rules') || 'Rules',
|
|
131
|
+
onPress: () => navigate?.('TrustRules')
|
|
132
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
133
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
134
|
+
name: "gift",
|
|
135
|
+
color: bloomTheme.colors.success
|
|
136
|
+
}),
|
|
137
|
+
title: t('trust.center.actions.rewards') || 'Rewards',
|
|
138
|
+
onPress: () => navigate?.('TrustRewards')
|
|
139
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
140
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
141
|
+
name: "star",
|
|
142
|
+
color: bloomTheme.colors.primary
|
|
143
|
+
}),
|
|
144
|
+
title: t('trust.center.actions.about') || 'About',
|
|
145
|
+
onPress: () => navigate?.('AboutTrust')
|
|
146
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
147
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
148
|
+
name: "help-circle",
|
|
149
|
+
color: bloomTheme.colors.secondary
|
|
150
|
+
}),
|
|
151
|
+
title: t('trust.center.actions.faq') || 'FAQ',
|
|
152
|
+
onPress: () => navigate?.('TrustFAQ')
|
|
153
|
+
})]
|
|
154
|
+
}), /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
155
|
+
title: t('trust.center.history') || 'Reputation History',
|
|
156
|
+
children: transactions.length === 0 ? /*#__PURE__*/_jsx(SettingsListItem, {
|
|
157
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
158
|
+
name: "history",
|
|
159
|
+
color: bloomTheme.colors.textTertiary
|
|
160
|
+
}),
|
|
161
|
+
title: t('trust.center.noHistory') || 'No reputation history yet.',
|
|
162
|
+
showChevron: false,
|
|
163
|
+
disabled: true
|
|
164
|
+
}) : transactions.map(entry => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
165
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
166
|
+
name: entry.points > 0 ? 'plus-circle' : 'minus-circle',
|
|
167
|
+
color: entry.points > 0 ? bloomTheme.colors.success : bloomTheme.colors.error
|
|
168
|
+
}),
|
|
169
|
+
title: entry.reason || entry.actionType || t('trust.center.noDescription') || 'No description',
|
|
170
|
+
description: `${entry.category}${entry.createdAt ? ` · ${new Date(entry.createdAt).toLocaleString()}` : ''}`,
|
|
171
|
+
rightElement: /*#__PURE__*/_jsx(Chip, {
|
|
172
|
+
variant: "soft",
|
|
173
|
+
size: "small",
|
|
174
|
+
color: entry.points > 0 ? 'success' : 'error',
|
|
175
|
+
children: `${entry.points > 0 ? '+' : ''}${entry.points}`
|
|
176
|
+
}),
|
|
177
|
+
showChevron: false
|
|
267
178
|
}, entry.id))
|
|
268
|
-
}), error
|
|
179
|
+
}), error ? /*#__PURE__*/_jsx(Text, {
|
|
180
|
+
className: "text-sm text-center mt-space-16",
|
|
269
181
|
style: {
|
|
270
|
-
color:
|
|
271
|
-
marginTop: 16,
|
|
272
|
-
textAlign: 'center'
|
|
182
|
+
color: bloomTheme.colors.error
|
|
273
183
|
},
|
|
274
184
|
children: error
|
|
275
|
-
})]
|
|
276
|
-
})
|
|
185
|
+
}) : null]
|
|
186
|
+
})]
|
|
277
187
|
});
|
|
278
188
|
};
|
|
189
|
+
|
|
190
|
+
// Layout-only styles: flex centering for the empty/loading branches and the
|
|
191
|
+
// info caption's measured max width. No color, spacing, radius, or typography
|
|
192
|
+
// roles live here — those use Bloom token classes.
|
|
279
193
|
const styles = StyleSheet.create({
|
|
280
|
-
|
|
281
|
-
flex: 1
|
|
282
|
-
},
|
|
283
|
-
scrollView: {
|
|
284
|
-
flex: 1
|
|
285
|
-
},
|
|
286
|
-
scrollContainer: {
|
|
287
|
-
padding: 0,
|
|
288
|
-
alignItems: 'center'
|
|
289
|
-
},
|
|
290
|
-
walletHeader: {
|
|
291
|
-
alignItems: 'center',
|
|
292
|
-
paddingTop: 36,
|
|
293
|
-
paddingBottom: 24,
|
|
294
|
-
width: '100%',
|
|
295
|
-
backgroundColor: 'transparent'
|
|
296
|
-
},
|
|
297
|
-
reputationLabel: {
|
|
298
|
-
fontSize: 16,
|
|
299
|
-
marginBottom: 12
|
|
300
|
-
},
|
|
301
|
-
reputationAmount: {
|
|
302
|
-
fontSize: 48,
|
|
303
|
-
fontWeight: 'bold',
|
|
304
|
-
marginBottom: 4
|
|
305
|
-
},
|
|
306
|
-
tierBadge: {
|
|
307
|
-
flexDirection: 'row',
|
|
194
|
+
center: {
|
|
195
|
+
flex: 1,
|
|
308
196
|
alignItems: 'center',
|
|
309
|
-
|
|
310
|
-
borderWidth: 1,
|
|
311
|
-
borderRadius: 999,
|
|
312
|
-
paddingHorizontal: 12,
|
|
313
|
-
paddingVertical: 5,
|
|
314
|
-
marginBottom: 18
|
|
315
|
-
},
|
|
316
|
-
tierBadgeText: {
|
|
317
|
-
fontSize: 13,
|
|
318
|
-
fontWeight: '600'
|
|
319
|
-
},
|
|
320
|
-
actionContainer: {
|
|
321
|
-
marginBottom: 18,
|
|
322
|
-
gap: 8
|
|
323
|
-
},
|
|
324
|
-
actionRow: {
|
|
325
|
-
flexDirection: 'row',
|
|
326
|
-
justifyContent: 'center',
|
|
327
|
-
gap: 2
|
|
328
|
-
},
|
|
329
|
-
actionIconWrapper: {
|
|
330
|
-
alignItems: 'center',
|
|
331
|
-
width: 72
|
|
332
|
-
},
|
|
333
|
-
actionIcon: {
|
|
334
|
-
width: 56,
|
|
335
|
-
height: 56,
|
|
336
|
-
borderRadius: 28,
|
|
337
|
-
alignItems: 'center',
|
|
338
|
-
justifyContent: 'center',
|
|
339
|
-
marginBottom: 6
|
|
340
|
-
},
|
|
341
|
-
actionIconText: {
|
|
342
|
-
fontSize: 28
|
|
343
|
-
},
|
|
344
|
-
actionLabel: {
|
|
345
|
-
fontSize: 10
|
|
197
|
+
justifyContent: 'center'
|
|
346
198
|
},
|
|
347
199
|
infoText: {
|
|
348
|
-
fontSize: 13,
|
|
349
|
-
textAlign: 'center',
|
|
350
|
-
marginTop: 8,
|
|
351
|
-
marginBottom: 8,
|
|
352
200
|
maxWidth: 320
|
|
353
|
-
},
|
|
354
|
-
sectionTitle: {
|
|
355
|
-
fontSize: 18,
|
|
356
|
-
fontWeight: Platform.OS === 'web' ? '600' : undefined,
|
|
357
|
-
marginTop: 8,
|
|
358
|
-
alignSelf: 'flex-start',
|
|
359
|
-
marginLeft: 24
|
|
360
|
-
},
|
|
361
|
-
historyContainer: {
|
|
362
|
-
borderRadius: 15,
|
|
363
|
-
overflow: 'hidden',
|
|
364
|
-
marginBottom: 20,
|
|
365
|
-
width: '100%',
|
|
366
|
-
paddingHorizontal: 12
|
|
367
|
-
},
|
|
368
|
-
historyItem: {
|
|
369
|
-
padding: 14,
|
|
370
|
-
borderBottomWidth: 1
|
|
371
|
-
},
|
|
372
|
-
historyPoints: {
|
|
373
|
-
fontSize: 16,
|
|
374
|
-
fontWeight: '700'
|
|
375
|
-
},
|
|
376
|
-
historyDesc: {
|
|
377
|
-
fontSize: 15,
|
|
378
|
-
marginTop: 2
|
|
379
|
-
},
|
|
380
|
-
historyMetaRow: {
|
|
381
|
-
flexDirection: 'row',
|
|
382
|
-
alignItems: 'center',
|
|
383
|
-
justifyContent: 'space-between',
|
|
384
|
-
marginTop: 2
|
|
385
|
-
},
|
|
386
|
-
historyCategory: {
|
|
387
|
-
fontSize: 12,
|
|
388
|
-
fontWeight: '600',
|
|
389
|
-
textTransform: 'capitalize'
|
|
390
|
-
},
|
|
391
|
-
historyDate: {
|
|
392
|
-
fontSize: 13
|
|
393
|
-
},
|
|
394
|
-
message: {
|
|
395
|
-
fontSize: 16,
|
|
396
|
-
textAlign: 'center',
|
|
397
|
-
marginTop: 24
|
|
398
201
|
}
|
|
399
202
|
});
|
|
400
203
|
export default TrustCenterScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useMemo","useState","View","Text","TouchableOpacity","StyleSheet","ActivityIndicator","ScrollView","Platform","Ionicons","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","darkenColor","useOxy","getTrustTierLabel","jsx","_jsx","jsxs","_jsxs","TrustCenterScreen","theme","navigate","goBack","user","oxyServices","isAuthenticated","t","reputationTotal","setReputationTotal","trustTier","setTrustTier","transactions","setTransactions","isLoading","setIsLoading","error","setError","bloomTheme","colorScheme","normalizedColorScheme","themeColors","primaryColor","dangerColor","colors","mutedTextColor","textTertiary","iconLeaderboard","iconPayments","iconRules","iconSecurity","iconAbout","iconRewards","iconStorage","iconFAQ","iconPersonalInfo","Promise","all","getReputationBalance","id","getReputationTransactions","then","balance","txns","total","Array","isArray","catch","err","Error","message","finally","trustTierLabel","style","styles","container","backgroundColor","background","children","color","text","justifyContent","size","scrollView","contentContainerStyle","scrollContainer","walletHeader","reputationAmount","reputationLabel","tierBadge","borderColor","name","tierBadgeText","actionContainer","actionRow","actionIconWrapper","onPress","actionIcon","actionLabel","infoText","sectionTitle","historyContainer","length","textAlign","marginTop","map","entry","historyItem","border","historyPoints","points","historyDesc","reason","actionType","historyMetaRow","historyCategory","category","historyDate","createdAt","Date","toLocaleString","create","flex","padding","alignItems","paddingTop","paddingBottom","width","fontSize","marginBottom","fontWeight","flexDirection","gap","borderWidth","borderRadius","paddingHorizontal","paddingVertical","height","actionIconText","maxWidth","OS","undefined","alignSelf","marginLeft","overflow","borderBottomWidth","textTransform"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustCenterScreen.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACpD,SACIC,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EACVC,iBAAiB,EACjBC,UAAU,EACVC,QAAQ,QACL,cAAc;AAGrB,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,OAAO,QAAQ,wBAAqB;AAC7C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,oBAAoB,QAAQ,aAAa;AAClD,SAASC,WAAW,QAAQ,2BAAwB;AACpD,SAASC,MAAM,QAAQ,6BAA0B;AACjD,SAASC,iBAAiB,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA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;EACDU,cAAc,EAAE;IACZiB,aAAa,EAAE,KAAK;IACpBP,UAAU,EAAE,QAAQ;IACpB3C,cAAc,EAAE,eAAe;IAC/BuB,SAAS,EAAE;EACf,CAAC;EACDW,eAAe,EAAE;IACba,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE,KAAK;IACjBgB,aAAa,EAAE;EACnB,CAAC;EACD7B,WAAW,EAAE;IACTW,QAAQ,EAAE;EACd,CAAC;EAED1D,OAAO,EAAE;IACL0D,QAAQ,EAAE,EAAE;IACZzB,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAEF,eAAepF,iBAAiB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useEffect","useMemo","useState","View","ScrollView","StyleSheet","Ionicons","Chip","useTheme","H1","Text","SettingsListGroup","SettingsListItem","Header","SettingsIcon","LoadingState","useI18n","useOxy","getTrustTierLabel","jsx","_jsx","jsxs","_jsxs","TrustCenterScreen","onClose","goBack","navigate","user","oxyServices","isAuthenticated","t","reputationTotal","setReputationTotal","trustTier","setTrustTier","transactions","setTransactions","isLoading","setIsLoading","error","setError","bloomTheme","primaryColor","colors","primary","Promise","all","getReputationBalance","id","getReputationTransactions","then","balance","txns","total","Array","isArray","catch","err","Error","message","finally","trustTierLabel","title","className","children","onBack","elevation","style","styles","center","color","contentContainerClassName","variant","startIcon","name","size","infoText","icon","warning","onPress","info","success","secondary","length","textTertiary","showChevron","disabled","map","entry","points","reason","actionType","description","category","createdAt","Date","toLocaleString","rightElement","create","flex","alignItems","justifyContent","maxWidth"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustCenterScreen.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAE3D,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,IAAI,QAAQ,mBAAmB;A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