@oxy.so/services 11.2.0-oxy-one.3 → 11.2.0-oxy-one.4

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.
Files changed (1025) hide show
  1. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +42 -40
  2. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +58 -31
  3. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
  4. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
  5. package/lib/commonjs/index.js.map +1 -1
  6. package/lib/commonjs/notifications/deviceNotifications.js +8 -4
  7. package/lib/commonjs/notifications/deviceNotifications.js.map +1 -1
  8. package/lib/commonjs/ui/analytics/productAnalytics.js.map +1 -1
  9. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
  10. package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
  11. package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
  12. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  13. package/lib/commonjs/ui/components/FollowTargetButton.js +1 -1
  14. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
  15. package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
  16. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
  17. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
  18. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
  19. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  20. package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
  21. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  22. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
  23. package/lib/commonjs/ui/components/PeableButton.js.map +1 -1
  24. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  25. package/lib/commonjs/ui/components/ProfileSummaryCard.js +1 -1
  26. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
  27. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
  28. package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
  29. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
  30. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
  31. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  32. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -1
  33. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
  34. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
  35. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -1
  36. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
  37. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  38. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +1 -1
  39. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  40. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  41. package/lib/commonjs/ui/components/followButtonAccessibility.js.map +1 -1
  42. package/lib/commonjs/ui/components/followRules.js.map +1 -1
  43. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -1
  44. package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -1
  45. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  46. package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -1
  47. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  48. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  49. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  50. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  51. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +1 -1
  52. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  53. package/lib/commonjs/ui/components/payment/constants.js.map +1 -1
  54. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  55. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  56. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  57. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  58. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  59. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  60. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  61. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  62. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  63. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
  64. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  65. package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
  66. package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
  67. package/lib/commonjs/ui/components/signIn/artwork.js.map +1 -1
  68. package/lib/commonjs/ui/components/signIn/signInFlowStore.js.map +1 -1
  69. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
  70. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
  71. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  72. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
  73. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -1
  74. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
  75. package/lib/commonjs/ui/constants/spacing.js.map +1 -1
  76. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  77. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -1
  78. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  79. package/lib/commonjs/ui/context/isolatedOAuthSession.js.map +1 -1
  80. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -1
  81. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -1
  82. package/lib/commonjs/ui/hooks/accountQueryPersistence.js.map +1 -1
  83. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  84. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  85. package/lib/commonjs/ui/hooks/persistedQueryCache.js.map +1 -1
  86. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  87. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  88. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
  89. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  90. package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
  91. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  92. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  93. package/lib/commonjs/ui/hooks/queries/userCache.js +38 -38
  94. package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -1
  95. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  96. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  97. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
  98. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  99. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
  100. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
  101. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
  102. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  103. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  104. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  105. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -1
  106. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
  107. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  108. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
  109. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
  110. package/lib/commonjs/ui/hooks/useSurfaceFrameWidth.js.map +1 -1
  111. package/lib/commonjs/ui/icons/Ionicons.js.map +1 -1
  112. package/lib/commonjs/ui/icons/MaterialCommunityIcons.js.map +1 -1
  113. package/lib/commonjs/ui/icons/decorativeIconSet.js.map +1 -1
  114. package/lib/commonjs/ui/isFrontend.js.map +1 -1
  115. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
  116. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  117. package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
  118. package/lib/commonjs/ui/oauth/applicationSessionLane.js.map +1 -1
  119. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -1
  120. package/lib/commonjs/ui/oauth/browserBridge.js.map +1 -1
  121. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -1
  122. package/lib/commonjs/ui/oauth/nativeAuthTransport.js.map +1 -1
  123. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -1
  124. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -1
  125. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -1
  126. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
  127. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  128. package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js.map +1 -1
  129. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  130. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  131. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  132. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  133. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
  134. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  135. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  136. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
  137. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +1 -1
  138. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  139. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
  140. package/lib/commonjs/ui/screens/FileManagementScreen.js +2 -5
  141. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  142. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  143. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  144. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  145. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  146. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  147. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  148. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  149. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  150. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  151. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +3 -3
  152. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  153. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  154. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  155. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  156. package/lib/commonjs/ui/screens/UserListScreen.js +1 -1
  157. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  158. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  159. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
  160. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  161. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +7 -7
  162. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  163. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
  164. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
  165. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -1
  166. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -1
  167. package/lib/commonjs/ui/screens/linkFormat.js.map +1 -1
  168. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  169. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  170. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  171. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  172. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  173. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  174. package/lib/commonjs/ui/server.js.map +1 -1
  175. package/lib/commonjs/ui/session/authStore.js.map +1 -1
  176. package/lib/commonjs/ui/session/backgroundSession.js.map +1 -1
  177. package/lib/commonjs/ui/session/createSessionClient.js.map +1 -1
  178. package/lib/commonjs/ui/session/deviceCredentialTracker.js.map +1 -1
  179. package/lib/commonjs/ui/session/identityBinding.js.map +1 -1
  180. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -1
  181. package/lib/commonjs/ui/session/tokenLossRecovery.js.map +1 -1
  182. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -1
  183. package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
  184. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  185. package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
  186. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  187. package/lib/commonjs/ui/utils/clipboard.native.js +23 -6
  188. package/lib/commonjs/ui/utils/clipboard.native.js.map +1 -1
  189. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -1
  190. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
  191. package/lib/commonjs/ui/utils/fileManagement.js +24 -24
  192. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  193. package/lib/commonjs/ui/utils/iconNames.js.map +1 -1
  194. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  195. package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
  196. package/lib/commonjs/utils/hookUtils.js +2 -4
  197. package/lib/commonjs/utils/hookUtils.js.map +1 -1
  198. package/lib/module/assets/assets/icons/OxyServices.tsx +42 -40
  199. package/lib/module/assets/assets/illustrations/HighFive.tsx +58 -31
  200. package/lib/module/assets/icons/OxyServices.js.map +1 -1
  201. package/lib/module/assets/illustrations/HighFive.js.map +1 -1
  202. package/lib/module/index.js.map +1 -1
  203. package/lib/module/notifications/deviceNotifications.js +8 -4
  204. package/lib/module/notifications/deviceNotifications.js.map +1 -1
  205. package/lib/module/ui/analytics/productAnalytics.js.map +1 -1
  206. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
  207. package/lib/module/ui/client.js.map +1 -1
  208. package/lib/module/ui/components/BenefitList.js.map +1 -1
  209. package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
  210. package/lib/module/ui/components/FollowButton.js.map +1 -1
  211. package/lib/module/ui/components/FollowTargetButton.js +1 -1
  212. package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
  213. package/lib/module/ui/components/LanguageBridge.js.map +1 -1
  214. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
  215. package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
  216. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
  217. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  218. package/lib/module/ui/components/OxySignInButton.js +1 -1
  219. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  220. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
  221. package/lib/module/ui/components/PeableButton.js.map +1 -1
  222. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  223. package/lib/module/ui/components/ProfileSummaryCard.js +1 -1
  224. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
  225. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
  226. package/lib/module/ui/components/SettingsIcon.js.map +1 -1
  227. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
  228. package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
  229. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  230. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -1
  231. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
  232. package/lib/module/ui/components/authChooser/types.js.map +1 -1
  233. package/lib/module/ui/components/feedback/constants.js.map +1 -1
  234. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
  235. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  236. package/lib/module/ui/components/fileManagement/FileViewer.js +1 -1
  237. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  238. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  239. package/lib/module/ui/components/followButtonAccessibility.js.map +1 -1
  240. package/lib/module/ui/components/followRules.js.map +1 -1
  241. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -1
  242. package/lib/module/ui/components/logo/LogoText.js.map +1 -1
  243. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  244. package/lib/module/ui/components/oauthNavigation.js.map +1 -1
  245. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  246. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  247. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  248. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  249. package/lib/module/ui/components/payment/PaymentSummaryStep.js +1 -1
  250. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  251. package/lib/module/ui/components/payment/constants.js.map +1 -1
  252. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  253. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  254. package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  255. package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  256. package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  257. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  258. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  259. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  260. package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  261. package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
  262. package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  263. package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
  264. package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
  265. package/lib/module/ui/components/signIn/artwork.js.map +1 -1
  266. package/lib/module/ui/components/signIn/signInFlowStore.js.map +1 -1
  267. package/lib/module/ui/components/styles/overlay.js.map +1 -1
  268. package/lib/module/ui/components/styles/shadow.js.map +1 -1
  269. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  270. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
  271. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
  272. package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
  273. package/lib/module/ui/constants/spacing.js.map +1 -1
  274. package/lib/module/ui/context/OxyContext.js.map +1 -1
  275. package/lib/module/ui/context/commitSessionFlow.js.map +1 -1
  276. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  277. package/lib/module/ui/context/isolatedOAuthSession.js.map +1 -1
  278. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -1
  279. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -1
  280. package/lib/module/ui/hooks/accountQueryPersistence.js.map +1 -1
  281. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
  282. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  283. package/lib/module/ui/hooks/persistedQueryCache.js.map +1 -1
  284. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  285. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  286. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
  287. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  288. package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
  289. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  290. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  291. package/lib/module/ui/hooks/queries/userCache.js +38 -38
  292. package/lib/module/ui/hooks/queries/userCache.js.map +1 -1
  293. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  294. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  295. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
  296. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  297. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
  298. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
  299. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -1
  300. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  301. package/lib/module/ui/hooks/useI18n.js.map +1 -1
  302. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  303. package/lib/module/ui/hooks/useReduceMotion.js.map +1 -1
  304. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
  305. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  306. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
  307. package/lib/module/ui/hooks/useStorage.js.map +1 -1
  308. package/lib/module/ui/hooks/useSurfaceFrameWidth.js.map +1 -1
  309. package/lib/module/ui/icons/Ionicons.js.map +1 -1
  310. package/lib/module/ui/icons/MaterialCommunityIcons.js.map +1 -1
  311. package/lib/module/ui/icons/decorativeIconSet.js.map +1 -1
  312. package/lib/module/ui/index.js.map +1 -1
  313. package/lib/module/ui/isFrontend.js.map +1 -1
  314. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
  315. package/lib/module/ui/navigation/routes.js.map +1 -1
  316. package/lib/module/ui/navigation/surfaces.js.map +1 -1
  317. package/lib/module/ui/oauth/applicationSessionLane.js.map +1 -1
  318. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -1
  319. package/lib/module/ui/oauth/browserBridge.js.map +1 -1
  320. package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -1
  321. package/lib/module/ui/oauth/nativeAuthTransport.js.map +1 -1
  322. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -1
  323. package/lib/module/ui/oauth/oauthPopup.js.map +1 -1
  324. package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -1
  325. package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
  326. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  327. package/lib/module/ui/screens/AccountSecurityPanelScreen.js.map +1 -1
  328. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  329. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  330. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  331. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  332. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
  333. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  334. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  335. package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
  336. package/lib/module/ui/screens/EditProfileFieldScreen.js +1 -1
  337. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  338. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
  339. package/lib/module/ui/screens/FileManagementScreen.js +2 -5
  340. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  341. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  342. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  343. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  344. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  345. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  346. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  347. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  348. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  349. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  350. package/lib/module/ui/screens/PrivacySettingsScreen.js +3 -3
  351. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  352. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  353. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  354. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  355. package/lib/module/ui/screens/UserListScreen.js +1 -1
  356. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  357. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  358. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
  359. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  360. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +7 -7
  361. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  362. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
  363. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
  364. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -1
  365. package/lib/module/ui/screens/fileManagement/shared.js.map +1 -1
  366. package/lib/module/ui/screens/linkFormat.js.map +1 -1
  367. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  368. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  369. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  370. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  371. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  372. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  373. package/lib/module/ui/server.js.map +1 -1
  374. package/lib/module/ui/session/authStore.js.map +1 -1
  375. package/lib/module/ui/session/backgroundSession.js.map +1 -1
  376. package/lib/module/ui/session/createSessionClient.js.map +1 -1
  377. package/lib/module/ui/session/deviceCredentialTracker.js.map +1 -1
  378. package/lib/module/ui/session/identityBinding.js.map +1 -1
  379. package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -1
  380. package/lib/module/ui/session/tokenLossRecovery.js.map +1 -1
  381. package/lib/module/ui/session/tokenTransport.js.map +1 -1
  382. package/lib/module/ui/stores/assetStore.js.map +1 -1
  383. package/lib/module/ui/stores/followStore.js.map +1 -1
  384. package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
  385. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  386. package/lib/module/ui/utils/clipboard.native.js +23 -6
  387. package/lib/module/ui/utils/clipboard.native.js.map +1 -1
  388. package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -1
  389. package/lib/module/ui/utils/errorHandlers.js.map +1 -1
  390. package/lib/module/ui/utils/fileManagement.js +25 -25
  391. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  392. package/lib/module/ui/utils/iconNames.js.map +1 -1
  393. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  394. package/lib/module/ui/utils/userUtils.js.map +1 -1
  395. package/lib/module/utils/hookUtils.js +2 -4
  396. package/lib/module/utils/hookUtils.js.map +1 -1
  397. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/index.d.ts +4 -4
  400. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  401. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +8 -4
  402. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -1
  403. package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts.map +1 -1
  404. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  405. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  406. package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
  407. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  408. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +1 -1
  409. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
  410. package/lib/typescript/commonjs/ui/components/LanguageBridge.d.ts +1 -1
  411. package/lib/typescript/commonjs/ui/components/LanguageBridge.d.ts.map +1 -1
  412. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
  414. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  416. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
  418. package/lib/typescript/commonjs/ui/components/PeableButton.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  420. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
  422. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  424. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +1 -1
  425. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
  426. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -1
  428. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
  430. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -1
  432. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  434. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  436. package/lib/typescript/commonjs/ui/components/followButtonAccessibility.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/ui/components/followRules.d.ts.map +1 -1
  438. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -1
  440. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  441. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  443. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  445. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  447. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -1
  448. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
  449. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +6 -6
  450. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
  451. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  452. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
  453. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  454. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
  455. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
  456. package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  457. package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  458. package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
  460. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  462. package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts.map +1 -1
  464. package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts.map +1 -1
  465. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
  466. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  467. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -1
  468. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -1
  472. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  473. package/lib/typescript/commonjs/ui/context/isolatedOAuthSession.d.ts.map +1 -1
  474. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  475. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  477. package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts.map +1 -1
  478. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  480. package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts.map +1 -1
  481. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +2 -2
  482. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  483. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  484. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
  485. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
  486. package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  487. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  488. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +5 -5
  490. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -1
  491. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
  493. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -1
  494. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  495. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
  496. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  497. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -1
  498. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
  500. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
  501. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
  502. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -1
  503. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +1 -1
  504. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -1
  505. package/lib/typescript/commonjs/ui/hooks/useSurfaceFrameWidth.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  507. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/ui/icons/decorativeIconSet.d.ts.map +1 -1
  509. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  510. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -1
  511. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
  513. package/lib/typescript/commonjs/ui/oauth/applicationSessionLane.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  515. package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -1
  517. package/lib/typescript/commonjs/ui/oauth/nativeAuthTransport.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -1
  519. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -1
  521. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  523. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -1
  525. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  526. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  527. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  528. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  529. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -1
  530. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -1
  532. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
  533. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  534. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
  535. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  536. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  538. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  539. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  540. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  541. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  542. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
  543. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  544. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -1
  545. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  546. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  547. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  548. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  549. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  550. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  551. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
  552. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  553. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  554. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  555. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
  556. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -1
  557. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -1
  558. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -1
  559. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  560. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  561. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  563. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  565. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
  567. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -1
  569. package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
  572. package/lib/typescript/commonjs/ui/session/tokenLossRecovery.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -1
  574. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
  575. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -1
  576. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -1
  577. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  578. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -1
  579. package/lib/typescript/commonjs/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
  580. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
  581. package/lib/typescript/commonjs/ui/utils/clipboard.native.d.ts +16 -5
  582. package/lib/typescript/commonjs/ui/utils/clipboard.native.d.ts.map +1 -1
  583. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -1
  584. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +1 -1
  585. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -1
  586. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +4 -4
  587. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  588. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +1 -1
  589. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
  590. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
  591. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -1
  592. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -1
  593. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -1
  594. package/lib/typescript/module/index.d.ts +4 -4
  595. package/lib/typescript/module/index.d.ts.map +1 -1
  596. package/lib/typescript/module/notifications/deviceNotifications.d.ts +8 -4
  597. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -1
  598. package/lib/typescript/module/ui/analytics/productAnalytics.d.ts.map +1 -1
  599. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  600. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  601. package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
  602. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  603. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +1 -1
  604. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
  605. package/lib/typescript/module/ui/components/LanguageBridge.d.ts +1 -1
  606. package/lib/typescript/module/ui/components/LanguageBridge.d.ts.map +1 -1
  607. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  608. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
  609. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
  610. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  611. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  612. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
  613. package/lib/typescript/module/ui/components/PeableButton.d.ts.map +1 -1
  614. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  615. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  616. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
  617. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
  618. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  619. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +1 -1
  620. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
  621. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  622. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -1
  623. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
  624. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
  625. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -1
  626. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -1
  627. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -1
  628. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  629. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  630. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  631. package/lib/typescript/module/ui/components/followButtonAccessibility.d.ts.map +1 -1
  632. package/lib/typescript/module/ui/components/followRules.d.ts.map +1 -1
  633. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -1
  634. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -1
  635. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  636. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -1
  637. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  638. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  639. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  640. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  641. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  642. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -1
  643. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
  644. package/lib/typescript/module/ui/components/payment/types.d.ts +6 -6
  645. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
  646. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  647. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
  648. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  649. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
  650. package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
  651. package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  652. package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  653. package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
  654. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
  655. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
  656. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  657. package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  658. package/lib/typescript/module/ui/components/signIn/artwork.d.ts.map +1 -1
  659. package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts.map +1 -1
  660. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
  661. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  662. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -1
  663. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -1
  664. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -1
  665. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  666. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -1
  667. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  668. package/lib/typescript/module/ui/context/isolatedOAuthSession.d.ts.map +1 -1
  669. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  670. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -1
  671. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  672. package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts.map +1 -1
  673. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  674. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  675. package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts.map +1 -1
  676. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +2 -2
  677. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  678. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  679. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
  680. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
  681. package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  682. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  683. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  684. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +5 -5
  685. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -1
  686. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  687. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
  688. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -1
  689. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  690. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
  691. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  692. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -1
  693. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -1
  694. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
  695. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
  696. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
  697. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -1
  698. package/lib/typescript/module/ui/hooks/useStorage.d.ts +1 -1
  699. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -1
  700. package/lib/typescript/module/ui/hooks/useSurfaceFrameWidth.d.ts.map +1 -1
  701. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  702. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  703. package/lib/typescript/module/ui/icons/decorativeIconSet.d.ts.map +1 -1
  704. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  705. package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -1
  706. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  707. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
  708. package/lib/typescript/module/ui/oauth/applicationSessionLane.d.ts.map +1 -1
  709. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  710. package/lib/typescript/module/ui/oauth/browserBridge.d.ts.map +1 -1
  711. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -1
  712. package/lib/typescript/module/ui/oauth/nativeAuthTransport.d.ts.map +1 -1
  713. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -1
  714. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -1
  715. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -1
  716. package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -1
  717. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  718. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  719. package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -1
  720. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  721. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  722. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  723. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  724. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -1
  725. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  726. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -1
  727. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
  728. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  729. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
  730. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  731. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  732. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  733. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  734. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  735. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  736. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  737. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
  738. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  739. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
  740. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  741. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  742. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  743. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  744. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  745. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  746. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
  747. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  748. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  749. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  750. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
  751. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -1
  752. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -1
  753. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -1
  754. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  755. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  756. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  757. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  758. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  759. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  760. package/lib/typescript/module/ui/server.d.ts.map +1 -1
  761. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
  762. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -1
  763. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -1
  764. package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts.map +1 -1
  765. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -1
  766. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
  767. package/lib/typescript/module/ui/session/tokenLossRecovery.d.ts.map +1 -1
  768. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -1
  769. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
  770. package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -1
  771. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -1
  772. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  773. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -1
  774. package/lib/typescript/module/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
  775. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
  776. package/lib/typescript/module/ui/utils/clipboard.native.d.ts +16 -5
  777. package/lib/typescript/module/ui/utils/clipboard.native.d.ts.map +1 -1
  778. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -1
  779. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +1 -1
  780. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -1
  781. package/lib/typescript/module/ui/utils/fileManagement.d.ts +4 -4
  782. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  783. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +1 -1
  784. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
  785. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
  786. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -1
  787. package/lib/typescript/types/expo-crypto.d.ts +2 -4
  788. package/lib/typescript/types/expo-document-picker.d.ts +27 -28
  789. package/lib/typescript/types/expo-image-picker.d.ts +27 -27
  790. package/lib/typescript/types/expo-secure-store.d.ts +11 -4
  791. package/lib/typescript/types/express.d.ts +22 -7
  792. package/package.json +4 -5
  793. package/src/assets/icons/OxyServices.tsx +42 -40
  794. package/src/assets/illustrations/HighFive.tsx +58 -31
  795. package/src/index.ts +99 -86
  796. package/src/notifications/deviceNotifications.ts +9 -7
  797. package/src/types/expo-crypto.d.ts +2 -4
  798. package/src/types/expo-document-picker.d.ts +27 -28
  799. package/src/types/expo-image-picker.d.ts +27 -27
  800. package/src/types/expo-secure-store.d.ts +11 -4
  801. package/src/types/express.d.ts +22 -7
  802. package/src/ui/analytics/productAnalytics.tsx +5 -5
  803. package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +91 -29
  804. package/src/ui/boot/runProviderColdBoot.ts +12 -3
  805. package/src/ui/client.ts +31 -31
  806. package/src/ui/components/BenefitList.tsx +78 -77
  807. package/src/ui/components/BloomLocaleBridge.tsx +3 -3
  808. package/src/ui/components/FollowButton.tsx +88 -84
  809. package/src/ui/components/FollowTargetButton.tsx +15 -6
  810. package/src/ui/components/LanguageBridge.tsx +24 -19
  811. package/src/ui/components/OxyAuthChooser.tsx +17 -3
  812. package/src/ui/components/OxyAuthPrompt.tsx +79 -98
  813. package/src/ui/components/OxyConsentScreen.tsx +51 -12
  814. package/src/ui/components/OxyProvider.tsx +189 -182
  815. package/src/ui/components/OxySignInButton.tsx +415 -405
  816. package/src/ui/components/OxySignInRequestSurface.tsx +7 -1
  817. package/src/ui/components/PeableButton.tsx +57 -49
  818. package/src/ui/components/ProfileButton.tsx +158 -109
  819. package/src/ui/components/ProfileSummaryCard.tsx +64 -64
  820. package/src/ui/components/RequireOxyAuth.tsx +15 -3
  821. package/src/ui/components/SettingsIcon.tsx +24 -19
  822. package/src/ui/components/SurfaceHeaderAction.tsx +6 -1
  823. package/src/ui/components/SurfaceScreen.tsx +21 -16
  824. package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
  825. package/src/ui/components/__tests__/LanguageBridge.test.tsx +15 -5
  826. package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +21 -11
  827. package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +42 -15
  828. package/src/ui/components/__tests__/followTargetButton.test.ts +23 -20
  829. package/src/ui/components/authChooser/AccountsMenuView.tsx +70 -56
  830. package/src/ui/components/authChooser/TroubleDisclosure.tsx +6 -1
  831. package/src/ui/components/authChooser/requestSurfaces.tsx +3 -1
  832. package/src/ui/components/authChooser/types.ts +6 -1
  833. package/src/ui/components/feedback/constants.ts +36 -12
  834. package/src/ui/components/feedback/types.ts +30 -30
  835. package/src/ui/components/feedback/useFeedbackForm.ts +38 -35
  836. package/src/ui/components/fileManagement/FileDetailsModal.tsx +86 -92
  837. package/src/ui/components/fileManagement/FileViewer.tsx +362 -338
  838. package/src/ui/components/fileManagement/UploadPreview.tsx +134 -127
  839. package/src/ui/components/followButtonAccessibility.ts +6 -2
  840. package/src/ui/components/followRules.ts +6 -2
  841. package/src/ui/components/icon/FAIRWalletIcon.tsx +47 -35
  842. package/src/ui/components/logo/LogoText.tsx +6 -1
  843. package/src/ui/components/modals/DeleteAccountModal.tsx +89 -83
  844. package/src/ui/components/oauthNavigation.ts +54 -56
  845. package/src/ui/components/payment/PaymentDetailsStep.tsx +269 -201
  846. package/src/ui/components/payment/PaymentMethodStep.tsx +88 -68
  847. package/src/ui/components/payment/PaymentReviewStep.tsx +119 -102
  848. package/src/ui/components/payment/PaymentSuccessStep.tsx +48 -48
  849. package/src/ui/components/payment/PaymentSummaryStep.tsx +167 -124
  850. package/src/ui/components/payment/constants.ts +38 -23
  851. package/src/ui/components/payment/paymentStyles.ts +252 -251
  852. package/src/ui/components/payment/types.ts +24 -24
  853. package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +207 -183
  854. package/src/ui/components/photogrid/__tests__/chunkPhotos.test.ts +32 -33
  855. package/src/ui/components/signIn/InlineCommonsQr.tsx +14 -6
  856. package/src/ui/components/signIn/OxyAccountPicker.tsx +19 -4
  857. package/src/ui/components/signIn/OxyAuthScreen.tsx +21 -11
  858. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +47 -13
  859. package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +14 -4
  860. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +69 -15
  861. package/src/ui/components/signIn/OxyPasswordPanel.tsx +19 -4
  862. package/src/ui/components/signIn/OxySignInPanel.tsx +74 -21
  863. package/src/ui/components/signIn/OxySignUpPanel.tsx +60 -12
  864. package/src/ui/components/signIn/ReauthStep.tsx +26 -5
  865. package/src/ui/components/signIn/accountFlowParts.tsx +45 -16
  866. package/src/ui/components/signIn/artwork.ts +3 -1
  867. package/src/ui/components/signIn/signInFlowStore.ts +5 -1
  868. package/src/ui/components/styles/overlay.tsx +10 -11
  869. package/src/ui/components/styles/shadow.tsx +59 -59
  870. package/src/ui/components/surfaces/ActionSheetSurface.tsx +51 -61
  871. package/src/ui/components/utils/hasTouchHandler.tsx +3 -13
  872. package/src/ui/components/utils/roundLayoutSize.ts +1 -2
  873. package/src/ui/components/utils/splitStyles.ts +2 -5
  874. package/src/ui/constants/spacing.ts +8 -9
  875. package/src/ui/context/OxyContext.tsx +324 -140
  876. package/src/ui/context/__tests__/commitSessionFlow.test.ts +8 -3
  877. package/src/ui/context/__tests__/isolatedOAuthSession.test.ts +11 -3
  878. package/src/ui/context/commitSessionFlow.ts +15 -3
  879. package/src/ui/context/hooks/useAuthOperations.ts +54 -16
  880. package/src/ui/context/isolatedOAuthSession.ts +4 -1
  881. package/src/ui/context/oxyContextTypes.ts +26 -9
  882. package/src/ui/context/useOxyAccountGraph.ts +26 -4
  883. package/src/ui/hooks/accountDialogSnapshot.ts +3 -1
  884. package/src/ui/hooks/accountQueryPersistence.ts +16 -5
  885. package/src/ui/hooks/mutations/mutationFactory.ts +11 -6
  886. package/src/ui/hooks/mutations/useAccountMutations.ts +77 -54
  887. package/src/ui/hooks/mutations/useServicesMutations.ts +10 -11
  888. package/src/ui/hooks/persistedQueryCache.ts +10 -2
  889. package/src/ui/hooks/queries/__tests__/userCache.test.ts +72 -17
  890. package/src/ui/hooks/queries/__tests__/userCacheClear.test.ts +18 -23
  891. package/src/ui/hooks/queries/paymentTypes.ts +2 -2
  892. package/src/ui/hooks/queries/queryKeys.ts +5 -5
  893. package/src/ui/hooks/queries/useAccountQueries.ts +12 -17
  894. package/src/ui/hooks/queries/useFileQueries.ts +88 -92
  895. package/src/ui/hooks/queries/usePaymentQueries.ts +13 -26
  896. package/src/ui/hooks/queries/usePersonalPlans.ts +14 -6
  897. package/src/ui/hooks/queries/useSecurityQueries.ts +16 -29
  898. package/src/ui/hooks/queries/useServicesQueries.ts +17 -23
  899. package/src/ui/hooks/queries/userCache.ts +249 -270
  900. package/src/ui/hooks/queryClient.ts +9 -5
  901. package/src/ui/hooks/useAssets.ts +166 -160
  902. package/src/ui/hooks/useAsyncAction.ts +92 -91
  903. package/src/ui/hooks/useAuth.ts +45 -42
  904. package/src/ui/hooks/useAvatarPicker.ts +2 -5
  905. package/src/ui/hooks/useDeviceManagement.ts +0 -2
  906. package/src/ui/hooks/useDeviceSwitcher.ts +73 -68
  907. package/src/ui/hooks/useFileFiltering.ts +2 -2
  908. package/src/ui/hooks/useFollow.ts +139 -67
  909. package/src/ui/hooks/useFollowTarget.ts +11 -11
  910. package/src/ui/hooks/useI18n.ts +7 -2
  911. package/src/ui/hooks/useProfileEditing.ts +167 -155
  912. package/src/ui/hooks/useQueryClient.ts +2 -3
  913. package/src/ui/hooks/useReduceMotion.ts +21 -21
  914. package/src/ui/hooks/useResolvedFileUrls.ts +5 -1
  915. package/src/ui/hooks/useSessionManagement.ts +3 -1
  916. package/src/ui/hooks/useSettingToggle.ts +122 -114
  917. package/src/ui/hooks/useStorage.ts +1 -4
  918. package/src/ui/hooks/useSurfaceFrameWidth.ts +3 -1
  919. package/src/ui/icons/Ionicons.ts +1 -5
  920. package/src/ui/icons/MaterialCommunityIcons.ts +1 -5
  921. package/src/ui/icons/__tests__/decorativeIconSet.test.tsx +3 -1
  922. package/src/ui/icons/decorativeIconSet.ts +13 -2
  923. package/src/ui/index.ts +4 -4
  924. package/src/ui/isFrontend.ts +3 -2
  925. package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +83 -83
  926. package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +8 -2
  927. package/src/ui/navigation/bottomSheetManager.ts +1 -1
  928. package/src/ui/navigation/routes.ts +90 -88
  929. package/src/ui/navigation/surfaces.ts +7 -6
  930. package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +18 -11
  931. package/src/ui/oauth/__tests__/browserBridge.test.ts +108 -21
  932. package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +9 -6
  933. package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +222 -241
  934. package/src/ui/oauth/__tests__/nativeAuthTransport.test.ts +118 -35
  935. package/src/ui/oauth/__tests__/oauthBearerCommit.http.test.ts +60 -18
  936. package/src/ui/oauth/__tests__/oauthPopup.test.ts +2 -7
  937. package/src/ui/oauth/__tests__/oauthPopupMessages.test.ts +9 -7
  938. package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +4 -5
  939. package/src/ui/oauth/applicationSessionLane.ts +12 -3
  940. package/src/ui/oauth/browserAuthTransport.ts +15 -7
  941. package/src/ui/oauth/browserBridge.ts +22 -5
  942. package/src/ui/oauth/completeOAuthCode.ts +9 -6
  943. package/src/ui/oauth/nativeAuthTransport.ts +73 -20
  944. package/src/ui/oauth/oauthHandshake.ts +6 -1
  945. package/src/ui/oauth/oauthPopup.ts +6 -4
  946. package/src/ui/oauth/oauthPopupMessages.ts +3 -4
  947. package/src/ui/oauth/types.ts +1 -3
  948. package/src/ui/runtime/createOxyRuntime.ts +21 -4
  949. package/src/ui/screens/AccountMembersScreen.tsx +274 -204
  950. package/src/ui/screens/AccountSecurityPanelScreen.tsx +3 -1
  951. package/src/ui/screens/AccountSettingsScreen.tsx +133 -113
  952. package/src/ui/screens/AccountVerificationScreen.tsx +176 -161
  953. package/src/ui/screens/AppInfoScreen.tsx +360 -304
  954. package/src/ui/screens/AvatarCropScreen.tsx +977 -988
  955. package/src/ui/screens/ChangeAvatarScreen.tsx +257 -253
  956. package/src/ui/screens/ConnectedAppsScreen.tsx +117 -130
  957. package/src/ui/screens/CreateAccountScreen.tsx +173 -129
  958. package/src/ui/screens/DomainsScreen.tsx +157 -140
  959. package/src/ui/screens/EditProfileFieldScreen.tsx +693 -663
  960. package/src/ui/screens/EditProfileScreen.tsx +106 -100
  961. package/src/ui/screens/FileManagementScreen.tsx +1505 -1162
  962. package/src/ui/screens/HelpSupportScreen.tsx +88 -75
  963. package/src/ui/screens/HistoryViewScreen.tsx +143 -102
  964. package/src/ui/screens/LanguageSelectorScreen.tsx +206 -199
  965. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +92 -110
  966. package/src/ui/screens/LegalDocumentsScreen.tsx +134 -193
  967. package/src/ui/screens/ManageAccountScreen.tsx +649 -871
  968. package/src/ui/screens/NotificationsScreen.tsx +111 -143
  969. package/src/ui/screens/PaymentGatewayScreen.tsx +229 -244
  970. package/src/ui/screens/PreferencesScreen.tsx +153 -196
  971. package/src/ui/screens/PrivacySettingsScreen.tsx +509 -351
  972. package/src/ui/screens/ProfileScreen.tsx +416 -319
  973. package/src/ui/screens/SearchSettingsScreen.tsx +100 -98
  974. package/src/ui/screens/UserLinksScreen.tsx +48 -43
  975. package/src/ui/screens/UserListScreen.tsx +53 -30
  976. package/src/ui/screens/WelcomeNewUserScreen.tsx +430 -334
  977. package/src/ui/screens/__tests__/linkFormat.test.ts +58 -62
  978. package/src/ui/screens/__tests__/photoGridLayout.test.ts +43 -47
  979. package/src/ui/screens/fileManagement/FileLibraryError.tsx +33 -27
  980. package/src/ui/screens/fileManagement/FileListSection.tsx +96 -87
  981. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +508 -475
  982. package/src/ui/screens/fileManagement/UploadBar.tsx +26 -16
  983. package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +514 -490
  984. package/src/ui/screens/fileManagement/photoGridLayout.ts +13 -13
  985. package/src/ui/screens/fileManagement/shared.ts +40 -38
  986. package/src/ui/screens/linkFormat.ts +14 -14
  987. package/src/ui/screens/trust/TrustAboutScreen.tsx +53 -51
  988. package/src/ui/screens/trust/TrustCenterScreen.tsx +156 -214
  989. package/src/ui/screens/trust/TrustFAQScreen.tsx +60 -67
  990. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +183 -183
  991. package/src/ui/screens/trust/TrustRewardsScreen.tsx +495 -494
  992. package/src/ui/screens/trust/TrustRulesScreen.tsx +84 -85
  993. package/src/ui/server.ts +12 -15
  994. package/src/ui/session/__tests__/authStore.test.ts +6 -1
  995. package/src/ui/session/__tests__/createSessionClient.test.ts +22 -8
  996. package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +24 -6
  997. package/src/ui/session/__tests__/tokenLossRecovery.test.ts +3 -1
  998. package/src/ui/session/__tests__/tokenTransport.test.ts +9 -2
  999. package/src/ui/session/authStore.ts +7 -1
  1000. package/src/ui/session/backgroundSession.ts +4 -3
  1001. package/src/ui/session/createSessionClient.ts +17 -5
  1002. package/src/ui/session/deviceCredentialTracker.ts +12 -6
  1003. package/src/ui/session/identityBinding.ts +6 -1
  1004. package/src/ui/session/sharedDeviceCredentialStore.ts +15 -4
  1005. package/src/ui/session/tokenLossRecovery.ts +24 -10
  1006. package/src/ui/session/tokenTransport.ts +5 -1
  1007. package/src/ui/stores/__tests__/followStore.test.ts +20 -7
  1008. package/src/ui/stores/assetStore.ts +209 -207
  1009. package/src/ui/stores/followStore.ts +80 -39
  1010. package/src/ui/stores/followTargetStore.ts +1 -1
  1011. package/src/ui/types/fileManagement.ts +48 -49
  1012. package/src/ui/types/navigation.ts +168 -168
  1013. package/src/ui/types/surfaceScreen.ts +4 -1
  1014. package/src/ui/utils/__tests__/deviceSessionTitle.test.ts +4 -2
  1015. package/src/ui/utils/accountDeletionHandoff.ts +14 -3
  1016. package/src/ui/utils/avatarUtils.ts +7 -6
  1017. package/src/ui/utils/clipboard.native.ts +23 -6
  1018. package/src/ui/utils/commonsStoreLinks.ts +2 -1
  1019. package/src/ui/utils/errorHandlers.ts +7 -12
  1020. package/src/ui/utils/fileManagement.ts +92 -103
  1021. package/src/ui/utils/iconNames.ts +60 -60
  1022. package/src/ui/utils/sessionHelpers.ts +1 -6
  1023. package/src/ui/utils/storageHelpers.ts +0 -1
  1024. package/src/ui/utils/userUtils.ts +2 -6
  1025. package/src/utils/hookUtils.ts +77 -65
