@oxyhq/services 23.0.2 → 23.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/assets/icons/OxyServices.js +51 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/index.js +897 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/notifications/deviceNotifications.js +443 -0
- package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +198 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +137 -0
- package/lib/commonjs/ui/client.js.map +1 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +257 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +195 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js +401 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js +497 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +313 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +289 -0
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileButton.js +348 -0
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js +229 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +527 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +90 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +61 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js +170 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +153 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +54 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/types.js +70 -0
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/constants.js +59 -0
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/types.js +6 -0
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/internal/PinInput.js +116 -0
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/commonjs/ui/components/oauthNavigation.js +83 -0
- package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js +53 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/commonjs/ui/components/payment/types.js +6 -0
- package/lib/commonjs/ui/components/payment/types.js.map +1 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/commonjs/ui/components/styles/overlay.js +83 -0
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
- package/lib/commonjs/ui/components/styles/shadow.js +127 -0
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js +50 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +1235 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js +104 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +316 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
- package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +111 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +681 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +144 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js +286 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +208 -0
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAssets.js +227 -0
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAuth.js +125 -0
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.js +331 -0
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +22 -0
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js +290 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/commonjs/ui/hooks/useStorage.js +45 -0
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +64 -0
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +1 -0
- package/lib/commonjs/ui/index.js +178 -0
- package/lib/commonjs/ui/index.js.map +1 -0
- package/lib/commonjs/ui/isFrontend.js +10 -0
- package/lib/commonjs/ui/isFrontend.js.map +1 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js +86 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +98 -0
- package/lib/commonjs/ui/navigation/routes.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaces.js +338 -0
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js +141 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/commonjs/ui/oauth/types.js +2 -0
- package/lib/commonjs/ui/oauth/types.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +401 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +239 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +307 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +318 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js +168 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +590 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +502 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +462 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserListScreen.js +295 -0
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/commonjs/ui/screens/linkFormat.js +38 -0
- package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +184 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +223 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +90 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/trustTier.js +23 -0
- package/lib/commonjs/ui/screens/trust/trustTier.js.map +1 -0
- package/lib/commonjs/ui/server.js +86 -0
- package/lib/commonjs/ui/server.js.map +1 -0
- package/lib/commonjs/ui/session/authStore.js +39 -0
- package/lib/commonjs/ui/session/authStore.js.map +1 -0
- package/lib/commonjs/ui/session/createSessionClient.js +58 -0
- package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
- package/lib/commonjs/ui/session/identityBinding.js +95 -0
- package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
- package/lib/commonjs/ui/session/index.js +71 -0
- package/lib/commonjs/ui/session/index.js.map +1 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/commonjs/ui/session/tokenTransport.js +75 -0
- package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
- package/lib/commonjs/ui/stores/accountStore.js +221 -0
- package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +225 -0
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/authStore.js +70 -0
- package/lib/commonjs/ui/stores/authStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followStore.js +549 -0
- package/lib/commonjs/ui/stores/followStore.js.map +1 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +19 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/commonjs/ui/types/fileManagement.js +6 -0
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/types/navigation.js +6 -0
- package/lib/commonjs/ui/types/navigation.js.map +1 -0
- package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
- package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/utils/avatarUtils.js +72 -0
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/colorUtils.js +49 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
- package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
- package/lib/commonjs/ui/utils/fileManagement.js +147 -0
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/utils/iconNames.js +133 -0
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
- package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
- package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
- package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/userUtils.js +70 -0
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
- package/lib/commonjs/utils/hookUtils.js +421 -0
- package/lib/commonjs/utils/hookUtils.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.js +39 -0
- package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/module/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/assets/icons/OxyServices.js +45 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/illustrations/HighFive.js +53 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/index.js +203 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/notifications/deviceNotifications.js +433 -0
- package/lib/module/notifications/deviceNotifications.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/ui/boot/runProviderColdBoot.js +192 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +39 -0
- package/lib/module/ui/client.js.map +1 -0
- package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
- package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +253 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js +190 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/module/ui/components/OxyAuthChooser.js +396 -0
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/module/ui/components/OxyConsentScreen.js +491 -0
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +62 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +310 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +284 -0
- package/lib/module/ui/components/OxySignInButton.js.map +1 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/module/ui/components/ProfileButton.js +342 -0
- package/lib/module/ui/components/ProfileButton.js.map +1 -0
- package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/module/ui/components/RequireOxyAuth.js +292 -0
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/module/ui/components/SettingsIcon.js +40 -0
- package/lib/module/ui/components/SettingsIcon.js.map +1 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/module/ui/components/SurfaceScreen.js +224 -0
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +523 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js +85 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
- package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +57 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/module/ui/components/authChooser/primitives.js +163 -0
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js +143 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/module/ui/components/authChooser/signInProgress.js +50 -0
- package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +216 -0
- package/lib/module/ui/components/authChooser/styles.js.map +1 -0
- package/lib/module/ui/components/authChooser/types.js +66 -0
- package/lib/module/ui/components/authChooser/types.js.map +1 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +55 -0
- package/lib/module/ui/components/feedback/constants.js.map +1 -0
- package/lib/module/ui/components/feedback/types.js +4 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/internal/PinInput.js +111 -0
- package/lib/module/ui/components/internal/PinInput.js.map +1 -0
- package/lib/module/ui/components/logo/LogoIcon.js +55 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +42 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/module/ui/components/oauthNavigation.js +80 -0
- package/lib/module/ui/components/oauthNavigation.js.map +1 -0
- package/lib/module/ui/components/passkeyHubPopup.js +29 -0
- package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +47 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/paymentStyles.js +396 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +4 -0
- package/lib/module/ui/components/payment/types.js.map +1 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/module/ui/components/styles/overlay.js +80 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -0
- package/lib/module/ui/components/styles/shadow.js +123 -0
- package/lib/module/ui/components/styles/shadow.js.map +1 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/module/ui/components/utils/splitStyles.js +46 -0
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/module/ui/constants/spacing.js +45 -0
- package/lib/module/ui/constants/spacing.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +1230 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/commitSessionFlow.js +100 -0
- package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js +311 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/module/ui/context/oxyContextHelpers.js +57 -0
- package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/module/ui/context/oxyContextTypes.js +4 -0
- package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/module/ui/context/passkeyFlow.js +111 -0
- package/lib/module/ui/context/passkeyFlow.js.map +1 -0
- package/lib/module/ui/context/useOxyAccountGraph.js +107 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +672 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +136 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCache.js +282 -0
- package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +201 -0
- package/lib/module/ui/hooks/queryClient.js.map +1 -0
- package/lib/module/ui/hooks/useAssets.js +221 -0
- package/lib/module/ui/hooks/useAssets.js.map +1 -0
- package/lib/module/ui/hooks/useAsyncAction.js +89 -0
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/module/ui/hooks/useAuth.js +121 -0
- package/lib/module/ui/hooks/useAuth.js.map +1 -0
- package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFileFiltering.js +72 -0
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +324 -0
- package/lib/module/ui/hooks/useFollow.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.types.js +4 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/module/ui/hooks/useI18n.js +18 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOxyEvent.js +25 -0
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +129 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +15 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useReduceMotion.js +53 -0
- package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +286 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/module/ui/hooks/useSettingToggle.js +126 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +40 -0
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/module/ui/hooks/useSwitchableAccounts.js +60 -0
- package/lib/module/ui/hooks/useSwitchableAccounts.js.map +1 -0
- package/lib/module/ui/index.js +49 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/isFrontend.js +6 -0
- package/lib/module/ui/isFrontend.js.map +1 -0
- package/lib/module/ui/navigation/accountDialogManager.js +76 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/module/ui/navigation/routes.js +92 -0
- package/lib/module/ui/navigation/routes.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/module/ui/navigation/surfaces.js +325 -0
- package/lib/module/ui/navigation/surfaces.js.map +1 -0
- package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
- package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
- package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/module/ui/oauth/oauthHandshake.js +50 -0
- package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopup.js +268 -0
- package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js +135 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/module/ui/oauth/types.js +2 -0
- package/lib/module/ui/oauth/types.js.map +1 -0
- package/lib/module/ui/screens/AccountMembersScreen.js +396 -0
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +235 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/module/ui/screens/AppInfoScreen.js +368 -0
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js +304 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateAccountScreen.js +313 -0
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileScreen.js +163 -0
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/FAQScreen.js +157 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +588 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowersListScreen.js +12 -0
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowingListScreen.js +12 -0
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/NotificationsScreen.js +145 -0
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +189 -0
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js +497 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +457 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/UserLinksScreen.js +57 -0
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/module/ui/screens/UserListScreen.js +290 -0
- package/lib/module/ui/screens/UserListScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/shared.js +70 -0
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/module/ui/screens/linkFormat.js +31 -0
- package/lib/module/ui/screens/linkFormat.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +179 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +218 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +88 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/trustTier.js +19 -0
- package/lib/module/ui/screens/trust/trustTier.js.map +1 -0
- package/lib/module/ui/server.js +56 -0
- package/lib/module/ui/server.js.map +1 -0
- package/lib/module/ui/session/authStore.js +35 -0
- package/lib/module/ui/session/authStore.js.map +1 -0
- package/lib/module/ui/session/createSessionClient.js +55 -0
- package/lib/module/ui/session/createSessionClient.js.map +1 -0
- package/lib/module/ui/session/identityBinding.js +89 -0
- package/lib/module/ui/session/identityBinding.js.map +1 -0
- package/lib/module/ui/session/index.js +20 -0
- package/lib/module/ui/session/index.js.map +1 -0
- package/lib/module/ui/session/nativeSecureStorage.js +88 -0
- package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/module/ui/session/tokenTransport.js +71 -0
- package/lib/module/ui/session/tokenTransport.js.map +1 -0
- package/lib/module/ui/stores/accountStore.js +213 -0
- package/lib/module/ui/stores/accountStore.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +212 -0
- package/lib/module/ui/stores/assetStore.js.map +1 -0
- package/lib/module/ui/stores/authStore.js +66 -0
- package/lib/module/ui/stores/authStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +544 -0
- package/lib/module/ui/stores/followStore.js.map +1 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js +16 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/module/ui/types/fileManagement.js +4 -0
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +4 -0
- package/lib/module/ui/types/navigation.js.map +1 -0
- package/lib/module/ui/types/surfaceScreen.js +4 -0
- package/lib/module/ui/types/surfaceScreen.js.map +1 -0
- package/lib/module/ui/utils/avatarUtils.js +68 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +13 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
- package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/module/ui/utils/deliveryPlatform.js +55 -0
- package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/module/ui/utils/deviceCredential.js +18 -0
- package/lib/module/ui/utils/deviceCredential.js.map +1 -0
- package/lib/module/ui/utils/errorHandlers.js +129 -0
- package/lib/module/ui/utils/errorHandlers.js.map +1 -0
- package/lib/module/ui/utils/fileManagement.js +140 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/iconNames.js +124 -0
- package/lib/module/ui/utils/iconNames.js.map +1 -0
- package/lib/module/ui/utils/isWebBrowser.js +11 -0
- package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/module/ui/utils/netConnectivity.js +23 -0
- package/lib/module/ui/utils/netConnectivity.js.map +1 -0
- package/lib/module/ui/utils/oauthReturn.js +122 -0
- package/lib/module/ui/utils/oauthReturn.js.map +1 -0
- package/lib/module/ui/utils/sessionHelpers.js +55 -0
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +111 -0
- package/lib/module/ui/utils/storageHelpers.js.map +1 -0
- package/lib/module/ui/utils/userUtils.js +64 -0
- package/lib/module/ui/utils/userUtils.js.map +1 -0
- package/lib/module/utils/hookUtils.js +403 -0
- package/lib/module/utils/hookUtils.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.js +33 -0
- package/lib/module/webauthn/passkeyClient.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.native.js +28 -0
- package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.web.js +52 -0
- package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +100 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/client.d.ts +30 -0
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +112 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +56 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +55 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +58 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +103 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +39 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +74 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +189 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +32 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +137 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +212 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +96 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +66 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +107 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +5 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +39 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +44 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +6 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/server.d.ts +36 -0
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +25 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts +19 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +27 -0
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +17 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +120 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +28 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +30 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +100 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/module/ui/client.d.ts +30 -0
- package/lib/typescript/module/ui/client.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +112 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +56 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +32 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +55 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +58 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +103 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +43 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts +7 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +39 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +74 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +189 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +32 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +137 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +212 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +96 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +66 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +107 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +5 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +39 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +44 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts +6 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/trustTier.d.ts +9 -0
- package/lib/typescript/module/ui/screens/trust/trustTier.d.ts.map +1 -0
- package/lib/typescript/module/ui/server.d.ts +36 -0
- package/lib/typescript/module/ui/server.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/authStore.d.ts +25 -0
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/index.d.ts +19 -0
- package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/accountStore.d.ts +27 -0
- package/lib/typescript/module/ui/stores/accountStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts +17 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/navigation.d.ts +120 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +24 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +28 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts +30 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/nativewind-env.d.ts +1 -0
- package/lib/typescript/types/expo-crypto.d.ts +29 -0
- package/lib/typescript/types/expo-document-picker.d.ts +36 -0
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/lib/typescript/types/expo-secure-store.d.ts +22 -0
- package/lib/typescript/types/express.d.ts +24 -0
- package/lib/typescript/types/react-native-classname.d.ts +39 -0
- package/lib/typescript/types/react-native-web-style.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type StoreApi } from 'zustand/vanilla';
|
|
2
|
+
import type { RouteName } from './routes';
|
|
3
|
+
/**
|
|
4
|
+
* Per-surface route history — the NAV-WITHIN axis.
|
|
5
|
+
*
|
|
6
|
+
* Bloom's surface stack owns DEPTH (a surface presented on top of another). This
|
|
7
|
+
* store owns the ORTHOGONAL axis: the route history INSIDE one SDK surface. Each
|
|
8
|
+
* SDK surface holds its own {@link SurfaceNavStack}; `navigate`/`replace`/`goBack`
|
|
9
|
+
* mutate it and the SAME Bloom surface re-renders its content from the new top
|
|
10
|
+
* frame. It is the per-surface reincarnation of the old global
|
|
11
|
+
* `bottomSheetStore`'s `history` + `currentStep`.
|
|
12
|
+
*
|
|
13
|
+
* `closing`/`closeResult` model a pending dismissal: the surface's `SurfaceScreen`
|
|
14
|
+
* watches them and calls the Bloom surface's `dismiss(result)` from an effect —
|
|
15
|
+
* so a dismiss requested BEFORE the surface has mounted still resolves once it
|
|
16
|
+
* does, with no controls-capture race and no render-phase side effect.
|
|
17
|
+
*/
|
|
18
|
+
/** One frame in a surface's route history. */
|
|
19
|
+
export interface NavFrame {
|
|
20
|
+
route: RouteName;
|
|
21
|
+
props: Record<string, unknown>;
|
|
22
|
+
/** Current wizard step for step-based screens (seeded from `props.initialStep`). */
|
|
23
|
+
step: number;
|
|
24
|
+
}
|
|
25
|
+
export interface NavStackState {
|
|
26
|
+
/** Bottom → top; the last frame is the visible screen. */
|
|
27
|
+
frames: NavFrame[];
|
|
28
|
+
/** Flipped once a dismiss is requested; the host resolves the Bloom surface. */
|
|
29
|
+
closing: boolean;
|
|
30
|
+
/** The value the surface's `present()` promise resolves with on dismissal. */
|
|
31
|
+
closeResult: unknown;
|
|
32
|
+
}
|
|
33
|
+
export interface SurfaceNavStack {
|
|
34
|
+
store: StoreApi<NavStackState>;
|
|
35
|
+
/** Drill in: push a new frame. */
|
|
36
|
+
navigate(route: RouteName, props?: Record<string, unknown>): void;
|
|
37
|
+
/** Swap the top frame in place (no history entry). */
|
|
38
|
+
replace(route: RouteName, props?: Record<string, unknown>): void;
|
|
39
|
+
/** Pop one frame. Returns `false` when already at the root frame. */
|
|
40
|
+
goBack(): boolean;
|
|
41
|
+
/** Whether a back is possible (a deeper frame OR a prior wizard step). */
|
|
42
|
+
canGoBack(): boolean;
|
|
43
|
+
/** Set the current frame's wizard step. */
|
|
44
|
+
setStep(step: number): void;
|
|
45
|
+
/** Request dismissal of the whole surface, resolving its promise with `result`. */
|
|
46
|
+
requestDismiss(result?: unknown): void;
|
|
47
|
+
/**
|
|
48
|
+
* Begin a result-bearing SUB-FLOW inside this surface: push `route` as a frame
|
|
49
|
+
* and return a promise that settles when the flow finishes — a descendant's
|
|
50
|
+
* `dismiss(result)` resolves it with `result`, backing out of the flow's entry
|
|
51
|
+
* frame resolves it with `undefined` (cancelled) — popping the surface back to
|
|
52
|
+
* the frame that started the flow WITHOUT dismissing it. This is how a screen
|
|
53
|
+
* already living inside a surface (EditProfile, ManageAccount) opens the avatar
|
|
54
|
+
* flow as a MORPH instead of a stacked surface while still awaiting its result.
|
|
55
|
+
* The avatar flow is ONE flow (`ChangeAvatar`) with plain forward frames pushed
|
|
56
|
+
* on top (the "My Oxy files" `FileManagement` picker, then `AvatarCrop`); the
|
|
57
|
+
* cropper's `dismiss(result)` resolves THIS flow. Flows are kept as a STACK so
|
|
58
|
+
* they can nest generically, even though no current caller opens a flow inside
|
|
59
|
+
* another.
|
|
60
|
+
*/
|
|
61
|
+
beginFlow(route: RouteName, props?: Record<string, unknown>): Promise<unknown>;
|
|
62
|
+
/**
|
|
63
|
+
* Resolve the INNERMOST active sub-flow with `result` and pop back to its entry
|
|
64
|
+
* (the frame that called {@link beginFlow}), leaving the surface open. With NO
|
|
65
|
+
* active flow this falls back to {@link requestDismiss} — so a screen presented
|
|
66
|
+
* as its OWN surface still dismisses it. Wired to every screen's `dismiss` prop.
|
|
67
|
+
*/
|
|
68
|
+
resolveFlowOrDismiss(result?: unknown): void;
|
|
69
|
+
/** Settle EVERY still-pending sub-flow with `undefined` (the surface is going away). */
|
|
70
|
+
abandonActiveFlow(): void;
|
|
71
|
+
/** The current (top) frame. */
|
|
72
|
+
getTop(): NavFrame;
|
|
73
|
+
}
|
|
74
|
+
export declare function createSurfaceNavStack(route: RouteName, props?: Record<string, unknown>): SurfaceNavStack;
|
|
75
|
+
//# sourceMappingURL=surfaceNavStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surfaceNavStack.d.ts","sourceRoot":"","sources":["../../../../../src/ui/navigation/surfaceNavStack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;;;;;;;;;;GAcG;AAEH,8CAA8C;AAC9C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,oFAAoF;IACpF,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,0DAA0D;IAC1D,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,gFAAgF;IAChF,OAAO,EAAE,OAAO,CAAC;IACjB,8EAA8E;IAC9E,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,kCAAkC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAClE,sDAAsD;IACtD,OAAO,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACjE,qEAAqE;IACrE,MAAM,IAAI,OAAO,CAAC;IAClB,0EAA0E;IAC1E,SAAS,IAAI,OAAO,CAAC;IACrB,2CAA2C;IAC3C,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mFAAmF;IACnF,cAAc,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC;;;;;;;;;;;;;OAaG;IACH,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/E;;;;;OAKG;IACH,oBAAoB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7C,wFAAwF;IACxF,iBAAiB,IAAI,IAAI,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,IAAI,QAAQ,CAAC;CACpB;AAQD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,EAChB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,eAAe,CAyFjB"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { AccountDialogView, FileMetadata } from '@oxyhq/core';
|
|
3
|
+
import type { RouteName } from './routes';
|
|
4
|
+
import type { AvatarCropResult } from '../screens/AvatarCropScreen';
|
|
5
|
+
import type { AvatarRemovalResult } from '../screens/ChangeAvatarScreen';
|
|
6
|
+
/**
|
|
7
|
+
* The SDK's typed surface registry — the contract layer the SDK stacks on top of
|
|
8
|
+
* Bloom's content-agnostic surface stack (`@oxyhq/bloom/surfaces`). One entry per
|
|
9
|
+
* route describing its `props` (what the presenter must pass) and its `result`
|
|
10
|
+
* (what awaiting `present()` resolves with). Hand-maintained, contract-first:
|
|
11
|
+
* adding a route here is the single edit that types it end to end.
|
|
12
|
+
*
|
|
13
|
+
* For P1 most routes keep permissive `Record<string, unknown>` props + a `void`
|
|
14
|
+
* result — the historical grab-bag `showBottomSheet`/`navigate` props are
|
|
15
|
+
* unchanged. Later phases tighten individual routes without changing this shape.
|
|
16
|
+
*/
|
|
17
|
+
/** One registry entry: the props a route is presented with + its dismissal result. */
|
|
18
|
+
type SurfaceRoute<Props = Record<string, unknown>, Result = void> = {
|
|
19
|
+
props: Props;
|
|
20
|
+
result: Result;
|
|
21
|
+
};
|
|
22
|
+
export interface SurfaceRegistry {
|
|
23
|
+
ManageAccount: SurfaceRoute;
|
|
24
|
+
AccountVerification: SurfaceRoute;
|
|
25
|
+
PaymentGateway: SurfaceRoute;
|
|
26
|
+
Profile: SurfaceRoute;
|
|
27
|
+
LanguageSelector: SurfaceRoute;
|
|
28
|
+
PrivacySettings: SurfaceRoute;
|
|
29
|
+
SearchSettings: SurfaceRoute;
|
|
30
|
+
/**
|
|
31
|
+
* File picker / manager. In single-select picker mode the surface is
|
|
32
|
+
* dismissed with the picked {@link FileMetadata} (the avatar-picker promise
|
|
33
|
+
* flow); legacy callers that pass an `onSelect`/`onConfirmSelection` callback
|
|
34
|
+
* keep their callback behaviour and this result goes unread.
|
|
35
|
+
*/
|
|
36
|
+
FileManagement: SurfaceRoute<Record<string, unknown>, FileMetadata>;
|
|
37
|
+
HelpSupport: SurfaceRoute;
|
|
38
|
+
FAQ: SurfaceRoute;
|
|
39
|
+
Feedback: SurfaceRoute;
|
|
40
|
+
LegalDocuments: SurfaceRoute;
|
|
41
|
+
AppInfo: SurfaceRoute;
|
|
42
|
+
PremiumSubscription: SurfaceRoute;
|
|
43
|
+
WelcomeNewUser: SurfaceRoute;
|
|
44
|
+
UserLinks: SurfaceRoute;
|
|
45
|
+
HistoryView: SurfaceRoute;
|
|
46
|
+
SavesCollections: SurfaceRoute;
|
|
47
|
+
EditProfile: SurfaceRoute;
|
|
48
|
+
EditProfileField: SurfaceRoute;
|
|
49
|
+
LearnMoreUsernames: SurfaceRoute;
|
|
50
|
+
TrustCenter: SurfaceRoute;
|
|
51
|
+
TrustLeaderboard: SurfaceRoute;
|
|
52
|
+
TrustRewards: SurfaceRoute;
|
|
53
|
+
TrustRules: SurfaceRoute;
|
|
54
|
+
AboutTrust: SurfaceRoute;
|
|
55
|
+
TrustFAQ: SurfaceRoute;
|
|
56
|
+
FollowersList: SurfaceRoute;
|
|
57
|
+
FollowingList: SurfaceRoute;
|
|
58
|
+
CreateAccount: SurfaceRoute;
|
|
59
|
+
AccountMembers: SurfaceRoute;
|
|
60
|
+
AccountSettings: SurfaceRoute;
|
|
61
|
+
/**
|
|
62
|
+
* Profile-picture source list — the ONE entry into changing an avatar. Every
|
|
63
|
+
* source that yields an image navigates WITHIN this surface to `AvatarCrop`
|
|
64
|
+
* (so the panel morphs), and the crop's own dismissal resolves this surface.
|
|
65
|
+
* Hence the union: a confirmed crop, or the user removing their photo.
|
|
66
|
+
*/
|
|
67
|
+
ChangeAvatar: SurfaceRoute<Record<string, unknown>, AvatarCropResult | AvatarRemovalResult>;
|
|
68
|
+
/**
|
|
69
|
+
* Square-crop editor. Dismissed with the cropped {@link AvatarCropResult}.
|
|
70
|
+
* Reached only by navigating within a `ChangeAvatar` surface.
|
|
71
|
+
*/
|
|
72
|
+
AvatarCrop: SurfaceRoute<Record<string, unknown>, AvatarCropResult>;
|
|
73
|
+
Notifications: SurfaceRoute;
|
|
74
|
+
ConnectedApps: SurfaceRoute;
|
|
75
|
+
Preferences: SurfaceRoute;
|
|
76
|
+
/** Unified account switcher + sign-in surface (folded `OxyAccountDialogScreen` body). */
|
|
77
|
+
AccountDialog: SurfaceRoute<{
|
|
78
|
+
initialView?: AccountDialogView;
|
|
79
|
+
}>;
|
|
80
|
+
}
|
|
81
|
+
/** Typed props a route is presented with. */
|
|
82
|
+
export type SurfaceProps<K extends RouteName> = SurfaceRegistry[K]['props'];
|
|
83
|
+
/** What awaiting a route's `present()` resolves with when it is dismissed. */
|
|
84
|
+
export type SurfaceResult<K extends RouteName> = SurfaceRegistry[K]['result'];
|
|
85
|
+
/**
|
|
86
|
+
* How a surface renders — the SDK's presentation taxonomy. Each value maps to a
|
|
87
|
+
* concrete Bloom `Dialog` placement/chrome in `surfaces.ts`:
|
|
88
|
+
*
|
|
89
|
+
* - `'sheet'` → responsive `{ base: 'bottom', md: 'center' }` (the default,
|
|
90
|
+
* and — since every screen morphs — the presentation of EVERY
|
|
91
|
+
* route today: a bottom sheet on narrow, a centered card wide).
|
|
92
|
+
* - `'center'` → a plain centered modal at every width. Currently unused.
|
|
93
|
+
* - `'drawer'` → responsive `{ base: 'bottom', md: 'left' }` side drawer.
|
|
94
|
+
* Currently unused.
|
|
95
|
+
* - `'fullScreen'` → a flush black-canvas surface (`contentPadding: 0`,
|
|
96
|
+
* programmatic-only dismiss). Currently unused: the flagship
|
|
97
|
+
* photo picker now MORPHS in place as a `sheet` (it paints its
|
|
98
|
+
* own black canvas + bar inside the themed panel), so nothing
|
|
99
|
+
* needs a stacked full-bleed surface. Retained for a future
|
|
100
|
+
* route that genuinely must be full-bleed.
|
|
101
|
+
*/
|
|
102
|
+
export type SurfacePresentation = 'sheet' | 'center' | 'drawer' | 'fullScreen';
|
|
103
|
+
/**
|
|
104
|
+
* Per-route surface configuration. Merges the historical `SheetRouteConfig`
|
|
105
|
+
* knobs with the new {@link SurfacePresentation}.
|
|
106
|
+
*
|
|
107
|
+
* NOTE: `scrollable` is LIVE — it is threaded through `bloomOptionsFor` onto the
|
|
108
|
+
* Bloom `Dialog` surface (`scrollable` prop), so a route that owns its own scroll
|
|
109
|
+
* container opts OUT of the Dialog's internal ScrollView. `manualActivation` /
|
|
110
|
+
* `dynamicBackdrop` / `handleComponent` remain informational — reserved for a
|
|
111
|
+
* future Bloom bottom-placement passthrough; the shared `DialogBottomSheet`
|
|
112
|
+
* currently owns pan coordination itself.
|
|
113
|
+
*/
|
|
114
|
+
export interface SurfaceRouteConfig {
|
|
115
|
+
/** Which surface hosts the route. */
|
|
116
|
+
presentation: SurfacePresentation;
|
|
117
|
+
/**
|
|
118
|
+
* When `false`, the route owns its own scroll container (a FlatList /
|
|
119
|
+
* SectionList / VirtualizedList, or its own ScrollView) and the host must not
|
|
120
|
+
* wrap it in a ScrollView. Threaded onto Bloom's `Dialog` via `bloomOptionsFor`.
|
|
121
|
+
*/
|
|
122
|
+
scrollable: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Whether the surface MORPHS when this route is navigated to WITHIN it — the
|
|
125
|
+
* panel animates from the outgoing frame's size to this one's instead of
|
|
126
|
+
* hard-cutting (the in-place NAV-WITHIN size animation). `true` for every
|
|
127
|
+
* ordinary route screen; a wizard step swap counts as a frame here too.
|
|
128
|
+
*
|
|
129
|
+
* Distinct from {@link stacks}: `morph` tunes the size animation of an IN-PLACE
|
|
130
|
+
* frame swap; `stacks` decides whether the frame lands in place at all or opens
|
|
131
|
+
* a new surface. A stacked surface can still morph between ITS OWN frames.
|
|
132
|
+
*/
|
|
133
|
+
morph: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* An EXPLICIT target size the panel MORPHS to for this route, instead of the
|
|
136
|
+
* measured natural height / the surface width. This is how an own-scroller frame
|
|
137
|
+
* (its content owns its own scroll, so the panel can't measure it) still GROWS
|
|
138
|
+
* its container to a large declared size — the panel animates UP to it on entry
|
|
139
|
+
* and back DOWN on exit while the frame's inner list scrolls within. `heightRatio`
|
|
140
|
+
* is a fraction of the viewport height (clamped there); `maxWidth` (px) widens the
|
|
141
|
+
* centered card beyond the ordinary sheet. Omit for the normal measured behaviour.
|
|
142
|
+
*/
|
|
143
|
+
frameSize?: {
|
|
144
|
+
heightRatio?: number;
|
|
145
|
+
maxWidth?: number;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Whether navigating TO this route from INSIDE an existing surface opens a NEW
|
|
149
|
+
* stacked surface (its own backdrop + entry animation — the DEPTH axis) instead
|
|
150
|
+
* of morphing in place within the current one (the NAV-WITHIN axis).
|
|
151
|
+
*
|
|
152
|
+
* `false` (the DEFAULT) — morph in place: the route is pushed as a frame in the
|
|
153
|
+
* host surface's nav stack and the panel reshapes from the previous frame to it
|
|
154
|
+
* (size-animated per {@link morph}). Every ordinary screen. This is what makes
|
|
155
|
+
* morph the default: a drill-in navigates WITHIN unless the target opts out.
|
|
156
|
+
*
|
|
157
|
+
* `true` — the route's chrome is fundamentally incompatible with morphing into
|
|
158
|
+
* a host, so it must own its own surface: the full-bleed `fullScreen` image
|
|
159
|
+
* picker (black canvas, flush content, programmatic-only dismiss). Presented on
|
|
160
|
+
* top; dismissing it unwinds back to the surface that opened it.
|
|
161
|
+
*
|
|
162
|
+
* NOTE: the DEPTH `present` / `presentDetached` APIs ALWAYS open a new surface
|
|
163
|
+
* regardless of this flag — `stacks` only governs the in-surface drill-in
|
|
164
|
+
* (`navigate` / `showBottomSheet`) decision in `navigateWithinOrPresent`.
|
|
165
|
+
*/
|
|
166
|
+
stacks: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Whether the surface renders the Dialog's OWN navigation header (sticky
|
|
169
|
+
* gradient nav bar + large collapsing title over the surface's scroll content).
|
|
170
|
+
* `true` for EVERY route — the whole SDK UI is unified on the shared header:
|
|
171
|
+
* screens render NO header of their own and declare their title/subtitle (+ any
|
|
172
|
+
* action slot / `onBack`) via `useSurfaceHeader`. No route opts out anymore.
|
|
173
|
+
*/
|
|
174
|
+
header: boolean;
|
|
175
|
+
/** Body-pan activation strategy — reserved (owned by Bloom's Dialog surface). */
|
|
176
|
+
manualActivation: boolean;
|
|
177
|
+
/** Drag-proportional backdrop dim — reserved (owned by Bloom's Dialog surface). */
|
|
178
|
+
dynamicBackdrop: boolean;
|
|
179
|
+
/** Optional custom drag-handle slot — reserved (owned by Bloom's Dialog surface). */
|
|
180
|
+
handleComponent?: () => ReactNode;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Resolve the surface configuration for a route + props. Every route defaults to
|
|
184
|
+
* the responsive sheet, renders the SHARED Dialog nav header, and MORPHS in place
|
|
185
|
+
* when navigated to from within a surface (no route stacks — genuine overlays are
|
|
186
|
+
* Bloom-raw `surfaces.present`/`confirm` calls, outside this registry). The
|
|
187
|
+
* image-only FileManagement picker is a normal sheet that owns its own scroll and
|
|
188
|
+
* grows to a large morph target; every other own-scroller is `scrollable: false`.
|
|
189
|
+
*/
|
|
190
|
+
export declare const getSurfaceConfig: (route: RouteName, props: Record<string, unknown>) => SurfaceRouteConfig;
|
|
191
|
+
/** Convenience: just the presentation taxonomy for a route + props. */
|
|
192
|
+
export declare const getSurfacePresentation: (route: RouteName, props: Record<string, unknown>) => SurfacePresentation;
|
|
193
|
+
export {};
|
|
194
|
+
//# sourceMappingURL=surfaceRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surfaceRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/ui/navigation/surfaceRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;;;;;;;;;GAUG;AAEH,sFAAsF;AACtF,KAAK,YAAY,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,IAAI;IAClE,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,mBAAmB,EAAE,YAAY,CAAC;IAClC,cAAc,EAAE,YAAY,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC;IACtB,gBAAgB,EAAE,YAAY,CAAC;IAC/B,eAAe,EAAE,YAAY,CAAC;IAC9B,cAAc,EAAE,YAAY,CAAC;IAC7B;;;;;OAKG;IACH,cAAc,EAAE,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC;IACpE,WAAW,EAAE,YAAY,CAAC;IAC1B,GAAG,EAAE,YAAY,CAAC;IAClB,QAAQ,EAAE,YAAY,CAAC;IACvB,cAAc,EAAE,YAAY,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC;IACtB,mBAAmB,EAAE,YAAY,CAAC;IAClC,cAAc,EAAE,YAAY,CAAC;IAC7B,SAAS,EAAE,YAAY,CAAC;IACxB,WAAW,EAAE,YAAY,CAAC;IAC1B,gBAAgB,EAAE,YAAY,CAAC;IAC/B,WAAW,EAAE,YAAY,CAAC;IAC1B,gBAAgB,EAAE,YAAY,CAAC;IAC/B,kBAAkB,EAAE,YAAY,CAAC;IACjC,WAAW,EAAE,YAAY,CAAC;IAC1B,gBAAgB,EAAE,YAAY,CAAC;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,aAAa,EAAE,YAAY,CAAC;IAC5B,aAAa,EAAE,YAAY,CAAC;IAC5B,aAAa,EAAE,YAAY,CAAC;IAC5B,cAAc,EAAE,YAAY,CAAC;IAC7B,eAAe,EAAE,YAAY,CAAC;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IAC5F;;;OAGG;IACH,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,CAAC,CAAC;IACpE,aAAa,EAAE,YAAY,CAAC;IAC5B,aAAa,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAE,YAAY,CAAC;IAC1B,yFAAyF;IACzF,aAAa,EAAE,YAAY,CAAC;QAAE,WAAW,CAAC,EAAE,iBAAiB,CAAA;KAAE,CAAC,CAAC;CAClE;AAeD,6CAA6C;AAC7C,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,SAAS,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;AAC5E,8EAA8E;AAC9E,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,SAAS,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAE9E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,YAAY,CAAC;AAE/E;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IACjC,qCAAqC;IACrC,YAAY,EAAE,mBAAmB,CAAC;IAClC;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;;;;;;OASG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;OAMG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB,iFAAiF;IACjF,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mFAAmF;IACnF,eAAe,EAAE,OAAO,CAAC;IACzB,qFAAqF;IACrF,eAAe,CAAC,EAAE,MAAM,SAAS,CAAC;CACnC;AAqDD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,OAAO,SAAS,EAChB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,kBAqBF,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,sBAAsB,GACjC,OAAO,SAAS,EAChB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,mBAAkE,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { type PresentOptions } from '@oxyhq/bloom/surfaces';
|
|
2
|
+
import type { RouteName } from './routes';
|
|
3
|
+
import { type SurfaceProps, type SurfaceResult } from './surfaceRegistry';
|
|
4
|
+
import { type SurfaceNavStack } from './surfaceNavStack';
|
|
5
|
+
/**
|
|
6
|
+
* A live handle to a presented SDK surface. Exposes DEPTH controls (`dismiss`,
|
|
7
|
+
* `result`) and NAV-WITHIN controls (`navigate`/`replace`/`goBack`/`setStep`) that
|
|
8
|
+
* drive this surface's own nav stack. Held by the `showBottomSheet` adapter (base
|
|
9
|
+
* surface) and by `OxyContext` (the AccountDialog surface).
|
|
10
|
+
*/
|
|
11
|
+
export interface SurfaceInstance<K extends RouteName = RouteName> {
|
|
12
|
+
readonly route: RouteName;
|
|
13
|
+
navigate: (route: RouteName, props?: Record<string, unknown>) => void;
|
|
14
|
+
replace: (route: RouteName, props?: Record<string, unknown>) => void;
|
|
15
|
+
goBack: () => boolean;
|
|
16
|
+
canGoBack: () => boolean;
|
|
17
|
+
setStep: (step: number) => void;
|
|
18
|
+
/** Open a result-bearing sub-flow WITHIN this surface (morph). See {@link openWithinOrPresent}. */
|
|
19
|
+
beginFlow: (route: RouteName, props?: Record<string, unknown>) => Promise<unknown>;
|
|
20
|
+
dismiss: (result?: SurfaceResult<K>) => void;
|
|
21
|
+
readonly result: Promise<SurfaceResult<K> | undefined>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The type-erased handle the `showBottomSheet` adapter needs from a tracked
|
|
25
|
+
* surface: what it hosts, and how to drive/dismiss it. Kept result-type-free so
|
|
26
|
+
* the (generic) `SurfaceInstance<K>` never has to be widened into a shared array.
|
|
27
|
+
* Exported so `OxyContext` can hold the surface it MORPHS the account dialog into
|
|
28
|
+
* (see {@link topRouteSurface}).
|
|
29
|
+
*/
|
|
30
|
+
export interface TrackedSurface {
|
|
31
|
+
readonly route: RouteName;
|
|
32
|
+
navigate: (route: RouteName, props?: Record<string, unknown>) => void;
|
|
33
|
+
goBack: () => boolean;
|
|
34
|
+
/** Open a result-bearing sub-flow WITHIN this surface (morph). See {@link openWithinOrPresent}. */
|
|
35
|
+
beginFlow: (route: RouteName, props?: Record<string, unknown>) => Promise<unknown>;
|
|
36
|
+
dismiss: () => void;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Present a NEW route surface on top of the stack (the DEPTH axis). Resolves with
|
|
40
|
+
* the value the surface is dismissed with. Registered in the route-surface stack.
|
|
41
|
+
*/
|
|
42
|
+
export declare function present<K extends RouteName>(route: K, props?: SurfaceProps<K>, opts?: PresentOptions): SurfaceInstance<K>;
|
|
43
|
+
/**
|
|
44
|
+
* Present a surface that is NOT part of the `showBottomSheet` base-navigation
|
|
45
|
+
* lineage (the AccountDialog modal). Otherwise identical to {@link present}.
|
|
46
|
+
*/
|
|
47
|
+
export declare function presentDetached<K extends RouteName>(route: K, props?: SurfaceProps<K>, opts?: PresentOptions): SurfaceInstance<K>;
|
|
48
|
+
/**
|
|
49
|
+
* Untyped present for the adapter, the nav helpers, and the `SurfaceScreen`
|
|
50
|
+
* binding (where the route is a runtime value and its props are already erased).
|
|
51
|
+
*/
|
|
52
|
+
export declare function presentRoute(route: RouteName, props?: Record<string, unknown>): SurfaceInstance;
|
|
53
|
+
/** The top-most active route surface, or `undefined` when none are open. */
|
|
54
|
+
export declare function topRouteSurface(): TrackedSurface | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* The frontmost surface a result-bearing flow should morph INTO: the detached
|
|
57
|
+
* AccountDialog if open (it sits on top of everything), else the top tracked
|
|
58
|
+
* route surface. Used by {@link openWithinOrPresent} so the account-menu hero
|
|
59
|
+
* avatar morphs the dialog into `ChangeAvatar` instead of stacking a new surface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function topMorphableSurface(): TrackedSurface | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Dismiss every active route surface (the whole `showBottomSheet` session). The
|
|
64
|
+
* AccountDialog is untracked, so it is untouched. Iterates a snapshot because
|
|
65
|
+
* `dismiss` mutates `activeRouteSurfaces` asynchronously as surfaces settle.
|
|
66
|
+
*/
|
|
67
|
+
export declare function closeAllRouteSurfaces(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Drill in from a screen. From inside a surface the DEFAULT is to navigate WITHIN
|
|
70
|
+
* it — the panel MORPHS from the current frame's size to the next's. EVERY screen
|
|
71
|
+
* morphs; a NEW surface is stacked on top ONLY when the target route declares
|
|
72
|
+
* `stacks` (reserved for genuine overlays — none today, since action sheets /
|
|
73
|
+
* confirms / prompts are Bloom-raw `surfaces.present` calls outside this
|
|
74
|
+
* registry). A stacked surface gets its own backdrop + entry animation; dismissing
|
|
75
|
+
* it unwinds back to the surface that opened it.
|
|
76
|
+
*/
|
|
77
|
+
export declare function navigateWithinOrPresent(navStack: SurfaceNavStack, route: RouteName, props?: Record<string, unknown>): void;
|
|
78
|
+
/** Replace variant of {@link navigateWithinOrPresent} (swaps the top frame). */
|
|
79
|
+
export declare function replaceWithinOrPresent(navStack: SurfaceNavStack, route: RouteName, props?: Record<string, unknown>): void;
|
|
80
|
+
/**
|
|
81
|
+
* Open a result-bearing route the SAME way a drill-in navigates (the morph-by-
|
|
82
|
+
* default rule), but returning the route's dismissal RESULT to the caller.
|
|
83
|
+
*
|
|
84
|
+
* When a surface is already open and the target morphs into it (the default —
|
|
85
|
+
* anything not marked `stacks`), it runs as a SUB-FLOW inside that surface: the
|
|
86
|
+
* panel morphs from the current screen into the target, and the promise resolves
|
|
87
|
+
* with the target's `dismiss(result)` (or `undefined` when cancelled), popping
|
|
88
|
+
* back to the caller's frame WITHOUT closing the host. Otherwise (no surface, or a
|
|
89
|
+
* route that stacks) it presents a fresh surface and resolves with its dismissal —
|
|
90
|
+
* identical to the historical `present(route).result`.
|
|
91
|
+
*
|
|
92
|
+
* The entry seam for the avatar picker AND its nested "My Oxy files" media
|
|
93
|
+
* selector: each awaits its result whether it morphed into the caller's surface
|
|
94
|
+
* or opened cold, with no morph-vs-present branch of its own.
|
|
95
|
+
*/
|
|
96
|
+
export declare function openWithinOrPresent<K extends RouteName>(route: K, props?: SurfaceProps<K>): Promise<SurfaceResult<K> | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The SDK's imperative surface API (a module singleton). `present` is the typed
|
|
99
|
+
* route presenter; `dismissAll` unwinds the whole session. Not yet exported from
|
|
100
|
+
* the package root — the public `surfaces`/`useSurfaces` API lands in a later
|
|
101
|
+
* phase; for P1 the internal adapters (`showBottomSheet`, `openAccountDialog`)
|
|
102
|
+
* are the only public entry points.
|
|
103
|
+
*/
|
|
104
|
+
export declare const surfaces: {
|
|
105
|
+
readonly present: <K extends RouteName>(route: K, props?: SurfaceProps<K>, opts?: PresentOptions) => Promise<SurfaceResult<K> | undefined>;
|
|
106
|
+
readonly dismissAll: typeof closeAllRouteSurfaces;
|
|
107
|
+
};
|
|
108
|
+
/** Hook form of {@link surfaces} (stable singleton). */
|
|
109
|
+
export declare function useSurfaces(): typeof surfaces;
|
|
110
|
+
//# sourceMappingURL=surfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../../../../src/ui/navigation/surfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA6EhF;;;;;GAKG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAC9D,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACtE,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACrE,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mGAAmG;IACnG,SAAS,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACnF,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;CACxD;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACtE,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,mGAAmG;IACnG,SAAS,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACnF,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AA+FD;;;GAGG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,SAAS,EACzC,KAAK,EAAE,CAAC,EACR,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,EACvB,IAAI,CAAC,EAAE,cAAc,GACpB,eAAe,CAAC,CAAC,CAAC,CAEpB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,SAAS,EACjD,KAAK,EAAE,CAAC,EACR,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,EACvB,IAAI,CAAC,EAAE,cAAc,GACpB,eAAe,CAAC,CAAC,CAAC,CAEpB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe,CAE/F;AAED,4EAA4E;AAC5E,wBAAgB,eAAe,IAAI,cAAc,GAAG,SAAS,CAE5D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,cAAc,GAAG,SAAS,CAEhE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,SAAS,EAChB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,IAAI,CAON;AAED,gFAAgF;AAChF,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,SAAS,EAChB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,IAAI,CAON;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,EACrD,KAAK,EAAE,CAAC,EACR,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GACtB,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAUvC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;uBACT,CAAC,SAAS,SAAS,SAAS,CAAC,UAAU,YAAY,CAAC,CAAC,CAAC,SAAS,cAAc;;CAG/E,CAAC;AAEX,wDAAwD;AACxD,wBAAgB,WAAW,IAAI,OAAO,QAAQ,CAE7C"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The single web entry point for third-party "Sign in with Oxy".
|
|
3
|
+
*
|
|
4
|
+
* Picks the transport (`popup` or `redirect`), drives it, and returns ONE typed
|
|
5
|
+
* result — so callers (`OxySignInButton`, and any RP with its own button) never
|
|
6
|
+
* touch `window.open`, `postMessage`, or the token exchange themselves.
|
|
7
|
+
*
|
|
8
|
+
* Popup mode keeps the relying party mounted: its route, scroll position, and
|
|
9
|
+
* unsaved state survive because the tab never navigates. Redirect mode is the
|
|
10
|
+
* compatibility fallback, and is also where popup mode lands when the browser
|
|
11
|
+
* blocks the window — a blocked popup must still sign the user in, not dead-end.
|
|
12
|
+
*
|
|
13
|
+
* Native is NOT handled here: `openAuthorizeUrlNative` (an in-app auth session)
|
|
14
|
+
* remains the native lane and is untouched by this module.
|
|
15
|
+
*/
|
|
16
|
+
import type { OxyServices } from '@oxyhq/core';
|
|
17
|
+
import type { OAuthPopupHandle, OAuthSessionCommitInput, WebAuthMode, WebOAuthSignInResult } from './types';
|
|
18
|
+
/** Provider-owned wiring for a web sign-in — everything that is not per-press. */
|
|
19
|
+
export interface WebOAuthTransportContext {
|
|
20
|
+
/** The provider's `webAuthMode`. */
|
|
21
|
+
mode: WebAuthMode;
|
|
22
|
+
oxyServices: OxyServices;
|
|
23
|
+
/** The app's registered client id; `null` disables third-party sign-in. */
|
|
24
|
+
clientId: string | null;
|
|
25
|
+
/** Authorize endpoint override (local/staging deployments). */
|
|
26
|
+
authorizeBaseUrl?: string;
|
|
27
|
+
/** `sessionMode: 'identity'` — no third-party OAuth lane exists by design. */
|
|
28
|
+
identityBound: boolean;
|
|
29
|
+
/** The provider's session commit funnel. */
|
|
30
|
+
commitSession: (input: OAuthSessionCommitInput) => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
/** Per-press inputs for {@link startWebOAuthSignIn}. */
|
|
33
|
+
export interface StartWebOAuthSignInOptions {
|
|
34
|
+
/** EXACT registered redirect URI for this application. */
|
|
35
|
+
redirectUri: string;
|
|
36
|
+
/**
|
|
37
|
+
* The popup to drive, when the caller already opened one.
|
|
38
|
+
*
|
|
39
|
+
* - omitted — this call opens the window itself, which is only valid when it
|
|
40
|
+
* was invoked SYNCHRONOUSLY from the user's click (gesture attribution);
|
|
41
|
+
* - `null` — the caller tried and the browser blocked it: fall back to a
|
|
42
|
+
* full-page redirect;
|
|
43
|
+
* - a handle — use exactly this window.
|
|
44
|
+
*
|
|
45
|
+
* Callers that must `await` before signing in (resolving the application, for
|
|
46
|
+
* instance) have to open the window in their press handler and pass it here;
|
|
47
|
+
* a window opened after an `await` is silently blocked by every browser.
|
|
48
|
+
*/
|
|
49
|
+
popup?: OAuthPopupHandle | null;
|
|
50
|
+
/** Requested scope; defaults to the SDK's standard sign-in scope. */
|
|
51
|
+
scope?: string;
|
|
52
|
+
/** Popup timeout override (ms). */
|
|
53
|
+
timeoutMs?: number;
|
|
54
|
+
}
|
|
55
|
+
export declare function startWebOAuthSignIn(context: WebOAuthTransportContext, options: StartWebOAuthSignInOptions): Promise<WebOAuthSignInResult>;
|
|
56
|
+
//# sourceMappingURL=browserAuthTransport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browserAuthTransport.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/browserAuthTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM/C,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB,kFAAkF;AAClF,MAAM,WAAW,wBAAwB;IACvC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,aAAa,EAAE,OAAO,CAAC;IACvB,4CAA4C;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClE;AAED,wDAAwD;AACxD,MAAM,WAAW,0BAA0B;IACzC,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,oBAAoB,CAAC,CAsF/B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ONE path from an OAuth authorization code to a committed session.
|
|
3
|
+
*
|
|
4
|
+
* Both web transports end here — the popup with an in-memory handshake, the
|
|
5
|
+
* redirect lane with one read back from `sessionStorage` — so state validation,
|
|
6
|
+
* the PKCE exchange, the session commit, and handshake cleanup exist exactly
|
|
7
|
+
* once. Duplicating any of those per transport is how the two lanes would drift
|
|
8
|
+
* apart on the security-critical steps.
|
|
9
|
+
*
|
|
10
|
+
* Ordering is deliberate and load-bearing:
|
|
11
|
+
* 1. validate `state` BEFORE anything is sent to the token endpoint,
|
|
12
|
+
* 2. exchange the code for a session,
|
|
13
|
+
* 3. run `cleanup` (drop the persisted handshake / strip `?code=` from the
|
|
14
|
+
* URL) BEFORE the commit, so a stale code can never re-enter the exchange,
|
|
15
|
+
* 4. commit the session.
|
|
16
|
+
*
|
|
17
|
+
* `cleanup` runs exactly once on EVERY exit path, including a state mismatch
|
|
18
|
+
* and a failed exchange.
|
|
19
|
+
*/
|
|
20
|
+
import type { OxyServices } from '@oxyhq/core';
|
|
21
|
+
import type { OAuthCompletionResult, OAuthHandshake, OAuthSessionCommitInput } from './types';
|
|
22
|
+
/** Inputs for {@link completeOAuthCode}. */
|
|
23
|
+
export interface CompleteOAuthCodeInput {
|
|
24
|
+
oxyServices: OxyServices;
|
|
25
|
+
/** The registered `ApplicationCredential` public key (`oxy_dk_…`). */
|
|
26
|
+
clientId: string;
|
|
27
|
+
/** The single-use authorization code the IdP issued. */
|
|
28
|
+
code: string;
|
|
29
|
+
/** The `state` the IdP returned, or `null` when it sent none. */
|
|
30
|
+
returnedState: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The handshake this RP started the authorize request with, or `null` when it
|
|
33
|
+
* is gone (never stored, expired, or a different tab's). A missing handshake
|
|
34
|
+
* is treated exactly like a mismatched `state`: no exchange is attempted.
|
|
35
|
+
*/
|
|
36
|
+
handshake: OAuthHandshake | null;
|
|
37
|
+
/** EXACT redirect URI sent on the authorize request — OAuth requires a match. */
|
|
38
|
+
redirectUri: string;
|
|
39
|
+
/** The provider's session commit funnel. */
|
|
40
|
+
commitSession: (input: OAuthSessionCommitInput) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Transport-specific teardown, invoked once after the exchange settles and
|
|
43
|
+
* before the commit. The redirect lane strips `?code=` and clears the
|
|
44
|
+
* persisted handshake; the popup lane has nothing persisted and omits it.
|
|
45
|
+
*/
|
|
46
|
+
cleanup?: () => void;
|
|
47
|
+
}
|
|
48
|
+
export declare function completeOAuthCode(input: CompleteOAuthCodeInput): Promise<OAuthCompletionResult>;
|
|
49
|
+
//# sourceMappingURL=completeOAuthCode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"completeOAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/completeOAuthCode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAE9F,4CAA4C;AAC5C,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,WAAW,CAAC;IACzB,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,SAAS,EAAE,cAAc,GAAG,IAAI,CAAC;IACjC,iFAAiF;IACjF,WAAW,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,qBAAqB,CAAC,CAuChC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The RP half of an OAuth authorize request: a fresh CSRF `state` + PKCE pair,
|
|
3
|
+
* and the authorize URL built from them.
|
|
4
|
+
*
|
|
5
|
+
* Both web transports start here, and the ONLY difference between them is one
|
|
6
|
+
* parameter: `popup` asks the IdP for `response_mode=web_message` so the result
|
|
7
|
+
* comes back to `window.opener` instead of navigating the RP's tab. Everything
|
|
8
|
+
* else — `S256` PKCE, exact registered `redirect_uri`, random `state` — is
|
|
9
|
+
* identical, which is what lets both lanes converge on one completion path.
|
|
10
|
+
*/
|
|
11
|
+
import type { OAuthHandshake } from './types';
|
|
12
|
+
/** Inputs for {@link prepareAuthorizeRequest}. */
|
|
13
|
+
export interface PrepareAuthorizeRequestParams {
|
|
14
|
+
/** The registered `ApplicationCredential` public key (`oxy_dk_…`). */
|
|
15
|
+
clientId: string;
|
|
16
|
+
/** EXACT registered redirect URI. The token exchange must replay this value. */
|
|
17
|
+
redirectUri: string;
|
|
18
|
+
/** Authorize endpoint override; defaults to the production Oxy IdP. */
|
|
19
|
+
authorizeBaseUrl?: string;
|
|
20
|
+
/** Requested scope; defaults to the SDK's standard sign-in scope. */
|
|
21
|
+
scope?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Ask the IdP to deliver the result to `window.opener` via `postMessage`
|
|
24
|
+
* instead of redirecting. Set ONLY by the popup transport. It is a request,
|
|
25
|
+
* not a guarantee — an IdP with no opener still redirects.
|
|
26
|
+
*/
|
|
27
|
+
responseMode?: 'web_message';
|
|
28
|
+
}
|
|
29
|
+
/** A ready-to-use authorize request plus the secrets that finish it. */
|
|
30
|
+
export interface PreparedAuthorizeRequest {
|
|
31
|
+
/** Fully-built `auth.oxy.so/authorize` URL. */
|
|
32
|
+
authorizeUrl: string;
|
|
33
|
+
/**
|
|
34
|
+
* Exact origin of {@link authorizeUrl}. The popup transport accepts
|
|
35
|
+
* `postMessage` from this origin and no other.
|
|
36
|
+
*/
|
|
37
|
+
authorizeOrigin: string;
|
|
38
|
+
/** The `state` + PKCE verifier this request is bound to. */
|
|
39
|
+
handshake: OAuthHandshake;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Generate a fresh handshake and build the authorize URL around it.
|
|
43
|
+
*
|
|
44
|
+
* The verifier is returned to the caller and never stored here: the popup
|
|
45
|
+
* transport keeps it in memory for the lifetime of the attempt, and the
|
|
46
|
+
* redirect transport persists it through `persistOAuthHandshake` because a
|
|
47
|
+
* full-page navigation destroys the running document.
|
|
48
|
+
*/
|
|
49
|
+
export declare function prepareAuthorizeRequest(params: PrepareAuthorizeRequestParams): Promise<PreparedAuthorizeRequest>;
|
|
50
|
+
//# sourceMappingURL=oauthHandshake.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauthHandshake.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/oauthHandshake.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,WAAW,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B;AAED,wEAAwE;AACxE,MAAM,WAAW,wBAAwB;IACvC,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,6BAA6B,GACpC,OAAO,CAAC,wBAAwB,CAAC,CAkBnC"}
|