@oxy.so/services 11.2.0-oxy-one.3 → 11.2.0-oxy-one.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +42 -40
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +58 -31
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/notifications/deviceNotifications.js +8 -4
- package/lib/commonjs/notifications/deviceNotifications.js.map +1 -1
- package/lib/commonjs/ui/analytics/productAnalytics.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/commonjs/ui/components/PeableButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/followButtonAccessibility.js.map +1 -1
- package/lib/commonjs/ui/components/followRules.js.map +1 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -1
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/artwork.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/signInFlowStore.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/context/isolatedOAuthSession.js.map +1 -1
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -1
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -1
- package/lib/commonjs/ui/hooks/accountQueryPersistence.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/persistedQueryCache.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/userCache.js +38 -38
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceFrameWidth.js.map +1 -1
- package/lib/commonjs/ui/icons/Ionicons.js.map +1 -1
- package/lib/commonjs/ui/icons/MaterialCommunityIcons.js.map +1 -1
- package/lib/commonjs/ui/icons/decorativeIconSet.js.map +1 -1
- package/lib/commonjs/ui/isFrontend.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/oauth/applicationSessionLane.js.map +1 -1
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -1
- package/lib/commonjs/ui/oauth/browserBridge.js.map +1 -1
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -1
- package/lib/commonjs/ui/oauth/nativeAuthTransport.js.map +1 -1
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -1
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -1
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +2 -5
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +3 -3
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +7 -7
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -1
- package/lib/commonjs/ui/screens/linkFormat.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/session/authStore.js.map +1 -1
- package/lib/commonjs/ui/session/backgroundSession.js.map +1 -1
- package/lib/commonjs/ui/session/createSessionClient.js.map +1 -1
- package/lib/commonjs/ui/session/deviceCredentialTracker.js.map +1 -1
- package/lib/commonjs/ui/session/identityBinding.js.map +1 -1
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -1
- package/lib/commonjs/ui/session/tokenLossRecovery.js.map +1 -1
- package/lib/commonjs/ui/session/tokenTransport.js.map +1 -1
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/clipboard.native.js +23 -6
- package/lib/commonjs/ui/utils/clipboard.native.js.map +1 -1
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -1
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +24 -24
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +2 -4
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/assets/icons/OxyServices.tsx +42 -40
- package/lib/module/assets/assets/illustrations/HighFive.tsx +58 -31
- package/lib/module/assets/icons/OxyServices.js.map +1 -1
- package/lib/module/assets/illustrations/HighFive.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/notifications/deviceNotifications.js +8 -4
- package/lib/module/notifications/deviceNotifications.js.map +1 -1
- package/lib/module/ui/analytics/productAnalytics.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/BenefitList.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +1 -1
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- 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/OxySignInRequestSurface.js.map +1 -1
- package/lib/module/ui/components/PeableButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/followButtonAccessibility.js.map +1 -1
- package/lib/module/ui/components/followRules.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -1
- package/lib/module/ui/components/logo/LogoText.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/oauthNavigation.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/payment/constants.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/signIn/artwork.js.map +1 -1
- package/lib/module/ui/components/signIn/signInFlowStore.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/commitSessionFlow.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/context/isolatedOAuthSession.js.map +1 -1
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -1
- package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -1
- package/lib/module/ui/hooks/accountQueryPersistence.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/persistedQueryCache.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/userCache.js +38 -38
- package/lib/module/ui/hooks/queries/userCache.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useReduceMotion.js.map +1 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/module/ui/hooks/useStorage.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceFrameWidth.js.map +1 -1
- package/lib/module/ui/icons/Ionicons.js.map +1 -1
- package/lib/module/ui/icons/MaterialCommunityIcons.js.map +1 -1
- package/lib/module/ui/icons/decorativeIconSet.js.map +1 -1
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/oauth/applicationSessionLane.js.map +1 -1
- package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -1
- package/lib/module/ui/oauth/browserBridge.js.map +1 -1
- package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -1
- package/lib/module/ui/oauth/nativeAuthTransport.js.map +1 -1
- package/lib/module/ui/oauth/oauthHandshake.js.map +1 -1
- package/lib/module/ui/oauth/oauthPopup.js.map +1 -1
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSecurityPanelScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +2 -5
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +3 -3
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +1 -1
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +7 -7
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -1
- package/lib/module/ui/screens/linkFormat.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/session/authStore.js.map +1 -1
- package/lib/module/ui/session/backgroundSession.js.map +1 -1
- package/lib/module/ui/session/createSessionClient.js.map +1 -1
- package/lib/module/ui/session/deviceCredentialTracker.js.map +1 -1
- package/lib/module/ui/session/identityBinding.js.map +1 -1
- package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -1
- package/lib/module/ui/session/tokenLossRecovery.js.map +1 -1
- package/lib/module/ui/session/tokenTransport.js.map +1 -1
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/ui/utils/clipboard.native.js +23 -6
- package/lib/module/ui/utils/clipboard.native.js.map +1 -1
- package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +25 -25
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +2 -4
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +4 -4
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +8 -4
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/LanguageBridge.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/LanguageBridge.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/PeableButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/followButtonAccessibility.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/followRules.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/oauthNavigation.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/PaymentMethodStep.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/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.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/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/isolatedOAuthSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.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/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +5 -5
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceFrameWidth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/decorativeIconSet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/applicationSessionLane.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/nativeAuthTransport.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.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.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/tokenLossRecovery.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/clipboard.native.d.ts +16 -5
- package/lib/typescript/commonjs/ui/utils/clipboard.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +4 -4
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -1
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +4 -4
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +8 -4
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -1
- package/lib/typescript/module/ui/analytics/productAnalytics.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/LanguageBridge.d.ts +1 -1
- package/lib/typescript/module/ui/components/LanguageBridge.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/PeableButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/followButtonAccessibility.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/followRules.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/oauthNavigation.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/PaymentMethodStep.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/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.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/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/artwork.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/isolatedOAuthSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/queries/queryKeys.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/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +5 -5
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceFrameWidth.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/decorativeIconSet.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/applicationSessionLane.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/browserBridge.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/nativeAuthTransport.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/CreateAccountScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.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.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/tokenLossRecovery.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/clipboard.native.d.ts +16 -5
- package/lib/typescript/module/ui/utils/clipboard.native.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +1 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +4 -4
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -1
- package/lib/typescript/types/expo-crypto.d.ts +2 -4
- package/lib/typescript/types/expo-document-picker.d.ts +27 -28
- package/lib/typescript/types/expo-image-picker.d.ts +27 -27
- package/lib/typescript/types/expo-secure-store.d.ts +11 -4
- package/lib/typescript/types/express.d.ts +22 -7
- package/package.json +4 -5
- package/src/assets/icons/OxyServices.tsx +42 -40
- package/src/assets/illustrations/HighFive.tsx +58 -31
- package/src/index.ts +99 -86
- package/src/notifications/deviceNotifications.ts +9 -7
- package/src/types/expo-crypto.d.ts +2 -4
- package/src/types/expo-document-picker.d.ts +27 -28
- package/src/types/expo-image-picker.d.ts +27 -27
- package/src/types/expo-secure-store.d.ts +11 -4
- package/src/types/express.d.ts +22 -7
- package/src/ui/analytics/productAnalytics.tsx +5 -5
- package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +91 -29
- package/src/ui/boot/runProviderColdBoot.ts +12 -3
- package/src/ui/client.ts +31 -31
- package/src/ui/components/BenefitList.tsx +78 -77
- package/src/ui/components/BloomLocaleBridge.tsx +3 -3
- package/src/ui/components/FollowButton.tsx +88 -84
- package/src/ui/components/FollowTargetButton.tsx +15 -6
- package/src/ui/components/LanguageBridge.tsx +24 -19
- package/src/ui/components/OxyAuthChooser.tsx +17 -3
- package/src/ui/components/OxyAuthPrompt.tsx +79 -98
- package/src/ui/components/OxyConsentScreen.tsx +51 -12
- package/src/ui/components/OxyProvider.tsx +189 -182
- package/src/ui/components/OxySignInButton.tsx +415 -405
- package/src/ui/components/OxySignInRequestSurface.tsx +7 -1
- package/src/ui/components/PeableButton.tsx +57 -49
- package/src/ui/components/ProfileButton.tsx +158 -109
- package/src/ui/components/ProfileSummaryCard.tsx +64 -64
- package/src/ui/components/RequireOxyAuth.tsx +15 -3
- package/src/ui/components/SettingsIcon.tsx +24 -19
- package/src/ui/components/SurfaceHeaderAction.tsx +6 -1
- package/src/ui/components/SurfaceScreen.tsx +21 -16
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +15 -5
- package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +21 -11
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +42 -15
- package/src/ui/components/__tests__/followTargetButton.test.ts +23 -20
- package/src/ui/components/authChooser/AccountsMenuView.tsx +70 -56
- package/src/ui/components/authChooser/TroubleDisclosure.tsx +6 -1
- package/src/ui/components/authChooser/requestSurfaces.tsx +3 -1
- package/src/ui/components/authChooser/types.ts +6 -1
- package/src/ui/components/feedback/constants.ts +36 -12
- package/src/ui/components/feedback/types.ts +30 -30
- package/src/ui/components/feedback/useFeedbackForm.ts +38 -35
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +86 -92
- package/src/ui/components/fileManagement/FileViewer.tsx +362 -338
- package/src/ui/components/fileManagement/UploadPreview.tsx +134 -127
- package/src/ui/components/followButtonAccessibility.ts +6 -2
- package/src/ui/components/followRules.ts +6 -2
- package/src/ui/components/icon/FAIRWalletIcon.tsx +47 -35
- package/src/ui/components/logo/LogoText.tsx +6 -1
- package/src/ui/components/modals/DeleteAccountModal.tsx +89 -83
- package/src/ui/components/oauthNavigation.ts +54 -56
- package/src/ui/components/payment/PaymentDetailsStep.tsx +269 -201
- package/src/ui/components/payment/PaymentMethodStep.tsx +88 -68
- package/src/ui/components/payment/PaymentReviewStep.tsx +119 -102
- package/src/ui/components/payment/PaymentSuccessStep.tsx +48 -48
- package/src/ui/components/payment/PaymentSummaryStep.tsx +167 -124
- package/src/ui/components/payment/constants.ts +38 -23
- package/src/ui/components/payment/paymentStyles.ts +252 -251
- package/src/ui/components/payment/types.ts +24 -24
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +207 -183
- package/src/ui/components/photogrid/__tests__/chunkPhotos.test.ts +32 -33
- package/src/ui/components/signIn/InlineCommonsQr.tsx +14 -6
- package/src/ui/components/signIn/OxyAccountPicker.tsx +19 -4
- package/src/ui/components/signIn/OxyAuthScreen.tsx +21 -11
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +47 -13
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +14 -4
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +69 -15
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +19 -4
- package/src/ui/components/signIn/OxySignInPanel.tsx +74 -21
- package/src/ui/components/signIn/OxySignUpPanel.tsx +60 -12
- package/src/ui/components/signIn/ReauthStep.tsx +26 -5
- package/src/ui/components/signIn/accountFlowParts.tsx +45 -16
- package/src/ui/components/signIn/artwork.ts +3 -1
- package/src/ui/components/signIn/signInFlowStore.ts +5 -1
- package/src/ui/components/styles/overlay.tsx +10 -11
- package/src/ui/components/styles/shadow.tsx +59 -59
- package/src/ui/components/surfaces/ActionSheetSurface.tsx +51 -61
- package/src/ui/components/utils/hasTouchHandler.tsx +3 -13
- package/src/ui/components/utils/roundLayoutSize.ts +1 -2
- package/src/ui/components/utils/splitStyles.ts +2 -5
- package/src/ui/constants/spacing.ts +8 -9
- package/src/ui/context/OxyContext.tsx +324 -140
- package/src/ui/context/__tests__/commitSessionFlow.test.ts +8 -3
- package/src/ui/context/__tests__/isolatedOAuthSession.test.ts +11 -3
- package/src/ui/context/commitSessionFlow.ts +15 -3
- package/src/ui/context/hooks/useAuthOperations.ts +54 -16
- package/src/ui/context/isolatedOAuthSession.ts +4 -1
- package/src/ui/context/oxyContextTypes.ts +26 -9
- package/src/ui/context/useOxyAccountGraph.ts +26 -4
- package/src/ui/hooks/accountDialogSnapshot.ts +3 -1
- package/src/ui/hooks/accountQueryPersistence.ts +16 -5
- package/src/ui/hooks/mutations/mutationFactory.ts +11 -6
- package/src/ui/hooks/mutations/useAccountMutations.ts +77 -54
- package/src/ui/hooks/mutations/useServicesMutations.ts +10 -11
- package/src/ui/hooks/persistedQueryCache.ts +10 -2
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +72 -17
- package/src/ui/hooks/queries/__tests__/userCacheClear.test.ts +18 -23
- package/src/ui/hooks/queries/paymentTypes.ts +2 -2
- package/src/ui/hooks/queries/queryKeys.ts +5 -5
- package/src/ui/hooks/queries/useAccountQueries.ts +12 -17
- package/src/ui/hooks/queries/useFileQueries.ts +88 -92
- package/src/ui/hooks/queries/usePaymentQueries.ts +13 -26
- package/src/ui/hooks/queries/usePersonalPlans.ts +14 -6
- package/src/ui/hooks/queries/useSecurityQueries.ts +16 -29
- package/src/ui/hooks/queries/useServicesQueries.ts +17 -23
- package/src/ui/hooks/queries/userCache.ts +249 -270
- package/src/ui/hooks/queryClient.ts +9 -5
- package/src/ui/hooks/useAssets.ts +166 -160
- package/src/ui/hooks/useAsyncAction.ts +92 -91
- package/src/ui/hooks/useAuth.ts +45 -42
- package/src/ui/hooks/useAvatarPicker.ts +2 -5
- package/src/ui/hooks/useDeviceManagement.ts +0 -2
- package/src/ui/hooks/useDeviceSwitcher.ts +73 -68
- package/src/ui/hooks/useFileFiltering.ts +2 -2
- package/src/ui/hooks/useFollow.ts +139 -67
- package/src/ui/hooks/useFollowTarget.ts +11 -11
- package/src/ui/hooks/useI18n.ts +7 -2
- package/src/ui/hooks/useProfileEditing.ts +167 -155
- package/src/ui/hooks/useQueryClient.ts +2 -3
- package/src/ui/hooks/useReduceMotion.ts +21 -21
- package/src/ui/hooks/useResolvedFileUrls.ts +5 -1
- package/src/ui/hooks/useSessionManagement.ts +3 -1
- package/src/ui/hooks/useSettingToggle.ts +122 -114
- package/src/ui/hooks/useStorage.ts +1 -4
- package/src/ui/hooks/useSurfaceFrameWidth.ts +3 -1
- package/src/ui/icons/Ionicons.ts +1 -5
- package/src/ui/icons/MaterialCommunityIcons.ts +1 -5
- package/src/ui/icons/__tests__/decorativeIconSet.test.tsx +3 -1
- package/src/ui/icons/decorativeIconSet.ts +13 -2
- package/src/ui/index.ts +4 -4
- package/src/ui/isFrontend.ts +3 -2
- package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +83 -83
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +8 -2
- package/src/ui/navigation/bottomSheetManager.ts +1 -1
- package/src/ui/navigation/routes.ts +90 -88
- package/src/ui/navigation/surfaces.ts +7 -6
- package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +18 -11
- package/src/ui/oauth/__tests__/browserBridge.test.ts +108 -21
- package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +9 -6
- package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +222 -241
- package/src/ui/oauth/__tests__/nativeAuthTransport.test.ts +118 -35
- package/src/ui/oauth/__tests__/oauthBearerCommit.http.test.ts +60 -18
- package/src/ui/oauth/__tests__/oauthPopup.test.ts +2 -7
- package/src/ui/oauth/__tests__/oauthPopupMessages.test.ts +9 -7
- package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +4 -5
- package/src/ui/oauth/applicationSessionLane.ts +12 -3
- package/src/ui/oauth/browserAuthTransport.ts +15 -7
- package/src/ui/oauth/browserBridge.ts +22 -5
- package/src/ui/oauth/completeOAuthCode.ts +9 -6
- package/src/ui/oauth/nativeAuthTransport.ts +73 -20
- package/src/ui/oauth/oauthHandshake.ts +6 -1
- package/src/ui/oauth/oauthPopup.ts +6 -4
- package/src/ui/oauth/oauthPopupMessages.ts +3 -4
- package/src/ui/oauth/types.ts +1 -3
- package/src/ui/runtime/createOxyRuntime.ts +21 -4
- package/src/ui/screens/AccountMembersScreen.tsx +274 -204
- package/src/ui/screens/AccountSecurityPanelScreen.tsx +3 -1
- package/src/ui/screens/AccountSettingsScreen.tsx +133 -113
- package/src/ui/screens/AccountVerificationScreen.tsx +176 -161
- package/src/ui/screens/AppInfoScreen.tsx +360 -304
- package/src/ui/screens/AvatarCropScreen.tsx +977 -988
- package/src/ui/screens/ChangeAvatarScreen.tsx +257 -253
- package/src/ui/screens/ConnectedAppsScreen.tsx +117 -130
- package/src/ui/screens/CreateAccountScreen.tsx +173 -129
- package/src/ui/screens/DomainsScreen.tsx +157 -140
- package/src/ui/screens/EditProfileFieldScreen.tsx +693 -663
- package/src/ui/screens/EditProfileScreen.tsx +106 -100
- package/src/ui/screens/FileManagementScreen.tsx +1505 -1162
- package/src/ui/screens/HelpSupportScreen.tsx +88 -75
- package/src/ui/screens/HistoryViewScreen.tsx +143 -102
- package/src/ui/screens/LanguageSelectorScreen.tsx +206 -199
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +92 -110
- package/src/ui/screens/LegalDocumentsScreen.tsx +134 -193
- package/src/ui/screens/ManageAccountScreen.tsx +649 -871
- package/src/ui/screens/NotificationsScreen.tsx +111 -143
- package/src/ui/screens/PaymentGatewayScreen.tsx +229 -244
- package/src/ui/screens/PreferencesScreen.tsx +153 -196
- package/src/ui/screens/PrivacySettingsScreen.tsx +509 -351
- package/src/ui/screens/ProfileScreen.tsx +416 -319
- package/src/ui/screens/SearchSettingsScreen.tsx +100 -98
- package/src/ui/screens/UserLinksScreen.tsx +48 -43
- package/src/ui/screens/UserListScreen.tsx +53 -30
- package/src/ui/screens/WelcomeNewUserScreen.tsx +430 -334
- package/src/ui/screens/__tests__/linkFormat.test.ts +58 -62
- package/src/ui/screens/__tests__/photoGridLayout.test.ts +43 -47
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +33 -27
- package/src/ui/screens/fileManagement/FileListSection.tsx +96 -87
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +508 -475
- package/src/ui/screens/fileManagement/UploadBar.tsx +26 -16
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +514 -490
- package/src/ui/screens/fileManagement/photoGridLayout.ts +13 -13
- package/src/ui/screens/fileManagement/shared.ts +40 -38
- package/src/ui/screens/linkFormat.ts +14 -14
- package/src/ui/screens/trust/TrustAboutScreen.tsx +53 -51
- package/src/ui/screens/trust/TrustCenterScreen.tsx +156 -214
- package/src/ui/screens/trust/TrustFAQScreen.tsx +60 -67
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +183 -183
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +495 -494
- package/src/ui/screens/trust/TrustRulesScreen.tsx +84 -85
- package/src/ui/server.ts +12 -15
- package/src/ui/session/__tests__/authStore.test.ts +6 -1
- package/src/ui/session/__tests__/createSessionClient.test.ts +22 -8
- package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +24 -6
- package/src/ui/session/__tests__/tokenLossRecovery.test.ts +3 -1
- package/src/ui/session/__tests__/tokenTransport.test.ts +9 -2
- package/src/ui/session/authStore.ts +7 -1
- package/src/ui/session/backgroundSession.ts +4 -3
- package/src/ui/session/createSessionClient.ts +17 -5
- package/src/ui/session/deviceCredentialTracker.ts +12 -6
- package/src/ui/session/identityBinding.ts +6 -1
- package/src/ui/session/sharedDeviceCredentialStore.ts +15 -4
- package/src/ui/session/tokenLossRecovery.ts +24 -10
- package/src/ui/session/tokenTransport.ts +5 -1
- package/src/ui/stores/__tests__/followStore.test.ts +20 -7
- package/src/ui/stores/assetStore.ts +209 -207
- package/src/ui/stores/followStore.ts +80 -39
- package/src/ui/stores/followTargetStore.ts +1 -1
- package/src/ui/types/fileManagement.ts +48 -49
- package/src/ui/types/navigation.ts +168 -168
- package/src/ui/types/surfaceScreen.ts +4 -1
- package/src/ui/utils/__tests__/deviceSessionTitle.test.ts +4 -2
- package/src/ui/utils/accountDeletionHandoff.ts +14 -3
- package/src/ui/utils/avatarUtils.ts +7 -6
- package/src/ui/utils/clipboard.native.ts +23 -6
- package/src/ui/utils/commonsStoreLinks.ts +2 -1
- package/src/ui/utils/errorHandlers.ts +7 -12
- package/src/ui/utils/fileManagement.ts +92 -103
- package/src/ui/utils/iconNames.ts +60 -60
- package/src/ui/utils/sessionHelpers.ts +1 -6
- package/src/ui/utils/storageHelpers.ts +0 -1
- package/src/ui/utils/userUtils.ts +2 -6
- package/src/utils/hookUtils.ts +77 -65
|
@@ -21,383 +21,541 @@ import { usePrivacySettings } from '../hooks/queries/useAccountQueries';
|
|
|
21
21
|
import { queryKeys } from '../hooks/queries/queryKeys';
|
|
22
22
|
|
|
23
23
|
interface PrivacySettings {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
24
|
+
isPrivateAccount: boolean;
|
|
25
|
+
hideOnlineStatus: boolean;
|
|
26
|
+
hideLastSeen: boolean;
|
|
27
|
+
profileVisibility: boolean;
|
|
28
|
+
loginAlerts: boolean;
|
|
29
|
+
blockScreenshots: boolean;
|
|
30
|
+
login: boolean;
|
|
31
|
+
biometricLogin: boolean;
|
|
32
|
+
showActivity: boolean;
|
|
33
|
+
allowTagging: boolean;
|
|
34
|
+
allowMentions: boolean;
|
|
35
|
+
hideReadReceipts: boolean;
|
|
36
|
+
allowDirectMessages: boolean;
|
|
37
|
+
dataSharing: boolean;
|
|
38
|
+
locationSharing: boolean;
|
|
39
|
+
analyticsSharing: boolean;
|
|
40
|
+
sensitiveContent: boolean;
|
|
41
|
+
autoFilter: boolean;
|
|
42
|
+
muteKeywords: boolean;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
const DEFAULT_PRIVACY_SETTINGS: PrivacySettings = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
46
|
+
isPrivateAccount: false,
|
|
47
|
+
hideOnlineStatus: false,
|
|
48
|
+
hideLastSeen: false,
|
|
49
|
+
profileVisibility: true,
|
|
50
|
+
loginAlerts: true,
|
|
51
|
+
blockScreenshots: false,
|
|
52
|
+
login: true,
|
|
53
|
+
biometricLogin: false,
|
|
54
|
+
showActivity: true,
|
|
55
|
+
allowTagging: true,
|
|
56
|
+
allowMentions: true,
|
|
57
|
+
hideReadReceipts: false,
|
|
58
|
+
allowDirectMessages: true,
|
|
59
|
+
dataSharing: true,
|
|
60
|
+
locationSharing: false,
|
|
61
|
+
analyticsSharing: true,
|
|
62
|
+
sensitiveContent: false,
|
|
63
|
+
autoFilter: true,
|
|
64
|
+
muteKeywords: false,
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// switched, else the personal user).
|
|
73
|
-
const { oxyServices, user } = useOxy();
|
|
74
|
-
const { t } = useI18n();
|
|
67
|
+
const PrivacySettingsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) => {
|
|
68
|
+
// Privacy settings belong to the ACTIVE account (the org/project/bot when
|
|
69
|
+
// switched, else the personal user).
|
|
70
|
+
const { oxyServices, user } = useOxy();
|
|
71
|
+
const { t } = useI18n();
|
|
75
72
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
useSurfaceHeader({ title: t('privacySettings.title') || 'Privacy Settings' });
|
|
74
|
+
const bloomTheme = useTheme();
|
|
75
|
+
const queryClient = useQueryClient();
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
77
|
+
// Use the existing useSettingToggles hook for toggle management
|
|
78
|
+
const {
|
|
79
|
+
values: settings,
|
|
80
|
+
toggle,
|
|
81
|
+
savingKeys,
|
|
82
|
+
setValues,
|
|
83
|
+
} = useSettingToggles<PrivacySettings>({
|
|
84
|
+
initialValues: DEFAULT_PRIVACY_SETTINGS,
|
|
85
|
+
onSave: async (key, value) => {
|
|
86
|
+
if (!user?.id || !oxyServices) return;
|
|
87
|
+
await oxyServices.privacy.updateSettings({ [key]: value }, user.id);
|
|
88
|
+
},
|
|
89
|
+
errorMessage: t('privacySettings.updateError') || 'Failed to update privacy setting',
|
|
90
|
+
});
|
|
89
91
|
|
|
90
|
-
|
|
92
|
+
const isSaving = savingKeys.size > 0;
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
// Settings and the block/restrict lists come from React Query, keyed on the
|
|
95
|
+
// active account — switching accounts reads that account's lists.
|
|
96
|
+
const settingsQuery = usePrivacySettings(user?.id);
|
|
97
|
+
const isLoading = Boolean(user?.id) && settingsQuery.isPending;
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
if (settingsQuery.data) setValues(settingsQuery.data);
|
|
100
|
+
}, [settingsQuery.data, setValues]);
|
|
101
|
+
useEffect(() => {
|
|
102
|
+
if (settingsQuery.error) {
|
|
103
|
+
toast.error(t('privacySettings.loadError') || 'Failed to load privacy settings');
|
|
104
|
+
}
|
|
105
|
+
}, [settingsQuery.error, t]);
|
|
104
106
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
107
|
+
const listsKey = useMemo(() => queryKeys.privacy.lists(user?.id), [user?.id]);
|
|
108
|
+
const listsQuery = useQuery({
|
|
109
|
+
queryKey: listsKey,
|
|
110
|
+
enabled: Boolean(oxyServices),
|
|
111
|
+
queryFn: async () => {
|
|
112
|
+
const [blocked, restricted] = await Promise.all([
|
|
113
|
+
oxyServices.privacy.blocked(),
|
|
114
|
+
oxyServices.privacy.restricted(),
|
|
115
|
+
]);
|
|
116
|
+
return { blocked, restricted };
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
const blockedUsers: BlockedUser[] = listsQuery.data?.blocked ?? [];
|
|
120
|
+
const restrictedUsers: RestrictedUser[] = listsQuery.data?.restricted ?? [];
|
|
121
|
+
const isLoadingUsers = listsQuery.isPending;
|
|
120
122
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
123
|
+
const removeFromLists = useCallback(
|
|
124
|
+
(userId: string, list: 'blocked' | 'restricted') => {
|
|
125
|
+
queryClient.setQueryData<{ blocked: BlockedUser[]; restricted: RestrictedUser[] }>(
|
|
126
|
+
listsKey,
|
|
127
|
+
(prev) => {
|
|
128
|
+
if (!prev) return prev;
|
|
129
|
+
if (list === 'blocked') {
|
|
130
|
+
return {
|
|
131
|
+
...prev,
|
|
132
|
+
blocked: prev.blocked.filter(
|
|
133
|
+
(u) => (typeof u.blockedId === 'string' ? u.blockedId : u.blockedId._id) !== userId,
|
|
134
|
+
),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
...prev,
|
|
139
|
+
restricted: prev.restricted.filter(
|
|
140
|
+
(u) =>
|
|
141
|
+
(typeof u.restrictedId === 'string' ? u.restrictedId : u.restrictedId._id) !==
|
|
142
|
+
userId,
|
|
143
|
+
),
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
);
|
|
147
|
+
},
|
|
148
|
+
[queryClient, listsKey],
|
|
149
|
+
);
|
|
130
150
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
toast.error(t('privacySettings.unblockError') || 'Failed to unblock user');
|
|
151
|
+
const handleUnblock = useCallback(
|
|
152
|
+
async (userId: string) => {
|
|
153
|
+
if (!oxyServices) return;
|
|
154
|
+
try {
|
|
155
|
+
await oxyServices.privacy.unblock(userId);
|
|
156
|
+
removeFromLists(userId, 'blocked');
|
|
157
|
+
toast.success(t('privacySettings.userUnblocked') || 'User unblocked');
|
|
158
|
+
} catch (error) {
|
|
159
|
+
if (__DEV__) {
|
|
160
|
+
console.error('Failed to unblock user:', error);
|
|
142
161
|
}
|
|
143
|
-
|
|
162
|
+
toast.error(t('privacySettings.unblockError') || 'Failed to unblock user');
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
[oxyServices, t, removeFromLists],
|
|
166
|
+
);
|
|
144
167
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
toast.error(t('privacySettings.unrestrictError') || 'Failed to unrestrict user');
|
|
168
|
+
const handleUnrestrict = useCallback(
|
|
169
|
+
async (userId: string) => {
|
|
170
|
+
if (!oxyServices) return;
|
|
171
|
+
try {
|
|
172
|
+
await oxyServices.privacy.unrestrict(userId);
|
|
173
|
+
removeFromLists(userId, 'restricted');
|
|
174
|
+
toast.success(t('privacySettings.userUnrestricted') || 'User unrestricted');
|
|
175
|
+
} catch (error) {
|
|
176
|
+
if (__DEV__) {
|
|
177
|
+
console.error('Failed to unrestrict user:', error);
|
|
156
178
|
}
|
|
157
|
-
|
|
179
|
+
toast.error(t('privacySettings.unrestrictError') || 'Failed to unrestrict user');
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
[oxyServices, t, removeFromLists],
|
|
183
|
+
);
|
|
158
184
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
185
|
+
// Helper to extract user info from blocked/restricted objects.
|
|
186
|
+
const extractUserInfo = useCallback(
|
|
187
|
+
(item: BlockedUser | RestrictedUser, idField: 'blockedId' | 'restrictedId') => {
|
|
188
|
+
let userIdField:
|
|
189
|
+
| string
|
|
190
|
+
| { _id: string; username?: string; avatar?: string; name?: { displayName?: string } };
|
|
191
|
+
let userShape: { username?: string; name?: { displayName?: string } };
|
|
192
|
+
let avatar: string | undefined;
|
|
167
193
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
194
|
+
if (idField === 'blockedId' && 'blockedId' in item) {
|
|
195
|
+
userIdField = item.blockedId;
|
|
196
|
+
userShape =
|
|
197
|
+
typeof item.blockedId === 'string'
|
|
198
|
+
? { username: item.username }
|
|
199
|
+
: { username: item.blockedId.username, name: item.blockedId.name };
|
|
200
|
+
avatar = typeof item.blockedId === 'string' ? item.avatar : item.blockedId.avatar;
|
|
201
|
+
} else if (idField === 'restrictedId' && 'restrictedId' in item) {
|
|
202
|
+
userIdField = item.restrictedId;
|
|
203
|
+
userShape =
|
|
204
|
+
typeof item.restrictedId === 'string'
|
|
205
|
+
? { username: item.username }
|
|
206
|
+
: { username: item.restrictedId.username, name: item.restrictedId.name };
|
|
207
|
+
avatar = typeof item.restrictedId === 'string' ? item.avatar : item.restrictedId.avatar;
|
|
208
|
+
} else {
|
|
209
|
+
return { userId: '', displayName: getNormalizedUserHandle(null) ?? '', avatar: undefined };
|
|
210
|
+
}
|
|
183
211
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
},
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return (
|
|
194
|
-
<>
|
|
195
|
-
<Loading size="lg" color={bloomTheme.colors.text} />
|
|
196
|
-
</>
|
|
197
|
-
);
|
|
198
|
-
}
|
|
212
|
+
const userId = typeof userIdField === 'string' ? userIdField : userIdField._id;
|
|
213
|
+
return {
|
|
214
|
+
userId,
|
|
215
|
+
displayName: userShape.name?.displayName ?? getNormalizedUserHandle(userShape) ?? '',
|
|
216
|
+
avatar,
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
[],
|
|
220
|
+
);
|
|
199
221
|
|
|
222
|
+
if (isLoading) {
|
|
200
223
|
return (
|
|
201
|
-
|
|
224
|
+
<>
|
|
225
|
+
<Loading size="lg" color={bloomTheme.colors.text} />
|
|
226
|
+
</>
|
|
227
|
+
);
|
|
228
|
+
}
|
|
202
229
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
230
|
+
return (
|
|
231
|
+
<>
|
|
232
|
+
<View className="px-screen-margin pb-space-24">
|
|
233
|
+
{/* Account Privacy */}
|
|
234
|
+
<SettingsListGroup title={t('privacySettings.sections.account') || 'ACCOUNT PRIVACY'}>
|
|
235
|
+
<SettingsListItem
|
|
236
|
+
icon={<SettingsIcon name="lock-outline" color={bloomTheme.colors.primary} />}
|
|
237
|
+
title={t('privacySettings.isPrivateAccount') || 'Private Account'}
|
|
238
|
+
description={
|
|
239
|
+
t('privacySettings.isPrivateAccountDesc') ||
|
|
240
|
+
'Only approved followers can see your posts'
|
|
241
|
+
}
|
|
242
|
+
rightElement={
|
|
243
|
+
<Switch
|
|
244
|
+
checked={settings.isPrivateAccount}
|
|
245
|
+
onCheckedChange={() => toggle('isPrivateAccount')}
|
|
246
|
+
disabled={isSaving}
|
|
247
|
+
/>
|
|
248
|
+
}
|
|
249
|
+
showChevron={false}
|
|
250
|
+
/>
|
|
251
|
+
<SettingsListItem
|
|
252
|
+
icon={<SettingsIcon name="account-eye-outline" color={bloomTheme.colors.info} />}
|
|
253
|
+
title={t('privacySettings.profileVisibility') || 'Profile Visibility'}
|
|
254
|
+
description={
|
|
255
|
+
t('privacySettings.profileVisibilityDesc') || 'Control who can view your profile'
|
|
256
|
+
}
|
|
257
|
+
rightElement={
|
|
258
|
+
<Switch
|
|
259
|
+
checked={settings.profileVisibility}
|
|
260
|
+
onCheckedChange={() => toggle('profileVisibility')}
|
|
261
|
+
disabled={isSaving}
|
|
262
|
+
/>
|
|
263
|
+
}
|
|
264
|
+
showChevron={false}
|
|
265
|
+
/>
|
|
266
|
+
<SettingsListItem
|
|
267
|
+
icon={<SettingsIcon name="circle-outline" color={bloomTheme.colors.success} />}
|
|
268
|
+
title={t('privacySettings.hideOnlineStatus') || 'Hide Online Status'}
|
|
269
|
+
description={
|
|
270
|
+
t('privacySettings.hideOnlineStatusDesc') || "Don't show when you're online"
|
|
271
|
+
}
|
|
272
|
+
rightElement={
|
|
273
|
+
<Switch
|
|
274
|
+
checked={settings.hideOnlineStatus}
|
|
275
|
+
onCheckedChange={() => toggle('hideOnlineStatus')}
|
|
276
|
+
disabled={isSaving}
|
|
277
|
+
/>
|
|
278
|
+
}
|
|
279
|
+
showChevron={false}
|
|
280
|
+
/>
|
|
281
|
+
<SettingsListItem
|
|
282
|
+
icon={<SettingsIcon name="clock-outline" color={bloomTheme.colors.secondary} />}
|
|
283
|
+
title={t('privacySettings.hideLastSeen') || 'Hide Last Seen'}
|
|
284
|
+
description={
|
|
285
|
+
t('privacySettings.hideLastSeenDesc') || "Don't show when you were last active"
|
|
286
|
+
}
|
|
287
|
+
rightElement={
|
|
288
|
+
<Switch
|
|
289
|
+
checked={settings.hideLastSeen}
|
|
290
|
+
onCheckedChange={() => toggle('hideLastSeen')}
|
|
291
|
+
disabled={isSaving}
|
|
292
|
+
/>
|
|
293
|
+
}
|
|
294
|
+
showChevron={false}
|
|
295
|
+
/>
|
|
296
|
+
</SettingsListGroup>
|
|
235
297
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
298
|
+
{/* Interactions */}
|
|
299
|
+
<SettingsListGroup title={t('privacySettings.sections.interactions') || 'INTERACTIONS'}>
|
|
300
|
+
<SettingsListItem
|
|
301
|
+
icon={<SettingsIcon name="tag-outline" color={bloomTheme.colors.primary} />}
|
|
302
|
+
title={t('privacySettings.allowTagging') || 'Allow Tagging'}
|
|
303
|
+
description={t('privacySettings.allowTaggingDesc') || 'Let others tag you in posts'}
|
|
304
|
+
rightElement={
|
|
305
|
+
<Switch
|
|
306
|
+
checked={settings.allowTagging}
|
|
307
|
+
onCheckedChange={() => toggle('allowTagging')}
|
|
308
|
+
disabled={isSaving}
|
|
309
|
+
/>
|
|
310
|
+
}
|
|
311
|
+
showChevron={false}
|
|
312
|
+
/>
|
|
313
|
+
<SettingsListItem
|
|
314
|
+
icon={<SettingsIcon name="at" color={bloomTheme.colors.info} />}
|
|
315
|
+
title={t('privacySettings.allowMentions') || 'Allow Mentions'}
|
|
316
|
+
description={t('privacySettings.allowMentionsDesc') || 'Let others mention you'}
|
|
317
|
+
rightElement={
|
|
318
|
+
<Switch
|
|
319
|
+
checked={settings.allowMentions}
|
|
320
|
+
onCheckedChange={() => toggle('allowMentions')}
|
|
321
|
+
disabled={isSaving}
|
|
322
|
+
/>
|
|
323
|
+
}
|
|
324
|
+
showChevron={false}
|
|
325
|
+
/>
|
|
326
|
+
<SettingsListItem
|
|
327
|
+
icon={<SettingsIcon name="message-outline" color={bloomTheme.colors.success} />}
|
|
328
|
+
title={t('privacySettings.allowDirectMessages') || 'Allow Direct Messages'}
|
|
329
|
+
description={
|
|
330
|
+
t('privacySettings.allowDirectMessagesDesc') || 'Let others send you direct messages'
|
|
331
|
+
}
|
|
332
|
+
rightElement={
|
|
333
|
+
<Switch
|
|
334
|
+
checked={settings.allowDirectMessages}
|
|
335
|
+
onCheckedChange={() => toggle('allowDirectMessages')}
|
|
336
|
+
disabled={isSaving}
|
|
337
|
+
/>
|
|
338
|
+
}
|
|
339
|
+
showChevron={false}
|
|
340
|
+
/>
|
|
341
|
+
<SettingsListItem
|
|
342
|
+
icon={<SettingsIcon name="check-all" color={bloomTheme.colors.secondary} />}
|
|
343
|
+
title={t('privacySettings.hideReadReceipts') || 'Hide Read Receipts'}
|
|
344
|
+
description={
|
|
345
|
+
t('privacySettings.hideReadReceiptsDesc') || "Don't show read receipts in messages"
|
|
346
|
+
}
|
|
347
|
+
rightElement={
|
|
348
|
+
<Switch
|
|
349
|
+
checked={settings.hideReadReceipts}
|
|
350
|
+
onCheckedChange={() => toggle('hideReadReceipts')}
|
|
351
|
+
disabled={isSaving}
|
|
352
|
+
/>
|
|
353
|
+
}
|
|
354
|
+
showChevron={false}
|
|
355
|
+
/>
|
|
356
|
+
</SettingsListGroup>
|
|
267
357
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
358
|
+
{/* Activity & Data */}
|
|
359
|
+
<SettingsListGroup title={t('privacySettings.sections.activity') || 'ACTIVITY & DATA'}>
|
|
360
|
+
<SettingsListItem
|
|
361
|
+
icon={<SettingsIcon name="pulse" color={bloomTheme.colors.primary} />}
|
|
362
|
+
title={t('privacySettings.showActivity') || 'Show Activity Status'}
|
|
363
|
+
description={
|
|
364
|
+
t('privacySettings.showActivityDesc') || 'Display your activity on your profile'
|
|
365
|
+
}
|
|
366
|
+
rightElement={
|
|
367
|
+
<Switch
|
|
368
|
+
checked={settings.showActivity}
|
|
369
|
+
onCheckedChange={() => toggle('showActivity')}
|
|
370
|
+
disabled={isSaving}
|
|
371
|
+
/>
|
|
372
|
+
}
|
|
373
|
+
showChevron={false}
|
|
374
|
+
/>
|
|
375
|
+
<SettingsListItem
|
|
376
|
+
icon={<SettingsIcon name="database-outline" color={bloomTheme.colors.info} />}
|
|
377
|
+
title={t('privacySettings.dataSharing') || 'Data Sharing'}
|
|
378
|
+
description={
|
|
379
|
+
t('privacySettings.dataSharingDesc') || 'Allow sharing data for personalization'
|
|
380
|
+
}
|
|
381
|
+
rightElement={
|
|
382
|
+
<Switch
|
|
383
|
+
checked={settings.dataSharing}
|
|
384
|
+
onCheckedChange={() => toggle('dataSharing')}
|
|
385
|
+
disabled={isSaving}
|
|
386
|
+
/>
|
|
387
|
+
}
|
|
388
|
+
showChevron={false}
|
|
389
|
+
/>
|
|
390
|
+
<SettingsListItem
|
|
391
|
+
icon={<SettingsIcon name="map-marker-outline" color={bloomTheme.colors.warning} />}
|
|
392
|
+
title={t('privacySettings.locationSharing') || 'Location Sharing'}
|
|
393
|
+
description={t('privacySettings.locationSharingDesc') || 'Share your location'}
|
|
394
|
+
rightElement={
|
|
395
|
+
<Switch
|
|
396
|
+
checked={settings.locationSharing}
|
|
397
|
+
onCheckedChange={() => toggle('locationSharing')}
|
|
398
|
+
disabled={isSaving}
|
|
399
|
+
/>
|
|
400
|
+
}
|
|
401
|
+
showChevron={false}
|
|
402
|
+
/>
|
|
403
|
+
<SettingsListItem
|
|
404
|
+
icon={<SettingsIcon name="chart-line" color={bloomTheme.colors.secondary} />}
|
|
405
|
+
title={t('privacySettings.analyticsSharing') || 'Analytics Sharing'}
|
|
406
|
+
description={
|
|
407
|
+
t('privacySettings.analyticsSharingDesc') || 'Allow analytics data collection'
|
|
408
|
+
}
|
|
409
|
+
rightElement={
|
|
410
|
+
<Switch
|
|
411
|
+
checked={settings.analyticsSharing}
|
|
412
|
+
onCheckedChange={() => toggle('analyticsSharing')}
|
|
413
|
+
disabled={isSaving}
|
|
414
|
+
/>
|
|
415
|
+
}
|
|
416
|
+
showChevron={false}
|
|
417
|
+
/>
|
|
418
|
+
</SettingsListGroup>
|
|
299
419
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
420
|
+
{/* Content & Safety */}
|
|
421
|
+
<SettingsListGroup title={t('privacySettings.sections.content') || 'CONTENT & SAFETY'}>
|
|
422
|
+
<SettingsListItem
|
|
423
|
+
icon={<SettingsIcon name="eye-off-outline" color={bloomTheme.colors.warning} />}
|
|
424
|
+
title={t('privacySettings.sensitiveContent') || 'Show Sensitive Content'}
|
|
425
|
+
description={
|
|
426
|
+
t('privacySettings.sensitiveContentDesc') || 'Allow sensitive or explicit content'
|
|
427
|
+
}
|
|
428
|
+
rightElement={
|
|
429
|
+
<Switch
|
|
430
|
+
checked={settings.sensitiveContent}
|
|
431
|
+
onCheckedChange={() => toggle('sensitiveContent')}
|
|
432
|
+
disabled={isSaving}
|
|
433
|
+
/>
|
|
434
|
+
}
|
|
435
|
+
showChevron={false}
|
|
436
|
+
/>
|
|
437
|
+
<SettingsListItem
|
|
438
|
+
icon={<SettingsIcon name="filter-outline" color={bloomTheme.colors.success} />}
|
|
439
|
+
title={t('privacySettings.autoFilter') || 'Auto Filter'}
|
|
440
|
+
description={
|
|
441
|
+
t('privacySettings.autoFilterDesc') || 'Automatically filter inappropriate content'
|
|
442
|
+
}
|
|
443
|
+
rightElement={
|
|
444
|
+
<Switch
|
|
445
|
+
checked={settings.autoFilter}
|
|
446
|
+
onCheckedChange={() => toggle('autoFilter')}
|
|
447
|
+
disabled={isSaving}
|
|
448
|
+
/>
|
|
449
|
+
}
|
|
450
|
+
showChevron={false}
|
|
451
|
+
/>
|
|
452
|
+
<SettingsListItem
|
|
453
|
+
icon={<SettingsIcon name="volume-off" color={bloomTheme.colors.info} />}
|
|
454
|
+
title={t('privacySettings.muteKeywords') || 'Mute Keywords'}
|
|
455
|
+
description={
|
|
456
|
+
t('privacySettings.muteKeywordsDesc') || 'Hide posts containing muted keywords'
|
|
457
|
+
}
|
|
458
|
+
rightElement={
|
|
459
|
+
<Switch
|
|
460
|
+
checked={settings.muteKeywords}
|
|
461
|
+
onCheckedChange={() => toggle('muteKeywords')}
|
|
462
|
+
disabled={isSaving}
|
|
463
|
+
/>
|
|
464
|
+
}
|
|
465
|
+
showChevron={false}
|
|
466
|
+
/>
|
|
467
|
+
<SettingsListItem
|
|
468
|
+
icon={<SettingsIcon name="cellphone-screenshot" color={bloomTheme.colors.secondary} />}
|
|
469
|
+
title={t('privacySettings.blockScreenshots') || 'Block Screenshots'}
|
|
470
|
+
description={
|
|
471
|
+
t('privacySettings.blockScreenshotsDesc') || 'Prevent screenshots of your content'
|
|
472
|
+
}
|
|
473
|
+
rightElement={
|
|
474
|
+
<Switch
|
|
475
|
+
checked={settings.blockScreenshots}
|
|
476
|
+
onCheckedChange={() => toggle('blockScreenshots')}
|
|
477
|
+
disabled={isSaving}
|
|
478
|
+
/>
|
|
479
|
+
}
|
|
480
|
+
showChevron={false}
|
|
481
|
+
/>
|
|
482
|
+
</SettingsListGroup>
|
|
331
483
|
|
|
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
|
-
|
|
484
|
+
{/* Blocked Users */}
|
|
485
|
+
<SettingsListGroup title={t('privacySettings.sections.blockedUsers') || 'BLOCKED USERS'}>
|
|
486
|
+
{isLoadingUsers ? (
|
|
487
|
+
<Loading size="sm" color={bloomTheme.colors.text} />
|
|
488
|
+
) : blockedUsers.length === 0 ? (
|
|
489
|
+
<Text className="text-text-secondary text-center p-space-40">
|
|
490
|
+
{t('privacySettings.noBlockedUsers') || 'No blocked users'}
|
|
491
|
+
</Text>
|
|
492
|
+
) : (
|
|
493
|
+
blockedUsers.map((blocked) => {
|
|
494
|
+
const { userId, displayName, avatar } = extractUserInfo(blocked, 'blockedId');
|
|
495
|
+
const avatarUri =
|
|
496
|
+
avatar && oxyServices ? oxyServices.assets.publicUrl(avatar, 'thumb') : undefined;
|
|
497
|
+
return (
|
|
498
|
+
<SettingsListItem
|
|
499
|
+
key={userId}
|
|
500
|
+
icon={<Avatar source={avatarUri} name={displayName} size={20} />}
|
|
501
|
+
title={displayName}
|
|
502
|
+
rightElement={
|
|
503
|
+
<Button
|
|
504
|
+
appearance="solid"
|
|
505
|
+
tone="danger"
|
|
506
|
+
size="sm"
|
|
507
|
+
onPress={() => handleUnblock(userId)}
|
|
508
|
+
>
|
|
509
|
+
{t('privacySettings.unblock') || 'Unblock'}
|
|
510
|
+
</Button>
|
|
511
|
+
}
|
|
512
|
+
showChevron={false}
|
|
513
|
+
/>
|
|
514
|
+
);
|
|
515
|
+
})
|
|
516
|
+
)}
|
|
517
|
+
</SettingsListGroup>
|
|
364
518
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
519
|
+
{/* Restricted Users */}
|
|
520
|
+
<SettingsListGroup
|
|
521
|
+
title={t('privacySettings.sections.restrictedUsers') || 'RESTRICTED USERS'}
|
|
522
|
+
>
|
|
523
|
+
{isLoadingUsers ? (
|
|
524
|
+
<Loading size="sm" color={bloomTheme.colors.text} />
|
|
525
|
+
) : restrictedUsers.length === 0 ? (
|
|
526
|
+
<Text className="text-text-secondary text-center p-space-40">
|
|
527
|
+
{t('privacySettings.noRestrictedUsers') || 'No restricted users'}
|
|
528
|
+
</Text>
|
|
529
|
+
) : (
|
|
530
|
+
restrictedUsers.map((restricted) => {
|
|
531
|
+
const { userId, displayName, avatar } = extractUserInfo(restricted, 'restrictedId');
|
|
532
|
+
const avatarUri =
|
|
533
|
+
avatar && oxyServices ? oxyServices.assets.publicUrl(avatar, 'thumb') : undefined;
|
|
534
|
+
return (
|
|
535
|
+
<SettingsListItem
|
|
536
|
+
key={userId}
|
|
537
|
+
icon={<Avatar source={avatarUri} name={displayName} size={20} />}
|
|
538
|
+
title={displayName}
|
|
539
|
+
description={t('privacySettings.restrictedDescription') || 'Limited interactions'}
|
|
540
|
+
rightElement={
|
|
541
|
+
<Button
|
|
542
|
+
appearance="subtle"
|
|
543
|
+
tone="neutral"
|
|
544
|
+
size="sm"
|
|
545
|
+
onPress={() => handleUnrestrict(userId)}
|
|
546
|
+
>
|
|
547
|
+
{t('privacySettings.unrestrict') || 'Unrestrict'}
|
|
548
|
+
</Button>
|
|
549
|
+
}
|
|
550
|
+
showChevron={false}
|
|
551
|
+
/>
|
|
552
|
+
);
|
|
553
|
+
})
|
|
554
|
+
)}
|
|
555
|
+
</SettingsListGroup>
|
|
556
|
+
</View>
|
|
557
|
+
</>
|
|
558
|
+
);
|
|
401
559
|
};
|
|
402
560
|
|
|
403
561
|
export default React.memo(PrivacySettingsScreen);
|