@oxy.so/services 11.13.0 → 11.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/assets/one/README.md +8 -0
- package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/one/README.md +8 -0
- package/lib/commonjs/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +36 -6
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +7 -5
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
- package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +32 -58
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
- package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
- package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +2 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +3 -3
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +37 -0
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +27 -101
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
- package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js +19 -7
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/one-video.js +50 -0
- package/lib/commonjs/ui/one-video.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +13 -14
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +38 -189
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
- package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +17 -82
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/index.js +7 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/assets/one/README.md +8 -0
- package/lib/module/assets/assets/one/floral.jpg +0 -0
- package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/module/assets/assets/one/floral.mp4 +0 -0
- package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/one/README.md +8 -0
- package/lib/module/assets/one/floral.jpg +0 -0
- package/lib/module/assets/one/floral.mp4 +0 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +2 -3
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +29 -24
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +8 -32
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +38 -6
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +6 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +17 -43
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js +14 -25
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +39 -48
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
- package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +21 -70
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +7 -51
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
- package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/module/ui/context/oxySupportContext.js +7 -0
- package/lib/module/ui/context/oxySupportContext.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
- package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +4 -0
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +2 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +24 -102
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/screenComponents.js +96 -0
- package/lib/module/ui/navigation/screenComponents.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js +19 -7
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/one-video.js +45 -0
- package/lib/module/ui/one-video.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +36 -35
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +13 -14
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +6 -13
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +18 -15
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +38 -189
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +9 -9
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyOneScreen.js +208 -0
- package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +11 -11
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +310 -235
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +68 -0
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +67 -59
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +19 -84
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/index.js +1 -0
- package/lib/module/ui/screens/index.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
- package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +1 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +24 -73
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
- package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +1 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +24 -73
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/one-video.d.ts +3 -0
- package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/index.d.ts +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/types/assets.d.ts +10 -0
- package/package.json +64 -48
- package/plugins/withOxySharedPermissions.js +2 -1
- package/plugins/withSharedDeviceSessionProvider.js +2 -1
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +9 -9
- package/src/assets/one/README.md +8 -0
- package/src/assets/one/floral.jpg +0 -0
- package/src/assets/one/floral.jpg.d.ts +2 -0
- package/src/assets/one/floral.mp4 +0 -0
- package/src/assets/one/floral.mp4.d.ts +2 -0
- package/src/index.ts +9 -1
- package/src/types/assets.d.ts +10 -0
- package/src/ui/client.ts +2 -3
- package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
- package/src/ui/components/BloomLocaleBridge.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +1 -1
- package/src/ui/components/LanguageBridge.tsx +1 -1
- package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
- package/src/ui/components/OxyAuthChooser.tsx +28 -24
- package/src/ui/components/OxyConsentScreen.tsx +8 -25
- package/src/ui/components/OxyOAuthCallback.tsx +3 -2
- package/src/ui/components/OxyProvider.tsx +34 -8
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +17 -4
- package/src/ui/components/ProfileSummaryCard.tsx +27 -68
- package/src/ui/components/RequireOxyAuth.tsx +16 -38
- package/src/ui/components/SettingsIcon.tsx +8 -33
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +56 -49
- package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
- package/src/ui/components/authChooser/storageUsage.ts +75 -0
- package/src/ui/components/authChooser/styles.ts +14 -76
- package/src/ui/components/authChooser/types.ts +6 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
- package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
- package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
- package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
- package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
- package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
- package/src/ui/components/signIn/ReauthStep.tsx +26 -16
- package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
- package/src/ui/components/supervision/PersonPicker.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +15 -79
- package/src/ui/context/oxyContextTypes.ts +1 -0
- package/src/ui/context/oxyRuntimeContext.ts +69 -0
- package/src/ui/context/oxySupportContext.ts +9 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
- package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
- package/src/ui/hooks/queries/useFileQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
- package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/queries/useSupervision.ts +1 -1
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
- package/src/ui/hooks/useDisplayCurrency.ts +1 -1
- package/src/ui/hooks/useFollow.ts +1 -1
- package/src/ui/hooks/useFollowTarget.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +48 -23
- package/src/ui/hooks/useOxyEvent.ts +1 -1
- package/src/ui/hooks/useSurfaceHeader.ts +50 -2
- package/src/ui/hooks/useUsernameAvailability.ts +57 -0
- package/src/ui/icons/subsetGlyphMaps.ts +4 -4
- package/src/ui/index.ts +5 -0
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
- package/src/ui/navigation/accountDialogManager.ts +16 -1
- package/src/ui/navigation/bottomSheetManager.ts +3 -3
- package/src/ui/navigation/routes.ts +75 -103
- package/src/ui/navigation/screenComponents.ts +96 -0
- package/src/ui/navigation/surfaceBackBridge.ts +1 -1
- package/src/ui/navigation/surfaceNavStack.ts +33 -6
- package/src/ui/navigation/surfaceRegistry.ts +7 -1
- package/src/ui/navigation/surfaces.ts +30 -15
- package/src/ui/one-video.tsx +44 -0
- package/src/ui/runtime/createOxyRuntime.ts +7 -1
- package/src/ui/screens/AccountMembersScreen.tsx +6 -6
- package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +41 -42
- package/src/ui/screens/AvatarCropScreen.tsx +33 -57
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
- package/src/ui/screens/ConnectedAppsScreen.tsx +14 -16
- package/src/ui/screens/CreateAccountScreen.tsx +13 -13
- package/src/ui/screens/DomainsScreen.tsx +9 -14
- package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
- package/src/ui/screens/EditProfileScreen.tsx +21 -18
- package/src/ui/screens/FileManagementScreen.tsx +52 -209
- package/src/ui/screens/FileTrashScreen.tsx +3 -3
- package/src/ui/screens/HelpSupportScreen.tsx +59 -53
- package/src/ui/screens/HistoryViewScreen.tsx +10 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
- package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
- package/src/ui/screens/ManageAccountScreen.tsx +367 -340
- package/src/ui/screens/NotificationsScreen.tsx +12 -12
- package/src/ui/screens/OxyOneScreen.tsx +223 -0
- package/src/ui/screens/PreferencesScreen.tsx +15 -15
- package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
- package/src/ui/screens/ProfileScreen.tsx +242 -268
- package/src/ui/screens/ReportBugScreen.tsx +68 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
- package/src/ui/screens/SupervisionScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +85 -62
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/fileManagement/FileListSection.tsx +8 -7
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +16 -79
- package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
- package/src/ui/screens/index.ts +1 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
- package/src/ui/types/navigation.ts +12 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/types/expo-document-picker.d.ts +0 -35
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/src/types/expo-document-picker.d.ts +0 -35
- package/src/types/expo-image-picker.d.ts +0 -35
- package/src/ui/screens/UserLinksScreen.tsx +0 -68
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from '@oxy.so/contracts/client';
|
|
7
7
|
import { OrganizationSettings } from '../components/organizations/OrganizationSettings';
|
|
8
8
|
import { useCallback, useMemo, useState } from 'react';
|
|
9
|
-
import { View
|
|
9
|
+
import { View } from 'react-native';
|
|
10
10
|
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
11
11
|
import { toast } from '@oxy.so/bloom/toast';
|
|
12
12
|
import { surfaces } from '@oxy.so/bloom/surfaces';
|
|
@@ -14,7 +14,7 @@ import { useTheme } from '@oxy.so/bloom/theme';
|
|
|
14
14
|
import { Text } from '@oxy.so/bloom/typography';
|
|
15
15
|
import { Button } from '@oxy.so/bloom/button';
|
|
16
16
|
import { TextField, TextFieldInput } from '@oxy.so/bloom/text-field';
|
|
17
|
-
import {
|
|
17
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
18
18
|
import {
|
|
19
19
|
DISPLAY_NAME_INVALID_MESSAGE,
|
|
20
20
|
getNormalizedUserHandle,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from '@oxy.so/core';
|
|
25
25
|
import type { BaseScreenProps } from '../types/navigation';
|
|
26
26
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
27
|
-
import { useOxy } from '../context/
|
|
27
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
28
28
|
import { useI18n } from '../hooks/useI18n';
|
|
29
29
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
30
30
|
import { clearedFieldsFromAccountUpdate, upsertCachedUser } from '../hooks/queries/userCache';
|
|
@@ -59,6 +59,10 @@ const AccountSettingsScreen: React.FC<BaseScreenProps> = ({
|
|
|
59
59
|
|
|
60
60
|
const accountQuery = useQuery({
|
|
61
61
|
queryKey: ['accounts', 'detail', id, user?.id, canUsePrivateApi],
|
|
62
|
+
initialData: canUsePrivateApi
|
|
63
|
+
? accounts?.find((account) => account.accountId === id)
|
|
64
|
+
: undefined,
|
|
65
|
+
initialDataUpdatedAt: 0,
|
|
62
66
|
queryFn: () => oxyServices.accounts.get(id),
|
|
63
67
|
enabled: canUsePrivateApi && id.length > 0,
|
|
64
68
|
});
|
|
@@ -217,9 +221,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps> = ({
|
|
|
217
221
|
<>
|
|
218
222
|
<View className="px-screen-margin pt-space-24 pb-space-32 gap-space-24">
|
|
219
223
|
{accountQuery.isLoading ? (
|
|
220
|
-
<View className="items-center py-space-32">
|
|
221
|
-
<ActivityIndicator color={colors.primary} />
|
|
222
|
-
</View>
|
|
224
|
+
<View className="items-center py-space-32">{null}</View>
|
|
223
225
|
) : (
|
|
224
226
|
<>
|
|
225
227
|
{/* Profile edit */}
|
|
@@ -285,8 +287,8 @@ const AccountSettingsScreen: React.FC<BaseScreenProps> = ({
|
|
|
285
287
|
|
|
286
288
|
{/* Members entry */}
|
|
287
289
|
{canViewMembers ? (
|
|
288
|
-
<
|
|
289
|
-
<
|
|
290
|
+
<GroupedSection title={t('accounts.settings.sections.access') || 'Access'}>
|
|
291
|
+
<GroupedSectionItem
|
|
290
292
|
icon={<SettingsIcon name="account-multiple" color={colors.info} />}
|
|
291
293
|
title={t('accounts.members.title') || 'Members'}
|
|
292
294
|
description={
|
|
@@ -294,21 +296,19 @@ const AccountSettingsScreen: React.FC<BaseScreenProps> = ({
|
|
|
294
296
|
}
|
|
295
297
|
onPress={() => navigate?.('AccountMembers', { accountId: id })}
|
|
296
298
|
/>
|
|
297
|
-
</
|
|
299
|
+
</GroupedSection>
|
|
298
300
|
) : null}
|
|
299
301
|
|
|
300
302
|
{/* Danger zone */}
|
|
301
303
|
{canArchive ? (
|
|
302
|
-
<
|
|
303
|
-
|
|
304
|
-
>
|
|
305
|
-
<SettingsListItem
|
|
304
|
+
<GroupedSection title={t('accounts.settings.sections.dangerZone') || 'Danger zone'}>
|
|
305
|
+
<GroupedSectionItem
|
|
306
306
|
icon={<SettingsIcon name="archive-arrow-down" color={colors.error} />}
|
|
307
307
|
title={t('accounts.settings.archive.title') || 'Archive account'}
|
|
308
308
|
description={t('accounts.settings.archive.subtitle') || 'Deactivate this account'}
|
|
309
309
|
onPress={handleArchive}
|
|
310
310
|
/>
|
|
311
|
-
</
|
|
311
|
+
</GroupedSection>
|
|
312
312
|
) : null}
|
|
313
313
|
</>
|
|
314
314
|
)}
|
|
@@ -19,7 +19,7 @@ import { RiSparklingLine } from '@oxy.so/bloom/icons/RiSparklingLine';
|
|
|
19
19
|
import { RiVerifiedBadgeLine } from '@oxy.so/bloom/icons/RiVerifiedBadgeLine';
|
|
20
20
|
import { useI18n } from '../hooks/useI18n';
|
|
21
21
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
22
|
-
import { useOxy } from '../context/
|
|
22
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
23
23
|
|
|
24
24
|
const AccountVerificationScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) => {
|
|
25
25
|
// Use useOxy() hook for OxyContext values
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
1
2
|
import type React from 'react';
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { View, Platform, Dimensions
|
|
4
|
+
import { View, Platform, Dimensions } from 'react-native';
|
|
4
5
|
import type { BaseScreenProps } from '../types/navigation';
|
|
5
6
|
import { packageInfo } from '@oxy.so/core';
|
|
6
7
|
import { toast } from '@oxy.so/bloom/toast';
|
|
@@ -8,10 +9,10 @@ import { copyText } from '../utils/clipboard';
|
|
|
8
9
|
import OxyServicesLogo from '../../assets/icons/OxyServices';
|
|
9
10
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
10
11
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
11
|
-
import { useOxy } from '../context/
|
|
12
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
12
13
|
import { useI18n } from '../hooks/useI18n';
|
|
13
14
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
14
|
-
import {
|
|
15
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
15
16
|
|
|
16
17
|
interface SystemInfo {
|
|
17
18
|
platform: string;
|
|
@@ -147,31 +148,31 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
147
148
|
<>
|
|
148
149
|
<View className="px-screen-margin py-space-16 pb-space-24">
|
|
149
150
|
{/* Package Information */}
|
|
150
|
-
<
|
|
151
|
-
<
|
|
151
|
+
<GroupedSection title={t('appInfo.sections.package')}>
|
|
152
|
+
<GroupedSectionItem
|
|
152
153
|
icon={<OxyServicesLogo width={20} height={20} />}
|
|
153
154
|
title={t('appInfo.items.name')}
|
|
154
155
|
description={packageInfo.name}
|
|
155
156
|
onPress={() => copyToClipboard(packageInfo.name, t('appInfo.items.name'))}
|
|
156
157
|
/>
|
|
157
|
-
<
|
|
158
|
+
<GroupedSectionItem
|
|
158
159
|
icon={<SettingsIcon name="tag" color={colors.info} />}
|
|
159
160
|
title={t('appInfo.items.version')}
|
|
160
161
|
description={packageInfo.version}
|
|
161
162
|
onPress={() => copyToClipboard(packageInfo.version, t('appInfo.items.version'))}
|
|
162
163
|
/>
|
|
163
|
-
<
|
|
164
|
+
<GroupedSectionItem
|
|
164
165
|
icon={<SettingsIcon name="file-document" color={colors.success} />}
|
|
165
166
|
title={t('appInfo.items.description')}
|
|
166
167
|
description={packageInfo.description || t('appInfo.items.noDescription')}
|
|
167
168
|
/>
|
|
168
|
-
<
|
|
169
|
+
<GroupedSectionItem
|
|
169
170
|
icon={<SettingsIcon name="code-tags" color={colors.secondary} />}
|
|
170
171
|
title={t('appInfo.items.mainEntry')}
|
|
171
172
|
description={packageInfo.main || 'N/A'}
|
|
172
173
|
onPress={() => copyToClipboard(packageInfo.main || 'N/A', t('appInfo.items.mainEntry'))}
|
|
173
174
|
/>
|
|
174
|
-
<
|
|
175
|
+
<GroupedSectionItem
|
|
175
176
|
icon={<SettingsIcon name="library" color={colors.warning} />}
|
|
176
177
|
title={t('appInfo.items.moduleEntry')}
|
|
177
178
|
description={packageInfo.module || 'N/A'}
|
|
@@ -179,7 +180,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
179
180
|
copyToClipboard(packageInfo.module || 'N/A', t('appInfo.items.moduleEntry'))
|
|
180
181
|
}
|
|
181
182
|
/>
|
|
182
|
-
<
|
|
183
|
+
<GroupedSectionItem
|
|
183
184
|
icon={<SettingsIcon name="wrench" color={colors.success} />}
|
|
184
185
|
title={t('appInfo.items.typesEntry')}
|
|
185
186
|
description={packageInfo.types || 'N/A'}
|
|
@@ -187,40 +188,40 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
187
188
|
copyToClipboard(packageInfo.types || 'N/A', t('appInfo.items.typesEntry'))
|
|
188
189
|
}
|
|
189
190
|
/>
|
|
190
|
-
</
|
|
191
|
+
</GroupedSection>
|
|
191
192
|
|
|
192
193
|
{/* System Information */}
|
|
193
|
-
<
|
|
194
|
-
<
|
|
194
|
+
<GroupedSection title={t('appInfo.sections.system')}>
|
|
195
|
+
<GroupedSectionItem
|
|
195
196
|
icon={<SettingsIcon name="cellphone" color={colors.primary} />}
|
|
196
197
|
title={t('appInfo.items.platform')}
|
|
197
198
|
description={Platform.OS}
|
|
198
199
|
/>
|
|
199
|
-
<
|
|
200
|
+
<GroupedSectionItem
|
|
200
201
|
icon={<SettingsIcon name="chip" color={colors.info} />}
|
|
201
202
|
title={t('appInfo.items.platformVersion')}
|
|
202
203
|
description={systemInfo?.version || t('common.status.loading')}
|
|
203
204
|
/>
|
|
204
|
-
<
|
|
205
|
+
<GroupedSectionItem
|
|
205
206
|
icon={<SettingsIcon name="resize" color={colors.secondary} />}
|
|
206
207
|
title={t('appInfo.items.screenWidth')}
|
|
207
208
|
description={`${systemInfo?.screenDimensions.width || 0}px`}
|
|
208
209
|
/>
|
|
209
|
-
<
|
|
210
|
+
<GroupedSectionItem
|
|
210
211
|
icon={<SettingsIcon name="resize" color={colors.warning} />}
|
|
211
212
|
title={t('appInfo.items.screenHeight')}
|
|
212
213
|
description={`${systemInfo?.screenDimensions.height || 0}px`}
|
|
213
214
|
/>
|
|
214
|
-
<
|
|
215
|
+
<GroupedSectionItem
|
|
215
216
|
icon={<SettingsIcon name="cog" color={colors.success} />}
|
|
216
217
|
title={t('appInfo.items.environment')}
|
|
217
218
|
description={__DEV__ ? t('appInfo.items.development') : t('appInfo.items.production')}
|
|
218
219
|
/>
|
|
219
|
-
</
|
|
220
|
+
</GroupedSection>
|
|
220
221
|
|
|
221
222
|
{/* User Information */}
|
|
222
|
-
<
|
|
223
|
-
<
|
|
223
|
+
<GroupedSection title={t('appInfo.sections.user')}>
|
|
224
|
+
<GroupedSectionItem
|
|
224
225
|
icon={
|
|
225
226
|
<SettingsIcon
|
|
226
227
|
name="shield-check"
|
|
@@ -236,13 +237,13 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
236
237
|
/>
|
|
237
238
|
{user && (
|
|
238
239
|
<>
|
|
239
|
-
<
|
|
240
|
+
<GroupedSectionItem
|
|
240
241
|
icon={<SettingsIcon name="account" color={colors.primary} />}
|
|
241
242
|
title={t('appInfo.items.userId')}
|
|
242
243
|
description={user.id}
|
|
243
244
|
onPress={() => copyToClipboard(user.id, t('appInfo.items.userId'))}
|
|
244
245
|
/>
|
|
245
|
-
<
|
|
246
|
+
<GroupedSectionItem
|
|
246
247
|
icon={<SettingsIcon name="at" color={colors.info} />}
|
|
247
248
|
title={t('appInfo.items.username')}
|
|
248
249
|
description={user.username || 'N/A'}
|
|
@@ -254,12 +255,12 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
254
255
|
}
|
|
255
256
|
}}
|
|
256
257
|
/>
|
|
257
|
-
<
|
|
258
|
+
<GroupedSectionItem
|
|
258
259
|
icon={<SettingsIcon name="email" color={colors.secondary} />}
|
|
259
260
|
title={t('appInfo.items.email')}
|
|
260
261
|
description={user.email || 'N/A'}
|
|
261
262
|
/>
|
|
262
|
-
<
|
|
263
|
+
<GroupedSectionItem
|
|
263
264
|
icon={
|
|
264
265
|
<SettingsIcon
|
|
265
266
|
name="star"
|
|
@@ -273,16 +274,16 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
273
274
|
/>
|
|
274
275
|
</>
|
|
275
276
|
)}
|
|
276
|
-
<
|
|
277
|
+
<GroupedSectionItem
|
|
277
278
|
icon={<SettingsIcon name="account-group" color={colors.success} />}
|
|
278
279
|
title={t('appInfo.items.totalActiveSessions')}
|
|
279
280
|
description={sessions?.length?.toString() || '0'}
|
|
280
281
|
/>
|
|
281
|
-
</
|
|
282
|
+
</GroupedSection>
|
|
282
283
|
|
|
283
284
|
{/* API Configuration */}
|
|
284
|
-
<
|
|
285
|
-
<
|
|
285
|
+
<GroupedSection title={t('appInfo.sections.api')}>
|
|
286
|
+
<GroupedSectionItem
|
|
286
287
|
icon={<SettingsIcon name="server" color={colors.primary} />}
|
|
287
288
|
title={t('appInfo.items.apiBaseUrl')}
|
|
288
289
|
description={oxyServices?.baseURL || t('appInfo.items.notConfigured')}
|
|
@@ -293,7 +294,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
293
294
|
)
|
|
294
295
|
}
|
|
295
296
|
/>
|
|
296
|
-
<
|
|
297
|
+
<GroupedSectionItem
|
|
297
298
|
icon={
|
|
298
299
|
<SettingsIcon
|
|
299
300
|
name={
|
|
@@ -341,11 +342,11 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
341
342
|
}
|
|
342
343
|
}}
|
|
343
344
|
/>
|
|
344
|
-
</
|
|
345
|
+
</GroupedSection>
|
|
345
346
|
|
|
346
347
|
{/* Build Information */}
|
|
347
|
-
<
|
|
348
|
-
<
|
|
348
|
+
<GroupedSection title={t('appInfo.sections.build')}>
|
|
349
|
+
<GroupedSectionItem
|
|
349
350
|
icon={<SettingsIcon name="clock" color={colors.primary} />}
|
|
350
351
|
title={t('appInfo.items.buildTimestamp')}
|
|
351
352
|
description={systemInfo?.timestamp || t('common.status.loading')}
|
|
@@ -356,27 +357,27 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
356
357
|
)
|
|
357
358
|
}
|
|
358
359
|
/>
|
|
359
|
-
<
|
|
360
|
+
<GroupedSectionItem
|
|
360
361
|
icon={<SettingsIcon name="react" color={colors.info} />}
|
|
361
362
|
title={t('appInfo.items.reactNative')}
|
|
362
363
|
description={t('appInfo.items.reactNativeValue')}
|
|
363
364
|
/>
|
|
364
|
-
<
|
|
365
|
+
<GroupedSectionItem
|
|
365
366
|
icon={<SettingsIcon name="flash" color={colors.warning} />}
|
|
366
367
|
title={t('appInfo.items.jsEngine')}
|
|
367
368
|
description={t('appInfo.items.jsEngineValue')}
|
|
368
369
|
/>
|
|
369
|
-
</
|
|
370
|
+
</GroupedSection>
|
|
370
371
|
|
|
371
372
|
{/* Quick Actions */}
|
|
372
|
-
<
|
|
373
|
-
<
|
|
373
|
+
<GroupedSection title={t('appInfo.sections.quickActions')}>
|
|
374
|
+
<GroupedSectionItem
|
|
374
375
|
icon={<SettingsIcon name="content-copy" color={colors.primary} />}
|
|
375
376
|
title={t('appInfo.items.copyFullReport')}
|
|
376
377
|
description={t('appInfo.items.copyFullReportSubtitle')}
|
|
377
378
|
onPress={handleCopyFullReport}
|
|
378
379
|
/>
|
|
379
|
-
<
|
|
380
|
+
<GroupedSectionItem
|
|
380
381
|
icon={
|
|
381
382
|
<SettingsIcon
|
|
382
383
|
name={isRunningSystemCheck ? 'sync' : 'check-circle'}
|
|
@@ -396,12 +397,10 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate })
|
|
|
396
397
|
onPress={runSystemCheck}
|
|
397
398
|
disabled={isRunningSystemCheck}
|
|
398
399
|
rightElement={
|
|
399
|
-
isRunningSystemCheck ?
|
|
400
|
-
<ActivityIndicator color={colors.warning} size="small" />
|
|
401
|
-
) : undefined
|
|
400
|
+
isRunningSystemCheck ? <SpinnerIcon color={colors.warning} size={16} /> : undefined
|
|
402
401
|
}
|
|
403
402
|
/>
|
|
404
|
-
</
|
|
403
|
+
</GroupedSection>
|
|
405
404
|
</View>
|
|
406
405
|
</>
|
|
407
406
|
);
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
2
|
+
import { LinkButton } from '@oxy.so/bloom/button';
|
|
3
|
+
import { ButtonGroup, ButtonGroupItem } from '@oxy.so/bloom/button-group';
|
|
4
|
+
import { RiAddLine } from '@oxy.so/bloom/icons/RiAddLine';
|
|
5
|
+
import { RiSubtractLine } from '@oxy.so/bloom/icons/RiSubtractLine';
|
|
1
6
|
/**
|
|
2
7
|
* AvatarCropScreen
|
|
3
8
|
*
|
|
@@ -28,15 +33,7 @@
|
|
|
28
33
|
|
|
29
34
|
import type React from 'react';
|
|
30
35
|
import { useCallback, useMemo, useRef, useState } from 'react';
|
|
31
|
-
import {
|
|
32
|
-
View,
|
|
33
|
-
StyleSheet,
|
|
34
|
-
ActivityIndicator,
|
|
35
|
-
Image,
|
|
36
|
-
Platform,
|
|
37
|
-
AccessibilityInfo,
|
|
38
|
-
Pressable,
|
|
39
|
-
} from 'react-native';
|
|
36
|
+
import { View, StyleSheet, Image, Platform, AccessibilityInfo } from 'react-native';
|
|
40
37
|
import { Text } from '@oxy.so/bloom/typography';
|
|
41
38
|
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
42
39
|
import Animated, {
|
|
@@ -51,7 +48,7 @@ import Animated, {
|
|
|
51
48
|
import { useQuery, keepPreviousData } from '@tanstack/react-query';
|
|
52
49
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
53
50
|
import { logger } from '@oxy.so/core';
|
|
54
|
-
import { useOxy } from '../context/
|
|
51
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
55
52
|
import { useI18n } from '../hooks/useI18n';
|
|
56
53
|
import { useReduceMotion } from '../hooks/useReduceMotion';
|
|
57
54
|
import { useSurfaceHeader, type SurfaceHeaderContent } from '../hooks/useSurfaceHeader';
|
|
@@ -336,7 +333,6 @@ async function hapticSelection(): Promise<void> {
|
|
|
336
333
|
|
|
337
334
|
const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
338
335
|
dismiss,
|
|
339
|
-
goBack,
|
|
340
336
|
imageUri,
|
|
341
337
|
imageFileId,
|
|
342
338
|
sourceWidth,
|
|
@@ -871,19 +867,17 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
871
867
|
[t, handleConfirm, isProcessing, baseFit],
|
|
872
868
|
);
|
|
873
869
|
|
|
874
|
-
//
|
|
875
|
-
// ChangeAvatar source list (and dismisses the surface if this is somehow the
|
|
876
|
-
// root frame), which is exactly Cancel.
|
|
870
|
+
// The host derives Back from real route history; a cold root only shows Close.
|
|
877
871
|
useSurfaceHeader({
|
|
878
872
|
title: t('editProfile.crop.title'),
|
|
879
873
|
largeTitle: false,
|
|
880
874
|
primaryAction: donePrimaryAction,
|
|
881
|
-
onBack: goBack,
|
|
882
875
|
});
|
|
883
876
|
|
|
884
877
|
const styles = useMemo(
|
|
885
878
|
() =>
|
|
886
879
|
StyleSheet.create({
|
|
880
|
+
footerPointerEvents: { pointerEvents: 'box-none' },
|
|
887
881
|
container: {
|
|
888
882
|
backgroundColor: theme.colors.background,
|
|
889
883
|
},
|
|
@@ -993,15 +987,6 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
993
987
|
textAlign: 'center',
|
|
994
988
|
maxWidth: 320,
|
|
995
989
|
},
|
|
996
|
-
resetLink: {
|
|
997
|
-
paddingHorizontal: 12,
|
|
998
|
-
paddingVertical: 6,
|
|
999
|
-
},
|
|
1000
|
-
resetLinkText: {
|
|
1001
|
-
fontSize: 13,
|
|
1002
|
-
color: theme.colors.primary,
|
|
1003
|
-
textDecorationLine: 'underline',
|
|
1004
|
-
},
|
|
1005
990
|
emptyState: {
|
|
1006
991
|
alignItems: 'center',
|
|
1007
992
|
justifyContent: 'center',
|
|
@@ -1018,7 +1003,6 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
1018
1003
|
|
|
1019
1004
|
// Reset link reveal — only show when the image is not at the default
|
|
1020
1005
|
// transform. Use derived display state to avoid mounting/unmounting jank.
|
|
1021
|
-
const resetLinkOpacity = isModified ? 1 : 0;
|
|
1022
1006
|
|
|
1023
1007
|
// Zoom-button state is derived from `zoomLabel` (reactive state, set on every
|
|
1024
1008
|
// commit) rather than the committed-scale ref, so it stays correct across
|
|
@@ -1069,16 +1053,16 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
1069
1053
|
resizeMode="cover"
|
|
1070
1054
|
/>
|
|
1071
1055
|
) : (
|
|
1072
|
-
<
|
|
1056
|
+
<SpinnerIcon color="#ffffff" />
|
|
1073
1057
|
)}
|
|
1074
1058
|
</View>
|
|
1075
1059
|
</GestureDetector>
|
|
1076
1060
|
|
|
1077
1061
|
{/* White ring + inner shadow around the circle. */}
|
|
1078
|
-
<View
|
|
1062
|
+
<View style={[styles.ringOverlay, { pointerEvents: 'none' }]} />
|
|
1079
1063
|
|
|
1080
1064
|
{/* Rule-of-thirds grid overlay (fades in during gesture). */}
|
|
1081
|
-
<Animated.View
|
|
1065
|
+
<Animated.View style={[styles.gridOverlay, gridAnimatedStyle, { pointerEvents: 'none' }]}>
|
|
1082
1066
|
<View style={[styles.gridLineH, { top: VIEWPORT_SIZE / 3 }]} />
|
|
1083
1067
|
<View style={[styles.gridLineH, { top: (VIEWPORT_SIZE * 2) / 3 }]} />
|
|
1084
1068
|
<View style={[styles.gridLineV, { left: VIEWPORT_SIZE / 3 }]} />
|
|
@@ -1086,7 +1070,9 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
1086
1070
|
</Animated.View>
|
|
1087
1071
|
|
|
1088
1072
|
{/* Floating zoom chip during pinch. */}
|
|
1089
|
-
<Animated.View
|
|
1073
|
+
<Animated.View
|
|
1074
|
+
style={[styles.zoomChip, zoomChipAnimatedStyle, { pointerEvents: 'none' }]}
|
|
1075
|
+
>
|
|
1090
1076
|
<Text style={styles.zoomChipText}>
|
|
1091
1077
|
{t('editProfile.crop.zoom', { value: zoomLabel })}
|
|
1092
1078
|
</Text>
|
|
@@ -1098,50 +1084,40 @@ const AvatarCropScreen: React.FC<AvatarCropScreenProps> = ({
|
|
|
1098
1084
|
aesthetic; the full-width row is `box-none` so only the pill
|
|
1099
1085
|
takes pointer events and the rest of the circle stays pannable. */}
|
|
1100
1086
|
{showZoomControls ? (
|
|
1101
|
-
<View
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1087
|
+
<View
|
|
1088
|
+
className="absolute bottom-4 left-0 right-0 items-center"
|
|
1089
|
+
style={styles.footerPointerEvents}
|
|
1090
|
+
>
|
|
1091
|
+
<ButtonGroup>
|
|
1092
|
+
<ButtonGroupItem
|
|
1093
|
+
iconOnly
|
|
1094
|
+
leadingIcon={RiSubtractLine}
|
|
1105
1095
|
accessibilityLabel={t('editProfile.crop.zoomOut')}
|
|
1106
|
-
accessibilityState={{ disabled: zoomOutDisabled }}
|
|
1107
1096
|
disabled={zoomOutDisabled}
|
|
1108
1097
|
onPress={() => applyZoom(-1)}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
<Text className="text-white text-[22px] font-medium leading-[24px]">{'−'}</Text>
|
|
1114
|
-
</Pressable>
|
|
1115
|
-
<View className="w-px self-stretch bg-white/25" />
|
|
1116
|
-
<Pressable
|
|
1117
|
-
accessibilityRole="button"
|
|
1098
|
+
/>
|
|
1099
|
+
<ButtonGroupItem
|
|
1100
|
+
iconOnly
|
|
1101
|
+
leadingIcon={RiAddLine}
|
|
1118
1102
|
accessibilityLabel={t('editProfile.crop.zoomIn')}
|
|
1119
|
-
accessibilityState={{ disabled: zoomInDisabled }}
|
|
1120
1103
|
disabled={zoomInDisabled}
|
|
1121
1104
|
onPress={() => applyZoom(1)}
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
}`}
|
|
1125
|
-
>
|
|
1126
|
-
<Text className="text-white text-[22px] font-medium leading-[24px]">{'+'}</Text>
|
|
1127
|
-
</Pressable>
|
|
1128
|
-
</View>
|
|
1105
|
+
/>
|
|
1106
|
+
</ButtonGroup>
|
|
1129
1107
|
</View>
|
|
1130
1108
|
) : null}
|
|
1131
1109
|
</View>
|
|
1132
1110
|
|
|
1133
1111
|
<View style={styles.helperBlock}>
|
|
1134
1112
|
<Text style={styles.helper}>{t('editProfile.crop.helper')}</Text>
|
|
1135
|
-
<
|
|
1113
|
+
<LinkButton
|
|
1136
1114
|
accessibilityLabel={t('editProfile.crop.a11yReset')}
|
|
1137
|
-
accessibilityRole="button"
|
|
1138
|
-
accessibilityState={{ disabled: !isModified || isProcessing }}
|
|
1139
1115
|
onPress={resetTransform}
|
|
1140
1116
|
disabled={!isModified || isProcessing}
|
|
1141
|
-
|
|
1117
|
+
size="sm"
|
|
1142
1118
|
>
|
|
1143
|
-
|
|
1144
|
-
</
|
|
1119
|
+
{t('editProfile.crop.resetToCenter')}
|
|
1120
|
+
</LinkButton>
|
|
1145
1121
|
</View>
|
|
1146
1122
|
</View>
|
|
1147
1123
|
);
|
|
@@ -28,7 +28,7 @@ import type React from 'react';
|
|
|
28
28
|
import { useCallback, useMemo, useState } from 'react';
|
|
29
29
|
import { Linking, Platform, View } from 'react-native';
|
|
30
30
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
31
|
-
import {
|
|
31
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
32
32
|
import {
|
|
33
33
|
AdmonitionRoot,
|
|
34
34
|
AdmonitionRow,
|
|
@@ -42,7 +42,7 @@ import { useTheme } from '@oxy.so/bloom/theme';
|
|
|
42
42
|
import { toast } from '@oxy.so/bloom/toast';
|
|
43
43
|
import { getNormalizedUserHandle, logger } from '@oxy.so/core';
|
|
44
44
|
import type { FileMetadata } from '@oxy.so/core';
|
|
45
|
-
import { useOxy } from '../context/
|
|
45
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
46
46
|
import { useI18n } from '../hooks/useI18n';
|
|
47
47
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
48
48
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
@@ -333,8 +333,8 @@ const ChangeAvatarScreen: React.FC<BaseScreenProps> = ({ navigate, dismiss }) =>
|
|
|
333
333
|
</AdmonitionRoot>
|
|
334
334
|
) : null}
|
|
335
335
|
|
|
336
|
-
<
|
|
337
|
-
<
|
|
336
|
+
<GroupedSection>
|
|
337
|
+
<GroupedSectionItem
|
|
338
338
|
icon={<SettingsIcon name="image-outline" color={bloomTheme.colors.primary} />}
|
|
339
339
|
title={t('changeAvatar.sources.upload.title')}
|
|
340
340
|
description={t('changeAvatar.sources.upload.description')}
|
|
@@ -342,7 +342,7 @@ const ChangeAvatarScreen: React.FC<BaseScreenProps> = ({ navigate, dismiss }) =>
|
|
|
342
342
|
onPress={() => void pickFromDevice('library')}
|
|
343
343
|
/>
|
|
344
344
|
{canUseCamera ? (
|
|
345
|
-
<
|
|
345
|
+
<GroupedSectionItem
|
|
346
346
|
icon={<SettingsIcon name="camera-outline" color={bloomTheme.colors.info} />}
|
|
347
347
|
title={t('changeAvatar.sources.camera.title')}
|
|
348
348
|
description={t('changeAvatar.sources.camera.description')}
|
|
@@ -350,14 +350,14 @@ const ChangeAvatarScreen: React.FC<BaseScreenProps> = ({ navigate, dismiss }) =>
|
|
|
350
350
|
onPress={() => void pickFromDevice('camera')}
|
|
351
351
|
/>
|
|
352
352
|
) : null}
|
|
353
|
-
<
|
|
353
|
+
<GroupedSectionItem
|
|
354
354
|
icon={<SettingsIcon name="folder-image" color={bloomTheme.colors.success} />}
|
|
355
355
|
title={t('changeAvatar.sources.files.title')}
|
|
356
356
|
description={t('changeAvatar.sources.files.description')}
|
|
357
357
|
disabled={busy}
|
|
358
358
|
onPress={() => pickFromOxyFiles()}
|
|
359
359
|
/>
|
|
360
|
-
<
|
|
360
|
+
<GroupedSectionItem
|
|
361
361
|
icon={<SettingsIcon name="trash-can-outline" color={bloomTheme.colors.error} />}
|
|
362
362
|
title={t('changeAvatar.sources.remove.title')}
|
|
363
363
|
description={t('changeAvatar.sources.remove.description')}
|
|
@@ -365,7 +365,7 @@ const ChangeAvatarScreen: React.FC<BaseScreenProps> = ({ navigate, dismiss }) =>
|
|
|
365
365
|
disabled={busy || !user?.avatar}
|
|
366
366
|
onPress={() => void removeCurrentPhoto()}
|
|
367
367
|
/>
|
|
368
|
-
</
|
|
368
|
+
</GroupedSection>
|
|
369
369
|
</View>
|
|
370
370
|
);
|
|
371
371
|
};
|