@oxy.so/services 11.14.0 → 11.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/assets/one/README.md +8 -0
- package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/one/README.md +8 -0
- package/lib/commonjs/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +36 -6
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +7 -5
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
- package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +32 -58
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
- package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
- package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +2 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +3 -3
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +37 -0
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +27 -101
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
- package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js +19 -7
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/one-video.js +50 -0
- package/lib/commonjs/ui/one-video.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +33 -188
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
- package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +16 -81
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/index.js +7 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/assets/one/README.md +8 -0
- package/lib/module/assets/assets/one/floral.jpg +0 -0
- package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/module/assets/assets/one/floral.mp4 +0 -0
- package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/one/README.md +8 -0
- package/lib/module/assets/one/floral.jpg +0 -0
- package/lib/module/assets/one/floral.mp4 +0 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +2 -3
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +29 -24
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +8 -32
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +38 -6
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +6 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +17 -43
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js +14 -25
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +39 -48
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
- package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +21 -70
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +7 -51
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
- package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/module/ui/context/oxySupportContext.js +7 -0
- package/lib/module/ui/context/oxySupportContext.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
- package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +4 -0
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +2 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +24 -102
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/screenComponents.js +96 -0
- package/lib/module/ui/navigation/screenComponents.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js +19 -7
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/one-video.js +45 -0
- package/lib/module/ui/one-video.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +36 -35
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +6 -13
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +18 -15
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +33 -188
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +9 -9
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyOneScreen.js +208 -0
- package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +11 -11
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +310 -235
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +68 -0
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +67 -59
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +18 -83
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/index.js +1 -0
- package/lib/module/ui/screens/index.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
- package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +1 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
- package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +1 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/one-video.d.ts +3 -0
- package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/index.d.ts +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/types/assets.d.ts +10 -0
- package/package.json +28 -12
- package/plugins/withOxySharedPermissions.js +2 -1
- package/plugins/withSharedDeviceSessionProvider.js +2 -1
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +9 -9
- package/src/assets/one/README.md +8 -0
- package/src/assets/one/floral.jpg +0 -0
- package/src/assets/one/floral.jpg.d.ts +2 -0
- package/src/assets/one/floral.mp4 +0 -0
- package/src/assets/one/floral.mp4.d.ts +2 -0
- package/src/index.ts +9 -1
- package/src/types/assets.d.ts +10 -0
- package/src/ui/client.ts +2 -3
- package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
- package/src/ui/components/BloomLocaleBridge.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +1 -1
- package/src/ui/components/LanguageBridge.tsx +1 -1
- package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
- package/src/ui/components/OxyAuthChooser.tsx +28 -24
- package/src/ui/components/OxyConsentScreen.tsx +8 -25
- package/src/ui/components/OxyOAuthCallback.tsx +3 -2
- package/src/ui/components/OxyProvider.tsx +34 -8
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +17 -4
- package/src/ui/components/ProfileSummaryCard.tsx +27 -68
- package/src/ui/components/RequireOxyAuth.tsx +16 -38
- package/src/ui/components/SettingsIcon.tsx +8 -33
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +56 -49
- package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
- package/src/ui/components/authChooser/storageUsage.ts +75 -0
- package/src/ui/components/authChooser/styles.ts +14 -76
- package/src/ui/components/authChooser/types.ts +6 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
- package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
- package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
- package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
- package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
- package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
- package/src/ui/components/signIn/ReauthStep.tsx +26 -16
- package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
- package/src/ui/components/supervision/PersonPicker.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +15 -79
- package/src/ui/context/oxyContextTypes.ts +1 -0
- package/src/ui/context/oxyRuntimeContext.ts +69 -0
- package/src/ui/context/oxySupportContext.ts +9 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
- package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
- package/src/ui/hooks/queries/useFileQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
- package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/queries/useSupervision.ts +1 -1
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
- package/src/ui/hooks/useDisplayCurrency.ts +1 -1
- package/src/ui/hooks/useFollow.ts +1 -1
- package/src/ui/hooks/useFollowTarget.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +48 -23
- package/src/ui/hooks/useOxyEvent.ts +1 -1
- package/src/ui/hooks/useSurfaceHeader.ts +50 -2
- package/src/ui/hooks/useUsernameAvailability.ts +57 -0
- package/src/ui/icons/subsetGlyphMaps.ts +4 -4
- package/src/ui/index.ts +5 -0
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
- package/src/ui/navigation/accountDialogManager.ts +16 -1
- package/src/ui/navigation/bottomSheetManager.ts +3 -3
- package/src/ui/navigation/routes.ts +75 -103
- package/src/ui/navigation/screenComponents.ts +96 -0
- package/src/ui/navigation/surfaceBackBridge.ts +1 -1
- package/src/ui/navigation/surfaceNavStack.ts +33 -6
- package/src/ui/navigation/surfaceRegistry.ts +7 -1
- package/src/ui/navigation/surfaces.ts +30 -15
- package/src/ui/one-video.tsx +44 -0
- package/src/ui/runtime/createOxyRuntime.ts +7 -1
- package/src/ui/screens/AccountMembersScreen.tsx +6 -6
- package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +41 -42
- package/src/ui/screens/AvatarCropScreen.tsx +33 -57
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
- package/src/ui/screens/ConnectedAppsScreen.tsx +11 -15
- package/src/ui/screens/CreateAccountScreen.tsx +13 -13
- package/src/ui/screens/DomainsScreen.tsx +9 -14
- package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
- package/src/ui/screens/EditProfileScreen.tsx +21 -18
- package/src/ui/screens/FileManagementScreen.tsx +44 -205
- package/src/ui/screens/FileTrashScreen.tsx +1 -1
- package/src/ui/screens/HelpSupportScreen.tsx +59 -53
- package/src/ui/screens/HistoryViewScreen.tsx +10 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
- package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
- package/src/ui/screens/ManageAccountScreen.tsx +367 -340
- package/src/ui/screens/NotificationsScreen.tsx +12 -12
- package/src/ui/screens/OxyOneScreen.tsx +223 -0
- package/src/ui/screens/PreferencesScreen.tsx +15 -15
- package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
- package/src/ui/screens/ProfileScreen.tsx +242 -268
- package/src/ui/screens/ReportBugScreen.tsx +68 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
- package/src/ui/screens/SupervisionScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +85 -62
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/fileManagement/FileListSection.tsx +7 -6
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +15 -78
- package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
- package/src/ui/screens/index.ts +1 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
- package/src/ui/types/navigation.ts +12 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/types/expo-document-picker.d.ts +0 -35
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/src/types/expo-document-picker.d.ts +0 -35
- package/src/types/expo-image-picker.d.ts +0 -35
- package/src/ui/screens/UserLinksScreen.tsx +0 -68
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { OrganizationClaimReview } from '../components/organizations/OrganizationClaimReview';
|
|
2
2
|
import { OrganizationClaims } from '../components/organizations/OrganizationClaims';
|
|
3
|
+
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
3
4
|
import type React from 'react';
|
|
4
5
|
import { useCallback, useMemo, useState } from 'react';
|
|
5
|
-
import { View, StyleSheet,
|
|
6
|
+
import { View, StyleSheet, Linking, Platform } from 'react-native';
|
|
6
7
|
import Ionicons from '../icons/Ionicons';
|
|
7
8
|
import { toast } from '@oxy.so/bloom/toast';
|
|
8
9
|
import { surfaces } from '@oxy.so/bloom/surfaces';
|
|
9
10
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
10
11
|
import { Text } from '@oxy.so/bloom/typography';
|
|
11
|
-
import {
|
|
12
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
12
13
|
import {
|
|
13
14
|
getAccountDisplayName,
|
|
14
15
|
getAccountFallbackHandle,
|
|
@@ -22,7 +23,7 @@ import ProfileSummaryCard from '../components/ProfileSummaryCard';
|
|
|
22
23
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
23
24
|
import { presentDeleteAccount } from '../components/modals/DeleteAccountModal';
|
|
24
25
|
import { runAccountDeletionHandoff } from '../utils/accountDeletionHandoff';
|
|
25
|
-
import { useOxy } from '../context/
|
|
26
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
26
27
|
import { useI18n } from '../hooks/useI18n';
|
|
27
28
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
28
29
|
import { isWebBrowser } from '../utils/isWebBrowser';
|
|
@@ -33,8 +34,6 @@ import { deviceSessionTitle } from '../utils/deviceSessionTitle';
|
|
|
33
34
|
|
|
34
35
|
type DeviceSessionRow = DeviceLinkedSession;
|
|
35
36
|
|
|
36
|
-
const AVATAR_SIZE = 88;
|
|
37
|
-
|
|
38
37
|
const formatRelative = (dateString?: string): string => {
|
|
39
38
|
if (!dateString) {
|
|
40
39
|
return '—';
|
|
@@ -72,11 +71,22 @@ const formatRelative = (dateString?: string): string => {
|
|
|
72
71
|
* device, and security/destructive actions for THIS account. Multi-account
|
|
73
72
|
* surface lives in the unified `OxyAccountDialogScreen` — keep these concerns separate.
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
interface ManageAccountScreenProps extends BaseScreenProps {
|
|
75
|
+
section?: 'data';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const ManageAccountScreen: React.FC<ManageAccountScreenProps> = ({
|
|
79
|
+
onClose,
|
|
80
|
+
goBack,
|
|
81
|
+
navigate,
|
|
82
|
+
section,
|
|
83
|
+
}) => {
|
|
76
84
|
const bloomTheme = useTheme();
|
|
77
85
|
const { t, locale } = useI18n();
|
|
78
86
|
|
|
79
|
-
useSurfaceHeader({
|
|
87
|
+
useSurfaceHeader({
|
|
88
|
+
title: section === 'data' ? t('accountMenu.data') : t('manageAccount.title'),
|
|
89
|
+
});
|
|
80
90
|
const {
|
|
81
91
|
user: contextUser,
|
|
82
92
|
isAuthenticated,
|
|
@@ -337,212 +347,220 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
|
|
|
337
347
|
);
|
|
338
348
|
}
|
|
339
349
|
|
|
340
|
-
if (userLoading && !user) {
|
|
341
|
-
return (
|
|
342
|
-
<>
|
|
343
|
-
<View className="items-center py-space-40">
|
|
344
|
-
<ActivityIndicator color={bloomTheme.colors.primary} size="large" />
|
|
345
|
-
</View>
|
|
346
|
-
</>
|
|
347
|
-
);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
350
|
const deviceRows: DeviceSessionRow[] = (deviceSessions ?? []) as DeviceSessionRow[];
|
|
351
351
|
const otherDevices = deviceRows.filter((d) => !d.isCurrent);
|
|
352
352
|
|
|
353
353
|
return (
|
|
354
354
|
<>
|
|
355
355
|
<View className="px-screen-margin pb-space-24">
|
|
356
|
-
{
|
|
357
|
-
<ProfileSummaryCard
|
|
358
|
-
displayName={displayName}
|
|
359
|
-
avatarUri={avatarUri}
|
|
360
|
-
avatarSize={AVATAR_SIZE}
|
|
361
|
-
onAvatarPress={openAvatarPicker}
|
|
362
|
-
showCameraBadge
|
|
363
|
-
avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
|
|
364
|
-
lines={[handle ? (user?.username ? `@${handle}` : handle) : null, user?.email || null]}
|
|
365
|
-
/>
|
|
366
|
-
|
|
367
|
-
{/* Profile section */}
|
|
368
|
-
<SettingsListGroup title={t('manageAccount.sections.profile') || 'Profile'}>
|
|
369
|
-
<SettingsListItem
|
|
370
|
-
icon={<SettingsIcon name="account-circle" color={bloomTheme.colors.primary} />}
|
|
371
|
-
title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
|
|
372
|
-
description={
|
|
373
|
-
t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links'
|
|
374
|
-
}
|
|
375
|
-
onPress={() => navigate?.('EditProfile')}
|
|
376
|
-
/>
|
|
377
|
-
<SettingsListItem
|
|
378
|
-
icon={<SettingsIcon name="palette" color={bloomTheme.colors.info} />}
|
|
379
|
-
title={t('manageAccount.items.theme.title') || 'Theme color'}
|
|
380
|
-
description={t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color'}
|
|
381
|
-
onPress={() => navigate?.('Preferences')}
|
|
382
|
-
/>
|
|
383
|
-
<SettingsListItem
|
|
384
|
-
icon={<SettingsIcon name="eye" color={bloomTheme.colors.success} />}
|
|
385
|
-
title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
|
|
386
|
-
description={
|
|
387
|
-
t('editProfile.items.previewProfile.subtitle') ||
|
|
388
|
-
'See how your profile looks to others'
|
|
389
|
-
}
|
|
390
|
-
onPress={() => (user?.id ? navigate?.('Profile', { userId: user.id }) : undefined)}
|
|
391
|
-
disabled={!user?.id}
|
|
392
|
-
/>
|
|
393
|
-
<SettingsListItem
|
|
394
|
-
icon={<SettingsIcon name="check-circle" color={bloomTheme.colors.primary} />}
|
|
395
|
-
title={t('editProfile.items.verifyAccount.title') || 'Verify account'}
|
|
396
|
-
description={t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'}
|
|
397
|
-
onPress={() => navigate?.('AccountVerification')}
|
|
398
|
-
/>
|
|
399
|
-
</SettingsListGroup>
|
|
400
|
-
|
|
401
|
-
{user?.kind === 'organization' ? (
|
|
402
|
-
<SettingsListGroup title={t('organizationDirectory.title')}>
|
|
403
|
-
<SettingsListItem
|
|
404
|
-
title={t('organizationDirectory.view')}
|
|
405
|
-
onPress={() => navigate?.('AccountSettings', { accountId: user.id })}
|
|
406
|
-
/>
|
|
407
|
-
</SettingsListGroup>
|
|
408
|
-
) : null}
|
|
409
|
-
|
|
410
|
-
{user?.kind === 'personal' ? (
|
|
356
|
+
{section !== 'data' ? (
|
|
411
357
|
<>
|
|
412
|
-
|
|
413
|
-
<
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
358
|
+
{/* Profile card */}
|
|
359
|
+
<ProfileSummaryCard
|
|
360
|
+
displayName={displayName}
|
|
361
|
+
avatarUri={avatarUri}
|
|
362
|
+
onAvatarPress={openAvatarPicker}
|
|
363
|
+
showCameraBadge
|
|
364
|
+
avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
|
|
365
|
+
lines={[
|
|
366
|
+
handle ? (user?.username ? `@${handle}` : handle) : null,
|
|
367
|
+
user?.email || null,
|
|
368
|
+
]}
|
|
423
369
|
/>
|
|
424
|
-
</SettingsListGroup>
|
|
425
|
-
) : null}
|
|
426
370
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
showChevron={false}
|
|
435
|
-
disabled
|
|
436
|
-
/>
|
|
437
|
-
) : deviceRows.length === 0 ? (
|
|
438
|
-
<SettingsListItem
|
|
439
|
-
icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
|
|
440
|
-
title={t('manageAccount.sessions.empty') || 'No active sessions'}
|
|
441
|
-
showChevron={false}
|
|
442
|
-
disabled
|
|
443
|
-
/>
|
|
444
|
-
) : (
|
|
445
|
-
deviceRows.map((device) => (
|
|
446
|
-
<SettingsListItem
|
|
447
|
-
key={`device-${device.sessionId}`}
|
|
448
|
-
icon={
|
|
449
|
-
<SettingsIcon
|
|
450
|
-
name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
|
|
451
|
-
color={device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary}
|
|
452
|
-
/>
|
|
371
|
+
{/* Profile section */}
|
|
372
|
+
<GroupedSection title={t('manageAccount.sections.profile') || 'Profile'}>
|
|
373
|
+
<GroupedSectionItem
|
|
374
|
+
icon={<SettingsIcon name="account-circle" color={bloomTheme.colors.primary} />}
|
|
375
|
+
title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
|
|
376
|
+
description={
|
|
377
|
+
t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links'
|
|
453
378
|
}
|
|
454
|
-
|
|
379
|
+
onPress={() => navigate?.('EditProfile')}
|
|
380
|
+
/>
|
|
381
|
+
<GroupedSectionItem
|
|
382
|
+
icon={<SettingsIcon name="palette" color={bloomTheme.colors.info} />}
|
|
383
|
+
title={t('manageAccount.items.theme.title') || 'Theme color'}
|
|
455
384
|
description={
|
|
456
|
-
t('manageAccount.
|
|
457
|
-
relative: formatRelative(device.lastActive),
|
|
458
|
-
}) || `Last active ${formatRelative(device.lastActive)}`
|
|
385
|
+
t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color'
|
|
459
386
|
}
|
|
460
|
-
onPress={
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
)
|
|
469
|
-
) : undefined
|
|
387
|
+
onPress={() => navigate?.('Preferences')}
|
|
388
|
+
/>
|
|
389
|
+
<GroupedSectionItem
|
|
390
|
+
icon={<SettingsIcon name="eye" color={bloomTheme.colors.success} />}
|
|
391
|
+
title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
|
|
392
|
+
description={
|
|
393
|
+
t('editProfile.items.previewProfile.subtitle') ||
|
|
394
|
+
'See how your profile looks to others'
|
|
470
395
|
}
|
|
471
|
-
|
|
396
|
+
onPress={() => (user?.id ? navigate?.('Profile', { userId: user.id }) : undefined)}
|
|
397
|
+
disabled={!user?.id}
|
|
472
398
|
/>
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
'Sign out of all other devices'
|
|
481
|
-
}
|
|
482
|
-
description={
|
|
483
|
-
t('manageAccount.sessions.signOutAllSubtitle', {
|
|
484
|
-
count: otherDevices.length,
|
|
485
|
-
}) || `End ${otherDevices.length} other device session(s)`
|
|
486
|
-
}
|
|
487
|
-
onPress={handleSignOutAllDevices}
|
|
488
|
-
destructive
|
|
489
|
-
showChevron={false}
|
|
490
|
-
disabled={signingOutAllDevices}
|
|
491
|
-
rightElement={
|
|
492
|
-
signingOutAllDevices ? (
|
|
493
|
-
<ActivityIndicator color={bloomTheme.colors.error} size="small" />
|
|
494
|
-
) : undefined
|
|
495
|
-
}
|
|
496
|
-
/>
|
|
497
|
-
) : null}
|
|
498
|
-
</SettingsListGroup>
|
|
499
|
-
|
|
500
|
-
{/* Security section */}
|
|
501
|
-
<SettingsListGroup title={t('manageAccount.sections.security') || 'Security'}>
|
|
502
|
-
<SettingsListItem
|
|
503
|
-
icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
|
|
504
|
-
title={t('manageAccount.items.security.title') || 'Security settings'}
|
|
505
|
-
description={t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery'}
|
|
506
|
-
onPress={() => navigate?.('PrivacySettings')}
|
|
507
|
-
/>
|
|
508
|
-
{user && !user.publicKey ? (
|
|
509
|
-
<>
|
|
510
|
-
<SettingsListItem
|
|
511
|
-
icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
|
|
512
|
-
title={t('signInSecurity.password.title')}
|
|
513
|
-
description={t('signInSecurity.password.row')}
|
|
514
|
-
onPress={() => navigate?.('SignInPassword')}
|
|
399
|
+
<GroupedSectionItem
|
|
400
|
+
icon={<SettingsIcon name="check-circle" color={bloomTheme.colors.primary} />}
|
|
401
|
+
title={t('editProfile.items.verifyAccount.title') || 'Verify account'}
|
|
402
|
+
description={
|
|
403
|
+
t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'
|
|
404
|
+
}
|
|
405
|
+
onPress={() => navigate?.('AccountVerification')}
|
|
515
406
|
/>
|
|
516
|
-
|
|
407
|
+
</GroupedSection>
|
|
408
|
+
|
|
409
|
+
{user?.kind === 'organization' ? (
|
|
410
|
+
<GroupedSection title={t('organizationDirectory.title')}>
|
|
411
|
+
<GroupedSectionItem
|
|
412
|
+
title={t('organizationDirectory.view')}
|
|
413
|
+
onPress={() => navigate?.('AccountSettings', { accountId: user.id })}
|
|
414
|
+
/>
|
|
415
|
+
</GroupedSection>
|
|
416
|
+
) : null}
|
|
417
|
+
|
|
418
|
+
{user?.kind === 'personal' ? (
|
|
419
|
+
<>
|
|
420
|
+
<OrganizationClaims key={user.id} />
|
|
421
|
+
<OrganizationClaimReview key={`review:${user.id}`} />
|
|
422
|
+
</>
|
|
423
|
+
) : null}
|
|
424
|
+
|
|
425
|
+
{user?.kind === 'personal' ? (
|
|
426
|
+
<GroupedSection title={t('supervision.title')}>
|
|
427
|
+
<GroupedSectionItem
|
|
428
|
+
title={t('supervision.title')}
|
|
429
|
+
description={t('supervision.entryDescription')}
|
|
430
|
+
onPress={() => navigate?.('Supervision')}
|
|
431
|
+
/>
|
|
432
|
+
</GroupedSection>
|
|
433
|
+
) : null}
|
|
434
|
+
|
|
435
|
+
{/* Sessions section */}
|
|
436
|
+
<GroupedSection title={t('manageAccount.sections.sessions') || 'Sessions & devices'}>
|
|
437
|
+
{deviceSessionsLoading ? (
|
|
438
|
+
<GroupedSectionItem
|
|
439
|
+
icon={<SettingsIcon name="sync" color={bloomTheme.colors.primary} />}
|
|
440
|
+
title={t('manageAccount.sessions.loading') || 'Loading sessions…'}
|
|
441
|
+
rightElement={null}
|
|
442
|
+
showChevron={false}
|
|
443
|
+
disabled
|
|
444
|
+
/>
|
|
445
|
+
) : deviceRows.length === 0 ? (
|
|
446
|
+
<GroupedSectionItem
|
|
447
|
+
icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
|
|
448
|
+
title={t('manageAccount.sessions.empty') || 'No active sessions'}
|
|
449
|
+
showChevron={false}
|
|
450
|
+
disabled
|
|
451
|
+
/>
|
|
452
|
+
) : (
|
|
453
|
+
deviceRows.map((device) => (
|
|
454
|
+
<GroupedSectionItem
|
|
455
|
+
key={`device-${device.sessionId}`}
|
|
456
|
+
icon={
|
|
457
|
+
<SettingsIcon
|
|
458
|
+
name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
|
|
459
|
+
color={
|
|
460
|
+
device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary
|
|
461
|
+
}
|
|
462
|
+
/>
|
|
463
|
+
}
|
|
464
|
+
title={deviceSessionTitle(device, t)}
|
|
465
|
+
description={
|
|
466
|
+
t('manageAccount.sessions.lastActive', {
|
|
467
|
+
relative: formatRelative(device.lastActive),
|
|
468
|
+
}) || `Last active ${formatRelative(device.lastActive)}`
|
|
469
|
+
}
|
|
470
|
+
onPress={device.isCurrent ? undefined : () => confirmRemoveDevice(device)}
|
|
471
|
+
disabled={device.isCurrent || removingDeviceId === device.sessionId}
|
|
472
|
+
rightElement={
|
|
473
|
+
!device.isCurrent ? (
|
|
474
|
+
removingDeviceId === device.sessionId ? (
|
|
475
|
+
<SpinnerIcon color={bloomTheme.colors.error} size={16} />
|
|
476
|
+
) : (
|
|
477
|
+
<Ionicons
|
|
478
|
+
name="log-out-outline"
|
|
479
|
+
size={18}
|
|
480
|
+
color={bloomTheme.colors.error}
|
|
481
|
+
/>
|
|
482
|
+
)
|
|
483
|
+
) : undefined
|
|
484
|
+
}
|
|
485
|
+
showChevron={false}
|
|
486
|
+
/>
|
|
487
|
+
))
|
|
488
|
+
)}
|
|
489
|
+
{otherDevices.length > 0 ? (
|
|
490
|
+
<GroupedSectionItem
|
|
491
|
+
icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
|
|
492
|
+
title={
|
|
493
|
+
t('manageAccount.sessions.signOutAllOnThisDevice') ||
|
|
494
|
+
'Sign out of all other devices'
|
|
495
|
+
}
|
|
496
|
+
description={
|
|
497
|
+
t('manageAccount.sessions.signOutAllSubtitle', {
|
|
498
|
+
count: otherDevices.length,
|
|
499
|
+
}) || `End ${otherDevices.length} other device session(s)`
|
|
500
|
+
}
|
|
501
|
+
onPress={handleSignOutAllDevices}
|
|
502
|
+
destructive
|
|
503
|
+
showChevron={false}
|
|
504
|
+
disabled={signingOutAllDevices}
|
|
505
|
+
rightElement={
|
|
506
|
+
signingOutAllDevices ? (
|
|
507
|
+
<SpinnerIcon color={bloomTheme.colors.error} size={16} />
|
|
508
|
+
) : undefined
|
|
509
|
+
}
|
|
510
|
+
/>
|
|
511
|
+
) : null}
|
|
512
|
+
</GroupedSection>
|
|
513
|
+
|
|
514
|
+
{/* Security section */}
|
|
515
|
+
<GroupedSection title={t('manageAccount.sections.security') || 'Security'}>
|
|
516
|
+
<GroupedSectionItem
|
|
517
517
|
icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
|
|
518
|
-
title={t('
|
|
519
|
-
description={
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
|
|
524
|
-
title={t('linkCommons.title')}
|
|
525
|
-
description={t('linkCommons.row')}
|
|
526
|
-
onPress={() => navigate?.('LinkCommons')}
|
|
518
|
+
title={t('manageAccount.items.security.title') || 'Security settings'}
|
|
519
|
+
description={
|
|
520
|
+
t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery'
|
|
521
|
+
}
|
|
522
|
+
onPress={() => navigate?.('PrivacySettings')}
|
|
527
523
|
/>
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
524
|
+
{user && !user.publicKey ? (
|
|
525
|
+
<>
|
|
526
|
+
<GroupedSectionItem
|
|
527
|
+
icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
|
|
528
|
+
title={t('signInSecurity.password.title')}
|
|
529
|
+
description={t('signInSecurity.password.row')}
|
|
530
|
+
onPress={() => navigate?.('SignInPassword')}
|
|
531
|
+
/>
|
|
532
|
+
<GroupedSectionItem
|
|
533
|
+
icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
|
|
534
|
+
title={t('signInSecurity.totp.title')}
|
|
535
|
+
description={t('signInSecurity.totp.row')}
|
|
536
|
+
onPress={() => navigate?.('SignInAuthenticator')}
|
|
537
|
+
/>
|
|
538
|
+
<GroupedSectionItem
|
|
539
|
+
icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
|
|
540
|
+
title={t('linkCommons.title')}
|
|
541
|
+
description={t('linkCommons.row')}
|
|
542
|
+
onPress={() => navigate?.('LinkCommons')}
|
|
543
|
+
/>
|
|
544
|
+
</>
|
|
545
|
+
) : null}
|
|
546
|
+
{user?.isPremium || subscription?.status === 'active' ? (
|
|
547
|
+
<GroupedSectionItem
|
|
548
|
+
icon={<SettingsIcon name="credit-card" color={bloomTheme.colors.success} />}
|
|
549
|
+
title={t('manageAccount.items.billing.title') || 'Billing'}
|
|
550
|
+
description={
|
|
551
|
+
t('manageAccount.items.billing.subtitle') ||
|
|
552
|
+
'Manage subscription and payment methods'
|
|
553
|
+
}
|
|
554
|
+
onPress={() => navigate?.('PaymentGateway')}
|
|
555
|
+
/>
|
|
556
|
+
) : null}
|
|
557
|
+
</GroupedSection>
|
|
558
|
+
</>
|
|
559
|
+
) : null}
|
|
542
560
|
|
|
543
561
|
{/* Account & data */}
|
|
544
|
-
<
|
|
545
|
-
<
|
|
562
|
+
<GroupedSection title={t('accountOverview.sections.quickActions') || 'Account & data'}>
|
|
563
|
+
<GroupedSectionItem
|
|
546
564
|
icon={<SettingsIcon name="clock" color={bloomTheme.colors.primary} />}
|
|
547
565
|
title={t('accountOverview.items.history.title') || 'History'}
|
|
548
566
|
description={
|
|
@@ -550,7 +568,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
|
|
|
550
568
|
}
|
|
551
569
|
onPress={() => navigate?.('HistoryView')}
|
|
552
570
|
/>
|
|
553
|
-
<
|
|
571
|
+
<GroupedSectionItem
|
|
554
572
|
icon={<SettingsIcon name="folder" color={bloomTheme.colors.info} />}
|
|
555
573
|
title={t('accountCenter.items.fileManagement.title') || 'Files'}
|
|
556
574
|
description={
|
|
@@ -559,7 +577,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
|
|
|
559
577
|
}
|
|
560
578
|
onPress={() => navigate?.('FileManagement')}
|
|
561
579
|
/>
|
|
562
|
-
<
|
|
580
|
+
<GroupedSectionItem
|
|
563
581
|
icon={<SettingsIcon name="download" color={bloomTheme.colors.primary} />}
|
|
564
582
|
title={t('accountOverview.items.downloadData.title') || 'Download your data'}
|
|
565
583
|
description={
|
|
@@ -568,154 +586,163 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
|
|
|
568
586
|
}
|
|
569
587
|
onPress={handleDownloadData}
|
|
570
588
|
/>
|
|
571
|
-
</
|
|
572
|
-
|
|
573
|
-
{/* Accounts (unified account graph) */}
|
|
574
|
-
{accounts.length > 0 || isAuthenticated ? (
|
|
575
|
-
<SettingsListGroup title={t('accountCenter.sections.accounts') || 'Accounts'}>
|
|
576
|
-
<SettingsListItem
|
|
577
|
-
icon={<SettingsIcon name="account-switch" color={bloomTheme.colors.info} />}
|
|
578
|
-
title={t('accounts.manage.switch.title') || 'Switch account'}
|
|
579
|
-
description={
|
|
580
|
-
accounts.length > 0
|
|
581
|
-
? // One account is "1 account", not "1 accounts".
|
|
582
|
-
t(
|
|
583
|
-
accounts.length === 1
|
|
584
|
-
? 'accounts.manage.switch.countOne'
|
|
585
|
-
: 'accounts.manage.switch.count',
|
|
586
|
-
{ count: accounts.length },
|
|
587
|
-
)
|
|
588
|
-
: t('accounts.manage.switch.empty') || 'Accounts you own or share'
|
|
589
|
-
}
|
|
590
|
-
onPress={() => openAccountDialog('accounts')}
|
|
591
|
-
/>
|
|
592
|
-
<SettingsListItem
|
|
593
|
-
icon={<SettingsIcon name="account-plus" color={bloomTheme.colors.primary} />}
|
|
594
|
-
title={t('accounts.create.title') || 'Create account'}
|
|
595
|
-
description={
|
|
596
|
-
t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot'
|
|
597
|
-
}
|
|
598
|
-
onPress={() => navigate?.('CreateAccount')}
|
|
599
|
-
/>
|
|
600
|
-
</SettingsListGroup>
|
|
601
|
-
) : null}
|
|
589
|
+
</GroupedSection>
|
|
602
590
|
|
|
603
|
-
{
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
</SettingsListGroup>
|
|
591
|
+
{section !== 'data' ? (
|
|
592
|
+
<>
|
|
593
|
+
{/* Accounts (unified account graph) */}
|
|
594
|
+
{accounts.length > 0 || isAuthenticated ? (
|
|
595
|
+
<GroupedSection title={t('accountCenter.sections.accounts') || 'Accounts'}>
|
|
596
|
+
<GroupedSectionItem
|
|
597
|
+
icon={<SettingsIcon name="account-switch" color={bloomTheme.colors.info} />}
|
|
598
|
+
title={t('accounts.manage.switch.title') || 'Switch account'}
|
|
599
|
+
description={
|
|
600
|
+
accounts.length > 0
|
|
601
|
+
? // One account is "1 account", not "1 accounts".
|
|
602
|
+
t(
|
|
603
|
+
accounts.length === 1
|
|
604
|
+
? 'accounts.manage.switch.countOne'
|
|
605
|
+
: 'accounts.manage.switch.count',
|
|
606
|
+
{ count: accounts.length },
|
|
607
|
+
)
|
|
608
|
+
: t('accounts.manage.switch.empty') || 'Accounts you own or share'
|
|
609
|
+
}
|
|
610
|
+
onPress={() => openAccountDialog('accounts')}
|
|
611
|
+
/>
|
|
612
|
+
<GroupedSectionItem
|
|
613
|
+
icon={<SettingsIcon name="account-plus" color={bloomTheme.colors.primary} />}
|
|
614
|
+
title={t('accounts.create.title') || 'Create account'}
|
|
615
|
+
description={
|
|
616
|
+
t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot'
|
|
617
|
+
}
|
|
618
|
+
onPress={() => navigate?.('CreateAccount')}
|
|
619
|
+
/>
|
|
620
|
+
</GroupedSection>
|
|
621
|
+
) : null}
|
|
622
|
+
|
|
623
|
+
{/* Preferences */}
|
|
624
|
+
<GroupedSection title={t('manageAccount.sections.preferences') || 'Preferences'}>
|
|
625
|
+
<GroupedSectionItem
|
|
626
|
+
icon={<SettingsIcon name="cog" color={bloomTheme.colors.info} />}
|
|
627
|
+
title={t('preferences.title') || 'Preferences'}
|
|
628
|
+
description={t('preferences.subtitle') || 'Theme, motion, and regional settings'}
|
|
629
|
+
onPress={() => navigate?.('Preferences')}
|
|
630
|
+
/>
|
|
631
|
+
<GroupedSectionItem
|
|
632
|
+
icon={<SettingsIcon name="bell" color={bloomTheme.colors.primary} />}
|
|
633
|
+
title={t('notifications.title') || 'Notifications'}
|
|
634
|
+
description={
|
|
635
|
+
t('notifications.subtitle') || 'Manage push, email, and security alerts'
|
|
636
|
+
}
|
|
637
|
+
onPress={() => navigate?.('Notifications')}
|
|
638
|
+
/>
|
|
639
|
+
<GroupedSectionItem
|
|
640
|
+
icon={<SettingsIcon name="translate" color={bloomTheme.colors.primary} />}
|
|
641
|
+
title={t('language.title') || 'Language'}
|
|
642
|
+
description={t('language.subtitle') || 'Choose your preferred language'}
|
|
643
|
+
onPress={() => navigate?.('LanguageSelector')}
|
|
644
|
+
/>
|
|
645
|
+
<GroupedSectionItem
|
|
646
|
+
icon={<SettingsIcon name="apps" color={bloomTheme.colors.info} />}
|
|
647
|
+
title={t('connectedApps.title') || 'Connected apps'}
|
|
648
|
+
description={t('connectedApps.subtitle') || 'Manage third-party app access'}
|
|
649
|
+
onPress={() => navigate?.('ConnectedApps')}
|
|
650
|
+
/>
|
|
651
|
+
<GroupedSectionItem
|
|
652
|
+
icon={<SettingsIcon name="web" color={bloomTheme.colors.success} />}
|
|
653
|
+
title={t('domains.title')}
|
|
654
|
+
description={t('domains.subtitle')}
|
|
655
|
+
onPress={() => navigate?.('Domains')}
|
|
656
|
+
/>
|
|
657
|
+
<GroupedSectionItem
|
|
658
|
+
icon={<SettingsIcon name="magnify" color={bloomTheme.colors.primary} />}
|
|
659
|
+
title={t('accountOverview.items.searchSettings.title') || 'Search settings'}
|
|
660
|
+
description={
|
|
661
|
+
t('accountOverview.items.searchSettings.subtitle') ||
|
|
662
|
+
'SafeSearch and personalization'
|
|
663
|
+
}
|
|
664
|
+
onPress={() => navigate?.('SearchSettings')}
|
|
665
|
+
/>
|
|
666
|
+
</GroupedSection>
|
|
680
667
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
onPress={handleSignOut}
|
|
701
|
-
destructive
|
|
702
|
-
showChevron={false}
|
|
703
|
-
disabled={signingOut}
|
|
704
|
-
rightElement={
|
|
705
|
-
signingOut ? (
|
|
706
|
-
<ActivityIndicator color={bloomTheme.colors.error} size="small" />
|
|
707
|
-
) : undefined
|
|
708
|
-
}
|
|
709
|
-
/>
|
|
710
|
-
</SettingsListGroup>
|
|
668
|
+
{/* Support */}
|
|
669
|
+
<GroupedSection title={t('accountOverview.sections.support') || 'Support'}>
|
|
670
|
+
<GroupedSectionItem
|
|
671
|
+
icon={<SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />}
|
|
672
|
+
title={t('accountOverview.items.help.title') || 'Help & support'}
|
|
673
|
+
description={
|
|
674
|
+
t('accountOverview.items.help.subtitle') || 'Get help and contact support'
|
|
675
|
+
}
|
|
676
|
+
onPress={() => navigate?.('HelpSupport')}
|
|
677
|
+
/>
|
|
678
|
+
<GroupedSectionItem
|
|
679
|
+
icon={<SettingsIcon name="information" color={bloomTheme.colors.success} />}
|
|
680
|
+
title={t('accountOverview.items.about.title') || 'About'}
|
|
681
|
+
description={
|
|
682
|
+
t('accountOverview.items.about.subtitle') || 'Version and system details'
|
|
683
|
+
}
|
|
684
|
+
onPress={() => navigate?.('AppInfo')}
|
|
685
|
+
/>
|
|
686
|
+
</GroupedSection>
|
|
711
687
|
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
688
|
+
{/* Legal */}
|
|
689
|
+
<GroupedSection title={t('manageAccount.sections.legal') || 'Legal'}>
|
|
690
|
+
<GroupedSectionItem
|
|
691
|
+
icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
|
|
692
|
+
title={t('accountOverview.items.privacyPolicy.title') || 'Privacy policy'}
|
|
693
|
+
description={
|
|
694
|
+
t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data'
|
|
695
|
+
}
|
|
696
|
+
onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
|
|
697
|
+
/>
|
|
698
|
+
<GroupedSectionItem
|
|
699
|
+
icon={<SettingsIcon name="file-document" color={bloomTheme.colors.primary} />}
|
|
700
|
+
title={t('accountOverview.items.termsOfService.title') || 'Terms of service'}
|
|
701
|
+
description={
|
|
702
|
+
t('accountOverview.items.termsOfService.subtitle') ||
|
|
703
|
+
'Terms and conditions of use'
|
|
704
|
+
}
|
|
705
|
+
onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
|
|
706
|
+
/>
|
|
707
|
+
</GroupedSection>
|
|
718
708
|
|
|
709
|
+
{/* Danger zone */}
|
|
710
|
+
<GroupedSection title={t('manageAccount.sections.dangerZone') || 'Danger zone'}>
|
|
711
|
+
<GroupedSectionItem
|
|
712
|
+
icon={<SettingsIcon name="delete" color={bloomTheme.colors.error} />}
|
|
713
|
+
title={t('accountOverview.items.deleteAccount.title') || 'Delete account'}
|
|
714
|
+
description={
|
|
715
|
+
t('accountOverview.items.deleteAccount.subtitle') ||
|
|
716
|
+
'Permanently delete your account and all data'
|
|
717
|
+
}
|
|
718
|
+
onPress={handleDeleteAccount}
|
|
719
|
+
destructive
|
|
720
|
+
/>
|
|
721
|
+
</GroupedSection>
|
|
722
|
+
|
|
723
|
+
{/* Sign out of this account */}
|
|
724
|
+
<GroupedSection>
|
|
725
|
+
<GroupedSectionItem
|
|
726
|
+
icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
|
|
727
|
+
title={t('manageAccount.signOutOfThisAccount') || 'Sign out of this account'}
|
|
728
|
+
onPress={handleSignOut}
|
|
729
|
+
destructive
|
|
730
|
+
showChevron={false}
|
|
731
|
+
disabled={signingOut}
|
|
732
|
+
rightElement={
|
|
733
|
+
signingOut ? <SpinnerIcon color={bloomTheme.colors.error} size={16} /> : undefined
|
|
734
|
+
}
|
|
735
|
+
/>
|
|
736
|
+
</GroupedSection>
|
|
737
|
+
|
|
738
|
+
<View className="items-center mt-space-12 mb-space-8">
|
|
739
|
+
<Text className="text-text-tertiary text-xs">
|
|
740
|
+
{t('accountCenter.version', { version: packageInfo.version }) ||
|
|
741
|
+
`Version ${packageInfo.version}`}
|
|
742
|
+
</Text>
|
|
743
|
+
</View>
|
|
744
|
+
</>
|
|
745
|
+
) : null}
|
|
719
746
|
<View style={styles.footerSpacer} />
|
|
720
747
|
</View>
|
|
721
748
|
</>
|