@@ -1,12 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { useCallback, useMemo, useState } from 'react';
3
- import {
4
- View,
5
- StyleSheet,
6
- ActivityIndicator,
7
- Linking,
8
- Platform,
9
- } from 'react-native';
3
+ import { View, StyleSheet, ActivityIndicator, Linking, Platform } from 'react-native';
10
4
  import Ionicons from '../icons/Ionicons';
11
5
  import { toast } from '@oxy.so/bloom/toast';
12
6
  import { surfaces } from '@oxy.so/bloom/surfaces';
@@ -14,12 +8,12 @@ import { useTheme } from '@oxy.so/bloom/theme';
14
8
  import { Text } from '@oxy.so/bloom/typography';
15
9
  import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
16
10
  import {
17
- getAccountDisplayName,
18
- getAccountFallbackHandle,
19
- getNormalizedUserHandle,
20
- logger as loggerUtil,
21
- packageInfo,
22
- type DeviceLinkedSession,
11
+ getAccountDisplayName,
12
+ getAccountFallbackHandle,
13
+ getNormalizedUserHandle,
14
+ logger as loggerUtil,
15
+ packageInfo,
16
+ type DeviceLinkedSession,
23
17
  } from '@oxy.so/core';
24
18
  import type { BaseScreenProps } from '../types/navigation';
