@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,20 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
|
-
import { View,
|
|
4
|
+
import { View, ScrollView, Linking } from 'react-native';
|
|
5
5
|
import { toast } from '@oxyhq/bloom';
|
|
6
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
6
8
|
import Header from "../components/Header.js";
|
|
7
9
|
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
8
10
|
import { useI18n } from "../hooks/useI18n.js";
|
|
9
|
-
import { useTheme } from '@oxyhq/bloom/theme';
|
|
10
|
-
import { useColorScheme } from "../hooks/useColorScheme.js";
|
|
11
|
-
import { Colors } from "../constants/theme.js";
|
|
12
|
-
import { normalizeColorScheme } from '@oxyhq/core';
|
|
13
|
-
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
14
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
12
|
const HelpSupportScreen = ({
|
|
16
13
|
onClose,
|
|
17
|
-
theme,
|
|
18
14
|
goBack,
|
|
19
15
|
navigate
|
|
20
16
|
}) => {
|
|
@@ -22,9 +18,6 @@ const HelpSupportScreen = ({
|
|
|
22
18
|
t
|
|
23
19
|
} = useI18n();
|
|
24
20
|
const bloomTheme = useTheme();
|
|
25
|
-
const colorScheme = useColorScheme();
|
|
26
|
-
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
27
|
-
const themeColors = Colors[normalizedColorScheme];
|
|
28
21
|
const handleContactSupport = useMemo(() => () => {
|
|
29
22
|
Linking.openURL('mailto:support@oxy.so?subject=Support Request').catch(() => {
|
|
30
23
|
toast.error(t('help.contactError') || 'Failed to open email client');
|
|
@@ -42,95 +35,90 @@ const HelpSupportScreen = ({
|
|
|
42
35
|
toast.error(t('help.reportError') || 'Failed to open email client');
|
|
43
36
|
});
|
|
44
37
|
}, [t]);
|
|
38
|
+
const handleDocumentation = useMemo(() => () => {
|
|
39
|
+
Linking.openURL('https://developer.oxy.so/docs').catch(() => {
|
|
40
|
+
toast.error(t('help.linkError') || 'Failed to open link');
|
|
41
|
+
});
|
|
42
|
+
}, [t]);
|
|
43
|
+
const handleCommunity = useMemo(() => () => {
|
|
44
|
+
Linking.openURL('https://community.oxy.so').catch(() => {
|
|
45
|
+
toast.error(t('help.linkError') || 'Failed to open link');
|
|
46
|
+
});
|
|
47
|
+
}, [t]);
|
|
48
|
+
const handleDevelopersPortal = useMemo(() => () => {
|
|
49
|
+
Linking.openURL('https://developer.oxy.so').catch(() => {
|
|
50
|
+
toast.error(t('help.linkError') || 'Failed to open link');
|
|
51
|
+
});
|
|
52
|
+
}, [t]);
|
|
45
53
|
return /*#__PURE__*/_jsxs(View, {
|
|
46
|
-
|
|
47
|
-
backgroundColor: bloomTheme.colors.background
|
|
48
|
-
}],
|
|
54
|
+
className: "flex-1 bg-bg",
|
|
49
55
|
children: [/*#__PURE__*/_jsx(Header, {
|
|
50
56
|
title: t('help.title') || 'Help & Support',
|
|
51
57
|
onBack: goBack || onClose,
|
|
52
58
|
variant: "minimal",
|
|
53
59
|
elevation: "subtle"
|
|
54
|
-
}), /*#__PURE__*/
|
|
55
|
-
|
|
56
|
-
children:
|
|
57
|
-
|
|
58
|
-
children: [/*#__PURE__*/
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
color: themeColors.iconSharing
|
|
113
|
-
}),
|
|
114
|
-
title: t('help.developersPortal.title') || 'Developers Portal',
|
|
115
|
-
description: t('help.developersPortal.subtitle') || 'API documentation and developer resources',
|
|
116
|
-
onPress: () => {
|
|
117
|
-
Linking.openURL('https://developer.oxy.so').catch(() => {
|
|
118
|
-
toast.error(t('help.linkError') || 'Failed to open link');
|
|
119
|
-
});
|
|
120
|
-
}
|
|
60
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
61
|
+
className: "flex-1",
|
|
62
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
63
|
+
className: "px-screen-margin pb-space-24",
|
|
64
|
+
children: [/*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
65
|
+
title: t('help.options') || 'Get Help',
|
|
66
|
+
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
67
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
68
|
+
name: "help-circle",
|
|
69
|
+
color: bloomTheme.colors.info
|
|
70
|
+
}),
|
|
71
|
+
title: t('help.faq.title') || 'Frequently Asked Questions',
|
|
72
|
+
description: t('help.faq.subtitle') || 'Find answers to common questions',
|
|
73
|
+
onPress: handleFAQ
|
|
74
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
75
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
76
|
+
name: "email",
|
|
77
|
+
color: bloomTheme.colors.success
|
|
78
|
+
}),
|
|
79
|
+
title: t('help.contact.title') || 'Contact Support',
|
|
80
|
+
description: t('help.contact.subtitle') || 'Get help from our support team',
|
|
81
|
+
onPress: handleContactSupport
|
|
82
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
83
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
84
|
+
name: "bug",
|
|
85
|
+
color: bloomTheme.colors.warning
|
|
86
|
+
}),
|
|
87
|
+
title: t('help.reportBug.title') || 'Report a Bug',
|
|
88
|
+
description: t('help.reportBug.subtitle') || 'Help us improve by reporting issues',
|
|
89
|
+
onPress: handleReportBug
|
|
90
|
+
})]
|
|
91
|
+
}), /*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
92
|
+
title: t('help.resources') || 'Resources',
|
|
93
|
+
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
94
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
95
|
+
name: "file-document",
|
|
96
|
+
color: bloomTheme.colors.textTertiary
|
|
97
|
+
}),
|
|
98
|
+
title: t('help.documentation.title') || 'Documentation',
|
|
99
|
+
description: t('help.documentation.subtitle') || 'User guides and tutorials',
|
|
100
|
+
onPress: handleDocumentation
|
|
101
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
102
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
103
|
+
name: "account-group",
|
|
104
|
+
color: bloomTheme.colors.secondary
|
|
105
|
+
}),
|
|
106
|
+
title: t('help.community.title') || 'Community',
|
|
107
|
+
description: t('help.community.subtitle') || 'Join our community',
|
|
108
|
+
onPress: handleCommunity
|
|
109
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
110
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
111
|
+
name: "code-tags",
|
|
112
|
+
color: bloomTheme.colors.error
|
|
113
|
+
}),
|
|
114
|
+
title: t('help.developersPortal.title') || 'Developers Portal',
|
|
115
|
+
description: t('help.developersPortal.subtitle') || 'API documentation and developer resources',
|
|
116
|
+
onPress: handleDevelopersPortal
|
|
117
|
+
})]
|
|
121
118
|
})]
|
|
122
|
-
})
|
|
119
|
+
})
|
|
123
120
|
})]
|
|
124
121
|
});
|
|
125
122
|
};
|
|
126
|
-
const styles = StyleSheet.create({
|
|
127
|
-
container: {
|
|
128
|
-
flex: 1
|
|
129
|
-
},
|
|
130
|
-
content: {
|
|
131
|
-
flex: 1,
|
|
132
|
-
padding: 16
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
123
|
export default /*#__PURE__*/React.memo(HelpSupportScreen);
|
|
136
124
|
//# sourceMappingURL=HelpSupportScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","View","
|
|
1
|
+
{"version":3,"names":["React","useMemo","View","ScrollView","Linking","toast","SettingsListGroup","SettingsListItem","useTheme","Header","SettingsIcon","useI18n","jsx","_jsx","jsxs","_jsxs","HelpSupportScreen","onClose","goBack","navigate","t","bloomTheme","handleContactSupport","openURL","catch","error","handleFAQ","info","handleReportBug","handleDocumentation","handleCommunity","handleDevelopersPortal","className","children","title","onBack","variant","elevation","icon","name","color","colors","description","onPress","success","warning","textTertiary","secondary","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/HelpSupportScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,IAAI,EAAEC,UAAU,EAAEC,OAAO,QAAQ,cAAc;AAExD,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,MAAM,MAAM,yBAAsB;AACzC,SAASC,YAAY,QAAQ,+BAA4B;AACzD,SAASC,OAAO,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE3C,MAAMC,iBAA4C,GAAGA,CAAC;EAClDC,OAAO;EACPC,MAAM;EACNC;AACJ,CAAC,KAAK;EACF,MAAM;IAAEC;EAAE,CAAC,GAAGT,OAAO,CAAC,CAAC;EACvB,MAAMU,UAAU,GAAGb,QAAQ,CAAC,CAAC;EAE7B,MAAMc,oBAAoB,GAAGrB,OAAO,CAAC,MAAM,MAAM;IAC7CG,OAAO,CAACmB,OAAO,CAAC,+CAA+C,CAAC,CAACC,KAAK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YAClEuB,OAAO,EAAEb;UAAgB,CAC5B,CAAC,eACFjB,IAAA,CAACN,gBAAgB;YACb+B,IAAI,eAAEzB,IAAA,CAACH,YAAY;cAAC6B,IAAI,EAAC,WAAW;cAACC,KAAK,EAAEnB,UAAU,CAACoB,MAAM,CAAChB;YAAM,CAAE,CAAE;YACxES,KAAK,EAAEd,CAAC,CAAC,6BAA6B,CAAC,IAAI,mBAAoB;YAC/DsB,WAAW,EAAEtB,CAAC,CAAC,gCAAgC,CAAC,IAAI,2CAA4C;YAChGuB,OAAO,EAAEZ;UAAuB,CACnC,CAAC;QAAA,CACa,CAAC;MAAA,CAClB;IAAC,CACC,CAAC;EAAA,CACX,CAAC;AAEf,CAAC;AAED,4BAAe/B,KAAK,CAACgD,IAAI,CAAChC,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from 'react';
|
|
4
|
-
import { View,
|
|
4
|
+
import { View, ScrollView } from 'react-native';
|
|
5
5
|
import { toast } from '@oxyhq/bloom';
|
|
6
6
|
import Header from "../components/Header.js";
|
|
7
7
|
import LoadingState from "../components/LoadingState.js";
|
|
@@ -10,15 +10,11 @@ import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list'
|
|
|
10
10
|
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
11
11
|
import { useI18n } from "../hooks/useI18n.js";
|
|
12
12
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
13
|
-
import { useColorScheme } from "../hooks/useColorScheme.js";
|
|
14
|
-
import { Colors } from "../constants/theme.js";
|
|
15
|
-
import { normalizeColorScheme } from '@oxyhq/core';
|
|
16
13
|
import { useOxy } from "../context/OxyContext.js";
|
|
17
14
|
import { Dialog, useDialogControl } from '@oxyhq/bloom';
|
|
18
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
16
|
const HistoryViewScreen = ({
|
|
20
17
|
onClose,
|
|
21
|
-
theme,
|
|
22
18
|
goBack
|
|
23
19
|
}) => {
|
|
24
20
|
const {
|
|
@@ -28,9 +24,6 @@ const HistoryViewScreen = ({
|
|
|
28
24
|
t
|
|
29
25
|
} = useI18n();
|
|
30
26
|
const bloomTheme = useTheme();
|
|
31
|
-
const colorScheme = useColorScheme();
|
|
32
|
-
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
33
|
-
const themeColors = Colors[normalizedColorScheme];
|
|
34
27
|
const [history, setHistory] = useState([]);
|
|
35
28
|
const [isLoading, setIsLoading] = useState(true);
|
|
36
29
|
const [isDeleting, setIsDeleting] = useState(false);
|
|
@@ -125,54 +118,55 @@ const HistoryViewScreen = ({
|
|
|
125
118
|
return date.toLocaleDateString();
|
|
126
119
|
};
|
|
127
120
|
return /*#__PURE__*/_jsxs(View, {
|
|
128
|
-
|
|
129
|
-
backgroundColor: bloomTheme.colors.background
|
|
130
|
-
}],
|
|
121
|
+
className: "flex-1 bg-bg",
|
|
131
122
|
children: [/*#__PURE__*/_jsx(Header, {
|
|
132
123
|
title: t('history.title') || 'History',
|
|
133
124
|
onBack: goBack || onClose,
|
|
134
125
|
variant: "minimal",
|
|
135
126
|
elevation: "subtle"
|
|
136
|
-
}), /*#__PURE__*/
|
|
137
|
-
|
|
138
|
-
children:
|
|
139
|
-
|
|
140
|
-
children: [/*#__PURE__*/
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
127
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
128
|
+
className: "flex-1",
|
|
129
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
130
|
+
className: "px-screen-margin pb-space-24",
|
|
131
|
+
children: [/*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
132
|
+
title: t('history.actions') || 'Actions',
|
|
133
|
+
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
134
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
135
|
+
name: "clock-outline",
|
|
136
|
+
color: bloomTheme.colors.warning
|
|
137
|
+
}),
|
|
138
|
+
title: t('history.deleteLast15Minutes.title') || 'Delete Last 15 Minutes',
|
|
139
|
+
description: t('history.deleteLast15Minutes.subtitle') || 'Remove recent history entries',
|
|
140
|
+
onPress: () => deleteLast15Dialog.open(),
|
|
141
|
+
disabled: isDeleting || history.length === 0
|
|
142
|
+
}), /*#__PURE__*/_jsx(SettingsListItem, {
|
|
143
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
144
|
+
name: "delete-outline",
|
|
145
|
+
color: bloomTheme.colors.error
|
|
146
|
+
}),
|
|
147
|
+
title: t('history.clearAll.title') || 'Clear All History',
|
|
148
|
+
description: t('history.clearAll.subtitle') || 'Remove all history entries',
|
|
149
|
+
onPress: () => clearAllDialog.open(),
|
|
150
|
+
disabled: isDeleting || history.length === 0
|
|
151
|
+
})]
|
|
152
|
+
}), /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
153
|
+
title: t('history.recent') || 'Recent History',
|
|
154
|
+
children: isLoading ? /*#__PURE__*/_jsx(LoadingState, {
|
|
155
|
+
message: t('history.loading') || 'Loading history...',
|
|
156
|
+
color: bloomTheme.colors.text
|
|
157
|
+
}) : history.length === 0 ? /*#__PURE__*/_jsx(EmptyState, {
|
|
158
|
+
message: t('history.empty') || 'No history yet',
|
|
159
|
+
textColor: bloomTheme.colors.text
|
|
160
|
+
}) : history.map(item => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
161
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
162
|
+
name: item.type === 'search' ? 'magnify' : 'earth',
|
|
163
|
+
color: item.type === 'search' ? bloomTheme.colors.info : bloomTheme.colors.primary
|
|
164
|
+
}),
|
|
165
|
+
title: item.query,
|
|
166
|
+
description: formatTime(item.timestamp)
|
|
167
|
+
}, item.id))
|
|
158
168
|
})]
|
|
159
|
-
})
|
|
160
|
-
title: t('history.recent') || 'Recent History',
|
|
161
|
-
children: isLoading ? /*#__PURE__*/_jsx(LoadingState, {
|
|
162
|
-
message: t('history.loading') || 'Loading history...',
|
|
163
|
-
color: bloomTheme.colors.text
|
|
164
|
-
}) : history.length === 0 ? /*#__PURE__*/_jsx(EmptyState, {
|
|
165
|
-
message: t('history.empty') || 'No history yet',
|
|
166
|
-
textColor: bloomTheme.colors.text
|
|
167
|
-
}) : history.map(item => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
168
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
169
|
-
name: item.type === 'search' ? 'magnify' : 'earth',
|
|
170
|
-
color: item.type === 'search' ? themeColors.iconSecurity : themeColors.iconPersonalInfo
|
|
171
|
-
}),
|
|
172
|
-
title: item.query,
|
|
173
|
-
description: formatTime(item.timestamp)
|
|
174
|
-
}, item.id))
|
|
175
|
-
})]
|
|
169
|
+
})
|
|
176
170
|
}), /*#__PURE__*/_jsx(Dialog, {
|
|
177
171
|
control: deleteLast15Dialog,
|
|
178
172
|
title: t('history.deleteLast15Minutes.title') || 'Delete Last 15 Minutes',
|
|
@@ -200,14 +194,5 @@ const HistoryViewScreen = ({
|
|
|
200
194
|
})]
|
|
201
195
|
});
|
|
202
196
|
};
|
|
203
|
-
const styles = StyleSheet.create({
|
|
204
|
-
container: {
|
|
205
|
-
flex: 1
|
|
206
|
-
},
|
|
207
|
-
content: {
|
|
208
|
-
flex: 1,
|
|
209
|
-
padding: 16
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
197
|
export default /*#__PURE__*/React.memo(HistoryViewScreen);
|
|
213
198
|
//# sourceMappingURL=HistoryViewScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useCallback","View","
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","View","ScrollView","toast","Header","LoadingState","EmptyState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useOxy","Dialog","useDialogControl","jsx","_jsx","jsxs","_jsxs","HistoryViewScreen","onClose","goBack","user","t","bloomTheme","history","setHistory","isLoading","setIsLoading","isDeleting","setIsDeleting","deleteLast15Dialog","clearAllDialog","getStorage","isRN","navigator","product","mod","s","default","getItem","bind","setItem","removeItem","e","__DEV__","console","error","Error","k","window","localStorage","v","useEffect","load","storage","stored","id","parsed","JSON","parse","map","i","timestamp","Date","handleDeleteLast15Minutes","cutoff","now","filtered","filter","item","stringify","success","handleClearAll","formatTime","date","diff","getTime","min","Math","floor","hrs","days","toLocaleDateString","className","children","title","onBack","variant","elevation","icon","name","color","colors","warning","description","onPress","open","disabled","length","message","text","textColor","type","info","primary","query","control","actions","label","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/HistoryViewScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,KAAK,QAAQ,cAAc;AACpC,OAAOC,MAAM,MAAM,yBAAsB;AACzC,OAAOC,YAAY,MAAM,+BAA4B;AACrD,OAAOC,UAAU,MAAM,6BAA0B;AACjD,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,YAAY,QAAQ,+BAA4B;AACzD,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAIxD,MAAMC,iBAA4C,GAAGA,CAAC;EAAEC,OAAO;EAAEC;AAAO,CAAC,KAAK;EAC1E,MAA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