@oxy.so/services 11.13.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 +13 -14
- 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 +38 -189
- 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 +17 -82
- 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 +13 -14
- 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 +38 -189
- 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 +19 -84
- 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 +24 -73
- 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/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.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 +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 +24 -73
- 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/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/module/ui/components/payment/paymentStyles.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 +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 +64 -48
- 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 +14 -16
- 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 +52 -209
- package/src/ui/screens/FileTrashScreen.tsx +3 -3
- 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 +8 -7
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +16 -79
- 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
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
import { OrganizationClaimReview } from "../components/organizations/OrganizationClaimReview.js";
|
|
4
4
|
import { OrganizationClaims } from "../components/organizations/OrganizationClaims.js";
|
|
5
|
+
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
5
6
|
import { useCallback, useMemo, useState } from 'react';
|
|
6
|
-
import { View, StyleSheet,
|
|
7
|
+
import { View, StyleSheet, Linking, Platform } from 'react-native';
|
|
7
8
|
import Ionicons from "../icons/Ionicons.js";
|
|
8
9
|
import { toast } from '@oxy.so/bloom/toast';
|
|
9
10
|
import { surfaces } from '@oxy.so/bloom/surfaces';
|
|
10
11
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
11
12
|
import { Text } from '@oxy.so/bloom/typography';
|
|
12
|
-
import {
|
|
13
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
13
14
|
import { getAccountDisplayName, getAccountFallbackHandle, getNormalizedUserHandle, logger as loggerUtil, packageInfo } from '@oxy.so/core';
|
|
14
15
|
import ProfileSummaryCard from "../components/ProfileSummaryCard.js";
|
|
15
16
|
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
16
17
|
import { presentDeleteAccount } from "../components/modals/DeleteAccountModal.js";
|
|
17
18
|
import { runAccountDeletionHandoff } from "../utils/accountDeletionHandoff.js";
|
|
18
|
-
import { useOxy } from "../context/
|
|
19
|
+
import { useOxy } from "../context/oxyRuntimeContext.js";
|
|
19
20
|
import { useI18n } from "../hooks/useI18n.js";
|
|
20
21
|
import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
21
22
|
import { isWebBrowser } from "../utils/isWebBrowser.js";
|
|
@@ -24,7 +25,6 @@ import { useUserSubscription } from "../hooks/queries/usePaymentQueries.js";
|
|
|
24
25
|
import { useDeviceSessions } from "../hooks/queries/useServicesQueries.js";
|
|
25
26
|
import { deviceSessionTitle } from "../utils/deviceSessionTitle.js";
|
|
26
27
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
|
-
const AVATAR_SIZE = 88;
|
|
28
28
|
const formatRelative = dateString => {
|
|
29
29
|
if (!dateString) {
|
|
30
30
|
return '—';
|
|
@@ -62,10 +62,12 @@ const formatRelative = dateString => {
|
|
|
62
62
|
* device, and security/destructive actions for THIS account. Multi-account
|
|
63
63
|
* surface lives in the unified `OxyAccountDialogScreen` — keep these concerns separate.
|
|
64
64
|
*/
|
|
65
|
+
|
|
65
66
|
const ManageAccountScreen = ({
|
|
66
67
|
onClose,
|
|
67
68
|
goBack,
|
|
68
|
-
navigate
|
|
69
|
+
navigate,
|
|
70
|
+
section
|
|
69
71
|
}) => {
|
|
70
72
|
const bloomTheme = useTheme();
|
|
71
73
|
const {
|
|
@@ -73,7 +75,7 @@ const ManageAccountScreen = ({
|
|
|
73
75
|
locale
|
|
74
76
|
} = useI18n();
|
|
75
77
|
useSurfaceHeader({
|
|
76
|
-
title: t('
|
|
78
|
+
title: section === 'data' ? t('accountMenu.data') : t('manageAccount.title')
|
|
77
79
|
});
|
|
78
80
|
const {
|
|
79
81
|
user: contextUser,
|
|
@@ -301,193 +303,180 @@ const ManageAccountScreen = ({
|
|
|
301
303
|
})
|
|
302
304
|
});
|
|
303
305
|
}
|
|
304
|
-
if (userLoading && !user) {
|
|
305
|
-
return /*#__PURE__*/_jsx(_Fragment, {
|
|
306
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
307
|
-
className: "items-center py-space-40",
|
|
308
|
-
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
309
|
-
color: bloomTheme.colors.primary,
|
|
310
|
-
size: "large"
|
|
311
|
-
})
|
|
312
|
-
})
|
|
313
|
-
});
|
|
314
|
-
}
|
|
315
306
|
const deviceRows = deviceSessions ?? [];
|
|
316
307
|
const otherDevices = deviceRows.filter(d => !d.isCurrent);
|
|
317
308
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
318
309
|
children: /*#__PURE__*/_jsxs(View, {
|
|
319
310
|
className: "px-screen-margin pb-space-24",
|
|
320
|
-
children: [/*#__PURE__*/
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
311
|
+
children: [section !== 'data' ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
312
|
+
children: [/*#__PURE__*/_jsx(ProfileSummaryCard, {
|
|
313
|
+
displayName: displayName,
|
|
314
|
+
avatarUri: avatarUri,
|
|
315
|
+
onAvatarPress: openAvatarPicker,
|
|
316
|
+
showCameraBadge: true,
|
|
317
|
+
avatarAccessibilityLabel: t('editProfile.changeAvatar') || 'Change avatar',
|
|
318
|
+
lines: [handle ? user?.username ? `@${handle}` : handle : null, user?.email || null]
|
|
319
|
+
}), /*#__PURE__*/_jsxs(GroupedSection, {
|
|
320
|
+
title: t('manageAccount.sections.profile') || 'Profile',
|
|
321
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
322
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
323
|
+
name: "account-circle",
|
|
324
|
+
color: bloomTheme.colors.primary
|
|
325
|
+
}),
|
|
326
|
+
title: t('manageAccount.items.editProfile.title') || 'Edit profile',
|
|
327
|
+
description: t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links',
|
|
328
|
+
onPress: () => navigate?.('EditProfile')
|
|
329
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
330
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
331
|
+
name: "palette",
|
|
332
|
+
color: bloomTheme.colors.info
|
|
333
|
+
}),
|
|
334
|
+
title: t('manageAccount.items.theme.title') || 'Theme color',
|
|
335
|
+
description: t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color',
|
|
336
|
+
onPress: () => navigate?.('Preferences')
|
|
337
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
338
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
339
|
+
name: "eye",
|
|
340
|
+
color: bloomTheme.colors.success
|
|
341
|
+
}),
|
|
342
|
+
title: t('editProfile.items.previewProfile.title') || 'Preview profile',
|
|
343
|
+
description: t('editProfile.items.previewProfile.subtitle') || 'See how your profile looks to others',
|
|
344
|
+
onPress: () => user?.id ? navigate?.('Profile', {
|
|
345
|
+
userId: user.id
|
|
346
|
+
}) : undefined,
|
|
347
|
+
disabled: !user?.id
|
|
348
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
349
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
350
|
+
name: "check-circle",
|
|
351
|
+
color: bloomTheme.colors.primary
|
|
352
|
+
}),
|
|
353
|
+
title: t('editProfile.items.verifyAccount.title') || 'Verify account',
|
|
354
|
+
description: t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge',
|
|
355
|
+
onPress: () => navigate?.('AccountVerification')
|
|
356
|
+
})]
|
|
357
|
+
}), user?.kind === 'organization' ? /*#__PURE__*/_jsx(GroupedSection, {
|
|
358
|
+
title: t('organizationDirectory.title'),
|
|
359
|
+
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
360
|
+
title: t('organizationDirectory.view'),
|
|
361
|
+
onPress: () => navigate?.('AccountSettings', {
|
|
362
|
+
accountId: user.id
|
|
363
|
+
})
|
|
372
364
|
})
|
|
373
|
-
})
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}) : null, user?.kind === 'personal' ? /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
377
|
-
title: t('supervision.title'),
|
|
378
|
-
children: /*#__PURE__*/_jsx(SettingsListItem, {
|
|
365
|
+
}) : null, user?.kind === 'personal' ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
366
|
+
children: [/*#__PURE__*/_jsx(OrganizationClaims, {}, user.id), /*#__PURE__*/_jsx(OrganizationClaimReview, {}, `review:${user.id}`)]
|
|
367
|
+
}) : null, user?.kind === 'personal' ? /*#__PURE__*/_jsx(GroupedSection, {
|
|
379
368
|
title: t('supervision.title'),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
color: bloomTheme.colors.primary
|
|
389
|
-
}),
|
|
390
|
-
title: t('manageAccount.sessions.loading') || 'Loading sessions…',
|
|
391
|
-
rightElement: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
392
|
-
color: bloomTheme.colors.primary,
|
|
393
|
-
size: "small"
|
|
394
|
-
}),
|
|
395
|
-
showChevron: false,
|
|
396
|
-
disabled: true
|
|
397
|
-
}) : deviceRows.length === 0 ? /*#__PURE__*/_jsx(SettingsListItem, {
|
|
398
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
399
|
-
name: "cellphone",
|
|
400
|
-
color: bloomTheme.colors.textTertiary
|
|
401
|
-
}),
|
|
402
|
-
title: t('manageAccount.sessions.empty') || 'No active sessions',
|
|
403
|
-
showChevron: false,
|
|
404
|
-
disabled: true
|
|
405
|
-
}) : deviceRows.map(device => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
406
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
407
|
-
name: device.isCurrent ? 'cellphone' : 'cellphone-basic',
|
|
408
|
-
color: device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary
|
|
409
|
-
}),
|
|
410
|
-
title: deviceSessionTitle(device, t),
|
|
411
|
-
description: t('manageAccount.sessions.lastActive', {
|
|
412
|
-
relative: formatRelative(device.lastActive)
|
|
413
|
-
}) || `Last active ${formatRelative(device.lastActive)}`,
|
|
414
|
-
onPress: device.isCurrent ? undefined : () => confirmRemoveDevice(device),
|
|
415
|
-
disabled: device.isCurrent || removingDeviceId === device.sessionId,
|
|
416
|
-
rightElement: !device.isCurrent ? removingDeviceId === device.sessionId ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
417
|
-
color: bloomTheme.colors.error,
|
|
418
|
-
size: "small"
|
|
419
|
-
}) : /*#__PURE__*/_jsx(Ionicons, {
|
|
420
|
-
name: "log-out-outline",
|
|
421
|
-
size: 18,
|
|
422
|
-
color: bloomTheme.colors.error
|
|
423
|
-
}) : undefined,
|
|
424
|
-
showChevron: false
|
|
425
|
-
}, `device-${device.sessionId}`)), otherDevices.length > 0 ? /*#__PURE__*/_jsx(SettingsListItem, {
|
|
426
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
427
|
-
name: "logout",
|
|
428
|
-
color: bloomTheme.colors.error
|
|
429
|
-
}),
|
|
430
|
-
title: t('manageAccount.sessions.signOutAllOnThisDevice') || 'Sign out of all other devices',
|
|
431
|
-
description: t('manageAccount.sessions.signOutAllSubtitle', {
|
|
432
|
-
count: otherDevices.length
|
|
433
|
-
}) || `End ${otherDevices.length} other device session(s)`,
|
|
434
|
-
onPress: handleSignOutAllDevices,
|
|
435
|
-
destructive: true,
|
|
436
|
-
showChevron: false,
|
|
437
|
-
disabled: signingOutAllDevices,
|
|
438
|
-
rightElement: signingOutAllDevices ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
439
|
-
color: bloomTheme.colors.error,
|
|
440
|
-
size: "small"
|
|
441
|
-
}) : undefined
|
|
442
|
-
}) : null]
|
|
443
|
-
}), /*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
444
|
-
title: t('manageAccount.sections.security') || 'Security',
|
|
445
|
-
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
446
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
447
|
-
name: "shield-check",
|
|
448
|
-
color: bloomTheme.colors.primary
|
|
449
|
-
}),
|
|
450
|
-
title: t('manageAccount.items.security.title') || 'Security settings',
|
|
451
|
-
description: t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery',
|
|
452
|
-
onPress: () => navigate?.('PrivacySettings')
|
|
453
|
-
}), user && !user.publicKey ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
454
|
-
children: [/*#__PURE__*/_jsx(SettingsListItem, {
|
|
369
|
+
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
370
|
+
title: t('supervision.title'),
|
|
371
|
+
description: t('supervision.entryDescription'),
|
|
372
|
+
onPress: () => navigate?.('Supervision')
|
|
373
|
+
})
|
|
374
|
+
}) : null, /*#__PURE__*/_jsxs(GroupedSection, {
|
|
375
|
+
title: t('manageAccount.sections.sessions') || 'Sessions & devices',
|
|
376
|
+
children: [deviceSessionsLoading ? /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
455
377
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
456
|
-
name: "
|
|
378
|
+
name: "sync",
|
|
457
379
|
color: bloomTheme.colors.primary
|
|
458
380
|
}),
|
|
459
|
-
title: t('
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
381
|
+
title: t('manageAccount.sessions.loading') || 'Loading sessions…',
|
|
382
|
+
rightElement: null,
|
|
383
|
+
showChevron: false,
|
|
384
|
+
disabled: true
|
|
385
|
+
}) : deviceRows.length === 0 ? /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
386
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
387
|
+
name: "cellphone",
|
|
388
|
+
color: bloomTheme.colors.textTertiary
|
|
389
|
+
}),
|
|
390
|
+
title: t('manageAccount.sessions.empty') || 'No active sessions',
|
|
391
|
+
showChevron: false,
|
|
392
|
+
disabled: true
|
|
393
|
+
}) : deviceRows.map(device => /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
394
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
395
|
+
name: device.isCurrent ? 'cellphone' : 'cellphone-basic',
|
|
396
|
+
color: device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary
|
|
397
|
+
}),
|
|
398
|
+
title: deviceSessionTitle(device, t),
|
|
399
|
+
description: t('manageAccount.sessions.lastActive', {
|
|
400
|
+
relative: formatRelative(device.lastActive)
|
|
401
|
+
}) || `Last active ${formatRelative(device.lastActive)}`,
|
|
402
|
+
onPress: device.isCurrent ? undefined : () => confirmRemoveDevice(device),
|
|
403
|
+
disabled: device.isCurrent || removingDeviceId === device.sessionId,
|
|
404
|
+
rightElement: !device.isCurrent ? removingDeviceId === device.sessionId ? /*#__PURE__*/_jsx(SpinnerIcon, {
|
|
405
|
+
color: bloomTheme.colors.error,
|
|
406
|
+
size: 16
|
|
407
|
+
}) : /*#__PURE__*/_jsx(Ionicons, {
|
|
408
|
+
name: "log-out-outline",
|
|
409
|
+
size: 18,
|
|
410
|
+
color: bloomTheme.colors.error
|
|
411
|
+
}) : undefined,
|
|
412
|
+
showChevron: false
|
|
413
|
+
}, `device-${device.sessionId}`)), otherDevices.length > 0 ? /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
414
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
415
|
+
name: "logout",
|
|
416
|
+
color: bloomTheme.colors.error
|
|
417
|
+
}),
|
|
418
|
+
title: t('manageAccount.sessions.signOutAllOnThisDevice') || 'Sign out of all other devices',
|
|
419
|
+
description: t('manageAccount.sessions.signOutAllSubtitle', {
|
|
420
|
+
count: otherDevices.length
|
|
421
|
+
}) || `End ${otherDevices.length} other device session(s)`,
|
|
422
|
+
onPress: handleSignOutAllDevices,
|
|
423
|
+
destructive: true,
|
|
424
|
+
showChevron: false,
|
|
425
|
+
disabled: signingOutAllDevices,
|
|
426
|
+
rightElement: signingOutAllDevices ? /*#__PURE__*/_jsx(SpinnerIcon, {
|
|
427
|
+
color: bloomTheme.colors.error,
|
|
428
|
+
size: 16
|
|
429
|
+
}) : undefined
|
|
430
|
+
}) : null]
|
|
431
|
+
}), /*#__PURE__*/_jsxs(GroupedSection, {
|
|
432
|
+
title: t('manageAccount.sections.security') || 'Security',
|
|
433
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
463
434
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
464
435
|
name: "shield-check",
|
|
465
436
|
color: bloomTheme.colors.primary
|
|
466
437
|
}),
|
|
467
|
-
title: t('
|
|
468
|
-
description: t('
|
|
469
|
-
onPress: () => navigate?.('
|
|
470
|
-
}), /*#__PURE__*/
|
|
438
|
+
title: t('manageAccount.items.security.title') || 'Security settings',
|
|
439
|
+
description: t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery',
|
|
440
|
+
onPress: () => navigate?.('PrivacySettings')
|
|
441
|
+
}), user && !user.publicKey ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
442
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
443
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
444
|
+
name: "key",
|
|
445
|
+
color: bloomTheme.colors.primary
|
|
446
|
+
}),
|
|
447
|
+
title: t('signInSecurity.password.title'),
|
|
448
|
+
description: t('signInSecurity.password.row'),
|
|
449
|
+
onPress: () => navigate?.('SignInPassword')
|
|
450
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
451
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
452
|
+
name: "shield-check",
|
|
453
|
+
color: bloomTheme.colors.primary
|
|
454
|
+
}),
|
|
455
|
+
title: t('signInSecurity.totp.title'),
|
|
456
|
+
description: t('signInSecurity.totp.row'),
|
|
457
|
+
onPress: () => navigate?.('SignInAuthenticator')
|
|
458
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
459
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
460
|
+
name: "link",
|
|
461
|
+
color: bloomTheme.colors.primary
|
|
462
|
+
}),
|
|
463
|
+
title: t('linkCommons.title'),
|
|
464
|
+
description: t('linkCommons.row'),
|
|
465
|
+
onPress: () => navigate?.('LinkCommons')
|
|
466
|
+
})]
|
|
467
|
+
}) : null, user?.isPremium || subscription?.status === 'active' ? /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
471
468
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
472
|
-
name: "
|
|
473
|
-
color: bloomTheme.colors.
|
|
469
|
+
name: "credit-card",
|
|
470
|
+
color: bloomTheme.colors.success
|
|
474
471
|
}),
|
|
475
|
-
title: t('
|
|
476
|
-
description: t('
|
|
477
|
-
onPress: () => navigate?.('
|
|
478
|
-
})]
|
|
479
|
-
})
|
|
480
|
-
|
|
481
|
-
name: "credit-card",
|
|
482
|
-
color: bloomTheme.colors.success
|
|
483
|
-
}),
|
|
484
|
-
title: t('manageAccount.items.billing.title') || 'Billing',
|
|
485
|
-
description: t('manageAccount.items.billing.subtitle') || 'Manage subscription and payment methods',
|
|
486
|
-
onPress: () => navigate?.('PaymentGateway')
|
|
487
|
-
}) : null]
|
|
488
|
-
}), /*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
472
|
+
title: t('manageAccount.items.billing.title') || 'Billing',
|
|
473
|
+
description: t('manageAccount.items.billing.subtitle') || 'Manage subscription and payment methods',
|
|
474
|
+
onPress: () => navigate?.('PaymentGateway')
|
|
475
|
+
}) : null]
|
|
476
|
+
})]
|
|
477
|
+
}) : null, /*#__PURE__*/_jsxs(GroupedSection, {
|
|
489
478
|
title: t('accountOverview.sections.quickActions') || 'Account & data',
|
|
490
|
-
children: [/*#__PURE__*/_jsx(
|
|
479
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
491
480
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
492
481
|
name: "clock",
|
|
493
482
|
color: bloomTheme.colors.primary
|
|
@@ -495,7 +484,7 @@ const ManageAccountScreen = ({
|
|
|
495
484
|
title: t('accountOverview.items.history.title') || 'History',
|
|
496
485
|
description: t('accountOverview.items.history.subtitle') || 'View and manage your search history',
|
|
497
486
|
onPress: () => navigate?.('HistoryView')
|
|
498
|
-
}), /*#__PURE__*/_jsx(
|
|
487
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
499
488
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
500
489
|
name: "folder",
|
|
501
490
|
color: bloomTheme.colors.info
|
|
@@ -503,7 +492,7 @@ const ManageAccountScreen = ({
|
|
|
503
492
|
title: t('accountCenter.items.fileManagement.title') || 'Files',
|
|
504
493
|
description: t('accountCenter.items.fileManagement.subtitle') || 'Upload, download, and manage your files',
|
|
505
494
|
onPress: () => navigate?.('FileManagement')
|
|
506
|
-
}), /*#__PURE__*/_jsx(
|
|
495
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
507
496
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
508
497
|
name: "download",
|
|
509
498
|
color: bloomTheme.colors.primary
|
|
@@ -512,159 +501,161 @@ const ManageAccountScreen = ({
|
|
|
512
501
|
description: t('accountOverview.items.downloadData.subtitle') || 'Export a copy of your account data',
|
|
513
502
|
onPress: handleDownloadData
|
|
514
503
|
})]
|
|
515
|
-
}),
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
504
|
+
}), section !== 'data' ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
505
|
+
children: [accounts.length > 0 || isAuthenticated ? /*#__PURE__*/_jsxs(GroupedSection, {
|
|
506
|
+
title: t('accountCenter.sections.accounts') || 'Accounts',
|
|
507
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
508
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
509
|
+
name: "account-switch",
|
|
510
|
+
color: bloomTheme.colors.info
|
|
511
|
+
}),
|
|
512
|
+
title: t('accounts.manage.switch.title') || 'Switch account',
|
|
513
|
+
description: accounts.length > 0 ?
|
|
514
|
+
// One account is "1 account", not "1 accounts".
|
|
515
|
+
t(accounts.length === 1 ? 'accounts.manage.switch.countOne' : 'accounts.manage.switch.count', {
|
|
516
|
+
count: accounts.length
|
|
517
|
+
}) : t('accounts.manage.switch.empty') || 'Accounts you own or share',
|
|
518
|
+
onPress: () => openAccountDialog('accounts')
|
|
519
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
520
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
521
|
+
name: "account-plus",
|
|
522
|
+
color: bloomTheme.colors.primary
|
|
523
|
+
}),
|
|
524
|
+
title: t('accounts.create.title') || 'Create account',
|
|
525
|
+
description: t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot',
|
|
526
|
+
onPress: () => navigate?.('CreateAccount')
|
|
527
|
+
})]
|
|
528
|
+
}) : null, /*#__PURE__*/_jsxs(GroupedSection, {
|
|
529
|
+
title: t('manageAccount.sections.preferences') || 'Preferences',
|
|
530
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
531
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
532
|
+
name: "cog",
|
|
533
|
+
color: bloomTheme.colors.info
|
|
534
|
+
}),
|
|
535
|
+
title: t('preferences.title') || 'Preferences',
|
|
536
|
+
description: t('preferences.subtitle') || 'Theme, motion, and regional settings',
|
|
537
|
+
onPress: () => navigate?.('Preferences')
|
|
538
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
539
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
540
|
+
name: "bell",
|
|
541
|
+
color: bloomTheme.colors.primary
|
|
542
|
+
}),
|
|
543
|
+
title: t('notifications.title') || 'Notifications',
|
|
544
|
+
description: t('notifications.subtitle') || 'Manage push, email, and security alerts',
|
|
545
|
+
onPress: () => navigate?.('Notifications')
|
|
546
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
547
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
548
|
+
name: "translate",
|
|
549
|
+
color: bloomTheme.colors.primary
|
|
550
|
+
}),
|
|
551
|
+
title: t('language.title') || 'Language',
|
|
552
|
+
description: t('language.subtitle') || 'Choose your preferred language',
|
|
553
|
+
onPress: () => navigate?.('LanguageSelector')
|
|
554
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
555
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
556
|
+
name: "apps",
|
|
557
|
+
color: bloomTheme.colors.info
|
|
558
|
+
}),
|
|
559
|
+
title: t('connectedApps.title') || 'Connected apps',
|
|
560
|
+
description: t('connectedApps.subtitle') || 'Manage third-party app access',
|
|
561
|
+
onPress: () => navigate?.('ConnectedApps')
|
|
562
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
563
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
564
|
+
name: "web",
|
|
565
|
+
color: bloomTheme.colors.success
|
|
566
|
+
}),
|
|
567
|
+
title: t('domains.title'),
|
|
568
|
+
description: t('domains.subtitle'),
|
|
569
|
+
onPress: () => navigate?.('Domains')
|
|
570
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
571
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
572
|
+
name: "magnify",
|
|
573
|
+
color: bloomTheme.colors.primary
|
|
574
|
+
}),
|
|
575
|
+
title: t('accountOverview.items.searchSettings.title') || 'Search settings',
|
|
576
|
+
description: t('accountOverview.items.searchSettings.subtitle') || 'SafeSearch and personalization',
|
|
577
|
+
onPress: () => navigate?.('SearchSettings')
|
|
578
|
+
})]
|
|
579
|
+
}), /*#__PURE__*/_jsxs(GroupedSection, {
|
|
580
|
+
title: t('accountOverview.sections.support') || 'Support',
|
|
581
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
582
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
583
|
+
name: "help-circle",
|
|
584
|
+
color: bloomTheme.colors.primary
|
|
585
|
+
}),
|
|
586
|
+
title: t('accountOverview.items.help.title') || 'Help & support',
|
|
587
|
+
description: t('accountOverview.items.help.subtitle') || 'Get help and contact support',
|
|
588
|
+
onPress: () => navigate?.('HelpSupport')
|
|
589
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
590
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
591
|
+
name: "information",
|
|
592
|
+
color: bloomTheme.colors.success
|
|
593
|
+
}),
|
|
594
|
+
title: t('accountOverview.items.about.title') || 'About',
|
|
595
|
+
description: t('accountOverview.items.about.subtitle') || 'Version and system details',
|
|
596
|
+
onPress: () => navigate?.('AppInfo')
|
|
597
|
+
})]
|
|
598
|
+
}), /*#__PURE__*/_jsxs(GroupedSection, {
|
|
599
|
+
title: t('manageAccount.sections.legal') || 'Legal',
|
|
600
|
+
children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
601
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
602
|
+
name: "shield-check",
|
|
603
|
+
color: bloomTheme.colors.primary
|
|
604
|
+
}),
|
|
605
|
+
title: t('accountOverview.items.privacyPolicy.title') || 'Privacy policy',
|
|
606
|
+
description: t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data',
|
|
607
|
+
onPress: () => navigate?.('LegalDocuments', {
|
|
608
|
+
initialStep: 1
|
|
609
|
+
})
|
|
610
|
+
}), /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
611
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
612
|
+
name: "file-document",
|
|
613
|
+
color: bloomTheme.colors.primary
|
|
614
|
+
}),
|
|
615
|
+
title: t('accountOverview.items.termsOfService.title') || 'Terms of service',
|
|
616
|
+
description: t('accountOverview.items.termsOfService.subtitle') || 'Terms and conditions of use',
|
|
617
|
+
onPress: () => navigate?.('LegalDocuments', {
|
|
618
|
+
initialStep: 2
|
|
619
|
+
})
|
|
620
|
+
})]
|
|
621
|
+
}), /*#__PURE__*/_jsx(GroupedSection, {
|
|
622
|
+
title: t('manageAccount.sections.dangerZone') || 'Danger zone',
|
|
623
|
+
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
624
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
625
|
+
name: "delete",
|
|
626
|
+
color: bloomTheme.colors.error
|
|
627
|
+
}),
|
|
628
|
+
title: t('accountOverview.items.deleteAccount.title') || 'Delete account',
|
|
629
|
+
description: t('accountOverview.items.deleteAccount.subtitle') || 'Permanently delete your account and all data',
|
|
630
|
+
onPress: handleDeleteAccount,
|
|
631
|
+
destructive: true
|
|
619
632
|
})
|
|
620
|
-
}), /*#__PURE__*/_jsx(
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
633
|
+
}), /*#__PURE__*/_jsx(GroupedSection, {
|
|
634
|
+
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
635
|
+
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
636
|
+
name: "logout",
|
|
637
|
+
color: bloomTheme.colors.error
|
|
638
|
+
}),
|
|
639
|
+
title: t('manageAccount.signOutOfThisAccount') || 'Sign out of this account',
|
|
640
|
+
onPress: handleSignOut,
|
|
641
|
+
destructive: true,
|
|
642
|
+
showChevron: false,
|
|
643
|
+
disabled: signingOut,
|
|
644
|
+
rightElement: signingOut ? /*#__PURE__*/_jsx(SpinnerIcon, {
|
|
645
|
+
color: bloomTheme.colors.error,
|
|
646
|
+
size: 16
|
|
647
|
+
}) : undefined
|
|
648
|
+
})
|
|
649
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
650
|
+
className: "items-center mt-space-12 mb-space-8",
|
|
651
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
652
|
+
className: "text-text-tertiary text-xs",
|
|
653
|
+
children: t('accountCenter.version', {
|
|
654
|
+
version: packageInfo.version
|
|
655
|
+
}) || `Version ${packageInfo.version}`
|
|
629
656
|
})
|
|
630
657
|
})]
|
|
631
|
-
}), /*#__PURE__*/_jsx(
|
|
632
|
-
title: t('manageAccount.sections.dangerZone') || 'Danger zone',
|
|
633
|
-
children: /*#__PURE__*/_jsx(SettingsListItem, {
|
|
634
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
635
|
-
name: "delete",
|
|
636
|
-
color: bloomTheme.colors.error
|
|
637
|
-
}),
|
|
638
|
-
title: t('accountOverview.items.deleteAccount.title') || 'Delete account',
|
|
639
|
-
description: t('accountOverview.items.deleteAccount.subtitle') || 'Permanently delete your account and all data',
|
|
640
|
-
onPress: handleDeleteAccount,
|
|
641
|
-
destructive: true
|
|
642
|
-
})
|
|
643
|
-
}), /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
644
|
-
children: /*#__PURE__*/_jsx(SettingsListItem, {
|
|
645
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
646
|
-
name: "logout",
|
|
647
|
-
color: bloomTheme.colors.error
|
|
648
|
-
}),
|
|
649
|
-
title: t('manageAccount.signOutOfThisAccount') || 'Sign out of this account',
|
|
650
|
-
onPress: handleSignOut,
|
|
651
|
-
destructive: true,
|
|
652
|
-
showChevron: false,
|
|
653
|
-
disabled: signingOut,
|
|
654
|
-
rightElement: signingOut ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
655
|
-
color: bloomTheme.colors.error,
|
|
656
|
-
size: "small"
|
|
657
|
-
}) : undefined
|
|
658
|
-
})
|
|
659
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
660
|
-
className: "items-center mt-space-12 mb-space-8",
|
|
661
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
662
|
-
className: "text-text-tertiary text-xs",
|
|
663
|
-
children: t('accountCenter.version', {
|
|
664
|
-
version: packageInfo.version
|
|
665
|
-
}) || `Version ${packageInfo.version}`
|
|
666
|
-
})
|
|
667
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
658
|
+
}) : null, /*#__PURE__*/_jsx(View, {
|
|
668
659
|
style: styles.footerSpacer
|
|
669
660
|
})]
|
|
670
661
|
})
|