@oxyhq/services 11.0.0 → 11.1.0
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.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/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 +192 -305
- 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.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/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 +189 -302
- 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 +1 -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 +3 -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 +1 -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 +3 -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 +1 -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/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 +158 -200
- 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,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useEffect, useState, useCallback } from 'react';
|
|
4
|
-
import { View,
|
|
4
|
+
import { View, StyleSheet, ActivityIndicator, FlatList, TouchableOpacity, RefreshControl } from 'react-native';
|
|
5
5
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
6
|
+
import { H6, Text } from '@oxyhq/bloom/typography';
|
|
7
|
+
import { Button } from '@oxyhq/bloom/button';
|
|
8
|
+
import Header from "../components/Header.js";
|
|
6
9
|
import Avatar from "../components/Avatar.js";
|
|
7
10
|
import FollowButton from "../components/FollowButton.js";
|
|
8
11
|
import { Ionicons } from '@expo/vector-icons';
|
|
@@ -11,11 +14,20 @@ import { useOxy } from "../context/OxyContext.js";
|
|
|
11
14
|
import { logger, getAccountDisplayName, getAccountFallbackHandle } from '@oxyhq/core';
|
|
12
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
16
|
const PAGE_SIZE = 20;
|
|
17
|
+
const AVATAR_SIZE = 48;
|
|
18
|
+
const EMPTY_ICON_SIZE = 64;
|
|
19
|
+
const ERROR_ICON_SIZE = 48;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Resolve a user's id from the canonical `id` field, falling back to the
|
|
23
|
+
* Mongo `_id` exposed via `User`'s index signature — narrowed with a `typeof`
|
|
24
|
+
* guard so we never reach for a cast.
|
|
25
|
+
*/
|
|
26
|
+
const resolveUserId = user => user.id || (typeof user._id === 'string' ? user._id : '');
|
|
14
27
|
const UserListScreen = ({
|
|
15
28
|
userId,
|
|
16
29
|
mode,
|
|
17
30
|
initialCount,
|
|
18
|
-
theme,
|
|
19
31
|
goBack,
|
|
20
32
|
navigate
|
|
21
33
|
}) => {
|
|
@@ -31,12 +43,11 @@ const UserListScreen = ({
|
|
|
31
43
|
const [error, setError] = useState(null);
|
|
32
44
|
const [hasMore, setHasMore] = useState(true);
|
|
33
45
|
const bloomTheme = useTheme();
|
|
34
|
-
const styles = createStyles();
|
|
35
46
|
const {
|
|
36
47
|
t,
|
|
37
48
|
locale
|
|
38
49
|
} = useI18n();
|
|
39
|
-
const currentUserId = currentUser
|
|
50
|
+
const currentUserId = currentUser ? resolveUserId(currentUser) : '';
|
|
40
51
|
const fetchUsers = useCallback(async (offset = 0, isRefresh = false) => {
|
|
41
52
|
if (!userId) {
|
|
42
53
|
setError('No user ID provided');
|
|
@@ -102,7 +113,7 @@ const UserListScreen = ({
|
|
|
102
113
|
fetchUsers(0, true);
|
|
103
114
|
}, [fetchUsers]);
|
|
104
115
|
const handleUserPress = useCallback(user => {
|
|
105
|
-
const targetUserId = user
|
|
116
|
+
const targetUserId = resolveUserId(user);
|
|
106
117
|
if (targetUserId && navigate) {
|
|
107
118
|
navigate('Profile', {
|
|
108
119
|
userId: targetUserId
|
|
@@ -112,102 +123,83 @@ const UserListScreen = ({
|
|
|
112
123
|
const renderUser = useCallback(({
|
|
113
124
|
item
|
|
114
125
|
}) => {
|
|
115
|
-
const itemUserId = item
|
|
126
|
+
const itemUserId = resolveUserId(item);
|
|
116
127
|
const isCurrentUser = itemUserId === currentUserId;
|
|
117
128
|
const description = typeof item.description === 'string' ? item.description : '';
|
|
129
|
+
const displayName = getAccountDisplayName(item, locale);
|
|
130
|
+
const handle = getAccountFallbackHandle(item);
|
|
118
131
|
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
119
132
|
style: styles.userItem,
|
|
133
|
+
className: "px-screen-margin py-space-12 gap-space-12",
|
|
120
134
|
onPress: () => handleUserPress(item),
|
|
121
135
|
activeOpacity: 0.7,
|
|
136
|
+
accessibilityRole: "button",
|
|
137
|
+
accessibilityLabel: displayName,
|
|
122
138
|
children: [/*#__PURE__*/_jsx(Avatar, {
|
|
123
139
|
uri: item.avatar ? oxyServices.getFileDownloadUrl(item.avatar, 'thumb') : undefined,
|
|
124
|
-
name:
|
|
125
|
-
size:
|
|
140
|
+
name: displayName,
|
|
141
|
+
size: AVATAR_SIZE
|
|
126
142
|
}), /*#__PURE__*/_jsxs(View, {
|
|
127
143
|
style: styles.userInfo,
|
|
128
144
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
129
|
-
|
|
130
|
-
|
|
145
|
+
className: "text-text font-medium text-base",
|
|
146
|
+
numberOfLines: 1,
|
|
147
|
+
children: displayName
|
|
148
|
+
}), handle ? /*#__PURE__*/_jsx(Text, {
|
|
149
|
+
className: "text-text-secondary text-sm mt-space-2",
|
|
131
150
|
numberOfLines: 1,
|
|
132
|
-
children:
|
|
133
|
-
}), (
|
|
134
|
-
|
|
135
|
-
return handle ? /*#__PURE__*/_jsx(Text, {
|
|
136
|
-
style: styles.userHandle,
|
|
137
|
-
className: "text-muted-foreground",
|
|
138
|
-
numberOfLines: 1,
|
|
139
|
-
children: item.username ? `@${handle}` : handle
|
|
140
|
-
}) : null;
|
|
141
|
-
})(), description ? /*#__PURE__*/_jsx(Text, {
|
|
142
|
-
style: styles.userBio,
|
|
143
|
-
className: "text-foreground",
|
|
151
|
+
children: item.username ? `@${handle}` : handle
|
|
152
|
+
}) : null, description ? /*#__PURE__*/_jsx(Text, {
|
|
153
|
+
className: "text-text-secondary text-sm mt-space-4",
|
|
144
154
|
numberOfLines: 2,
|
|
145
155
|
children: description
|
|
146
156
|
}) : null]
|
|
147
|
-
}), !isCurrentUser && itemUserId ? /*#__PURE__*/_jsx(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
userId: itemUserId,
|
|
151
|
-
size: "small"
|
|
152
|
-
})
|
|
157
|
+
}), !isCurrentUser && itemUserId ? /*#__PURE__*/_jsx(FollowButton, {
|
|
158
|
+
userId: itemUserId,
|
|
159
|
+
size: "small"
|
|
153
160
|
}) : null]
|
|
154
161
|
});
|
|
155
|
-
}, [
|
|
162
|
+
}, [handleUserPress, currentUserId, oxyServices, locale]);
|
|
156
163
|
const renderEmpty = useCallback(() => {
|
|
157
164
|
if (isLoading) return null;
|
|
158
165
|
return /*#__PURE__*/_jsxs(View, {
|
|
159
166
|
style: styles.emptyContainer,
|
|
167
|
+
className: "px-space-32 gap-space-8",
|
|
160
168
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
161
169
|
name: mode === 'followers' ? 'people-outline' : 'heart-outline',
|
|
162
|
-
size:
|
|
170
|
+
size: EMPTY_ICON_SIZE,
|
|
163
171
|
color: bloomTheme.colors.textSecondary
|
|
164
|
-
}), /*#__PURE__*/_jsx(
|
|
165
|
-
|
|
166
|
-
className: "text-foreground",
|
|
172
|
+
}), /*#__PURE__*/_jsx(H6, {
|
|
173
|
+
className: "text-text text-center mt-space-8",
|
|
167
174
|
children: mode === 'followers' ? t('userList.noFollowers') || 'No followers yet' : t('userList.noFollowing') || 'Not following anyone'
|
|
168
175
|
}), /*#__PURE__*/_jsx(Text, {
|
|
169
|
-
|
|
170
|
-
className: "text-muted-foreground",
|
|
176
|
+
className: "text-text-secondary text-sm text-center",
|
|
171
177
|
children: mode === 'followers' ? t('userList.noFollowersDesc') || 'When people follow this user, they will appear here.' : t('userList.noFollowingDesc') || 'When this user follows people, they will appear here.'
|
|
172
178
|
})]
|
|
173
179
|
});
|
|
174
|
-
}, [isLoading, mode, bloomTheme,
|
|
180
|
+
}, [isLoading, mode, bloomTheme, t]);
|
|
175
181
|
const renderFooter = useCallback(() => {
|
|
176
182
|
if (!isLoadingMore) return null;
|
|
177
183
|
return /*#__PURE__*/_jsx(View, {
|
|
178
184
|
style: styles.footerLoader,
|
|
185
|
+
className: "py-space-16",
|
|
179
186
|
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
180
187
|
size: "small",
|
|
181
188
|
color: bloomTheme.colors.primary
|
|
182
189
|
})
|
|
183
190
|
});
|
|
184
|
-
}, [isLoadingMore, bloomTheme
|
|
191
|
+
}, [isLoadingMore, bloomTheme]);
|
|
185
192
|
const title = mode === 'followers' ? t('userList.followers') || 'Followers' : t('userList.following') || 'Following';
|
|
193
|
+
const headerSubtitle = total > 0 ? String(total) : undefined;
|
|
186
194
|
if (isLoading && users.length === 0) {
|
|
187
195
|
return /*#__PURE__*/_jsxs(View, {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
className: "border-border",
|
|
194
|
-
children: [goBack && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
195
|
-
onPress: goBack,
|
|
196
|
-
style: styles.backButton,
|
|
197
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
198
|
-
name: "arrow-back",
|
|
199
|
-
size: 24,
|
|
200
|
-
color: bloomTheme.colors.text
|
|
201
|
-
})
|
|
202
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
203
|
-
style: styles.headerTitle,
|
|
204
|
-
className: "text-foreground",
|
|
205
|
-
children: title
|
|
206
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
207
|
-
style: styles.headerRight
|
|
208
|
-
})]
|
|
196
|
+
className: "flex-1 bg-bg",
|
|
197
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
198
|
+
title: title,
|
|
199
|
+
onBack: goBack,
|
|
200
|
+
elevation: "subtle"
|
|
209
201
|
}), /*#__PURE__*/_jsx(View, {
|
|
210
|
-
style: styles.
|
|
202
|
+
style: styles.center,
|
|
211
203
|
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
212
204
|
size: "large",
|
|
213
205
|
color: bloomTheme.colors.primary
|
|
@@ -217,88 +209,44 @@ const UserListScreen = ({
|
|
|
217
209
|
}
|
|
218
210
|
if (error) {
|
|
219
211
|
return /*#__PURE__*/_jsxs(View, {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
className: "border-border",
|
|
226
|
-
children: [goBack && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
227
|
-
onPress: goBack,
|
|
228
|
-
style: styles.backButton,
|
|
229
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
230
|
-
name: "arrow-back",
|
|
231
|
-
size: 24,
|
|
232
|
-
color: bloomTheme.colors.text
|
|
233
|
-
})
|
|
234
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
235
|
-
style: styles.headerTitle,
|
|
236
|
-
className: "text-foreground",
|
|
237
|
-
children: title
|
|
238
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
239
|
-
style: styles.headerRight
|
|
240
|
-
})]
|
|
212
|
+
className: "flex-1 bg-bg",
|
|
213
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
214
|
+
title: title,
|
|
215
|
+
onBack: goBack,
|
|
216
|
+
elevation: "subtle"
|
|
241
217
|
}), /*#__PURE__*/_jsxs(View, {
|
|
242
|
-
style: styles.
|
|
218
|
+
style: styles.center,
|
|
219
|
+
className: "px-space-32 gap-space-16",
|
|
243
220
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
244
221
|
name: "alert-circle",
|
|
245
|
-
size:
|
|
222
|
+
size: ERROR_ICON_SIZE,
|
|
246
223
|
color: bloomTheme.colors.error
|
|
247
224
|
}), /*#__PURE__*/_jsx(Text, {
|
|
248
|
-
|
|
249
|
-
className: "text-destructive",
|
|
225
|
+
className: "text-text-secondary text-base text-center",
|
|
250
226
|
children: error
|
|
251
|
-
}), /*#__PURE__*/_jsx(
|
|
252
|
-
|
|
253
|
-
className: "bg-primary",
|
|
227
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
228
|
+
variant: "primary",
|
|
254
229
|
onPress: () => fetchUsers(0),
|
|
255
|
-
children:
|
|
256
|
-
style: [styles.retryButtonText, {
|
|
257
|
-
color: bloomTheme.colors.negativeForeground
|
|
258
|
-
}],
|
|
259
|
-
children: t('common.retry') || 'Retry'
|
|
260
|
-
})
|
|
230
|
+
children: t('common.retry') || 'Retry'
|
|
261
231
|
})]
|
|
262
232
|
})]
|
|
263
233
|
});
|
|
264
234
|
}
|
|
265
235
|
return /*#__PURE__*/_jsxs(View, {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
children: [goBack && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
273
|
-
onPress: goBack,
|
|
274
|
-
style: styles.backButton,
|
|
275
|
-
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
276
|
-
name: "arrow-back",
|
|
277
|
-
size: 24,
|
|
278
|
-
color: bloomTheme.colors.text
|
|
279
|
-
})
|
|
280
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
281
|
-
style: styles.headerTitleContainer,
|
|
282
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
283
|
-
style: styles.headerTitle,
|
|
284
|
-
className: "text-foreground",
|
|
285
|
-
children: title
|
|
286
|
-
}), total > 0 && /*#__PURE__*/_jsx(Text, {
|
|
287
|
-
style: styles.headerCount,
|
|
288
|
-
className: "text-muted-foreground",
|
|
289
|
-
children: total
|
|
290
|
-
})]
|
|
291
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
292
|
-
style: styles.headerRight
|
|
293
|
-
})]
|
|
236
|
+
className: "flex-1 bg-bg",
|
|
237
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
238
|
+
title: title,
|
|
239
|
+
subtitle: headerSubtitle,
|
|
240
|
+
onBack: goBack,
|
|
241
|
+
elevation: "subtle"
|
|
294
242
|
}), /*#__PURE__*/_jsx(FlatList, {
|
|
295
243
|
data: users,
|
|
296
244
|
renderItem: renderUser,
|
|
297
|
-
keyExtractor: (item, index) => item
|
|
245
|
+
keyExtractor: (item, index) => resolveUserId(item) || `user-${index}`,
|
|
298
246
|
contentContainerStyle: styles.listContent,
|
|
299
247
|
ItemSeparatorComponent: () => /*#__PURE__*/_jsx(View, {
|
|
300
248
|
style: styles.separator,
|
|
301
|
-
className: "
|
|
249
|
+
className: "border-b border-border"
|
|
302
250
|
}),
|
|
303
251
|
ListEmptyComponent: renderEmpty,
|
|
304
252
|
ListFooterComponent: renderFooter,
|
|
@@ -313,117 +261,38 @@ const UserListScreen = ({
|
|
|
313
261
|
})]
|
|
314
262
|
});
|
|
315
263
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
alignItems: 'center',
|
|
323
|
-
paddingHorizontal: 16,
|
|
324
|
-
paddingVertical: 12,
|
|
325
|
-
borderBottomWidth: 1
|
|
326
|
-
},
|
|
327
|
-
backButton: {
|
|
328
|
-
padding: 8,
|
|
329
|
-
marginRight: 8
|
|
330
|
-
},
|
|
331
|
-
headerTitleContainer: {
|
|
332
|
-
flex: 1,
|
|
333
|
-
flexDirection: 'row',
|
|
334
|
-
alignItems: 'center'
|
|
335
|
-
},
|
|
336
|
-
headerTitle: {
|
|
337
|
-
fontSize: 18,
|
|
338
|
-
fontWeight: '600'
|
|
339
|
-
},
|
|
340
|
-
headerCount: {
|
|
341
|
-
fontSize: 16,
|
|
342
|
-
marginLeft: 8
|
|
343
|
-
},
|
|
344
|
-
headerRight: {
|
|
345
|
-
width: 40
|
|
346
|
-
},
|
|
347
|
-
loadingContainer: {
|
|
264
|
+
|
|
265
|
+
// Layout-only styles: flex centering, measured separator inset, and the row
|
|
266
|
+
// flex layout. Colors, spacing, radius, and typography roles live on Bloom
|
|
267
|
+
// components + NativeWind token classes.
|
|
268
|
+
const styles = StyleSheet.create({
|
|
269
|
+
center: {
|
|
348
270
|
flex: 1,
|
|
349
271
|
justifyContent: 'center',
|
|
350
272
|
alignItems: 'center'
|
|
351
273
|
},
|
|
352
|
-
errorContainer: {
|
|
353
|
-
flex: 1,
|
|
354
|
-
justifyContent: 'center',
|
|
355
|
-
alignItems: 'center',
|
|
356
|
-
paddingHorizontal: 32
|
|
357
|
-
},
|
|
358
|
-
errorText: {
|
|
359
|
-
fontSize: 16,
|
|
360
|
-
textAlign: 'center',
|
|
361
|
-
marginTop: 16,
|
|
362
|
-
marginBottom: 24
|
|
363
|
-
},
|
|
364
|
-
retryButton: {
|
|
365
|
-
paddingHorizontal: 24,
|
|
366
|
-
paddingVertical: 12,
|
|
367
|
-
borderRadius: 8
|
|
368
|
-
},
|
|
369
|
-
retryButtonText: {
|
|
370
|
-
fontSize: 16,
|
|
371
|
-
fontWeight: '600'
|
|
372
|
-
},
|
|
373
274
|
listContent: {
|
|
374
275
|
flexGrow: 1
|
|
375
276
|
},
|
|
376
277
|
userItem: {
|
|
377
278
|
flexDirection: 'row',
|
|
378
|
-
alignItems: 'center'
|
|
379
|
-
paddingHorizontal: 16,
|
|
380
|
-
paddingVertical: 12
|
|
279
|
+
alignItems: 'center'
|
|
381
280
|
},
|
|
382
281
|
userInfo: {
|
|
383
|
-
flex: 1
|
|
384
|
-
marginLeft: 12,
|
|
385
|
-
marginRight: 8
|
|
386
|
-
},
|
|
387
|
-
userName: {
|
|
388
|
-
fontSize: 16,
|
|
389
|
-
fontWeight: '600'
|
|
390
|
-
},
|
|
391
|
-
userHandle: {
|
|
392
|
-
fontSize: 14,
|
|
393
|
-
marginTop: 2
|
|
394
|
-
},
|
|
395
|
-
userBio: {
|
|
396
|
-
fontSize: 14,
|
|
397
|
-
marginTop: 4,
|
|
398
|
-
opacity: 0.8
|
|
399
|
-
},
|
|
400
|
-
followButtonWrapper: {
|
|
401
|
-
marginLeft: 'auto'
|
|
282
|
+
flex: 1
|
|
402
283
|
},
|
|
284
|
+
// Inset the hairline separator to align with the start of the user's text
|
|
285
|
+
// content (avatar width + screen margin + gap).
|
|
403
286
|
separator: {
|
|
404
|
-
height: 1,
|
|
405
287
|
marginLeft: 76
|
|
406
288
|
},
|
|
407
289
|
emptyContainer: {
|
|
408
290
|
flex: 1,
|
|
409
291
|
justifyContent: 'center',
|
|
410
292
|
alignItems: 'center',
|
|
411
|
-
paddingHorizontal: 32,
|
|
412
293
|
paddingTop: 80
|
|
413
294
|
},
|
|
414
|
-
emptyTitle: {
|
|
415
|
-
fontSize: 18,
|
|
416
|
-
fontWeight: '600',
|
|
417
|
-
marginTop: 16,
|
|
418
|
-
textAlign: 'center'
|
|
419
|
-
},
|
|
420
|
-
emptySubtitle: {
|
|
421
|
-
fontSize: 14,
|
|
422
|
-
marginTop: 8,
|
|
423
|
-
textAlign: 'center'
|
|
424
|
-
},
|
|
425
295
|
footerLoader: {
|
|
426
|
-
paddingVertical: 16,
|
|
427
296
|
alignItems: 'center'
|
|
428
297
|
}
|
|
429
298
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useState","useCallback","View","Text","StyleSheet","ActivityIndicator","FlatList","TouchableOpacity","RefreshControl","useTheme","Avatar","FollowButton","Ionicons","useI18n","useOxy","logger","getAccountDisplayName","getAccountFallbackHandle","jsx","_jsx","jsxs","_jsxs","PAGE_SIZE","UserListScreen","userId","mode","initialCount","theme","goBack","navigate","oxyServices","user","currentUser","users","setUsers","total","setTotal","isLoading","setIsLoading","isLoadingMore","setIsLoadingMore","isRefreshing","setIsRefreshing","error","setError","hasMore","setHasMore","bloomTheme","styles","createStyles","t","locale","currentUserId","id","_id","fetchUsers","offset","isRefresh","newUsers","result","getUserFollowers","limit","followers","getUserFollowing","following","prev","err","Error","String","component","handleLoadMore","length","handleRefresh","handleUserPress","targetUserId","renderUser","item","itemUserId","isCurrentUser","description","style","userItem","onPress","activeOpacity","children","uri","avatar","getFileDownloadUrl","undefined","name","size","userInfo","userName","className","numberOfLines","handle","userHandle","username","userBio","followButtonWrapper","renderEmpty","emptyContainer","color","colors","textSecondary","emptyTitle","emptySubtitle","renderFooter","footerLoader","primary","title","container","backgroundColor","background","header","backButton","text","headerTitle","headerRight","loadingContainer","errorContainer","errorText","retryButton","retryButtonText","negativeForeground","headerTitleContainer","headerCount","data","renderItem","keyExtractor","index","contentContainerStyle","listContent","ItemSeparatorComponent","separator","ListEmptyComponent","ListFooterComponent","onEndReached","onEndReachedThreshold","refreshControl","refreshing","onRefresh","tintColor","create","flex","flexDirection","alignItems","paddingHorizontal","paddingVertical","borderBottomWidth","padding","marginRight","fontSize","fontWeight","marginLeft","width","justifyContent","textAlign","marginTop","marginBottom","borderRadius","flexGrow","opacity","height","paddingTop"],"sourceRoot":"../../../../src","sources":["ui/screens/UserListScreen.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACxD,SACEC,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,iBAAiB,EACjB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4D,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EACDzD,UAAU,EAAE;IACVwD,QAAQ,EAAE,EAAE;IACZM,SAAS,EAAE;EACb,CAAC;EACD5D,OAAO,EAAE;IACPsD,QAAQ,EAAE,EAAE;IACZM,SAAS,EAAE,CAAC;IACZI,OAAO,EAAE;EACX,CAAC;EACD/D,mBAAmB,EAAE;IACnBuD,UAAU,EAAE;EACd,CAAC;EACDpB,SAAS,EAAE;IACT6B,MAAM,EAAE,CAAC;IACTT,UAAU,EAAE;EACd,CAAC;EACDrD,cAAc,EAAE;IACd2C,IAAI,EAAE,CAAC;IACPY,cAAc,EAAE,QAAQ;IACxBV,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE,EAAE;IACrBiB,UAAU,EAAE;EACd,CAAC;EACD3D,UAAU,EAAE;IACV+C,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBK,SAAS,EAAE,EAAE;IACbD,SAAS,EAAE;EACb,CAAC;EACDnD,aAAa,EAAE;IACb8C,QAAQ,EAAE,EAAE;IACZM,SAAS,EAAE,CAAC;IACZD,SAAS,EAAE;EACb,CAAC;EACDjD,YAAY,EAAE;IACZwC,eAAe,EAAE,EAAE;IACnBF,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEJ,eAAe3H,cAAc","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useEffect","useState","useCallback","View","StyleSheet","ActivityIndicator","FlatList","TouchableOpacity","RefreshControl","useTheme","H6","Text","Button","Header","Avatar","FollowButton","Ionicons","useI18n","useOxy","logger","getAccountDisplayName","getAccountFallbackHandle","jsx","_jsx","jsxs","_jsxs","PAGE_SIZE","AVATAR_SIZE","EMPTY_ICON_SIZE","ERROR_ICON_SIZE","resolveUserId","user","id","_id","UserListScreen","userId","mode","initialCount","goBack","navigate","oxyServices","currentUser","users","setUsers","total","setTotal","isLoading","setIsLoading","isLoadingMore","setIsLoadingMore","isRefreshing","setIsRefreshing","error","setError","hasMore","setHasMore","bloomTheme","t","locale","currentUserId","fetchUsers","offset","isRefresh","newUsers","result","getUserFollowers","limit","followers","getUserFollowing","following","prev","err","Error","String","component","handleLoadMore","length","handleRefresh","handleUserPress","targetUserId","renderUser","item","itemUserId","isCurrentUser","description","displayName","handle","style","styles","userItem","className","onPress","activeOpacity","accessibilityRole","accessibilityLabel","children","uri","avatar","getFileDownloadUrl","undefined","name","size","userInfo","numberOfLines","username","renderEmpty","emptyContainer","color","colors","textSecondary","renderFooter","footerLoader","primary","title","headerSubtitle","onBack","elevation","center","variant","subtitle","data","renderItem","keyExtractor","index","contentContainerStyle","listContent","ItemSeparatorComponent","separator","ListEmptyComponent","ListFooterComponent","onEndReached","onEndReachedThreshold","refreshControl","refreshing","onRefresh","tintColor","create","flex","justifyContent","alignItems","flexGrow","flexDirection","marginLeft","paddingTop"],"sourceRoot":"../../../../src","sources":["ui/screens/UserListScreen.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACxD,SACEC,IAAI,EACJC,UAAU,EACVC,iBAAiB,EACjBC,QAAQ,EACRC,gBAAgB,EAChBC,cAAc,QACT,cAAc;AAErB,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,EAAE,EAAEC,IAAI,QAAQ,yBAAyB;AAClD,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,OAAOC,MAAM,MAAM,yBAAsB;AACzC,OAAOC,MAAM,MAAM,yBAAsB;AACzC,OAAOC,YAAY,MAAM,+BAA4B;AACrD,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,MAAM,EAAEC,qBAAqB,EAAEC,wBAAwB,QAAQ,aAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWtF,MAAMC,SAAS,GAAG,EAAE;AACpB,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