@oxyhq/services 23.0.2 → 23.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/assets/icons/OxyServices.js +51 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/index.js +897 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/notifications/deviceNotifications.js +443 -0
- package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +198 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +137 -0
- package/lib/commonjs/ui/client.js.map +1 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +257 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +195 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js +401 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js +497 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +313 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +289 -0
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileButton.js +348 -0
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js +229 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +527 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +90 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +61 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js +170 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +153 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +54 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/types.js +70 -0
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/constants.js +59 -0
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/types.js +6 -0
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/internal/PinInput.js +116 -0
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/commonjs/ui/components/oauthNavigation.js +83 -0
- package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js +53 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/commonjs/ui/components/payment/types.js +6 -0
- package/lib/commonjs/ui/components/payment/types.js.map +1 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/commonjs/ui/components/styles/overlay.js +83 -0
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
- package/lib/commonjs/ui/components/styles/shadow.js +127 -0
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js +50 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +1235 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js +104 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +316 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
- package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +111 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +681 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +144 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js +286 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +208 -0
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAssets.js +227 -0
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAuth.js +125 -0
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.js +331 -0
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +22 -0
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js +290 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/commonjs/ui/hooks/useStorage.js +45 -0
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +64 -0
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +1 -0
- package/lib/commonjs/ui/index.js +178 -0
- package/lib/commonjs/ui/index.js.map +1 -0
- package/lib/commonjs/ui/isFrontend.js +10 -0
- package/lib/commonjs/ui/isFrontend.js.map +1 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js +86 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +98 -0
- package/lib/commonjs/ui/navigation/routes.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaces.js +338 -0
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js +141 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/commonjs/ui/oauth/types.js +2 -0
- package/lib/commonjs/ui/oauth/types.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +401 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +239 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +307 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +318 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js +168 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +590 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +502 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +462 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserListScreen.js +295 -0
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/commonjs/ui/screens/linkFormat.js +38 -0
- package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +184 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +223 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +90 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/trustTier.js +23 -0
- package/lib/commonjs/ui/screens/trust/trustTier.js.map +1 -0
- package/lib/commonjs/ui/server.js +86 -0
- package/lib/commonjs/ui/server.js.map +1 -0
- package/lib/commonjs/ui/session/authStore.js +39 -0
- package/lib/commonjs/ui/session/authStore.js.map +1 -0
- package/lib/commonjs/ui/session/createSessionClient.js +58 -0
- package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
- package/lib/commonjs/ui/session/identityBinding.js +95 -0
- package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
- package/lib/commonjs/ui/session/index.js +71 -0
- package/lib/commonjs/ui/session/index.js.map +1 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/commonjs/ui/session/tokenTransport.js +75 -0
- package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
- package/lib/commonjs/ui/stores/accountStore.js +221 -0
- package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +225 -0
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/authStore.js +70 -0
- package/lib/commonjs/ui/stores/authStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followStore.js +549 -0
- package/lib/commonjs/ui/stores/followStore.js.map +1 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +19 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/commonjs/ui/types/fileManagement.js +6 -0
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/types/navigation.js +6 -0
- package/lib/commonjs/ui/types/navigation.js.map +1 -0
- package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
- package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/utils/avatarUtils.js +72 -0
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/colorUtils.js +49 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
- package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
- package/lib/commonjs/ui/utils/fileManagement.js +147 -0
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/utils/iconNames.js +133 -0
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
- package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
- package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
- package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/userUtils.js +70 -0
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
- package/lib/commonjs/utils/hookUtils.js +421 -0
- package/lib/commonjs/utils/hookUtils.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.js +39 -0
- package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/module/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/assets/icons/OxyServices.js +45 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/illustrations/HighFive.js +53 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/index.js +203 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/notifications/deviceNotifications.js +433 -0
- package/lib/module/notifications/deviceNotifications.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/ui/boot/runProviderColdBoot.js +192 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +39 -0
- package/lib/module/ui/client.js.map +1 -0
- package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
- package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +253 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js +190 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/module/ui/components/OxyAuthChooser.js +396 -0
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/module/ui/components/OxyConsentScreen.js +491 -0
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +62 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +310 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +284 -0
- package/lib/module/ui/components/OxySignInButton.js.map +1 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/module/ui/components/ProfileButton.js +342 -0
- package/lib/module/ui/components/ProfileButton.js.map +1 -0
- package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/module/ui/components/RequireOxyAuth.js +292 -0
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/module/ui/components/SettingsIcon.js +40 -0
- package/lib/module/ui/components/SettingsIcon.js.map +1 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/module/ui/components/SurfaceScreen.js +224 -0
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +523 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js +85 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
- package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +57 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/module/ui/components/authChooser/primitives.js +163 -0
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js +143 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/module/ui/components/authChooser/signInProgress.js +50 -0
- package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +216 -0
- package/lib/module/ui/components/authChooser/styles.js.map +1 -0
- package/lib/module/ui/components/authChooser/types.js +66 -0
- package/lib/module/ui/components/authChooser/types.js.map +1 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +55 -0
- package/lib/module/ui/components/feedback/constants.js.map +1 -0
- package/lib/module/ui/components/feedback/types.js +4 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/internal/PinInput.js +111 -0
- package/lib/module/ui/components/internal/PinInput.js.map +1 -0
- package/lib/module/ui/components/logo/LogoIcon.js +55 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +42 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/module/ui/components/oauthNavigation.js +80 -0
- package/lib/module/ui/components/oauthNavigation.js.map +1 -0
- package/lib/module/ui/components/passkeyHubPopup.js +29 -0
- package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +47 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/paymentStyles.js +396 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +4 -0
- package/lib/module/ui/components/payment/types.js.map +1 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/module/ui/components/styles/overlay.js +80 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -0
- package/lib/module/ui/components/styles/shadow.js +123 -0
- package/lib/module/ui/components/styles/shadow.js.map +1 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/module/ui/components/utils/splitStyles.js +46 -0
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/module/ui/constants/spacing.js +45 -0
- package/lib/module/ui/constants/spacing.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +1230 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/commitSessionFlow.js +100 -0
- package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js +311 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/module/ui/context/oxyContextHelpers.js +57 -0
- package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/module/ui/context/oxyContextTypes.js +4 -0
- package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/module/ui/context/passkeyFlow.js +111 -0
- package/lib/module/ui/context/passkeyFlow.js.map +1 -0
- package/lib/module/ui/context/useOxyAccountGraph.js +107 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +672 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +136 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCache.js +282 -0
- package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +201 -0
- package/lib/module/ui/hooks/queryClient.js.map +1 -0
- package/lib/module/ui/hooks/useAssets.js +221 -0
- package/lib/module/ui/hooks/useAssets.js.map +1 -0
- package/lib/module/ui/hooks/useAsyncAction.js +89 -0
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/module/ui/hooks/useAuth.js +121 -0
- package/lib/module/ui/hooks/useAuth.js.map +1 -0
- package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFileFiltering.js +72 -0
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +324 -0
- package/lib/module/ui/hooks/useFollow.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.types.js +4 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/module/ui/hooks/useI18n.js +18 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOxyEvent.js +25 -0
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +129 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +15 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useReduceMotion.js +53 -0
- package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +286 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/module/ui/hooks/useSettingToggle.js +126 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +40 -0
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/module/ui/hooks/useSwitchableAccounts.js +60 -0
- package/lib/module/ui/hooks/useSwitchableAccounts.js.map +1 -0
- package/lib/module/ui/index.js +49 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/isFrontend.js +6 -0
- package/lib/module/ui/isFrontend.js.map +1 -0
- package/lib/module/ui/navigation/accountDialogManager.js +76 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/module/ui/navigation/routes.js +92 -0
- package/lib/module/ui/navigation/routes.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/module/ui/navigation/surfaces.js +325 -0
- package/lib/module/ui/navigation/surfaces.js.map +1 -0
- package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
- package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
- package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/module/ui/oauth/oauthHandshake.js +50 -0
- package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopup.js +268 -0
- package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js +135 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/module/ui/oauth/types.js +2 -0
- package/lib/module/ui/oauth/types.js.map +1 -0
- package/lib/module/ui/screens/AccountMembersScreen.js +396 -0
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +235 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/module/ui/screens/AppInfoScreen.js +368 -0
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js +304 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateAccountScreen.js +313 -0
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileScreen.js +163 -0
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/FAQScreen.js +157 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +588 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowersListScreen.js +12 -0
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowingListScreen.js +12 -0
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/NotificationsScreen.js +145 -0
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +189 -0
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js +497 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +457 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/UserLinksScreen.js +57 -0
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/module/ui/screens/UserListScreen.js +290 -0
- package/lib/module/ui/screens/UserListScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/shared.js +70 -0
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/module/ui/screens/linkFormat.js +31 -0
- package/lib/module/ui/screens/linkFormat.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +179 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +218 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +88 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/trustTier.js +19 -0
- package/lib/module/ui/screens/trust/trustTier.js.map +1 -0
- package/lib/module/ui/server.js +56 -0
- package/lib/module/ui/server.js.map +1 -0
- package/lib/module/ui/session/authStore.js +35 -0
- package/lib/module/ui/session/authStore.js.map +1 -0
- package/lib/module/ui/session/createSessionClient.js +55 -0
- package/lib/module/ui/session/createSessionClient.js.map +1 -0
- package/lib/module/ui/session/identityBinding.js +89 -0
- package/lib/module/ui/session/identityBinding.js.map +1 -0
- package/lib/module/ui/session/index.js +20 -0
- package/lib/module/ui/session/index.js.map +1 -0
- package/lib/module/ui/session/nativeSecureStorage.js +88 -0
- package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/module/ui/session/tokenTransport.js +71 -0
- package/lib/module/ui/session/tokenTransport.js.map +1 -0
- package/lib/module/ui/stores/accountStore.js +213 -0
- package/lib/module/ui/stores/accountStore.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +212 -0
- package/lib/module/ui/stores/assetStore.js.map +1 -0
- package/lib/module/ui/stores/authStore.js +66 -0
- package/lib/module/ui/stores/authStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +544 -0
- package/lib/module/ui/stores/followStore.js.map +1 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js +16 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/module/ui/types/fileManagement.js +4 -0
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +4 -0
- package/lib/module/ui/types/navigation.js.map +1 -0
- package/lib/module/ui/types/surfaceScreen.js +4 -0
- package/lib/module/ui/types/surfaceScreen.js.map +1 -0
- package/lib/module/ui/utils/avatarUtils.js +68 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +13 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
- package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/module/ui/utils/deliveryPlatform.js +55 -0
- package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/module/ui/utils/deviceCredential.js +18 -0
- package/lib/module/ui/utils/deviceCredential.js.map +1 -0
- package/lib/module/ui/utils/errorHandlers.js +129 -0
- package/lib/module/ui/utils/errorHandlers.js.map +1 -0
- package/lib/module/ui/utils/fileManagement.js +140 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/iconNames.js +124 -0
- package/lib/module/ui/utils/iconNames.js.map +1 -0
- package/lib/module/ui/utils/isWebBrowser.js +11 -0
- package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/module/ui/utils/netConnectivity.js +23 -0
- package/lib/module/ui/utils/netConnectivity.js.map +1 -0
- package/lib/module/ui/utils/oauthReturn.js +122 -0
- package/lib/module/ui/utils/oauthReturn.js.map +1 -0
- package/lib/module/ui/utils/sessionHelpers.js +55 -0
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +111 -0
- package/lib/module/ui/utils/storageHelpers.js.map +1 -0
- package/lib/module/ui/utils/userUtils.js +64 -0
- package/lib/module/ui/utils/userUtils.js.map +1 -0
- package/lib/module/utils/hookUtils.js +403 -0
- package/lib/module/utils/hookUtils.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.js +33 -0
- package/lib/module/webauthn/passkeyClient.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.native.js +28 -0
- package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.web.js +52 -0
- package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +100 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/client.d.ts +30 -0
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +112 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +56 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +55 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +58 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +103 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +39 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +74 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +189 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +32 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +137 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +212 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +96 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +66 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +107 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +5 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +39 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +44 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +6 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/server.d.ts +36 -0
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +25 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts +19 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +27 -0
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +17 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +120 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +28 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +30 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +100 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/module/ui/client.d.ts +30 -0
- package/lib/typescript/module/ui/client.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +112 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +56 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +32 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +55 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +58 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +103 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +43 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts +7 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +39 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +74 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +189 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +32 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +137 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +212 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +96 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +66 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +107 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +5 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +39 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +44 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts +6 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/trustTier.d.ts +9 -0
- package/lib/typescript/module/ui/screens/trust/trustTier.d.ts.map +1 -0
- package/lib/typescript/module/ui/server.d.ts +36 -0
- package/lib/typescript/module/ui/server.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/authStore.d.ts +25 -0
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/index.d.ts +19 -0
- package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/accountStore.d.ts +27 -0
- package/lib/typescript/module/ui/stores/accountStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts +17 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/navigation.d.ts +120 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +24 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +28 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts +30 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/nativewind-env.d.ts +1 -0
- package/lib/typescript/types/expo-crypto.d.ts +29 -0
- package/lib/typescript/types/expo-document-picker.d.ts +36 -0
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/lib/typescript/types/expo-secure-store.d.ts +22 -0
- package/lib/typescript/types/express.d.ts +24 -0
- package/lib/typescript/types/react-native-classname.d.ts +39 -0
- package/lib/typescript/types/react-native-web-style.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useMemo, useState, useEffect } from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { useSurfaceHeader } from "../../hooks/useSurfaceHeader.js";
|
|
6
|
+
import Ionicons from '@expo/vector-icons/Ionicons';
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
|
+
import { H1, H4, H5, Text } from '@oxyhq/bloom/typography';
|
|
9
|
+
import { useI18n } from "../../hooks/useI18n.js";
|
|
10
|
+
import { useOxy } from "../../context/OxyContext.js";
|
|
11
|
+
import { darkenColor, lightenColor } from "../../utils/colorUtils.js";
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
/**
|
|
14
|
+
* Per-achievement identity tints. Like the trust-tier palette in `trustTier.ts`,
|
|
15
|
+
* these are data, not theme surfaces — they brand each badge regardless of theme.
|
|
16
|
+
*/
|
|
17
|
+
const ACHIEVEMENT_TINT = {
|
|
18
|
+
gray: '#8E8E93',
|
|
19
|
+
green: '#34C759',
|
|
20
|
+
blue: '#007AFF',
|
|
21
|
+
orange: '#FF9500',
|
|
22
|
+
purple: '#AF52DE',
|
|
23
|
+
pink: '#FF2D55',
|
|
24
|
+
gold: '#FFD700',
|
|
25
|
+
red: '#FF3B30',
|
|
26
|
+
indigo: '#5E5CE6'
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** Rarity-tier identity tints for the corner rarity accent. */
|
|
30
|
+
const RARITY_TINT = {
|
|
31
|
+
legendary: ACHIEVEMENT_TINT.gold,
|
|
32
|
+
epic: ACHIEVEMENT_TINT.purple,
|
|
33
|
+
rare: ACHIEVEMENT_TINT.blue,
|
|
34
|
+
common: ''
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** Contrast-locked foreground for icons/value text painted over a colored badge fill. */
|
|
38
|
+
const BADGE_ON_COLOR = '#FFFFFF';
|
|
39
|
+
|
|
40
|
+
/** Reputation thresholds that unlock each milestone, and the value shown on its badge. */
|
|
41
|
+
const ACHIEVEMENT_VALUE = {
|
|
42
|
+
'first-step': 1,
|
|
43
|
+
novice: 10,
|
|
44
|
+
contributor: 50,
|
|
45
|
+
'rising-star': 100,
|
|
46
|
+
'early-adopter': 200,
|
|
47
|
+
'community-hero': 500,
|
|
48
|
+
legend: 1000,
|
|
49
|
+
phoenix: 2500,
|
|
50
|
+
unstoppable: 5000,
|
|
51
|
+
helper: 10,
|
|
52
|
+
'streak-master': 7
|
|
53
|
+
};
|
|
54
|
+
const BADGE_BORDER_WIDTH = 5;
|
|
55
|
+
const BADGE_GLOW_OPACITY = 0.3;
|
|
56
|
+
const BADGE_DARKEN = 0.45;
|
|
57
|
+
const BADGE_LIGHTEN = 0.25;
|
|
58
|
+
const RARITY_DARKEN = 0.4;
|
|
59
|
+
const ACCENT_LIGHTEN = 0.1;
|
|
60
|
+
const LOCKED_OPACITY = 0.5;
|
|
61
|
+
const TrustRewardsScreen = () => {
|
|
62
|
+
const {
|
|
63
|
+
t
|
|
64
|
+
} = useI18n();
|
|
65
|
+
// Reputation/trust is the ACTIVE account's standing (the org/project/bot
|
|
66
|
+
// when switched, else the personal user).
|
|
67
|
+
const {
|
|
68
|
+
user,
|
|
69
|
+
oxyServices,
|
|
70
|
+
isAuthenticated
|
|
71
|
+
} = useOxy();
|
|
72
|
+
useSurfaceHeader({
|
|
73
|
+
title: t('trust.rewards.title') || 'Trust Rewards',
|
|
74
|
+
subtitle: t('trust.rewards.subtitle') || 'Unlock special features and recognition'
|
|
75
|
+
});
|
|
76
|
+
const [reputationTotal, setReputationTotal] = useState(0);
|
|
77
|
+
const [, setIsLoading] = useState(true);
|
|
78
|
+
const bloomTheme = useTheme();
|
|
79
|
+
const colors = bloomTheme.colors;
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
if (!user || !isAuthenticated) {
|
|
82
|
+
setIsLoading(false);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
setIsLoading(true);
|
|
86
|
+
oxyServices.getReputationBalance(user.id).then(balance => {
|
|
87
|
+
setReputationTotal(balance.total || 0);
|
|
88
|
+
}).catch(() => {
|
|
89
|
+
setReputationTotal(0);
|
|
90
|
+
}).finally(() => setIsLoading(false));
|
|
91
|
+
}, [user, isAuthenticated, oxyServices]);
|
|
92
|
+
const achievements = useMemo(() => [{
|
|
93
|
+
id: 'first-step',
|
|
94
|
+
name: t('trust.achievements.firstStep') || 'First Step',
|
|
95
|
+
description: t('trust.achievements.firstStepDesc') || 'Earned your first reputation point',
|
|
96
|
+
category: 'milestone',
|
|
97
|
+
icon: 'footsteps',
|
|
98
|
+
iconColor: ACHIEVEMENT_TINT.gray,
|
|
99
|
+
unlocked: reputationTotal >= 1,
|
|
100
|
+
rarity: 'common'
|
|
101
|
+
}, {
|
|
102
|
+
id: 'novice',
|
|
103
|
+
name: t('trust.achievements.novice') || 'Novice',
|
|
104
|
+
description: t('trust.achievements.noviceDesc') || 'Reached 10 reputation points',
|
|
105
|
+
category: 'milestone',
|
|
106
|
+
icon: 'leaf',
|
|
107
|
+
iconColor: ACHIEVEMENT_TINT.green,
|
|
108
|
+
unlocked: reputationTotal >= 10,
|
|
109
|
+
rarity: 'common'
|
|
110
|
+
}, {
|
|
111
|
+
id: 'contributor',
|
|
112
|
+
name: t('trust.achievements.contributor') || 'Contributor',
|
|
113
|
+
description: t('trust.achievements.contributorDesc') || 'Reached 50 reputation points',
|
|
114
|
+
category: 'contribution',
|
|
115
|
+
icon: 'people',
|
|
116
|
+
iconColor: ACHIEVEMENT_TINT.blue,
|
|
117
|
+
unlocked: reputationTotal >= 50,
|
|
118
|
+
rarity: 'common'
|
|
119
|
+
}, {
|
|
120
|
+
id: 'rising-star',
|
|
121
|
+
name: t('trust.achievements.risingStar') || 'Rising Star',
|
|
122
|
+
description: t('trust.achievements.risingStarDesc') || 'Reached 100 reputation points',
|
|
123
|
+
category: 'milestone',
|
|
124
|
+
icon: 'star',
|
|
125
|
+
iconColor: ACHIEVEMENT_TINT.orange,
|
|
126
|
+
unlocked: reputationTotal >= 100,
|
|
127
|
+
rarity: 'rare'
|
|
128
|
+
}, {
|
|
129
|
+
id: 'early-adopter',
|
|
130
|
+
name: t('trust.achievements.earlyAdopter') || 'Early Adopter',
|
|
131
|
+
description: t('trust.achievements.earlyAdopterDesc') || 'Been part of the community from the start',
|
|
132
|
+
category: 'special',
|
|
133
|
+
icon: 'rocket',
|
|
134
|
+
iconColor: ACHIEVEMENT_TINT.purple,
|
|
135
|
+
unlocked: reputationTotal >= 200,
|
|
136
|
+
rarity: 'rare'
|
|
137
|
+
}, {
|
|
138
|
+
id: 'community-hero',
|
|
139
|
+
name: t('trust.achievements.communityHero') || 'Community Hero',
|
|
140
|
+
description: t('trust.achievements.communityHeroDesc') || 'Reached 500 reputation points',
|
|
141
|
+
category: 'contribution',
|
|
142
|
+
icon: 'shield',
|
|
143
|
+
iconColor: ACHIEVEMENT_TINT.pink,
|
|
144
|
+
unlocked: reputationTotal >= 500,
|
|
145
|
+
rarity: 'epic'
|
|
146
|
+
}, {
|
|
147
|
+
id: 'legend',
|
|
148
|
+
name: t('trust.achievements.legend') || 'Legend',
|
|
149
|
+
description: t('trust.achievements.legendDesc') || 'Reached 1000 reputation points',
|
|
150
|
+
category: 'milestone',
|
|
151
|
+
icon: 'trophy',
|
|
152
|
+
iconColor: ACHIEVEMENT_TINT.gold,
|
|
153
|
+
unlocked: reputationTotal >= 1000,
|
|
154
|
+
rarity: 'legendary'
|
|
155
|
+
}, {
|
|
156
|
+
id: 'phoenix',
|
|
157
|
+
name: t('trust.achievements.phoenix') || 'Phoenix',
|
|
158
|
+
description: t('trust.achievements.phoenixDesc') || 'Reached 2500 reputation points',
|
|
159
|
+
category: 'milestone',
|
|
160
|
+
icon: 'flame',
|
|
161
|
+
iconColor: ACHIEVEMENT_TINT.red,
|
|
162
|
+
unlocked: reputationTotal >= 2500,
|
|
163
|
+
rarity: 'legendary'
|
|
164
|
+
}, {
|
|
165
|
+
id: 'unstoppable',
|
|
166
|
+
name: t('trust.achievements.unstoppable') || 'Unstoppable',
|
|
167
|
+
description: t('trust.achievements.unstoppableDesc') || 'Reached 5000 reputation points',
|
|
168
|
+
category: 'milestone',
|
|
169
|
+
icon: 'infinite',
|
|
170
|
+
iconColor: ACHIEVEMENT_TINT.indigo,
|
|
171
|
+
unlocked: reputationTotal >= 5000,
|
|
172
|
+
rarity: 'legendary'
|
|
173
|
+
}, {
|
|
174
|
+
id: 'bug-hunter',
|
|
175
|
+
name: t('trust.achievements.bugHunter') || 'Bug Hunter',
|
|
176
|
+
description: t('trust.achievements.bugHunterDesc') || 'Reported helpful bugs',
|
|
177
|
+
category: 'contribution',
|
|
178
|
+
icon: 'bug',
|
|
179
|
+
iconColor: ACHIEVEMENT_TINT.orange,
|
|
180
|
+
unlocked: false,
|
|
181
|
+
rarity: 'rare'
|
|
182
|
+
}, {
|
|
183
|
+
id: 'helper',
|
|
184
|
+
name: t('trust.achievements.helper') || 'Helper',
|
|
185
|
+
description: t('trust.achievements.helperDesc') || 'Helped 10 users',
|
|
186
|
+
category: 'contribution',
|
|
187
|
+
icon: 'hand-left',
|
|
188
|
+
iconColor: ACHIEVEMENT_TINT.green,
|
|
189
|
+
unlocked: false,
|
|
190
|
+
rarity: 'common'
|
|
191
|
+
}, {
|
|
192
|
+
id: 'streak-master',
|
|
193
|
+
name: t('trust.achievements.streakMaster') || 'Streak Master',
|
|
194
|
+
description: t('trust.achievements.streakMasterDesc') || '7 day activity streak',
|
|
195
|
+
category: 'streak',
|
|
196
|
+
icon: 'flash',
|
|
197
|
+
iconColor: ACHIEVEMENT_TINT.gold,
|
|
198
|
+
unlocked: false,
|
|
199
|
+
rarity: 'epic'
|
|
200
|
+
}], [t, reputationTotal]);
|
|
201
|
+
const unlockedAchievements = achievements.filter(a => a.unlocked);
|
|
202
|
+
const lockedAchievements = achievements.filter(a => !a.unlocked);
|
|
203
|
+
const getRarityColor = rarity => RARITY_TINT[rarity] || colors.textTertiary;
|
|
204
|
+
const getAchievementValue = achievement => ACHIEVEMENT_VALUE[achievement.id] ?? null;
|
|
205
|
+
const renderAchievement = achievement => {
|
|
206
|
+
const rarityColor = getRarityColor(achievement.rarity);
|
|
207
|
+
const isLocked = !achievement.unlocked;
|
|
208
|
+
const achievementValue = getAchievementValue(achievement);
|
|
209
|
+
|
|
210
|
+
// Two-tone colors: darker for borders/shadow, lighter for highlights.
|
|
211
|
+
// Use the achievement identity tint for unlocked badges, neutral for locked.
|
|
212
|
+
const baseColor = isLocked ? colors.textTertiary : achievement.iconColor || colors.textTertiary;
|
|
213
|
+
const darkTone = darkenColor(baseColor, BADGE_DARKEN);
|
|
214
|
+
const lightTone = lightenColor(baseColor, BADGE_LIGHTEN);
|
|
215
|
+
const mediumTone = baseColor;
|
|
216
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
217
|
+
className: "bg-fill rounded-radius-20 items-center",
|
|
218
|
+
style: styles.achievementCard,
|
|
219
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
220
|
+
style: styles.badgeContainer,
|
|
221
|
+
children: [!isLocked && /*#__PURE__*/_jsx(View, {
|
|
222
|
+
style: [styles.badgeGlow, styles.badgeOrganic, {
|
|
223
|
+
backgroundColor: darkTone,
|
|
224
|
+
opacity: BADGE_GLOW_OPACITY
|
|
225
|
+
}]
|
|
226
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
227
|
+
style: [styles.badgeMain, styles.badgeOrganic, {
|
|
228
|
+
backgroundColor: isLocked ? colors.border : mediumTone,
|
|
229
|
+
borderColor: darkTone,
|
|
230
|
+
borderWidth: BADGE_BORDER_WIDTH,
|
|
231
|
+
shadowColor: darkTone
|
|
232
|
+
}],
|
|
233
|
+
children: [!isLocked && /*#__PURE__*/_jsxs(_Fragment, {
|
|
234
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
235
|
+
style: [styles.badgeHighlight, {
|
|
236
|
+
backgroundColor: lightTone
|
|
237
|
+
}]
|
|
238
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
239
|
+
style: [styles.badgeHighlightAccent, {
|
|
240
|
+
backgroundColor: lightenColor(lightTone, ACCENT_LIGHTEN)
|
|
241
|
+
}]
|
|
242
|
+
})]
|
|
243
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
244
|
+
style: styles.badgeIconContainer,
|
|
245
|
+
children: isLocked ? /*#__PURE__*/_jsx(Ionicons, {
|
|
246
|
+
name: "lock-closed",
|
|
247
|
+
size: 40,
|
|
248
|
+
color: colors.textTertiary
|
|
249
|
+
}) : /*#__PURE__*/_jsx(Ionicons, {
|
|
250
|
+
name: achievement.icon,
|
|
251
|
+
size: 40,
|
|
252
|
+
color: BADGE_ON_COLOR
|
|
253
|
+
})
|
|
254
|
+
}), achievementValue !== null && !isLocked && /*#__PURE__*/_jsx(View, {
|
|
255
|
+
style: styles.badgeValueContainer,
|
|
256
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
257
|
+
style: [styles.badgeValueText, {
|
|
258
|
+
color: lightTone,
|
|
259
|
+
textShadowColor: darkTone
|
|
260
|
+
}],
|
|
261
|
+
children: achievementValue
|
|
262
|
+
})
|
|
263
|
+
})]
|
|
264
|
+
}), achievement.unlocked && /*#__PURE__*/_jsx(View, {
|
|
265
|
+
style: [styles.rarityBadge, {
|
|
266
|
+
backgroundColor: rarityColor,
|
|
267
|
+
borderColor: darkenColor(rarityColor, RARITY_DARKEN)
|
|
268
|
+
}],
|
|
269
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
270
|
+
style: [styles.rarityText, {
|
|
271
|
+
color: BADGE_ON_COLOR
|
|
272
|
+
}],
|
|
273
|
+
children: achievement.rarity[0].toUpperCase()
|
|
274
|
+
})
|
|
275
|
+
})]
|
|
276
|
+
}), /*#__PURE__*/_jsx(H5, {
|
|
277
|
+
className: "text-text text-center",
|
|
278
|
+
style: isLocked ? styles.lockedDimmed : undefined,
|
|
279
|
+
numberOfLines: 2,
|
|
280
|
+
children: achievement.name
|
|
281
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
282
|
+
className: "text-text-tertiary text-center text-xs mt-space-2",
|
|
283
|
+
style: isLocked ? styles.lockedDimmed : undefined,
|
|
284
|
+
children: achievement.description
|
|
285
|
+
})]
|
|
286
|
+
}, achievement.id);
|
|
287
|
+
};
|
|
288
|
+
if (!isAuthenticated) {
|
|
289
|
+
return /*#__PURE__*/_jsx(View, {
|
|
290
|
+
className: "items-center justify-center px-screen-margin py-space-40",
|
|
291
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
292
|
+
className: "text-text text-base text-center",
|
|
293
|
+
children: t('common.status.notSignedIn') || 'Not signed in'
|
|
294
|
+
})
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
const progressRatio = achievements.length > 0 ? unlockedAchievements.length / achievements.length : 0;
|
|
298
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
299
|
+
className: "px-screen-margin pt-space-20 pb-space-40",
|
|
300
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
301
|
+
className: "bg-fill rounded-radius-20 p-space-20 mb-space-24",
|
|
302
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
303
|
+
className: "flex-row justify-between items-center mb-space-16",
|
|
304
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
305
|
+
children: [/*#__PURE__*/_jsx(H1, {
|
|
306
|
+
className: "text-text",
|
|
307
|
+
style: {
|
|
308
|
+
color: colors.primary
|
|
309
|
+
},
|
|
310
|
+
children: reputationTotal
|
|
311
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
312
|
+
className: "text-text-tertiary text-sm",
|
|
313
|
+
children: t('trust.center.balance') || 'Reputation Points'
|
|
314
|
+
})]
|
|
315
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
316
|
+
className: "items-end",
|
|
317
|
+
children: [/*#__PURE__*/_jsx(H1, {
|
|
318
|
+
className: "text-text",
|
|
319
|
+
style: {
|
|
320
|
+
color: colors.primary
|
|
321
|
+
},
|
|
322
|
+
children: unlockedAchievements.length
|
|
323
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
324
|
+
className: "text-text-tertiary text-sm",
|
|
325
|
+
children: t('trust.achievements.unlocked') || 'Achievements'
|
|
326
|
+
})]
|
|
327
|
+
})]
|
|
328
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
329
|
+
className: "mt-space-8",
|
|
330
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
331
|
+
className: "rounded-radius-full overflow-hidden mb-space-8",
|
|
332
|
+
style: [styles.progressBar, {
|
|
333
|
+
backgroundColor: colors.border
|
|
334
|
+
}],
|
|
335
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
336
|
+
className: "rounded-radius-full",
|
|
337
|
+
style: [styles.progressBarFill, {
|
|
338
|
+
width: `${progressRatio * 100}%`,
|
|
339
|
+
backgroundColor: colors.primary
|
|
340
|
+
}]
|
|
341
|
+
})
|
|
342
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
343
|
+
className: "text-text-tertiary text-xs text-right",
|
|
344
|
+
children: [unlockedAchievements.length, " / ", achievements.length]
|
|
345
|
+
})]
|
|
346
|
+
})]
|
|
347
|
+
}), unlockedAchievements.length > 0 && /*#__PURE__*/_jsxs(_Fragment, {
|
|
348
|
+
children: [/*#__PURE__*/_jsx(H4, {
|
|
349
|
+
className: "text-text mt-space-8",
|
|
350
|
+
children: t('trust.achievements.unlocked') || 'Unlocked Achievements'
|
|
351
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
352
|
+
style: styles.achievementsGrid,
|
|
353
|
+
children: unlockedAchievements.map(achievement => renderAchievement(achievement))
|
|
354
|
+
})]
|
|
355
|
+
}), lockedAchievements.length > 0 && /*#__PURE__*/_jsxs(_Fragment, {
|
|
356
|
+
children: [/*#__PURE__*/_jsx(H4, {
|
|
357
|
+
className: "text-text mt-space-8",
|
|
358
|
+
children: t('trust.achievements.locked') || 'Locked Achievements'
|
|
359
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
360
|
+
style: styles.achievementsGrid,
|
|
361
|
+
children: lockedAchievements.map(achievement => renderAchievement(achievement))
|
|
362
|
+
})]
|
|
363
|
+
})]
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
// Measured/positioned layout only — no color, no theme surfaces.
|
|
368
|
+
const styles = StyleSheet.create({
|
|
369
|
+
lockedDimmed: {
|
|
370
|
+
opacity: LOCKED_OPACITY
|
|
371
|
+
},
|
|
372
|
+
progressBar: {
|
|
373
|
+
height: 8
|
|
374
|
+
},
|
|
375
|
+
progressBarFill: {
|
|
376
|
+
height: '100%'
|
|
377
|
+
},
|
|
378
|
+
achievementsGrid: {
|
|
379
|
+
flexDirection: 'row',
|
|
380
|
+
flexWrap: 'wrap',
|
|
381
|
+
gap: 20,
|
|
382
|
+
marginBottom: 24,
|
|
383
|
+
justifyContent: 'space-between'
|
|
384
|
+
},
|
|
385
|
+
achievementCard: {
|
|
386
|
+
width: '47%',
|
|
387
|
+
minWidth: 140,
|
|
388
|
+
padding: 20,
|
|
389
|
+
paddingTop: 24
|
|
390
|
+
},
|
|
391
|
+
badgeContainer: {
|
|
392
|
+
alignItems: 'center',
|
|
393
|
+
justifyContent: 'center',
|
|
394
|
+
marginBottom: 12,
|
|
395
|
+
position: 'relative',
|
|
396
|
+
width: 120,
|
|
397
|
+
height: 120
|
|
398
|
+
},
|
|
399
|
+
badgeGlow: {
|
|
400
|
+
position: 'absolute',
|
|
401
|
+
width: 135,
|
|
402
|
+
height: 135,
|
|
403
|
+
borderRadius: 67.5,
|
|
404
|
+
shadowOffset: {
|
|
405
|
+
width: 0,
|
|
406
|
+
height: 6
|
|
407
|
+
},
|
|
408
|
+
shadowRadius: 15,
|
|
409
|
+
shadowOpacity: 0.4,
|
|
410
|
+
elevation: 10
|
|
411
|
+
},
|
|
412
|
+
badgeOrganic: {
|
|
413
|
+
width: 120,
|
|
414
|
+
height: 120,
|
|
415
|
+
// More organic blob shape with varied border radius (like Duolingo)
|
|
416
|
+
borderTopLeftRadius: 48,
|
|
417
|
+
borderTopRightRadius: 52,
|
|
418
|
+
borderBottomLeftRadius: 52,
|
|
419
|
+
borderBottomRightRadius: 48,
|
|
420
|
+
alignItems: 'center',
|
|
421
|
+
justifyContent: 'center'
|
|
422
|
+
},
|
|
423
|
+
badgeMain: {
|
|
424
|
+
position: 'absolute',
|
|
425
|
+
shadowOffset: {
|
|
426
|
+
width: 0,
|
|
427
|
+
height: 6
|
|
428
|
+
},
|
|
429
|
+
shadowRadius: 12,
|
|
430
|
+
shadowOpacity: 0.5,
|
|
431
|
+
elevation: 8
|
|
432
|
+
},
|
|
433
|
+
badgeHighlight: {
|
|
434
|
+
position: 'absolute',
|
|
435
|
+
top: 0,
|
|
436
|
+
left: 0,
|
|
437
|
+
right: 0,
|
|
438
|
+
height: '50%',
|
|
439
|
+
borderTopLeftRadius: 48,
|
|
440
|
+
borderTopRightRadius: 52,
|
|
441
|
+
opacity: 0.6
|
|
442
|
+
},
|
|
443
|
+
badgeHighlightAccent: {
|
|
444
|
+
position: 'absolute',
|
|
445
|
+
top: 0,
|
|
446
|
+
left: 0,
|
|
447
|
+
right: 0,
|
|
448
|
+
height: '30%',
|
|
449
|
+
borderTopLeftRadius: 48,
|
|
450
|
+
borderTopRightRadius: 52,
|
|
451
|
+
opacity: 0.3
|
|
452
|
+
},
|
|
453
|
+
badgeIconContainer: {
|
|
454
|
+
position: 'absolute',
|
|
455
|
+
top: 8,
|
|
456
|
+
left: 0,
|
|
457
|
+
right: 0,
|
|
458
|
+
alignItems: 'center',
|
|
459
|
+
justifyContent: 'flex-start',
|
|
460
|
+
zIndex: 10,
|
|
461
|
+
paddingTop: 12
|
|
462
|
+
},
|
|
463
|
+
badgeValueContainer: {
|
|
464
|
+
position: 'absolute',
|
|
465
|
+
bottom: 8,
|
|
466
|
+
left: 0,
|
|
467
|
+
right: 0,
|
|
468
|
+
alignItems: 'center',
|
|
469
|
+
justifyContent: 'center',
|
|
470
|
+
zIndex: 10
|
|
471
|
+
},
|
|
472
|
+
badgeValueText: {
|
|
473
|
+
fontSize: 32,
|
|
474
|
+
fontWeight: 'bold',
|
|
475
|
+
textShadowOffset: {
|
|
476
|
+
width: 0,
|
|
477
|
+
height: 2
|
|
478
|
+
},
|
|
479
|
+
textShadowRadius: 4,
|
|
480
|
+
letterSpacing: -1
|
|
481
|
+
},
|
|
482
|
+
rarityBadge: {
|
|
483
|
+
position: 'absolute',
|
|
484
|
+
top: -6,
|
|
485
|
+
right: -6,
|
|
486
|
+
width: 32,
|
|
487
|
+
height: 32,
|
|
488
|
+
borderRadius: 16,
|
|
489
|
+
alignItems: 'center',
|
|
490
|
+
justifyContent: 'center',
|
|
491
|
+
borderWidth: 3,
|
|
492
|
+
shadowColor: '#000',
|
|
493
|
+
shadowOffset: {
|
|
494
|
+
width: 0,
|
|
495
|
+
height: 2
|
|
496
|
+
},
|
|
497
|
+
shadowOpacity: 0.4,
|
|
498
|
+
shadowRadius: 4,
|
|
499
|
+
elevation: 5
|
|
500
|
+
},
|
|
501
|
+
rarityText: {
|
|
502
|
+
fontSize: 14,
|
|
503
|
+
fontWeight: 'bold'
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
export default TrustRewardsScreen;
|
|
507
|
+
//# sourceMappingURL=TrustRewardsScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useMemo","useState","useEffect","View","StyleSheet","useSurfaceHeader","Ionicons","useTheme","H1","H4","H5","Text","useI18n","useOxy","darkenColor","lightenColor","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ACHIEVEMENT_TINT","gray","green","blue","orange","purple","pink","gold","red","indigo","RARITY_TINT","legendary","epic","rare","common","BADGE_ON_COLOR","ACHIEVEMENT_VALUE","novice","contributor","legend","phoenix","unstoppable","helper","BADGE_BORDER_WIDTH","BADGE_GLOW_OPACITY","BADGE_DARKEN","BADGE_LIGHTEN","RARITY_DARKEN","ACCENT_LIGHTEN","LOCKED_OPACITY","TrustRewardsScreen","t","user","oxyServices","isAuthenticated","title","subtitle","reputationTotal","setReputationTotal","setIsLoading","bloomTheme","colors","getReputationBalance","id","then","balance","total","catch","finally","achievements","name","description","category","icon","iconColor","unlocked","rarity","unlockedAchievements","filter","a","lockedAchievements","getRarityColor","textTertiary","getAchievementValue","achievement","renderAchievement","rarityColor","isLocked","achievementValue","baseColor","darkTone","lightTone","mediumTone","className","style","styles","achievementCard","children","badgeContainer","badgeGlow","badgeOrganic","backgroundColor","opacity","badgeMain","border","borderColor","borderWidth","shadowColor","badgeHighlight","badgeHighlightAccent","badgeIconContainer","size","color","badgeValueContainer","badgeValueText","textShadowColor","rarityBadge","rarityText","toUpperCase","lockedDimmed","undefined","numberOfLines","progressRatio","length","primary","progressBar","progressBarFill","width","achievementsGrid","map","create","height","flexDirection","flexWrap","gap","marginBottom","justifyContent","minWidth","padding","paddingTop","alignItems","position","borderRadius","shadowOffset","shadowRadius","shadowOpacity","elevation","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","top","left","right","zIndex","bottom","fontSize","fontWeight","textShadowOffset","textShadowRadius","letterSpacing"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustRewardsScreen.tsx"],"mappings":";;AACA,SAASA,OAAO,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,gBAAgB,QAAQ,iCAA8B;AAC/D,OAAOC,QAAQ,MAAM,6BAA6B;AAClD,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,EAAE,EAAEC,EAAE,EAAEC,EAAE,EAAEC,IAAI,QAAQ,yBAAyB;AAC1D,SAASC,OAAO,QAAQ,wBAAqB;AAC7C,SAASC,MAAM,QAAQ,6BAA0B;AACjD,SAASC,WAAW,EAAEC,YAAY,QAAQ,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAiBnE;AACA;AACA;AACA;AACA,MAAMC,gBAAgB,GAAG;EACrBC,IAAI,EAAE,SAAS;EACfC,KAAK,EAAE,SAAS;EAChBC,IAAI,EAAE,SAAS;EACfC,MAAM,EAAE,SAAS;EACjBC,MAAM,EAAE,SAAS;EACjBC,IAAI,EAAE,SAAS;EACfC,IAAI,EAAE,SAAS;EACfC,GAAG,EAAE,SAAS;EACdC,MAAM,EAAE;AACZ,CAAU;;AAEV;AACA,MAAMC,WAAkD,GAAG;EACvDC,SAAS,EAAEX,gBAAgB,CAACO,IAAI;EAChCK,IAAI,EAAEZ,gBAAgB,CAACK,MAAM;EAC7BQ,IAAI,EAAEb,gBAAgB,CAACG,IAAI;EAC3BW,MAAM,EAAE;AACZ,CAAC;;AAED;AACA,MAAMC,cAAc,GAAG,SAAS;;AAEhC;AACA,MAAMC,iBAAyC,GAAG;EAC9C,YAAY,EAAE,CAAC;EACfC,MAAM,EAAE,EAAE;EACVC,WAAW,EAAE,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AAG;IAClBD,YAAY,EAAE,CAAC;IACfE,SAAS,EAAE;EACf,CAAC;EACD7B,UAAU,EAAE;IACRuC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC;AAEF,eAAe3G,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useMemo, useState } from 'react';
|
|
4
|
+
import { View, Text } from 'react-native';
|
|
5
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
6
|
+
import { Chip } from '@oxyhq/bloom/chip';
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
|
+
import { useSurfaceHeader } from "../../hooks/useSurfaceHeader.js";
|
|
9
|
+
import { Loading } from '@oxyhq/bloom/loading';
|
|
10
|
+
import { useI18n } from "../../hooks/useI18n.js";
|
|
11
|
+
import { useOxy } from "../../context/OxyContext.js";
|
|
12
|
+
|
|
13
|
+
/** Stable display order for rule category sections. */
|
|
14
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
|
+
const CATEGORY_ORDER = ['content', 'social', 'trust', 'moderation', 'physical', 'penalty', 'other'];
|
|
16
|
+
const TrustRulesScreen = () => {
|
|
17
|
+
const {
|
|
18
|
+
oxyServices
|
|
19
|
+
} = useOxy();
|
|
20
|
+
const {
|
|
21
|
+
t
|
|
22
|
+
} = useI18n();
|
|
23
|
+
useSurfaceHeader({
|
|
24
|
+
title: t('trust.rules.title') || 'Trust Rules',
|
|
25
|
+
subtitle: t('trust.rules.subtitle') || 'How to earn reputation'
|
|
26
|
+
});
|
|
27
|
+
const bloomTheme = useTheme();
|
|
28
|
+
const [rules, setRules] = useState([]);
|
|
29
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
30
|
+
const [error, setError] = useState(null);
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
setIsLoading(true);
|
|
33
|
+
setError(null);
|
|
34
|
+
oxyServices.getReputationRules().then(data => setRules(Array.isArray(data) ? data : [])).catch(err => setError((err instanceof Error ? err.message : null) || 'Failed to load rules')).finally(() => setIsLoading(false));
|
|
35
|
+
}, [oxyServices]);
|
|
36
|
+
|
|
37
|
+
// Group rules by category, preserving a stable section order. Categories
|
|
38
|
+
// with no rules are dropped; unknown categories fall back to "other".
|
|
39
|
+
const groupedRules = useMemo(() => {
|
|
40
|
+
const buckets = new Map();
|
|
41
|
+
for (const rule of rules) {
|
|
42
|
+
const category = CATEGORY_ORDER.includes(rule.category) ? rule.category : 'other';
|
|
43
|
+
const bucket = buckets.get(category);
|
|
44
|
+
if (bucket) {
|
|
45
|
+
bucket.push(rule);
|
|
46
|
+
} else {
|
|
47
|
+
buckets.set(category, [rule]);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return CATEGORY_ORDER.filter(category => buckets.has(category)).map(category => ({
|
|
51
|
+
category,
|
|
52
|
+
items: buckets.get(category) ?? []
|
|
53
|
+
}));
|
|
54
|
+
}, [rules]);
|
|
55
|
+
return /*#__PURE__*/_jsx(_Fragment, {
|
|
56
|
+
children: isLoading ? /*#__PURE__*/_jsx(Loading, {
|
|
57
|
+
size: "large",
|
|
58
|
+
color: bloomTheme.colors.primary
|
|
59
|
+
}) : error ? /*#__PURE__*/_jsx(Text, {
|
|
60
|
+
className: "text-text-secondary text-base text-center px-screen-margin pt-space-40",
|
|
61
|
+
children: error
|
|
62
|
+
}) : rules.length === 0 ? /*#__PURE__*/_jsx(Text, {
|
|
63
|
+
className: "text-text-secondary text-base text-center px-screen-margin pt-space-40",
|
|
64
|
+
children: t('trust.rules.empty') || 'No rules found.'
|
|
65
|
+
}) : /*#__PURE__*/_jsx(View, {
|
|
66
|
+
className: "px-screen-margin pb-space-24 pt-space-12",
|
|
67
|
+
children: groupedRules.map(({
|
|
68
|
+
category,
|
|
69
|
+
items
|
|
70
|
+
}) => /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
71
|
+
title: t(`trust.rules.categories.${category}`) || category,
|
|
72
|
+
children: items.map(rule => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
73
|
+
title: rule.description,
|
|
74
|
+
showChevron: false,
|
|
75
|
+
rightElement: /*#__PURE__*/_jsx(Chip, {
|
|
76
|
+
variant: "soft",
|
|
77
|
+
size: "small",
|
|
78
|
+
color: rule.points > 0 ? 'success' : rule.points < 0 ? 'error' : 'default',
|
|
79
|
+
children: rule.points > 0 ? `+${rule.points}` : `${rule.points}`
|
|
80
|
+
}),
|
|
81
|
+
accessibilityLabel: `${rule.description}, ${rule.points > 0 ? '+' : ''}${rule.points} ${t('trust.center.balance') || 'reputation points'}`
|
|
82
|
+
}, rule.id))
|
|
83
|
+
}, category))
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
export default TrustRulesScreen;
|
|
88
|
+
//# sourceMappingURL=TrustRulesScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useMemo","useState","View","Text","SettingsListGroup","SettingsListItem","Chip","useTheme","useSurfaceHeader","Loading","useI18n","useOxy","jsx","_jsx","Fragment","_Fragment","CATEGORY_ORDER","TrustRulesScreen","oxyServices","t","title","subtitle","bloomTheme","rules","setRules","isLoading","setIsLoading","error","setError","getReputationRules","then","data","Array","isArray","catch","err","Error","message","finally","groupedRules","buckets","Map","rule","category","includes","bucket","get","push","set","filter","has","map","items","children","size","color","colors","primary","className","length","description","showChevron","rightElement","variant","points","accessibilityLabel","id"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustRulesScreen.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,QAAQ,QAA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C;AAED,eAAe1B,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/** Default English labels for each trust tier, used as i18n fallbacks. */
|
|
4
|
+
const TRUST_TIER_FALLBACK = {
|
|
5
|
+
new: 'New',
|
|
6
|
+
trusted: 'Trusted',
|
|
7
|
+
high_trust: 'High Trust',
|
|
8
|
+
verified: 'Verified',
|
|
9
|
+
restricted: 'Restricted'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Resolve a human-readable label for a trust tier, preferring the localized
|
|
14
|
+
* `trust.tiers.<tier>` key and falling back to the canonical English label.
|
|
15
|
+
*/
|
|
16
|
+
export function getTrustTierLabel(tier, t) {
|
|
17
|
+
return t(`trust.tiers.${tier}`) || TRUST_TIER_FALLBACK[tier];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=trustTier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TRUST_TIER_FALLBACK","new","trusted","high_trust","verified","restricted","getTrustTierLabel","tier","t"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/trustTier.ts"],"mappings":";;AAIA;AACA,MAAMA,mBAA8C,GAAG;EACnDC,GAAG,EAAE,KAAK;EACVC,OAAO,EAAE,SAAS;EAClBC,UAAU,EAAE,YAAY;EACxBC,QAAQ,EAAE,UAAU;EACpBC,UAAU,EAAE;AAChB,CAAC;;AAED;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACC,IAAe,EAAEC,CAAY,EAAU;EACrE,OAAOA,CAAC,CAAC,eAAeD,IAAI,EAAE,CAAC,IAAIP,mBAAmB,CAACO,IAAI,CAAC;AAChE","ignoreList":[]}
|