@oxy.so/services 11.14.0 → 11.16.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,8 +1,9 @@
|
|
|
1
|
+
import { PressableScale } from '@oxy.so/bloom/pressable-scale';
|
|
2
|
+
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
3
|
+
import { Button } from '@oxy.so/bloom/button';
|
|
1
4
|
import React, { useCallback, useMemo, useRef, useState } from 'react';
|
|
2
5
|
import {
|
|
3
6
|
View,
|
|
4
|
-
TouchableOpacity,
|
|
5
|
-
ActivityIndicator,
|
|
6
7
|
RefreshControl,
|
|
7
8
|
FlatList,
|
|
8
9
|
Platform,
|
|
@@ -14,7 +15,6 @@ import { Text } from '@oxy.so/bloom/typography';
|
|
|
14
15
|
import { Image as ExpoImage } from 'expo-image';
|
|
15
16
|
import Ionicons from '../../icons/Ionicons';
|
|
16
17
|
import MaterialCommunityIcons from '../../icons/MaterialCommunityIcons';
|
|
17
|
-
import * as Skeleton from '@oxy.so/bloom/skeleton';
|
|
18
18
|
import type { FileMetadata } from '@oxy.so/core';
|
|
19
19
|
import { computePhotoGridLayout } from './photoGridLayout';
|
|
20
20
|
import FileLibraryError from './FileLibraryError';
|
|
@@ -110,7 +110,7 @@ export interface PhotoPickerViewProps {
|
|
|
110
110
|
loadingMore: boolean;
|
|
111
111
|
/**
|
|
112
112
|
* Initial-load flag. While `true` AND no photos have arrived yet, the picker
|
|
113
|
-
*
|
|
113
|
+
* keeps its toolbar and grid mounted while the query resolves
|
|
114
114
|
* instead of the empty state — so the loading UI matches the picker's shape
|
|
115
115
|
* and container width, not the browse file-manager chrome.
|
|
116
116
|
*/
|
|
@@ -156,18 +156,6 @@ const RING_SPRING_TENSION = 120;
|
|
|
156
156
|
const CELL_CORNER_RADIUS = 8; // `rounded-radius-8`
|
|
157
157
|
const SELECTION_RING_WIDTH = 3; // `border-[3px]`
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Loading-skeleton tile fill. The picker's backdrop is ALWAYS black regardless
|
|
161
|
-
* of theme, so we cannot use Bloom `Skeleton.Box`'s theme default (`contrast50`,
|
|
162
|
-
* which is a near-black gray on a dark theme → invisible on this backdrop). A
|
|
163
|
-
* neutral dark gray reads as a photo placeholder on black; Bloom's shimmer still
|
|
164
|
-
* pulses the tile opacity on top of it. `Skeleton.Box` applies `style` after its
|
|
165
|
-
* own base, so this override wins while the animated opacity is preserved.
|
|
166
|
-
*/
|
|
167
|
-
const SKELETON_TILE_COLOR = '#26262A';
|
|
168
|
-
/** Minimum skeleton rows so the grid never looks empty on a very short panel. */
|
|
169
|
-
const SKELETON_MIN_ROWS = 4;
|
|
170
|
-
|
|
171
159
|
type PhotoPickerCellProps = {
|
|
172
160
|
photo: FileMetadata;
|
|
173
161
|
size: number;
|
|
@@ -299,8 +287,7 @@ const PhotoPickerCell = React.memo(function PhotoPickerCell(props: PhotoPickerCe
|
|
|
299
287
|
opacity,
|
|
300
288
|
}}
|
|
301
289
|
>
|
|
302
|
-
<
|
|
303
|
-
activeOpacity={0.85}
|
|
290
|
+
<PressableScale
|
|
304
291
|
onPress={onPress}
|
|
305
292
|
onLongPress={onLongPress}
|
|
306
293
|
className="flex-1"
|
|
@@ -347,7 +334,7 @@ const PhotoPickerCell = React.memo(function PhotoPickerCell(props: PhotoPickerCe
|
|
|
347
334
|
</Text>
|
|
348
335
|
</View>
|
|
349
336
|
)}
|
|
350
|
-
</
|
|
337
|
+
</PressableScale>
|
|
351
338
|
</Animated.View>
|
|
352
339
|
);
|
|
353
340
|
});
|
|
@@ -413,18 +400,6 @@ const PhotoPickerView: React.FC<PhotoPickerViewProps> = ({
|
|
|
413
400
|
[effectiveWidth],
|
|
414
401
|
);
|
|
415
402
|
|
|
416
|
-
// How many shimmer tiles the loading skeleton renders: enough FULL rows to
|
|
417
|
-
// fill the panel down to (but never past) its `maxHeight` cap, so the panel
|
|
418
|
-
// hugs the skeleton content instead of overflowing or scrolling. `floor`
|
|
419
|
-
// keeps the last row whole; `SKELETON_MIN_ROWS` guards a very short panel.
|
|
420
|
-
const skeletonTileCount = useMemo(() => {
|
|
421
|
-
const rowHeight = cellSize + gutter;
|
|
422
|
-
if (rowHeight <= 0) return columns * SKELETON_MIN_ROWS;
|
|
423
|
-
const available = Math.max(0, panelHeight - FLOATING_NAV_BAR_HEIGHT);
|
|
424
|
-
const rows = Math.max(SKELETON_MIN_ROWS, Math.floor(available / rowHeight));
|
|
425
|
-
return rows * columns;
|
|
426
|
-
}, [cellSize, gutter, columns, panelHeight]);
|
|
427
|
-
|
|
428
403
|
// Map selectedIds → 1-based selection order for the badge. We freeze a
|
|
429
404
|
// stable order at the time of selection: the order is the insertion
|
|
430
405
|
// order of the Set (which JS preserves natively).
|
|
@@ -519,7 +494,7 @@ const PhotoPickerView: React.FC<PhotoPickerViewProps> = ({
|
|
|
519
494
|
if (!loadingMore) return null;
|
|
520
495
|
return (
|
|
521
496
|
<View className="py-space-16 items-center">
|
|
522
|
-
<
|
|
497
|
+
<SpinnerIcon size={16} color="#FFFFFF" />
|
|
523
498
|
</View>
|
|
524
499
|
);
|
|
525
500
|
}, [loadingMore]);
|
|
@@ -560,34 +535,7 @@ const PhotoPickerView: React.FC<PhotoPickerViewProps> = ({
|
|
|
560
535
|
descriptionColor="rgba(255,255,255,0.7)"
|
|
561
536
|
/>
|
|
562
537
|
</View>
|
|
563
|
-
) : isEmpty && loading ? (
|
|
564
|
-
/* Loading skeleton — the picker's OWN shape: shimmer tiles laid
|
|
565
|
-
out with the SAME placement-aware geometry the real grid uses
|
|
566
|
-
(`computePhotoGridLayout(effectiveWidth)`), edge-to-edge under
|
|
567
|
-
the floating bar. `flexWrap` breaks rows exactly at `columns`
|
|
568
|
-
because the last tile in each row carries no right margin (a
|
|
569
|
-
full row + gutters fits the measured width by construction). */
|
|
570
|
-
<View
|
|
571
|
-
style={{ flexDirection: 'row', flexWrap: 'wrap', pointerEvents: 'none' }}
|
|
572
|
-
accessibilityElementsHidden
|
|
573
|
-
importantForAccessibility="no-hide-descendants"
|
|
574
|
-
>
|
|
575
|
-
{Array.from({ length: skeletonTileCount }, (_, index) => (
|
|
576
|
-
<Skeleton.Box
|
|
577
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: fixed-size skeleton grid, order never changes
|
|
578
|
-
key={`skeleton-${index}`}
|
|
579
|
-
width={cellSize}
|
|
580
|
-
height={cellSize}
|
|
581
|
-
borderRadius={CELL_CORNER_RADIUS}
|
|
582
|
-
style={{
|
|
583
|
-
marginRight: (index + 1) % columns === 0 ? 0 : gutter,
|
|
584
|
-
marginBottom: gutter,
|
|
585
|
-
backgroundColor: SKELETON_TILE_COLOR,
|
|
586
|
-
}}
|
|
587
|
-
/>
|
|
588
|
-
))}
|
|
589
|
-
</View>
|
|
590
|
-
) : isEmpty ? (
|
|
538
|
+
) : isEmpty && !loading ? (
|
|
591
539
|
<View className="flex-1 items-center justify-center px-space-32">
|
|
592
540
|
<View className="opacity-30 mb-space-16">
|
|
593
541
|
<MaterialCommunityIcons name="image-outline" size={64} color="#FFFFFF" />
|
|
@@ -599,26 +547,15 @@ const PhotoPickerView: React.FC<PhotoPickerViewProps> = ({
|
|
|
599
547
|
{t('fileManagement.photoPicker.emptySubtitle')}
|
|
600
548
|
</Text>
|
|
601
549
|
{isOwner && allowUpload && (
|
|
602
|
-
<
|
|
603
|
-
|
|
604
|
-
|
|
550
|
+
<Button
|
|
551
|
+
appearance="solid"
|
|
552
|
+
tone="accent"
|
|
605
553
|
onPress={onUpload}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
accessibilityLabel={t('fileManagement.uploadPhoto')}
|
|
609
|
-
accessibilityState={{ busy: uploading || isPickingDocument }}
|
|
554
|
+
loading={uploading || isPickingDocument}
|
|
555
|
+
icon={<Ionicons name="cloud-upload" size={18} />}
|
|
610
556
|
>
|
|
611
|
-
{
|
|
612
|
-
|
|
613
|
-
) : (
|
|
614
|
-
<>
|
|
615
|
-
<Ionicons name="cloud-upload" size={18} color="#FFFFFF" />
|
|
616
|
-
<Text className="text-white text-[15px] font-semibold">
|
|
617
|
-
{t('fileManagement.uploadPhoto')}
|
|
618
|
-
</Text>
|
|
619
|
-
</>
|
|
620
|
-
)}
|
|
621
|
-
</TouchableOpacity>
|
|
557
|
+
{t('fileManagement.uploadPhoto')}
|
|
558
|
+
</Button>
|
|
622
559
|
)}
|
|
623
560
|
</View>
|
|
624
561
|
) : (
|
|
@@ -12,7 +12,10 @@ export interface UploadBarProps {
|
|
|
12
12
|
|
|
13
13
|
/** Upload state is app-owned; surface, spinner and determinate meter are Bloom. */
|
|
14
14
|
const UploadBar: React.FC<UploadBarProps> = ({ uploadProgress, t }) => (
|
|
15
|
-
<View
|
|
15
|
+
<View
|
|
16
|
+
style={{ pointerEvents: 'none' }}
|
|
17
|
+
className="absolute top-[72px] left-0 right-0 items-center z-50"
|
|
18
|
+
>
|
|
16
19
|
<Card
|
|
17
20
|
appearance="solid"
|
|
18
21
|
elevation="s"
|
package/src/ui/screens/index.ts
CHANGED
|
@@ -17,3 +17,4 @@ export { default as AccountMembersScreen } from './AccountMembersScreen';
|
|
|
17
17
|
export { default as AccountSettingsScreen } from './AccountSettingsScreen';
|
|
18
18
|
|
|
19
19
|
export { default as SupervisionScreen } from './SupervisionScreen';
|
|
20
|
+
export { default as OxyOneScreen } from './OxyOneScreen';
|
|
@@ -6,13 +6,12 @@ import Ionicons from '../../icons/Ionicons';
|
|
|
6
6
|
import { Chip } from '@oxy.so/bloom/chip';
|
|
7
7
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
8
8
|
import { H1, Text } from '@oxy.so/bloom/typography';
|
|
9
|
-
import {
|
|
9
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
10
10
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
11
11
|
import { SettingsIcon } from '../../components/SettingsIcon';
|
|
12
|
-
import { Loading } from '@oxy.so/bloom/loading';
|
|
13
12
|
import { useI18n } from '../../hooks/useI18n';
|
|
14
13
|
import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
|
|
15
|
-
import { useOxy } from '../../context/
|
|
14
|
+
import { useOxy } from '../../context/oxyRuntimeContext';
|
|
16
15
|
import { trustTierLabel } from '@oxy.so/core';
|
|
17
16
|
import { queryKeys } from '../../hooks/queries/queryKeys';
|
|
18
17
|
|
|
@@ -66,14 +65,6 @@ const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
66
65
|
);
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
if (isLoading) {
|
|
70
|
-
return (
|
|
71
|
-
<View className="items-center py-space-40">
|
|
72
|
-
<Loading size="lg" color={primaryColor} />
|
|
73
|
-
</View>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
68
|
return (
|
|
78
69
|
<View className="px-screen-margin pt-space-16 pb-space-24">
|
|
79
70
|
{/* Balance hero card */}
|
|
@@ -101,38 +92,38 @@ const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
101
92
|
</View>
|
|
102
93
|
|
|
103
94
|
{/* Trust actions */}
|
|
104
|
-
<
|
|
105
|
-
<
|
|
95
|
+
<GroupedSection title={t('trust.center.actions.title') || 'Explore'}>
|
|
96
|
+
<GroupedSectionItem
|
|
106
97
|
icon={<SettingsIcon name="trophy" color={bloomTheme.colors.warning} />}
|
|
107
98
|
title={t('trust.center.actions.leaderboard') || 'Leaderboard'}
|
|
108
99
|
onPress={() => navigate?.('TrustLeaderboard')}
|
|
109
100
|
/>
|
|
110
|
-
<
|
|
101
|
+
<GroupedSectionItem
|
|
111
102
|
icon={<SettingsIcon name="file-document" color={bloomTheme.colors.info} />}
|
|
112
103
|
title={t('trust.center.actions.rules') || 'Rules'}
|
|
113
104
|
onPress={() => navigate?.('TrustRules')}
|
|
114
105
|
/>
|
|
115
|
-
<
|
|
106
|
+
<GroupedSectionItem
|
|
116
107
|
icon={<SettingsIcon name="gift" color={bloomTheme.colors.success} />}
|
|
117
108
|
title={t('trust.center.actions.rewards') || 'Rewards'}
|
|
118
109
|
onPress={() => navigate?.('TrustRewards')}
|
|
119
110
|
/>
|
|
120
|
-
<
|
|
111
|
+
<GroupedSectionItem
|
|
121
112
|
icon={<SettingsIcon name="star" color={bloomTheme.colors.primary} />}
|
|
122
113
|
title={t('trust.center.actions.about') || 'About'}
|
|
123
114
|
onPress={() => navigate?.('AboutTrust')}
|
|
124
115
|
/>
|
|
125
|
-
<
|
|
116
|
+
<GroupedSectionItem
|
|
126
117
|
icon={<SettingsIcon name="help-circle" color={bloomTheme.colors.secondary} />}
|
|
127
118
|
title={t('trust.center.actions.faq') || 'FAQ'}
|
|
128
119
|
onPress={() => navigate?.('TrustFAQ')}
|
|
129
120
|
/>
|
|
130
|
-
</
|
|
121
|
+
</GroupedSection>
|
|
131
122
|
|
|
132
123
|
{/* Reputation history */}
|
|
133
|
-
<
|
|
124
|
+
<GroupedSection title={t('trust.center.history') || 'Reputation History'}>
|
|
134
125
|
{transactions.length === 0 ? (
|
|
135
|
-
<
|
|
126
|
+
<GroupedSectionItem
|
|
136
127
|
icon={<SettingsIcon name="history" color={bloomTheme.colors.textTertiary} />}
|
|
137
128
|
title={t('trust.center.noHistory') || 'No reputation history yet.'}
|
|
138
129
|
showChevron={false}
|
|
@@ -140,7 +131,7 @@ const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
140
131
|
/>
|
|
141
132
|
) : (
|
|
142
133
|
transactions.map((entry) => (
|
|
143
|
-
<
|
|
134
|
+
<GroupedSectionItem
|
|
144
135
|
key={entry.id}
|
|
145
136
|
icon={
|
|
146
137
|
<SettingsIcon
|
|
@@ -166,7 +157,7 @@ const TrustCenterScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
166
157
|
/>
|
|
167
158
|
))
|
|
168
159
|
)}
|
|
169
|
-
</
|
|
160
|
+
</GroupedSection>
|
|
170
161
|
|
|
171
162
|
{error ? (
|
|
172
163
|
<Text
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
1
2
|
import type React from 'react';
|
|
2
3
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
-
import { View, StyleSheet,
|
|
4
|
+
import { View, StyleSheet, FlatList } from 'react-native';
|
|
4
5
|
import type { ReputationLeaderboardEntry } from '@oxy.so/contracts';
|
|
5
6
|
import { getNormalizedUserHandle, logger, trustTierLabel } from '@oxy.so/core';
|
|
6
7
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
@@ -12,7 +13,7 @@ import type { BaseScreenProps } from '../../types/navigation';
|
|
|
12
13
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
13
14
|
import { useI18n } from '../../hooks/useI18n';
|
|
14
15
|
import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
|
|
15
|
-
import { useOxy } from '../../context/
|
|
16
|
+
import { useOxy } from '../../context/oxyRuntimeContext';
|
|
16
17
|
|
|
17
18
|
const AVATAR_SIZE = 40;
|
|
18
19
|
const EMPTY_ICON_SIZE = 64;
|
|
@@ -69,45 +70,39 @@ const TrustLeaderboardScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
69
70
|
const isViewer = currentUserId !== '' && item.user.id === currentUserId;
|
|
70
71
|
const isPodium = item.rank <= PODIUM_RANK;
|
|
71
72
|
// Viewer's own row and podium ranks get a subtle highlighted surface.
|
|
72
|
-
const highlightClass = isViewer || isPodium ? 'bg-fill-secondary' : '';
|
|
73
73
|
|
|
74
74
|
return (
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
75
|
+
<GroupedSection>
|
|
76
|
+
<GroupedSectionItem
|
|
77
|
+
title={displayName}
|
|
78
|
+
description={trustTierLabel(locale, item.trustTier)}
|
|
79
|
+
onPress={() => handleEntryPress(item)}
|
|
80
|
+
accessibilityLabel={`${displayName}, ${t('trust.leaderboard.rankLabel', { rank: item.rank }) || `rank ${item.rank}`}`}
|
|
81
|
+
accessibilityState={{ selected: isViewer }}
|
|
82
|
+
icon={
|
|
83
|
+
<View style={styles.tierRow}>
|
|
84
|
+
<Text className="text-text-secondary font-bold" style={styles.rank}>
|
|
85
|
+
{item.rank}
|
|
86
|
+
</Text>
|
|
87
|
+
<Avatar
|
|
88
|
+
source={
|
|
89
|
+
item.user.avatar
|
|
90
|
+
? oxyServices.assets.publicUrl(item.user.avatar, 'thumb')
|
|
91
|
+
: undefined
|
|
92
|
+
}
|
|
93
|
+
name={displayName}
|
|
94
|
+
size={AVATAR_SIZE}
|
|
95
|
+
/>
|
|
96
|
+
</View>
|
|
93
97
|
}
|
|
94
|
-
|
|
95
|
-
size={AVATAR_SIZE}
|
|
96
|
-
/>
|
|
97
|
-
<View style={styles.userColumn}>
|
|
98
|
-
<Text className="text-text font-medium text-base" numberOfLines={1}>
|
|
99
|
-
{displayName}
|
|
100
|
-
</Text>
|
|
101
|
-
<View style={styles.tierRow} className="mt-space-4">
|
|
98
|
+
rightElement={
|
|
102
99
|
<Chip size="sm" variant="subtle" color={isPodium ? 'primary' : 'default'}>
|
|
103
|
-
{
|
|
100
|
+
{item.total}
|
|
104
101
|
</Chip>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</Text>
|
|
110
|
-
</TouchableOpacity>
|
|
102
|
+
}
|
|
103
|
+
showChevron={false}
|
|
104
|
+
/>
|
|
105
|
+
</GroupedSection>
|
|
111
106
|
);
|
|
112
107
|
},
|
|
113
108
|
[oxyServices, currentUserId, handleEntryPress, locale, t],
|
|
@@ -118,20 +113,7 @@ const TrustLeaderboardScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
|
|
|
118
113
|
[],
|
|
119
114
|
);
|
|
120
115
|
|
|
121
|
-
const ItemSeparator = useMemo(
|
|
122
|
-
() => () => <View style={styles.separator} className="border-b border-border-image" />,
|
|
123
|
-
[],
|
|
124
|
-
);
|
|
125
|
-
|
|
126
|
-
if (isLoading) {
|
|
127
|
-
return (
|
|
128
|
-
<View className="flex-1 bg-bg">
|
|
129
|
-
<View style={styles.center}>
|
|
130
|
-
<ActivityIndicator size="large" color={bloomTheme.colors.primary} />
|
|
131
|
-
</View>
|
|
132
|
-
</View>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
116
|
+
const ItemSeparator = useMemo(() => () => <View style={{ height: 2 }} />, []);
|
|
135
117
|
|
|
136
118
|
if (error) {
|
|
137
119
|
return (
|
|
@@ -192,25 +174,13 @@ const styles = StyleSheet.create({
|
|
|
192
174
|
flexGrow: 1,
|
|
193
175
|
paddingBottom: 40,
|
|
194
176
|
},
|
|
195
|
-
row: {
|
|
196
|
-
flexDirection: 'row',
|
|
197
|
-
alignItems: 'center',
|
|
198
|
-
},
|
|
199
177
|
rank: {
|
|
200
178
|
width: 28,
|
|
201
179
|
},
|
|
202
|
-
userColumn: {
|
|
203
|
-
flex: 1,
|
|
204
|
-
},
|
|
205
180
|
tierRow: {
|
|
206
181
|
flexDirection: 'row',
|
|
207
182
|
alignItems: 'flex-start',
|
|
208
183
|
},
|
|
209
|
-
// Inset the hairline separator to align with the start of the entry's text
|
|
210
|
-
// content (rank column + avatar + screen margin + gaps).
|
|
211
|
-
separator: {
|
|
212
|
-
marginLeft: 80,
|
|
213
|
-
},
|
|
214
184
|
emptyContainer: {
|
|
215
185
|
flex: 1,
|
|
216
186
|
justifyContent: 'center',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { useQuery } from '@tanstack/react-query';
|
|
4
|
-
import { View, StyleSheet } from 'react-native';
|
|
4
|
+
import { Platform, View, StyleSheet } from 'react-native';
|
|
5
5
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
6
6
|
import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
|
|
7
7
|
import Ionicons from '../../icons/Ionicons';
|
|
8
8
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
9
9
|
import { H1, H4, H5, Text } from '@oxy.so/bloom/typography';
|
|
10
10
|
import { useI18n } from '../../hooks/useI18n';
|
|
11
|
-
import { useOxy } from '../../context/
|
|
11
|
+
import { useOxy } from '../../context/oxyRuntimeContext';
|
|
12
12
|
import { queryKeys } from '../../hooks/queries/queryKeys';
|
|
13
13
|
import { darkenColor, lightenColor } from '../../utils/colorUtils';
|
|
14
14
|
|
|
@@ -310,7 +310,10 @@ const TrustRewardsScreen: React.FC<BaseScreenProps> = () => {
|
|
|
310
310
|
styles.badgeValueText,
|
|
311
311
|
{
|
|
312
312
|
color: lightTone,
|
|
313
|
-
|
|
313
|
+
...Platform.select({
|
|
314
|
+
web: { textShadow: `0px 2px 4px ${darkTone}` },
|
|
315
|
+
default: { textShadowColor: darkTone },
|
|
316
|
+
}),
|
|
314
317
|
},
|
|
315
318
|
]}
|
|
316
319
|
>
|
|
@@ -541,8 +544,10 @@ const styles = StyleSheet.create({
|
|
|
541
544
|
badgeValueText: {
|
|
542
545
|
fontSize: 32,
|
|
543
546
|
fontWeight: 'bold',
|
|
544
|
-
|
|
545
|
-
|
|
547
|
+
...Platform.select({
|
|
548
|
+
web: {},
|
|
549
|
+
default: { textShadowOffset: { width: 0, height: 2 }, textShadowRadius: 4 },
|
|
550
|
+
}),
|
|
546
551
|
letterSpacing: -1,
|
|
547
552
|
},
|
|
548
553
|
rarityBadge: {
|
|
@@ -3,16 +3,15 @@ import { useMemo } from 'react';
|
|
|
3
3
|
import { useQuery } from '@tanstack/react-query';
|
|
4
4
|
import { View } from 'react-native';
|
|
5
5
|
import { Text } from '@oxy.so/bloom/typography';
|
|
6
|
-
import {
|
|
6
|
+
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
7
7
|
import { Chip } from '@oxy.so/bloom/chip';
|
|
8
8
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
9
9
|
import { reputationCategoryLabel } from '@oxy.so/core';
|
|
10
10
|
import type { ReputationRule, ReputationCategory } from '@oxy.so/contracts';
|
|
11
11
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
12
12
|
import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
|
|
13
|
-
import { Loading } from '@oxy.so/bloom/loading';
|
|
14
13
|
import { useI18n } from '../../hooks/useI18n';
|
|
15
|
-
import { useOxy } from '../../context/
|
|
14
|
+
import { useOxy } from '../../context/oxyRuntimeContext';
|
|
16
15
|
import { queryKeys } from '../../hooks/queries/queryKeys';
|
|
17
16
|
|
|
18
17
|
/** Stable display order for rule category sections. */
|
|
@@ -71,9 +70,7 @@ const TrustRulesScreen: React.FC<BaseScreenProps> = () => {
|
|
|
71
70
|
|
|
72
71
|
return (
|
|
73
72
|
<>
|
|
74
|
-
{isLoading ? (
|
|
75
|
-
<Loading size="lg" color={bloomTheme.colors.primary} />
|
|
76
|
-
) : error ? (
|
|
73
|
+
{isLoading ? null : error ? (
|
|
77
74
|
<Text className="text-text-secondary text-base text-center px-screen-margin pt-space-40">
|
|
78
75
|
{error}
|
|
79
76
|
</Text>
|
|
@@ -84,9 +81,9 @@ const TrustRulesScreen: React.FC<BaseScreenProps> = () => {
|
|
|
84
81
|
) : (
|
|
85
82
|
<View className="px-screen-margin pb-space-24 pt-space-12">
|
|
86
83
|
{groupedRules.map(({ category, items }) => (
|
|
87
|
-
<
|
|
84
|
+
<GroupedSection key={category} title={reputationCategoryLabel(locale, category)}>
|
|
88
85
|
{items.map((rule) => (
|
|
89
|
-
<
|
|
86
|
+
<GroupedSectionItem
|
|
90
87
|
key={rule.actionType}
|
|
91
88
|
title={rule.description}
|
|
92
89
|
showChevron={false}
|
|
@@ -102,7 +99,7 @@ const TrustRulesScreen: React.FC<BaseScreenProps> = () => {
|
|
|
102
99
|
accessibilityLabel={`${rule.description}, ${rule.points > 0 ? '+' : ''}${rule.points} ${t('trust.center.balance') || 'reputation points'}`}
|
|
103
100
|
/>
|
|
104
101
|
))}
|
|
105
|
-
</
|
|
102
|
+
</GroupedSection>
|
|
106
103
|
))}
|
|
107
104
|
</View>
|
|
108
105
|
)}
|
|
@@ -62,6 +62,18 @@ export interface OxyProviderProps {
|
|
|
62
62
|
oxyServices?: unknown;
|
|
63
63
|
children?: ReactNode;
|
|
64
64
|
onAuthStateChange?: (user: unknown) => void;
|
|
65
|
+
/** Opens the app's embedded Alia UI from Help & Support. The account dialog
|
|
66
|
+
* stays mounted so Bloom can stack Alia above it. The host owns sign-in
|
|
67
|
+
* and the Alia sheet/route.
|
|
68
|
+
* Omitted, support keeps the email action for apps without Alia.
|
|
69
|
+
*/
|
|
70
|
+
onAskAlia?: () => void | Promise<void>;
|
|
71
|
+
/** App-specific documentation; defaults to https://oxy.so/developers/docs/. */
|
|
72
|
+
documentationUrl?: string;
|
|
73
|
+
/** Official AliaAvatar supplied by hosts that integrate Alia. */
|
|
74
|
+
aliaAvatar?: ReactNode;
|
|
75
|
+
/** Optional animated Oxy One artwork, e.g. OxyOneVideo from /ui/one-video. */
|
|
76
|
+
oxyOneArtwork?: ReactNode;
|
|
65
77
|
/** Optional, non-blocking product analytics sink. Receives no profile data. */
|
|
66
78
|
productAnalytics?: ProductAnalytics;
|
|
67
79
|
storageKeyPrefix?: string;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
var _settingsList = require("@oxy.so/bloom/settings-list");
|
|
9
|
-
var _SettingsIcon = require("../components/SettingsIcon.js");
|
|
10
|
-
var _theme = require("@oxy.so/bloom/theme");
|
|
11
|
-
var _useI18n = require("../hooks/useI18n.js");
|
|
12
|
-
var _useSurfaceHeader = require("../hooks/useSurfaceHeader.js");
|
|
13
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
-
const UserLinksScreen = ({
|
|
15
|
-
userId,
|
|
16
|
-
links = [],
|
|
17
|
-
theme,
|
|
18
|
-
goBack,
|
|
19
|
-
navigate
|
|
20
|
-
}) => {
|
|
21
|
-
const bloomTheme = (0, _theme.useTheme)();
|
|
22
|
-
const {
|
|
23
|
-
t
|
|
24
|
-
} = (0, _useI18n.useI18n)();
|
|
25
|
-
(0, _useSurfaceHeader.useSurfaceHeader)({
|
|
26
|
-
title: t('userLinks.title'),
|
|
27
|
-
subtitle: links.length !== 1 ? t('userLinks.linkCount_plural', {
|
|
28
|
-
count: links.length
|
|
29
|
-
}) : t('userLinks.linkCount', {
|
|
30
|
-
count: links.length
|
|
31
|
-
})
|
|
32
|
-
});
|
|
33
|
-
const handleLinkPress = async url => {
|
|
34
|
-
try {
|
|
35
|
-
await _reactNative.Linking.openURL(url);
|
|
36
|
-
} catch (error) {
|
|
37
|
-
if (__DEV__) {
|
|
38
|
-
console.error('Error opening link:', error);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
43
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
44
|
-
className: "px-screen-margin pb-space-24",
|
|
45
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListGroup, {
|
|
46
|
-
title: t('userLinks.title'),
|
|
47
|
-
children: links.map(link => /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
|
|
48
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
|
|
49
|
-
name: "link",
|
|
50
|
-
color: bloomTheme.colors.success
|
|
51
|
-
}),
|
|
52
|
-
title: link.title || link.url,
|
|
53
|
-
description: link.description || link.url,
|
|
54
|
-
onPress: () => handleLinkPress(link.url)
|
|
55
|
-
}, link.id))
|
|
56
|
-
})
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
var _default = exports.default = UserLinksScreen;
|
|
61
|
-
//# sourceMappingURL=UserLinksScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_settingsList","_SettingsIcon","_theme","_useI18n","_useSurfaceHeader","_jsxRuntime","UserLinksScreen","userId","links","theme","goBack","navigate","bloomTheme","useTheme","t","useI18n","useSurfaceHeader","title","subtitle","length","count","handleLinkPress","url","Linking","openURL","error","__DEV__","console","jsx","Fragment","children","View","className","SettingsListGroup","map","link","SettingsListItem","icon","SettingsIcon","name","color","colors","success","description","onPress","id","_default","exports","default"],"sourceRoot":"../../../../src","sources":["ui/screens/UserLinksScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AAA6D,IAAAM,WAAA,GAAAN,OAAA;AAa7D,MAAMO,eAA+C,GAAGA,CAAC;EACvDC,MAAM;EACNC,KAAK,GAAG,EAAE;EACVC,KAAK;EACLC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAG,IAAAC,eAAQ,EAAC,CAAC;EAC7B,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,gBAAO,EAAC,CAAC;EAEvB,IAAAC,kCAAgB,EAAC;IACfC,KAAK,EAAEH,CAAC,CAAC,iBAAiB,CAAC;IAC3BI,QAAQ,EACNV,KAAK,CAACW,MAAM,KAAK,CAAC,GACdL,CAAC,CAAC,4BAA4B,EAAE;MAAEM,KAAK,EAAEZ,KAAK,CAACW;IAAO,CAAC,CAAC,GACxDL,CAAC,CAAC,qBAAqB,EAAE;MAAEM,KAAK,EAAEZ,KAAK,CAACW;IAAO,CAAC;EACxD,CAAC,CAAC;EAEF,MAAME,eAAe,GAAG,MAAOC,GAAW,IAAK;IAC7C,IAAI;MACF,MAAMC,oBAAO,CAACC,OAAO,CAACF,GAAG,CAAC;IAC5B,CAAC,CAAC,OAAOG,KAAK,EAAE;MACd,IAAIC,OAAO,EAAE;QACXC,OAAO,CAACF,KAAK,CAAC,qBAAqB,EAAEA,KAAK,CAAC;MAC7C;IACF;EACF,CAAC;EAED,oBACE,IAAApB,WAAA,CAAAuB,GAAA,EAAAvB,WAAA,CAAAwB,QAAA;IAAAC,QAAA,eACE,IAAAzB,WAAA,CAAAuB,GAAA,EAAC9B,YAAA,CAAAiC,IAAI;MAACC,SAAS,EAAC,8BAA8B;MAAAF,QAAA,eAC5C,IAAAzB,WAAA,CAAAuB,GAAA,EAAC5B,aAAA,CAAAiC,iBAAiB;QAAChB,KAAK,EAAEH,CAAC,CAAC,iBAAiB,CAAE;QAAAgB,QAAA,EAC5CtB,KAAK,CAAC0B,GAAG,CAAEC,IAAI,iBACd,IAAA9B,WAAA,CAAAuB,GAAA,EAAC5B,aAAA,CAAAoC,gBAAgB;UAEfC,IAAI,eAAE,IAAAhC,WAAA,CAAAuB,GAAA,EAAC3B,aAAA,CAAAqC,YAAY;YAACC,IAAI,EAAC,MAAM;YAACC,KAAK,EAAE5B,UAAU,CAAC6B,MAAM,CAACC;UAAQ,CAAE,CAAE;UACrEzB,KAAK,EAAEkB,IAAI,CAAClB,KAAK,IAAIkB,IAAI,CAACb,GAAI;UAC9BqB,WAAW,EAAER,IAAI,CAACQ,WAAW,IAAIR,IAAI,CAACb,GAAI;UAC1CsB,OAAO,EAAEA,CAAA,KAAMvB,eAAe,CAACc,IAAI,CAACb,GAAG;QAAE,GAJpCa,IAAI,CAACU,EAKX,CACF;MAAC,CACe;IAAC,CAChB;EAAC,CACP,CAAC;AAEP,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa1C,eAAe","ignoreList":[]}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { View, Linking } from 'react-native';
|
|
4
|
-
import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
|
|
5
|
-
import { SettingsIcon } from "../components/SettingsIcon.js";
|
|
6
|
-
import { useTheme } from '@oxy.so/bloom/theme';
|
|
7
|
-
import { useI18n } from "../hooks/useI18n.js";
|
|
8
|
-
import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
9
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
|
-
const UserLinksScreen = ({
|
|
11
|
-
userId,
|
|
12
|
-
links = [],
|
|
13
|
-
theme,
|
|
14
|
-
goBack,
|
|
15
|
-
navigate
|
|
16
|
-
}) => {
|
|
17
|
-
const bloomTheme = useTheme();
|
|
18
|
-
const {
|
|
19
|
-
t
|
|
20
|
-
} = useI18n();
|
|
21
|
-
useSurfaceHeader({
|
|
22
|
-
title: t('userLinks.title'),
|
|
23
|
-
subtitle: links.length !== 1 ? t('userLinks.linkCount_plural', {
|
|
24
|
-
count: links.length
|
|
25
|
-
}) : t('userLinks.linkCount', {
|
|
26
|
-
count: links.length
|
|
27
|
-
})
|
|
28
|
-
});
|
|
29
|
-
const handleLinkPress = async url => {
|
|
30
|
-
try {
|
|
31
|
-
await Linking.openURL(url);
|
|
32
|
-
} catch (error) {
|
|
33
|
-
if (__DEV__) {
|
|
34
|
-
console.error('Error opening link:', error);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
return /*#__PURE__*/_jsx(_Fragment, {
|
|
39
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
40
|
-
className: "px-screen-margin pb-space-24",
|
|
41
|
-
children: /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
42
|
-
title: t('userLinks.title'),
|
|
43
|
-
children: links.map(link => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
44
|
-
icon: /*#__PURE__*/_jsx(SettingsIcon, {
|
|
45
|
-
name: "link",
|
|
46
|
-
color: bloomTheme.colors.success
|
|
47
|
-
}),
|
|
48
|
-
title: link.title || link.url,
|
|
49
|
-
description: link.description || link.url,
|
|
50
|
-
onPress: () => handleLinkPress(link.url)
|
|
51
|
-
}, link.id))
|
|
52
|
-
})
|
|
53
|
-
})
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
export default UserLinksScreen;
|
|
57
|
-
//# sourceMappingURL=UserLinksScreen.js.map
|