@oxy.so/services 14.24.3 → 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/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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
5
|
import { Button } from '@oxy.so/bloom/button';
|
|
6
6
|
import { Card } from '@oxy.so/bloom/card';
|
|
7
7
|
import { Field } from '@oxy.so/bloom/field';
|
|
@@ -63,7 +63,7 @@ export function ProfileLinkForm({
|
|
|
63
63
|
surface.dismiss(result);
|
|
64
64
|
};
|
|
65
65
|
return /*#__PURE__*/_jsxs(Card, {
|
|
66
|
-
|
|
66
|
+
style: styles.card,
|
|
67
67
|
children: [/*#__PURE__*/_jsx(Field, {
|
|
68
68
|
label: t('editProfile.items.links.form.urlLabel') || 'Link',
|
|
69
69
|
error: error ? errorMessage(error) : undefined,
|
|
@@ -95,14 +95,14 @@ export function ProfileLinkForm({
|
|
|
95
95
|
})
|
|
96
96
|
})
|
|
97
97
|
}), /*#__PURE__*/_jsxs(View, {
|
|
98
|
-
|
|
98
|
+
style: styles.row,
|
|
99
99
|
children: [link ? /*#__PURE__*/_jsx(Button, {
|
|
100
100
|
appearance: "plain",
|
|
101
101
|
tone: "danger",
|
|
102
102
|
onPress: remove,
|
|
103
103
|
children: t('editProfile.items.links.form.remove') || 'Remove'
|
|
104
104
|
}) : /*#__PURE__*/_jsx(View, {}), /*#__PURE__*/_jsxs(View, {
|
|
105
|
-
|
|
105
|
+
style: styles.row2,
|
|
106
106
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
107
107
|
appearance: "subtle",
|
|
108
108
|
tone: "neutral",
|
|
@@ -118,4 +118,20 @@ export function ProfileLinkForm({
|
|
|
118
118
|
})]
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
+
const styles = StyleSheet.create({
|
|
122
|
+
card: {
|
|
123
|
+
gap: 16,
|
|
124
|
+
padding: 16
|
|
125
|
+
},
|
|
126
|
+
row: {
|
|
127
|
+
flexDirection: 'row',
|
|
128
|
+
alignItems: 'center',
|
|
129
|
+
justifyContent: 'space-between',
|
|
130
|
+
gap: 8
|
|
131
|
+
},
|
|
132
|
+
row2: {
|
|
133
|
+
flexDirection: 'row',
|
|
134
|
+
gap: 8
|
|
135
|
+
}
|
|
136
|
+
});
|
|
121
137
|
//# sourceMappingURL=ProfileLinkForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","View","Button","Card","Field","TextField","TextFieldInput","PROFILE_LINK_TITLE_MAX","useI18n","clampLinkTitle","linkIdentity","normalizeLinkInput","jsx","_jsx","jsxs","_jsxs","ProfileLinkForm","surface","link","existingUrls","t","input","setInput","url","title","setTitle","error","setError","errorMessage","kind","save","normalized","identity","some","result","trim","dismiss","remove","
|
|
1
|
+
{"version":3,"names":["useState","View","StyleSheet","Button","Card","Field","TextField","TextFieldInput","PROFILE_LINK_TITLE_MAX","useI18n","clampLinkTitle","linkIdentity","normalizeLinkInput","jsx","_jsx","jsxs","_jsxs","ProfileLinkForm","surface","link","existingUrls","t","input","setInput","url","title","setTitle","error","setError","errorMessage","kind","save","normalized","identity","some","result","trim","dismiss","remove","style","styles","card","children","label","undefined","placeholder","value","onChangeText","autoCapitalize","autoCorrect","keyboardType","isInvalid","autoFocus","maxLength","row","appearance","tone","onPress","row2","create","gap","padding","flexDirection","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["ui/screens/ProfileLinkForm.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,MAA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e,CAAC,IAAI;QAAQ,CACzB,CAAC,eACTP,IAAA,CAACX,MAAM;UAACoD,UAAU,EAAC,OAAO;UAACC,IAAI,EAAC,QAAQ;UAACC,OAAO,EAAE1B,IAAK;UAAAW,QAAA,EACpDrB,CAAC,CAAC,aAAa,CAAC,IAAI;QAAM,CACrB,CAAC;MAAA,CACL,CAAC;IAAA,CACH,CAAC;EAAA,CACH,CAAC;AAEX;AAEA,MAAMmB,MAAM,GAAGtC,UAAU,CAACyD,MAAM,CAAC;EAC/BlB,IAAI,EAAE;IAAEmB,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE;EAAG,CAAC;EAC9BP,GAAG,EAAE;IAAEQ,aAAa,EAAE,KAAK;IAAEC,UAAU,EAAE,QAAQ;IAAEC,cAAc,EAAE,eAAe;IAAEJ,GAAG,EAAE;EAAE,CAAC;EAC5FF,IAAI,EAAE;IAAEI,aAAa,EAAE,KAAK;IAAEF,GAAG,EAAE;EAAE;AACvC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { View, StyleSheet } from 'react-native';
|
|
5
|
-
import {
|
|
5
|
+
import { skip, useRecord } from '@oxy.so/bloom-data';
|
|
6
6
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
7
7
|
import { Button } from '@oxy.so/bloom/button';
|
|
8
8
|
import { RiSettings3Line } from '@oxy.so/bloom/icons/RiSettings3Line';
|
|
9
9
|
import { PressableScale } from '@oxy.so/bloom/pressable-scale';
|
|
10
10
|
import { useSurfaceFill } from '@oxy.so/bloom/styles';
|
|
11
|
-
import {
|
|
11
|
+
import { Text } from '@oxy.so/bloom/typography';
|
|
12
12
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
13
13
|
import * as Skeleton from '@oxy.so/bloom/skeleton';
|
|
14
14
|
import { CoverHeader } from '@oxy.so/bloom/cover-header';
|
|
@@ -20,6 +20,8 @@ import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
|
20
20
|
import { useOxy } from "../context/oxyRuntimeContext.js";
|
|
21
21
|
import { getNormalizedUserHandle, logger } from '@oxy.so/core';
|
|
22
22
|
import { extractErrorMessage } from "../utils/errorHandlers.js";
|
|
23
|
+
import { profileCard } from "../data/account.js";
|
|
24
|
+
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
23
25
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
26
|
const AVATAR_SIZE = 96;
|
|
25
27
|
const INFO_ICON_SIZE = 18;
|
|
@@ -28,6 +30,7 @@ const ProfileScreen = ({
|
|
|
28
30
|
username,
|
|
29
31
|
navigate
|
|
30
32
|
}) => {
|
|
33
|
+
const themed = useThemedStyles();
|
|
31
34
|
// Use useOxy() hook for OxyContext values. "Me" for own-profile detection
|
|
32
35
|
// and the own-profile fallback is the ACTIVE account (the account switched
|
|
33
36
|
// into), so previewing my profile while switched into an org/project/bot
|
|
@@ -60,45 +63,21 @@ const ProfileScreen = ({
|
|
|
60
63
|
const targetUserId = normalizeId(userId);
|
|
61
64
|
const isOwnProfile = !!(currentUserId && targetUserId && currentUserId === targetUserId);
|
|
62
65
|
|
|
63
|
-
// Profile + reputation
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
queryFn: async () => {
|
|
73
|
-
// Follower/following counts come from the `useFollow` hook.
|
|
74
|
-
const [profileRes, reputationRes] = await Promise.all([oxyServices.users.get(userId).catch(err => {
|
|
75
|
-
if (isOwnProfile) return currentUser;
|
|
76
|
-
logger.error('Profile loading error', err instanceof Error ? err : new Error(String(err)), {
|
|
77
|
-
component: 'ProfileScreen'
|
|
78
|
-
});
|
|
79
|
-
throw err;
|
|
80
|
-
}), (isOwnProfile ? oxyServices.reputation.balance() : oxyServices.reputation.balance(userId)).then(balance => ({
|
|
81
|
-
total: balance.total
|
|
82
|
-
})).catch(() => ({
|
|
83
|
-
total: undefined
|
|
84
|
-
}))]);
|
|
85
|
-
if (!profileRes) {
|
|
86
|
-
throw new Error('Profile data is not available');
|
|
87
|
-
}
|
|
88
|
-
return {
|
|
89
|
-
profile: profileRes,
|
|
90
|
-
reputationTotal: typeof reputationRes.total === 'number' ? reputationRes.total : null
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const profile = profileQuery.data?.profile ?? (isOwnProfile ? currentUser : null);
|
|
95
|
-
const reputationTotal = profileQuery.data?.reputationTotal ?? null;
|
|
66
|
+
// Profile + reputation in ONE read (no data-fetch effect). The reputation
|
|
67
|
+
// read swallows its own failure; only the profile read can fail it, and for
|
|
68
|
+
// MY OWN profile a failed read falls back to the active-account snapshot
|
|
69
|
+
// instead of erroring. Each account has its own store, so a switch reads again.
|
|
70
|
+
const profileView = useRecord(profileCard, ...(userId ? [oxyServices, userId, isOwnProfile ? currentUser : null] : [skip]));
|
|
71
|
+
const profile = profileView.value?.profile ?? (isOwnProfile ? currentUser : null);
|
|
72
|
+
const reputationTotal = profileView.value?.reputationTotal ?? null;
|
|
73
|
+
const profileFailed = profileView.status === 'error';
|
|
74
|
+
const profileError = profileView.error;
|
|
96
75
|
|
|
97
76
|
// Friendly, status-aware error copy derived from the query error (no effect).
|
|
98
77
|
const error = useMemo(() => {
|
|
99
78
|
if (!userId) return 'No user ID provided';
|
|
100
|
-
if (!
|
|
101
|
-
const err =
|
|
79
|
+
if (!profileFailed) return null;
|
|
80
|
+
const err = profileError;
|
|
102
81
|
const errorWithStatus = err && typeof err === 'object' && 'status' in err ? err : null;
|
|
103
82
|
const errorMessageText = extractErrorMessage(err, '');
|
|
104
83
|
if (errorWithStatus?.status === 404 || errorMessageText.includes('not found') || errorMessageText.includes('Resource not found')) {
|
|
@@ -111,7 +90,7 @@ const ProfileScreen = ({
|
|
|
111
90
|
return 'Server error occurred while loading the profile. Please try again later.';
|
|
112
91
|
}
|
|
113
92
|
return errorMessageText || 'Failed to load profile';
|
|
114
|
-
}, [userId,
|
|
93
|
+
}, [userId, profileFailed, profileError, isOwnProfile]);
|
|
115
94
|
|
|
116
95
|
// The dialog owns navigation chrome; CoverHeader owns the profile artwork
|
|
117
96
|
// and avatar overlap. A neutral cover is not an on-image navigation surface.
|
|
@@ -123,28 +102,26 @@ const ProfileScreen = ({
|
|
|
123
102
|
if (error) {
|
|
124
103
|
// The shared nav header owns back/close; the error body is just the alert.
|
|
125
104
|
return /*#__PURE__*/_jsxs(View, {
|
|
126
|
-
style: styles.errorContent,
|
|
127
|
-
className: "px-space-32 gap-space-12 py-space-40",
|
|
105
|
+
style: [styles.container, styles.errorContent],
|
|
128
106
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
129
107
|
name: "alert-circle",
|
|
130
108
|
size: 48,
|
|
131
109
|
color: bloomTheme.colors.error
|
|
132
|
-
}), /*#__PURE__*/_jsx(
|
|
133
|
-
|
|
134
|
-
|
|
110
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
111
|
+
role: "heading",
|
|
112
|
+
"aria-level": 2,
|
|
113
|
+
style: [themed.text, styles.errorTitle],
|
|
135
114
|
children: t('profile.errorTitle') || 'Profile Error'
|
|
136
115
|
}), /*#__PURE__*/_jsx(Text, {
|
|
137
|
-
style: styles.errorText,
|
|
138
|
-
className: "text-text",
|
|
116
|
+
style: [themed.text2, styles.errorText],
|
|
139
117
|
children: error
|
|
140
118
|
}), /*#__PURE__*/_jsx(Text, {
|
|
141
|
-
style: styles.errorSubtext,
|
|
142
|
-
className: "text-text-secondary",
|
|
119
|
+
style: [themed.mutedText, styles.errorSubtext],
|
|
143
120
|
children: t('profile.errorSubtext') || "This could happen if the user doesn't exist or the profile service is unavailable."
|
|
144
121
|
})]
|
|
145
122
|
});
|
|
146
123
|
}
|
|
147
|
-
if (!profile &&
|
|
124
|
+
if (!profile && profileView.isLoading) {
|
|
148
125
|
return /*#__PURE__*/_jsxs(View, {
|
|
149
126
|
testID: "profile-skeleton",
|
|
150
127
|
accessibilityLabel: t('common.loading'),
|
|
@@ -154,8 +131,7 @@ const ProfileScreen = ({
|
|
|
154
131
|
style: styles.scrollContainer,
|
|
155
132
|
children: [/*#__PURE__*/_jsxs(CoverHeader, {
|
|
156
133
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
157
|
-
style: styles.avatarRow,
|
|
158
|
-
className: "px-screen-margin",
|
|
134
|
+
style: [styles.section, styles.avatarRow],
|
|
159
135
|
children: [/*#__PURE__*/_jsx(Skeleton.Circle, {
|
|
160
136
|
size: AVATAR_SIZE
|
|
161
137
|
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
@@ -164,8 +140,7 @@ const ProfileScreen = ({
|
|
|
164
140
|
borderRadius: 16
|
|
165
141
|
})]
|
|
166
142
|
}), /*#__PURE__*/_jsxs(View, {
|
|
167
|
-
|
|
168
|
-
style: styles.header,
|
|
143
|
+
style: [styles.stack, styles.header],
|
|
169
144
|
children: [/*#__PURE__*/_jsx(Skeleton.Box, {
|
|
170
145
|
width: 180,
|
|
171
146
|
height: 28
|
|
@@ -184,8 +159,7 @@ const ProfileScreen = ({
|
|
|
184
159
|
})]
|
|
185
160
|
})]
|
|
186
161
|
}), /*#__PURE__*/_jsxs(View, {
|
|
187
|
-
|
|
188
|
-
style: styles.details,
|
|
162
|
+
style: [styles.stack2, styles.details],
|
|
189
163
|
children: [/*#__PURE__*/_jsx(Skeleton.Box, {
|
|
190
164
|
width: "65%",
|
|
191
165
|
height: 18
|
|
@@ -262,14 +236,12 @@ const ProfileScreen = ({
|
|
|
262
236
|
children: [/*#__PURE__*/_jsxs(CoverHeader, {
|
|
263
237
|
testID: "profile-cover-header",
|
|
264
238
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
265
|
-
style: styles.avatarRow,
|
|
266
|
-
className: "px-screen-margin",
|
|
239
|
+
style: [styles.section, styles.avatarRow],
|
|
267
240
|
children: [/*#__PURE__*/_jsx(View, {
|
|
268
|
-
style: [styles.avatarWrapper, {
|
|
241
|
+
style: [styles.container2, styles.avatarWrapper, {
|
|
269
242
|
borderColor: surfaceFill,
|
|
270
243
|
backgroundColor: surfaceFill
|
|
271
244
|
}],
|
|
272
|
-
className: "rounded-radius-max",
|
|
273
245
|
children: /*#__PURE__*/_jsx(Avatar
|
|
274
246
|
// `getFileDownloadUrl` answers `null` for a reference it cannot
|
|
275
247
|
// resolve, and `Avatar.source` takes `undefined` for "no picture" —
|
|
@@ -301,7 +273,7 @@ const ProfileScreen = ({
|
|
|
301
273
|
}) : /*#__PURE__*/_jsx(FollowButton, {
|
|
302
274
|
userId: userId,
|
|
303
275
|
onFollowChange: isFollowing => {
|
|
304
|
-
// The follow
|
|
276
|
+
// The follow writes the counts onto `User`, which this screen reads
|
|
305
277
|
if (__DEV__) {
|
|
306
278
|
logger.debug(`Follow status changed: ${isFollowing}`, {
|
|
307
279
|
component: 'ProfileScreen'
|
|
@@ -311,25 +283,22 @@ const ProfileScreen = ({
|
|
|
311
283
|
})
|
|
312
284
|
})]
|
|
313
285
|
}), /*#__PURE__*/_jsxs(View, {
|
|
314
|
-
style: styles.header,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
286
|
+
style: [styles.section, styles.header],
|
|
287
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
288
|
+
role: "heading",
|
|
289
|
+
"aria-level": 2,
|
|
290
|
+
style: [themed.text2, styles.displayName],
|
|
319
291
|
children: displayName
|
|
320
292
|
}), profile?.username && /*#__PURE__*/_jsxs(Text, {
|
|
321
|
-
style: styles.subText,
|
|
322
|
-
className: "text-text-secondary",
|
|
293
|
+
style: [themed.mutedText, styles.subText],
|
|
323
294
|
children: ["@", profile.username]
|
|
324
295
|
}), profile?.bio ? /*#__PURE__*/_jsx(Text, {
|
|
325
|
-
style: styles.bio,
|
|
326
|
-
className: "text-text",
|
|
296
|
+
style: [themed.text2, styles.bio],
|
|
327
297
|
children: profile.bio
|
|
328
298
|
}) : null]
|
|
329
299
|
})]
|
|
330
300
|
}), /*#__PURE__*/_jsxs(View, {
|
|
331
|
-
|
|
332
|
-
style: styles.details,
|
|
301
|
+
style: [styles.section, styles.details],
|
|
333
302
|
children: [/*#__PURE__*/_jsx(View, {
|
|
334
303
|
style: styles.metadataRow,
|
|
335
304
|
children: metadata.map(({
|
|
@@ -530,7 +499,38 @@ const styles = StyleSheet.create({
|
|
|
530
499
|
errorSubtext: {
|
|
531
500
|
fontSize: 14,
|
|
532
501
|
textAlign: 'center'
|
|
502
|
+
},
|
|
503
|
+
container: {
|
|
504
|
+
gap: 12,
|
|
505
|
+
paddingHorizontal: 32,
|
|
506
|
+
paddingVertical: 40
|
|
507
|
+
},
|
|
508
|
+
section: {
|
|
509
|
+
paddingHorizontal: 20
|
|
510
|
+
},
|
|
511
|
+
stack: {
|
|
512
|
+
gap: 8,
|
|
513
|
+
paddingHorizontal: 20
|
|
514
|
+
},
|
|
515
|
+
stack2: {
|
|
516
|
+
gap: 12,
|
|
517
|
+
paddingHorizontal: 20
|
|
518
|
+
},
|
|
519
|
+
container2: {
|
|
520
|
+
borderRadius: 9999
|
|
533
521
|
}
|
|
534
522
|
});
|
|
535
523
|
export default ProfileScreen;
|
|
524
|
+
const useThemedStyles = createTokenStyles(t => ({
|
|
525
|
+
text: {
|
|
526
|
+
textAlign: 'center',
|
|
527
|
+
color: t.foreground
|
|
528
|
+
},
|
|
529
|
+
text2: {
|
|
530
|
+
color: t.foreground
|
|
531
|
+
},
|
|
532
|
+
mutedText: {
|
|
533
|
+
color: t.mutedForeground
|
|
534
|
+
}
|
|
535
|
+
}));
|
|
536
536
|
//# sourceMappingURL=ProfileScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","View","StyleSheet","useQuery","useTheme","Button","RiSettings3Line","PressableScale","useSurfaceFill","H2","Text","Avatar","Skeleton","CoverHeader","FollowButton","useFollow","Ionicons","useI18n","useSurfaceHeader","useOxy","getNormalizedUserHandle","logger","extractErrorMessage","jsx","_jsx","jsxs","_jsxs","AVATAR_SIZE","INFO_ICON_SIZE","ProfileScreen","userId","username","navigate","oxyServices","user","currentUser","followerCount","followingCount","isLoadingCounts","bloomTheme","surfaceFill","t","locale","normalizeId","id","String","trim","currentUserId","targetUserId","isOwnProfile","profileQuery","queryKey","enabled","retry","queryFn","profileRes","reputationRes","Promise","all","users","get","catch","err","error","Error","component","reputation","balance","then","total","undefined","profile","reputationTotal","data","isError","errorWithStatus","errorMessageText","status","includes","displayName","name","title","largeTitle","style","styles","errorContent","className","children","size","color","colors","errorTitle","errorText","errorSubtext","isPending","testID","accessibilityLabel","accessibilityState","busy","scrollContainer","avatarRow","Circle","Box","width","height","borderRadius","header","marginTop","details","primaryLocation","locations","first","Array","isArray","metadata","push","key","icon","label","createdAt","joined","Date","Number","isNaN","getTime","date","toLocaleDateString","month","year","value","birthday","timeZone","websiteUrl","website","url","URL","protocol","href","avatarWrapper","borderColor","backgroundColor","source","avatar","assets","publicUrl","actionButtonWrapper","profileActions","appearance","tone","onPress","onFollowChange","isFollowing","__DEV__","debug","subText","bio","metadataRow","map","metadataEntry","textSecondary","metadataText","linkTone","alignSelf","paddingLeft","paddingRight","target","rel","statsRow","statItem","initialCount","statNumber","text","statLabel","create","alignItems","paddingBottom","flexDirection","justifyContent","zIndex","borderWidth","overflow","flex","fontSize","marginBottom","letterSpacing","lineHeight","gap","flexWrap","columnGap","rowGap","flexShrink","fontWeight","textAlign"],"sourceRoot":"../../../../src","sources":["ui/screens/ProfileScreen.tsx"],"mappings":";;AACA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,QAAQ,QAAQ,uBAAuB;AAEhD,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,MAAM,QAAQ,sBAAsB;AAE7C,SAASC,eAAe,QAAQ,qCAAqC;AACrE,SAASC,cAAc,QAAQ,+B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AC;EACD6D,QAAQ,EAAE;IAAEQ,aAAa,EAAE,KAAK;IAAEF,UAAU,EAAE,QAAQ;IAAEY,GAAG,EAAE;EAAE,CAAC;EAChEhB,UAAU,EAAE;IAAEY,QAAQ,EAAE,EAAE;IAAEG,UAAU,EAAE,EAAE;IAAEM,UAAU,EAAE;EAAM,CAAC;EAC/DnB,SAAS,EAAE;IAAEU,QAAQ,EAAE,EAAE;IAAEG,UAAU,EAAE;EAAG,CAAC;EAC3C;EACA9F,UAAU,EAAE;IAAE2F,QAAQ,EAAE;EAAG,CAAC;EAC5BjG,YAAY,EAAE;IAAE4F,cAAc,EAAE,QAAQ;IAAEH,UAAU,EAAE;EAAS,CAAC;EAChElF,SAAS,EAAE;IAAE0F,QAAQ,EAAE,EAAE;IAAES,UAAU,EAAE,KAAK;IAAEC,SAAS,EAAE;EAAS,CAAC;EACnEnG,YAAY,EAAE;IAAEyF,QAAQ,EAAE,EAAE;IAAEU,SAAS,EAAE;EAAS;AACpD,CAAC,CAAC;AAEF,eAAenK,aAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useMemo","View","StyleSheet","skip","useRecord","useTheme","Button","RiSettings3Line","PressableScale","useSurfaceFill","Text","Avatar","Skeleton","CoverHeader","FollowButton","useFollow","Ionicons","useI18n","useSurfaceHeader","useOxy","getNormalizedUserHandle","logger","extractErrorMessage","profileCard","createTokenStyles","jsx","_jsx","jsxs","_jsxs","AVATAR_SIZE","INFO_ICON_SIZE","ProfileScreen","userId","username","navigate","themed","useThemedStyles","oxyServices","user","currentUser","followerCount","followingCount","isLoadingCounts","bloomTheme","surfaceFill","t","locale","normalizeId","id","String","trim","currentUserId","targetUserId","isOwnProfile","profileView","profile","value","reputationTotal","profileFailed","status","profileError","error","err","errorWithStatus","errorMessageText","includes","displayName","name","title","largeTitle","style","styles","container","errorContent","children","size","color","colors","role","text","errorTitle","text2","errorText","mutedText","errorSubtext","isLoading","testID","accessibilityLabel","accessibilityState","busy","scrollContainer","section","avatarRow","Circle","Box","width","height","borderRadius","stack","header","marginTop","stack2","details","primaryLocation","locations","first","Array","isArray","undefined","metadata","push","key","icon","label","createdAt","joined","Date","Number","isNaN","getTime","date","toLocaleDateString","month","year","birthday","timeZone","websiteUrl","website","url","URL","protocol","href","container2","avatarWrapper","borderColor","backgroundColor","source","avatar","assets","publicUrl","actionButtonWrapper","profileActions","appearance","tone","onPress","onFollowChange","isFollowing","__DEV__","debug","component","subText","bio","metadataRow","map","metadataEntry","textSecondary","metadataText","linkTone","alignSelf","paddingLeft","paddingRight","target","rel","statsRow","statItem","initialCount","statNumber","statLabel","create","alignItems","paddingBottom","flexDirection","justifyContent","zIndex","borderWidth","overflow","flex","fontSize","marginBottom","letterSpacing","lineHeight","gap","flexWrap","columnGap","rowGap","flexShrink","fontWeight","textAlign","paddingHorizontal","paddingVertical","foreground","mutedForeground"],"sourceRoot":"../../../../src","sources":["ui/screens/ProfileScreen.tsx"],"mappings":";;AACA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,IAAI,EAAEC,SAAS,QAAQ,oBAAoB;AAEpD,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,MAAM,QAAQ,sBAAsB;AAE7C,SAASC,eAAe,QAAQ,qCAAqC;AACrE,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,cAAc,QAAQ,sBAAsB;AACrD,SAAaC,IAAI,QAAQ,0BAA0B;AACnD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,OAAO,KAAKC,QAAQ,MAAM,wBAAwB;AAClD,SAASC,WAAW,QAAQ,4BAA4B;AACxD,OAAOC,YAAY,MAAM,+BAA4B;AACrD,SAASC,SAAS,QAAQ,uBAAoB;AAC9C,OAAOC,QAAQ,MAAM,sBAAmB;AACxC,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,gBAAgB,QAAQ,8BAA2B;AAC5D,SAASC,MAAM,QAAQ,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CAAC;EAC1CxD,UAAU,EAAE;IAAEnC,YAAY,EAAE;EAAK;AACnC,CAAC,CAAC;AAEF,eAAelE,aAAa;AAE5B,MAAMK,eAAe,GAAGZ,iBAAiB,CAAEqB,CAAC,KAAM;EAChDkC,IAAI,EAAE;IAAE4G,SAAS,EAAE,QAAQ;IAAE/G,KAAK,EAAE/B,CAAC,CAACiJ;EAAW,CAAC;EAClD7G,KAAK,EAAE;IAAEL,KAAK,EAAE/B,CAAC,CAACiJ;EAAW,CAAC;EAC9B3G,SAAS,EAAE;IAAEP,KAAK,EAAE/B,CAAC,CAACkJ;EAAgB;AACxC,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,8 +10,10 @@ import { Text } from '@oxy.so/bloom/typography';
|
|
|
10
10
|
import { toast } from '@oxy.so/bloom/toast';
|
|
11
11
|
import { useI18n } from "../hooks/useI18n.js";
|
|
12
12
|
import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
13
|
+
import { createTokenStyles } from '@oxy.so/bloom/theme';
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
export default function ReportBugScreen() {
|
|
16
|
+
const styles = useStyles();
|
|
15
17
|
const {
|
|
16
18
|
t
|
|
17
19
|
} = useI18n();
|
|
@@ -35,7 +37,7 @@ export default function ReportBugScreen() {
|
|
|
35
37
|
}
|
|
36
38
|
};
|
|
37
39
|
return /*#__PURE__*/_jsxs(View, {
|
|
38
|
-
|
|
40
|
+
style: styles.container,
|
|
39
41
|
children: [/*#__PURE__*/_jsx(Field, {
|
|
40
42
|
label: t('help.reportBug.summary'),
|
|
41
43
|
error: attempted && !title.trim() ? t('help.reportBug.summaryRequired') : undefined,
|
|
@@ -56,7 +58,7 @@ export default function ReportBugScreen() {
|
|
|
56
58
|
maxLength: 4000
|
|
57
59
|
})
|
|
58
60
|
}), /*#__PURE__*/_jsx(Text, {
|
|
59
|
-
|
|
61
|
+
style: styles.mutedText,
|
|
60
62
|
children: t('help.reportBug.emailHint')
|
|
61
63
|
}), /*#__PURE__*/_jsx(Button, {
|
|
62
64
|
onPress: openDraft,
|
|
@@ -65,4 +67,14 @@ export default function ReportBugScreen() {
|
|
|
65
67
|
})]
|
|
66
68
|
});
|
|
67
69
|
}
|
|
70
|
+
const useStyles = createTokenStyles(t => ({
|
|
71
|
+
container: {
|
|
72
|
+
gap: 16,
|
|
73
|
+
paddingHorizontal: 20,
|
|
74
|
+
paddingBottom: 24
|
|
75
|
+
},
|
|
76
|
+
mutedText: {
|
|
77
|
+
color: t.mutedForeground
|
|
78
|
+
}
|
|
79
|
+
}));
|
|
68
80
|
//# sourceMappingURL=ReportBugScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","Linking","View","Button","Field","TextFieldInput","Textarea","Text","toast","useI18n","useSurfaceHeader","jsx","_jsx","jsxs","_jsxs","ReportBugScreen","t","title","setTitle","description","setDescription","attempted","setAttempted","opening","setOpening","openDraft","trim","openURL","encodeURIComponent","error","
|
|
1
|
+
{"version":3,"names":["useState","Linking","View","Button","Field","TextFieldInput","Textarea","Text","toast","useI18n","useSurfaceHeader","createTokenStyles","jsx","_jsx","jsxs","_jsxs","ReportBugScreen","styles","useStyles","t","title","setTitle","description","setDescription","attempted","setAttempted","opening","setOpening","openDraft","trim","openURL","encodeURIComponent","error","style","container","children","label","undefined","value","onValueChange","maxLength","placeholder","mutedText","onPress","disabled","gap","paddingHorizontal","paddingBottom","color","mutedForeground"],"sourceRoot":"../../../../src","sources":["ui/screens/ReportBugScreen.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,OAAO,EAAEC,IAAI,QAAQ,cAAc;AAC5C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,IAAI,QAAQ,0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C,CAC5B,CAAC;EAAA,CACL,CAAC;AAEX;AAEA,MAAMD,SAAS,GAAGP,iBAAiB,CAAEQ,CAAC,KAAM;EAC1Ce,SAAS,EAAE;IAAEW,GAAG,EAAE,EAAE;IAAEC,iBAAiB,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAG,CAAC;EAChEL,SAAS,EAAE;IAAEM,KAAK,EAAE7B,CAAC,CAAC8B;EAAgB;AACxC,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { useEffect } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
5
|
import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
|
|
6
6
|
import { Switch } from '@oxy.so/bloom/switch';
|
|
7
7
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
@@ -32,29 +32,30 @@ const SearchSettingsScreen = ({
|
|
|
32
32
|
const bloomTheme = useTheme();
|
|
33
33
|
const privacyQuery = usePrivacySettings(user?.id);
|
|
34
34
|
const updateSettings = useUpdatePrivacySettings();
|
|
35
|
-
const privacy = privacyQuery.
|
|
35
|
+
const privacy = privacyQuery.value ?? user?.privacySettings;
|
|
36
36
|
const settings = {
|
|
37
37
|
safeSearch: privacy?.autoFilter ?? true,
|
|
38
38
|
searchPersonalization: privacy?.dataSharing ?? true
|
|
39
39
|
};
|
|
40
40
|
const isSaving = updateSettings.isPending;
|
|
41
|
-
const isLoading = !user?.id || privacyQuery.
|
|
41
|
+
const isLoading = !user?.id || privacyQuery.isLoading;
|
|
42
42
|
const toggle = key => {
|
|
43
43
|
if (isSaving || isLoading) return;
|
|
44
44
|
const field = key === 'safeSearch' ? 'autoFilter' : 'dataSharing';
|
|
45
|
-
|
|
45
|
+
// A failure is told to the person by the hook, and rolled back.
|
|
46
|
+
updateSettings.run({
|
|
46
47
|
userId: user.id,
|
|
47
48
|
settings: {
|
|
48
49
|
[field]: !settings[key]
|
|
49
50
|
}
|
|
50
|
-
});
|
|
51
|
+
}).catch(() => undefined);
|
|
51
52
|
};
|
|
52
53
|
useEffect(() => {
|
|
53
54
|
if (privacyQuery.error) toast.error(t('privacySettings.loadError'));
|
|
54
55
|
}, [privacyQuery.error, t]);
|
|
55
56
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
56
57
|
children: /*#__PURE__*/_jsxs(View, {
|
|
57
|
-
|
|
58
|
+
style: styles.section,
|
|
58
59
|
children: [/*#__PURE__*/_jsx(GroupedSection, {
|
|
59
60
|
title: t('searchSettings.safeSearch.title') || 'SafeSearch',
|
|
60
61
|
children: /*#__PURE__*/_jsx(GroupedSectionItem, {
|
|
@@ -92,4 +93,10 @@ const SearchSettingsScreen = ({
|
|
|
92
93
|
});
|
|
93
94
|
};
|
|
94
95
|
export default /*#__PURE__*/React.memo(SearchSettingsScreen);
|
|
96
|
+
const styles = StyleSheet.create({
|
|
97
|
+
section: {
|
|
98
|
+
paddingHorizontal: 20,
|
|
99
|
+
paddingBottom: 24
|
|
100
|
+
}
|
|
101
|
+
});
|
|
95
102
|
//# sourceMappingURL=SearchSettingsScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","View","GroupedSection","GroupedSectionItem","Switch","useTheme","SettingsIcon","useI18n","useSurfaceHeader","useUpdatePrivacySettings","toast","useOxy","usePrivacySettings","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","SearchSettingsScreen","onClose","goBack","user","t","title","bloomTheme","privacyQuery","id","updateSettings","privacy","
|
|
1
|
+
{"version":3,"names":["React","useEffect","View","StyleSheet","GroupedSection","GroupedSectionItem","Switch","useTheme","SettingsIcon","useI18n","useSurfaceHeader","useUpdatePrivacySettings","toast","useOxy","usePrivacySettings","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","SearchSettingsScreen","onClose","goBack","user","t","title","bloomTheme","privacyQuery","id","updateSettings","privacy","value","privacySettings","settings","safeSearch","autoFilter","searchPersonalization","dataSharing","isSaving","isPending","isLoading","toggle","key","field","run","userId","catch","undefined","error","children","style","styles","section","icon","name","color","colors","success","description","rightElement","checked","onCheckedChange","disabled","showChevron","primary","memo","create","paddingHorizontal","paddingBottom"],"sourceRoot":"../../../../src","sources":["ui/screens/SearchSettingsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,cAAc,EAAEC,kBAAkB,QAAQ,+BAA+B;AAClF,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,YAAY,QAAQ,+BAA4B;AACzD,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,gBAAgB,QAAQ,8BAA2B;AAC5D,SAASC,wBAAwB,QAAQ,2CAAwC;AACjF,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,MAAM,QAAQ,iCAA8B;AACrD,SAASC,kBAAkB,QAAQ,uCAAoC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAOxE,MAAMC,oBAA+C,GAAGA,CAAC;EAAEC,OAAO;EAAEC;AAAO,CAAC,KAAK;EAC/E;EACA;EACA;EACA,MAAM;IAAEC;EAAK,CAAC,GAAGX,MAAM,CAAC,CAAC;EACzB,MAAM;IAAEY;EAAE,CAAC,GAAGhB,OAAO,CAAC,CAAC;EAEvBC,gBAAgB,CAAC;IAAEgB,KAAK,EAAED,CAAC,CAAC,sBAAsB,CAAC,IAAI;EAAkB,CAAC,CAAC;EAC3E,MAAME,UAAU,GAAGpB,QAAQ,CAAC,CAAC;EAE7B,MAAMqB,YAAY,GAAGd,kBAAkB,CAACU,IAAI,EAAEK,EAAE,CAAC;EACjD,MAAMC,cAAc,GAAGnB,w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M,CAAC;EAC/Bd,OAAO,EAAE;IAAEe,iBAAiB,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAG;AACtD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { View } from 'react-native';
|
|
3
|
+
import { View, StyleSheet } from 'react-native';
|
|
4
4
|
import { OxySignInSecurityPanel } from "../components/signIn/OxySignInSecurityPanel.js";
|
|
5
5
|
import { useI18n } from "../hooks/useI18n.js";
|
|
6
6
|
import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
@@ -16,11 +16,17 @@ const SignInSecurityScreen = ({
|
|
|
16
16
|
title: t('signInSecurity.title')
|
|
17
17
|
});
|
|
18
18
|
return /*#__PURE__*/_jsx(View, {
|
|
19
|
-
|
|
19
|
+
style: styles.section,
|
|
20
20
|
children: /*#__PURE__*/_jsx(OxySignInSecurityPanel, {
|
|
21
21
|
onOpen: navigate ? route => navigate(route) : undefined
|
|
22
22
|
})
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
25
|
export default SignInSecurityScreen;
|
|
26
|
+
const styles = StyleSheet.create({
|
|
27
|
+
section: {
|
|
28
|
+
paddingHorizontal: 20,
|
|
29
|
+
paddingBottom: 24
|
|
30
|
+
}
|
|
31
|
+
});
|
|
26
32
|
//# sourceMappingURL=SignInSecurityScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","OxySignInSecurityPanel","useI18n","useSurfaceHeader","jsx","_jsx","SignInSecurityScreen","navigate","t","title","
|
|
1
|
+
{"version":3,"names":["View","StyleSheet","OxySignInSecurityPanel","useI18n","useSurfaceHeader","jsx","_jsx","SignInSecurityScreen","navigate","t","title","style","styles","section","children","onOpen","route","undefined","create","paddingHorizontal","paddingBottom"],"sourceRoot":"../../../../src","sources":["ui/screens/SignInSecurityScreen.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,sBAAsB,QAAQ,gDAA6C;AACpF,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,gBAAgB,QAAQ,8BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG7D;AACA,MAAMC,oBAA+C,GAAGA,CAAC;EAAEC;AAAS,CAAC,KAAK;EACxE,MAAM;IAAEC;EAAE,CAAC,GAAGN,OAAO,CAAC,CAAC;EACvBC,gBAAgB,CAAC;IAAEM,KAAK,EAAED,CAAC,CAAC,sBAAsB;EAAE,CAAC,CAAC;EACtD,oBACEH,IAAA,CAACN,IAAI;IAACW,KAAK,EAAEC,MAAM,CAACC,OAAQ;IAAAC,QAAA,eAC1BR,IAAA,CAACJ,sBAAsB;MAACa,MAAM,EAAEP,QAAQ,GAAIQ,KAAK,IAAKR,QAAQ,CAACQ,KAAK,CAAC,GAAGC;IAAU,CAAE;EAAC,CACjF,CAAC;AAEX,CAAC;AAED,eAAeV,oBAAoB;AAEnC,MAAMK,MAAM,GAAGX,UAAU,CAACiB,MAAM,CAAC;EAC/BL,OAAO,EAAE;IAAEM,iBAAiB,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAG;AACtD,CAAC,CAAC","ignoreList":[]}
|