@oxyhq/services 30.0.0 → 30.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/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 +1038 -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 +205 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +142 -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 +255 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/FollowTargetButton.js +351 -0
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +178 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js +493 -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 +502 -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 +314 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +322 -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 +342 -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 +257 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +667 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +108 -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 +77 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js +183 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +161 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +59 -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 +81 -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 +118 -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 +1199 -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 +306 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js +35 -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 +100 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +42 -0
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.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 +675 -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 +145 -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 +440 -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 +127 -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/useDeviceSwitcher.js +57 -0
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.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/useFollowTarget.js +160 -0
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +41 -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 +183 -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/index.js +183 -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 +105 -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 +110 -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 +339 -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 +150 -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/runtime/createOxyRuntime.js +433 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -0
- package/lib/commonjs/ui/runtime/index.js +63 -0
- package/lib/commonjs/ui/runtime/index.js.map +1 -0
- package/lib/commonjs/ui/runtime/runtimeContext.js +83 -0
- package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -0
- package/lib/commonjs/ui/runtime/types.js +6 -0
- package/lib/commonjs/ui/runtime/types.js.map +1 -0
- package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js +57 -0
- package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +443 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +264 -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 +306 -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 +395 -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 +167 -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 +592 -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 +501 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +473 -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 +301 -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 +185 -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 +222 -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 +92 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/server.js +85 -0
- package/lib/commonjs/ui/server.js.map +1 -0
- package/lib/commonjs/ui/session/authStore.js +75 -0
- package/lib/commonjs/ui/session/authStore.js.map +1 -0
- package/lib/commonjs/ui/session/backgroundSession.js +258 -0
- package/lib/commonjs/ui/session/backgroundSession.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 +78 -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/sharedDeviceCredentialStore.js +306 -0
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.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/session/useBackgroundSessionSync.js +81 -0
- package/lib/commonjs/ui/session/useBackgroundSessionSync.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 +169 -0
- package/lib/commonjs/ui/stores/authStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followStore.js +551 -0
- package/lib/commonjs/ui/stores/followStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followTargetStore.js +152 -0
- package/lib/commonjs/ui/stores/followTargetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +21 -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 +43 -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 +69 -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 +230 -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 +199 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +38 -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 +251 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FollowTargetButton.js +345 -0
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js +173 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/module/ui/components/OxyAuthChooser.js +490 -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 +496 -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 +311 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +317 -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 +336 -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 +252 -0
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +663 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js +103 -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 +73 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/module/ui/components/authChooser/primitives.js +176 -0
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js +151 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/module/ui/components/authChooser/signInProgress.js +55 -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 +77 -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 +113 -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 +1191 -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 +301 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/module/ui/context/oxyContextHelpers.js +29 -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 +96 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/accountDialogSnapshot.js +38 -0
- package/lib/module/ui/hooks/accountDialogSnapshot.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 +666 -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 +137 -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 +433 -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 +123 -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/useDeviceSwitcher.js +53 -0
- package/lib/module/ui/hooks/useDeviceSwitcher.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/useFollowTarget.js +156 -0
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -0
- package/lib/module/ui/hooks/useI18n.js +38 -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 +178 -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/index.js +48 -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 +94 -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 +104 -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 +144 -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/runtime/createOxyRuntime.js +430 -0
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -0
- package/lib/module/ui/runtime/index.js +15 -0
- package/lib/module/ui/runtime/index.js.map +1 -0
- package/lib/module/ui/runtime/runtimeContext.js +75 -0
- package/lib/module/ui/runtime/runtimeContext.js.map +1 -0
- package/lib/module/ui/runtime/types.js +4 -0
- package/lib/module/ui/runtime/types.js.map +1 -0
- package/lib/module/ui/runtime/useRuntimeSnapshot.js +52 -0
- package/lib/module/ui/runtime/useRuntimeSnapshot.js.map +1 -0
- package/lib/module/ui/screens/AccountMembersScreen.js +438 -0
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +260 -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 +303 -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 +390 -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 +162 -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 +590 -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 +496 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +468 -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 +296 -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 +180 -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 +217 -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 +90 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/module/ui/server.js +55 -0
- package/lib/module/ui/server.js.map +1 -0
- package/lib/module/ui/session/authStore.js +70 -0
- package/lib/module/ui/session/authStore.js.map +1 -0
- package/lib/module/ui/session/backgroundSession.js +252 -0
- package/lib/module/ui/session/backgroundSession.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 +21 -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/sharedDeviceCredentialStore.js +302 -0
- package/lib/module/ui/session/sharedDeviceCredentialStore.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/session/useBackgroundSessionSync.js +76 -0
- package/lib/module/ui/session/useBackgroundSessionSync.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 +165 -0
- package/lib/module/ui/stores/authStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +546 -0
- package/lib/module/ui/stores/followStore.js.map +1 -0
- package/lib/module/ui/stores/followTargetStore.js +143 -0
- package/lib/module/ui/stores/followTargetStore.js.map +1 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js +18 -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 +40 -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 +63 -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 +108 -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 +29 -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/FollowTargetButton.d.ts +158 -0
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.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 +113 -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 +59 -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 +45 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +34 -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 +38 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +67 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +63 -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 +141 -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 +38 -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 +70 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +5 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +219 -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 +30 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +15 -0
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.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 +301 -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 +138 -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 +64 -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 +173 -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 +109 -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/useDeviceSwitcher.d.ts +49 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.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/useFollowTarget.d.ts +50 -0
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +18 -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 +46 -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/index.d.ts +38 -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 +54 -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 +20 -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/runtime/createOxyRuntime.d.ts +144 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/index.d.ts +16 -0
- package/lib/typescript/commonjs/ui/runtime/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +43 -0
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/types.d.ts +89 -0
- package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
- package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.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 +12 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +12 -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 +18 -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/server.d.ts +35 -0
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +76 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +42 -0
- package/lib/typescript/commonjs/ui/session/backgroundSession.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 +20 -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/sharedDeviceCredentialStore.d.ts +32 -0
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.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/session/useBackgroundSessionSync.d.ts +23 -0
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.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 +61 -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/followTargetStore.d.ts +84 -0
- package/lib/typescript/commonjs/ui/stores/followTargetStore.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 +153 -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 +16 -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 +23 -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 +108 -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 +29 -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/FollowTargetButton.d.ts +158 -0
- package/lib/typescript/module/ui/components/FollowTargetButton.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 +113 -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 +59 -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 +45 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +34 -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 +38 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +67 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +63 -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 +141 -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 +38 -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 +70 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +5 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +219 -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 +30 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +15 -0
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.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 +301 -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 +138 -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 +64 -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 +173 -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 +109 -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/useDeviceSwitcher.d.ts +49 -0
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.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/useFollowTarget.d.ts +50 -0
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +18 -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 +46 -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/index.d.ts +38 -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 +54 -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 +20 -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/runtime/createOxyRuntime.d.ts +144 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/index.d.ts +16 -0
- package/lib/typescript/module/ui/runtime/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +43 -0
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/types.d.ts +89 -0
- package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
- package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.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 +12 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +12 -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 +18 -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/server.d.ts +35 -0
- package/lib/typescript/module/ui/server.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/authStore.d.ts +76 -0
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/backgroundSession.d.ts +42 -0
- package/lib/typescript/module/ui/session/backgroundSession.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 +20 -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/sharedDeviceCredentialStore.d.ts +32 -0
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.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/session/useBackgroundSessionSync.d.ts +23 -0
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.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 +61 -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/followTargetStore.d.ts +84 -0
- package/lib/typescript/module/ui/stores/followTargetStore.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 +153 -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 +16 -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 +23 -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-image-picker.d.ts +35 -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 +6 -4
- package/src/ui/components/OxySignInButton.tsx +7 -6
- package/src/ui/oauth/oauthPopupMessages.ts +9 -0
- package/src/ui/screens/CreateAccountScreen.tsx +22 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_core","_authStore","_shallow","_theme","_button","_toast","_OxyContext","_useI18n","_LogoIcon","_accountDialogManager","_oauthNavigation","_oauthPopup","_jsxRuntime","OxySignInButton","variant","onPress","style","textStyle","text","disabled","showWhenAuthenticated","oauthRedirectUri","onOAuthResult","theme","useTheme","t","useI18n","openAccountDialog","oxyServices","clientId","webAuthMode","startWebOAuthSignIn","useOxy","isAuthenticated","isLoading","useAuthStore","useShallow","state","isModalOpen","setIsModalOpen","useState","useEffect","subscribeToAccountDialog","appResolutionRef","useRef","routingRef","shouldPreOpenPopup","Platform","OS","Boolean","resolvePublicApplication","useCallback","cached","current","promise","getPublicApplication","catch","error","notifyNotConfigured","appName","toast","description","app","notifyFailed","startOfficialSignIn","startThirdPartyOAuth","popup","closeOAuthPopup","logger","undefined","component","application","name","result","redirectUri","status","warn","reason","pkce","Promise","all","generatePkcePair","generateOAuthState","authorizeUrl","buildOAuthAuthorizeUrl","codeChallenge","redirectUrl","openAuthorizeUrlNative","codeVerifier","routeSignIn","resolving","type","isOfficial","Error","String","handlePress","openOAuthPopup","isButtonDisabled","buttonVariant","isContained","logoColor","colors","primary","logoLetterColor","label","jsx","Button","fontWeight","icon","LogoIcon","height","color","letterColor","marginRight","children","exports","_default","default"],"sourceRoot":"../../../../src","sources":["ui/components/OxySignInButton.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAOA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,qBAAA,GAAAX,OAAA;AACA,IAAAY,gBAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AAAsE,IAAAc,WAAA,GAAAd,OAAA;AAGtE;AACA;AACA;AACA;AACA;AACA;;AAyFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMe,eAA+C,GAAGA,CAAC;EAC5DC,OAAO,GAAG,SAAS;EACnBC,OAAO;EACPC,KAAK;EACLC,SAAS;EACTC,IAAI;EACJC,QAAQ,GAAG,KAAK;EAChBC,qBAAqB,GAAG,KAAK;EAC7BC,gBAAgB;EAChBC;AACJ,CAAC,KAAK;EACF,MAAMC,KAAK,GAAG,IAAAC,eAAQ,EAAC,CAAC;EACxB,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,gBAAO,EAAC,CAAC;EACvB,MAAM;IAAEC,iBAAiB;IAAEC,WAAW;IAAEC,QAAQ;IAAEC,WAAW;IAAEC;EAAoB,CAAC,GAAG,IAAAC,kBAAM,EAAC,CAAC;EAC/F,MAAM;IAAEC,eAAe;IAAEC;EAAU,CAAC,GAAG,IAAAC,uB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AC;EAE1D,oBACI,IAAAb,WAAA,CAAA6F,GAAA,EAACrG,OAAA,CAAAsG,MAAM;IACH5F,OAAO,EAAEoF,aAAc;IACvBnF,OAAO,EAAEgF,WAAY;IACrB5E,QAAQ,EAAE8E,gBAAiB;IAC3BjF,KAAK,EAAEA,KAAM;IACbC,SAAS,EAAE,CAAC8B,qBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG;MAAE2D,UAAU,EAAE;IAAM,CAAC,GAAG,IAAI,EAAE1F,SAAS,CAAE;IAC7E2F,IAAI,eACA,IAAAhG,WAAA,CAAA6F,GAAA,EAACjG,SAAA,CAAAqG,QAAQ;MACLC,MAAM,EAAE,EAAG;MACXC,KAAK,EAAEX,SAAU;MACjBY,WAAW,EAAET,eAAgB;MAC7BvF,KAAK,EAAE;QAAEiG,WAAW,EAAE;MAAG;IAAE,CAC9B,CACJ;IAAAC,QAAA,EAEAhF,SAAS,IAAII,WAAW,GAAGb,CAAC,CAAC,yBAAyB,CAAC,GAAG+E;EAAK,CAC5D,CAAC;AAEjB,CAAC;AAACW,OAAA,CAAAtG,eAAA,GAAAA,eAAA;AAAA,IAAAuG,QAAA,GAAAD,OAAA,CAAAE,OAAA,GAEaxG,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.OxySignInRequestSurface = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _button = require("@oxyhq/bloom/button");
|
|
9
|
+
var _theme = require("@oxyhq/bloom/theme");
|
|
10
|
+
var _typography = require("@oxyhq/bloom/typography");
|
|
11
|
+
var _useI18n = require("../hooks/useI18n.js");
|
|
12
|
+
var _TroubleDisclosure = _interopRequireDefault(require("./authChooser/TroubleDisclosure.js"));
|
|
13
|
+
var _primitives = require("./authChooser/primitives.js");
|
|
14
|
+
var _requestSurfaces = require("./authChooser/requestSurfaces.js");
|
|
15
|
+
var _signInProgress = require("./authChooser/signInProgress.js");
|
|
16
|
+
var _styles = require("./authChooser/styles.js");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
|
+
/**
|
|
20
|
+
* `OxySignInRequestSurface` — the in-flight "Sign in with Oxy" request, rendered
|
|
21
|
+
* from plain facts (issue #691, Phase 5).
|
|
22
|
+
*
|
|
23
|
+
* The user already performed their one action. From here the surface only
|
|
24
|
+
* REPORTS: the route-appropriate primary visual, the status line for the
|
|
25
|
+
* progress it was told about, and nothing else at the same weight. Alternatives
|
|
26
|
+
* stay behind "Having trouble?" until the chosen route could not be carried out,
|
|
27
|
+
* at which point they ARE the content and render plainly.
|
|
28
|
+
*
|
|
29
|
+
* PRESENTATIONAL AND HEADLESS-FRIENDLY. It owns no request, no controller, no
|
|
30
|
+
* polling, and no state of its own: everything it draws is a prop. That is what
|
|
31
|
+
* lets the two hosts of this surface share ONE implementation —
|
|
32
|
+
*
|
|
33
|
+
* - `OxyAuthChooser`'s `SignInRequestView`, driven by `AccountDialogController`'s
|
|
34
|
+
* device flow;
|
|
35
|
+
* - the auth.oxy.so IdP's OAuth-bound lane, whose request carries an OAuth
|
|
36
|
+
* binding the account dialog's session has no concept of.
|
|
37
|
+
*
|
|
38
|
+
* It resolves only what every `@oxyhq/services` consumer already has in context:
|
|
39
|
+
* the Bloom theme (`useTheme`) and the SDK's own locale dictionary (`useI18n`,
|
|
40
|
+
* the `accountSwitcher.*` copy in all 11 locales). Host-specific copy — the
|
|
41
|
+
* labels on {@link OxySignInRequestSurfaceProps.subordinate} and
|
|
42
|
+
* {@link OxySignInRequestSurfaceProps.alternatives} — arrives already localized.
|
|
43
|
+
*
|
|
44
|
+
* TWO THINGS IT DELIBERATELY DOES NOT DO:
|
|
45
|
+
* - it renders no failure REASON. A host surfaces that the way its own shell
|
|
46
|
+
* demands (the account dialog toasts it — errors never render inline there;
|
|
47
|
+
* a full page may show a banner around this surface). The surface only takes
|
|
48
|
+
* the fact that the request failed, and offers the way forward.
|
|
49
|
+
* - it derives nothing from {@link OxySignInRequestSurfaceProps.qrPayload}.
|
|
50
|
+
* Application identity, origin, and scopes are resolved server-side by the
|
|
51
|
+
* approver (Commons), never read out of a payload here — the plate encodes it
|
|
52
|
+
* and shows nothing about it.
|
|
53
|
+
*
|
|
54
|
+
* SECRETS: every prop is safe to render. There is no `sessionToken` (the secret
|
|
55
|
+
* claim/finalize credential), no bearer, and no authorization code — a host
|
|
56
|
+
* keeps those in its own controller, and no prop on this component invites one.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/** Shared empty list, so an omitted action bundle allocates nothing per render. */
|
|
60
|
+
const NO_ACTIONS = [];
|
|
61
|
+
const OxySignInRequestSurface = ({
|
|
62
|
+
route,
|
|
63
|
+
progress,
|
|
64
|
+
qrPayload = null,
|
|
65
|
+
routeFailed = false,
|
|
66
|
+
failed = false,
|
|
67
|
+
onRetry,
|
|
68
|
+
onAcquireCommons,
|
|
69
|
+
subordinate = NO_ACTIONS,
|
|
70
|
+
alternatives = NO_ACTIONS
|
|
71
|
+
}) => {
|
|
72
|
+
const theme = (0, _theme.useTheme)();
|
|
73
|
+
const {
|
|
74
|
+
t
|
|
75
|
+
} = (0, _useI18n.useI18n)();
|
|
76
|
+
const subordinateLinks = subordinate.map(action => /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SubtleLink, {
|
|
77
|
+
label: action.label,
|
|
78
|
+
theme: theme,
|
|
79
|
+
onPress: action.onPress,
|
|
80
|
+
disabled: action.disabled,
|
|
81
|
+
testID: action.key
|
|
82
|
+
}, action.key));
|
|
83
|
+
|
|
84
|
+
// A failed request has no working primary route left. Its REASON is the host's
|
|
85
|
+
// to surface (toast / banner); all this owes the user is the way forward.
|
|
86
|
+
if (failed) {
|
|
87
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
88
|
+
style: _styles.authChooserStyles.centeredBlock,
|
|
89
|
+
children: [onRetry ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
90
|
+
variant: "primary",
|
|
91
|
+
onPress: onRetry,
|
|
92
|
+
style: _styles.authChooserStyles.primaryButton,
|
|
93
|
+
children: t('common.actions.tryAgain')
|
|
94
|
+
}) : null, subordinateLinks, /*#__PURE__*/(0, _jsxRuntime.jsx)(_TroubleDisclosure.default, {
|
|
95
|
+
actions: alternatives,
|
|
96
|
+
revealed: true,
|
|
97
|
+
theme: theme,
|
|
98
|
+
t: t
|
|
99
|
+
})]
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Commons is absent: acquiring it IS the primary route, not a fallback, so it
|
|
104
|
+
// renders as the one primary action and no route progress is reported (there is
|
|
105
|
+
// no route to report on until the host says otherwise).
|
|
106
|
+
if (onAcquireCommons) {
|
|
107
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
108
|
+
style: _styles.authChooserStyles.centeredBlock,
|
|
109
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_requestSurfaces.GetCommonsPrompt, {
|
|
110
|
+
theme: theme,
|
|
111
|
+
t: t,
|
|
112
|
+
onGetCommons: onAcquireCommons
|
|
113
|
+
}), subordinateLinks, /*#__PURE__*/(0, _jsxRuntime.jsx)(_TroubleDisclosure.default, {
|
|
114
|
+
actions: alternatives,
|
|
115
|
+
revealed: false,
|
|
116
|
+
theme: theme,
|
|
117
|
+
t: t
|
|
118
|
+
})]
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
const status = (0, _signInProgress.signInProgressLabel)(progress, route, t);
|
|
122
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
123
|
+
style: _styles.authChooserStyles.centeredBlock,
|
|
124
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_requestSurfaces.RequestPrimarySurface, {
|
|
125
|
+
route: route,
|
|
126
|
+
progress: progress,
|
|
127
|
+
qrPayload: qrPayload,
|
|
128
|
+
theme: theme,
|
|
129
|
+
t: t
|
|
130
|
+
}), status ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
131
|
+
style: [_styles.authChooserStyles.mutedText, {
|
|
132
|
+
color: theme.colors.textSecondary
|
|
133
|
+
}],
|
|
134
|
+
accessibilityLiveRegion: "polite",
|
|
135
|
+
testID: "signin-progress",
|
|
136
|
+
children: status
|
|
137
|
+
}) : null, subordinateLinks, /*#__PURE__*/(0, _jsxRuntime.jsx)(_TroubleDisclosure.default, {
|
|
138
|
+
actions: alternatives,
|
|
139
|
+
revealed: routeFailed,
|
|
140
|
+
theme: theme,
|
|
141
|
+
t: t
|
|
142
|
+
})]
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
exports.OxySignInRequestSurface = OxySignInRequestSurface;
|
|
146
|
+
var _default = exports.default = OxySignInRequestSurface;
|
|
147
|
+
//# sourceMappingURL=OxySignInRequestSurface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_button","_theme","_typography","_useI18n","_TroubleDisclosure","_interopRequireDefault","_primitives","_requestSurfaces","_signInProgress","_styles","_jsxRuntime","e","__esModule","default","NO_ACTIONS","OxySignInRequestSurface","route","progress","qrPayload","routeFailed","failed","onRetry","onAcquireCommons","subordinate","alternatives","theme","useTheme","t","useI18n","subordinateLinks","map","action","jsx","SubtleLink","label","onPress","disabled","testID","key","jsxs","View","style","styles","centeredBlock","children","Button","variant","primaryButton","actions","revealed","GetCommonsPrompt","onGetCommons","status","signInProgressLabel","RequestPrimarySurface","Text","mutedText","color","colors","textSecondary","accessibilityLiveRegion","exports","_default"],"sourceRoot":"../../../../src","sources":["ui/components/OxySignInRequestSurface.tsx"],"mappings":";;;;;;AAyCA,IAAAA,YAAA,GAAAC,OAAA;AACA,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
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _components = require("react-native-css/components");
|
|
10
|
+
var _MaterialCommunityIcons = _interopRequireDefault(require("@expo/vector-icons/MaterialCommunityIcons"));
|
|
11
|
+
var _avatar = require("@oxyhq/bloom/avatar");
|
|
12
|
+
var Skeleton = _interopRequireWildcard(require("@oxyhq/bloom/skeleton"));
|
|
13
|
+
var _typography = require("@oxyhq/bloom/typography");
|
|
14
|
+
var _theme = require("@oxyhq/bloom/theme");
|
|
15
|
+
var _core = require("@oxyhq/core");
|
|
16
|
+
var _useAuth = require("../hooks/useAuth.js");
|
|
17
|
+
var _OxyContext = require("../context/OxyContext.js");
|
|
18
|
+
var _useI18n = require("../hooks/useI18n.js");
|
|
19
|
+
var _accountDialogManager = require("../navigation/accountDialogManager.js");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
22
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
|
+
const isWeb = _reactNative.Platform.OS === 'web';
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Web-only Bluesky-style hover animation timings, mirrored from
|
|
27
|
+
* `social-app/src/view/shell/desktop/LeftNav.tsx`. The row background and the
|
|
28
|
+
* name/handle/chevron opacity cross-fade quickly; the avatar shrink+slide is
|
|
29
|
+
* slower and more deliberate. A short delay on the LEAVE transition keeps the
|
|
30
|
+
* row from flickering when the pointer crosses a child boundary.
|
|
31
|
+
*/
|
|
32
|
+
const BG_TRANSITION_MS = 150;
|
|
33
|
+
const AVATAR_TRANSITION_MS = 250;
|
|
34
|
+
const LEAVE_DELAY_MS = 50;
|
|
35
|
+
|
|
36
|
+
/** Shrunk-avatar scale on hover, matching Bluesky's `scale: 2/3`. */
|
|
37
|
+
const ACTIVE_AVATAR_SCALE = 2 / 3;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Reads the OS "reduce motion" preference on web. Guards `window`/`matchMedia`
|
|
41
|
+
* so it is safe during SSR and on native (where it is never called). When
|
|
42
|
+
* reduced motion is on, the avatar transform snaps instead of transitioning.
|
|
43
|
+
*/
|
|
44
|
+
const prefersReducedMotion = () => {
|
|
45
|
+
if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Self-contained sidebar account trigger, modeled on Bluesky's ProfileCard and
|
|
52
|
+
* the Oxy inbox's `MailboxDrawer` footer. Pressing it opens the unified
|
|
53
|
+
* {@link OxyAccountDialogScreen} — the single account switcher + sign-in surface — via
|
|
54
|
+
* `useOxy().openAccountDialog`.
|
|
55
|
+
*
|
|
56
|
+
* Three auth states from {@link useAuth}:
|
|
57
|
+
* - **Undetermined** (`!isAuthResolved || isPrivateApiPending`): a neutral
|
|
58
|
+
* avatar-sized skeleton circle, no press.
|
|
59
|
+
* - **Signed in**: a pressable row — Bloom `Avatar` + display name + `@handle`
|
|
60
|
+
* + a chevron. Press opens the dialog on its `accounts` view.
|
|
61
|
+
* - **Signed out**: a "Sign in" row that calls `useAuth().signIn()` (which opens
|
|
62
|
+
* the dialog on its `signin` view).
|
|
63
|
+
*
|
|
64
|
+
* Styling uses react-native `StyleSheet` + the Bloom theme (via `useTheme`) so
|
|
65
|
+
* the layout renders identically in EVERY consumer — including apps that do not
|
|
66
|
+
* use NativeWind (e.g. the accounts app). Only the web hover animation keeps
|
|
67
|
+
* dynamic inline `style` (the CSS transition/transform values), which is what
|
|
68
|
+
* the `react-native-web-style.d.ts` augmentation exists for.
|
|
69
|
+
*/
|
|
70
|
+
const ProfileButton = ({
|
|
71
|
+
expanded = true,
|
|
72
|
+
avatarSize,
|
|
73
|
+
onNavigateManage,
|
|
74
|
+
onAddAccount,
|
|
75
|
+
onNavigateProfile,
|
|
76
|
+
menuItems,
|
|
77
|
+
className,
|
|
78
|
+
style
|
|
79
|
+
}) => {
|
|
80
|
+
const {
|
|
81
|
+
user,
|
|
82
|
+
isAuthenticated,
|
|
83
|
+
isAuthResolved,
|
|
84
|
+
isPrivateApiPending,
|
|
85
|
+
signIn
|
|
86
|
+
} = (0, _useAuth.useAuth)();
|
|
87
|
+
const {
|
|
88
|
+
openAccountDialog,
|
|
89
|
+
oxyServices
|
|
90
|
+
} = (0, _OxyContext.useOxy)();
|
|
91
|
+
const {
|
|
92
|
+
colors
|
|
93
|
+
} = (0, _theme.useTheme)();
|
|
94
|
+
const {
|
|
95
|
+
t,
|
|
96
|
+
locale
|
|
97
|
+
} = (0, _useI18n.useI18n)();
|
|
98
|
+
|
|
99
|
+
// Web-only hover/focus tracking for the Bluesky-style reveal animation.
|
|
100
|
+
// Native has no hover, so these stay false and the row renders statically.
|
|
101
|
+
const [hovered, setHovered] = (0, _react.useState)(false);
|
|
102
|
+
const [focused, setFocused] = (0, _react.useState)(false);
|
|
103
|
+
const resolvedAvatarSize = avatarSize ?? (expanded ? 40 : 32);
|
|
104
|
+
const openDialog = (0, _react.useCallback)(() => {
|
|
105
|
+
openAccountDialog('accounts');
|
|
106
|
+
}, [openAccountDialog]);
|
|
107
|
+
(0, _react.useEffect)(() => {
|
|
108
|
+
if (!onNavigateManage && !onAddAccount && !onNavigateProfile && !menuItems?.length) {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
return (0, _accountDialogManager.registerAccountDialogConsumerHooks)({
|
|
112
|
+
onNavigateManage,
|
|
113
|
+
onAddAccount,
|
|
114
|
+
onNavigateProfile,
|
|
115
|
+
menuItems
|
|
116
|
+
});
|
|
117
|
+
}, [onNavigateManage, onAddAccount, onNavigateProfile, menuItems]);
|
|
118
|
+
const avatarUrl = (0, _react.useMemo)(() => user?.avatar ? oxyServices.getFileDownloadUrl(user.avatar, 'thumb') : undefined, [user?.avatar, oxyServices]);
|
|
119
|
+
|
|
120
|
+
// ── Undetermined: skeleton circle, no interaction. ──────────────────────
|
|
121
|
+
if (!isAuthResolved || isPrivateApiPending) {
|
|
122
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
123
|
+
className: className,
|
|
124
|
+
style: style,
|
|
125
|
+
accessibilityElementsHidden: true,
|
|
126
|
+
importantForAccessibility: "no-hide-descendants",
|
|
127
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Circle, {
|
|
128
|
+
size: resolvedAvatarSize
|
|
129
|
+
})
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// ── Signed out: "Sign in" row. ──────────────────────────────────────────
|
|
134
|
+
if (!isAuthenticated || !user) {
|
|
135
|
+
const signInLabel = t('common.actions.signIn') || 'Sign in';
|
|
136
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.Pressable, {
|
|
137
|
+
className: className,
|
|
138
|
+
style: [styles.row, expanded && styles.rowExpanded, style],
|
|
139
|
+
onPress: () => {
|
|
140
|
+
void signIn();
|
|
141
|
+
},
|
|
142
|
+
accessibilityRole: "button",
|
|
143
|
+
accessibilityLabel: signInLabel,
|
|
144
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
145
|
+
style: [styles.avatarBadge, {
|
|
146
|
+
width: resolvedAvatarSize,
|
|
147
|
+
height: resolvedAvatarSize,
|
|
148
|
+
backgroundColor: colors.backgroundSecondary
|
|
149
|
+
}],
|
|
150
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
151
|
+
name: "login",
|
|
152
|
+
size: Math.round(resolvedAvatarSize * 0.5),
|
|
153
|
+
color: colors.icon
|
|
154
|
+
})
|
|
155
|
+
}), expanded ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
156
|
+
style: [styles.signInLabel, {
|
|
157
|
+
color: colors.text
|
|
158
|
+
}],
|
|
159
|
+
numberOfLines: 1,
|
|
160
|
+
children: signInLabel
|
|
161
|
+
}) : null]
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// ── Signed in: avatar + identity + chevron. ─────────────────────────────
|
|
166
|
+
const displayName = user?.name?.displayName ?? (0, _core.getNormalizedUserHandle)(user) ?? (0, _core.getAccountDisplayName)(null, locale);
|
|
167
|
+
const handle = (0, _core.getAccountFallbackHandle)(user);
|
|
168
|
+
const handleLine = handle ? `@${handle}` : null;
|
|
169
|
+
const avatarNode = /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.Avatar, {
|
|
170
|
+
source: avatarUrl,
|
|
171
|
+
variant: "thumb",
|
|
172
|
+
name: displayName,
|
|
173
|
+
size: resolvedAvatarSize
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// `active` combines hover and keyboard focus — exactly like Bluesky's
|
|
177
|
+
// `state.hovered || state.focused`. Only web ever sets these, so on native
|
|
178
|
+
// the row renders statically.
|
|
179
|
+
const active = hovered || focused;
|
|
180
|
+
const accountLabel = t('accountSwitcher.switchWhileSignedInAs', {
|
|
181
|
+
name: displayName
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
// Web-only pointer/focus handlers. RN-Web forwards `onHoverIn`/`onHoverOut`
|
|
185
|
+
// to the underlying element; native Pressable ignores them harmlessly, but
|
|
186
|
+
// we only attach them on web to keep the native path pristine.
|
|
187
|
+
const webInteractionProps = isWeb ? {
|
|
188
|
+
onHoverIn: () => setHovered(true),
|
|
189
|
+
onHoverOut: () => setHovered(false),
|
|
190
|
+
onFocus: () => setFocused(true),
|
|
191
|
+
onBlur: () => setFocused(false)
|
|
192
|
+
} : undefined;
|
|
193
|
+
if (!expanded) {
|
|
194
|
+
// Collapsed: avatar-only. On web, hovering just fades a subtle round
|
|
195
|
+
// background behind the avatar — no shrink, no text.
|
|
196
|
+
const collapsedBgStyle = isWeb ? {
|
|
197
|
+
backgroundColor: active ? colors.backgroundSecondary : 'transparent',
|
|
198
|
+
transitionProperty: 'background-color',
|
|
199
|
+
transitionDuration: `${BG_TRANSITION_MS}ms`,
|
|
200
|
+
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
201
|
+
} : undefined;
|
|
202
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
203
|
+
className: className,
|
|
204
|
+
style: style,
|
|
205
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Pressable, {
|
|
206
|
+
style: [styles.collapsedTrigger, collapsedBgStyle],
|
|
207
|
+
onPress: openDialog,
|
|
208
|
+
accessibilityRole: "button",
|
|
209
|
+
accessibilityLabel: accountLabel,
|
|
210
|
+
...webInteractionProps,
|
|
211
|
+
children: avatarNode
|
|
212
|
+
})
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// ── Expanded row animation ──────────────────────────────────────────────
|
|
217
|
+
// On native everything is statically visible (no hover exists). On web we
|
|
218
|
+
// reproduce Bluesky's reveal: the row fills with a subtle contrast bg, the
|
|
219
|
+
// avatar shrinks + slides left, and the name/handle/chevron fade in. The
|
|
220
|
+
// negative left margin tucks the identity block under the shrunk avatar so
|
|
221
|
+
// it slides out from behind it as the avatar contracts.
|
|
222
|
+
const reducedMotion = isWeb && prefersReducedMotion();
|
|
223
|
+
|
|
224
|
+
// Slide the shrunk avatar left so its visual left edge stays put as it
|
|
225
|
+
// contracts. The avatar loses `size * (1 - scale)` of width; half of that
|
|
226
|
+
// (the left half, since scale is centered) is the offset, plus the row's
|
|
227
|
+
// left padding (8px) so it hugs the row edge like Bluesky's.
|
|
228
|
+
const activeAvatarTranslateX = -(resolvedAvatarSize * (1 - ACTIVE_AVATAR_SCALE)) / 2 - 8;
|
|
229
|
+
const rowStyle = isWeb ? {
|
|
230
|
+
backgroundColor: active ? colors.backgroundSecondary : 'transparent',
|
|
231
|
+
transitionProperty: 'background-color',
|
|
232
|
+
transitionDuration: `${BG_TRANSITION_MS}ms`,
|
|
233
|
+
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
234
|
+
} : undefined;
|
|
235
|
+
const avatarWrapperStyle = isWeb ? {
|
|
236
|
+
zIndex: 10,
|
|
237
|
+
...(reducedMotion ? {} : {
|
|
238
|
+
transitionProperty: 'transform',
|
|
239
|
+
transitionDuration: `${AVATAR_TRANSITION_MS}ms`,
|
|
240
|
+
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
241
|
+
}),
|
|
242
|
+
transform: active ? [{
|
|
243
|
+
scale: ACTIVE_AVATAR_SCALE
|
|
244
|
+
}, {
|
|
245
|
+
translateX: activeAvatarTranslateX
|
|
246
|
+
}] : [{
|
|
247
|
+
scale: 1
|
|
248
|
+
}, {
|
|
249
|
+
translateX: 0
|
|
250
|
+
}]
|
|
251
|
+
} : undefined;
|
|
252
|
+
|
|
253
|
+
// Expanded mode always shows identity + chevron (console/inbox wide sidebar).
|
|
254
|
+
// Hover only animates the row background and avatar shrink — not text visibility.
|
|
255
|
+
const identityStyle = isWeb ? {
|
|
256
|
+
marginLeft: -resolvedAvatarSize / 2
|
|
257
|
+
} : undefined;
|
|
258
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
259
|
+
className: className,
|
|
260
|
+
style: [styles.fullWidth, style],
|
|
261
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.Pressable, {
|
|
262
|
+
style: [styles.row, styles.rowExpanded, rowStyle],
|
|
263
|
+
onPress: openDialog,
|
|
264
|
+
accessibilityRole: "button",
|
|
265
|
+
accessibilityLabel: accountLabel,
|
|
266
|
+
...webInteractionProps,
|
|
267
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
268
|
+
style: avatarWrapperStyle,
|
|
269
|
+
children: avatarNode
|
|
270
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
271
|
+
style: [styles.identity, identityStyle],
|
|
272
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
273
|
+
style: [styles.displayName, {
|
|
274
|
+
color: colors.text
|
|
275
|
+
}],
|
|
276
|
+
numberOfLines: 1,
|
|
277
|
+
children: displayName
|
|
278
|
+
}), handleLine ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
279
|
+
style: [styles.handle, {
|
|
280
|
+
color: colors.textSecondary
|
|
281
|
+
}],
|
|
282
|
+
numberOfLines: 1,
|
|
283
|
+
children: handleLine
|
|
284
|
+
}) : null]
|
|
285
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
286
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
287
|
+
name: "dots-horizontal",
|
|
288
|
+
size: 18,
|
|
289
|
+
color: colors.textSecondary
|
|
290
|
+
})
|
|
291
|
+
})]
|
|
292
|
+
})
|
|
293
|
+
});
|
|
294
|
+
};
|
|
295
|
+
const styles = _reactNative.StyleSheet.create({
|
|
296
|
+
fullWidth: {
|
|
297
|
+
width: '100%'
|
|
298
|
+
},
|
|
299
|
+
// Shared trigger row (`flex-row items-center gap-3 rounded-full px-2 py-2`).
|
|
300
|
+
row: {
|
|
301
|
+
flexDirection: 'row',
|
|
302
|
+
alignItems: 'center',
|
|
303
|
+
gap: 12,
|
|
304
|
+
borderRadius: 9999,
|
|
305
|
+
paddingHorizontal: 8,
|
|
306
|
+
paddingVertical: 8
|
|
307
|
+
},
|
|
308
|
+
// `w-full` on the expanded row + its signed-out variant.
|
|
309
|
+
rowExpanded: {
|
|
310
|
+
width: '100%'
|
|
311
|
+
},
|
|
312
|
+
// Signed-out login badge (`items-center justify-center rounded-full`).
|
|
313
|
+
avatarBadge: {
|
|
314
|
+
alignItems: 'center',
|
|
315
|
+
justifyContent: 'center',
|
|
316
|
+
borderRadius: 9999
|
|
317
|
+
},
|
|
318
|
+
// Signed-out label (`flex-1 font-semibold`).
|
|
319
|
+
signInLabel: {
|
|
320
|
+
flex: 1,
|
|
321
|
+
fontWeight: '600'
|
|
322
|
+
},
|
|
323
|
+
// Collapsed avatar-only trigger (`rounded-full`).
|
|
324
|
+
collapsedTrigger: {
|
|
325
|
+
borderRadius: 9999
|
|
326
|
+
},
|
|
327
|
+
// Identity block (`min-w-0 flex-1`).
|
|
328
|
+
identity: {
|
|
329
|
+
flex: 1,
|
|
330
|
+
minWidth: 0
|
|
331
|
+
},
|
|
332
|
+
// Display name (`font-bold`).
|
|
333
|
+
displayName: {
|
|
334
|
+
fontWeight: '700'
|
|
335
|
+
},
|
|
336
|
+
// Handle line (`text-xs`).
|
|
337
|
+
handle: {
|
|
338
|
+
fontSize: 12
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
var _default = exports.default = ProfileButton;
|
|
342
|
+
//# sourceMappingURL=ProfileButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_components","_MaterialCommunityIcons","_interopRequireDefault","_avatar","Skeleton","_interopRequireWildcard","_typography","_theme","_core","_useAuth","_OxyContext","_useI18n","_accountDialogManager","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isWeb","Platform","OS","BG_TRANSITION_MS","AVATAR_TRANSITION_MS","LEAVE_DELAY_MS","ACTIVE_AVATAR_SCALE","prefersReducedMotion","window","matchMedia","matches","ProfileButton","expanded","avatarSize","onNavigateManage","onAddAccount","onNavigateProfile","menuItems","className","style","user","isAuthenticated","isAuthResolved","isPrivateApiPending","signIn","useAuth","openAccountDialog","oxyServices","useOxy","colors","useTheme","locale","useI18n","hovered","setHovered","useState","focused","setFocused","resolvedAvatarSize","openDialog","useCallback","useEffect","length","undefined","registerAccountDialogConsumerHooks","avatarUrl","useMemo","avatar","getFileDownloadUrl","jsx","View","accessibilityElementsHidden","importantForAccessibility","children","Circle","size","signInLabel","jsxs","Pressable","styles","row","rowExpanded","onPress","accessibilityRole","accessibilityLabel","avatarBadge","width","height","backgroundColor","backgroundSecondary","name","Math","round","color","icon","Text","text","numberOfLines","displayName","getNormalizedUserHandle","getAccountDisplayName","handle","getAccountFallbackHandle","handleLine","avatarNode","Avatar","source","variant","active","accountLabel","webInteractionProps","onHoverIn","onHoverOut","onFocus","onBlur","collapsedBgStyle","transitionProperty","transitionDuration","transitionDelay","collapsedTrigger","reducedMotion","activeAvatarTranslateX","rowStyle","avatarWrapperStyle","zIndex","transform","scale","translateX","identityStyle","marginLeft","fullWidth","identity","textSecondary","StyleSheet","create","flexDirection","alignItems","gap","borderRadius","paddingHorizontal","paddingVertical","justifyContent","flex","fontWeight","minWidth","fontSize","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/ProfileButton.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAMA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,uBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAC,uBAAA,CAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA;AACA,IAAAU,KAAA,GAAAV,OAAA;AACA,IAAAW,QAAA,GA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AP,QAAQ,EAAE;IACNW,IAAI,EAAE,CAAC;IACPE,QAAQ,EAAE;EACd,CAAC;EACD;EACA9C,WAAW,EAAE;IACT6C,UAAU,EAAE;EAChB,CAAC;EACD;EACA1C,MAAM,EAAE;IACJ4C,QAAQ,EAAE;EACd;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxI,OAAA,GAEYoB,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _typography = require("@oxyhq/bloom/typography");
|
|
9
|
+
var _avatar = require("@oxyhq/bloom/avatar");
|
|
10
|
+
var _card = require("@oxyhq/bloom/card");
|
|
11
|
+
var _pressableScale = require("@oxyhq/bloom/pressable-scale");
|
|
12
|
+
var _AvatarCameraBadge = _interopRequireDefault(require("./AvatarCameraBadge.js"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/**
|
|
16
|
+
* ProfileSummaryCard — the shared "who am I" summary block rendered at the top
|
|
17
|
+
* of {@link ManageAccountScreen} and {@link EditProfileScreen}.
|
|
18
|
+
*
|
|
19
|
+
* A Bloom filled {@link Card} containing a centered {@link Avatar}, the display
|
|
20
|
+
* name and any number of secondary lines (handle, email, …). When
|
|
21
|
+
* `onAvatarPress` is supplied the avatar becomes a {@link PressableScale} entry
|
|
22
|
+
* point (used to open the avatar picker) and can render an optional camera
|
|
23
|
+
* badge overlay.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
const cardStyle = {
|
|
27
|
+
borderRadius: 20,
|
|
28
|
+
marginBottom: 16
|
|
29
|
+
};
|
|
30
|
+
const pressableStyle = {
|
|
31
|
+
position: 'relative'
|
|
32
|
+
};
|
|
33
|
+
const ProfileSummaryCard = ({
|
|
34
|
+
displayName,
|
|
35
|
+
avatarUri,
|
|
36
|
+
avatarSize = 72,
|
|
37
|
+
lines,
|
|
38
|
+
onAvatarPress,
|
|
39
|
+
showCameraBadge = false,
|
|
40
|
+
avatarAccessibilityLabel
|
|
41
|
+
}) => {
|
|
42
|
+
const avatar = /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.Avatar, {
|
|
43
|
+
source: avatarUri,
|
|
44
|
+
name: displayName,
|
|
45
|
+
size: avatarSize
|
|
46
|
+
});
|
|
47
|
+
const avatarNode = onAvatarPress ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_pressableScale.PressableScale, {
|
|
48
|
+
onPress: onAvatarPress,
|
|
49
|
+
accessibilityRole: "button",
|
|
50
|
+
accessibilityLabel: avatarAccessibilityLabel,
|
|
51
|
+
style: pressableStyle,
|
|
52
|
+
className: "mb-space-12",
|
|
53
|
+
children: [avatar, showCameraBadge ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_AvatarCameraBadge.default, {}) : null]
|
|
54
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
55
|
+
className: "mb-space-12",
|
|
56
|
+
children: avatar
|
|
57
|
+
});
|
|
58
|
+
const subtitleLines = (lines ?? []).filter(line => typeof line === 'string' && line.length > 0);
|
|
59
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.Card, {
|
|
60
|
+
variant: "filled",
|
|
61
|
+
style: cardStyle,
|
|
62
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
63
|
+
className: "items-center px-space-20 py-space-24",
|
|
64
|
+
children: [avatarNode, /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H4, {
|
|
65
|
+
className: "text-text",
|
|
66
|
+
numberOfLines: 1,
|
|
67
|
+
children: displayName
|
|
68
|
+
}), subtitleLines.map((line, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text
|
|
69
|
+
// Subtitle order is stable within a render; index keys are safe here.
|
|
70
|
+
, {
|
|
71
|
+
className: "text-text-secondary text-sm mt-space-2",
|
|
72
|
+
numberOfLines: 1,
|
|
73
|
+
children: line
|
|
74
|
+
}, `${index}-${line}`))]
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
var _default = exports.default = ProfileSummaryCard;
|
|
79
|
+
//# sourceMappingURL=ProfileSummaryCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_typography","_avatar","_card","_pressableScale","_AvatarCameraBadge","_interopRequireDefault","_jsxRuntime","e","__esModule","default","cardStyle","borderRadius","marginBottom","pressableStyle","position","ProfileSummaryCard","displayName","avatarUri","avatarSize","lines","onAvatarPress","showCameraBadge","avatarAccessibilityLabel","avatar","jsx","Avatar","source","name","size","avatarNode","jsxs","PressableScale","onPress","accessibilityRole","accessibilityLabel","style","className","children","View","subtitleLines","filter","line","length","Card","variant","H4","numberOfLines","map","index","Text","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/ProfileSummaryCard.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAC,sBAAA,CAAAN,OAAA;AAAoD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAM,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAqBA,MAAMG,SAAoB,GAAG;EACzBC,YAAY,EAAE,EAAE;EAChBC,YAAY,EAAE;AAClB,CAAC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