@oxy.so/services 14.24.3 → 15.0.1
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/oauth/browserBridge.js +15 -1
- package/lib/commonjs/ui/oauth/browserBridge.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/oauth/browserBridge.js +14 -0
- package/lib/module/ui/oauth/browserBridge.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/oauth/browserBridge.d.ts +4 -0
- package/lib/typescript/commonjs/ui/oauth/browserBridge.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/oauth/browserBridge.d.ts +4 -0
- package/lib/typescript/module/ui/oauth/browserBridge.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 +32 -46
- 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/oauth/__tests__/browserBridge.test.ts +6 -0
- package/src/ui/oauth/browserBridge.ts +13 -0
- 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
|
@@ -22,6 +22,7 @@ const HistoryViewScreen = ({
|
|
|
22
22
|
onClose,
|
|
23
23
|
goBack
|
|
24
24
|
}) => {
|
|
25
|
+
const styles = useStyles();
|
|
25
26
|
// History is scoped to the ACTIVE account so a switch into an org/project/bot
|
|
26
27
|
// shows that account's history, not the device-session owner's.
|
|
27
28
|
const {
|
|
@@ -117,7 +118,7 @@ const HistoryViewScreen = ({
|
|
|
117
118
|
};
|
|
118
119
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
119
120
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
120
|
-
|
|
121
|
+
style: styles.section,
|
|
121
122
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_groupedSection.GroupedSection, {
|
|
122
123
|
title: t('history.actions') || 'Actions',
|
|
123
124
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
@@ -142,7 +143,7 @@ const HistoryViewScreen = ({
|
|
|
142
143
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSection, {
|
|
143
144
|
title: t('history.recent') || 'Recent History',
|
|
144
145
|
children: isLoading ? null : history.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
145
|
-
|
|
146
|
+
style: styles.mutedText,
|
|
146
147
|
children: t('history.empty') || 'No history yet'
|
|
147
148
|
}) : history.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
148
149
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
|
|
@@ -157,4 +158,15 @@ const HistoryViewScreen = ({
|
|
|
157
158
|
});
|
|
158
159
|
};
|
|
159
160
|
var _default = exports.default = /*#__PURE__*/_react.default.memo(HistoryViewScreen);
|
|
161
|
+
const useStyles = (0, _theme.createTokenStyles)(t => ({
|
|
162
|
+
section: {
|
|
163
|
+
paddingHorizontal: 20,
|
|
164
|
+
paddingBottom: 24
|
|
165
|
+
},
|
|
166
|
+
mutedText: {
|
|
167
|
+
padding: 40,
|
|
168
|
+
textAlign: 'center',
|
|
169
|
+
color: t.mutedForeground
|
|
170
|
+
}
|
|
171
|
+
}));
|
|
160
172
|
//# sourceMappingURL=HistoryViewScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_typography","_groupedSection","_SettingsIcon","_useI18n","_useSurfaceHeader","_theme","_oxyRuntimeContext","_surfaces","_storageHelpers","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","HistoryViewScreen","onClose","goBack","user","useOxy","useI18n","useSurfaceHeader","title","bloomTheme","useTheme","history","setHistory","useState","isLoading","setIsLoading","isDeleting","setIsDeleting","React","useEffect","load","storage","createPlatformStorage","stored","getItem","id","parsed","JSON","parse","map","timestamp","Date","handleDeleteLast15Minutes","useCallback","confirmed","surfaces","confirm","description","confirmLabel","cancelLabel","destructive","cutoff","now","filtered","filter","item","setItem","stringify","toast","success","__DEV__","console","error","handleClearAll","removeItem","formatTime","date","diff","getTime","min","Math","floor","hrs","days","toLocaleDateString","jsx","Fragment","children","jsxs","View","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_typography","_groupedSection","_SettingsIcon","_useI18n","_useSurfaceHeader","_theme","_oxyRuntimeContext","_surfaces","_storageHelpers","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","HistoryViewScreen","onClose","goBack","styles","useStyles","user","useOxy","useI18n","useSurfaceHeader","title","bloomTheme","useTheme","history","setHistory","useState","isLoading","setIsLoading","isDeleting","setIsDeleting","React","useEffect","load","storage","createPlatformStorage","stored","getItem","id","parsed","JSON","parse","map","timestamp","Date","handleDeleteLast15Minutes","useCallback","confirmed","surfaces","confirm","description","confirmLabel","cancelLabel","destructive","cutoff","now","filtered","filter","item","setItem","stringify","toast","success","__DEV__","console","error","handleClearAll","removeItem","formatTime","date","diff","getTime","min","Math","floor","hrs","days","toLocaleDateString","jsx","Fragment","children","jsxs","View","style","section","GroupedSection","GroupedSectionItem","icon","SettingsIcon","name","color","colors","warning","onPress","disabled","length","Text","mutedText","type","info","primary","query","_default","exports","memo","createTokenStyles","paddingHorizontal","paddingBottom","padding","textAlign","mutedForeground"],"sourceRoot":"../../../../src","sources":["ui/screens/HistoryViewScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AAC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40,7 @@ const CATALOG_BY_CODE = new Map(_core.SUPPORTED_LANGUAGES.map(entry => [entry.co
|
|
|
40
40
|
* when signed out the ordered selection is stored on-device.
|
|
41
41
|
*/
|
|
42
42
|
const LanguageSelectorScreen = () => {
|
|
43
|
+
const themed = useThemedStyles();
|
|
43
44
|
const {
|
|
44
45
|
user,
|
|
45
46
|
isAuthenticated,
|
|
@@ -94,10 +95,10 @@ const LanguageSelectorScreen = () => {
|
|
|
94
95
|
setIsSubmitting(true);
|
|
95
96
|
try {
|
|
96
97
|
if (isAuthenticated && user?.id) {
|
|
97
|
-
const saved = await updateProfile.
|
|
98
|
+
const saved = await updateProfile.run({
|
|
98
99
|
languages: next
|
|
99
100
|
});
|
|
100
|
-
if (saved
|
|
101
|
+
if (saved?.languages?.length !== next.length || next.some((locale, index) => saved?.languages?.[index] !== locale)) {
|
|
101
102
|
_toast.toast.error(t('language.saveFailed'));
|
|
102
103
|
return;
|
|
103
104
|
}
|
|
@@ -148,9 +149,9 @@ const LanguageSelectorScreen = () => {
|
|
|
148
149
|
})
|
|
149
150
|
});
|
|
150
151
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
151
|
-
|
|
152
|
+
style: styles.section,
|
|
152
153
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
153
|
-
|
|
154
|
+
style: styles.section2,
|
|
154
155
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_search.Search, {
|
|
155
156
|
value: query,
|
|
156
157
|
onChangeText: setQuery,
|
|
@@ -170,10 +171,9 @@ const LanguageSelectorScreen = () => {
|
|
|
170
171
|
disabled: isBusy,
|
|
171
172
|
accessibilityLabel: isPrimary ? `${entry.name} — ${t('language.primary')}` : entry.name,
|
|
172
173
|
rightElement: isPrimary ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
173
|
-
|
|
174
|
+
style: themed.surface,
|
|
174
175
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
175
|
-
|
|
176
|
-
style: styles.primaryBadge,
|
|
176
|
+
style: [themed.text, styles.primaryBadge],
|
|
177
177
|
children: t('language.primary')
|
|
178
178
|
})
|
|
179
179
|
}) : canRemove ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
@@ -225,9 +225,28 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
225
225
|
primaryBadge: {
|
|
226
226
|
fontSize: 12,
|
|
227
227
|
fontWeight: '600'
|
|
228
|
+
},
|
|
229
|
+
section: {
|
|
230
|
+
paddingHorizontal: 20,
|
|
231
|
+
paddingTop: 24,
|
|
232
|
+
paddingBottom: 24
|
|
233
|
+
},
|
|
234
|
+
section2: {
|
|
235
|
+
marginBottom: 16
|
|
228
236
|
}
|
|
229
237
|
});
|
|
230
238
|
|
|
231
239
|
// Export memoized component to prevent unnecessary re-renders
|
|
232
240
|
var _default = exports.default = /*#__PURE__*/_react.default.memo(LanguageSelectorScreen);
|
|
241
|
+
const useThemedStyles = (0, _theme.createTokenStyles)(t => ({
|
|
242
|
+
surface: {
|
|
243
|
+
borderRadius: 9999,
|
|
244
|
+
backgroundColor: t.muted,
|
|
245
|
+
paddingHorizontal: 8,
|
|
246
|
+
paddingVertical: 2
|
|
247
|
+
},
|
|
248
|
+
text: {
|
|
249
|
+
color: t.primary
|
|
250
|
+
}
|
|
251
|
+
}));
|
|
233
252
|
//# sourceMappingURL=LanguageSelectorScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_button","require","_react","_interopRequireWildcard","_reactNative","_theme","_Ionicons","_interopRequireDefault","_toast","_typography","_search","_phoneInput","_groupedSection","_core","_useI18n","_useSurfaceHeader","_oxyRuntimeContext","_useLanguageManagement","_useAccountMutations","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FLAG_SLOT_SIZE","REMOVE_ICON_SIZE","CATALOG_BY_CODE","Map","SUPPORTED_LANGUAGES","map","entry","code","LanguageSelectorScreen","user","isAuthenticated","currentLanguage","currentLanguages","setLanguages","useOxy","useI18n","bloomTheme","useTheme","updateProfile","useUpdateProfile","query","setQuery","useState","isSubmitting","setIsSubmitting","useSurfaceHeader","title","subtitle","undefined","selected","useMemo","length","selectedSet","Set","selectedEntries","filter","availableEntries","normalizedQuery","trim","toLowerCase","name","includes","nativeName","isBusy","isPending","commitSelection","useCallback","next","announceCode","id","saved","mutateAsync","languages","some","locale","index","toast","error","success","lang","getNativeLanguageName","__DEV__","console","handleAdd","addLocale","handleSetPrimary","setPrimaryLocale","handleRemove","removeLocale","renderFlag","jsx","View","style","styles","flagSlot","children","CountryFlag","iso2","region","size","jsxs","className","Search","value","onChangeText","onClearText","label","GroupedSection","isPrimary","canRemove","GroupedSectionItem","icon","description","onPress","disabled","accessibilityLabel","rightElement","Text","primaryBadge","Button","appearance","tone","iconOnly","stopPropagation","color","colors","textSecondary","showChevron","StyleSheet","create","width","height","alignItems","justifyContent","fontSize","fontWeight","_default","exports","React","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LanguageSelectorScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,eAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAZ,OAAA;AACA,IAAAa,QAAA,GAAAb,OAAA;AACA,IAAAc,iBAAA,GAAAd,OAAA;AACA,IAAAe,kBAAA,GAAAf,OAAA;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A,CAAAgB,OAAQ;UACPyD,IAAI,EAAC,oBAAoB;UACzBuC,IAAI,EAAE9E,gBAAiB;UACvBuG,KAAK,EAAExF,UAAU,CAACyF,MAAM,CAACC;QAAc,CACxC,CACF;QACDC,WAAW,EAAE;MAAM,GAddrG,KAAK,CAACC,IAeZ,CACF;IAAC,CACY,CAAC;EAAA,CACb,CAAC;AAEX,CAAC;;AAED;AACA,MAAMkE,MAAM,GAAGmC,uBAAU,CAACC,MAAM,CAAC;EAC/BnC,QAAQ,EAAE;IACRoC,KAAK,EAAE9G,cAAc;IACrB+G,MAAM,EAAE/G,cAAc;IACtBgH,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDf,YAAY,EAAE;IACZgB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;;AAEF;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAtI,OAAA,gBACeuI,cAAK,CAACC,IAAI,CAAC/G,sBAAsB,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_button","require","_react","_interopRequireWildcard","_reactNative","_theme","_Ionicons","_interopRequireDefault","_toast","_typography","_search","_phoneInput","_groupedSection","_core","_useI18n","_useSurfaceHeader","_oxyRuntimeContext","_useLanguageManagement","_useAccountMutations","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FLAG_SLOT_SIZE","REMOVE_ICON_SIZE","CATALOG_BY_CODE","Map","SUPPORTED_LANGUAGES","map","entry","code","LanguageSelectorScreen","themed","useThemedStyles","user","isAuthenticated","currentLanguage","currentLanguages","setLanguages","useOxy","useI18n","bloomTheme","useTheme","updateProfile","useUpdateProfile","query","setQuery","useState","isSubmitting","setIsSubmitting","useSurfaceHeader","title","subtitle","undefined","selected","useMemo","length","selectedSet","Set","selectedEntries","filter","availableEntries","normalizedQuery","trim","toLowerCase","name","includes","nativeName","isBusy","isPending","commitSelection","useCallback","next","announceCode","id","saved","run","languages","some","locale","index","toast","error","success","lang","getNativeLanguageName","__DEV__","console","handleAdd","addLocale","handleSetPrimary","setPrimaryLocale","handleRemove","removeLocale","renderFlag","jsx","View","style","styles","flagSlot","children","CountryFlag","iso2","region","size","jsxs","section","section2","Search","value","onChangeText","onClearText","label","GroupedSection","isPrimary","canRemove","GroupedSectionItem","icon","description","onPress","disabled","accessibilityLabel","rightElement","surface","Text","text","primaryBadge","Button","appearance","tone","iconOnly","stopPropagation","color","colors","textSecondary","showChevron","StyleSheet","create","width","height","alignItems","justifyContent","fontSize","fontWeight","paddingHorizontal","paddingTop","paddingBottom","marginBottom","_default","exports","React","memo","createTokenStyles","borderRadius","backgroundColor","muted","paddingVertical","primary"],"sourceRoot":"../../../../src","sources":["ui/screens/LanguageSelectorScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,eAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAZ,OAAA;AACA,IAAAa,QAAA,GAAAb,OAAA;AACA,IAAAc,iBAAA,GAAAd,OAAA;AACA,IAAAe,kBAAA,GAAAf,OAAA;AACA,IAAAgB,sBAAA,GAAAhB,OAAA;AACA,IAAAiB,oBAAA,GAAAjB,OAAA;AAA0E,IAAAkB,WAAA,GAAAlB,OAAA;AAAA,SAAAM,uBAAAa,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;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AAE3F,UAAU,CAAC4F,MAAM,CAACC;QAAc,CACxC,CACF;QACDC,WAAW,EAAE;MAAM,GAdd1G,KAAK,CAACC,IAeZ,CACF;IAAC,CACY,CAAC;EAAA,CACb,CAAC;AAEX,CAAC;;AAED;AACA,MAAMoE,MAAM,GAAGsC,uBAAU,CAACC,MAAM,CAAC;EAC/BtC,QAAQ,EAAE;IACRuC,KAAK,EAAEnH,cAAc;IACrBoH,MAAM,EAAEpH,cAAc;IACtBqH,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDf,YAAY,EAAE;IACZgB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EAEDrC,OAAO,EAAE;IAAEsC,iBAAiB,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAG,CAAC;EACrEvC,QAAQ,EAAE;IAAEwC,YAAY,EAAE;EAAG;AAC/B,CAAC,CAAC;;AAEF;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAA/I,OAAA,gBACegJ,cAAK,CAACC,IAAI,CAACxH,sBAAsB,CAAC;AAEjD,MAAME,eAAe,GAAG,IAAAuH,wBAAiB,EAAEjJ,CAAC,KAAM;EAChDoH,OAAO,EAAE;IACP8B,YAAY,EAAE,IAAI;IAClBC,eAAe,EAAEnJ,CAAC,CAACoJ,KAAK;IACxBX,iBAAiB,EAAE,CAAC;IACpBY,eAAe,EAAE;EACnB,CAAC;EACD/B,IAAI,EAAE;IAAEO,KAAK,EAAE7H,CAAC,CAACsJ;EAAQ;AAC3B,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -56,6 +56,7 @@ const LearnMoreUsernamesScreen = ({
|
|
|
56
56
|
onClose,
|
|
57
57
|
goBack
|
|
58
58
|
}) => {
|
|
59
|
+
const themed = useThemedStyles();
|
|
59
60
|
const bloomTheme = (0, _theme.useTheme)();
|
|
60
61
|
const {
|
|
61
62
|
t
|
|
@@ -76,13 +77,13 @@ const LearnMoreUsernamesScreen = ({
|
|
|
76
77
|
}, []);
|
|
77
78
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
78
79
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
79
|
-
|
|
80
|
+
style: styles.section,
|
|
80
81
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
81
|
-
|
|
82
|
+
style: styles.container,
|
|
82
83
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconCircle.IconCircle, {
|
|
83
84
|
icon: _RiAtLine.RiAtLine
|
|
84
85
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
85
|
-
|
|
86
|
+
style: themed.mutedText,
|
|
86
87
|
children: t('learnMoreUsernames.introText')
|
|
87
88
|
})]
|
|
88
89
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_accordion.Accordion, {
|
|
@@ -98,8 +99,7 @@ const LearnMoreUsernamesScreen = ({
|
|
|
98
99
|
value: id,
|
|
99
100
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_accordion.AccordionTrigger, {
|
|
100
101
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
101
|
-
|
|
102
|
-
style: styles.iconSquare,
|
|
102
|
+
style: [themed.surface, styles.iconSquare],
|
|
103
103
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
104
104
|
size: "md",
|
|
105
105
|
style: {
|
|
@@ -110,13 +110,13 @@ const LearnMoreUsernamesScreen = ({
|
|
|
110
110
|
children: t(titleKey)
|
|
111
111
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_accordion.AccordionContent, {
|
|
112
112
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
113
|
-
|
|
113
|
+
style: themed.mutedText2,
|
|
114
114
|
children: t(contentKey)
|
|
115
115
|
})
|
|
116
116
|
})]
|
|
117
117
|
}, id))
|
|
118
118
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
119
|
-
|
|
119
|
+
style: themed.mutedText3,
|
|
120
120
|
children: t('learnMoreUsernames.footer')
|
|
121
121
|
})]
|
|
122
122
|
})
|
|
@@ -132,7 +132,40 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
132
132
|
height: 36,
|
|
133
133
|
alignItems: 'center',
|
|
134
134
|
justifyContent: 'center'
|
|
135
|
+
},
|
|
136
|
+
section: {
|
|
137
|
+
paddingHorizontal: 20,
|
|
138
|
+
paddingBottom: 32
|
|
139
|
+
},
|
|
140
|
+
container: {
|
|
141
|
+
alignItems: 'center',
|
|
142
|
+
gap: 12,
|
|
143
|
+
paddingVertical: 24
|
|
135
144
|
}
|
|
136
145
|
});
|
|
137
146
|
var _default = exports.default = LearnMoreUsernamesScreen;
|
|
147
|
+
const useThemedStyles = (0, _theme.createTokenStyles)(t => ({
|
|
148
|
+
mutedText: {
|
|
149
|
+
textAlign: 'center',
|
|
150
|
+
color: t.mutedForeground,
|
|
151
|
+
lineHeight: 22,
|
|
152
|
+
fontWeight: 400
|
|
153
|
+
},
|
|
154
|
+
surface: {
|
|
155
|
+
borderRadius: 12,
|
|
156
|
+
backgroundColor: t.muted
|
|
157
|
+
},
|
|
158
|
+
mutedText2: {
|
|
159
|
+
color: t.mutedForeground,
|
|
160
|
+
lineHeight: 22,
|
|
161
|
+
fontWeight: 400
|
|
162
|
+
},
|
|
163
|
+
mutedText3: {
|
|
164
|
+
marginTop: 16,
|
|
165
|
+
textAlign: 'center',
|
|
166
|
+
color: t.mutedForeground,
|
|
167
|
+
lineHeight: 14,
|
|
168
|
+
fontWeight: 400
|
|
169
|
+
}
|
|
170
|
+
}));
|
|
138
171
|
//# sourceMappingURL=LearnMoreUsernamesScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_theme","_typography","_iconCircle","_accordion","_RiAtLine","_RiKey2Line","_RiListUnordered","_RiResetRightLine","_RiSparklingLine","_useI18n","_useSurfaceHeader","_jsxRuntime","INFO_SECTIONS","id","titleKey","contentKey","Icon","RiAtLine","RiListUnordered","RiKey2Line","RiResetRightLine","RiSparklingLine","LearnMoreUsernamesScreen","onClose","goBack","bloomTheme","useTheme","t","useI18n","useSurfaceHeader","title","expandedIds","setExpandedIds","useState","handleAccordionChange","useCallback","value","Array","isArray","jsx","Fragment","children","jsxs","View","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_theme","_typography","_iconCircle","_accordion","_RiAtLine","_RiKey2Line","_RiListUnordered","_RiResetRightLine","_RiSparklingLine","_useI18n","_useSurfaceHeader","_jsxRuntime","INFO_SECTIONS","id","titleKey","contentKey","Icon","RiAtLine","RiListUnordered","RiKey2Line","RiResetRightLine","RiSparklingLine","LearnMoreUsernamesScreen","onClose","goBack","themed","useThemedStyles","bloomTheme","useTheme","t","useI18n","useSurfaceHeader","title","expandedIds","setExpandedIds","useState","handleAccordionChange","useCallback","value","Array","isArray","jsx","Fragment","children","jsxs","View","style","styles","section","container","IconCircle","icon","Text","mutedText","Accordion","type","onValueChange","map","AccordionItem","AccordionTrigger","surface","iconSquare","size","color","colors","primary","AccordionContent","mutedText2","mutedText3","StyleSheet","create","width","height","alignItems","justifyContent","paddingHorizontal","paddingBottom","gap","paddingVertical","_default","exports","default","createTokenStyles","textAlign","mutedForeground","lineHeight","fontWeight","borderRadius","backgroundColor","muted","marginTop"],"sourceRoot":"../../../../src","sources":["ui/screens/LearnMoreUsernamesScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAUA,IAAAM,SAAA,GAAAN,OAAA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VC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EAED1B,OAAO,EAAE;IAAE2B,iBAAiB,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAG,CAAC;EACrD3B,SAAS,EAAE;IAAEwB,UAAU,EAAE,QAAQ;IAAEI,GAAG,EAAE,EAAE;IAAEC,eAAe,EAAE;EAAG;AAClE,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEY3D,wBAAwB;AAEvC,MAAMI,eAAe,GAAG,IAAAwD,wBAAiB,EAAErD,CAAC,KAAM;EAChDwB,SAAS,EAAE;IAAE8B,SAAS,EAAE,QAAQ;IAAEpB,KAAK,EAAElC,CAAC,CAACuD,eAAe;IAAEC,UAAU,EAAE,EAAE;IAAEC,UAAU,EAAE;EAAI,CAAC;EAC7F1B,OAAO,EAAE;IAAE2B,YAAY,EAAE,EAAE;IAAEC,eAAe,EAAE3D,CAAC,CAAC4D;EAAM,CAAC;EACvDtB,UAAU,EAAE;IAAEJ,KAAK,EAAElC,CAAC,CAACuD,eAAe;IAAEC,UAAU,EAAE,EAAE;IAAEC,UAAU,EAAE;EAAI,CAAC;EACzElB,UAAU,EAAE;IACVsB,SAAS,EAAE,EAAE;IACbP,SAAS,EAAE,QAAQ;IACnBpB,KAAK,EAAElC,CAAC,CAACuD,eAAe;IACxBC,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE;EACd;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -106,7 +106,7 @@ const LegalDocumentsScreen = ({
|
|
|
106
106
|
|
|
107
107
|
// Default: show the full list of policies & guidelines.
|
|
108
108
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
109
|
-
|
|
109
|
+
style: styles.section,
|
|
110
110
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_groupedSection.GroupedSection, {
|
|
111
111
|
title: t('legal.policies') || 'Policies & Guidelines',
|
|
112
112
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
@@ -177,4 +177,10 @@ const LegalDocumentsScreen = ({
|
|
|
177
177
|
});
|
|
178
178
|
};
|
|
179
179
|
var _default = exports.default = /*#__PURE__*/_react.default.memo(LegalDocumentsScreen);
|
|
180
|
+
const styles = _reactNative.StyleSheet.create({
|
|
181
|
+
section: {
|
|
182
|
+
paddingHorizontal: 20,
|
|
183
|
+
paddingVertical: 16
|
|
184
|
+
}
|
|
185
|
+
});
|
|
180
186
|
//# sourceMappingURL=LegalDocumentsScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_theme","_groupedSection","_core","_useSurfaceHeader","_SettingsIcon","_useI18n","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LOG_COMPONENT","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","STEP_TO_DOCUMENT","LegalDocumentsScreen","onClose","goBack","initialStep","useI18n","bloomTheme","useTheme","loading","setLoading","useState","documentType","handleOpenPolicy","useCallback","policyKey","url","canOpen","Linking","canOpenURL","openURL","toast","error","logger","component","React","useEffect","getPolicyTitle","key","titles","useSurfaceHeader","title","jsx","View","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_theme","_groupedSection","_core","_useSurfaceHeader","_SettingsIcon","_useI18n","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LOG_COMPONENT","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","STEP_TO_DOCUMENT","LegalDocumentsScreen","onClose","goBack","initialStep","useI18n","bloomTheme","useTheme","loading","setLoading","useState","documentType","handleOpenPolicy","useCallback","policyKey","url","canOpen","Linking","canOpenURL","openURL","toast","error","logger","component","React","useEffect","getPolicyTitle","key","titles","useSurfaceHeader","title","jsx","View","style","styles","section","children","jsxs","GroupedSection","GroupedSectionItem","icon","SettingsIcon","name","color","colors","success","description","onPress","disabled","primary","secondary","warning","info","textTertiary","_default","exports","memo","StyleSheet","create","paddingHorizontal","paddingVertical"],"sourceRoot":"../../../../src","sources":["ui/screens/LegalDocumentsScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AAEA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AAA2C,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CA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zE,CAAC,CAAC,6BAA6B,CAAC,IAAI,6CACrC;QACD0E,OAAO,EAAEnC,gBAAgB,CAAC,QAAQ,CAAE;QACpCoC,QAAQ,EAAExC;MAAQ,CACnB,CAAC;IAAA,CACY;EAAC,CACb,CAAC;AAEX,CAAC;AAAC,IAAA8C,QAAA,GAAAC,OAAA,CAAAzE,OAAA,gBAEa0C,cAAK,CAACgC,IAAI,CAACvD,oBAAoB,CAAC;AAE/C,MAAMiC,MAAM,GAAGuB,uBAAU,CAACC,MAAM,CAAC;EAC/BvB,OAAO,EAAE;IAAEwB,iBAAiB,EAAE,EAAE;IAAEC,eAAe,EAAE;EAAG;AACxD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -43,6 +43,7 @@ const ManageAccountScreen = ({
|
|
|
43
43
|
navigate,
|
|
44
44
|
section
|
|
45
45
|
}) => {
|
|
46
|
+
const themed = useThemedStyles();
|
|
46
47
|
const bloomTheme = (0, _theme.useTheme)();
|
|
47
48
|
const {
|
|
48
49
|
t,
|
|
@@ -63,7 +64,7 @@ const ManageAccountScreen = ({
|
|
|
63
64
|
hasIdentity
|
|
64
65
|
} = (0, _oxyRuntimeContext.useOxy)();
|
|
65
66
|
const {
|
|
66
|
-
|
|
67
|
+
value: userFromQuery,
|
|
67
68
|
isLoading: userLoading
|
|
68
69
|
} = (0, _useAccountQueries.useCurrentUser)({
|
|
69
70
|
enabled: isAuthenticated
|
|
@@ -75,7 +76,7 @@ const ManageAccountScreen = ({
|
|
|
75
76
|
// alike read this single `user`.
|
|
76
77
|
const user = userFromQuery ?? contextUser;
|
|
77
78
|
const {
|
|
78
|
-
|
|
79
|
+
value: subscription
|
|
79
80
|
} = (0, _usePaymentQueries.useUserSubscription)({
|
|
80
81
|
enabled: isAuthenticated
|
|
81
82
|
});
|
|
@@ -204,9 +205,9 @@ const ManageAccountScreen = ({
|
|
|
204
205
|
if (!isAuthenticated) {
|
|
205
206
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
206
207
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
207
|
-
|
|
208
|
+
style: styles.container,
|
|
208
209
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
209
|
-
|
|
210
|
+
style: themed.text,
|
|
210
211
|
children: t('common.status.notSignedIn') || 'Not signed in'
|
|
211
212
|
})
|
|
212
213
|
})
|
|
@@ -214,7 +215,7 @@ const ManageAccountScreen = ({
|
|
|
214
215
|
}
|
|
215
216
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
216
217
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
217
|
-
|
|
218
|
+
style: styles.section,
|
|
218
219
|
children: [section !== 'data' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
219
220
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ProfileSummaryCard.default, {
|
|
220
221
|
displayName: displayName,
|
|
@@ -472,9 +473,9 @@ const ManageAccountScreen = ({
|
|
|
472
473
|
}) : undefined
|
|
473
474
|
})
|
|
474
475
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
475
|
-
|
|
476
|
+
style: styles.container2,
|
|
476
477
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
477
|
-
|
|
478
|
+
style: themed.mutedText,
|
|
478
479
|
children: t('accountCenter.version', {
|
|
479
480
|
version: _core.packageInfo.version
|
|
480
481
|
}) || `Version ${_core.packageInfo.version}`
|
|
@@ -494,7 +495,33 @@ const ManageAccountScreen = ({
|
|
|
494
495
|
const styles = _reactNative.StyleSheet.create({
|
|
495
496
|
footerSpacer: {
|
|
496
497
|
height: 24
|
|
498
|
+
},
|
|
499
|
+
container: {
|
|
500
|
+
alignItems: 'center',
|
|
501
|
+
paddingVertical: 40
|
|
502
|
+
},
|
|
503
|
+
section: {
|
|
504
|
+
paddingHorizontal: 20,
|
|
505
|
+
paddingBottom: 24
|
|
506
|
+
},
|
|
507
|
+
container2: {
|
|
508
|
+
marginTop: 12,
|
|
509
|
+
marginBottom: 8,
|
|
510
|
+
alignItems: 'center'
|
|
497
511
|
}
|
|
498
512
|
});
|
|
499
513
|
var _default = exports.default = ManageAccountScreen;
|
|
514
|
+
const useThemedStyles = (0, _theme.createTokenStyles)(t => ({
|
|
515
|
+
text: {
|
|
516
|
+
fontSize: 16,
|
|
517
|
+
fontWeight: 500,
|
|
518
|
+
color: t.foreground,
|
|
519
|
+
lineHeight: 24
|
|
520
|
+
},
|
|
521
|
+
mutedText: {
|
|
522
|
+
fontSize: 12,
|
|
523
|
+
color: t.mutedForeground,
|
|
524
|
+
lineHeight: 16
|
|
525
|
+
}
|
|
526
|
+
}));
|
|
500
527
|
//# sourceMappingURL=ManageAccountScreen.js.map
|