@oxy.so/services 14.24.2 → 15.0.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/README.md +7 -6
- package/android/src/main/java/so/oxy/security/OxyCallerPolicy.kt +4 -0
- 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 +5 -14
- 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 +5 -14
- package/lib/commonjs/index.js +80 -211
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +3 -2
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/commonjs/ui/client.js +31 -95
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +14 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/AccountLanguageBoundary.js +1 -1
- package/lib/commonjs/ui/components/AccountLanguageBoundary.js.map +1 -1
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +10 -4
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -1
- package/lib/commonjs/ui/components/BenefitList.js +0 -4
- package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
- package/lib/commonjs/ui/components/DisplayCurrencySelector.js +2 -2
- package/lib/commonjs/ui/components/DisplayCurrencySelector.js.map +1 -1
- package/lib/commonjs/ui/components/ExpoImage.macos.js +2 -6
- package/lib/commonjs/ui/components/ExpoImage.macos.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +10 -14
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +4 -4
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +9 -13
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +5 -4
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +64 -142
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -9
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +4 -7
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +2 -9
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +2 -2
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/accountSettings/AccountCategoriesSection.js +12 -2
- package/lib/commonjs/ui/components/accountSettings/AccountCategoriesSection.js.map +1 -1
- package/lib/commonjs/ui/components/accountSettings/AccountSettings.js +110 -66
- package/lib/commonjs/ui/components/accountSettings/AccountSettings.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +88 -22
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js +33 -13
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +61 -16
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +174 -45
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +93 -16
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +29 -6
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +78 -84
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +32 -41
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +93 -91
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +35 -32
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +33 -44
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js +44 -13
- package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +14 -6
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +104 -26
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +3 -8
- 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 +68 -17
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailPanel.js +7 -11
- package/lib/commonjs/ui/components/signIn/OxyEmailPanel.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 +3 -8
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +15 -12
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js +5 -5
- package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/SessionsSection.js +55 -30
- package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountSecurityState.js +4 -4
- package/lib/commonjs/ui/components/signIn/accountSecurityState.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +7 -14
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +61 -118
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/OxyHostedContext.js +41 -60
- package/lib/commonjs/ui/context/OxyHostedContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/data/account.js +570 -0
- package/lib/commonjs/ui/data/account.js.map +1 -0
- package/lib/commonjs/ui/data/accountData.js +75 -0
- package/lib/commonjs/ui/data/accountData.js.map +1 -0
- package/lib/commonjs/ui/data/answer.js +65 -0
- package/lib/commonjs/ui/data/answer.js.map +1 -0
- package/lib/commonjs/ui/data/assets.js +194 -0
- package/lib/commonjs/ui/data/assets.js.map +1 -0
- package/lib/commonjs/ui/data/deviceStorage.js +158 -0
- package/lib/commonjs/ui/data/deviceStorage.js.map +1 -0
- package/lib/commonjs/ui/data/displayRates.js +40 -0
- package/lib/commonjs/ui/data/displayRates.js.map +1 -0
- package/lib/commonjs/ui/data/domains.js +52 -0
- package/lib/commonjs/ui/data/domains.js.map +1 -0
- package/lib/commonjs/ui/data/files.js +399 -0
- package/lib/commonjs/ui/data/files.js.map +1 -0
- package/lib/commonjs/ui/data/follow.js +616 -0
- package/lib/commonjs/ui/data/follow.js.map +1 -0
- package/lib/commonjs/ui/data/organizations.js +205 -0
- package/lib/commonjs/ui/data/organizations.js.map +1 -0
- package/lib/commonjs/ui/data/payments.js +83 -0
- package/lib/commonjs/ui/data/payments.js.map +1 -0
- package/lib/commonjs/ui/data/persister.js +17 -0
- package/lib/commonjs/ui/data/persister.js.map +1 -0
- package/lib/commonjs/ui/data/persister.native.js +24 -0
- package/lib/commonjs/ui/data/persister.native.js.map +1 -0
- package/lib/commonjs/ui/data/readOptions.js +57 -0
- package/lib/commonjs/ui/data/readOptions.js.map +1 -0
- package/lib/commonjs/ui/data/security.js +122 -0
- package/lib/commonjs/ui/data/security.js.map +1 -0
- package/lib/commonjs/ui/data/sessions.js +252 -0
- package/lib/commonjs/ui/data/sessions.js.map +1 -0
- package/lib/commonjs/ui/data/supervision.js +106 -0
- package/lib/commonjs/ui/data/supervision.js.map +1 -0
- package/lib/commonjs/ui/data/trust.js +70 -0
- package/lib/commonjs/ui/data/trust.js.map +1 -0
- package/lib/commonjs/ui/data/user.js +103 -0
- package/lib/commonjs/ui/data/user.js.map +1 -0
- package/lib/commonjs/ui/{hooks/queries/userCache.js → data/userRecord.js} +31 -144
- package/lib/commonjs/ui/data/userRecord.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +118 -657
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +45 -155
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +84 -243
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +13 -28
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +97 -159
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +33 -108
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +6 -18
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -59
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +18 -108
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +26 -36
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAccountColor.js +3 -3
- package/lib/commonjs/ui/hooks/useAccountColor.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAccountTheme.js +45 -55
- package/lib/commonjs/ui/hooks/useAccountTheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +86 -76
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +9 -8
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +24 -44
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayPrice.js +19 -16
- package/lib/commonjs/ui/hooks/useDisplayPrice.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +156 -245
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +53 -105
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +12 -68
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +7 -11
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +3 -3
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +15 -70
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +8 -74
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -9
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +3 -9
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +39 -17
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/runtime/activeRuntime.js +35 -0
- package/lib/commonjs/ui/runtime/activeRuntime.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +0 -3
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +242 -194
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +71 -11
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +8 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +37 -74
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +13 -2
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +42 -16
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +60 -12
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +84 -65
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -4
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +8 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +178 -97
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +67 -33
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +7 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +14 -2
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +26 -7
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +40 -7
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +7 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +34 -7
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +9 -3
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +23 -4
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +11 -5
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +39 -48
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileLinkForm.js +19 -3
- package/lib/commonjs/ui/screens/ProfileLinkForm.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +68 -69
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +14 -2
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +12 -5
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInSecurityScreen.js +7 -1
- package/lib/commonjs/ui/screens/SignInSecurityScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +50 -118
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +55 -14
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +16 -8
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +25 -7
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +51 -15
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +103 -15
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +28 -5
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +14 -13
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +47 -9
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +61 -30
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +26 -4
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +55 -14
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +118 -42
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +25 -12
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +1 -4
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/utils/netConnectivity.js +9 -17
- package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +6 -72
- package/lib/commonjs/ui/utils/storageHelpers.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 +5 -14
- 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 +5 -14
- package/lib/module/index.js +23 -36
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +4 -3
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/module/ui/client.js +12 -12
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +14 -2
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/AccountLanguageBoundary.js +1 -1
- package/lib/module/ui/components/AccountLanguageBoundary.js.map +1 -1
- package/lib/module/ui/components/AvatarCameraBadge.js +10 -3
- package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -1
- package/lib/module/ui/components/BenefitList.js +0 -4
- package/lib/module/ui/components/BenefitList.js.map +1 -1
- package/lib/module/ui/components/DisplayCurrencySelector.js +2 -2
- package/lib/module/ui/components/DisplayCurrencySelector.js.map +1 -1
- package/lib/module/ui/components/ExpoImage.macos.js +2 -6
- package/lib/module/ui/components/ExpoImage.macos.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +10 -14
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +4 -4
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +9 -13
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +5 -4
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +65 -143
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +2 -9
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +1 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +2 -9
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +2 -2
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/accountSettings/AccountCategoriesSection.js +13 -3
- package/lib/module/ui/components/accountSettings/AccountCategoriesSection.js.map +1 -1
- package/lib/module/ui/components/accountSettings/AccountSettings.js +111 -66
- package/lib/module/ui/components/accountSettings/AccountSettings.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +78 -12
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js +34 -13
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +62 -16
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +175 -45
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +94 -16
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +30 -6
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +79 -85
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +32 -41
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +94 -92
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +36 -33
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +33 -44
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/setupFlow/OxySetupFlow.js +40 -9
- package/lib/module/ui/components/setupFlow/OxySetupFlow.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +14 -5
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthScreen.js +98 -21
- package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +3 -8
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +64 -12
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailPanel.js +7 -11
- package/lib/module/ui/components/signIn/OxyEmailPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +3 -8
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +16 -13
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js +5 -5
- package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/SessionsSection.js +55 -30
- package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/module/ui/components/signIn/accountSecurityState.js +4 -4
- package/lib/module/ui/components/signIn/accountSecurityState.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +7 -14
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +62 -119
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/OxyHostedContext.js +41 -60
- package/lib/module/ui/context/OxyHostedContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/data/account.js +563 -0
- package/lib/module/ui/data/account.js.map +1 -0
- package/lib/module/ui/data/accountData.js +69 -0
- package/lib/module/ui/data/accountData.js.map +1 -0
- package/lib/module/ui/data/answer.js +59 -0
- package/lib/module/ui/data/answer.js.map +1 -0
- package/lib/module/ui/data/assets.js +176 -0
- package/lib/module/ui/data/assets.js.map +1 -0
- package/lib/module/ui/data/deviceStorage.js +152 -0
- package/lib/module/ui/data/deviceStorage.js.map +1 -0
- package/lib/module/ui/data/displayRates.js +36 -0
- package/lib/module/ui/data/displayRates.js.map +1 -0
- package/lib/module/ui/data/domains.js +47 -0
- package/lib/module/ui/data/domains.js.map +1 -0
- package/lib/module/ui/data/files.js +380 -0
- package/lib/module/ui/data/files.js.map +1 -0
- package/lib/module/ui/data/follow.js +585 -0
- package/lib/module/ui/data/follow.js.map +1 -0
- package/lib/module/ui/data/organizations.js +198 -0
- package/lib/module/ui/data/organizations.js.map +1 -0
- package/lib/module/ui/data/payments.js +78 -0
- package/lib/module/ui/data/payments.js.map +1 -0
- package/lib/module/ui/data/persister.js +14 -0
- package/lib/module/ui/data/persister.js.map +1 -0
- package/lib/module/ui/data/persister.native.js +20 -0
- package/lib/module/ui/data/persister.native.js.map +1 -0
- package/lib/module/ui/data/readOptions.js +51 -0
- package/lib/module/ui/data/readOptions.js.map +1 -0
- package/lib/module/ui/data/security.js +117 -0
- package/lib/module/ui/data/security.js.map +1 -0
- package/lib/module/ui/data/sessions.js +247 -0
- package/lib/module/ui/data/sessions.js.map +1 -0
- package/lib/module/ui/data/supervision.js +103 -0
- package/lib/module/ui/data/supervision.js.map +1 -0
- package/lib/module/ui/data/trust.js +66 -0
- package/lib/module/ui/data/trust.js.map +1 -0
- package/lib/module/ui/data/user.js +96 -0
- package/lib/module/ui/data/user.js.map +1 -0
- package/lib/module/ui/{hooks/queries/userCache.js → data/userRecord.js} +31 -146
- package/lib/module/ui/data/userRecord.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +116 -654
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +45 -155
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -238
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +13 -28
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +93 -149
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +34 -108
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +6 -18
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +13 -59
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +18 -108
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +26 -34
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAccountColor.js +3 -3
- package/lib/module/ui/hooks/useAccountColor.js.map +1 -1
- package/lib/module/ui/hooks/useAccountTheme.js +45 -55
- package/lib/module/ui/hooks/useAccountTheme.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +87 -77
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +9 -8
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +25 -45
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayPrice.js +20 -17
- package/lib/module/ui/hooks/useDisplayPrice.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +153 -243
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +50 -103
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useMutationStatus.js +13 -69
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -1
- package/lib/module/ui/hooks/useOnlineStatus.js +7 -11
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js +3 -3
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js +15 -69
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +9 -75
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +0 -9
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +2 -8
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +38 -17
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/runtime/activeRuntime.js +30 -0
- package/lib/module/ui/runtime/activeRuntime.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +0 -3
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +244 -195
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +73 -12
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +9 -2
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +37 -74
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +14 -3
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +43 -16
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +61 -12
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +85 -65
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +26 -5
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +9 -2
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +178 -97
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +69 -35
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +8 -2
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +15 -2
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +27 -7
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +41 -7
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +8 -2
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +35 -7
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +10 -4
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +25 -5
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +12 -6
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +41 -49
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileLinkForm.js +20 -4
- package/lib/module/ui/screens/ProfileLinkForm.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +70 -70
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +14 -2
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +13 -6
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInSecurityScreen.js +8 -2
- package/lib/module/ui/screens/SignInSecurityScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +51 -119
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +57 -15
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +18 -9
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +26 -8
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +52 -16
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +104 -16
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +29 -6
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +14 -13
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +49 -10
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +62 -30
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +26 -4
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +57 -15
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +120 -43
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +26 -12
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -3
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/utils/netConnectivity.js +9 -16
- package/lib/module/ui/utils/netConnectivity.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +5 -70
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +16 -14
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +11 -10
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AccountInvitationAcceptance.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ExpoImage.macos.d.ts +1 -3
- package/lib/typescript/commonjs/ui/components/ExpoImage.macos.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -7
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/accountSettings/AccountSettings.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/accountSettings/AccountSettings.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaims.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationSettings.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +9 -5
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyEmailAccountChoice.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts +3 -3
- package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyHostedContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +1 -2
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -9
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/data/account.d.ts +261 -0
- package/lib/typescript/commonjs/ui/data/account.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/accountData.d.ts +24 -0
- package/lib/typescript/commonjs/ui/data/accountData.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/answer.d.ts +43 -0
- package/lib/typescript/commonjs/ui/data/answer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/assets.d.ts +49 -0
- package/lib/typescript/commonjs/ui/data/assets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/deviceStorage.d.ts +41 -0
- package/lib/typescript/commonjs/ui/data/deviceStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/displayRates.d.ts +14 -0
- package/lib/typescript/commonjs/ui/data/displayRates.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/domains.d.ts +23 -0
- package/lib/typescript/commonjs/ui/data/domains.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/files.d.ts +216 -0
- package/lib/typescript/commonjs/ui/data/files.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/follow.d.ts +135 -0
- package/lib/typescript/commonjs/ui/data/follow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/organizations.d.ts +157 -0
- package/lib/typescript/commonjs/ui/data/organizations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/payments.d.ts +85 -0
- package/lib/typescript/commonjs/ui/data/payments.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/persister.d.ts +9 -0
- package/lib/typescript/commonjs/ui/data/persister.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/persister.native.d.ts +13 -0
- package/lib/typescript/commonjs/ui/data/persister.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/readOptions.d.ts +22 -0
- package/lib/typescript/commonjs/ui/data/readOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/security.d.ts +27 -0
- package/lib/typescript/commonjs/ui/data/security.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/sessions.d.ts +40 -0
- package/lib/typescript/commonjs/ui/data/sessions.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/supervision.d.ts +133 -0
- package/lib/typescript/commonjs/ui/data/supervision.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/trust.d.ts +22 -0
- package/lib/typescript/commonjs/ui/data/trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/user.d.ts +21 -0
- package/lib/typescript/commonjs/ui/data/user.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/{hooks/queries/userCache.d.ts → data/userRecord.d.ts} +47 -52
- package/lib/typescript/commonjs/ui/data/userRecord.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +34 -304
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +13 -23
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +45 -57
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +12 -185
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +43 -65
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +13 -45
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts +6 -6
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -11
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +18 -23
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSupervision.d.ts +37 -482
- package/lib/typescript/commonjs/ui/hooks/queries/useSupervision.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAccountTheme.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/useAccountTheme.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +3 -4
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDisplayCurrency.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useDisplayCurrency.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDisplayPrice.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +23 -83
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +11 -3
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +8 -10
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +4 -4
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +18 -20
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +6 -13
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- 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 +0 -9
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +2 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +13 -4
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/runtime/activeRuntime.d.ts +9 -0
- package/lib/typescript/commonjs/ui/runtime/activeRuntime.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +0 -3
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.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/CreateAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -1
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -13
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +8 -9
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +3 -4
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +16 -14
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +11 -10
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AccountInvitationAcceptance.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BenefitList.d.ts +0 -2
- package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ExpoImage.macos.d.ts +1 -3
- package/lib/typescript/module/ui/components/ExpoImage.macos.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -7
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/accountSettings/AccountSettings.d.ts +2 -2
- package/lib/typescript/module/ui/components/accountSettings/AccountSettings.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationClaims.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationSettings.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +9 -5
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyEmailAccountChoice.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts +3 -3
- package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyHostedContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +1 -2
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -9
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/data/account.d.ts +261 -0
- package/lib/typescript/module/ui/data/account.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/accountData.d.ts +24 -0
- package/lib/typescript/module/ui/data/accountData.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/answer.d.ts +43 -0
- package/lib/typescript/module/ui/data/answer.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/assets.d.ts +49 -0
- package/lib/typescript/module/ui/data/assets.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/deviceStorage.d.ts +41 -0
- package/lib/typescript/module/ui/data/deviceStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/displayRates.d.ts +14 -0
- package/lib/typescript/module/ui/data/displayRates.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/domains.d.ts +23 -0
- package/lib/typescript/module/ui/data/domains.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/files.d.ts +216 -0
- package/lib/typescript/module/ui/data/files.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/follow.d.ts +135 -0
- package/lib/typescript/module/ui/data/follow.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/organizations.d.ts +157 -0
- package/lib/typescript/module/ui/data/organizations.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/payments.d.ts +85 -0
- package/lib/typescript/module/ui/data/payments.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/persister.d.ts +9 -0
- package/lib/typescript/module/ui/data/persister.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/persister.native.d.ts +13 -0
- package/lib/typescript/module/ui/data/persister.native.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/readOptions.d.ts +22 -0
- package/lib/typescript/module/ui/data/readOptions.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/security.d.ts +27 -0
- package/lib/typescript/module/ui/data/security.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/sessions.d.ts +40 -0
- package/lib/typescript/module/ui/data/sessions.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/supervision.d.ts +133 -0
- package/lib/typescript/module/ui/data/supervision.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/trust.d.ts +22 -0
- package/lib/typescript/module/ui/data/trust.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/user.d.ts +21 -0
- package/lib/typescript/module/ui/data/user.d.ts.map +1 -0
- package/lib/typescript/module/ui/{hooks/queries/userCache.d.ts → data/userRecord.d.ts} +47 -52
- package/lib/typescript/module/ui/data/userRecord.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +34 -304
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +13 -23
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +45 -57
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +12 -185
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +43 -65
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +13 -45
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts +6 -6
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -11
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +18 -23
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSupervision.d.ts +37 -482
- package/lib/typescript/module/ui/hooks/queries/useSupervision.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAccountTheme.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/useAccountTheme.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +3 -4
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDisplayCurrency.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useDisplayCurrency.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDisplayPrice.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +23 -83
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +11 -3
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +8 -10
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +4 -4
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +18 -20
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +6 -13
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- 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 +0 -9
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +2 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +13 -4
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/runtime/activeRuntime.d.ts +9 -0
- package/lib/typescript/module/ui/runtime/activeRuntime.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +0 -3
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.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/CreateAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +0 -1
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +0 -13
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +8 -9
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +3 -4
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/types/react-native-web-style.d.ts +1 -1
- package/package.json +31 -45
- 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 +5 -14
- package/src/index.ts +26 -70
- package/src/types/react-native-web-style.d.ts +1 -1
- package/src/ui/boot/runProviderColdBoot.ts +4 -3
- package/src/ui/client.ts +13 -31
- package/src/ui/components/AccountInvitationAcceptance.tsx +9 -2
- package/src/ui/components/AccountLanguageBoundary.tsx +4 -4
- package/src/ui/components/AvatarCameraBadge.tsx +8 -3
- package/src/ui/components/BenefitList.tsx +0 -6
- package/src/ui/components/DisplayCurrencySelector.tsx +2 -2
- package/src/ui/components/ExpoImage.macos.tsx +1 -3
- package/src/ui/components/FollowButton.tsx +10 -22
- package/src/ui/components/FollowTargetButton.tsx +13 -5
- package/src/ui/components/OxyAuthChooser.tsx +9 -13
- package/src/ui/components/OxyAuthPrompt.tsx +3 -4
- package/src/ui/components/OxyProvider.tsx +72 -164
- package/src/ui/components/OxySignInButton.tsx +2 -5
- package/src/ui/components/ProfileButton.tsx +1 -11
- package/src/ui/components/RequireOxyAuth.tsx +3 -8
- package/src/ui/components/SurfaceScreen.tsx +2 -3
- package/src/ui/components/__tests__/AccountLanguageBoundary.test.tsx +11 -11
- package/src/ui/components/__tests__/followTargetButton.test.ts +1 -1
- package/src/ui/components/accountSettings/AccountCategoriesSection.tsx +8 -3
- package/src/ui/components/accountSettings/AccountSettings.tsx +121 -83
- package/src/ui/components/accountSettings/__tests__/AccountSettings.test.tsx +4 -4
- package/src/ui/components/authChooser/AccountsMenuView.tsx +53 -16
- package/src/ui/components/fileManagement/FileAppAccessSection.tsx +20 -17
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +55 -32
- package/src/ui/components/fileManagement/FileViewer.tsx +117 -60
- package/src/ui/components/fileManagement/UploadPreview.tsx +46 -23
- package/src/ui/components/modals/DeleteAccountModal.tsx +13 -4
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +110 -88
- package/src/ui/components/organizations/OrganizationClaims.tsx +46 -43
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +114 -102
- package/src/ui/components/organizations/OrganizationSettings.tsx +33 -29
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +29 -51
- package/src/ui/components/setupFlow/OxySetupFlow.tsx +23 -9
- package/src/ui/components/signIn/OxyAccountPicker.tsx +17 -4
- package/src/ui/components/signIn/OxyAuthScreen.tsx +65 -22
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +3 -7
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +2 -2
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +28 -17
- package/src/ui/components/signIn/OxyEmailPanel.tsx +7 -7
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +2 -2
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +3 -7
- package/src/ui/components/signIn/OxySignInPanel.tsx +18 -13
- package/src/ui/components/signIn/OxySignInSecurityPanel.tsx +5 -5
- package/src/ui/components/signIn/SessionsSection.tsx +64 -38
- package/src/ui/components/signIn/accountSecurityState.tsx +6 -6
- package/src/ui/components/supervision/PersonPicker.tsx +10 -12
- package/src/ui/context/OxyContext.tsx +66 -138
- package/src/ui/context/OxyHostedContext.tsx +40 -67
- package/src/ui/context/hooks/useAuthOperations.ts +0 -4
- package/src/ui/context/oxyContextTypes.ts +0 -9
- package/src/ui/data/__tests__/accountData.test.tsx +50 -0
- package/src/ui/data/__tests__/assets.test.ts +63 -0
- package/src/ui/data/__tests__/deviceStorage.test.ts +72 -0
- package/src/ui/data/__tests__/files.test.ts +91 -0
- package/src/ui/data/__tests__/follow.test.ts +310 -0
- package/src/ui/data/__tests__/security.test.tsx +147 -0
- package/src/ui/data/__tests__/sessions.test.tsx +349 -0
- package/src/ui/data/__tests__/storeUsers.test.ts +187 -0
- package/src/ui/{hooks/queries/__tests__/userCacheClear.test.ts → data/__tests__/storeUsersClear.test.ts} +55 -110
- package/src/ui/data/__tests__/trust.test.tsx +69 -0
- package/src/ui/data/__tests__/user.test.ts +143 -0
- package/src/ui/data/account.ts +654 -0
- package/src/ui/data/accountData.ts +80 -0
- package/src/ui/data/answer.ts +79 -0
- package/src/ui/data/assets.ts +181 -0
- package/src/ui/data/deviceStorage.ts +152 -0
- package/src/ui/data/displayRates.ts +31 -0
- package/src/ui/data/domains.ts +45 -0
- package/src/ui/data/files.ts +461 -0
- package/src/ui/data/follow.ts +629 -0
- package/src/ui/data/organizations.ts +191 -0
- package/src/ui/data/payments.ts +96 -0
- package/src/ui/data/persister.native.ts +21 -0
- package/src/ui/data/persister.ts +12 -0
- package/src/ui/data/readOptions.ts +52 -0
- package/src/ui/data/security.ts +106 -0
- package/src/ui/data/sessions.ts +258 -0
- package/src/ui/data/supervision.ts +105 -0
- package/src/ui/data/trust.ts +75 -0
- package/src/ui/data/user.ts +103 -0
- package/src/ui/{hooks/queries/userCache.ts → data/userRecord.ts} +33 -164
- package/src/ui/hooks/mutations/useAccountMutations.ts +146 -714
- package/src/ui/hooks/mutations/useServicesMutations.ts +103 -155
- package/src/ui/hooks/queries/__tests__/useSupervision.test.tsx +57 -22
- package/src/ui/hooks/queries/useAccountQueries.ts +149 -253
- package/src/ui/hooks/queries/useAuthMethods.ts +32 -29
- package/src/ui/hooks/queries/useFileQueries.ts +113 -207
- package/src/ui/hooks/queries/usePaymentQueries.ts +34 -97
- package/src/ui/hooks/queries/usePersonalPlans.ts +11 -20
- package/src/ui/hooks/queries/useSecurityQueries.ts +34 -69
- package/src/ui/hooks/queries/useServicesQueries.ts +73 -126
- package/src/ui/hooks/queries/useSupervision.ts +30 -34
- package/src/ui/hooks/useAccountColor.ts +3 -3
- package/src/ui/hooks/useAccountTheme.ts +37 -54
- package/src/ui/hooks/useAssets.ts +145 -91
- package/src/ui/hooks/useAvatarPicker.ts +7 -13
- package/src/ui/hooks/useDisplayCurrency.ts +30 -48
- package/src/ui/hooks/useDisplayPrice.ts +16 -13
- package/src/ui/hooks/useFollow.ts +210 -332
- package/src/ui/hooks/useFollow.types.ts +4 -3
- package/src/ui/hooks/useFollowTarget.ts +87 -130
- package/src/ui/hooks/useMutationStatus.ts +20 -94
- package/src/ui/hooks/useOnlineStatus.ts +7 -11
- package/src/ui/hooks/useProfileEditing.ts +3 -3
- package/src/ui/hooks/useResolvedFileUrls.ts +19 -82
- package/src/ui/hooks/useSessionManagement.ts +8 -93
- package/src/ui/icons/subsetGlyphMaps.ts +0 -9
- package/src/ui/index.ts +2 -8
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +1 -1
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +16 -16
- package/src/ui/navigation/surfaceNavStack.ts +52 -23
- package/src/ui/runtime/activeRuntime.ts +29 -0
- package/src/ui/runtime/createOxyRuntime.ts +1 -13
- package/src/ui/screens/AccountMembersScreen.tsx +196 -209
- package/src/ui/screens/AccountVerificationScreen.tsx +46 -11
- package/src/ui/screens/AppInfoScreen.tsx +6 -2
- package/src/ui/screens/AvatarCropScreen.tsx +39 -71
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -3
- package/src/ui/screens/ConnectedAppsScreen.tsx +30 -16
- package/src/ui/screens/CreateAccountScreen.tsx +38 -14
- package/src/ui/screens/DomainsScreen.tsx +94 -62
- package/src/ui/screens/EditProfileFieldScreen.tsx +12 -5
- package/src/ui/screens/EditProfileScreen.tsx +6 -2
- package/src/ui/screens/FileManagementScreen.tsx +130 -122
- package/src/ui/screens/FileTrashScreen.tsx +42 -40
- package/src/ui/screens/HelpSupportScreen.tsx +6 -2
- package/src/ui/screens/HistoryViewScreen.tsx +9 -4
- package/src/ui/screens/LanguageSelectorScreen.tsx +22 -9
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +24 -10
- package/src/ui/screens/LegalDocumentsScreen.tsx +6 -2
- package/src/ui/screens/ManageAccountScreen.tsx +18 -9
- package/src/ui/screens/NotificationsScreen.tsx +8 -4
- package/src/ui/screens/PaymentGatewayScreen.tsx +20 -4
- package/src/ui/screens/PreferencesScreen.tsx +10 -6
- package/src/ui/screens/PrivacySettingsScreen.tsx +32 -61
- package/src/ui/screens/ProfileLinkForm.tsx +10 -4
- package/src/ui/screens/ProfileScreen.tsx +48 -65
- package/src/ui/screens/ReportBugScreen.tsx +9 -2
- package/src/ui/screens/SearchSettingsScreen.tsx +12 -5
- package/src/ui/screens/SignInSecurityScreen.tsx +6 -2
- package/src/ui/screens/SupervisionScreen.tsx +106 -142
- package/src/ui/screens/UserListScreen.tsx +24 -10
- package/src/ui/screens/WelcomeNewUserScreen.tsx +12 -11
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +10 -14
- package/src/ui/screens/fileManagement/FileListSection.tsx +24 -15
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +68 -24
- package/src/ui/screens/fileManagement/UploadBar.tsx +17 -12
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +17 -15
- package/src/ui/screens/trust/TrustAboutScreen.tsx +26 -9
- package/src/ui/screens/trust/TrustCenterScreen.tsx +46 -36
- package/src/ui/screens/trust/TrustFAQScreen.tsx +13 -4
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +25 -13
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +72 -46
- package/src/ui/screens/trust/TrustRulesScreen.tsx +23 -16
- package/src/ui/server.ts +0 -3
- package/src/ui/types/navigation.ts +0 -13
- package/src/ui/utils/netConnectivity.ts +9 -18
- package/src/ui/utils/storageHelpers.ts +6 -76
- package/lib/commonjs/ui/hooks/accountQueryPersistence.js +0 -249
- package/lib/commonjs/ui/hooks/accountQueryPersistence.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -183
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -44
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/persistedQueryCache.js +0 -219
- package/lib/commonjs/ui/hooks/persistedQueryCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -249
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/commonjs/ui/hooks/queryClient.js +0 -216
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +0 -252
- package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/authStore.js +0 -169
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -566
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followTargetStore.js +0 -162
- package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +0 -43
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/persistedDataVersion.js +0 -16
- package/lib/commonjs/ui/utils/persistedDataVersion.js.map +0 -1
- package/lib/module/ui/hooks/accountQueryPersistence.js +0 -244
- package/lib/module/ui/hooks/accountQueryPersistence.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -179
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -40
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/module/ui/hooks/persistedQueryCache.js +0 -209
- package/lib/module/ui/hooks/persistedQueryCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -234
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/module/ui/hooks/queryClient.js +0 -207
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -15
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +0 -239
- package/lib/module/ui/stores/assetStore.js.map +0 -1
- package/lib/module/ui/stores/authStore.js +0 -165
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -561
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/stores/followTargetStore.js +0 -152
- package/lib/module/ui/stores/followTargetStore.js.map +0 -1
- package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -40
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/persistedDataVersion.js +0 -12
- package/lib/module/ui/utils/persistedDataVersion.js.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts +0 -145
- package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -90
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -33
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts +0 -98
- package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -162
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -76
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -61
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -61
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -32
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -88
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -16
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/persistedDataVersion.d.ts +0 -10
- package/lib/typescript/commonjs/ui/utils/persistedDataVersion.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts +0 -145
- package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -90
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -33
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts +0 -98
- package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -162
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -76
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -61
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts +0 -61
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts +0 -32
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -88
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -16
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/persistedDataVersion.d.ts +0 -10
- package/lib/typescript/module/ui/utils/persistedDataVersion.d.ts.map +0 -1
- package/lib/typescript/nativewind-env.d.ts +0 -1
- package/lib/typescript/types/react-native-classname.d.ts +0 -39
- package/src/nativewind-env.d.ts +0 -1
- package/src/types/react-native-classname.d.ts +0 -39
- package/src/ui/hooks/accountQueryPersistence.ts +0 -407
- package/src/ui/hooks/mutations/mutationFactory.ts +0 -234
- package/src/ui/hooks/mutations/mutationKeys.ts +0 -44
- package/src/ui/hooks/persistedQueryCache.ts +0 -293
- package/src/ui/hooks/queries/__tests__/fileQueries.test.ts +0 -70
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +0 -482
- package/src/ui/hooks/queries/queryKeys.ts +0 -252
- package/src/ui/hooks/queries/userCacheRelationship.ts +0 -33
- package/src/ui/hooks/queryClient.ts +0 -240
- package/src/ui/hooks/useQueryClient.ts +0 -16
- package/src/ui/stores/__tests__/followStore.test.ts +0 -254
- package/src/ui/stores/__tests__/resetSessionScopedStores.test.ts +0 -23
- package/src/ui/stores/assetStore.ts +0 -309
- package/src/ui/stores/authStore.ts +0 -191
- package/src/ui/stores/followStore.ts +0 -499
- package/src/ui/stores/followTargetStore.ts +0 -165
- package/src/ui/stores/resetSessionScopedStores.ts +0 -15
- package/src/ui/utils/avatarUtils.ts +0 -57
- package/src/ui/utils/persistedDataVersion.ts +0 -9
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { SpinnerIcon } from '@oxy.so/bloom/loading';
|
|
4
4
|
import { useCallback, useState } from 'react';
|
|
5
|
-
import { View } from 'react-native
|
|
5
|
+
import { View } from 'react-native';
|
|
6
6
|
import Animated, { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
|
|
7
7
|
import MaterialCommunityIcons from "../../icons/MaterialCommunityIcons.js";
|
|
8
8
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
@@ -18,6 +18,7 @@ import LogoIcon from "../logo/LogoIcon.js";
|
|
|
18
18
|
import { authChooserStyles as styles } from "./styles.js";
|
|
19
19
|
import { accountStorageUsage, formatStorageSize, shouldShowStorageActions } from "./storageUsage.js";
|
|
20
20
|
import { resolveAccentHex } from "./types.js";
|
|
21
|
+
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
21
22
|
|
|
22
23
|
/** Duration of the disclosure chevron rotation. */
|
|
23
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -41,6 +42,7 @@ const AccountsMenuView = ({
|
|
|
41
42
|
storage,
|
|
42
43
|
menu
|
|
43
44
|
}) => {
|
|
45
|
+
const themed = useThemedStyles();
|
|
44
46
|
const [expanded, setExpanded] = useState(false);
|
|
45
47
|
const [summaryHovered, setSummaryHovered] = useState(false);
|
|
46
48
|
// Bloom owns the grouped surface; the dialog owns measured size transitions.
|
|
@@ -111,7 +113,7 @@ const AccountsMenuView = ({
|
|
|
111
113
|
size: HERO_AVATAR_SIZE
|
|
112
114
|
}), /*#__PURE__*/_jsx(AvatarCameraBadge, {})]
|
|
113
115
|
}) : null, /*#__PURE__*/_jsxs(PressableScale, {
|
|
114
|
-
|
|
116
|
+
style: [themed.switchTrigger, busy ? themed.busy : null],
|
|
115
117
|
onPress: toggleExpanded,
|
|
116
118
|
disabled: busy,
|
|
117
119
|
accessibilityRole: "button",
|
|
@@ -179,11 +181,11 @@ const AccountsMenuView = ({
|
|
|
179
181
|
freeSpace: t('accountMenu.storage.free')
|
|
180
182
|
},
|
|
181
183
|
fallback: /*#__PURE__*/_jsx(Text, {
|
|
182
|
-
|
|
184
|
+
style: themed.mutedText,
|
|
183
185
|
children: t('accountMenu.storage.unavailable')
|
|
184
186
|
}),
|
|
185
187
|
footer: shouldShowStorageActions(storage) ? /*#__PURE__*/_jsxs(View, {
|
|
186
|
-
|
|
188
|
+
style: themed.row,
|
|
187
189
|
children: [/*#__PURE__*/_jsx(StorageChip, {
|
|
188
190
|
label: t('accountMenu.storage.getStorage'),
|
|
189
191
|
onPress: menu.onUpgradeStorage
|
|
@@ -255,7 +257,7 @@ const AccountsMenuView = ({
|
|
|
255
257
|
showChevron: false
|
|
256
258
|
})]
|
|
257
259
|
}), /*#__PURE__*/_jsxs(View, {
|
|
258
|
-
|
|
260
|
+
style: themed.row2,
|
|
259
261
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
260
262
|
appearance: "plain",
|
|
261
263
|
size: "sm",
|
|
@@ -263,7 +265,7 @@ const AccountsMenuView = ({
|
|
|
263
265
|
onPress: menu.onPrivacy,
|
|
264
266
|
children: t('accountMenu.privacy')
|
|
265
267
|
}), /*#__PURE__*/_jsx(Text, {
|
|
266
|
-
|
|
268
|
+
style: themed.mutedText,
|
|
267
269
|
children: "\xB7"
|
|
268
270
|
}), /*#__PURE__*/_jsx(Button, {
|
|
269
271
|
appearance: "plain",
|
|
@@ -293,24 +295,25 @@ const PrincipalHeaderRow = ({
|
|
|
293
295
|
theme,
|
|
294
296
|
t
|
|
295
297
|
}) => {
|
|
298
|
+
const themed = useThemedStyles();
|
|
296
299
|
const signOutLabel = t('accountSwitcher.principal.signOut', {
|
|
297
300
|
name: principal.displayName
|
|
298
301
|
});
|
|
299
302
|
return /*#__PURE__*/_jsxs(View, {
|
|
300
|
-
|
|
303
|
+
style: themed.row3,
|
|
301
304
|
children: [/*#__PURE__*/_jsx(Avatar, {
|
|
302
305
|
source: principal.avatarUrl ?? undefined,
|
|
303
306
|
variant: "thumb",
|
|
304
307
|
name: principal.displayName,
|
|
305
308
|
size: PRINCIPAL_AVATAR_SIZE
|
|
306
309
|
}), /*#__PURE__*/_jsxs(View, {
|
|
307
|
-
|
|
310
|
+
style: themed.container,
|
|
308
311
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
309
|
-
|
|
312
|
+
style: themed.title,
|
|
310
313
|
numberOfLines: 1,
|
|
311
314
|
children: principal.displayName
|
|
312
315
|
}), principal.handle ? /*#__PURE__*/_jsx(Text, {
|
|
313
|
-
|
|
316
|
+
style: themed.mutedText2,
|
|
314
317
|
numberOfLines: 1,
|
|
315
318
|
children: `@${principal.handle}`
|
|
316
319
|
}) : null]
|
|
@@ -349,6 +352,7 @@ const ContextRow = ({
|
|
|
349
352
|
theme,
|
|
350
353
|
t
|
|
351
354
|
}) => {
|
|
355
|
+
const themed = useThemedStyles();
|
|
352
356
|
const unavailable = !context.canActivate;
|
|
353
357
|
const rowDisabled = disabled || unavailable;
|
|
354
358
|
const removeLabel = t('accountSwitcher.context.remove', {
|
|
@@ -356,9 +360,9 @@ const ContextRow = ({
|
|
|
356
360
|
person: principalName
|
|
357
361
|
});
|
|
358
362
|
return /*#__PURE__*/_jsxs(View, {
|
|
359
|
-
|
|
363
|
+
style: themed.row4,
|
|
360
364
|
children: [/*#__PURE__*/_jsx(View, {
|
|
361
|
-
|
|
365
|
+
style: themed.container,
|
|
362
366
|
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
363
367
|
title: context.displayName,
|
|
364
368
|
description: unavailable ? t('accountSwitcher.context.unavailable') : context.handle ? `@${context.handle}` : undefined,
|
|
@@ -444,4 +448,66 @@ const StorageChip = ({
|
|
|
444
448
|
children: label
|
|
445
449
|
});
|
|
446
450
|
export default AccountsMenuView;
|
|
451
|
+
const useThemedStyles = createTokenStyles(t => ({
|
|
452
|
+
mutedText: {
|
|
453
|
+
color: t.mutedForeground,
|
|
454
|
+
lineHeight: 18,
|
|
455
|
+
fontWeight: 400
|
|
456
|
+
},
|
|
457
|
+
row: {
|
|
458
|
+
flexDirection: 'row',
|
|
459
|
+
justifyContent: 'flex-end',
|
|
460
|
+
gap: 8
|
|
461
|
+
},
|
|
462
|
+
row2: {
|
|
463
|
+
flexDirection: 'row',
|
|
464
|
+
alignItems: 'center',
|
|
465
|
+
justifyContent: 'center',
|
|
466
|
+
gap: 12,
|
|
467
|
+
paddingHorizontal: 12,
|
|
468
|
+
paddingTop: 12,
|
|
469
|
+
paddingBottom: 8
|
|
470
|
+
},
|
|
471
|
+
row3: {
|
|
472
|
+
flexDirection: 'row',
|
|
473
|
+
alignItems: 'center',
|
|
474
|
+
gap: 12,
|
|
475
|
+
paddingHorizontal: 12,
|
|
476
|
+
paddingTop: 12,
|
|
477
|
+
paddingBottom: 8
|
|
478
|
+
},
|
|
479
|
+
container: {
|
|
480
|
+
minWidth: 0,
|
|
481
|
+
flexGrow: 1,
|
|
482
|
+
flexShrink: 1,
|
|
483
|
+
flexBasis: '0%'
|
|
484
|
+
},
|
|
485
|
+
title: {
|
|
486
|
+
fontWeight: 600,
|
|
487
|
+
color: t.foreground,
|
|
488
|
+
lineHeight: 14
|
|
489
|
+
},
|
|
490
|
+
mutedText2: {
|
|
491
|
+
color: t.mutedForeground,
|
|
492
|
+
lineHeight: 14,
|
|
493
|
+
fontWeight: 400
|
|
494
|
+
},
|
|
495
|
+
row4: {
|
|
496
|
+
flexDirection: 'row',
|
|
497
|
+
alignItems: 'center'
|
|
498
|
+
},
|
|
499
|
+
switchTrigger: {
|
|
500
|
+
flexGrow: 1,
|
|
501
|
+
flexShrink: 1,
|
|
502
|
+
flexBasis: '0%',
|
|
503
|
+
minWidth: 0,
|
|
504
|
+
flexDirection: 'row',
|
|
505
|
+
alignItems: 'center',
|
|
506
|
+
gap: 12,
|
|
507
|
+
paddingVertical: 12
|
|
508
|
+
},
|
|
509
|
+
busy: {
|
|
510
|
+
opacity: 0.6
|
|
511
|
+
}
|
|
512
|
+
}));
|
|
447
513
|
//# sourceMappingURL=AccountsMenuView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SpinnerIcon","useCallback","useState","View","Animated","useAnimatedStyle","useSharedValue","withTiming","MaterialCommunityIcons","Avatar","Button","RiSparklingFill","PressableScale","UsageCard","GroupedSection","GroupedSectionItem","GroupedSectionCollapse","GroupedSectionIcon","Text","showsPrincipalHeaders","AvatarCameraBadge","LogoIcon","authChooserStyles","styles","accountStorageUsage","formatStorageSize","shouldShowStorageActions","resolveAccentHex","jsx","_jsx","jsxs","_jsxs","SWITCH_REVEAL_MS","SWITCH_AVATAR_SIZE","PRINCIPAL_AVATAR_SIZE","HERO_AVATAR_SIZE","AccountsMenuView","snapshot","principals","hero","theme","t","handlers","storage","menu","expanded","setExpanded","summaryHovered","setSummaryHovered","listProgress","chevronStyle","transform","rotate","value","toggleExpanded","next","duration","busy","activatingContextId","removingContextId","removingPrincipalId","showPrincipalHeaders","listItems","flatMap","principal","PrincipalHeaderRow","removing","principalId","disabled","onSignOut","onRemovePrincipal","contexts","filter","context","isActive","map","ContextRow","principalName","displayName","accent","color","colors","primary","activating","contextId","onActivate","onRemove","onRemoveContext","manageLabel","switchLabel","children","style","menuGroup","testID","onPointerEnter","onPointerLeave","accountSummary","backgroundColor","contrast50","onPress","onEditAvatar","accessibilityRole","accessibilityLabel","accountAvatar","source","avatarUrl","undefined","name","size","className","accountIdentity","accountName","text","numberOfLines","addressLine","accountAddress","textSecondary","chevronCircle","open","AccountAffordanceRow","icon","label","onAdd","height","title","onManage","showChevron","usage","formatValue","labels","freeSpace","fallback","footer","StorageChip","onUpgradeStorage","onManageStorage","fill","width","plan","description","onOpenPlan","sections","section","items","item","MenuIcon","badge","key","onOpenData","tone","onOpenSettings","onHelp","appearance","linkTone","onPrivacy","onTerms","signOutLabel","variant","handle","loading","unavailable","canActivate","rowDisabled","removeLabel","account","person","accessibilityState","selected","rightElement","iconOnly"],"sourceRoot":"../../../../../src","sources":["ui/components/authChooser/AccountsMenuView.tsx"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,uBAAuB;AAEnD,SAASC,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAC7C,SAASC,IAAI,QAAQ,6BAA6B;AAClD,OAAOC,QAAQ,IAAIC,gBAAgB,EAAEC,cAAc,EAAEC,UAAU,QAAQ,yBAAyB;AAChG,OAAOC,sBAAsB,MAAM,uCAAoC;AACvE,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,eAAe,QAAQ,qCAAqC;AACrE,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,SAAS,QAAQ,0BAA0B;AACpD,SACEC,cAAc,EACdC,kBAAkB,EAClBC,sBAAsB,EACtBC,kBAAkB,QACb,+BAA+B;AACtC,SAASC,IAAI,QAAQ,0BAA0B;AAC/C,SACEC,qBAAqB,QAIhB,sBAAsB;AAC7B,OAAOC,iBAAiB,MAAM,yBAAsB;AACpD,OAAOC,QAAQ,MAAM,qBAAkB;AACvC,SAASC,iBAAiB,IAAIC,MAAM,QAAQ,aAAU;AACtD,SAASC,mBAAmB,EAAEC,iBAAiB,EAAEC,wBAAwB,QAAQ,mBAAgB;AACjG,SACEC,gBAAgB,QAOX,YAAS;;AAEhB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,gBAAgB,GAAG,GAAG;AAC5B;AACA,MAAMC,kBAAkB,GAAG,EAAE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C;EAAEZ,KAAK;EAAEtB;AAAQ,CAAC,kBACvFtE,IAAA,CAACnB,MAAM;EAAC8I,UAAU,EAAC,OAAO;EAAC5C,IAAI,EAAC,IAAI;EAACT,OAAO,EAAEA,OAAQ;EAACG,kBAAkB,EAAEmB,KAAM;EAAA/B,QAAA,EAC9E+B;AAAK,CACA,CACT;AAED,eAAerF,gBAAgB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["SpinnerIcon","useCallback","useState","View","Animated","useAnimatedStyle","useSharedValue","withTiming","MaterialCommunityIcons","Avatar","Button","RiSparklingFill","PressableScale","UsageCard","GroupedSection","GroupedSectionItem","GroupedSectionCollapse","GroupedSectionIcon","Text","showsPrincipalHeaders","AvatarCameraBadge","LogoIcon","authChooserStyles","styles","accountStorageUsage","formatStorageSize","shouldShowStorageActions","resolveAccentHex","createTokenStyles","jsx","_jsx","jsxs","_jsxs","SWITCH_REVEAL_MS","SWITCH_AVATAR_SIZE","PRINCIPAL_AVATAR_SIZE","HERO_AVATAR_SIZE","AccountsMenuView","snapshot","principals","hero","theme","t","handlers","storage","menu","themed","useThemedStyles","expanded","setExpanded","summaryHovered","setSummaryHovered","listProgress","chevronStyle","transform","rotate","value","toggleExpanded","next","duration","busy","activatingContextId","removingContextId","removingPrincipalId","showPrincipalHeaders","listItems","flatMap","principal","PrincipalHeaderRow","removing","principalId","disabled","onSignOut","onRemovePrincipal","contexts","filter","context","isActive","map","ContextRow","principalName","displayName","accent","color","colors","primary","activating","contextId","onActivate","onRemove","onRemoveContext","manageLabel","switchLabel","children","style","menuGroup","testID","onPointerEnter","onPointerLeave","accountSummary","backgroundColor","contrast50","onPress","onEditAvatar","accessibilityRole","accessibilityLabel","accountAvatar","source","avatarUrl","undefined","name","size","switchTrigger","accountIdentity","accountName","text","numberOfLines","addressLine","accountAddress","textSecondary","chevronCircle","open","AccountAffordanceRow","icon","label","onAdd","height","title","onManage","showChevron","usage","formatValue","labels","freeSpace","fallback","mutedText","footer","row","StorageChip","onUpgradeStorage","onManageStorage","fill","width","plan","description","onOpenPlan","sections","section","items","item","MenuIcon","badge","key","onOpenData","tone","onOpenSettings","onHelp","row2","appearance","linkTone","onPrivacy","onTerms","signOutLabel","row3","variant","container","handle","mutedText2","loading","unavailable","canActivate","rowDisabled","removeLabel","account","person","row4","accessibilityState","selected","rightElement","iconOnly","mutedForeground","lineHeight","fontWeight","flexDirection","justifyContent","gap","alignItems","paddingHorizontal","paddingTop","paddingBottom","minWidth","flexGrow","flexShrink","flexBasis","foreground","paddingVertical","opacity"],"sourceRoot":"../../../../../src","sources":["ui/components/authChooser/AccountsMenuView.tsx"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,uBAAuB;AAEnD,SAASC,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAC7C,SAASC,IAAI,QAAQ,cAAc;AACnC,OAAOC,QAAQ,IAAIC,gBAAgB,EAAEC,cAAc,EAAEC,UAAU,QAAQ,yBAAyB;AAChG,OAAOC,sBAAsB,MAAM,uCAAoC;AACvE,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,eAAe,QAAQ,qCAAqC;AACrE,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,SAAS,QAAQ,0BAA0B;AACpD,SACEC,cAAc,EACdC,kBAAkB,EAClBC,sBAAsB,EACtBC,kBAAkB,QACb,+BAA+B;AACtC,SAASC,IAAI,QAAQ,0BAA0B;AAC/C,SACEC,qBAAqB,QAIhB,sBAAsB;AAC7B,OAAOC,iBAAiB,MAAM,yBAAsB;AACpD,OAAOC,QAAQ,MAAM,qBAAkB;AACvC,SAASC,iBAAiB,IAAIC,MAAM,QAAQ,aAAU;AACtD,SAASC,mBAAmB,EAAEC,iBAAiB,EAAEC,wBAAwB,QAAQ,mBAAgB;AACjG,SACEC,gBAAgB,QAOX,YAAS;AAChB,SAASC,iBAAiB,QAAQ,qBAAqB;;AAEvD;AAAA,SAAAC,GAAA,IAAAC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,QAAQ;IACpBD,GAAG,EAAE,EAAE;IACPE,iBAAiB,EAAE,EAAE;IACrBC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB,CAAC;EACDxB,SAAS,EAAE;IAAEyB,QAAQ,EAAE,CAAC;IAAEC,QAAQ,EAAE,CAAC;IAAEC,UAAU,EAAE,CAAC;IAAEC,SAAS,EAAE;EAAK,CAAC;EACvElE,KAAK,EAAE;IAAEuD,UAAU,EAAE,GAAG;IAAEnG,KAAK,EAAEzC,CAAC,CAACwJ,UAAU;IAAEb,UAAU,EAAE;EAAG,CAAC;EAC/Dd,UAAU,EAAE;IAAEpF,KAAK,EAAEzC,CAAC,CAAC0I,eAAe;IAAEC,UAAU,EAAE,EAAE;IAAEC,UAAU,EAAE;EAAI,CAAC;EACzEP,IAAI,EAAE;IAAEQ,aAAa,EAAE,KAAK;IAAEG,UAAU,EAAE;EAAS,CAAC;EACpD1E,aAAa,EAAE;IACb+E,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE,IAAI;IACfH,QAAQ,EAAE,CAAC;IACXP,aAAa,EAAE,KAAK;IACpBG,UAAU,EAAE,QAAQ;IACpBD,GAAG,EAAE,EAAE;IACPU,eAAe,EAAE;EACnB,CAAC;EACDvI,IAAI,EAAE;IAAEwI,OAAO,EAAE;EAAI;AACvB,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,8 +10,8 @@ import { useTheme } from '@oxy.so/bloom/theme';
|
|
|
10
10
|
import { toast } from '@oxy.so/bloom/toast';
|
|
11
11
|
import { Text } from '@oxy.so/bloom/typography';
|
|
12
12
|
import { useI18n } from "../../hooks/useI18n.js";
|
|
13
|
-
import { useFileAppAccess } from "../../hooks/queries/useFileQueries.js";
|
|
14
|
-
import {
|
|
13
|
+
import { useFileAppAccess, useRevokeFileAppAccess } from "../../hooks/queries/useFileQueries.js";
|
|
14
|
+
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
const APP_ICON_SIZE = 32;
|
|
17
17
|
/**
|
|
@@ -25,17 +25,17 @@ const APP_ICON_SIZE = 32;
|
|
|
25
25
|
export const FileAppAccessSection = ({
|
|
26
26
|
fileId
|
|
27
27
|
}) => {
|
|
28
|
+
const styles = useStyles();
|
|
28
29
|
const {
|
|
29
30
|
t
|
|
30
31
|
} = useI18n();
|
|
31
32
|
const {
|
|
32
33
|
colors
|
|
33
34
|
} = useTheme();
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} = useFileAppAccess(fileId);
|
|
35
|
+
const access = useFileAppAccess(fileId);
|
|
36
|
+
const apps = access.value?.apps;
|
|
37
|
+
const isLoading = access.isLoading;
|
|
38
|
+
const isError = access.status === 'error';
|
|
39
39
|
const revoke = useRevokeFileAppAccess();
|
|
40
40
|
const [revokingId, setRevokingId] = useState(null);
|
|
41
41
|
const confirmRevoke = useCallback(async app => {
|
|
@@ -53,7 +53,7 @@ export const FileAppAccessSection = ({
|
|
|
53
53
|
if (!confirmed) return;
|
|
54
54
|
setRevokingId(app.applicationId);
|
|
55
55
|
try {
|
|
56
|
-
await revoke.
|
|
56
|
+
await revoke.run({
|
|
57
57
|
fileId,
|
|
58
58
|
applicationId: app.applicationId
|
|
59
59
|
});
|
|
@@ -70,20 +70,20 @@ export const FileAppAccessSection = ({
|
|
|
70
70
|
}, [fileId, revoke, t]);
|
|
71
71
|
const viaText = app => app.via.map(via => t(`fileManagement.appAccess.via.${via}`)).join(' · ');
|
|
72
72
|
return /*#__PURE__*/_jsxs(View, {
|
|
73
|
-
|
|
73
|
+
style: styles.container,
|
|
74
74
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
75
|
-
|
|
75
|
+
style: styles.title,
|
|
76
76
|
children: t('fileManagement.appAccess.title')
|
|
77
77
|
}), /*#__PURE__*/_jsx(Text, {
|
|
78
|
-
|
|
78
|
+
style: styles.mutedText,
|
|
79
79
|
children: t('fileManagement.appAccess.description')
|
|
80
80
|
}), isLoading ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
81
81
|
color: colors.primary
|
|
82
82
|
}) : isError ? /*#__PURE__*/_jsx(Text, {
|
|
83
|
-
|
|
83
|
+
style: styles.mutedText2,
|
|
84
84
|
children: t('fileManagement.appAccess.loadError')
|
|
85
85
|
}) : !apps || apps.length === 0 ? /*#__PURE__*/_jsx(Text, {
|
|
86
|
-
|
|
86
|
+
style: styles.mutedText2,
|
|
87
87
|
children: t('fileManagement.appAccess.empty')
|
|
88
88
|
}) : /*#__PURE__*/_jsx(GroupedSection, {
|
|
89
89
|
children: apps.map(app => /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
@@ -113,4 +113,25 @@ export const FileAppAccessSection = ({
|
|
|
113
113
|
})]
|
|
114
114
|
});
|
|
115
115
|
};
|
|
116
|
+
const useStyles = createTokenStyles(t => ({
|
|
117
|
+
container: {
|
|
118
|
+
marginBottom: 24,
|
|
119
|
+
width: '100%'
|
|
120
|
+
},
|
|
121
|
+
title: {
|
|
122
|
+
marginBottom: 4,
|
|
123
|
+
fontSize: 16,
|
|
124
|
+
fontWeight: 600,
|
|
125
|
+
color: t.foreground
|
|
126
|
+
},
|
|
127
|
+
mutedText: {
|
|
128
|
+
marginBottom: 12,
|
|
129
|
+
fontSize: 14,
|
|
130
|
+
color: t.mutedForeground
|
|
131
|
+
},
|
|
132
|
+
mutedText2: {
|
|
133
|
+
fontSize: 14,
|
|
134
|
+
color: t.mutedForeground
|
|
135
|
+
}
|
|
136
|
+
}));
|
|
116
137
|
//# sourceMappingURL=FileAppAccessSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useState","ActivityIndicator","View","Avatar","Button","GroupedSection","GroupedSectionItem","surfaces","useTheme","toast","Text","useI18n","useFileAppAccess","useRevokeFileAppAccess","jsx","_jsx","jsxs","_jsxs","APP_ICON_SIZE","FileAppAccessSection","fileId","t","colors","
|
|
1
|
+
{"version":3,"names":["useCallback","useState","ActivityIndicator","View","Avatar","Button","GroupedSection","GroupedSectionItem","surfaces","useTheme","toast","Text","useI18n","useFileAppAccess","useRevokeFileAppAccess","createTokenStyles","jsx","_jsx","jsxs","_jsxs","APP_ICON_SIZE","FileAppAccessSection","fileId","styles","useStyles","t","colors","access","apps","value","isLoading","isError","status","revoke","revokingId","setRevokingId","confirmRevoke","app","confirmed","confirm","title","name","description","confirmLabel","cancelLabel","destructive","applicationId","run","success","error","viaText","via","map","join","style","container","children","mutedText","color","primary","mutedText2","length","icon","source","size","showChevron","rightElement","appearance","tone","loading","disabled","accessibilityLabel","onPress","marginBottom","width","fontSize","fontWeight","foreground","mutedForeground"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/FileAppAccessSection.tsx"],"mappings":";;AACA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAC7C,SAASC,iBAAiB,EAAEC,IAAI,QAAQ,cAAc;AACtD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,cAAc,EAAEC,kBAAkB,QAAQ,+BAA+B;AAClF,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,IAAI,QAAQ,0BAA0B;AAE/C,SAASC,OAAO,QAAQ,wBAAqB;AAC7C,SAASC,gBAAgB,EAAEC,sBAAsB,QAAQ,uCAAoC;AAC7F,SAASC,iBAAiB,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAExD,MAAMC,aAAa,GAAG,EAAE;AAMxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAyD,GAAGA,CAAC;EAAEC;AAAO,CAAC,KAAK;EACvF,MAAMC,MAAM,GAAGC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,EAAE,EAAE;IAAEE,QAAQ,EAAE,EAAE;IAAEjB,KAAK,EAAEjC,CAAC,CAACqD;EAAgB,CAAC;EACvElB,UAAU,EAAE;IAAEe,QAAQ,EAAE,EAAE;IAAEjB,KAAK,EAAEjC,CAAC,CAACqD;EAAgB;AACvD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ import { surfaces } from '@oxy.so/bloom/surfaces';
|
|
|
10
10
|
import { useI18n } from "../../hooks/useI18n.js";
|
|
11
11
|
import { formatFileSize, getFileIcon } from "../../utils/fileManagement.js";
|
|
12
12
|
import { FileAppAccessSection } from "./FileAppAccessSection.js";
|
|
13
|
+
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
/**
|
|
15
16
|
* File-detail panel — a rich presented surface (NOT a yes/no confirm): a file's
|
|
@@ -25,6 +26,7 @@ export const FileDetailsModal = ({
|
|
|
25
26
|
onDelete,
|
|
26
27
|
isOwner
|
|
27
28
|
}) => {
|
|
29
|
+
const styles = useStyles();
|
|
28
30
|
const {
|
|
29
31
|
t
|
|
30
32
|
} = useI18n();
|
|
@@ -34,53 +36,53 @@ export const FileDetailsModal = ({
|
|
|
34
36
|
return /*#__PURE__*/_jsxs(View, {
|
|
35
37
|
children: [/*#__PURE__*/_jsxs(Card, {
|
|
36
38
|
appearance: "subtle",
|
|
37
|
-
|
|
39
|
+
style: styles.card,
|
|
38
40
|
children: [/*#__PURE__*/_jsx(View, {
|
|
39
|
-
|
|
41
|
+
style: styles.section,
|
|
40
42
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
41
43
|
name: getFileIcon(file.contentType),
|
|
42
44
|
size: 64,
|
|
43
45
|
color: colors.primary
|
|
44
46
|
})
|
|
45
47
|
}), /*#__PURE__*/_jsx(Text, {
|
|
46
|
-
|
|
48
|
+
style: styles.title,
|
|
47
49
|
children: file.filename
|
|
48
50
|
}), /*#__PURE__*/_jsxs(View, {
|
|
49
|
-
|
|
51
|
+
style: styles.container,
|
|
50
52
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
51
|
-
|
|
53
|
+
style: styles.row,
|
|
52
54
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
53
|
-
|
|
55
|
+
style: styles.mutedText,
|
|
54
56
|
children: [t('fileManagement.size'), ":"]
|
|
55
57
|
}), /*#__PURE__*/_jsx(Text, {
|
|
56
|
-
|
|
58
|
+
style: styles.text,
|
|
57
59
|
children: formatFileSize(file.length)
|
|
58
60
|
})]
|
|
59
61
|
}), /*#__PURE__*/_jsxs(View, {
|
|
60
|
-
|
|
62
|
+
style: styles.row,
|
|
61
63
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
62
|
-
|
|
64
|
+
style: styles.mutedText,
|
|
63
65
|
children: [t('fileManagement.details.type'), ":"]
|
|
64
66
|
}), /*#__PURE__*/_jsx(Text, {
|
|
65
|
-
|
|
67
|
+
style: styles.text,
|
|
66
68
|
children: file.contentType
|
|
67
69
|
})]
|
|
68
70
|
}), /*#__PURE__*/_jsxs(View, {
|
|
69
|
-
|
|
71
|
+
style: styles.row,
|
|
70
72
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
71
|
-
|
|
73
|
+
style: styles.mutedText,
|
|
72
74
|
children: [t('fileManagement.details.uploaded'), ":"]
|
|
73
75
|
}), /*#__PURE__*/_jsx(Text, {
|
|
74
|
-
|
|
76
|
+
style: styles.text,
|
|
75
77
|
children: new Date(file.uploadDate).toLocaleString()
|
|
76
78
|
})]
|
|
77
79
|
}), file.metadata?.description && /*#__PURE__*/_jsxs(View, {
|
|
78
|
-
|
|
80
|
+
style: styles.row,
|
|
79
81
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
80
|
-
|
|
82
|
+
style: styles.mutedText,
|
|
81
83
|
children: [t('fileManagement.details.description'), ":"]
|
|
82
84
|
}), /*#__PURE__*/_jsx(Text, {
|
|
83
|
-
|
|
85
|
+
style: styles.text,
|
|
84
86
|
children: file.metadata.description
|
|
85
87
|
})]
|
|
86
88
|
})]
|
|
@@ -126,4 +128,48 @@ export function presentFileDetails(options) {
|
|
|
126
128
|
...options
|
|
127
129
|
}));
|
|
128
130
|
}
|
|
131
|
+
const useStyles = createTokenStyles(t => ({
|
|
132
|
+
card: {
|
|
133
|
+
alignItems: 'center',
|
|
134
|
+
padding: 18
|
|
135
|
+
},
|
|
136
|
+
section: {
|
|
137
|
+
marginBottom: 16
|
|
138
|
+
},
|
|
139
|
+
title: {
|
|
140
|
+
marginBottom: 24,
|
|
141
|
+
textAlign: 'center',
|
|
142
|
+
fontSize: 20,
|
|
143
|
+
fontWeight: 700,
|
|
144
|
+
color: t.foreground
|
|
145
|
+
},
|
|
146
|
+
container: {
|
|
147
|
+
marginBottom: 32,
|
|
148
|
+
width: '100%'
|
|
149
|
+
},
|
|
150
|
+
row: {
|
|
151
|
+
marginBottom: 12,
|
|
152
|
+
flexDirection: 'row',
|
|
153
|
+
flexWrap: 'wrap',
|
|
154
|
+
alignItems: 'flex-start',
|
|
155
|
+
justifyContent: 'space-between'
|
|
156
|
+
},
|
|
157
|
+
mutedText: {
|
|
158
|
+
minWidth: 100,
|
|
159
|
+
flexGrow: 1,
|
|
160
|
+
flexShrink: 1,
|
|
161
|
+
flexBasis: '0%',
|
|
162
|
+
fontSize: 16,
|
|
163
|
+
fontWeight: 500,
|
|
164
|
+
color: t.mutedForeground
|
|
165
|
+
},
|
|
166
|
+
text: {
|
|
167
|
+
flexGrow: 2,
|
|
168
|
+
flexShrink: 1,
|
|
169
|
+
flexBasis: '0%',
|
|
170
|
+
textAlign: 'right',
|
|
171
|
+
fontSize: 16,
|
|
172
|
+
color: t.foreground
|
|
173
|
+
}
|
|
174
|
+
}));
|
|
129
175
|
//# sourceMappingURL=FileDetailsModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Card","Text","Ionicons","Button","useTheme","surfaces","useI18n","formatFileSize","getFileIcon","FileAppAccessSection","jsx","_jsx","jsxs","_jsxs","FileDetailsModal","surface","file","onDownload","onDelete","isOwner","t","colors","children","appearance","
|
|
1
|
+
{"version":3,"names":["View","Card","Text","Ionicons","Button","useTheme","surfaces","useI18n","formatFileSize","getFileIcon","FileAppAccessSection","createTokenStyles","jsx","_jsx","jsxs","_jsxs","FileDetailsModal","surface","file","onDownload","onDelete","isOwner","styles","useStyles","t","colors","children","appearance","style","card","section","name","contentType","size","color","primary","title","filename","container","row","mutedText","text","length","Date","uploadDate","toLocaleString","metadata","description","fileId","id","gap","tone","onPress","dismiss","presentFileDetails","options","present","alignItems","padding","marginBottom","textAlign","fontSize","fontWeight","foreground","width","flexDirection","flexWrap","justifyContent","minWidth","flexGrow","flexShrink","flexBasis","mutedForeground"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/FileDetailsModal.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,IAAI,QAAQ,0BAA0B;AAC/C,OAAOC,QAAQ,MAAM,yBAAsB;AAC3C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,QAAQ,QAA8B,wBAAwB;AAEvE,SAASC,OAAO,QAAQ,wBAAqB;AAC7C,SAASC,cAAc,EAAEC,WAAW,QAAQ,+BAA4B;AACxE,SAASC,oBAAoB,QAAQ,2BAAwB;AAC7D,SAASC,iBAAiB,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAiD,GAAGA,CAAC;EAChEC,OAAO;EACPC,IAAI;EACJC,UAAU;EACVC,QAAQ;EACRC;AACF,CAAC,KAAK;EACJ,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEC;EAA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