@oxy.so/services 11.14.0 → 11.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/assets/one/README.md +8 -0
- package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/one/README.md +8 -0
- package/lib/commonjs/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +36 -6
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +7 -5
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
- package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +32 -58
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
- package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
- package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +2 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +3 -3
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +37 -0
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +27 -101
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
- package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js +19 -7
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/one-video.js +50 -0
- package/lib/commonjs/ui/one-video.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +33 -188
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
- package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +16 -81
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/index.js +7 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/assets/one/README.md +8 -0
- package/lib/module/assets/assets/one/floral.jpg +0 -0
- package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/module/assets/assets/one/floral.mp4 +0 -0
- package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/one/README.md +8 -0
- package/lib/module/assets/one/floral.jpg +0 -0
- package/lib/module/assets/one/floral.mp4 +0 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +2 -3
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +29 -24
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +8 -32
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +38 -6
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +6 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +17 -43
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js +14 -25
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +39 -48
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
- package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +21 -70
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +7 -51
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
- package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/module/ui/context/oxySupportContext.js +7 -0
- package/lib/module/ui/context/oxySupportContext.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
- package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +4 -0
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +2 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +24 -102
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/screenComponents.js +96 -0
- package/lib/module/ui/navigation/screenComponents.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js +19 -7
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/one-video.js +45 -0
- package/lib/module/ui/one-video.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +36 -35
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +6 -13
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +18 -15
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +33 -188
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +9 -9
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyOneScreen.js +208 -0
- package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +11 -11
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +310 -235
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +68 -0
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +67 -59
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +18 -83
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/index.js +1 -0
- package/lib/module/ui/screens/index.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
- package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +1 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
- package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +1 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/one-video.d.ts +3 -0
- package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/index.d.ts +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/types/assets.d.ts +10 -0
- package/package.json +28 -12
- package/plugins/withOxySharedPermissions.js +2 -1
- package/plugins/withSharedDeviceSessionProvider.js +2 -1
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +9 -9
- package/src/assets/one/README.md +8 -0
- package/src/assets/one/floral.jpg +0 -0
- package/src/assets/one/floral.jpg.d.ts +2 -0
- package/src/assets/one/floral.mp4 +0 -0
- package/src/assets/one/floral.mp4.d.ts +2 -0
- package/src/index.ts +9 -1
- package/src/types/assets.d.ts +10 -0
- package/src/ui/client.ts +2 -3
- package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
- package/src/ui/components/BloomLocaleBridge.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +1 -1
- package/src/ui/components/LanguageBridge.tsx +1 -1
- package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
- package/src/ui/components/OxyAuthChooser.tsx +28 -24
- package/src/ui/components/OxyConsentScreen.tsx +8 -25
- package/src/ui/components/OxyOAuthCallback.tsx +3 -2
- package/src/ui/components/OxyProvider.tsx +34 -8
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +17 -4
- package/src/ui/components/ProfileSummaryCard.tsx +27 -68
- package/src/ui/components/RequireOxyAuth.tsx +16 -38
- package/src/ui/components/SettingsIcon.tsx +8 -33
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +56 -49
- package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
- package/src/ui/components/authChooser/storageUsage.ts +75 -0
- package/src/ui/components/authChooser/styles.ts +14 -76
- package/src/ui/components/authChooser/types.ts +6 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
- package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
- package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
- package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
- package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
- package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
- package/src/ui/components/signIn/ReauthStep.tsx +26 -16
- package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
- package/src/ui/components/supervision/PersonPicker.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +15 -79
- package/src/ui/context/oxyContextTypes.ts +1 -0
- package/src/ui/context/oxyRuntimeContext.ts +69 -0
- package/src/ui/context/oxySupportContext.ts +9 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
- package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
- package/src/ui/hooks/queries/useFileQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
- package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/queries/useSupervision.ts +1 -1
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
- package/src/ui/hooks/useDisplayCurrency.ts +1 -1
- package/src/ui/hooks/useFollow.ts +1 -1
- package/src/ui/hooks/useFollowTarget.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +48 -23
- package/src/ui/hooks/useOxyEvent.ts +1 -1
- package/src/ui/hooks/useSurfaceHeader.ts +50 -2
- package/src/ui/hooks/useUsernameAvailability.ts +57 -0
- package/src/ui/icons/subsetGlyphMaps.ts +4 -4
- package/src/ui/index.ts +5 -0
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
- package/src/ui/navigation/accountDialogManager.ts +16 -1
- package/src/ui/navigation/bottomSheetManager.ts +3 -3
- package/src/ui/navigation/routes.ts +75 -103
- package/src/ui/navigation/screenComponents.ts +96 -0
- package/src/ui/navigation/surfaceBackBridge.ts +1 -1
- package/src/ui/navigation/surfaceNavStack.ts +33 -6
- package/src/ui/navigation/surfaceRegistry.ts +7 -1
- package/src/ui/navigation/surfaces.ts +30 -15
- package/src/ui/one-video.tsx +44 -0
- package/src/ui/runtime/createOxyRuntime.ts +7 -1
- package/src/ui/screens/AccountMembersScreen.tsx +6 -6
- package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +41 -42
- package/src/ui/screens/AvatarCropScreen.tsx +33 -57
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
- package/src/ui/screens/ConnectedAppsScreen.tsx +11 -15
- package/src/ui/screens/CreateAccountScreen.tsx +13 -13
- package/src/ui/screens/DomainsScreen.tsx +9 -14
- package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
- package/src/ui/screens/EditProfileScreen.tsx +21 -18
- package/src/ui/screens/FileManagementScreen.tsx +44 -205
- package/src/ui/screens/FileTrashScreen.tsx +1 -1
- package/src/ui/screens/HelpSupportScreen.tsx +59 -53
- package/src/ui/screens/HistoryViewScreen.tsx +10 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
- package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
- package/src/ui/screens/ManageAccountScreen.tsx +367 -340
- package/src/ui/screens/NotificationsScreen.tsx +12 -12
- package/src/ui/screens/OxyOneScreen.tsx +223 -0
- package/src/ui/screens/PreferencesScreen.tsx +15 -15
- package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
- package/src/ui/screens/ProfileScreen.tsx +242 -268
- package/src/ui/screens/ReportBugScreen.tsx +68 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
- package/src/ui/screens/SupervisionScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +85 -62
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/fileManagement/FileListSection.tsx +7 -6
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +15 -78
- package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
- package/src/ui/screens/index.ts +1 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
- package/src/ui/types/navigation.ts +12 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/types/expo-document-picker.d.ts +0 -35
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/src/types/expo-document-picker.d.ts +0 -35
- package/src/types/expo-image-picker.d.ts +0 -35
- package/src/ui/screens/UserLinksScreen.tsx +0 -68
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
2
|
import type { BaseScreenProps } from '../types/navigation';
|
|
3
3
|
|
|
4
|
-
// Define all available route names
|
|
5
4
|
export type RouteName =
|
|
6
5
|
| 'Supervision'
|
|
7
6
|
| 'ManageAccount' // Unified "Manage your Oxy Account" surface
|
|
@@ -14,10 +13,11 @@ export type RouteName =
|
|
|
14
13
|
| 'FileManagement'
|
|
15
14
|
| 'FileTrash' // The person's trash: restore, or delete permanently (ADR 0043 D5)
|
|
16
15
|
| 'HelpSupport'
|
|
16
|
+
| 'ReportBug'
|
|
17
|
+
| 'OxyOne'
|
|
17
18
|
| 'LegalDocuments'
|
|
18
19
|
| 'AppInfo'
|
|
19
20
|
| 'WelcomeNewUser'
|
|
20
|
-
| 'UserLinks'
|
|
21
21
|
| 'HistoryView'
|
|
22
22
|
| 'EditProfile' // Profile-editing hub: one row per editable field
|
|
23
23
|
| 'EditProfileField' // Dedicated screen for editing a single profile field
|
|
@@ -45,105 +45,77 @@ export type RouteName =
|
|
|
45
45
|
| 'SignInAuthenticator' // The account's authenticator app and backup codes
|
|
46
46
|
| 'AccountDialog'; // Unified account switcher + sign-in surface (OxyAccountDialogScreen body)
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* Every entry is `lazy(() => import(...))`: the screen module is fetched and
|
|
52
|
-
* evaluated the first time its surface is presented, never at import time. That
|
|
53
|
-
* matters twice over — screens import `OxyContext`, which reaches back here, so
|
|
54
|
-
* eager evaluation would run screens mid-cycle; and it keeps native-only screen
|
|
55
|
-
* dependencies out of the evaluation path of every consumer that merely touches
|
|
56
|
-
* the SDK.
|
|
57
|
-
*
|
|
58
|
-
* What defers the load must NOT be `require()`. `@oxy.so/services` ships an ESM
|
|
59
|
-
* build, and a `require()` in ESM output forces web bundlers into CommonJS
|
|
60
|
-
* interop: rolldown-vite defers every module in the required subgraph behind a
|
|
61
|
-
* lazy initializer and then hands a consumer that statically imported one of
|
|
62
|
-
* them the still-`undefined` binding. That is how `OxySignInRequestSurface`
|
|
63
|
-
* reached auth.oxy.so/authorize as `undefined` and blanked the page with React
|
|
64
|
-
* error #130 — this registry pulled `OxyAccountDialogScreen`, and the whole
|
|
65
|
-
* sign-in surface subgraph with it, through `require()`.
|
|
66
|
-
*
|
|
67
|
-
* The value type is `ComponentType<never>`, which every screen satisfies. A few
|
|
68
|
-
* screens (`Profile`, `PaymentGateway`, `UserLinks`, `FollowersList`,
|
|
69
|
-
* `FollowingList`) declare props BEYOND {@link BaseScreenProps} — `userId`,
|
|
70
|
-
* `amount` — that only reach them through the route's untyped props bag
|
|
71
|
-
* (`present(route, props)`), so this map cannot prove they are satisfied. The
|
|
72
|
-
* previous `require()` returned `any` and hid that entirely; stating it here
|
|
73
|
-
* confines the gap to one documented widening in {@link getScreenComponent}.
|
|
74
|
-
*/
|
|
75
|
-
const screenComponents: Record<RouteName, ComponentType<never>> = {
|
|
76
|
-
Supervision: lazy(() => import('../screens/SupervisionScreen')),
|
|
77
|
-
ManageAccount: lazy(() => import('../screens/ManageAccountScreen')),
|
|
78
|
-
AccountVerification: lazy(() => import('../screens/AccountVerificationScreen')),
|
|
79
|
-
PaymentGateway: lazy(() => import('../screens/PaymentGatewayScreen')),
|
|
80
|
-
Profile: lazy(() => import('../screens/ProfileScreen')),
|
|
81
|
-
LanguageSelector: lazy(() => import('../screens/LanguageSelectorScreen')),
|
|
82
|
-
PrivacySettings: lazy(() => import('../screens/PrivacySettingsScreen')),
|
|
83
|
-
SearchSettings: lazy(() => import('../screens/SearchSettingsScreen')),
|
|
84
|
-
FileManagement: lazy(() => import('../screens/FileManagementScreen')),
|
|
85
|
-
FileTrash: lazy(() => import('../screens/FileTrashScreen')),
|
|
86
|
-
HelpSupport: lazy(() => import('../screens/HelpSupportScreen')),
|
|
87
|
-
LegalDocuments: lazy(() => import('../screens/LegalDocumentsScreen')),
|
|
88
|
-
AppInfo: lazy(() => import('../screens/AppInfoScreen')),
|
|
89
|
-
WelcomeNewUser: lazy(() => import('../screens/WelcomeNewUserScreen')),
|
|
90
|
-
UserLinks: lazy(() => import('../screens/UserLinksScreen')),
|
|
91
|
-
HistoryView: lazy(() => import('../screens/HistoryViewScreen')),
|
|
92
|
-
EditProfile: lazy(() => import('../screens/EditProfileScreen')),
|
|
93
|
-
EditProfileField: lazy(() => import('../screens/EditProfileFieldScreen')),
|
|
94
|
-
// Informational screens
|
|
95
|
-
LearnMoreUsernames: lazy(() => import('../screens/LearnMoreUsernamesScreen')),
|
|
96
|
-
// Oxy Trust screens
|
|
97
|
-
TrustCenter: lazy(() => import('../screens/trust/TrustCenterScreen')),
|
|
98
|
-
TrustLeaderboard: lazy(() => import('../screens/trust/TrustLeaderboardScreen')),
|
|
99
|
-
TrustRewards: lazy(() => import('../screens/trust/TrustRewardsScreen')),
|
|
100
|
-
TrustRules: lazy(() => import('../screens/trust/TrustRulesScreen')),
|
|
101
|
-
AboutTrust: lazy(() => import('../screens/trust/TrustAboutScreen')),
|
|
102
|
-
TrustFAQ: lazy(() => import('../screens/trust/TrustFAQScreen')),
|
|
103
|
-
// User list screens (followers/following)
|
|
104
|
-
FollowersList: lazy(() => import('../screens/FollowersListScreen')),
|
|
105
|
-
FollowingList: lazy(() => import('../screens/FollowingListScreen')),
|
|
106
|
-
CreateAccount: lazy(() => import('../screens/CreateAccountScreen')),
|
|
107
|
-
AccountMembers: lazy(() => import('../screens/AccountMembersScreen')),
|
|
108
|
-
AccountSettings: lazy(() => import('../screens/AccountSettingsScreen')),
|
|
109
|
-
ChangeAvatar: lazy(() => import('../screens/ChangeAvatarScreen')),
|
|
110
|
-
AvatarCrop: lazy(() => import('../screens/AvatarCropScreen')),
|
|
111
|
-
Notifications: lazy(() => import('../screens/NotificationsScreen')),
|
|
112
|
-
Domains: lazy(() => import('../screens/DomainsScreen')),
|
|
113
|
-
ConnectedApps: lazy(() => import('../screens/ConnectedAppsScreen')),
|
|
114
|
-
Preferences: lazy(() => import('../screens/PreferencesScreen')),
|
|
115
|
-
// The account's own sign-in security, in its settings.
|
|
116
|
-
DeleteAccount: lazy(() => import('../screens/DeleteAccountScreen')),
|
|
117
|
-
LinkCommons: lazy(() => import('../screens/LinkCommonsScreen')),
|
|
118
|
-
SignInPassword: lazy(() => import('../screens/SignInPasswordScreen')),
|
|
119
|
-
SignInAuthenticator: lazy(() => import('../screens/SignInAuthenticatorScreen')),
|
|
120
|
-
// Unified account switcher + sign-in surface. Its body lives in the
|
|
121
|
-
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
122
|
-
// surface stack provides the Dialog chrome around it.
|
|
123
|
-
AccountDialog: lazy(() => import('../components/OxyAccountDialogScreen')),
|
|
124
|
-
};
|
|
48
|
+
type ScreenComponents = Record<RouteName, ComponentType<never>>;
|
|
49
|
+
let components: ScreenComponents | undefined;
|
|
50
|
+
let loading: Promise<void> | undefined;
|
|
125
51
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
* The map is total over {@link RouteName} — the compiler enforces that at its
|
|
130
|
-
* declaration — so this returns `undefined` only for a caller that reached here
|
|
131
|
-
* with an unchecked string; {@link isValidRoute} is how such a caller narrows.
|
|
132
|
-
*
|
|
133
|
-
* The surface host renders the result with {@link BaseScreenProps} merged with
|
|
134
|
-
* the route's own props bag, so that is the type it is handed back as. This one
|
|
135
|
-
* widening is where the gap documented on {@link screenComponents} lives: the map
|
|
136
|
-
* dispatches on a string key, so a screen's extra prop requirements are met at
|
|
137
|
-
* `present(route, props)` call sites, not provable here. No caching is needed —
|
|
138
|
-
* React memoizes each `lazy()` component's module after its first load.
|
|
139
|
-
*/
|
|
140
|
-
export const getScreenComponent = (
|
|
141
|
-
routeName: RouteName,
|
|
142
|
-
): ComponentType<BaseScreenProps> | undefined =>
|
|
143
|
-
screenComponents[routeName] as ComponentType<BaseScreenProps>;
|
|
52
|
+
export function registerScreens(screens: ScreenComponents): void {
|
|
53
|
+
components = screens;
|
|
54
|
+
}
|
|
144
55
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
56
|
+
export function screensReady(): boolean {
|
|
57
|
+
return components !== undefined;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** The lean client warms all screen code at provider startup, before navigation. */
|
|
61
|
+
export function loadScreens(): Promise<void> {
|
|
62
|
+
if (components) return Promise.resolve();
|
|
63
|
+
loading ??= import('./screenComponents')
|
|
64
|
+
.then(({ screenComponents }) => {
|
|
65
|
+
registerScreens(screenComponents);
|
|
66
|
+
})
|
|
67
|
+
.catch((error: unknown) => {
|
|
68
|
+
loading = undefined;
|
|
69
|
+
throw error;
|
|
70
|
+
});
|
|
71
|
+
return loading;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export const getScreenComponent = (route: RouteName): ComponentType<BaseScreenProps> | undefined =>
|
|
75
|
+
components?.[route] as ComponentType<BaseScreenProps> | undefined;
|
|
76
|
+
|
|
77
|
+
const ROUTES: ReadonlySet<string> = new Set([
|
|
78
|
+
'Supervision',
|
|
79
|
+
'FileTrash',
|
|
80
|
+
'ManageAccount',
|
|
81
|
+
'AccountVerification',
|
|
82
|
+
'PaymentGateway',
|
|
83
|
+
'Profile',
|
|
84
|
+
'LanguageSelector',
|
|
85
|
+
'PrivacySettings',
|
|
86
|
+
'SearchSettings',
|
|
87
|
+
'FileManagement',
|
|
88
|
+
'HelpSupport',
|
|
89
|
+
'ReportBug',
|
|
90
|
+
'OxyOne',
|
|
91
|
+
'LegalDocuments',
|
|
92
|
+
'AppInfo',
|
|
93
|
+
'WelcomeNewUser',
|
|
94
|
+
'HistoryView',
|
|
95
|
+
'EditProfile',
|
|
96
|
+
'EditProfileField',
|
|
97
|
+
'LearnMoreUsernames',
|
|
98
|
+
'TrustCenter',
|
|
99
|
+
'TrustLeaderboard',
|
|
100
|
+
'TrustRewards',
|
|
101
|
+
'TrustRules',
|
|
102
|
+
'AboutTrust',
|
|
103
|
+
'TrustFAQ',
|
|
104
|
+
'FollowersList',
|
|
105
|
+
'FollowingList',
|
|
106
|
+
'CreateAccount',
|
|
107
|
+
'AccountMembers',
|
|
108
|
+
'AccountSettings',
|
|
109
|
+
'ChangeAvatar',
|
|
110
|
+
'AvatarCrop',
|
|
111
|
+
'Notifications',
|
|
112
|
+
'Domains',
|
|
113
|
+
'ConnectedApps',
|
|
114
|
+
'Preferences',
|
|
115
|
+
'DeleteAccount',
|
|
116
|
+
'LinkCommons',
|
|
117
|
+
'SignInPassword',
|
|
118
|
+
'SignInAuthenticator',
|
|
119
|
+
'AccountDialog',
|
|
120
|
+
]);
|
|
121
|
+
export const isValidRoute = (name: string): name is RouteName => ROUTES.has(name);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { RouteName } from './routes';
|
|
3
|
+
import SupervisionScreenComponent from '../screens/SupervisionScreen';
|
|
4
|
+
import FileTrashScreenComponent from '../screens/FileTrashScreen';
|
|
5
|
+
import ManageAccountScreenComponent from '../screens/ManageAccountScreen';
|
|
6
|
+
import AccountVerificationScreenComponent from '../screens/AccountVerificationScreen';
|
|
7
|
+
import PaymentGatewayScreenComponent from '../screens/PaymentGatewayScreen';
|
|
8
|
+
import ProfileScreenComponent from '../screens/ProfileScreen';
|
|
9
|
+
import LanguageSelectorScreenComponent from '../screens/LanguageSelectorScreen';
|
|
10
|
+
import PrivacySettingsScreenComponent from '../screens/PrivacySettingsScreen';
|
|
11
|
+
import SearchSettingsScreenComponent from '../screens/SearchSettingsScreen';
|
|
12
|
+
import FileManagementScreenComponent from '../screens/FileManagementScreen';
|
|
13
|
+
import OxyOneScreenComponent from '../screens/OxyOneScreen';
|
|
14
|
+
import ReportBugScreenComponent from '../screens/ReportBugScreen';
|
|
15
|
+
import HelpSupportScreenComponent from '../screens/HelpSupportScreen';
|
|
16
|
+
import LegalDocumentsScreenComponent from '../screens/LegalDocumentsScreen';
|
|
17
|
+
import AppInfoScreenComponent from '../screens/AppInfoScreen';
|
|
18
|
+
import WelcomeNewUserScreenComponent from '../screens/WelcomeNewUserScreen';
|
|
19
|
+
import HistoryViewScreenComponent from '../screens/HistoryViewScreen';
|
|
20
|
+
import EditProfileScreenComponent from '../screens/EditProfileScreen';
|
|
21
|
+
import EditProfileFieldScreenComponent from '../screens/EditProfileFieldScreen';
|
|
22
|
+
import LearnMoreUsernamesScreenComponent from '../screens/LearnMoreUsernamesScreen';
|
|
23
|
+
import TrustCenterScreenComponent from '../screens/trust/TrustCenterScreen';
|
|
24
|
+
import TrustLeaderboardScreenComponent from '../screens/trust/TrustLeaderboardScreen';
|
|
25
|
+
import TrustRewardsScreenComponent from '../screens/trust/TrustRewardsScreen';
|
|
26
|
+
import TrustRulesScreenComponent from '../screens/trust/TrustRulesScreen';
|
|
27
|
+
import AboutTrustScreenComponent from '../screens/trust/TrustAboutScreen';
|
|
28
|
+
import TrustFAQScreenComponent from '../screens/trust/TrustFAQScreen';
|
|
29
|
+
import FollowersListScreenComponent from '../screens/FollowersListScreen';
|
|
30
|
+
import FollowingListScreenComponent from '../screens/FollowingListScreen';
|
|
31
|
+
import CreateAccountScreenComponent from '../screens/CreateAccountScreen';
|
|
32
|
+
import AccountMembersScreenComponent from '../screens/AccountMembersScreen';
|
|
33
|
+
import AccountSettingsScreenComponent from '../screens/AccountSettingsScreen';
|
|
34
|
+
import ChangeAvatarScreenComponent from '../screens/ChangeAvatarScreen';
|
|
35
|
+
import AvatarCropScreenComponent from '../screens/AvatarCropScreen';
|
|
36
|
+
import NotificationsScreenComponent from '../screens/NotificationsScreen';
|
|
37
|
+
import DomainsScreenComponent from '../screens/DomainsScreen';
|
|
38
|
+
import ConnectedAppsScreenComponent from '../screens/ConnectedAppsScreen';
|
|
39
|
+
import PreferencesScreenComponent from '../screens/PreferencesScreen';
|
|
40
|
+
import DeleteAccountScreenComponent from '../screens/DeleteAccountScreen';
|
|
41
|
+
import LinkCommonsScreenComponent from '../screens/LinkCommonsScreen';
|
|
42
|
+
import SignInPasswordScreenComponent from '../screens/SignInPasswordScreen';
|
|
43
|
+
import SignInAuthenticatorScreenComponent from '../screens/SignInAuthenticatorScreen';
|
|
44
|
+
import AccountDialogScreenComponent from '../components/OxyAccountDialogScreen';
|
|
45
|
+
|
|
46
|
+
export const screenComponents: Record<RouteName, ComponentType<never>> = {
|
|
47
|
+
Supervision: SupervisionScreenComponent,
|
|
48
|
+
FileTrash: FileTrashScreenComponent,
|
|
49
|
+
ManageAccount: ManageAccountScreenComponent,
|
|
50
|
+
AccountVerification: AccountVerificationScreenComponent,
|
|
51
|
+
PaymentGateway: PaymentGatewayScreenComponent,
|
|
52
|
+
Profile: ProfileScreenComponent,
|
|
53
|
+
LanguageSelector: LanguageSelectorScreenComponent,
|
|
54
|
+
PrivacySettings: PrivacySettingsScreenComponent,
|
|
55
|
+
SearchSettings: SearchSettingsScreenComponent,
|
|
56
|
+
FileManagement: FileManagementScreenComponent,
|
|
57
|
+
HelpSupport: HelpSupportScreenComponent,
|
|
58
|
+
ReportBug: ReportBugScreenComponent,
|
|
59
|
+
OxyOne: OxyOneScreenComponent,
|
|
60
|
+
LegalDocuments: LegalDocumentsScreenComponent,
|
|
61
|
+
AppInfo: AppInfoScreenComponent,
|
|
62
|
+
WelcomeNewUser: WelcomeNewUserScreenComponent,
|
|
63
|
+
HistoryView: HistoryViewScreenComponent,
|
|
64
|
+
EditProfile: EditProfileScreenComponent,
|
|
65
|
+
EditProfileField: EditProfileFieldScreenComponent,
|
|
66
|
+
// Informational screens
|
|
67
|
+
LearnMoreUsernames: LearnMoreUsernamesScreenComponent,
|
|
68
|
+
// Oxy Trust screens
|
|
69
|
+
TrustCenter: TrustCenterScreenComponent,
|
|
70
|
+
TrustLeaderboard: TrustLeaderboardScreenComponent,
|
|
71
|
+
TrustRewards: TrustRewardsScreenComponent,
|
|
72
|
+
TrustRules: TrustRulesScreenComponent,
|
|
73
|
+
AboutTrust: AboutTrustScreenComponent,
|
|
74
|
+
TrustFAQ: TrustFAQScreenComponent,
|
|
75
|
+
// User list screens (followers/following)
|
|
76
|
+
FollowersList: FollowersListScreenComponent,
|
|
77
|
+
FollowingList: FollowingListScreenComponent,
|
|
78
|
+
CreateAccount: CreateAccountScreenComponent,
|
|
79
|
+
AccountMembers: AccountMembersScreenComponent,
|
|
80
|
+
AccountSettings: AccountSettingsScreenComponent,
|
|
81
|
+
ChangeAvatar: ChangeAvatarScreenComponent,
|
|
82
|
+
AvatarCrop: AvatarCropScreenComponent,
|
|
83
|
+
Notifications: NotificationsScreenComponent,
|
|
84
|
+
Domains: DomainsScreenComponent,
|
|
85
|
+
ConnectedApps: ConnectedAppsScreenComponent,
|
|
86
|
+
Preferences: PreferencesScreenComponent,
|
|
87
|
+
// The account's own sign-in security, in its settings.
|
|
88
|
+
DeleteAccount: DeleteAccountScreenComponent,
|
|
89
|
+
LinkCommons: LinkCommonsScreenComponent,
|
|
90
|
+
SignInPassword: SignInPasswordScreenComponent,
|
|
91
|
+
SignInAuthenticator: SignInAuthenticatorScreenComponent,
|
|
92
|
+
// Unified account switcher + sign-in surface. Its body lives in the
|
|
93
|
+
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
94
|
+
// surface stack provides the Dialog chrome around it.
|
|
95
|
+
AccountDialog: AccountDialogScreenComponent,
|
|
96
|
+
};
|
|
@@ -37,7 +37,7 @@ function installEscapeHandler(): void {
|
|
|
37
37
|
'keydown',
|
|
38
38
|
(event) => {
|
|
39
39
|
if (event.key !== 'Escape' || handlerStack.length === 0) return;
|
|
40
|
-
invokeTopHandler();
|
|
40
|
+
if (!invokeTopHandler()) return;
|
|
41
41
|
event.stopImmediatePropagation();
|
|
42
42
|
event.preventDefault();
|
|
43
43
|
},
|
|
@@ -28,6 +28,8 @@ export interface NavFrame {
|
|
|
28
28
|
export interface NavStackState {
|
|
29
29
|
/** Bottom → top; the last frame is the visible screen. */
|
|
30
30
|
frames: NavFrame[];
|
|
31
|
+
/** Direction of the last in-dialog navigation for Bloom's content transition. */
|
|
32
|
+
direction: 'forward' | 'backward' | 'none';
|
|
31
33
|
/** Flipped once a dismiss is requested; the host resolves the Bloom surface. */
|
|
32
34
|
closing: boolean;
|
|
33
35
|
/** The value the surface's `present()` promise resolves with on dismissal. */
|
|
@@ -40,7 +42,7 @@ export interface SurfaceNavStack {
|
|
|
40
42
|
navigate(route: RouteName, props?: Record<string, unknown>): void;
|
|
41
43
|
/** Swap the top frame in place (no history entry). */
|
|
42
44
|
replace(route: RouteName, props?: Record<string, unknown>): void;
|
|
43
|
-
/**
|
|
45
|
+
/** Return to the prior wizard step, then pop a frame. False at the root with no prior step. */
|
|
44
46
|
goBack(): boolean;
|
|
45
47
|
/** Whether a back is possible (a deeper frame OR a prior wizard step). */
|
|
46
48
|
canGoBack(): boolean;
|
|
@@ -88,6 +90,7 @@ export function createSurfaceNavStack(
|
|
|
88
90
|
): SurfaceNavStack {
|
|
89
91
|
const store = createStore<NavStackState>(() => ({
|
|
90
92
|
frames: [makeFrame(route, props)],
|
|
93
|
+
direction: 'none',
|
|
91
94
|
closing: false,
|
|
92
95
|
closeResult: undefined,
|
|
93
96
|
}));
|
|
@@ -117,9 +120,17 @@ export function createSurfaceNavStack(
|
|
|
117
120
|
|
|
118
121
|
const goBack = (): boolean => {
|
|
119
122
|
const { frames } = store.getState();
|
|
123
|
+
const current = frames[frames.length - 1];
|
|
124
|
+
if (current.step > 0) {
|
|
125
|
+
store.setState({
|
|
126
|
+
frames: [...frames.slice(0, -1), { ...current, step: current.step - 1 }],
|
|
127
|
+
direction: 'backward',
|
|
128
|
+
});
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
120
131
|
if (frames.length <= 1) return false;
|
|
121
132
|
const nextLength = frames.length - 1;
|
|
122
|
-
store.setState({ frames: frames.slice(0, -1) });
|
|
133
|
+
store.setState({ frames: frames.slice(0, -1), direction: 'backward' });
|
|
123
134
|
// Backing out past a sub-flow's entry frame cancels it (resolve undefined).
|
|
124
135
|
// A single pop crosses at most one boundary, but loop for safety.
|
|
125
136
|
while (flowStack.length && nextLength <= flowStack[flowStack.length - 1].returnLength) {
|
|
@@ -134,11 +145,15 @@ export function createSurfaceNavStack(
|
|
|
134
145
|
requestDismiss,
|
|
135
146
|
goBack,
|
|
136
147
|
navigate(nextRoute, nextProps) {
|
|
137
|
-
store.setState((state) => ({
|
|
148
|
+
store.setState((state) => ({
|
|
149
|
+
frames: [...state.frames, makeFrame(nextRoute, nextProps)],
|
|
150
|
+
direction: 'forward',
|
|
151
|
+
}));
|
|
138
152
|
},
|
|
139
153
|
replace(nextRoute, nextProps) {
|
|
140
154
|
store.setState((state) => ({
|
|
141
155
|
frames: [...state.frames.slice(0, -1), makeFrame(nextRoute, nextProps)],
|
|
156
|
+
direction: 'forward',
|
|
142
157
|
}));
|
|
143
158
|
},
|
|
144
159
|
canGoBack() {
|
|
@@ -149,13 +164,22 @@ export function createSurfaceNavStack(
|
|
|
149
164
|
store.setState((state) => {
|
|
150
165
|
const frames = state.frames.slice();
|
|
151
166
|
const index = frames.length - 1;
|
|
167
|
+
const direction =
|
|
168
|
+
step === frames[index].step
|
|
169
|
+
? state.direction
|
|
170
|
+
: step < frames[index].step
|
|
171
|
+
? 'backward'
|
|
172
|
+
: 'forward';
|
|
152
173
|
frames[index] = { ...frames[index], step };
|
|
153
|
-
return { frames };
|
|
174
|
+
return { frames, direction };
|
|
154
175
|
});
|
|
155
176
|
},
|
|
156
177
|
beginFlow(nextRoute, nextProps) {
|
|
157
178
|
const returnLength = store.getState().frames.length;
|
|
158
|
-
store.setState((state) => ({
|
|
179
|
+
store.setState((state) => ({
|
|
180
|
+
frames: [...state.frames, makeFrame(nextRoute, nextProps)],
|
|
181
|
+
direction: 'forward',
|
|
182
|
+
}));
|
|
159
183
|
return new Promise<unknown>((resolve) => {
|
|
160
184
|
flowStack.push({ returnLength, resolve });
|
|
161
185
|
});
|
|
@@ -167,7 +191,10 @@ export function createSurfaceNavStack(
|
|
|
167
191
|
requestDismiss(result);
|
|
168
192
|
return;
|
|
169
193
|
}
|
|
170
|
-
store.setState((state) => ({
|
|
194
|
+
store.setState((state) => ({
|
|
195
|
+
frames: state.frames.slice(0, flow.returnLength),
|
|
196
|
+
direction: 'backward',
|
|
197
|
+
}));
|
|
171
198
|
flow.resolve(result);
|
|
172
199
|
},
|
|
173
200
|
abandonActiveFlow() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AppColorName } from '@oxy.so/bloom/theme';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
import type { AccountDialogView } from '@oxy.so/core/session';
|
|
3
4
|
import type { FileMetadata } from '@oxy.so/core';
|
|
@@ -42,10 +43,11 @@ export interface SurfaceRegistry {
|
|
|
42
43
|
/** The person's trash (ADR 0043 D5), opened from the file manager. */
|
|
43
44
|
FileTrash: SurfaceRoute;
|
|
44
45
|
HelpSupport: SurfaceRoute;
|
|
46
|
+
ReportBug: SurfaceRoute;
|
|
47
|
+
OxyOne: SurfaceRoute;
|
|
45
48
|
LegalDocuments: SurfaceRoute;
|
|
46
49
|
AppInfo: SurfaceRoute;
|
|
47
50
|
WelcomeNewUser: SurfaceRoute;
|
|
48
|
-
UserLinks: SurfaceRoute;
|
|
49
51
|
HistoryView: SurfaceRoute;
|
|
50
52
|
EditProfile: SurfaceRoute;
|
|
51
53
|
EditProfileField: SurfaceRoute;
|
|
@@ -136,6 +138,9 @@ export type SurfacePresentation = 'sheet' | 'center' | 'drawer' | 'fullScreen';
|
|
|
136
138
|
export interface SurfaceRouteConfig {
|
|
137
139
|
/** Which surface hosts the route. */
|
|
138
140
|
presentation: SurfacePresentation;
|
|
141
|
+
/** Scoped Bloom recipe for the full panel, including navigation chrome. */
|
|
142
|
+
colorPreset?: AppColorName;
|
|
143
|
+
typography?: 'default' | 'system';
|
|
139
144
|
/**
|
|
140
145
|
* When `false`, the route owns its own scroll container (a FlatList /
|
|
141
146
|
* SectionList / VirtualizedList, or its own ScrollView) and the host must not
|
|
@@ -263,6 +268,7 @@ export const getSurfaceConfig = (
|
|
|
263
268
|
route: RouteName,
|
|
264
269
|
props: Record<string, unknown>,
|
|
265
270
|
): SurfaceRouteConfig => {
|
|
271
|
+
if (route === 'OxyOne') return { ...DEFAULT_SURFACE_CONFIG, colorPreset: 'blue' };
|
|
266
272
|
if (route === 'FileManagement' && isFileManagementImageOnlyPicker(props)) {
|
|
267
273
|
// The flagship photo picker MORPHS in place like every other screen. It is an
|
|
268
274
|
// own-scroller (`PhotoPickerView`'s FlatList) that paints its full-bleed black
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
type PresentOptions,
|
|
6
6
|
type SurfaceControls,
|
|
7
7
|
} from '@oxy.so/bloom/surfaces';
|
|
8
|
-
import type
|
|
8
|
+
import { loadScreens, screensReady, type RouteName } from './routes';
|
|
9
9
|
import {
|
|
10
10
|
getSurfaceConfig,
|
|
11
11
|
type SurfaceProps,
|
|
@@ -76,6 +76,7 @@ function bloomOptionsFor(config: SurfaceRouteConfig): PresentOptions {
|
|
|
76
76
|
// programmatic-only dismiss — matching the shipped image-picker Dialog.
|
|
77
77
|
return {
|
|
78
78
|
placement: SHEET_PLACEMENT,
|
|
79
|
+
header,
|
|
79
80
|
contentPadding: 0,
|
|
80
81
|
maxWidth: 640,
|
|
81
82
|
maxHeightRatio: 0.9,
|
|
@@ -154,20 +155,26 @@ function presentInternal<K extends RouteName>(
|
|
|
154
155
|
const config = getSurfaceConfig(route, props);
|
|
155
156
|
const bloomOpts: PresentOptions = { label: route, ...bloomOptionsFor(config), ...opts };
|
|
156
157
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
158
|
+
const open = () =>
|
|
159
|
+
bloomSurfaces.present<SurfaceResult<K>>(
|
|
160
|
+
(surface: SurfaceControls) =>
|
|
161
|
+
createElement(SurfaceScreen, {
|
|
162
|
+
navStack,
|
|
163
|
+
surface,
|
|
164
|
+
navigation: surfaceNavigation,
|
|
165
|
+
dismissOnBackdrop: bloomOpts.dismissOnBackdrop ?? true,
|
|
166
|
+
}),
|
|
167
|
+
bloomOpts,
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
// Never mount a partially-loaded frame. Full UI entries take the sync path;
|
|
171
|
+
// the lean entry's startup preload normally finishes before the first press.
|
|
172
|
+
const result = screensReady()
|
|
173
|
+
? open()
|
|
174
|
+
: loadScreens().then(() => {
|
|
175
|
+
if (navStack.store.getState().closing) return undefined;
|
|
176
|
+
return open();
|
|
177
|
+
});
|
|
171
178
|
|
|
172
179
|
const instance: SurfaceInstance<K> = {
|
|
173
180
|
route,
|
|
@@ -355,3 +362,11 @@ export const surfaces = {
|
|
|
355
362
|
export function useSurfaces(): typeof surfaces {
|
|
356
363
|
return surfaces;
|
|
357
364
|
}
|
|
365
|
+
|
|
366
|
+
// Pass commands into the screen so rendering never imports its own presenter.
|
|
367
|
+
const surfaceNavigation = {
|
|
368
|
+
closeAllRouteSurfaces,
|
|
369
|
+
navigateWithinOrPresent,
|
|
370
|
+
presentRoute,
|
|
371
|
+
replaceWithinOrPresent,
|
|
372
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** Optional video entry: never re-export from services or its UI root barrels. */
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { AppState, Image, StyleSheet, View } from 'react-native';
|
|
4
|
+
import { useVideoPlayer } from 'expo-video';
|
|
5
|
+
import { VideoView } from '@oxy.so/bloom/video-view';
|
|
6
|
+
import { useReducedMotion } from 'react-native-reanimated';
|
|
7
|
+
import floralVideo from '../assets/one/floral.mp4';
|
|
8
|
+
import floralPoster from '../assets/one/floral.jpg';
|
|
9
|
+
|
|
10
|
+
/** Muted decorative artwork. Bloom's SubscriptionPlans owns its fade and layout. */
|
|
11
|
+
export function OxyOneVideo() {
|
|
12
|
+
const reducedMotion = useReducedMotion();
|
|
13
|
+
const player = useVideoPlayer(reducedMotion ? null : floralVideo, (video) => {
|
|
14
|
+
video.muted = true;
|
|
15
|
+
video.loop = true;
|
|
16
|
+
});
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
const update = (state: string | null | undefined) => {
|
|
19
|
+
if (!reducedMotion && state === 'active') player.play();
|
|
20
|
+
else player.pause();
|
|
21
|
+
};
|
|
22
|
+
update(AppState.currentState);
|
|
23
|
+
const subscription = AppState.addEventListener('change', update);
|
|
24
|
+
return () => subscription.remove();
|
|
25
|
+
}, [player, reducedMotion]);
|
|
26
|
+
return (
|
|
27
|
+
<View
|
|
28
|
+
style={StyleSheet.absoluteFill}
|
|
29
|
+
accessibilityElementsHidden
|
|
30
|
+
importantForAccessibility="no-hide-descendants"
|
|
31
|
+
>
|
|
32
|
+
<Image source={floralPoster} resizeMode="cover" style={StyleSheet.absoluteFill} />
|
|
33
|
+
{!reducedMotion && (
|
|
34
|
+
<VideoView
|
|
35
|
+
player={player}
|
|
36
|
+
nativeControls={false}
|
|
37
|
+
contentFit="cover"
|
|
38
|
+
surfaceType="textureView"
|
|
39
|
+
style={StyleSheet.absoluteFill}
|
|
40
|
+
/>
|
|
41
|
+
)}
|
|
42
|
+
</View>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -465,7 +465,13 @@ export function createOxyRuntime(config: OxyRuntimeConfig): OxyRuntime {
|
|
|
465
465
|
touch();
|
|
466
466
|
}
|
|
467
467
|
for (const resolved of users) {
|
|
468
|
-
|
|
468
|
+
// Bulk profiles are public and cannot replace the owner's locale
|
|
469
|
+
// preferences learned from a self-profile read or a confirmed write.
|
|
470
|
+
const known = facts.profiles.get(resolved.id);
|
|
471
|
+
facts.profiles.set(
|
|
472
|
+
resolved.id,
|
|
473
|
+
known?.languages !== undefined ? { ...resolved, languages: known.languages } : resolved,
|
|
474
|
+
);
|
|
469
475
|
}
|
|
470
476
|
const projected = normalizeAndSortSessions(
|
|
471
477
|
deviceStateToClientSessions(latest, facts.profiles, pinnedAccountId),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from '@oxy.so/bloom/segmented-control';
|
|
6
6
|
import type React from 'react';
|
|
7
7
|
import { useCallback, useMemo, useState } from 'react';
|
|
8
|
-
import { View
|
|
8
|
+
import { View } from 'react-native';
|
|
9
9
|
import Ionicons from '../icons/Ionicons';
|
|
10
10
|
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
11
11
|
import { toast } from '@oxy.so/bloom/toast';
|
|
@@ -18,7 +18,7 @@ import { Divider } from '@oxy.so/bloom/divider';
|
|
|
18
18
|
import type { AccountMember, AccountRole } from '@oxy.so/core';
|
|
19
19
|
import { accountRoleLabel, getNormalizedUserHandle } from '@oxy.so/core';
|
|
20
20
|
import type { BaseScreenProps } from '../types/navigation';
|
|
21
|
-
import { useOxy } from '../context/
|
|
21
|
+
import { useOxy } from '../context/oxyRuntimeContext';
|
|
22
22
|
import { useI18n } from '../hooks/useI18n';
|
|
23
23
|
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
24
24
|
|
|
@@ -44,7 +44,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
44
44
|
title: t('accounts.members.title') || 'Members',
|
|
45
45
|
subtitle: t('accounts.members.subtitle') || 'People with access to this account.',
|
|
46
46
|
});
|
|
47
|
-
const { oxyServices, canUsePrivateApi } = useOxy();
|
|
47
|
+
const { oxyServices, canUsePrivateApi, accounts } = useOxy();
|
|
48
48
|
const queryClient = useQueryClient();
|
|
49
49
|
|
|
50
50
|
const id = typeof accountId === 'string' ? accountId : '';
|
|
@@ -56,6 +56,8 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
56
56
|
|
|
57
57
|
const accountQuery = useQuery({
|
|
58
58
|
queryKey: ['accounts', 'detail', id],
|
|
59
|
+
initialData: accounts?.find((account) => account.accountId === id),
|
|
60
|
+
initialDataUpdatedAt: 0,
|
|
59
61
|
queryFn: () => oxyServices.accounts.get(id),
|
|
60
62
|
enabled: canUsePrivateApi && id.length > 0,
|
|
61
63
|
});
|
|
@@ -388,9 +390,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
388
390
|
{canRead ? (
|
|
389
391
|
<View className="gap-space-8">
|
|
390
392
|
{membersQuery.isLoading ? (
|
|
391
|
-
<View className="items-center py-space-24">
|
|
392
|
-
<ActivityIndicator color={colors.primary} />
|
|
393
|
-
</View>
|
|
393
|
+
<View className="items-center py-space-24">{null}</View>
|
|
394
394
|
) : members.length === 0 ? (
|
|
395
395
|
<Text className="text-body font-body text-text-secondary text-center py-space-24">
|
|
396
396
|
{t('accounts.members.empty') || 'No members yet.'}
|