25
19
  import ProfileSummaryCard from '../components/ProfileSummaryCard';
@@ -40,32 +34,32 @@ type DeviceSessionRow = DeviceLinkedSession;
40
34
  const AVATAR_SIZE = 88;
41
35
 
42
36
  const formatRelative = (dateString?: string): string => {
43
- if (!dateString) {
44
- return '—';
45
- }
46
- const date = new Date(dateString);
47
- const now = new Date();
48
- const diffMs = date.getTime() - now.getTime();
49
- const absMin = Math.abs(diffMs) / 60000;
50
- const isFuture = diffMs > 0;
51
- if (absMin < 1) {
52
- return isFuture ? 'in moments' : 'just now';
53
- }
54
- if (absMin < 60) {
55
- const v = Math.floor(absMin);
56
- return isFuture ? `in ${v}m` : `${v}m ago`;
57
- }
58
- const hrs = absMin / 60;
59
- if (hrs < 24) {
60
- const v = Math.floor(hrs);
61
- return isFuture ? `in ${v}h` : `${v}h ago`;
62
- }
63
- const days = hrs / 24;
64
- if (days < 7) {
65
- const v = Math.floor(days);
66
- return isFuture ? `in ${v}d` : `${v}d ago`;
67
- }
68
- return date.toLocaleDateString();
37
+ if (!dateString) {
38
+ return '—';
39
+ }
40
+ const date = new Date(dateString);
41
+ const now = new Date();
42
+ const diffMs = date.getTime() - now.getTime();
43
+ const absMin = Math.abs(diffMs) / 60000;
44
+ const isFuture = diffMs > 0;
45
+ if (absMin < 1) {
46
+ return isFuture ? 'in moments' : 'just now';
47
+ }
48
+ if (absMin < 60) {
49
+ const v = Math.floor(absMin);
50
+ return isFuture ? `in ${v}m` : `${v}m ago`;
51
+ }
52
+ const hrs = absMin / 60;
53
+ if (hrs < 24) {
54
+ const v = Math.floor(hrs);
55
+ return isFuture ? `in ${v}h` : `${v}h ago`;
56
+ }
57
+ const days = hrs / 24;
58
+ if (days < 7) {
59
+ const v = Math.floor(days);
60
+ return isFuture ? `in ${v}d` : `${v}d ago`;
61
+ }
62
+ return date.toLocaleDateString();
69
63
  };
