@oxyhq/services 30.0.0 → 30.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +321 -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 +141 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/commonjs/ui/oauth/types.js +2 -0
- package/lib/commonjs/ui/oauth/types.js.map +1 -0
- package/lib/commonjs/ui/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 +387 -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 +316 -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 +135 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/module/ui/oauth/types.js +2 -0
- package/lib/module/ui/oauth/types.js.map +1 -0
- package/lib/module/ui/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 +382 -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 +1 -1
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { AppState, Platform, StyleSheet, View } from 'react-native';
|
|
5
|
+
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
6
|
+
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
7
|
+
import { OxyRuntimeProvider } from "../context/OxyContext.js";
|
|
8
|
+
import { QueryClientProvider, focusManager, onlineManager } from '@tanstack/react-query';
|
|
9
|
+
import { SurfaceProvider } from '@oxyhq/bloom/surfaces';
|
|
10
|
+
import { ToastOutlet } from '@oxyhq/bloom/toast';
|
|
11
|
+
import { logger as loggerUtil } from '@oxyhq/core';
|
|
12
|
+
import { RequireOxyAuth } from "./RequireOxyAuth.js";
|
|
13
|
+
import { attachQueryPersistence, createQueryClient } from "../hooks/queryClient.js";
|
|
14
|
+
import { createPlatformStorage } from "../utils/storageHelpers.js";
|
|
15
|
+
import { isNetConnectivityOnline } from "../utils/netConnectivity.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Background color shown for the brief window between mount and the
|
|
19
|
+
* persisted-cache hydration completing. Matches the typical splash-screen
|
|
20
|
+
* backgrounds used across Oxy apps (dark surface, white-on-dark text), so
|
|
21
|
+
* the transition reads as a continuation of the splash instead of a
|
|
22
|
+
* white flash. Apps that need a different boot color can keep doing their
|
|
23
|
+
* own `expo-splash-screen` orchestration — this placeholder just guarantees
|
|
24
|
+
* we never render a transparent `null` while we wait.
|
|
25
|
+
*
|
|
26
|
+
* Light-mode background. Apps that boot into dark mode see a brief light
|
|
27
|
+
* flash here, which is unavoidable without re-implementing the BloomTheme
|
|
28
|
+
* resolver outside of `<BloomThemeProvider>`. The light value is far less
|
|
29
|
+
* jarring than `null` (transparent) on either theme.
|
|
30
|
+
*/
|
|
31
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
|
+
const BOOT_BG_COLOR = '#ffffff';
|
|
33
|
+
const bootStyles = StyleSheet.create({
|
|
34
|
+
providerRoot: {
|
|
35
|
+
flex: 1
|
|
36
|
+
},
|
|
37
|
+
bootShell: {
|
|
38
|
+
flex: 1,
|
|
39
|
+
backgroundColor: BOOT_BG_COLOR
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
// Detect if running on web
|
|
44
|
+
const isWeb = Platform.OS === 'web';
|
|
45
|
+
|
|
46
|
+
// Variable indirection: the module name is computed at runtime so Metro's
|
|
47
|
+
// static analyzer cannot trace this into the web bundle. Native-only.
|
|
48
|
+
const KEYBOARD_CONTROLLER_MODULE = 'react-native-keyboard-controller';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* OxyProvider - Universal provider for Expo apps (native + web)
|
|
52
|
+
*
|
|
53
|
+
* Provides authentication, session management, query client, and UI overlays.
|
|
54
|
+
* Wraps its own overlay stack in SafeAreaProvider and GestureHandlerRootView so
|
|
55
|
+
* the shared Bloom SURFACE STACK (`<SurfaceProvider>` / `<SurfaceHost>`) — which
|
|
56
|
+
* hosts every SDK surface (the ~35 bottom-sheet routes + the AccountDialog) — can
|
|
57
|
+
* safely render even when a consuming app has not mounted those providers yet.
|
|
58
|
+
*
|
|
59
|
+
* Usage:
|
|
60
|
+
* ```tsx
|
|
61
|
+
* import { OxyProvider, useAuth } from '@oxyhq/services';
|
|
62
|
+
*
|
|
63
|
+
* function App() {
|
|
64
|
+
* return (
|
|
65
|
+
* <SafeAreaProvider>
|
|
66
|
+
* <GestureHandlerRootView style={{ flex: 1 }}>
|
|
67
|
+
* <OxyProvider baseURL="https://api.oxy.so">
|
|
68
|
+
* <YourApp />
|
|
69
|
+
* </OxyProvider>
|
|
70
|
+
* </GestureHandlerRootView>
|
|
71
|
+
* </SafeAreaProvider>
|
|
72
|
+
* );
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* function MyComponent() {
|
|
76
|
+
* const { isAuthenticated, user, signIn, signOut } = useAuth();
|
|
77
|
+
*
|
|
78
|
+
* if (!isAuthenticated) {
|
|
79
|
+
* return <OxySignInButton />;
|
|
80
|
+
* }
|
|
81
|
+
* return <Text>Welcome, {user?.username}!</Text>;
|
|
82
|
+
* }
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
const OxyProvider = ({
|
|
86
|
+
oxyServices,
|
|
87
|
+
children,
|
|
88
|
+
onAuthStateChange,
|
|
89
|
+
storageKeyPrefix,
|
|
90
|
+
clientId,
|
|
91
|
+
baseURL,
|
|
92
|
+
authWebUrl,
|
|
93
|
+
authRedirectUri,
|
|
94
|
+
authorizeBaseUrl,
|
|
95
|
+
sessionMode = 'account',
|
|
96
|
+
webAuthMode = 'popup',
|
|
97
|
+
queryClient: providedQueryClient,
|
|
98
|
+
requireAuth = 'off',
|
|
99
|
+
backgroundSession = false,
|
|
100
|
+
deviceCredentialStorage = 'persistent'
|
|
101
|
+
}) => {
|
|
102
|
+
// Dynamic KeyboardProvider for native. Uses variable indirection
|
|
103
|
+
// (KEYBOARD_CONTROLLER_MODULE) so Metro's static analyzer cannot trace
|
|
104
|
+
// the import into the web bundle. On web, the runtime guard short-circuits
|
|
105
|
+
// before the import runs.
|
|
106
|
+
const [KBProvider, setKBProvider] = useState(null);
|
|
107
|
+
useEffect(() => {
|
|
108
|
+
if (isWeb) return;
|
|
109
|
+
const moduleName = KEYBOARD_CONTROLLER_MODULE;
|
|
110
|
+
import(moduleName).then(mod => setKBProvider(() => mod.KeyboardProvider)).catch(error => {
|
|
111
|
+
if (__DEV__) {
|
|
112
|
+
loggerUtil.warn('react-native-keyboard-controller not available, skipping keyboard support', {
|
|
113
|
+
component: 'OxyProvider'
|
|
114
|
+
}, error);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}, []);
|
|
118
|
+
const KeyboardWrapper = KBProvider ?? (({
|
|
119
|
+
children
|
|
120
|
+
}) => /*#__PURE__*/_jsx(_Fragment, {
|
|
121
|
+
children: children
|
|
122
|
+
}));
|
|
123
|
+
|
|
124
|
+
// Storage + persistence wiring.
|
|
125
|
+
//
|
|
126
|
+
// We MUST await the restore() promise before exposing the QueryClient to
|
|
127
|
+
// children — otherwise the first render sees an empty cache and any
|
|
128
|
+
// <Suspense> queries or `enabled: !!cached` gates would skip the offline
|
|
129
|
+
// hit. Once the persisted blob has been hydrated (or definitively failed
|
|
130
|
+
// to hydrate), we mark the client ready and unblock rendering.
|
|
131
|
+
const storageRef = useRef(null);
|
|
132
|
+
const queryClientRef = useRef(null);
|
|
133
|
+
const persistenceUnsubRef = useRef(null);
|
|
134
|
+
|
|
135
|
+
// If the consumer supplied their own QueryClient we use it as-is and skip
|
|
136
|
+
// persistence — their host app owns that lifecycle.
|
|
137
|
+
const [queryClient, setQueryClient] = useState(() => {
|
|
138
|
+
if (providedQueryClient) {
|
|
139
|
+
queryClientRef.current = providedQueryClient;
|
|
140
|
+
return providedQueryClient;
|
|
141
|
+
}
|
|
142
|
+
return null;
|
|
143
|
+
});
|
|
144
|
+
useEffect(() => {
|
|
145
|
+
if (providedQueryClient) {
|
|
146
|
+
queryClientRef.current = providedQueryClient;
|
|
147
|
+
setQueryClient(providedQueryClient);
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
let mounted = true;
|
|
151
|
+
const bootstrap = async () => {
|
|
152
|
+
let storage = null;
|
|
153
|
+
try {
|
|
154
|
+
storage = await createPlatformStorage();
|
|
155
|
+
} catch (error) {
|
|
156
|
+
if (__DEV__) {
|
|
157
|
+
loggerUtil.warn('Failed to initialize storage for query persistence', {
|
|
158
|
+
component: 'OxyProvider'
|
|
159
|
+
}, error);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
if (!mounted || queryClientRef.current) return;
|
|
163
|
+
storageRef.current = storage;
|
|
164
|
+
const client = createQueryClient();
|
|
165
|
+
const {
|
|
166
|
+
restored,
|
|
167
|
+
unsubscribe
|
|
168
|
+
} = attachQueryPersistence(client, storage);
|
|
169
|
+
persistenceUnsubRef.current = unsubscribe;
|
|
170
|
+
|
|
171
|
+
// Block first render until the persisted cache is restored so
|
|
172
|
+
// offline reads land synchronously on the very first paint.
|
|
173
|
+
await restored;
|
|
174
|
+
if (!mounted) {
|
|
175
|
+
unsubscribe();
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
queryClientRef.current = client;
|
|
179
|
+
setQueryClient(client);
|
|
180
|
+
};
|
|
181
|
+
bootstrap();
|
|
182
|
+
return () => {
|
|
183
|
+
mounted = false;
|
|
184
|
+
persistenceUnsubRef.current?.();
|
|
185
|
+
persistenceUnsubRef.current = null;
|
|
186
|
+
};
|
|
187
|
+
}, [providedQueryClient]);
|
|
188
|
+
|
|
189
|
+
// Hook React Query focus manager into app state (native) or visibility (web)
|
|
190
|
+
useEffect(() => {
|
|
191
|
+
if (isWeb) {
|
|
192
|
+
// Web: use document visibility
|
|
193
|
+
const handleVisibilityChange = () => {
|
|
194
|
+
focusManager.setFocused(document.visibilityState === 'visible');
|
|
195
|
+
};
|
|
196
|
+
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
197
|
+
return () => {
|
|
198
|
+
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
// Native: use AppState
|
|
202
|
+
const subscription = AppState.addEventListener('change', state => {
|
|
203
|
+
focusManager.setFocused(state === 'active');
|
|
204
|
+
});
|
|
205
|
+
return () => {
|
|
206
|
+
subscription.remove();
|
|
207
|
+
};
|
|
208
|
+
}, []);
|
|
209
|
+
|
|
210
|
+
// Setup network status monitoring for offline detection
|
|
211
|
+
useEffect(() => {
|
|
212
|
+
let cleanup;
|
|
213
|
+
const setupNetworkMonitoring = async () => {
|
|
214
|
+
try {
|
|
215
|
+
if (isWeb) {
|
|
216
|
+
// Web: use navigator.onLine
|
|
217
|
+
onlineManager.setOnline(navigator.onLine);
|
|
218
|
+
const handleOnline = () => onlineManager.setOnline(true);
|
|
219
|
+
const handleOffline = () => onlineManager.setOnline(false);
|
|
220
|
+
window.addEventListener('online', handleOnline);
|
|
221
|
+
window.addEventListener('offline', handleOffline);
|
|
222
|
+
cleanup = () => {
|
|
223
|
+
window.removeEventListener('online', handleOnline);
|
|
224
|
+
window.removeEventListener('offline', handleOffline);
|
|
225
|
+
};
|
|
226
|
+
} else {
|
|
227
|
+
// Native: try to use NetInfo
|
|
228
|
+
try {
|
|
229
|
+
const NetInfo = await import('@react-native-community/netinfo');
|
|
230
|
+
const state = await NetInfo.default.fetch();
|
|
231
|
+
onlineManager.setOnline(isNetConnectivityOnline(state));
|
|
232
|
+
const unsubscribe = NetInfo.default.addEventListener(state => {
|
|
233
|
+
onlineManager.setOnline(isNetConnectivityOnline(state));
|
|
234
|
+
});
|
|
235
|
+
cleanup = () => unsubscribe();
|
|
236
|
+
} catch {
|
|
237
|
+
// NetInfo not available, default to online
|
|
238
|
+
onlineManager.setOnline(true);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
} catch (error) {
|
|
242
|
+
// Default to online if detection fails
|
|
243
|
+
onlineManager.setOnline(true);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
setupNetworkMonitoring();
|
|
247
|
+
return () => {
|
|
248
|
+
cleanup?.();
|
|
249
|
+
};
|
|
250
|
+
}, []);
|
|
251
|
+
|
|
252
|
+
// While the QueryClient is being created and the persisted cache is
|
|
253
|
+
// hydrating, render a solid-color shell instead of `null`. Returning
|
|
254
|
+
// `null` here on mid-range Android devices flashed a transparent
|
|
255
|
+
// surface for 200–600ms after the native splash hid, which read as a
|
|
256
|
+
// glitch. The shell keeps the screen filled with a sensible default
|
|
257
|
+
// until children can mount under a real <QueryClientProvider>.
|
|
258
|
+
if (!queryClient) {
|
|
259
|
+
return /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
260
|
+
style: bootStyles.providerRoot,
|
|
261
|
+
children: /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
262
|
+
children: /*#__PURE__*/_jsx(KeyboardWrapper, {
|
|
263
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
264
|
+
style: bootStyles.bootShell
|
|
265
|
+
})
|
|
266
|
+
})
|
|
267
|
+
})
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// Core content: QueryClient + OxyContext + UI overlays.
|
|
272
|
+
//
|
|
273
|
+
// Theming is owned by `@oxyhq/bloom`. Consumers must mount their own
|
|
274
|
+
// `<BloomThemeProvider>` in their app root and configure it directly
|
|
275
|
+
// (defaultColorPreset, defaultMode, persistKey, storage, fonts, etc.).
|
|
276
|
+
// OxyProvider does NOT wrap a BloomThemeProvider — that would create a
|
|
277
|
+
// duplicate scope that silently shadows the consumer's configuration.
|
|
278
|
+
const coreContent = /*#__PURE__*/_jsx(QueryClientProvider, {
|
|
279
|
+
client: queryClient,
|
|
280
|
+
children: /*#__PURE__*/_jsxs(OxyRuntimeProvider, {
|
|
281
|
+
oxyServices: oxyServices,
|
|
282
|
+
baseURL: baseURL,
|
|
283
|
+
authWebUrl: authWebUrl,
|
|
284
|
+
authRedirectUri: authRedirectUri,
|
|
285
|
+
authorizeBaseUrl: authorizeBaseUrl,
|
|
286
|
+
storageKeyPrefix: storageKeyPrefix,
|
|
287
|
+
clientId: clientId,
|
|
288
|
+
sessionMode: sessionMode,
|
|
289
|
+
webAuthMode: webAuthMode,
|
|
290
|
+
backgroundSession: backgroundSession,
|
|
291
|
+
deviceCredentialStorage: deviceCredentialStorage,
|
|
292
|
+
onAuthStateChange: onAuthStateChange,
|
|
293
|
+
children: [/*#__PURE__*/_jsx(SurfaceProvider, {
|
|
294
|
+
children: requireAuth === 'off' ? children : /*#__PURE__*/_jsx(RequireOxyAuth, {
|
|
295
|
+
prompt: requireAuth,
|
|
296
|
+
children: children
|
|
297
|
+
})
|
|
298
|
+
}), /*#__PURE__*/_jsx(ToastOutlet, {})]
|
|
299
|
+
})
|
|
300
|
+
});
|
|
301
|
+
return /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
302
|
+
style: bootStyles.providerRoot,
|
|
303
|
+
children: /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
304
|
+
children: /*#__PURE__*/_jsx(KeyboardWrapper, {
|
|
305
|
+
children: coreContent
|
|
306
|
+
})
|
|
307
|
+
})
|
|
308
|
+
});
|
|
309
|
+
};
|
|
310
|
+
export default OxyProvider;
|
|
311
|
+
//# sourceMappingURL=OxyProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useRef","useState","AppState","Platform","StyleSheet","View","GestureHandlerRootView","SafeAreaProvider","OxyRuntimeProvider","QueryClientProvider","focusManager","onlineManager","SurfaceProvider","ToastOutlet","logger","loggerUtil","RequireOxyAuth","attachQueryPersistence","createQueryClient","createPlatformStorage","isNetConnectivityOnline","Fragment","_Fragment","jsx","_jsx","jsxs","_jsxs","BOOT_BG_COLOR","bootStyles","create","providerRoot","flex","bootShell","backgroundColor","isWeb","OS","KEYBOARD_CONTROLLER_MODULE","OxyProvider","oxyServices","children","onAuthStateChange","storageKeyPrefix","clientId","baseURL","authWebUrl","authRedirectUri","authorizeBaseUrl","sessionMode","webAuthMode","queryClient","providedQueryClient","requireAuth","backgroundSession","deviceCredentialStorage","KBProvider","setKBProvider","moduleName","then","mod","KeyboardProvider","catch","error","__DEV__","warn","component","KeyboardWrapper","storageRef","queryClientRef","persistenceUnsubRef","setQueryClient","current","mounted","bootstrap","storage","client","restored","unsubscribe","handleVisibilityChange","setFocused","document","visibilityState","addEventListener","removeEventListener","subscription","state","remove","cleanup","setupNetworkMonitoring","setOnline","navigator","onLine","handleOnline","handleOffline","window","NetInfo","default","fetch","style","coreContent","prompt"],"sourceRoot":"../../../../src","sources":["ui/components/OxyProvider.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAiC,OAAO;AAC5E,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACnE,SAASC,sBAAsB,QAAQ,8BAA8B;AACrE,SAASC,gBAAgB,QAAQ,gCAAgC;AAEjE,SAASC,kBAAkB,QAAsC,0BAAuB;AACxF,SAASC,mBAAmB,EAAEC,YAAY,EAAEC,aAAa,QAAQ,uBAAuB;AACxF,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,MAAM,IAAIC,UAAU,QAAQ,aAAa;AAClD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,sBAAsB,EAAEC,iBAAiB,QAAQ,yBAAsB;AAChF,SAASC,qBAAqB,QAA+B,4BAAyB;AACtF,SAASC,uBAAuB,QAAQ,6BAA0B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAbA,SAAAC,QAAA,IAAAC,SAAA,EAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAcA,MAAMC,aAAa,GAAG,SAAS;AAE/B,MAAMC,UAAU,GAAGxB,UAAU,CAACyB,MAAM,CAAC;EACjCC,YAAY,EAAE;IACVC,IAAI,EAAE;EACV,CAAC;EACDC,SAAS,EAAE;IACPD,IAAI,EAAE,CAAC;IACPE,eAAe,EAAEN;EACrB;AACJ,CAAC,CAAC;;AAEF;AACA,MAAMO,KAAK,GAAG/B,QAAQ,CAACgC,EAAE,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AAED,eAAe7D,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useState, useEffect, useRef } from 'react';
|
|
4
|
+
import { Platform } from 'react-native';
|
|
5
|
+
import { logger, generatePkcePair, generateOAuthState, buildOAuthAuthorizeUrl } from '@oxyhq/core';
|
|
6
|
+
import { useAuthStore } from "../stores/authStore.js";
|
|
7
|
+
import { useShallow } from 'zustand/react/shallow';
|
|
8
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
9
|
+
import { Button } from '@oxyhq/bloom/button';
|
|
10
|
+
import { toast } from '@oxyhq/bloom/toast';
|
|
11
|
+
import { useOxy } from "../context/OxyContext.js";
|
|
12
|
+
import { useI18n } from "../hooks/useI18n.js";
|
|
13
|
+
import { LogoIcon } from "./logo/LogoIcon.js";
|
|
14
|
+
import { subscribeToAccountDialog } from "../navigation/accountDialogManager.js";
|
|
15
|
+
import { openAuthorizeUrlNative } from "./oauthNavigation.js";
|
|
16
|
+
import { closeOAuthPopup, openOAuthPopup } from "../oauth/oauthPopup.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The OAuth handshake surfaced to a NATIVE third-party RP via
|
|
20
|
+
* {@link OxySignInButtonProps.onOAuthResult} so it can finish the code exchange
|
|
21
|
+
* (`POST /auth/oauth/token`). Web sign-in is handled entirely by the SDK's web
|
|
22
|
+
* transport (`useOxy().startWebOAuthSignIn`) and never uses this callback.
|
|
23
|
+
*/
|
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
+
/**
|
|
26
|
+
* A pre-styled button component for signing in with Oxy identity
|
|
27
|
+
*
|
|
28
|
+
* This component opens the Oxy Auth flow which allows users to authenticate
|
|
29
|
+
* using their Oxy Accounts identity (via QR code or deep link).
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* // Basic usage
|
|
34
|
+
* <OxySignInButton />
|
|
35
|
+
*
|
|
36
|
+
* // Custom styling
|
|
37
|
+
* <OxySignInButton
|
|
38
|
+
* variant="contained"
|
|
39
|
+
* style={{ marginTop: 20 }}
|
|
40
|
+
* text="Login with Oxy"
|
|
41
|
+
* />
|
|
42
|
+
*
|
|
43
|
+
* // Custom handler
|
|
44
|
+
* <OxySignInButton onPress={() => {
|
|
45
|
+
* // Custom authentication flow
|
|
46
|
+
* }} />
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export const OxySignInButton = ({
|
|
50
|
+
variant = 'default',
|
|
51
|
+
onPress,
|
|
52
|
+
style,
|
|
53
|
+
textStyle,
|
|
54
|
+
text,
|
|
55
|
+
disabled = false,
|
|
56
|
+
showWhenAuthenticated = false,
|
|
57
|
+
oauthRedirectUri,
|
|
58
|
+
onOAuthResult
|
|
59
|
+
}) => {
|
|
60
|
+
const theme = useTheme();
|
|
61
|
+
const {
|
|
62
|
+
t
|
|
63
|
+
} = useI18n();
|
|
64
|
+
const {
|
|
65
|
+
openAccountDialog,
|
|
66
|
+
oxyServices,
|
|
67
|
+
clientId,
|
|
68
|
+
webAuthMode,
|
|
69
|
+
startWebOAuthSignIn
|
|
70
|
+
} = useOxy();
|
|
71
|
+
const {
|
|
72
|
+
isAuthenticated,
|
|
73
|
+
isLoading
|
|
74
|
+
} = useAuthStore(useShallow(state => ({
|
|
75
|
+
isAuthenticated: state.isAuthenticated,
|
|
76
|
+
isLoading: state.isLoading
|
|
77
|
+
})));
|
|
78
|
+
// Tracks whether the unified account dialog is open so we can show
|
|
79
|
+
// "Signing in..." while it is. The manager reports visibility on every
|
|
80
|
+
// change regardless of platform or what opened/closed it.
|
|
81
|
+
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
82
|
+
useEffect(() => subscribeToAccountDialog(setIsModalOpen), []);
|
|
83
|
+
|
|
84
|
+
// The application's public identity is resolved lazily on first press and its
|
|
85
|
+
// promise cached, so rapid taps share one in-flight resolve. The cache is
|
|
86
|
+
// KEYED on the identity inputs (clientId + the oxyServices instance): if
|
|
87
|
+
// either changes the cache is invalidated and re-resolved — without a
|
|
88
|
+
// useEffect. A rejected resolve clears the cache so a later press can retry.
|
|
89
|
+
const appResolutionRef = useRef(null);
|
|
90
|
+
// Re-entrancy guard: a routing pass may await network + crypto before it
|
|
91
|
+
// redirects, so block a second concurrent press from racing the sessionStorage
|
|
92
|
+
// handshake against a different PKCE pair.
|
|
93
|
+
const routingRef = useRef(false);
|
|
94
|
+
// Popup mode only opens a window for applications that could actually need
|
|
95
|
+
// one: `oauthRedirectUri` is required for (and only for) third-party OAuth,
|
|
96
|
+
// so an official app never flashes a popup open and closed while its
|
|
97
|
+
// in-app dialog loads.
|
|
98
|
+
const shouldPreOpenPopup = Platform.OS === 'web' && webAuthMode === 'popup' && Boolean(oauthRedirectUri);
|
|
99
|
+
const resolvePublicApplication = useCallback(() => {
|
|
100
|
+
if (!clientId) return null;
|
|
101
|
+
const cached = appResolutionRef.current;
|
|
102
|
+
if (cached && cached.clientId === clientId && cached.oxyServices === oxyServices) {
|
|
103
|
+
return cached.promise;
|
|
104
|
+
}
|
|
105
|
+
const promise = oxyServices.getPublicApplication(clientId).catch(error => {
|
|
106
|
+
// Only clear if this is still the live entry (a later resolve may have
|
|
107
|
+
// replaced it after a clientId/oxyServices change).
|
|
108
|
+
if (appResolutionRef.current?.promise === promise) {
|
|
109
|
+
appResolutionRef.current = null;
|
|
110
|
+
}
|
|
111
|
+
throw error;
|
|
112
|
+
});
|
|
113
|
+
appResolutionRef.current = {
|
|
114
|
+
clientId,
|
|
115
|
+
oxyServices,
|
|
116
|
+
promise
|
|
117
|
+
};
|
|
118
|
+
return promise;
|
|
119
|
+
}, [clientId, oxyServices]);
|
|
120
|
+
|
|
121
|
+
// A press that cannot reach a sign-in surface must SAY so. Without this the
|
|
122
|
+
// only trace of an aborted sign-in was a console line, so the button read as
|
|
123
|
+
// simply dead — the SDK owns this so no relying party has to wire it up.
|
|
124
|
+
// `ToastOutlet` is already mounted by `OxyProvider`.
|
|
125
|
+
const notifyNotConfigured = useCallback(appName => {
|
|
126
|
+
toast.error(t('signin.errors.notConfigured'), {
|
|
127
|
+
description: t('signin.errors.notConfiguredDescription', {
|
|
128
|
+
app: appName
|
|
129
|
+
})
|
|
130
|
+
});
|
|
131
|
+
}, [t]);
|
|
132
|
+
const notifyFailed = useCallback(() => {
|
|
133
|
+
toast.error(t('signin.errors.failed'), {
|
|
134
|
+
description: t('signin.errors.failedDescription')
|
|
135
|
+
});
|
|
136
|
+
}, [t]);
|
|
137
|
+
|
|
138
|
+
// Official / first-party surface: the in-app account + sign-in dialog.
|
|
139
|
+
const startOfficialSignIn = useCallback(() => {
|
|
140
|
+
openAccountDialog('signin');
|
|
141
|
+
}, [openAccountDialog]);
|
|
142
|
+
|
|
143
|
+
// Third-party surface: an OAuth 2.0 authorization-code + PKCE flow against
|
|
144
|
+
// auth.oxy.so. No FedCM, no SSO bounce, no Oxy session cookies.
|
|
145
|
+
//
|
|
146
|
+
// Web delegates to the ONE shared transport (`startWebOAuthSignIn`), which
|
|
147
|
+
// owns popup-vs-redirect selection, the popup lifecycle, the code exchange,
|
|
148
|
+
// and the session commit. Native keeps its in-app auth session and hands the
|
|
149
|
+
// handshake to the RP, which owns that exchange.
|
|
150
|
+
const startThirdPartyOAuth = useCallback(async (app, popup) => {
|
|
151
|
+
if (!clientId) {
|
|
152
|
+
closeOAuthPopup(popup);
|
|
153
|
+
startOfficialSignIn();
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (!oauthRedirectUri) {
|
|
157
|
+
closeOAuthPopup(popup);
|
|
158
|
+
logger.error('OxySignInButton: a third_party application requires the `oauthRedirectUri` prop to start the OAuth flow; sign-in aborted', undefined, {
|
|
159
|
+
component: 'OxySignInButton',
|
|
160
|
+
clientId,
|
|
161
|
+
application: app.name
|
|
162
|
+
});
|
|
163
|
+
notifyNotConfigured(app.name);
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (Platform.OS === 'web') {
|
|
167
|
+
const result = await startWebOAuthSignIn({
|
|
168
|
+
redirectUri: oauthRedirectUri,
|
|
169
|
+
// In popup mode the window was claimed during the press (see
|
|
170
|
+
// `handlePress`); `null` means the browser blocked it and the
|
|
171
|
+
// transport falls back to a redirect. `undefined` (redirect
|
|
172
|
+
// mode) lets the transport decide for itself.
|
|
173
|
+
...(shouldPreOpenPopup ? {
|
|
174
|
+
popup
|
|
175
|
+
} : {})
|
|
176
|
+
});
|
|
177
|
+
if (result.status === 'failed') {
|
|
178
|
+
logger.warn(`OxySignInButton: web sign-in failed (${result.reason})`, {
|
|
179
|
+
component: 'OxySignInButton',
|
|
180
|
+
application: app.name
|
|
181
|
+
}, result.description);
|
|
182
|
+
notifyFailed();
|
|
183
|
+
}
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Native: open the in-app auth session, then hand the handshake to the
|
|
188
|
+
// RP so it can complete the token exchange from its deep-link callback.
|
|
189
|
+
const [pkce, state] = await Promise.all([generatePkcePair(), generateOAuthState()]);
|
|
190
|
+
const authorizeUrl = buildOAuthAuthorizeUrl({
|
|
191
|
+
clientId,
|
|
192
|
+
redirectUri: oauthRedirectUri,
|
|
193
|
+
state,
|
|
194
|
+
codeChallenge: pkce.codeChallenge
|
|
195
|
+
});
|
|
196
|
+
const {
|
|
197
|
+
redirectUrl
|
|
198
|
+
} = await openAuthorizeUrlNative(authorizeUrl, oauthRedirectUri);
|
|
199
|
+
if (onOAuthResult) {
|
|
200
|
+
onOAuthResult({
|
|
201
|
+
redirectUrl,
|
|
202
|
+
state,
|
|
203
|
+
codeVerifier: pkce.codeVerifier
|
|
204
|
+
});
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
logger.warn('OxySignInButton: native third-party sign-in cannot complete without an `onOAuthResult` handler; the code exchange is the RP\'s responsibility (state + code_verifier were not surfaced)', {
|
|
208
|
+
component: 'OxySignInButton',
|
|
209
|
+
application: app.name
|
|
210
|
+
});
|
|
211
|
+
notifyNotConfigured(app.name);
|
|
212
|
+
}, [clientId, oauthRedirectUri, onOAuthResult, startOfficialSignIn, startWebOAuthSignIn, shouldPreOpenPopup, notifyNotConfigured, notifyFailed]);
|
|
213
|
+
|
|
214
|
+
// Resolve the Application once, then route: third-party → OAuth; first-party
|
|
215
|
+
// / official / unresolved → the in-app dialog. Resolution failure NEVER
|
|
216
|
+
// breaks an official app's sign-in — it falls back to the dialog. Every path
|
|
217
|
+
// that does NOT reach the OAuth lane closes the pre-opened popup, so a
|
|
218
|
+
// mis-routed press can never leave an empty window on screen.
|
|
219
|
+
const routeSignIn = useCallback(async popup => {
|
|
220
|
+
if (routingRef.current) {
|
|
221
|
+
closeOAuthPopup(popup);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
routingRef.current = true;
|
|
225
|
+
try {
|
|
226
|
+
const resolving = resolvePublicApplication();
|
|
227
|
+
if (!resolving) {
|
|
228
|
+
closeOAuthPopup(popup);
|
|
229
|
+
startOfficialSignIn();
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
let app;
|
|
233
|
+
try {
|
|
234
|
+
app = await resolving;
|
|
235
|
+
} catch (error) {
|
|
236
|
+
closeOAuthPopup(popup);
|
|
237
|
+
logger.warn('OxySignInButton: could not resolve the application; opening the sign-in dialog', {
|
|
238
|
+
component: 'OxySignInButton',
|
|
239
|
+
clientId
|
|
240
|
+
}, error);
|
|
241
|
+
startOfficialSignIn();
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
if (app.type === 'third_party' && !app.isOfficial) {
|
|
245
|
+
await startThirdPartyOAuth(app, popup);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
closeOAuthPopup(popup);
|
|
249
|
+
startOfficialSignIn();
|
|
250
|
+
} catch (error) {
|
|
251
|
+
// `handlePress` fires this without awaiting, so an unexpected
|
|
252
|
+
// throw (a rejected native auth session, a crypto failure) would
|
|
253
|
+
// otherwise vanish into an unhandled rejection with the button
|
|
254
|
+
// left looking inert.
|
|
255
|
+
closeOAuthPopup(popup);
|
|
256
|
+
logger.error('OxySignInButton: sign-in routing threw; sign-in aborted', error instanceof Error ? error : new Error(String(error)), {
|
|
257
|
+
component: 'OxySignInButton',
|
|
258
|
+
clientId
|
|
259
|
+
});
|
|
260
|
+
notifyFailed();
|
|
261
|
+
} finally {
|
|
262
|
+
routingRef.current = false;
|
|
263
|
+
}
|
|
264
|
+
}, [resolvePublicApplication, startOfficialSignIn, startThirdPartyOAuth, clientId, notifyFailed]);
|
|
265
|
+
|
|
266
|
+
// Defer to a caller-supplied handler, otherwise route by application type.
|
|
267
|
+
//
|
|
268
|
+
// The popup is opened HERE, synchronously, before the async application
|
|
269
|
+
// resolve: `window.open` only survives while the click is still being
|
|
270
|
+
// handled, so a window opened after that first `await` is silently blocked.
|
|
271
|
+
const handlePress = useCallback(() => {
|
|
272
|
+
if (onPress) {
|
|
273
|
+
onPress();
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
void routeSignIn(shouldPreOpenPopup ? openOAuthPopup() : null);
|
|
277
|
+
}, [onPress, routeSignIn, shouldPreOpenPopup]);
|
|
278
|
+
|
|
279
|
+
// Don't show the button if already authenticated (unless explicitly overridden)
|
|
280
|
+
if (isAuthenticated && !showWhenAuthenticated) return null;
|
|
281
|
+
const isButtonDisabled = disabled || isLoading || isModalOpen;
|
|
282
|
+
|
|
283
|
+
// Map the public `variant` API onto Bloom's Button variants:
|
|
284
|
+
// contained → primary (filled), outline → outline, default → secondary.
|
|
285
|
+
const buttonVariant = variant === 'contained' ? 'primary' : variant === 'outline' ? 'outline' : 'secondary';
|
|
286
|
+
|
|
287
|
+
// The Oxy mark reads white-on-primary for the filled (contained) button and
|
|
288
|
+
// primary-on-transparent for the outline / default surfaces.
|
|
289
|
+
const isContained = variant === 'contained';
|
|
290
|
+
const logoColor = isContained ? '#ffffff' : theme.colors.primary;
|
|
291
|
+
const logoLetterColor = isContained ? theme.colors.primary : '#ffffff';
|
|
292
|
+
|
|
293
|
+
// The relying party surfaces exactly ONE primary action, and it reads
|
|
294
|
+
// "Continue with Oxy" (issue #691). A caller-supplied `text` still wins.
|
|
295
|
+
const label = text ?? t('accountSwitcher.continueWithOxy');
|
|
296
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
297
|
+
variant: buttonVariant,
|
|
298
|
+
onPress: handlePress,
|
|
299
|
+
disabled: isButtonDisabled,
|
|
300
|
+
style: style,
|
|
301
|
+
textStyle: [Platform.OS === 'web' ? {
|
|
302
|
+
fontWeight: '600'
|
|
303
|
+
} : null, textStyle],
|
|
304
|
+
icon: /*#__PURE__*/_jsx(LogoIcon, {
|
|
305
|
+
height: 20,
|
|
306
|
+
color: logoColor,
|
|
307
|
+
letterColor: logoLetterColor,
|
|
308
|
+
style: {
|
|
309
|
+
marginRight: 10
|
|
310
|
+
}
|
|
311
|
+
}),
|
|
312
|
+
children: isLoading || isModalOpen ? t('signin.status.signingIn') : label
|
|
313
|
+
});
|
|
314
|
+
};
|
|
315
|
+
export default OxySignInButton;
|
|
316
|
+
//# sourceMappingURL=OxySignInButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useCallback","useState","useEffect","useRef","Platform","logger","generatePkcePair","generateOAuthState","buildOAuthAuthorizeUrl","useAuthStore","useShallow","useTheme","Button","toast","useOxy","useI18n","LogoIcon","subscribeToAccountDialog","openAuthorizeUrlNative","closeOAuthPopup","openOAuthPopup","jsx","_jsx","OxySignInButton","variant","onPress","style","textStyle","text","disabled","showWhenAuthenticated","oauthRedirectUri","onOAuthResult","theme","t","openAccountDialog","oxyServices","clientId","webAuthMode","startWebOAuthSignIn","isAuthenticated","isLoading","state","isModalOpen","setIsModalOpen","appResolutionRef","routingRef","shouldPreOpenPopup","OS","Boolean","resolvePublicApplication","cached","current","promise","getPublicApplication","catch","error","notifyNotConfigured","appName","description","app","notifyFailed","startOfficialSignIn","startThirdPartyOAuth","popup","undefined","component","application","name","result","redirectUri","status","warn","reason","pkce","Promise","all","authorizeUrl","codeChallenge","redirectUrl","codeVerifier","routeSignIn","resolving","type","isOfficial","Error","String","handlePress","isButtonDisabled","buttonVariant","isContained","logoColor","colors","primary","logoLetterColor","label","fontWeight","icon","height","color","letterColor","marginRight","children"],"sourceRoot":"../../../../src","sources":["ui/components/OxySignInButton.tsx"],"mappings":";;AACA,SAASA,WAAW,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChE,SAAyDC,QAAQ,QAAQ,cAAc;AACvF,SACIC,MAAM,EACNC,gBAAgB,EAChBC,kBAAkB,EAClBC,sBAAsB,QAEnB,aAAa;AACpB,SAASC,YAAY,QAAQ,wBAAqB;AAClD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,MAAM,QAA4B,qBAAqB;AAChE,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,QAAQ,QAAQ,oBAAiB;AAC1C,SAASC,wBAAwB,QAAQ,uCAAoC;AAC7E,SAASC,sBAAsB,QAAQ,sBAAmB;AAC1D,SAASC,eAAe,EAAEC,cAAc,QAAQ,wBAAqB;;AAGrE;AACA;AACA;AACA;AACA;AACA;AALA,SAAAC,GAAA,IAAAC,IAAA;AA8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,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,GA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