70
64
 
71
65
  /**
@@ -76,844 +70,628 @@ const formatRelative = (dateString?: string): string => {
76
70
  * device, and security/destructive actions for THIS account. Multi-account
77
71
  * surface lives in the unified `OxyAccountDialogScreen` — keep these concerns separate.
78
72
  */
79
- const ManageAccountScreen: React.FC<BaseScreenProps> = ({
80
- onClose,
81
- goBack,
82
- navigate,
83
- }) => {
84
- const bloomTheme = useTheme();
85
- const { t, locale } = useI18n();
86
-
87
- useSurfaceHeader({ title: t('manageAccount.title') || 'Manage your Oxy Account' });
88
- const {
89
- user: contextUser,
90
- isAuthenticated,
91
- oxyServices,
92
- activeSessionId,
93
- logout,
94
- openAvatarPicker,
95
- accounts,
96
- openAccountDialog,
97
- hasIdentity,
98
- } = useOxy();
99
-
100
- const { data: userFromQuery, isLoading: userLoading } = useCurrentUser({
101
- enabled: isAuthenticated,
73
+ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate }) => {
74
+ const bloomTheme = useTheme();
75
+ const { t, locale } = useI18n();
76
+
77
+ useSurfaceHeader({ title: t('manageAccount.title') || 'Manage your Oxy Account' });
78
+ const {
79
+ user: contextUser,
80
+ isAuthenticated,
81
+ oxyServices,
82
+ activeSessionId,
83
+ logout,
84
+ openAvatarPicker,
85
+ accounts,
86
+ openAccountDialog,
87
+ hasIdentity,
88
+ } = useOxy();
89
+
90
+ const { data: userFromQuery, isLoading: userLoading } = useCurrentUser({
91
+ enabled: isAuthenticated,
92
+ });
93
+ // `user` IS the active account. In the real-session switch model, switching
94
+ // into an org/project/bot makes it the active session, so `useOxy().user`
95
+ // (and the freshest `useCurrentUser` copy) already reflects the switched
96
+ // account everywhere — identity-of-me surfaces and management/GDPR actions
97
+ // alike read this single `user`.
98
+ const user = userFromQuery ?? contextUser;
99
+
100
+ const { data: subscription } = useUserSubscription({ enabled: isAuthenticated });
101
+ const {
102
+ data: deviceSessions,
103
+ isLoading: deviceSessionsLoading,
104
+ refetch: refetchDeviceSessions,
105
+ } = useDeviceSessions({ enabled: isAuthenticated && !!activeSessionId });
106
+
107
+ const [removingDeviceId, setRemovingDeviceId] = useState<string | null>(null);
108
+ const [signingOutAllDevices, setSigningOutAllDevices] = useState(false);
109
+ const [signingOut, setSigningOut] = useState(false);
110
+
111
+ const displayName = useMemo(
112
+ () =>
113
+ user?.name?.displayName ??
114
+ getNormalizedUserHandle(user) ??
115
+ getAccountDisplayName(null, locale),
116
+ [user, locale],
117
+ );
118
+ const handle = useMemo(() => getAccountFallbackHandle(user), [user]);
119
+ const avatarUri = useMemo(() => {
120
+ return user?.avatar ? oxyServices.assets.publicUrl(user.avatar, 'thumb') : undefined;
121
+ }, [user?.avatar, oxyServices]);
122
+
123
+ const handleSignOut = useCallback(async () => {
124
+ if (signingOut) {
125
+ return;
126
+ }
127
+ const confirmed = await surfaces.confirm({
128
+ title: t('common.actions.signOut') || 'Sign out',
129
+ description: t('common.confirms.signOut') || 'Are you sure you want to sign out?',
130
+ confirmLabel: t('common.actions.signOut') || 'Sign out',
131
+ cancelLabel: t('common.cancel') || 'Cancel',
132
+ destructive: true,
102
133
  });
103
- // `user` IS the active account. In the real-session switch model, switching
104
- // into an org/project/bot makes it the active session, so `useOxy().user`
105
- // (and the freshest `useCurrentUser` copy) already reflects the switched
106
- // account everywhere — identity-of-me surfaces and management/GDPR actions
107
- // alike read this single `user`.
108
- const user = userFromQuery ?? contextUser;
109
-
110
- const { data: subscription } = useUserSubscription({ enabled: isAuthenticated });
111
- const {
112
- data: deviceSessions,
113
- isLoading: deviceSessionsLoading,
114
- refetch: refetchDeviceSessions,
115
- } = useDeviceSessions({ enabled: isAuthenticated && !!activeSessionId });
116
-
117
- const [removingDeviceId, setRemovingDeviceId] = useState<string | null>(null);
118
- const [signingOutAllDevices, setSigningOutAllDevices] = useState(false);
119
- const [signingOut, setSigningOut] = useState(false);
120
-
121
- const displayName = useMemo(
122
- () =>
123
- user?.name?.displayName ??
124
- getNormalizedUserHandle(user) ??
125
- getAccountDisplayName(null, locale),
126
- [user, locale],
127
- );
128
- const handle = useMemo(() => getAccountFallbackHandle(user), [user]);
129
- const avatarUri = useMemo(() => {
130
- return user?.avatar
131
- ? oxyServices.assets.publicUrl(user.avatar, 'thumb')
132
- : undefined;
133
- }, [user?.avatar, oxyServices]);
134
-
135
- const handleSignOut = useCallback(async () => {
136
- if (signingOut) {
137
- return;
138
- }
139
- const confirmed = await surfaces.confirm({
140
- title: t('common.actions.signOut') || 'Sign out',
141
- description: t('common.confirms.signOut') || 'Are you sure you want to sign out?',
142
- confirmLabel: t('common.actions.signOut') || 'Sign out',
143
- cancelLabel: t('common.cancel') || 'Cancel',
144
- destructive: true,
145
- });
146
- if (!confirmed) {
147
- return;
148
- }
149
- setSigningOut(true);
150
- try {
151
- await logout();
152
- toast.success(t('common.actions.signedOut') || 'Signed out');
153
- onClose?.();
154
- } catch (error) {
155
- loggerUtil.warn('Sign out failed', { component: 'ManageAccountScreen' }, error as unknown);
156
- toast.error(t('common.errors.signOutFailed') || 'Failed to sign out');
157
- } finally {
158
- setSigningOut(false);
159
- }
160
- }, [signingOut, logout, t, onClose]);
161
-
162
- const confirmRemoveDevice = useCallback(async (device: DeviceSessionRow) => {
163
- if (!activeSessionId) {
164
- return;
165
- }
166
- const confirmed = await surfaces.confirm({
167
- title: t('manageAccount.confirms.removeDeviceTitle') || 'Remove device',
168
- description:
169
- t('manageAccount.confirms.removeDevice', { name: deviceSessionTitle(device, t) }),
170
- confirmLabel: t('common.remove') || 'Remove',
171
- cancelLabel: t('common.cancel') || 'Cancel',
172
- destructive: true,
173
- });
174
- if (!confirmed) {
175
- return;
176
- }
177
- setRemovingDeviceId(device.sessionId);
178
- try {
179
- await oxyServices.session.logout(activeSessionId, device.sessionId);
180
- await refetchDeviceSessions();
181
- toast.success(
182
- t('manageAccount.toasts.deviceRemoved', { name: deviceSessionTitle(device, t) }),
183
- );
184
- } catch (error) {
185
- loggerUtil.warn('Remove device failed', { component: 'ManageAccountScreen' }, error as unknown);
186
- toast.error(t('manageAccount.toasts.deviceRemoveFailed') || 'Failed to remove device');
187
- } finally {
188
- setRemovingDeviceId(null);
189
- }
190
- }, [activeSessionId, oxyServices, refetchDeviceSessions, t]);
191
-
192
- const handleSignOutAllDevices = useCallback(async () => {
193
- if (!activeSessionId || signingOutAllDevices) {
194
- return;
195
- }
196
- const otherDeviceCount = ((deviceSessions ?? []) as DeviceSessionRow[]).filter(
197
- (device) => !device.isCurrent,
198
- ).length;
199
- const confirmed = await surfaces.confirm({
200
- title: t('manageAccount.confirms.signOutAllDevicesTitle') || 'Sign out of all other devices',
201
- description:
202
- t('manageAccount.confirms.signOutAllDevices', { count: otherDeviceCount })
203
- || `End ${otherDeviceCount} other device session(s)? This won't sign you out here.`,
204
- confirmLabel: t('common.actions.signOut') || 'Sign out',
205
- cancelLabel: t('common.cancel') || 'Cancel',
206
- destructive: true,
207
- });
208
- if (!confirmed) {
209
- return;
210
- }
211
- setSigningOutAllDevices(true);
212
- try {
213
- await oxyServices.devices.logoutAll(activeSessionId);
214
- await refetchDeviceSessions();
215
- toast.success(
216
- t('manageAccount.toasts.allDevicesSignedOut')
217
- || 'Signed out from all other devices',
218
- );
219
- } catch (error) {
220
- loggerUtil.warn('Sign out all devices failed', { component: 'ManageAccountScreen' }, error as unknown);
221
- toast.error(
222
- t('manageAccount.toasts.allDevicesFailed')
223
- || 'Failed to sign out from other devices',
224
- );
225
- } finally {
226
- setSigningOutAllDevices(false);
227
- }
228
- }, [activeSessionId, signingOutAllDevices, deviceSessions, oxyServices, refetchDeviceSessions, t]);
229
-
230
- // The signed, open-format export (`GET /users/me/export`): one JSON bundle
231
- // carrying Oxy's provenance attestation — the "credible exit" snapshot.
232
- const handleDownloadData = useCallback(
233
- async () => {
234
- if (!user) {
235
- toast.error(
236
- t('accountOverview.items.downloadData.error') || 'Service not available',
237
- );
238
- return;
239
- }
240
- try {
241
- toast.info(
242
- t('accountOverview.items.downloadData.downloading')
243
- || 'Preparing download...',
244
- );
245
- const bundle = await oxyServices.identity.export();
246
- if (Platform.OS === 'web') {
247
- const blob = new Blob([JSON.stringify(bundle, null, 2)], { type: 'application/json' });
248
- const url = URL.createObjectURL(blob);
249
- const link = document.createElement('a');
250
- link.href = url;
251
- link.download = `oxy-export-${Date.now()}.json`;
252
- document.body.appendChild(link);
253
- link.click();
254
- document.body.removeChild(link);
255
- URL.revokeObjectURL(url);
256
- }
257
- toast.success(
258
- t('accountOverview.items.downloadData.success')
259
- || 'Data downloaded successfully',
260
- );
261
- } catch (error) {
262
- loggerUtil.warn(
263
- 'Download account data failed',
264
- { component: 'ManageAccountScreen' },
265
- error as unknown,
266
- );
267
- toast.error(
268
- (error instanceof Error ? error.message : null)
269
- || t('accountOverview.items.downloadData.error')
270
- || 'Failed to download data',
271
- );
272
- }
273
- },
274
- [oxyServices, user, t],
275
- );
276
-
277
- // Runs the actual deletion from inside the delete-account surface; it throws
278
- // on failure so the surface can surface the error and stay open. Sign-out +
279
- // close happen in `handleDeleteAccount` once the surface resolves `true`.
280
- const handleConfirmDelete = useCallback(
281
- async (confirmText: string) => {
282
- if (!user) {
283
- throw new Error(
284
- t('accountOverview.items.deleteAccount.error')
285
- || 'Service not available',
286
- );
287
- }
288
- // Native deletion is signed with the identity key held on this device.
289
- await oxyServices.users.deleteMe(confirmText, { deviceKey: true });
290
- toast.success(
291
- t('accountOverview.items.deleteAccount.success')
292
- || 'Account deleted successfully',
293
- );
294
- },
295
- [oxyServices, user, t],
296
- );
297
-
298
- const handleDeleteAccount = useCallback(async () => {
299
- if (!user) {
300
- toast.error(
301
- t('accountOverview.items.deleteAccount.error') || 'User not available',
302
- );
303
- return;
304
- }
305
- // An account without a key confirms its deletion with a code by email,
306
- // right here; the panel also tells a keyed account on the web where its
307
- // key is.
308
- if (!user.publicKey || isWebBrowser()) {
309
- navigate?.('DeleteAccount');
310
- return;
311
- }
312
- // Native: the deletion is signed with the identity key. When this app
313
- // does not hold it (Commons keeps it on this device, or it lives on
314
- // another device), hand off to where it can be signed instead of
315
- // failing inside the confirmation surface.
316
- const route = await runAccountDeletionHandoff({
317
- hasIdentity,
318
- canOpenURL: (url) => Linking.canOpenURL(url),
319
- openURL: (url) => Linking.openURL(url),
320
- t,
321
- });
322
- if (route !== 'local') {
323
- return;
324
- }
325
- const deleted = await presentDeleteAccount({
326
- username: user.username || '',
327
- onDelete: handleConfirmDelete,
328
- t,
329
- });
330
- if (deleted) {
331
- await logout();
332
- onClose?.();
333
- }
334
- }, [user, t, handleConfirmDelete, hasIdentity, logout, onClose, navigate]);
335
-
336
- if (!isAuthenticated) {
337
- return (
338
- <>
339
- <View className="items-center py-space-40">
340
- <Text className="text-text font-medium text-base">
341
- {t('common.status.notSignedIn') || 'Not signed in'}
342
- </Text>
343
- </View>
344
- </>
134
+ if (!confirmed) {
135
+ return;
136
+ }
137
+ setSigningOut(true);
138
+ try {
139
+ await logout();
140
+ toast.success(t('common.actions.signedOut') || 'Signed out');
141
+ onClose?.();
142
+ } catch (error) {
143
+ loggerUtil.warn('Sign out failed', { component: 'ManageAccountScreen' }, error as unknown);
144
+ toast.error(t('common.errors.signOutFailed') || 'Failed to sign out');
145
+ } finally {
146
+ setSigningOut(false);
147
+ }
148
+ }, [signingOut, logout, t, onClose]);
149
+
150
+ const confirmRemoveDevice = useCallback(
151
+ async (device: DeviceSessionRow) => {
152
+ if (!activeSessionId) {
153
+ return;
154
+ }
155
+ const confirmed = await surfaces.confirm({
156
+ title: t('manageAccount.confirms.removeDeviceTitle') || 'Remove device',
157
+ description: t('manageAccount.confirms.removeDevice', {
158
+ name: deviceSessionTitle(device, t),
159
+ }),
160
+ confirmLabel: t('common.remove') || 'Remove',
161
+ cancelLabel: t('common.cancel') || 'Cancel',
162
+ destructive: true,
163
+ });
164
+ if (!confirmed) {
165
+ return;
166
+ }
167
+ setRemovingDeviceId(device.sessionId);
168
+ try {
169
+ await oxyServices.session.logout(activeSessionId, device.sessionId);
170
+ await refetchDeviceSessions();
171
+ toast.success(
172
+ t('manageAccount.toasts.deviceRemoved', { name: deviceSessionTitle(device, t) }),
173
+ );
174
+ } catch (error) {
175
+ loggerUtil.warn(
176
+ 'Remove device failed',
177
+ { component: 'ManageAccountScreen' },
178
+ error as unknown,
345
179
  );
180
+ toast.error(t('manageAccount.toasts.deviceRemoveFailed') || 'Failed to remove device');
181
+ } finally {
182
+ setRemovingDeviceId(null);
183
+ }
184
+ },
185
+ [activeSessionId, oxyServices, refetchDeviceSessions, t],
186
+ );
187
+
188
+ const handleSignOutAllDevices = useCallback(async () => {
189
+ if (!activeSessionId || signingOutAllDevices) {
190
+ return;
191
+ }
192
+ const otherDeviceCount = ((deviceSessions ?? []) as DeviceSessionRow[]).filter(
193
+ (device) => !device.isCurrent,
194
+ ).length;
195
+ const confirmed = await surfaces.confirm({
196
+ title: t('manageAccount.confirms.signOutAllDevicesTitle') || 'Sign out of all other devices',
197
+ description:
198
+ t('manageAccount.confirms.signOutAllDevices', { count: otherDeviceCount }) ||
199
+ `End ${otherDeviceCount} other device session(s)? This won't sign you out here.`,
200
+ confirmLabel: t('common.actions.signOut') || 'Sign out',
201
+ cancelLabel: t('common.cancel') || 'Cancel',
202
+ destructive: true,
203
+ });
204
+ if (!confirmed) {
205
+ return;
206
+ }
207
+ setSigningOutAllDevices(true);
208
+ try {
209
+ await oxyServices.devices.logoutAll(activeSessionId);
210
+ await refetchDeviceSessions();
211
+ toast.success(
212
+ t('manageAccount.toasts.allDevicesSignedOut') || 'Signed out from all other devices',
213
+ );
214
+ } catch (error) {
215
+ loggerUtil.warn(
216
+ 'Sign out all devices failed',
217
+ { component: 'ManageAccountScreen' },
218
+ error as unknown,
219
+ );
220
+ toast.error(
221
+ t('manageAccount.toasts.allDevicesFailed') || 'Failed to sign out from other devices',
222
+ );
223
+ } finally {
224
+ setSigningOutAllDevices(false);
346
225
  }
226
+ }, [
227
+ activeSessionId,
228
+ signingOutAllDevices,
229
+ deviceSessions,
230
+ oxyServices,
231
+ refetchDeviceSessions,
232
+ t,
233
+ ]);
234
+
235
+ // The signed, open-format export (`GET /users/me/export`): one JSON bundle
236
+ // carrying Oxy's provenance attestation — the "credible exit" snapshot.
237
+ const handleDownloadData = useCallback(async () => {
238
+ if (!user) {
239
+ toast.error(t('accountOverview.items.downloadData.error') || 'Service not available');
240
+ return;
241
+ }
242
+ try {
243
+ toast.info(t('accountOverview.items.downloadData.downloading') || 'Preparing download...');
244
+ const bundle = await oxyServices.identity.export();
245
+ if (Platform.OS === 'web') {
246
+ const blob = new Blob([JSON.stringify(bundle, null, 2)], { type: 'application/json' });
247
+ const url = URL.createObjectURL(blob);
248
+ const link = document.createElement('a');
249
+ link.href = url;
250
+ link.download = `oxy-export-${Date.now()}.json`;
251
+ document.body.appendChild(link);
252
+ link.click();
253
+ document.body.removeChild(link);
254
+ URL.revokeObjectURL(url);
255
+ }
256
+ toast.success(
257
+ t('accountOverview.items.downloadData.success') || 'Data downloaded successfully',
258
+ );
259
+ } catch (error) {
260
+ loggerUtil.warn(
261
+ 'Download account data failed',
262
+ { component: 'ManageAccountScreen' },
263
+ error as unknown,
264
+ );
265
+ toast.error(
266
+ (error instanceof Error ? error.message : null) ||
267
+ t('accountOverview.items.downloadData.error') ||
268
+ 'Failed to download data',
269
+ );
270
+ }
271
+ }, [oxyServices, user, t]);
272
+
273
+ // Runs the actual deletion from inside the delete-account surface; it throws
274
+ // on failure so the surface can surface the error and stay open. Sign-out +
275
+ // close happen in `handleDeleteAccount` once the surface resolves `true`.
276
+ const handleConfirmDelete = useCallback(
277
+ async (confirmText: string) => {
278
+ if (!user) {
279
+ throw new Error(t('accountOverview.items.deleteAccount.error') || 'Service not available');
280
+ }
281
+ // Native deletion is signed with the identity key held on this device.
282
+ await oxyServices.users.deleteMe(confirmText, { deviceKey: true });
283
+ toast.success(
284
+ t('accountOverview.items.deleteAccount.success') || 'Account deleted successfully',
285
+ );
286
+ },
287
+ [oxyServices, user, t],
288
+ );
347
289
 
348
- if (userLoading && !user) {
349
- return (
350
- <>
351
- <View className="items-center py-space-40">
352
- <ActivityIndicator color={bloomTheme.colors.primary} size="large" />
353
- </View>
354
- </>
355
- );
290
+ const handleDeleteAccount = useCallback(async () => {
291
+ if (!user) {
292
+ toast.error(t('accountOverview.items.deleteAccount.error') || 'User not available');
293
+ return;
294
+ }
295
+ // An account without a key confirms its deletion with a code by email,
296
+ // right here; the panel also tells a keyed account on the web where its
297
+ // key is.
298
+ if (!user.publicKey || isWebBrowser()) {
299
+ navigate?.('DeleteAccount');
300
+ return;
301
+ }
302
+ // Native: the deletion is signed with the identity key. When this app
303
+ // does not hold it (Commons keeps it on this device, or it lives on
304
+ // another device), hand off to where it can be signed instead of
305
+ // failing inside the confirmation surface.
306
+ const route = await runAccountDeletionHandoff({
307
+ hasIdentity,
308
+ canOpenURL: (url) => Linking.canOpenURL(url),
309
+ openURL: (url) => Linking.openURL(url),
310
+ t,
311
+ });
312
+ if (route !== 'local') {
313
+ return;
314
+ }
315
+ const deleted = await presentDeleteAccount({
316
+ username: user.username || '',
317
+ onDelete: handleConfirmDelete,
318
+ t,
319
+ });
320
+ if (deleted) {
321
+ await logout();
322
+ onClose?.();
356
323
  }
324
+ }, [user, t, handleConfirmDelete, hasIdentity, logout, onClose, navigate]);
357
325
 
358
- const deviceRows: DeviceSessionRow[] = (deviceSessions ?? []) as DeviceSessionRow[];
359
- const otherDevices = deviceRows.filter((d) => !d.isCurrent);
326
+ if (!isAuthenticated) {
327
+ return (
328
+ <>
329
+ <View className="items-center py-space-40">
330
+ <Text className="text-text font-medium text-base">
331
+ {t('common.status.notSignedIn') || 'Not signed in'}
332
+ </Text>
333
+ </View>
334
+ </>
335
+ );
336
+ }
360
337
 
338
+ if (userLoading && !user) {
361
339
  return (
362
- <>
363
- <View className="px-screen-margin pb-space-24">
364
- {/* Profile card */}
365
- <ProfileSummaryCard
366
- displayName={displayName}
367
- avatarUri={avatarUri}
368
- avatarSize={AVATAR_SIZE}
369
- onAvatarPress={openAvatarPicker}
370
- showCameraBadge
371
- avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
372
- lines={[
373
- handle ? (user?.username ? `@${handle}` : handle) : null,
374
- user?.email || null,
375
- ]}
376
- />
377
-
378
- {/* Profile section */}
379
- <SettingsListGroup title={t('manageAccount.sections.profile') || 'Profile'}>
380
- <SettingsListItem
381
- icon={
382
- <SettingsIcon
383
- name="account-circle"
384
- color={bloomTheme.colors.primary}
385
- />
386
- }
387
- title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
388
- description={
389
- t('manageAccount.items.editProfile.subtitle')
390
- || 'Name, username, bio, links'
391
- }
392
- onPress={() => navigate?.('EditProfile')}
393
- />
394
- <SettingsListItem
395
- icon={
396
- <SettingsIcon
397
- name="palette"
398
- color={bloomTheme.colors.info}
399
- />
400
- }
401
- title={t('manageAccount.items.theme.title') || 'Theme color'}
402
- description={
403
- t('manageAccount.items.theme.subtitle')
404
- || 'Personalize your Bloom color'
405
- }
406
- onPress={() => navigate?.('Preferences')}
407
- />
408
- <SettingsListItem
409
- icon={
410
- <SettingsIcon
411
- name="eye"
412
- color={bloomTheme.colors.success}
413
- />
414
- }
415
- title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
416
- description={
417
- t('editProfile.items.previewProfile.subtitle')
418
- || 'See how your profile looks to others'
419
- }
420
- onPress={() =>
421
- user?.id ? navigate?.('Profile', { userId: user.id }) : undefined
422
- }
423
- disabled={!user?.id}
424
- />
425
- <SettingsListItem
426
- icon={
427
- <SettingsIcon
428
- name="check-circle"
429
- color={bloomTheme.colors.primary}
430
- />
431
- }
432
- title={
433
- t('editProfile.items.verifyAccount.title') || 'Verify account'
434
- }
435
- description={
436
- t('editProfile.items.verifyAccount.subtitle')
437
- || 'Get a verified badge'
438
- }
439
- onPress={() => navigate?.('AccountVerification')}
440
- />
441
- </SettingsListGroup>
442
-
443
- {/* Sessions section */}
444
- <SettingsListGroup
445
- title={t('manageAccount.sections.sessions') || 'Sessions & devices'}
446
- >
447
- {deviceSessionsLoading ? (
448
- <SettingsListItem
449
- icon={
450
- <SettingsIcon name="sync" color={bloomTheme.colors.primary} />
451
- }
452
- title={
453
- t('manageAccount.sessions.loading') || 'Loading sessions…'
454
- }
455
- rightElement={
456
- <ActivityIndicator
457
- color={bloomTheme.colors.primary}
458
- size="small"
459
- />
460
- }
461
- showChevron={false}
462
- disabled
463
- />
464
- ) : deviceRows.length === 0 ? (
465
- <SettingsListItem
466
- icon={
467
- <SettingsIcon
468
- name="cellphone"
469
- color={bloomTheme.colors.textTertiary}
470
- />
471
- }
472
- title={t('manageAccount.sessions.empty') || 'No active sessions'}
473
- showChevron={false}
474
- disabled
475
- />
476
- ) : (
477
- deviceRows.map((device) => (
478
- <SettingsListItem
479
- key={`device-${device.sessionId}`}
480
- icon={
481
- <SettingsIcon
482
- name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
483
- color={
484
- device.isCurrent
485
- ? bloomTheme.colors.success
486
- : bloomTheme.colors.primary
487
- }
488
- />
489
- }
490
- title={deviceSessionTitle(device, t)}
491
- description={
492
- t('manageAccount.sessions.lastActive', {
493
- relative: formatRelative(device.lastActive),
494
- }) || `Last active ${formatRelative(device.lastActive)}`
495
- }
496
- onPress={
497
- device.isCurrent
498
- ? undefined
499
- : () => confirmRemoveDevice(device)
500
- }
501
- disabled={
502
- device.isCurrent
503
- || removingDeviceId === device.sessionId
504
- }
505
- rightElement={
506
- !device.isCurrent ? (
507
- removingDeviceId === device.sessionId ? (
508
- <ActivityIndicator
509
- color={bloomTheme.colors.error}
510
- size="small"
511
- />
512
- ) : (
513
- <Ionicons
514
- name="log-out-outline"
515
- size={18}
516
- color={bloomTheme.colors.error}
517
- />
518
- )
519
- ) : undefined
520
- }
521
- showChevron={false}
522
- />
523
- ))
524
- )}
525
- {otherDevices.length > 0 ? (
526
- <SettingsListItem
527
- icon={
528
- <SettingsIcon
529
- name="logout"
530
- color={bloomTheme.colors.error}
531
- />
532
- }
533
- title={
534
- t('manageAccount.sessions.signOutAllOnThisDevice')
535
- || 'Sign out of all other devices'
536
- }
537
- description={
538
- t('manageAccount.sessions.signOutAllSubtitle', {
539
- count: otherDevices.length,
540
- })
541
- || `End ${otherDevices.length} other device session(s)`
542
- }
543
- onPress={handleSignOutAllDevices}
544
- destructive
545
- showChevron={false}
546
- disabled={signingOutAllDevices}
547
- rightElement={
548
- signingOutAllDevices ? (
549
- <ActivityIndicator
550
- color={bloomTheme.colors.error}
551
- size="small"
552
- />
553
- ) : undefined
554
- }
555
- />
556
- ) : null}
557
- </SettingsListGroup>
558
-
559
- {/* Security section */}
560
- <SettingsListGroup
561
- title={t('manageAccount.sections.security') || 'Security'}
562
- >
563
- <SettingsListItem
564
- icon={
565
- <SettingsIcon
566
- name="shield-check"
567
- color={bloomTheme.colors.primary}
568
- />
569
- }
570
- title={
571
- t('manageAccount.items.security.title') || 'Security settings'
572
- }
573
- description={
574
- t('manageAccount.items.security.subtitle')
575
- || 'Password, 2FA, recovery'
576
- }
577
- onPress={() => navigate?.('PrivacySettings')}
578
- />
579
- {user && !user.publicKey ? (
580
- <>
581
- <SettingsListItem
582
- icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
583
- title={t('signInSecurity.password.title')}
584
- description={t('signInSecurity.password.row')}
585
- onPress={() => navigate?.('SignInPassword')}
586
- />
587
- <SettingsListItem
588
- icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
589
- title={t('signInSecurity.totp.title')}
590
- description={t('signInSecurity.totp.row')}
591
- onPress={() => navigate?.('SignInAuthenticator')}
592
- />
593
- <SettingsListItem
594
- icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
595
- title={t('linkCommons.title')}
596
- description={t('linkCommons.row')}
597
- onPress={() => navigate?.('LinkCommons')}
598
- />
599
- </>
600
- ) : null}
601
- {user?.isPremium || subscription?.status === 'active' ? (
602
- <SettingsListItem
603
- icon={
604
- <SettingsIcon
605
- name="credit-card"
606
- color={bloomTheme.colors.success}
607
- />
608
- }
609
- title={
610
- t('manageAccount.items.billing.title') || 'Billing'
611
- }
612
- description={
613
- t('manageAccount.items.billing.subtitle')
614
- || 'Manage subscription and payment methods'
615
- }
616
- onPress={() => navigate?.('PaymentGateway')}
617
- />
618
- ) : null}
619
- </SettingsListGroup>
620
-
621
- {/* Account & data */}
622
- <SettingsListGroup
623
- title={t('accountOverview.sections.quickActions') || 'Account & data'}
624
- >
625
- <SettingsListItem
626
- icon={
627
- <SettingsIcon name="clock" color={bloomTheme.colors.primary} />
628
- }
629
- title={t('accountOverview.items.history.title') || 'History'}
630
- description={
631
- t('accountOverview.items.history.subtitle')
632
- || 'View and manage your search history'
633
- }
634
- onPress={() => navigate?.('HistoryView')}
635
- />
636
- <SettingsListItem
637
- icon={
638
- <SettingsIcon name="folder" color={bloomTheme.colors.info} />
639
- }
640
- title={
641
- t('accountCenter.items.fileManagement.title') || 'Files'
642
- }
643
- description={
644
- t('accountCenter.items.fileManagement.subtitle')
645
- || 'Upload, download, and manage your files'
646
- }
647
- onPress={() => navigate?.('FileManagement')}
648
- />
649
- <SettingsListItem
650
- icon={
651
- <SettingsIcon
652
- name="download"
653
- color={bloomTheme.colors.primary}
654
- />
655
- }
656
- title={
657
- t('accountOverview.items.downloadData.title')
658
- || 'Download your data'
659
- }
660
- description={
661
- t('accountOverview.items.downloadData.subtitle')
662
- || 'Export a copy of your account data'
663
- }
664
- onPress={handleDownloadData}
665
- />
666
- </SettingsListGroup>
667
-
668
- {/* Accounts (unified account graph) */}
669
- {accounts.length > 0 || isAuthenticated ? (
670
- <SettingsListGroup
671
- title={
672
- t('accountCenter.sections.accounts')
673
- || 'Accounts'
674
- }
675
- >
676
- <SettingsListItem
677
- icon={
678
- <SettingsIcon
679
- name="account-switch"
680
- color={bloomTheme.colors.info}
681
- />
682
- }
683
- title={
684
- t('accounts.manage.switch.title')
685
- || 'Switch account'
686
- }
687
- description={
688
- accounts.length > 0
689
- ? (
690
- // One account is "1 account", not "1 accounts".
691
- t(
692
- accounts.length === 1
693
- ? 'accounts.manage.switch.countOne'
694
- : 'accounts.manage.switch.count',
695
- { count: accounts.length },
696
- )
697
- )
698
- : (
699
- t('accounts.manage.switch.empty')
700
- || 'Accounts you own or share'
701
- )
702
- }
703
- onPress={() => openAccountDialog('accounts')}
704
- />
705
- <SettingsListItem
706
- icon={
707
- <SettingsIcon
708
- name="account-plus"
709
- color={bloomTheme.colors.primary}
710
- />
711
- }
712
- title={
713
- t('accounts.create.title')
714
- || 'Create account'
715
- }
716
- description={
717
- t('accounts.manage.create.subtitle')
718
- || 'Add an organization, project, or bot'
719
- }
720
- onPress={() => navigate?.('CreateAccount')}
721
- />
722
- </SettingsListGroup>
723
- ) : null}
724
-
725
- {/* Preferences */}
726
- <SettingsListGroup
727
- title={t('manageAccount.sections.preferences') || 'Preferences'}
728
- >
729
- <SettingsListItem
730
- icon={
731
- <SettingsIcon name="cog" color={bloomTheme.colors.info} />
732
- }
733
- title={t('preferences.title') || 'Preferences'}
734
- description={
735
- t('preferences.subtitle')
736
- || 'Theme, motion, and regional settings'
737
- }
738
- onPress={() => navigate?.('Preferences')}
739
- />
740
- <SettingsListItem
741
- icon={
742
- <SettingsIcon name="bell" color={bloomTheme.colors.primary} />
743
- }
744
- title={t('notifications.title') || 'Notifications'}
745
- description={
746
- t('notifications.subtitle')
747
- || 'Manage push, email, and security alerts'
748
- }
749
- onPress={() => navigate?.('Notifications')}
750
- />
751
- <SettingsListItem
752
- icon={
753
- <SettingsIcon name="translate" color={bloomTheme.colors.primary} />
754
- }
755
- title={t('language.title') || 'Language'}
756
- description={
757
- t('language.subtitle') || 'Choose your preferred language'
758
- }
759
- onPress={() => navigate?.('LanguageSelector')}
760
- />
761
- <SettingsListItem
762
- icon={
763
- <SettingsIcon name="apps" color={bloomTheme.colors.info} />
764
- }
765
- title={t('connectedApps.title') || 'Connected apps'}
766
- description={
767
- t('connectedApps.subtitle')
768
- || 'Manage third-party app access'
769
- }
770
- onPress={() => navigate?.('ConnectedApps')}
771
- />
772
- <SettingsListItem
773
- icon={
774
- <SettingsIcon name="web" color={bloomTheme.colors.success} />
775
- }
776
- title={t('domains.title')}
777
- description={t('domains.subtitle')}
778
- onPress={() => navigate?.('Domains')}
779
- />
780
- <SettingsListItem
781
- icon={
782
- <SettingsIcon name="magnify" color={bloomTheme.colors.primary} />
783
- }
784
- title={
785
- t('accountOverview.items.searchSettings.title') || 'Search settings'
786
- }
787
- description={
788
- t('accountOverview.items.searchSettings.subtitle')
789
- || 'SafeSearch and personalization'
790
- }
791
- onPress={() => navigate?.('SearchSettings')}
792
- />
793
- </SettingsListGroup>
794
-
795
- {/* Support */}
796
- <SettingsListGroup
797
- title={t('accountOverview.sections.support') || 'Support'}
798
- >
799
- <SettingsListItem
800
- icon={
801
- <SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />
802
- }
803
- title={t('accountOverview.items.help.title') || 'Help & support'}
804
- description={
805
- t('accountOverview.items.help.subtitle')
806
- || 'Get help and contact support'
807
- }
808
- onPress={() => navigate?.('HelpSupport')}
809
- />
810
- <SettingsListItem
811
- icon={
812
- <SettingsIcon name="information" color={bloomTheme.colors.success} />
813
- }
814
- title={t('accountOverview.items.about.title') || 'About'}
815
- description={
816
- t('accountOverview.items.about.subtitle')
817
- || 'Version and system details'
818
- }
819
- onPress={() => navigate?.('AppInfo')}
820
- />
821
- </SettingsListGroup>
822
-
823
- {/* Legal */}
824
- <SettingsListGroup
825
- title={t('manageAccount.sections.legal') || 'Legal'}
826
- >
827
- <SettingsListItem
828
- icon={
829
- <SettingsIcon
830
- name="shield-check"
831
- color={bloomTheme.colors.primary}
832
- />
833
- }
834
- title={
835
- t('accountOverview.items.privacyPolicy.title') || 'Privacy policy'
836
- }
837
- description={
838
- t('accountOverview.items.privacyPolicy.subtitle')
839
- || 'How we handle your data'
840
- }
841
- onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
842
- />
843
- <SettingsListItem
844
- icon={
845
- <SettingsIcon
846
- name="file-document"
847
- color={bloomTheme.colors.primary}
848
- />
849
- }
850
- title={
851
- t('accountOverview.items.termsOfService.title') || 'Terms of service'
852
- }
853
- description={
854
- t('accountOverview.items.termsOfService.subtitle')
855
- || 'Terms and conditions of use'
856
- }
857
- onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
858
- />
859
- </SettingsListGroup>
860
-
861
- {/* Danger zone */}
862
- <SettingsListGroup
863
- title={t('manageAccount.sections.dangerZone') || 'Danger zone'}
864
- >
865
- <SettingsListItem
866
- icon={
867
- <SettingsIcon name="delete" color={bloomTheme.colors.error} />
868
- }
869
- title={
870
- t('accountOverview.items.deleteAccount.title') || 'Delete account'
871
- }
872
- description={
873
- t('accountOverview.items.deleteAccount.subtitle')
874
- || 'Permanently delete your account and all data'
875
- }
876
- onPress={handleDeleteAccount}
877
- destructive
878
- />
879
- </SettingsListGroup>
880
-
881
- {/* Sign out of this account */}
882
- <SettingsListGroup>
883
- <SettingsListItem
884
- icon={
885
- <SettingsIcon name="logout" color={bloomTheme.colors.error} />
886
- }
887
- title={
888
- t('manageAccount.signOutOfThisAccount')
889
- || 'Sign out of this account'
890
- }
891
- onPress={handleSignOut}
892
- destructive
893
- showChevron={false}
894
- disabled={signingOut}
895
- rightElement={
896
- signingOut ? (
897
- <ActivityIndicator
898
- color={bloomTheme.colors.error}
899
- size="small"
900
- />
901
- ) : undefined
902
- }
903
- />
904
- </SettingsListGroup>
905
-
906
- <View className="items-center mt-space-12 mb-space-8">
907
- <Text className="text-text-tertiary text-xs">
908
- {t('accountCenter.version', { version: packageInfo.version })
909
- || `Version ${packageInfo.version}`}
910
- </Text>
911
- </View>
912
-
913
- <View style={styles.footerSpacer} />
914
- </View>
915
- </>
340
+ <>
341
+ <View className="items-center py-space-40">
342
+ <ActivityIndicator color={bloomTheme.colors.primary} size="large" />
343
+ </View>
344
+ </>
916
345
  );
346
+ }
347
+
348
+ const deviceRows: DeviceSessionRow[] = (deviceSessions ?? []) as DeviceSessionRow[];
349
+ const otherDevices = deviceRows.filter((d) => !d.isCurrent);
350
+
351
+ return (
352
+ <>
353
+ <View className="px-screen-margin pb-space-24">
354
+ {/* Profile card */}
355
+ <ProfileSummaryCard
356
+ displayName={displayName}
357
+ avatarUri={avatarUri}
358
+ avatarSize={AVATAR_SIZE}
359
+ onAvatarPress={openAvatarPicker}
360
+ showCameraBadge
361
+ avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
362
+ lines={[handle ? (user?.username ? `@${handle}` : handle) : null, user?.email || null]}
363
+ />
364
+
365
+ {/* Profile section */}
366
+ <SettingsListGroup title={t('manageAccount.sections.profile') || 'Profile'}>
367
+ <SettingsListItem
368
+ icon={<SettingsIcon name="account-circle" color={bloomTheme.colors.primary} />}
369
+ title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
370
+ description={
371
+ t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links'
372
+ }
373
+ onPress={() => navigate?.('EditProfile')}
374
+ />
375
+ <SettingsListItem
376
+ icon={<SettingsIcon name="palette" color={bloomTheme.colors.info} />}
377
+ title={t('manageAccount.items.theme.title') || 'Theme color'}
378
+ description={t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color'}
379
+ onPress={() => navigate?.('Preferences')}
380
+ />
381
+ <SettingsListItem
382
+ icon={<SettingsIcon name="eye" color={bloomTheme.colors.success} />}
383
+ title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
384
+ description={
385
+ t('editProfile.items.previewProfile.subtitle') ||
386
+ 'See how your profile looks to others'
387
+ }
388
+ onPress={() => (user?.id ? navigate?.('Profile', { userId: user.id }) : undefined)}
389
+ disabled={!user?.id}
390
+ />
391
+ <SettingsListItem
392
+ icon={<SettingsIcon name="check-circle" color={bloomTheme.colors.primary} />}
393
+ title={t('editProfile.items.verifyAccount.title') || 'Verify account'}
394
+ description={t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'}
395
+ onPress={() => navigate?.('AccountVerification')}
396
+ />
397
+ </SettingsListGroup>
398
+
399
+ {/* Sessions section */}
400
+ <SettingsListGroup title={t('manageAccount.sections.sessions') || 'Sessions & devices'}>
401
+ {deviceSessionsLoading ? (
402
+ <SettingsListItem
403
+ icon={<SettingsIcon name="sync" color={bloomTheme.colors.primary} />}
404
+ title={t('manageAccount.sessions.loading') || 'Loading sessions…'}
405
+ rightElement={<ActivityIndicator color={bloomTheme.colors.primary} size="small" />}
406
+ showChevron={false}
407
+ disabled
408
+ />
409
+ ) : deviceRows.length === 0 ? (
410
+ <SettingsListItem
411
+ icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
412
+ title={t('manageAccount.sessions.empty') || 'No active sessions'}
413
+ showChevron={false}
414
+ disabled
415
+ />
416
+ ) : (
417
+ deviceRows.map((device) => (
418
+ <SettingsListItem
419
+ key={`device-${device.sessionId}`}
420
+ icon={
421
+ <SettingsIcon
422
+ name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
423
+ color={device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary}
424
+ />
425
+ }
426
+ title={deviceSessionTitle(device, t)}
427
+ description={
428
+ t('manageAccount.sessions.lastActive', {
429
+ relative: formatRelative(device.lastActive),
430
+ }) || `Last active ${formatRelative(device.lastActive)}`
431
+ }
432
+ onPress={device.isCurrent ? undefined : () => confirmRemoveDevice(device)}
433
+ disabled={device.isCurrent || removingDeviceId === device.sessionId}
434
+ rightElement={
435
+ !device.isCurrent ? (
436
+ removingDeviceId === device.sessionId ? (
437
+ <ActivityIndicator color={bloomTheme.colors.error} size="small" />
438
+ ) : (
439
+ <Ionicons name="log-out-outline" size={18} color={bloomTheme.colors.error} />
440
+ )
441
+ ) : undefined
442
+ }
443
+ showChevron={false}
444
+ />
445
+ ))
446
+ )}
447
+ {otherDevices.length > 0 ? (
448
+ <SettingsListItem
449
+ icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
450
+ title={
451
+ t('manageAccount.sessions.signOutAllOnThisDevice') ||
452
+ 'Sign out of all other devices'
453
+ }
454
+ description={
455
+ t('manageAccount.sessions.signOutAllSubtitle', {
456
+ count: otherDevices.length,
457
+ }) || `End ${otherDevices.length} other device session(s)`
458
+ }
459
+ onPress={handleSignOutAllDevices}
460
+ destructive
461
+ showChevron={false}
462
+ disabled={signingOutAllDevices}
463
+ rightElement={
464
+ signingOutAllDevices ? (
465
+ <ActivityIndicator color={bloomTheme.colors.error} size="small" />
466
+ ) : undefined
467
+ }
468
+ />
469
+ ) : null}
470
+ </SettingsListGroup>
471
+
472
+ {/* Security section */}
473
+ <SettingsListGroup title={t('manageAccount.sections.security') || 'Security'}>
474
+ <SettingsListItem
475
+ icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
476
+ title={t('manageAccount.items.security.title') || 'Security settings'}
477
+ description={t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery'}
478
+ onPress={() => navigate?.('PrivacySettings')}
479
+ />
480
+ {user && !user.publicKey ? (
481
+ <>
482
+ <SettingsListItem
483
+ icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
484
+ title={t('signInSecurity.password.title')}
485
+ description={t('signInSecurity.password.row')}
486
+ onPress={() => navigate?.('SignInPassword')}
487
+ />
488
+ <SettingsListItem
489
+ icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
490
+ title={t('signInSecurity.totp.title')}
491
+ description={t('signInSecurity.totp.row')}
492
+ onPress={() => navigate?.('SignInAuthenticator')}
493
+ />
494
+ <SettingsListItem
495
+ icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
496
+ title={t('linkCommons.title')}
497
+ description={t('linkCommons.row')}
498
+ onPress={() => navigate?.('LinkCommons')}
499
+ />
500
+ </>
501
+ ) : null}
502
+ {user?.isPremium || subscription?.status === 'active' ? (
503
+ <SettingsListItem
504
+ icon={<SettingsIcon name="credit-card" color={bloomTheme.colors.success} />}
505
+ title={t('manageAccount.items.billing.title') || 'Billing'}
506
+ description={
507
+ t('manageAccount.items.billing.subtitle') ||
508
+ 'Manage subscription and payment methods'
509
+ }
510
+ onPress={() => navigate?.('PaymentGateway')}
511
+ />
512
+ ) : null}
513
+ </SettingsListGroup>
514
+
515
+ {/* Account & data */}
516
+ <SettingsListGroup title={t('accountOverview.sections.quickActions') || 'Account & data'}>
517
+ <SettingsListItem
518
+ icon={<SettingsIcon name="clock" color={bloomTheme.colors.primary} />}
519
+ title={t('accountOverview.items.history.title') || 'History'}
520
+ description={
521
+ t('accountOverview.items.history.subtitle') || 'View and manage your search history'
522
+ }
523
+ onPress={() => navigate?.('HistoryView')}
524
+ />
525
+ <SettingsListItem
526
+ icon={<SettingsIcon name="folder" color={bloomTheme.colors.info} />}
527
+ title={t('accountCenter.items.fileManagement.title') || 'Files'}
528
+ description={
529
+ t('accountCenter.items.fileManagement.subtitle') ||
530
+ 'Upload, download, and manage your files'
531
+ }
532
+ onPress={() => navigate?.('FileManagement')}
533
+ />
534
+ <SettingsListItem
535
+ icon={<SettingsIcon name="download" color={bloomTheme.colors.primary} />}
536
+ title={t('accountOverview.items.downloadData.title') || 'Download your data'}
537
+ description={
538
+ t('accountOverview.items.downloadData.subtitle') ||
539
+ 'Export a copy of your account data'
540
+ }
541
+ onPress={handleDownloadData}
542
+ />
543
+ </SettingsListGroup>
544
+
545
+ {/* Accounts (unified account graph) */}
546
+ {accounts.length > 0 || isAuthenticated ? (
547
+ <SettingsListGroup title={t('accountCenter.sections.accounts') || 'Accounts'}>
548
+ <SettingsListItem
549
+ icon={<SettingsIcon name="account-switch" color={bloomTheme.colors.info} />}
550
+ title={t('accounts.manage.switch.title') || 'Switch account'}
551
+ description={
552
+ accounts.length > 0
553
+ ? // One account is "1 account", not "1 accounts".
554
+ t(
555
+ accounts.length === 1
556
+ ? 'accounts.manage.switch.countOne'
557
+ : 'accounts.manage.switch.count',
558
+ { count: accounts.length },
559
+ )
560
+ : t('accounts.manage.switch.empty') || 'Accounts you own or share'
561
+ }
562
+ onPress={() => openAccountDialog('accounts')}
563
+ />
564
+ <SettingsListItem
565
+ icon={<SettingsIcon name="account-plus" color={bloomTheme.colors.primary} />}
566
+ title={t('accounts.create.title') || 'Create account'}
567
+ description={
568
+ t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot'
569
+ }
570
+ onPress={() => navigate?.('CreateAccount')}
571
+ />
572
+ </SettingsListGroup>
573
+ ) : null}
574
+
575
+ {/* Preferences */}
576
+ <SettingsListGroup title={t('manageAccount.sections.preferences') || 'Preferences'}>
577
+ <SettingsListItem
578
+ icon={<SettingsIcon name="cog" color={bloomTheme.colors.info} />}
579
+ title={t('preferences.title') || 'Preferences'}
580
+ description={t('preferences.subtitle') || 'Theme, motion, and regional settings'}
581
+ onPress={() => navigate?.('Preferences')}
582
+ />
583
+ <SettingsListItem
584
+ icon={<SettingsIcon name="bell" color={bloomTheme.colors.primary} />}
585
+ title={t('notifications.title') || 'Notifications'}
586
+ description={t('notifications.subtitle') || 'Manage push, email, and security alerts'}
587
+ onPress={() => navigate?.('Notifications')}
588
+ />
589
+ <SettingsListItem
590
+ icon={<SettingsIcon name="translate" color={bloomTheme.colors.primary} />}
591
+ title={t('language.title') || 'Language'}
592
+ description={t('language.subtitle') || 'Choose your preferred language'}
593
+ onPress={() => navigate?.('LanguageSelector')}
594
+ />
595
+ <SettingsListItem
596
+ icon={<SettingsIcon name="apps" color={bloomTheme.colors.info} />}
597
+ title={t('connectedApps.title') || 'Connected apps'}
598
+ description={t('connectedApps.subtitle') || 'Manage third-party app access'}
599
+ onPress={() => navigate?.('ConnectedApps')}
600
+ />
601
+ <SettingsListItem
602
+ icon={<SettingsIcon name="web" color={bloomTheme.colors.success} />}
603
+ title={t('domains.title')}
604
+ description={t('domains.subtitle')}
605
+ onPress={() => navigate?.('Domains')}
606
+ />
607
+ <SettingsListItem
608
+ icon={<SettingsIcon name="magnify" color={bloomTheme.colors.primary} />}
609
+ title={t('accountOverview.items.searchSettings.title') || 'Search settings'}
610
+ description={
611
+ t('accountOverview.items.searchSettings.subtitle') || 'SafeSearch and personalization'
612
+ }
613
+ onPress={() => navigate?.('SearchSettings')}
614
+ />
615
+ </SettingsListGroup>
616
+
617
+ {/* Support */}
618
+ <SettingsListGroup title={t('accountOverview.sections.support') || 'Support'}>
619
+ <SettingsListItem
620
+ icon={<SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />}
621
+ title={t('accountOverview.items.help.title') || 'Help & support'}
622
+ description={t('accountOverview.items.help.subtitle') || 'Get help and contact support'}
623
+ onPress={() => navigate?.('HelpSupport')}
624
+ />
625
+ <SettingsListItem
626
+ icon={<SettingsIcon name="information" color={bloomTheme.colors.success} />}
627
+ title={t('accountOverview.items.about.title') || 'About'}
628
+ description={t('accountOverview.items.about.subtitle') || 'Version and system details'}
629
+ onPress={() => navigate?.('AppInfo')}
630
+ />
631
+ </SettingsListGroup>
632
+
633
+ {/* Legal */}
634
+ <SettingsListGroup title={t('manageAccount.sections.legal') || 'Legal'}>
635
+ <SettingsListItem
636
+ icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
637
+ title={t('accountOverview.items.privacyPolicy.title') || 'Privacy policy'}
638
+ description={
639
+ t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data'
640
+ }
641
+ onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
642
+ />
643
+ <SettingsListItem
644
+ icon={<SettingsIcon name="file-document" color={bloomTheme.colors.primary} />}
645
+ title={t('accountOverview.items.termsOfService.title') || 'Terms of service'}
646
+ description={
647
+ t('accountOverview.items.termsOfService.subtitle') || 'Terms and conditions of use'
648
+ }
649
+ onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
650
+ />
651
+ </SettingsListGroup>
652
+
653
+ {/* Danger zone */}
654
+ <SettingsListGroup title={t('manageAccount.sections.dangerZone') || 'Danger zone'}>
655
+ <SettingsListItem
656
+ icon={<SettingsIcon name="delete" color={bloomTheme.colors.error} />}
657
+ title={t('accountOverview.items.deleteAccount.title') || 'Delete account'}
658
+ description={
659
+ t('accountOverview.items.deleteAccount.subtitle') ||
660
+ 'Permanently delete your account and all data'
661
+ }
662
+ onPress={handleDeleteAccount}
663
+ destructive
664
+ />
665
+ </SettingsListGroup>
666
+
667
+ {/* Sign out of this account */}
668
+ <SettingsListGroup>
669
+ <SettingsListItem
670
+ icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
671
+ title={t('manageAccount.signOutOfThisAccount') || 'Sign out of this account'}
672
+ onPress={handleSignOut}
673
+ destructive
674
+ showChevron={false}
675
+ disabled={signingOut}
676
+ rightElement={
677
+ signingOut ? (
678
+ <ActivityIndicator color={bloomTheme.colors.error} size="small" />
679
+ ) : undefined
680
+ }
681
+ />
682
+ </SettingsListGroup>
683
+
684
+ <View className="items-center mt-space-12 mb-space-8">
685
+ <Text className="text-text-tertiary text-xs">
686
+ {t('accountCenter.version', { version: packageInfo.version }) ||
687
+ `Version ${packageInfo.version}`}
688
+ </Text>
689
+ </View>
690
+
691
+ <View style={styles.footerSpacer} />
692
+ </View>
693
+ </>
694
+ );
917
695
  };
918
696
 
919
697
  // Layout-only styles: flex centering, the absolutely-positioned avatar badge,
@@ -921,9 +699,9 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
921
699
  // spacing, radius, and typography roles live on Bloom components + NativeWind
922
700
  // token classes.
923
701
  const styles = StyleSheet.create({
924
- footerSpacer: {
925
- height: 24,
926
- },
702
+ footerSpacer: {
703
+ height: 24,
704
+ },
927
705
  });
928
706
 
929
707
  export default ManageAccountScreen;