@oxyhq/services 28.0.0 → 30.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +10 -9
- package/README.md +65 -2
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionModule.kt +178 -0
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionProvider.kt +99 -0
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionStore.kt +115 -0
- package/expo-module.config.json +1 -0
- package/package.json +8 -8
- package/plugins/withSharedDeviceSessionProvider.js +102 -0
- package/plugins/withSharedDeviceSessionReader.js +57 -0
- package/src/__tests__/esmSourcePurity.test.ts +61 -0
- package/src/index.ts +31 -9
- package/src/ui/boot/runProviderColdBoot.ts +7 -0
- package/src/ui/client.ts +1 -2
- package/src/ui/components/FollowTargetButton.tsx +31 -27
- package/src/ui/components/OxyAccountDialogScreen.tsx +10 -29
- package/src/ui/components/OxyAuthChooser.tsx +149 -50
- package/src/ui/components/OxyConsentScreen.tsx +7 -2
- package/src/ui/components/OxyProvider.tsx +25 -26
- package/src/ui/components/SurfaceScreen.tsx +28 -4
- package/src/ui/components/authChooser/AccountsMenuView.tsx +246 -96
- package/src/ui/components/authChooser/SignInEntryView.tsx +31 -8
- package/src/ui/components/authChooser/TroubleDisclosure.tsx +26 -11
- package/src/ui/components/authChooser/primitives.tsx +37 -23
- package/src/ui/components/authChooser/types.ts +34 -1
- package/src/ui/context/OxyContext.tsx +269 -324
- package/src/ui/context/hooks/useAuthOperations.ts +32 -35
- package/src/ui/context/oxyContextHelpers.ts +0 -30
- package/src/ui/context/oxyContextTypes.ts +9 -1
- package/src/ui/context/useOxyAccountGraph.ts +5 -19
- package/src/ui/hooks/accountDialogSnapshot.ts +37 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +0 -19
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +12 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +110 -0
- package/src/ui/hooks/useI18n.ts +23 -3
- package/src/ui/hooks/useSessionManagement.ts +62 -211
- package/src/ui/index.ts +1 -2
- package/src/ui/navigation/routes.ts +85 -75
- package/src/ui/navigation/surfaces.ts +6 -9
- package/src/ui/runtime/createOxyRuntime.ts +623 -0
- package/src/ui/runtime/index.ts +34 -0
- package/src/ui/runtime/runtimeContext.tsx +111 -0
- package/src/ui/runtime/types.ts +110 -0
- package/src/ui/runtime/useRuntimeSnapshot.ts +52 -0
- package/src/ui/screens/AccountMembersScreen.tsx +2 -2
- package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
- package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
- package/src/ui/screens/FileManagementScreen.tsx +2 -2
- package/src/ui/screens/HistoryViewScreen.tsx +2 -2
- package/src/ui/screens/ManageAccountScreen.tsx +3 -3
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
- package/src/ui/server.ts +0 -1
- package/src/ui/session/__tests__/authStore.test.ts +90 -0
- package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +289 -0
- package/src/ui/session/authStore.ts +78 -9
- package/src/ui/session/sharedDeviceCredentialStore.ts +318 -0
- package/src/ui/stores/authStore.ts +171 -43
- package/src/ui/types/navigation.ts +26 -0
- package/src/ui/utils/avatarUtils.ts +2 -37
- package/lib/commonjs/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -60
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -39
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/assets/icons/OxyServices.js +0 -51
- package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +0 -58
- package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/index.js +0 -994
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/notifications/deviceNotifications.js +0 -443
- package/lib/commonjs/notifications/deviceNotifications.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +0 -198
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +0 -1
- package/lib/commonjs/ui/client.js +0 -137
- package/lib/commonjs/ui/client.js.map +0 -1
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +0 -43
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +0 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -255
- package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +0 -363
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +0 -195
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +0 -405
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +0 -124
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +0 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +0 -497
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +0 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +0 -44
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +0 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -66
- package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -315
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +0 -321
- package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +0 -147
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileButton.js +0 -342
- package/lib/commonjs/ui/components/ProfileButton.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +0 -79
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +0 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +0 -296
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +0 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +0 -45
- package/lib/commonjs/ui/components/SettingsIcon.js.map +0 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +0 -63
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +0 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +0 -229
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +0 -542
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -90
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +0 -106
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -188
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +0 -61
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/primitives.js +0 -170
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +0 -161
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +0 -59
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/styles.js +0 -219
- package/lib/commonjs/ui/components/authChooser/styles.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/types.js +0 -70
- package/lib/commonjs/ui/components/authChooser/types.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +0 -50
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/constants.js +0 -59
- package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/types.js +0 -6
- package/lib/commonjs/ui/components/feedback/types.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +0 -52
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -125
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -431
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -172
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -64
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
- package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
- package/lib/commonjs/ui/components/logo/LogoIcon.js +0 -61
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +0 -1
- package/lib/commonjs/ui/components/logo/LogoText.js +0 -48
- package/lib/commonjs/ui/components/logo/LogoText.js.map +0 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +0 -133
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +0 -1
- package/lib/commonjs/ui/components/oauthNavigation.js +0 -83
- package/lib/commonjs/ui/components/oauthNavigation.js.map +0 -1
- package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +0 -327
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +0 -105
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +0 -149
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +0 -84
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +0 -195
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/constants.js +0 -53
- package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +0 -401
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/commonjs/ui/components/payment/types.js +0 -6
- package/lib/commonjs/ui/components/payment/types.js.map +0 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -223
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/commonjs/ui/components/styles/overlay.js +0 -83
- package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js +0 -127
- package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +0 -83
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +0 -13
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +0 -9
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +0 -50
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js +0 -50
- package/lib/commonjs/ui/constants/spacing.js.map +0 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -1248
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/commitSessionFlow.js +0 -104
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -316
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/context/oxyContextHelpers.js +0 -64
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +0 -1
- package/lib/commonjs/ui/context/oxyContextTypes.js +0 -6
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +0 -1
- package/lib/commonjs/ui/context/passkeyFlow.js +0 -118
- package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +0 -111
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -182
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -40
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -694
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -197
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js +0 -2
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -222
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -326
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +0 -49
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +0 -129
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +0 -145
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -93
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -170
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCache.js +0 -440
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/commonjs/ui/hooks/queryClient.js +0 -208
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAssets.js +0 -227
- package/lib/commonjs/ui/hooks/useAssets.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +0 -95
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAuth.js +0 -127
- package/lib/commonjs/ui/hooks/useAuth.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -106
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +0 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +0 -71
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +0 -76
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.js +0 -331
- package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -6
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +0 -160
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +0 -1
- package/lib/commonjs/ui/hooks/useI18n.js +0 -22
- package/lib/commonjs/ui/hooks/useI18n.js.map +0 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +0 -193
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +0 -86
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +0 -1
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +0 -34
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +0 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +0 -28
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +0 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -134
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useReduceMotion.js +0 -57
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +0 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +0 -163
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +0 -290
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +0 -132
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/commonjs/ui/hooks/useStorage.js +0 -45
- package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +0 -142
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +0 -64
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +0 -1
- package/lib/commonjs/ui/index.js +0 -178
- package/lib/commonjs/ui/index.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js +0 -10
- package/lib/commonjs/ui/isFrontend.js.map +0 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +0 -105
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -62
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +0 -98
- package/lib/commonjs/ui/navigation/routes.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +0 -68
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +0 -146
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +0 -147
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaces.js +0 -338
- package/lib/commonjs/ui/navigation/surfaces.js.map +0 -1
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +0 -170
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +0 -1
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +0 -78
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthHandshake.js +0 -53
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthPopup.js +0 -276
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js +0 -141
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +0 -1
- package/lib/commonjs/ui/oauth/types.js +0 -2
- package/lib/commonjs/ui/oauth/types.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +0 -443
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -264
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -184
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -373
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +0 -987
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +0 -306
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +0 -169
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +0 -387
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -546
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +0 -167
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +0 -162
- package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -592
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -1529
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -17
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -17
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -123
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -165
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -235
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +0 -127
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -188
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +0 -647
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +0 -150
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -278
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +0 -194
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -958
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -501
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +0 -473
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -132
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +0 -138
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +0 -301
- package/lib/commonjs/ui/screens/UserListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -467
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +0 -64
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +0 -121
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +0 -552
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +0 -85
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -506
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +0 -44
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/shared.js +0 -79
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +0 -1
- package/lib/commonjs/ui/screens/linkFormat.js +0 -38
- package/lib/commonjs/ui/screens/linkFormat.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +0 -94
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +0 -185
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +0 -86
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +0 -222
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +0 -512
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +0 -92
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +0 -1
- package/lib/commonjs/ui/server.js +0 -86
- package/lib/commonjs/ui/server.js.map +0 -1
- package/lib/commonjs/ui/session/authStore.js +0 -39
- package/lib/commonjs/ui/session/authStore.js.map +0 -1
- package/lib/commonjs/ui/session/backgroundSession.js +0 -258
- package/lib/commonjs/ui/session/backgroundSession.js.map +0 -1
- package/lib/commonjs/ui/session/createSessionClient.js +0 -58
- package/lib/commonjs/ui/session/createSessionClient.js.map +0 -1
- package/lib/commonjs/ui/session/identityBinding.js +0 -95
- package/lib/commonjs/ui/session/identityBinding.js.map +0 -1
- package/lib/commonjs/ui/session/index.js +0 -78
- package/lib/commonjs/ui/session/index.js.map +0 -1
- package/lib/commonjs/ui/session/nativeSecureStorage.js +0 -90
- package/lib/commonjs/ui/session/nativeSecureStorage.js.map +0 -1
- package/lib/commonjs/ui/session/tokenTransport.js +0 -75
- package/lib/commonjs/ui/session/tokenTransport.js.map +0 -1
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js +0 -81
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +0 -1
- package/lib/commonjs/ui/stores/accountStore.js +0 -221
- package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +0 -225
- package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/authStore.js +0 -70
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -551
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followTargetStore.js +0 -152
- package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/commonjs/ui/types/fileManagement.js +0 -6
- package/lib/commonjs/ui/types/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/types/navigation.js +0 -6
- package/lib/commonjs/ui/types/navigation.js.map +0 -1
- package/lib/commonjs/ui/types/surfaceScreen.js +0 -6
- package/lib/commonjs/ui/types/surfaceScreen.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +0 -77
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/colorUtils.js +0 -49
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/commonsStoreLinks.js +0 -42
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +0 -1
- package/lib/commonjs/ui/utils/deliveryPlatform.js +0 -58
- package/lib/commonjs/ui/utils/deliveryPlatform.js.map +0 -1
- package/lib/commonjs/ui/utils/deviceCredential.js +0 -23
- package/lib/commonjs/ui/utils/deviceCredential.js.map +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +0 -137
- package/lib/commonjs/ui/utils/errorHandlers.js.map +0 -1
- package/lib/commonjs/ui/utils/fileManagement.js +0 -147
- package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/utils/iconNames.js +0 -133
- package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
- package/lib/commonjs/ui/utils/isWebBrowser.js +0 -13
- package/lib/commonjs/ui/utils/isWebBrowser.js.map +0 -1
- package/lib/commonjs/ui/utils/netConnectivity.js +0 -28
- package/lib/commonjs/ui/utils/netConnectivity.js.map +0 -1
- package/lib/commonjs/ui/utils/oauthReturn.js +0 -126
- package/lib/commonjs/ui/utils/oauthReturn.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +0 -61
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +0 -119
- package/lib/commonjs/ui/utils/storageHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/userUtils.js +0 -69
- package/lib/commonjs/ui/utils/userUtils.js.map +0 -1
- package/lib/commonjs/utils/hookUtils.js +0 -421
- package/lib/commonjs/utils/hookUtils.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.js +0 -39
- package/lib/commonjs/webauthn/passkeyClient.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.native.js +0 -34
- package/lib/commonjs/webauthn/passkeyClient.native.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.web.js +0 -57
- package/lib/commonjs/webauthn/passkeyClient.web.js.map +0 -1
- package/lib/module/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/icons/OxyServices.tsx +0 -60
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -39
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/assets/icons/OxyServices.js +0 -45
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -53
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/index.js +0 -222
- package/lib/module/index.js.map +0 -1
- package/lib/module/notifications/deviceNotifications.js +0 -433
- package/lib/module/notifications/deviceNotifications.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +0 -192
- package/lib/module/ui/boot/runProviderColdBoot.js.map +0 -1
- package/lib/module/ui/client.js +0 -39
- package/lib/module/ui/client.js.map +0 -1
- package/lib/module/ui/components/AvatarCameraBadge.js +0 -40
- package/lib/module/ui/components/AvatarCameraBadge.js.map +0 -1
- package/lib/module/ui/components/FollowButton.js +0 -251
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FollowTargetButton.js +0 -357
- package/lib/module/ui/components/FollowTargetButton.js.map +0 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +0 -190
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +0 -1
- package/lib/module/ui/components/OxyAuthChooser.js +0 -400
- package/lib/module/ui/components/OxyAuthChooser.js.map +0 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +0 -118
- package/lib/module/ui/components/OxyAuthPrompt.js.map +0 -1
- package/lib/module/ui/components/OxyConsentScreen.js +0 -491
- package/lib/module/ui/components/OxyConsentScreen.js.map +0 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +0 -40
- package/lib/module/ui/components/OxyOAuthCallback.js.map +0 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -62
- package/lib/module/ui/components/OxyPayButton.js.map +0 -1
- package/lib/module/ui/components/OxyProvider.js +0 -312
- package/lib/module/ui/components/OxyProvider.js.map +0 -1
- package/lib/module/ui/components/OxySignInButton.js +0 -316
- package/lib/module/ui/components/OxySignInButton.js.map +0 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js +0 -141
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +0 -1
- package/lib/module/ui/components/ProfileButton.js +0 -336
- package/lib/module/ui/components/ProfileButton.js.map +0 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +0 -74
- package/lib/module/ui/components/ProfileSummaryCard.js.map +0 -1
- package/lib/module/ui/components/RequireOxyAuth.js +0 -292
- package/lib/module/ui/components/RequireOxyAuth.js.map +0 -1
- package/lib/module/ui/components/SettingsIcon.js +0 -40
- package/lib/module/ui/components/SettingsIcon.js.map +0 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +0 -58
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +0 -1
- package/lib/module/ui/components/SurfaceScreen.js +0 -224
- package/lib/module/ui/components/SurfaceScreen.js.map +0 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +0 -538
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -85
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignInRequestView.js +0 -101
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignUpView.js +0 -184
- package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +0 -57
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
- package/lib/module/ui/components/authChooser/primitives.js +0 -163
- package/lib/module/ui/components/authChooser/primitives.js.map +0 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js +0 -151
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +0 -1
- package/lib/module/ui/components/authChooser/signInProgress.js +0 -55
- package/lib/module/ui/components/authChooser/signInProgress.js.map +0 -1
- package/lib/module/ui/components/authChooser/styles.js +0 -216
- package/lib/module/ui/components/authChooser/styles.js.map +0 -1
- package/lib/module/ui/components/authChooser/types.js +0 -66
- package/lib/module/ui/components/authChooser/types.js.map +0 -1
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js +0 -46
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
- package/lib/module/ui/components/feedback/constants.js +0 -55
- package/lib/module/ui/components/feedback/constants.js.map +0 -1
- package/lib/module/ui/components/feedback/types.js +0 -4
- package/lib/module/ui/components/feedback/types.js.map +0 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js +0 -47
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -119
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -425
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -166
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +0 -59
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -113
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/logo/LogoIcon.js +0 -55
- package/lib/module/ui/components/logo/LogoIcon.js.map +0 -1
- package/lib/module/ui/components/logo/LogoText.js +0 -42
- package/lib/module/ui/components/logo/LogoText.js.map +0 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +0 -127
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +0 -1
- package/lib/module/ui/components/oauthNavigation.js +0 -80
- package/lib/module/ui/components/oauthNavigation.js.map +0 -1
- package/lib/module/ui/components/passkeyHubPopup.js +0 -29
- package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +0 -322
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +0 -100
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -144
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -79
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -190
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/module/ui/components/payment/constants.js +0 -47
- package/lib/module/ui/components/payment/constants.js.map +0 -1
- package/lib/module/ui/components/payment/paymentStyles.js +0 -396
- package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/module/ui/components/payment/types.js +0 -4
- package/lib/module/ui/components/payment/types.js.map +0 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -216
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/module/ui/components/styles/overlay.js +0 -80
- package/lib/module/ui/components/styles/overlay.js.map +0 -1
- package/lib/module/ui/components/styles/shadow.js +0 -123
- package/lib/module/ui/components/styles/shadow.js.map +0 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +0 -78
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +0 -9
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +0 -4
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/module/ui/components/utils/splitStyles.js +0 -46
- package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/module/ui/constants/spacing.js +0 -45
- package/lib/module/ui/constants/spacing.js.map +0 -1
- package/lib/module/ui/context/OxyContext.js +0 -1243
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/commitSessionFlow.js +0 -100
- package/lib/module/ui/context/commitSessionFlow.js.map +0 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +0 -311
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/module/ui/context/oxyContextHelpers.js +0 -57
- package/lib/module/ui/context/oxyContextHelpers.js.map +0 -1
- package/lib/module/ui/context/oxyContextTypes.js +0 -4
- package/lib/module/ui/context/oxyContextTypes.js.map +0 -1
- package/lib/module/ui/context/passkeyFlow.js +0 -111
- package/lib/module/ui/context/passkeyFlow.js.map +0 -1
- package/lib/module/ui/context/useOxyAccountGraph.js +0 -107
- package/lib/module/ui/context/useOxyAccountGraph.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -178
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -36
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -685
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -189
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/module/ui/hooks/queries/paymentTypes.js +0 -2
- package/lib/module/ui/hooks/queries/paymentTypes.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -207
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -315
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +0 -45
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +0 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +0 -120
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +0 -137
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -86
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -161
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCache.js +0 -433
- package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/module/ui/hooks/queryClient.js +0 -201
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/useAssets.js +0 -221
- package/lib/module/ui/hooks/useAssets.js.map +0 -1
- package/lib/module/ui/hooks/useAsyncAction.js +0 -89
- package/lib/module/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/module/ui/hooks/useAuth.js +0 -123
- package/lib/module/ui/hooks/useAuth.js.map +0 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +0 -103
- package/lib/module/ui/hooks/useAvatarPicker.js.map +0 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +0 -66
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFileFiltering.js +0 -72
- package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +0 -324
- package/lib/module/ui/hooks/useFollow.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -4
- package/lib/module/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/module/ui/hooks/useFollowTarget.js +0 -156
- package/lib/module/ui/hooks/useFollowTarget.js.map +0 -1
- package/lib/module/ui/hooks/useI18n.js +0 -18
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +0 -185
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useMutationStatus.js +0 -82
- package/lib/module/ui/hooks/useMutationStatus.js.map +0 -1
- package/lib/module/ui/hooks/useOnlineStatus.js +0 -30
- package/lib/module/ui/hooks/useOnlineStatus.js.map +0 -1
- package/lib/module/ui/hooks/useOxyEvent.js +0 -25
- package/lib/module/ui/hooks/useOxyEvent.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -129
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -15
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useReduceMotion.js +0 -53
- package/lib/module/ui/hooks/useReduceMotion.js.map +0 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js +0 -157
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +0 -286
- package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/hooks/useSettingToggle.js +0 -126
- package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +0 -40
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +0 -138
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +0 -1
- package/lib/module/ui/hooks/useSwitchableAccounts.js +0 -60
- package/lib/module/ui/hooks/useSwitchableAccounts.js.map +0 -1
- package/lib/module/ui/index.js +0 -49
- package/lib/module/ui/index.js.map +0 -1
- package/lib/module/ui/isFrontend.js +0 -6
- package/lib/module/ui/isFrontend.js.map +0 -1
- package/lib/module/ui/navigation/accountDialogManager.js +0 -94
- package/lib/module/ui/navigation/accountDialogManager.js.map +0 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -56
- package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/module/ui/navigation/routes.js +0 -92
- package/lib/module/ui/navigation/routes.js.map +0 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js +0 -63
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +0 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +0 -143
- package/lib/module/ui/navigation/surfaceNavStack.js.map +0 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +0 -141
- package/lib/module/ui/navigation/surfaceRegistry.js.map +0 -1
- package/lib/module/ui/navigation/surfaces.js +0 -325
- package/lib/module/ui/navigation/surfaces.js.map +0 -1
- package/lib/module/ui/oauth/browserAuthTransport.js +0 -167
- package/lib/module/ui/oauth/browserAuthTransport.js.map +0 -1
- package/lib/module/ui/oauth/completeOAuthCode.js +0 -75
- package/lib/module/ui/oauth/completeOAuthCode.js.map +0 -1
- package/lib/module/ui/oauth/oauthHandshake.js +0 -50
- package/lib/module/ui/oauth/oauthHandshake.js.map +0 -1
- package/lib/module/ui/oauth/oauthPopup.js +0 -268
- package/lib/module/ui/oauth/oauthPopup.js.map +0 -1
- package/lib/module/ui/oauth/oauthPopupMessages.js +0 -135
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +0 -1
- package/lib/module/ui/oauth/types.js +0 -2
- package/lib/module/ui/oauth/types.js.map +0 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +0 -438
- package/lib/module/ui/screens/AccountMembersScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -260
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +0 -179
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/module/ui/screens/AppInfoScreen.js +0 -368
- package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +0 -984
- package/lib/module/ui/screens/AvatarCropScreen.js.map +0 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +0 -303
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +0 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +0 -164
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +0 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +0 -382
- package/lib/module/ui/screens/CreateAccountScreen.js.map +0 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +0 -541
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +0 -1
- package/lib/module/ui/screens/EditProfileScreen.js +0 -162
- package/lib/module/ui/screens/EditProfileScreen.js.map +0 -1
- package/lib/module/ui/screens/FAQScreen.js +0 -157
- package/lib/module/ui/screens/FAQScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -590
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -1525
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -12
- package/lib/module/ui/screens/FollowersListScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowingListScreen.js +0 -12
- package/lib/module/ui/screens/FollowingListScreen.js.map +0 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -118
- package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +0 -160
- package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -229
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +0 -122
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -185
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +0 -642
- package/lib/module/ui/screens/ManageAccountScreen.js.map +0 -1
- package/lib/module/ui/screens/NotificationsScreen.js +0 -145
- package/lib/module/ui/screens/NotificationsScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -273
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PreferencesScreen.js +0 -189
- package/lib/module/ui/screens/PreferencesScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -953
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -496
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +0 -468
- package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -127
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -133
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserListScreen.js +0 -296
- package/lib/module/ui/screens/UserListScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -462
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +0 -59
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +0 -116
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +0 -548
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +0 -80
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -502
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js +0 -39
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/shared.js +0 -70
- package/lib/module/ui/screens/fileManagement/shared.js.map +0 -1
- package/lib/module/ui/screens/linkFormat.js +0 -31
- package/lib/module/ui/screens/linkFormat.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +0 -89
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +0 -180
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +0 -81
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +0 -217
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +0 -507
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +0 -90
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +0 -1
- package/lib/module/ui/server.js +0 -56
- package/lib/module/ui/server.js.map +0 -1
- package/lib/module/ui/session/authStore.js +0 -35
- package/lib/module/ui/session/authStore.js.map +0 -1
- package/lib/module/ui/session/backgroundSession.js +0 -252
- package/lib/module/ui/session/backgroundSession.js.map +0 -1
- package/lib/module/ui/session/createSessionClient.js +0 -55
- package/lib/module/ui/session/createSessionClient.js.map +0 -1
- package/lib/module/ui/session/identityBinding.js +0 -89
- package/lib/module/ui/session/identityBinding.js.map +0 -1
- package/lib/module/ui/session/index.js +0 -21
- package/lib/module/ui/session/index.js.map +0 -1
- package/lib/module/ui/session/nativeSecureStorage.js +0 -88
- package/lib/module/ui/session/nativeSecureStorage.js.map +0 -1
- package/lib/module/ui/session/tokenTransport.js +0 -71
- package/lib/module/ui/session/tokenTransport.js.map +0 -1
- package/lib/module/ui/session/useBackgroundSessionSync.js +0 -76
- package/lib/module/ui/session/useBackgroundSessionSync.js.map +0 -1
- package/lib/module/ui/stores/accountStore.js +0 -213
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +0 -212
- package/lib/module/ui/stores/assetStore.js.map +0 -1
- package/lib/module/ui/stores/authStore.js +0 -66
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -546
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/stores/followTargetStore.js +0 -143
- package/lib/module/ui/stores/followTargetStore.js.map +0 -1
- package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/module/ui/types/fileManagement.js +0 -4
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +0 -4
- package/lib/module/ui/types/navigation.js.map +0 -1
- package/lib/module/ui/types/surfaceScreen.js +0 -4
- package/lib/module/ui/types/surfaceScreen.js.map +0 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -73
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -13
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/commonsStoreLinks.js +0 -37
- package/lib/module/ui/utils/commonsStoreLinks.js.map +0 -1
- package/lib/module/ui/utils/deliveryPlatform.js +0 -55
- package/lib/module/ui/utils/deliveryPlatform.js.map +0 -1
- package/lib/module/ui/utils/deviceCredential.js +0 -18
- package/lib/module/ui/utils/deviceCredential.js.map +0 -1
- package/lib/module/ui/utils/errorHandlers.js +0 -129
- package/lib/module/ui/utils/errorHandlers.js.map +0 -1
- package/lib/module/ui/utils/fileManagement.js +0 -140
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/iconNames.js +0 -124
- package/lib/module/ui/utils/iconNames.js.map +0 -1
- package/lib/module/ui/utils/isWebBrowser.js +0 -11
- package/lib/module/ui/utils/isWebBrowser.js.map +0 -1
- package/lib/module/ui/utils/netConnectivity.js +0 -23
- package/lib/module/ui/utils/netConnectivity.js.map +0 -1
- package/lib/module/ui/utils/oauthReturn.js +0 -122
- package/lib/module/ui/utils/oauthReturn.js.map +0 -1
- package/lib/module/ui/utils/sessionHelpers.js +0 -55
- package/lib/module/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/module/ui/utils/storageHelpers.js +0 -111
- package/lib/module/ui/utils/storageHelpers.js.map +0 -1
- package/lib/module/ui/utils/userUtils.js +0 -63
- package/lib/module/ui/utils/userUtils.js.map +0 -1
- package/lib/module/utils/hookUtils.js +0 -403
- package/lib/module/utils/hookUtils.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.js +0 -33
- package/lib/module/webauthn/passkeyClient.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.native.js +0 -28
- package/lib/module/webauthn/passkeyClient.native.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.web.js +0 -52
- package/lib/module/webauthn/passkeyClient.web.js.map +0 -1
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -24
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +0 -8
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts +0 -106
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +0 -192
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +0 -60
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -30
- package/lib/typescript/commonjs/ui/client.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -39
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +0 -158
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +0 -54
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +0 -59
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -113
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +0 -108
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +0 -59
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +0 -33
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +0 -55
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -32
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +0 -34
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -34
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -55
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +0 -63
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +0 -26
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -209
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +0 -109
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +0 -46
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +0 -14
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +0 -22
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +0 -22
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +0 -26
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +0 -43
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +0 -14
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +0 -7
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -389
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +0 -6
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +0 -7
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -39
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +0 -74
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +0 -7
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -211
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -96
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +0 -32
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -30
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +0 -138
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -137
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +0 -212
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +0 -50
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +0 -44
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +0 -173
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -66
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +0 -51
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -109
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +0 -34
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +0 -29
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +0 -108
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +0 -35
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +0 -50
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +0 -69
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +0 -14
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +0 -8
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +0 -42
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +0 -14
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +0 -48
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +0 -57
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +0 -16
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +0 -45
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/index.d.ts +0 -39
- package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +0 -54
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +0 -34
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +0 -16
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +0 -75
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +0 -194
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +0 -110
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +0 -56
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +0 -49
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +0 -50
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +0 -83
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +0 -67
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/types.d.ts +0 -176
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +0 -10
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +0 -58
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +0 -38
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +0 -11
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +0 -13
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +0 -14
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +0 -13
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +0 -18
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +0 -40
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +0 -25
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +0 -38
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +0 -23
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -36
- package/lib/typescript/commonjs/ui/server.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -25
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +0 -42
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +0 -40
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +0 -66
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/index.d.ts +0 -20
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +0 -25
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +0 -33
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +0 -23
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +0 -27
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -17
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -30
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -84
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +0 -51
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -127
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +0 -38
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -24
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +0 -10
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +0 -24
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +0 -33
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +0 -8
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -55
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +0 -112
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +0 -9
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +0 -17
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +0 -48
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +0 -48
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -28
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +0 -23
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +0 -20
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +0 -15
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +0 -36
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +0 -1
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -24
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts +0 -8
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts +0 -106
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +0 -192
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +0 -1
- package/lib/typescript/module/package.json +0 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +0 -60
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +0 -1
- package/lib/typescript/module/ui/client.d.ts +0 -30
- package/lib/typescript/module/ui/client.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +0 -4
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -39
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +0 -158
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +0 -40
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +0 -54
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +0 -59
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +0 -45
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +0 -11
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +0 -40
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -113
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +0 -108
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +0 -59
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +0 -33
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +0 -55
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -15
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +0 -16
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +0 -23
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -32
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +0 -34
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -34
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -55
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +0 -63
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +0 -26
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -209
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +0 -109
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/constants.d.ts +0 -5
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/types.d.ts +0 -46
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +0 -9
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -16
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +0 -14
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +0 -22
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +0 -22
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +0 -26
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +0 -43
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +0 -14
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +0 -16
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/constants.d.ts +0 -7
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -389
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/types.d.ts +0 -40
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +0 -6
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/module/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +0 -7
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -39
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +0 -74
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +0 -7
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -211
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -96
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +0 -32
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -30
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +0 -138
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -137
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +0 -212
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +0 -50
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +0 -44
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +0 -173
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -66
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +0 -51
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -109
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +0 -34
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +0 -29
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +0 -108
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +0 -35
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +0 -50
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +0 -69
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +0 -14
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +0 -8
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +0 -42
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +0 -14
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +0 -48
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +0 -57
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +0 -16
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +0 -45
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
- package/lib/typescript/module/ui/index.d.ts +0 -39
- package/lib/typescript/module/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/module/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +0 -54
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +0 -34
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +0 -16
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +0 -75
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +0 -194
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +0 -110
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +0 -56
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +0 -49
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +0 -50
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +0 -83
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +0 -67
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/types.d.ts +0 -176
- package/lib/typescript/module/ui/oauth/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +0 -10
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +0 -58
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +0 -38
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +0 -11
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +0 -13
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +0 -14
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +0 -13
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +0 -18
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +0 -40
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +0 -25
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +0 -38
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/linkFormat.d.ts +0 -23
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/server.d.ts +0 -36
- package/lib/typescript/module/ui/server.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/authStore.d.ts +0 -25
- package/lib/typescript/module/ui/session/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/backgroundSession.d.ts +0 -42
- package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +0 -40
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/identityBinding.d.ts +0 -66
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/index.d.ts +0 -20
- package/lib/typescript/module/ui/session/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +0 -25
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +0 -33
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +0 -23
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/accountStore.d.ts +0 -27
- package/lib/typescript/module/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts +0 -17
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts +0 -30
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -84
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/fileManagement.d.ts +0 -51
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +0 -127
- package/lib/typescript/module/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts +0 -38
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -24
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +0 -10
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +0 -24
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +0 -33
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +0 -8
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -55
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/iconNames.d.ts +0 -112
- package/lib/typescript/module/ui/utils/iconNames.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +0 -9
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +0 -17
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +0 -48
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +0 -48
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -28
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts +0 -23
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/module/utils/hookUtils.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.d.ts +0 -20
- package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +0 -15
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +0 -36
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +0 -1
- package/lib/typescript/nativewind-env.d.ts +0 -1
- package/lib/typescript/types/expo-crypto.d.ts +0 -29
- package/lib/typescript/types/expo-document-picker.d.ts +0 -36
- package/lib/typescript/types/expo-haptics.d.ts +0 -42
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/lib/typescript/types/expo-secure-store.d.ts +0 -22
- package/lib/typescript/types/express.d.ts +0 -24
- package/lib/typescript/types/react-native-classname.d.ts +0 -39
- package/lib/typescript/types/react-native-web-style.d.ts +0 -27
- package/src/ui/hooks/useSwitchableAccounts.ts +0 -75
- package/src/ui/stores/accountStore.ts +0 -264
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useEffect","useMemo","useRef","useState","isDev","mergeSessions","normalizeAndSortSessions","sessionsArraysEqual","fetchSessionsWithFallback","getStorageKeys","handleAuthError","isInvalidSessionError","clearQueryCache","isWebBrowser","resetSessionScopedStores","DEFAULT_SAVE_ERROR_MESSAGE","CLEAR_STORAGE_ERROR","useSessionManagement","oxyServices","storage","storageKeyPrefix","loginSuccess","logoutStore","onAuthStateChange","onError","setAuthError","logger","setTokenReady","queryClient","sessions","setSessions","activeSessionId","setActiveSessionId","sessionsRef","current","activeSessionIdRef","refreshInFlightRef","removedSessionsRef","Set","lastRefreshRef","storageKeys","saveSessionIds","sessionIds","uniqueIds","Array","from","setItem","JSON","stringify","error","console","warn","updateSessions","incoming","options","prevSessions","processed","merge","map","session","sessionId","preserveSessionIds","saveActiveSessionId","defaultMessage","code","removeActiveSessionId","removeItem","clearSessionStorage","clearSessionState","clearTokens","clear","activateSession","user","removalTimerIdsRef","trackRemovedSession","add","timerId","setTimeout","delete","forEach","clearTimeout","switchSession","getAccessToken","Error","validation","validateSession","useHeaderValidation","valid","deviceSessions","fallbackUserId","id","invalidSession","filter","refreshSessions","activeUserId","now","Date","refreshPromise","isRefreshInFlight","Boolean"],"sourceRoot":"../../../../src","sources":["ui/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L,OAAO,GAAG8D,IAAI,CAACD,GAAG,CAAC,CAAC;MACrC;IACF,CAAC,EAAE,CAAC;IAEJ3D,kBAAkB,CAACF,OAAO,GAAG+D,cAAc;IAC3C,MAAMA,cAAc;EACtB,CAAC,EACD,CACE7B,iBAAiB,EACjB1C,MAAM,EACNF,OAAO,EACPN,WAAW,EACXO,YAAY,EACZ2B,cAAc,CAElB,CAAC;EAED,MAAM8C,iBAAiB,GAAGC,OAAO,CAAC/D,kBAAkB,CAACF,OAAO,CAAC;EAE7D,OAAO;IACLL,QAAQ;IACRE,eAAe;IACfC,kBAAkB;IAClBoB,cAAc;IACd6B,aAAa;IACbY,eAAe;IACfzB,iBAAiB;IACjBN,mBAAmB;IACnBY,mBAAmB;IACnBlC,WAAW;IACX0D;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState, useCallback, useEffect } from 'react';
|
|
4
|
-
import { toast } from '@oxyhq/bloom/toast';
|
|
5
|
-
/**
|
|
6
|
-
* Hook for handling boolean toggle settings with optimistic updates.
|
|
7
|
-
* Automatically reverts to the previous value if the save fails.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* const { value, toggle, isSaving } = useSettingToggle({
|
|
11
|
-
* initialValue: user.notificationsEnabled,
|
|
12
|
-
* onSave: (value) => api.updateNotifications(value),
|
|
13
|
-
* errorMessage: 'Failed to update notifications',
|
|
14
|
-
* });
|
|
15
|
-
*
|
|
16
|
-
* <Switch value={value} onValueChange={toggle} disabled={isSaving} />
|
|
17
|
-
*/
|
|
18
|
-
export function useSettingToggle(options) {
|
|
19
|
-
const {
|
|
20
|
-
initialValue,
|
|
21
|
-
onSave,
|
|
22
|
-
successMessage,
|
|
23
|
-
errorMessage = 'Failed to save setting',
|
|
24
|
-
revertOnError = true,
|
|
25
|
-
showSuccessToast = false
|
|
26
|
-
} = options;
|
|
27
|
-
const [value, setValue] = useState(initialValue);
|
|
28
|
-
const [isSaving, setIsSaving] = useState(false);
|
|
29
|
-
|
|
30
|
-
// Update value when initialValue changes (e.g., from server)
|
|
31
|
-
useEffect(() => {
|
|
32
|
-
setValue(initialValue);
|
|
33
|
-
}, [initialValue]);
|
|
34
|
-
const toggle = useCallback(async () => {
|
|
35
|
-
const previousValue = value;
|
|
36
|
-
const newValue = !value;
|
|
37
|
-
|
|
38
|
-
// Optimistic update
|
|
39
|
-
setValue(newValue);
|
|
40
|
-
setIsSaving(true);
|
|
41
|
-
try {
|
|
42
|
-
await onSave(newValue);
|
|
43
|
-
if (showSuccessToast && successMessage) {
|
|
44
|
-
toast.success(successMessage);
|
|
45
|
-
}
|
|
46
|
-
} catch (err) {
|
|
47
|
-
// Revert on error
|
|
48
|
-
if (revertOnError) {
|
|
49
|
-
setValue(previousValue);
|
|
50
|
-
}
|
|
51
|
-
toast.error(errorMessage || (err instanceof Error ? err.message : null) || 'An error occurred');
|
|
52
|
-
} finally {
|
|
53
|
-
setIsSaving(false);
|
|
54
|
-
}
|
|
55
|
-
}, [value, onSave, successMessage, errorMessage, revertOnError, showSuccessToast]);
|
|
56
|
-
return {
|
|
57
|
-
value,
|
|
58
|
-
isSaving,
|
|
59
|
-
toggle,
|
|
60
|
-
setValue
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Hook for managing multiple toggle settings at once.
|
|
66
|
-
* Useful when you have several related boolean settings.
|
|
67
|
-
*/
|
|
68
|
-
export function useSettingToggles(options) {
|
|
69
|
-
const {
|
|
70
|
-
initialValues,
|
|
71
|
-
onSave,
|
|
72
|
-
errorMessage = 'Failed to save setting',
|
|
73
|
-
revertOnError = true
|
|
74
|
-
} = options;
|
|
75
|
-
const [values, setValues] = useState(initialValues);
|
|
76
|
-
const [savingKeys, setSavingKeys] = useState(new Set());
|
|
77
|
-
|
|
78
|
-
// Update values when initialValues change
|
|
79
|
-
useEffect(() => {
|
|
80
|
-
setValues(initialValues);
|
|
81
|
-
}, [initialValues]);
|
|
82
|
-
const toggle = useCallback(async key => {
|
|
83
|
-
const previousValue = values[key];
|
|
84
|
-
const newValue = !previousValue;
|
|
85
|
-
|
|
86
|
-
// Optimistic update
|
|
87
|
-
setValues(prev => ({
|
|
88
|
-
...prev,
|
|
89
|
-
[key]: newValue
|
|
90
|
-
}));
|
|
91
|
-
setSavingKeys(prev => new Set(prev).add(key));
|
|
92
|
-
try {
|
|
93
|
-
await onSave(key, newValue);
|
|
94
|
-
} catch (err) {
|
|
95
|
-
// Revert on error
|
|
96
|
-
if (revertOnError) {
|
|
97
|
-
setValues(prev => ({
|
|
98
|
-
...prev,
|
|
99
|
-
[key]: previousValue
|
|
100
|
-
}));
|
|
101
|
-
}
|
|
102
|
-
const message = typeof errorMessage === 'function' ? errorMessage(key) : errorMessage;
|
|
103
|
-
toast.error(message || (err instanceof Error ? err.message : null) || 'An error occurred');
|
|
104
|
-
} finally {
|
|
105
|
-
setSavingKeys(prev => {
|
|
106
|
-
const next = new Set(prev);
|
|
107
|
-
next.delete(key);
|
|
108
|
-
return next;
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}, [values, onSave, errorMessage, revertOnError]);
|
|
112
|
-
const setValuesExternal = useCallback(newValues => {
|
|
113
|
-
setValues(prev => ({
|
|
114
|
-
...prev,
|
|
115
|
-
...newValues
|
|
116
|
-
}));
|
|
117
|
-
}, []);
|
|
118
|
-
return {
|
|
119
|
-
values,
|
|
120
|
-
savingKeys,
|
|
121
|
-
toggle,
|
|
122
|
-
setValues: setValuesExternal
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
export default useSettingToggle;
|
|
126
|
-
//# sourceMappingURL=useSettingToggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useState","useCallback","useEffect","toast","useSettingToggle","options","initialValue","onSave","successMessage","errorMessage","revertOnError","showSuccessToast","value","setValue","isSaving","setIsSaving","toggle","previousValue","newValue","success","err","error","Error","message","useSettingToggles","initialValues","values","setValues","savingKeys","setSavingKeys","Set","key","prev","add","next","delete","setValuesExternal","newValues"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSettingToggle.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,WAAW,EAAEC,SAAS,QAAQ,OAAO;AACxD,SAASC,KAAK,QAAQ,oBAAoB;AA4B1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,OAAgC,EAA0B;EACvF,MAAM;IACFC,YAAY;IACZC,MAAM;IACNC,cAAc;IACdC,YAAY,GAAG,wBAAwB;IACvCC,aAAa,GAAG,IAAI;IACpBC,gBAAgB,GAAG;EACvB,CAAC,GAAGN,OAAO;EAEX,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGb,QAAQ,CAACM,YAAY,CAAC;EAChD,MAAM,CAACQ,QAAQ,EAAEC,WAAW,CAAC,GAAGf,QAAQ,CAAC,KAAK,CAAC;;EAE/C;EACAE,SAAS,CAAC,MAAM;IACZW,QAAQ,CAACP,YAAY,CAAC;EAC1B,CAAC,EAAE,CAACA,YAAY,CAAC,CAAC;EAElB,MAAMU,MAAM,GAAGf,WAAW,CAAC,YAAY;IACnC,MAAMgB,aAAa,GAAGL,KAAK;IAC3B,MAAMM,QAAQ,GAAG,CAACN,KAAK;;IAEvB;IACAC,QAAQ,CAACK,QAAQ,CAAC;IAClBH,WAAW,CAAC,IAAI,CAAC;IAEjB,IAAI;MACA,MAAMR,MAAM,CAACW,QAAQ,CAAC;MAEtB,IAAIP,gBAAgB,IAAIH,cAAc,EAAE;QACpCL,KAAK,CAACgB,OAAO,CAACX,cAAc,CAAC;MACjC;IACJ,CAAC,CAAC,OAAOY,GAAY,EAAE;MACnB;MACA,IAAIV,aAAa,EAAE;QACfG,QAAQ,CAACI,aAAa,CAAC;MAC3B;MAEAd,KAAK,CAACkB,KAAK,CAAC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IAC/B,CAAC,CAAC,OAAOE,GAAY,EAAE;MACnB;MACA,IAAIV,aAAa,EAAE;QACfiB,SAAS,CAACK,IAAI,KAAK;UAAE,GAAGA,IAAI;UAAE,CAACD,GAAG,GAAGd;QAAc,CAAC,CAAC,CAAC;MAC1D;MAEA,MAAMM,OAAO,GAAG,OAAOd,YAAY,KAAK,UAAU,GAC5CA,YAAY,CAACsB,GAAG,CAAC,GACjBtB,YAAY;MAClBN,KAAK,CAACkB,KAAK,CAACE,OAAO,KAAKH,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACG,OAAO,GAAG,IAAI,CAAC,IAAI,mBAAmB,CAAC;IAC9F,CAAC,SAAS;MACNM,aAAa,CAACG,IAAI,IAAI;QAClB,MAAME,IAAI,GAAG,IAAIJ,GAAG,CAACE,IAAI,CAAC;QAC1BE,IAAI,CAACC,MAAM,CAACJ,GAAG,CAAC;QAChB,OAAOG,IAAI;MACf,CAAC,CAAC;IACN;EACJ,CAAC,EAAE,CAACR,MAAM,EAAEnB,MAAM,EAAEE,YAAY,EAAEC,aAAa,CAAC,CAAC;EAEjD,MAAM0B,iBAAiB,GAAGnC,WAAW,CAAEoC,SAAqB,IAAK;IAC7DV,SAAS,CAACK,IAAI,KAAK;MAAE,GAAGA,IAAI;MAAE,GAAGK;IAAU,CAAC,CAAC,CAAC;EAClD,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO;IAAEX,MAAM;IAAEE,UAAU;IAAEZ,MAAM;IAAEW,SAAS,EAAES;EAAkB,CAAC;AACvE;AAEA,eAAehC,gBAAgB","ignoreList":[]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { createPlatformStorage } from "../utils/storageHelpers.js";
|
|
5
|
-
/**
|
|
6
|
-
* Simple React hook that initializes platform-appropriate storage.
|
|
7
|
-
* Returns storage instance once ready, or null if initialization failed.
|
|
8
|
-
*/
|
|
9
|
-
export const useStorage = ({
|
|
10
|
-
onError,
|
|
11
|
-
logger
|
|
12
|
-
} = {}) => {
|
|
13
|
-
const [storage, setStorage] = useState(null);
|
|
14
|
-
const initRef = useRef(null);
|
|
15
|
-
useEffect(() => {
|
|
16
|
-
// Prevent multiple initializations
|
|
17
|
-
if (initRef.current) return;
|
|
18
|
-
initRef.current = (async () => {
|
|
19
|
-
try {
|
|
20
|
-
const storageInstance = await createPlatformStorage();
|
|
21
|
-
setStorage(storageInstance);
|
|
22
|
-
} catch (err) {
|
|
23
|
-
const message = err instanceof Error ? err.message : 'Failed to initialize storage';
|
|
24
|
-
if (logger) {
|
|
25
|
-
logger(message, err);
|
|
26
|
-
}
|
|
27
|
-
onError?.({
|
|
28
|
-
message,
|
|
29
|
-
code: 'STORAGE_INIT_ERROR',
|
|
30
|
-
status: 500
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
})();
|
|
34
|
-
}, [logger, onError]);
|
|
35
|
-
return {
|
|
36
|
-
storage,
|
|
37
|
-
isReady: storage !== null
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=useStorage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useState","createPlatformStorage","useStorage","onError","logger","storage","setStorage","initRef","current","storageInstance","err","message","Error","code","status","isReady"],"sourceRoot":"../../../../src","sources":["ui/hooks/useStorage.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEnD,SAASC,qBAAqB,QAA+B,4BAAyB;AAYtF;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAGA,CAAC;EACzBC,OAAO;EACPC;AACiB,CAAC,GAAG,CAAC,CAAC,KAAuB;EAC9C,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGN,QAAQ,CAA0B,IAAI,CAAC;EACrE,MAAMO,OAAO,GAAGR,MAAM,CAAuB,IAAI,CAAC;EAElDD,SAAS,CAAC,MAAM;IACd;IACA,IAAIS,OAAO,CAACC,OAAO,EAAE;IAErBD,OAAO,CAACC,OAAO,GAAG,CAAC,YAAY;MAC7B,IAAI;QACF,MAAMC,eAAe,GAAG,MAAMR,qBAAqB,CAAC,CAAC;QACrDK,UAAU,CAACG,eAAe,CAAC;MAC7B,CAAC,CAAC,OAAOC,GAAG,EAAE;QACZ,MAAMC,OAAO,GAAGD,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACC,OAAO,GAAG,8BAA8B;QACnF,IAAIP,MAAM,EAAE;UACVA,MAAM,CAACO,OAAO,EAAED,GAAG,CAAC;QACtB;QACAP,OAAO,GAAG;UACRQ,OAAO;UACPE,IAAI,EAAE,oBAAoB;UAC1BC,MAAM,EAAE;QACV,CAAC,CAAC;MACJ;IACF,CAAC,EAAE,CAAC;EACN,CAAC,EAAE,CAACV,MAAM,EAAED,OAAO,CAAC,CAAC;EAErB,OAAO;IACLE,OAAO;IACPU,OAAO,EAAEV,OAAO,KAAK;EACvB,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createContext, useContext, useLayoutEffect, useRef } from 'react';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The header content a mounted surface screen contributes at runtime: its
|
|
7
|
-
* (translated) title/subtitle and optional slot nodes. Back/close affordances
|
|
8
|
-
* are owned by the surface host (`SurfaceScreen`) — a screen never wires them.
|
|
9
|
-
*
|
|
10
|
-
* Alongside the classic slots (`left`/`right`) a screen can declare the rich
|
|
11
|
-
* design-system fields Bloom's nav header supports: the single trailing
|
|
12
|
-
* `primaryAction` CTA (Upload / Save), a trailing icon `actions` row, a header
|
|
13
|
-
* `search` / `segments` in the large-title zone, an `onImage` `tone` over media,
|
|
14
|
-
* and a wizard `progress` bar.
|
|
15
|
-
*
|
|
16
|
-
* Only the NODE fields (`left`/`right`/`titleContent`, and an action's `icon`)
|
|
17
|
-
* must be referentially stable — a node can only be compared by identity, so an
|
|
18
|
-
* inline one thrashes the header. The rich OBJECT fields are compared by value
|
|
19
|
-
* (see {@link surfaceHeaderContentEqual}), so an inline `primaryAction` /
|
|
20
|
-
* `actions` / `search` / `segments` / `progress` is safe to pass.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Provided by {@link ../components/SurfaceScreen}. Bridges a screen's runtime
|
|
25
|
-
* header contribution up to the host, which merges it with the back/close
|
|
26
|
-
* wiring and drives the Dialog's own nav header. `null` outside a surface (or in
|
|
27
|
-
* a headerless surface), so {@link useSurfaceHeader} is a safe no-op there.
|
|
28
|
-
*/
|
|
29
|
-
export const SurfaceHeaderContext = /*#__PURE__*/createContext(null);
|
|
30
|
-
function primaryActionEqual(a, b) {
|
|
31
|
-
if (a === b) return true;
|
|
32
|
-
if (!a || !b) return false;
|
|
33
|
-
// `onPress` is a fresh closure each render — its identity never changes what
|
|
34
|
-
// the button renders, so compare only the render-affecting scalars.
|
|
35
|
-
return a.label === b.label && !!a.disabled === !!b.disabled && !!a.loading === !!b.loading;
|
|
36
|
-
}
|
|
37
|
-
function actionsEqual(a, b) {
|
|
38
|
-
if (a === b) return true;
|
|
39
|
-
if (!a || !b || a.length !== b.length) return false;
|
|
40
|
-
for (let i = 0; i < a.length; i += 1) {
|
|
41
|
-
const x = a[i];
|
|
42
|
-
const y = b[i];
|
|
43
|
-
if (!x || !y) return false;
|
|
44
|
-
// `icon` is a node (identity); `onPress` is ignored, like `primaryAction`'s.
|
|
45
|
-
if (x.accessibilityLabel !== y.accessibilityLabel || !!x.disabled !== !!y.disabled || x.icon !== y.icon) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
function searchEqual(a, b) {
|
|
52
|
-
if (a === b) return true;
|
|
53
|
-
if (!a || !b) return false;
|
|
54
|
-
return a.value === b.value && a.placeholder === b.placeholder;
|
|
55
|
-
}
|
|
56
|
-
function segmentsEqual(a, b) {
|
|
57
|
-
if (a === b) return true;
|
|
58
|
-
if (!a || !b || a.value !== b.value || a.items.length !== b.items.length) return false;
|
|
59
|
-
for (let i = 0; i < a.items.length; i += 1) {
|
|
60
|
-
const x = a.items[i];
|
|
61
|
-
const y = b.items[i];
|
|
62
|
-
if (!x || !y || x.key !== y.key || x.label !== y.label) return false;
|
|
63
|
-
}
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
function progressEqual(a, b) {
|
|
67
|
-
if (a === b) return true;
|
|
68
|
-
if (!a || !b) return false;
|
|
69
|
-
return a.step === b.step && a.total === b.total;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Value-equality for a surface's header contribution.
|
|
74
|
-
*
|
|
75
|
-
* This MIRRORS Bloom's own `configsEqual` (`@oxyhq/bloom/dialog`), which guards
|
|
76
|
-
* the header store one layer down — deliberately field for field. The two must
|
|
77
|
-
* not diverge: this comparator is the gate that decides whether the host's
|
|
78
|
-
* `setContent` fires, so a comparator STRICTER than Bloom's re-introduces the
|
|
79
|
-
* update loop Bloom's own guard was written to prevent.
|
|
80
|
-
*
|
|
81
|
-
* Scalars (`title`/`subtitle`/`largeTitle`/`tone`) compare by value. The rich
|
|
82
|
-
* object fields (`primaryAction`/`actions`/`search`/`segments`/`progress`)
|
|
83
|
-
* compare by their render-affecting scalars, so a screen may build them inline:
|
|
84
|
-
* a fresh object with unchanged contents is NOT a change. Only the node fields
|
|
85
|
-
* (`titleContent`/`left`/`right`, and an action's `icon`) compare by identity —
|
|
86
|
-
* there is nothing else to compare a `ReactNode` by — so those, and only those,
|
|
87
|
-
* carry the memoize-me contract.
|
|
88
|
-
*
|
|
89
|
-
* Function-typed affordances compare by PRESENCE, never identity: `onBack`
|
|
90
|
-
* legitimately gets a fresh closure each render and its identity never changes
|
|
91
|
-
* what the header renders, so it must not count as a change (that is exactly
|
|
92
|
-
* what would drive the update loop).
|
|
93
|
-
*/
|
|
94
|
-
function surfaceHeaderContentEqual(a, b) {
|
|
95
|
-
if (a === b) return true;
|
|
96
|
-
if (!a || !b) return false;
|
|
97
|
-
return a.title === b.title && a.titleContent === b.titleContent && a.subtitle === b.subtitle && a.largeTitle === b.largeTitle && a.left === b.left && a.right === b.right && !!a.onBack === !!b.onBack && a.tone === b.tone && primaryActionEqual(a.primaryAction, b.primaryAction) && actionsEqual(a.actions, b.actions) && searchEqual(a.search, b.search) && segmentsEqual(a.segments, b.segments) && progressEqual(a.progress, b.progress);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Declare the Dialog nav header's content from within a surface screen — its
|
|
102
|
-
* title/subtitle and any action slot. Merges over nothing (the host owns
|
|
103
|
-
* back/close), replaces on change, and clears on unmount. Call it unconditionally;
|
|
104
|
-
* it is a no-op outside a header-mode surface.
|
|
105
|
-
*
|
|
106
|
-
* Screens pass an INLINE `content` object (a fresh reference every render), so the
|
|
107
|
-
* push is guarded by {@link surfaceHeaderContentEqual}: the host's `setContent` is
|
|
108
|
-
* called only when the VALUE actually changes. Without that guard the setState
|
|
109
|
-
* would fire every render → the screen re-renders → the effect runs again → an
|
|
110
|
-
* infinite update loop (React error #185) in any consumer that does not memoize
|
|
111
|
-
* the object for us (i.e. anything not compiled by the React Compiler).
|
|
112
|
-
*/
|
|
113
|
-
export function useSurfaceHeader(content) {
|
|
114
|
-
const ctx = useContext(SurfaceHeaderContext);
|
|
115
|
-
const set = ctx?.setContent;
|
|
116
|
-
const setRef = useRef(set);
|
|
117
|
-
setRef.current = set;
|
|
118
|
-
// The last value pushed to the host; `undefined` until the first push.
|
|
119
|
-
const lastRef = useRef(undefined);
|
|
120
|
-
|
|
121
|
-
// Runs after EVERY commit (no deps array) so the bar/title fill in the same
|
|
122
|
-
// layout phase — but only pushes on a real value change, never on reference churn.
|
|
123
|
-
useLayoutEffect(() => {
|
|
124
|
-
const s = setRef.current;
|
|
125
|
-
if (!s) return;
|
|
126
|
-
const next = content ?? null;
|
|
127
|
-
if (lastRef.current !== undefined && surfaceHeaderContentEqual(lastRef.current, next)) return;
|
|
128
|
-
lastRef.current = next;
|
|
129
|
-
s(next);
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
// Clear this surface's contribution when the screen unmounts.
|
|
133
|
-
useLayoutEffect(() => () => {
|
|
134
|
-
lastRef.current = undefined;
|
|
135
|
-
setRef.current?.(null);
|
|
136
|
-
}, []);
|
|
137
|
-
}
|
|
138
|
-
//# sourceMappingURL=useSurfaceHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","useLayoutEffect","useRef","SurfaceHeaderContext","primaryActionEqual","a","b","label","disabled","loading","actionsEqual","length","i","x","y","accessibilityLabel","icon","searchEqual","value","placeholder","segmentsEqual","items","key","progressEqual","step","total","surfaceHeaderContentEqual","title","titleContent","subtitle","largeTitle","left","right","onBack","tone","primaryAction","actions","search","segments","progress","useSurfaceHeader","content","ctx","set","setContent","setRef","current","lastRef","undefined","s","next"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSurfaceHeader.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,EAAEC,eAAe,EAAEC,MAAM,QAAQ,OAAO;;AAG1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsBA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,gBAAGJ,aAAa,CAAmC,IAAI,CAAC;AAQzF,SAASK,kBAAkBA,CACzBC,CAAkC,EAClCC,CAAkC,EACzB;EACT,IAAID,CAAC,KAAKC,CAAC,EAAE,OAAO,IAAI;EACxB,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,EAAE,OAAO,KAAK;EAC1B;EACA;EACA,OAAOD,CAAC,CAACE,KAAK,KAAKD,CAAC,CAACC,KAAK,IAAI,CAAC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eAAe,CAAC,MAAM;IACpB,MAAMgD,CAAC,GAAGJ,MAAM,CAACC,OAAO;IACxB,IAAI,CAACG,CAAC,EAAE;IACR,MAAMC,IAAI,GAAGT,OAAO,IAAI,IAAI;IAC5B,IAAIM,OAAO,CAACD,OAAO,KAAKE,SAAS,IAAItB,yBAAyB,CAACqB,OAAO,CAACD,OAAO,EAAEI,IAAI,CAAC,EAAE;IACvFH,OAAO,CAACD,OAAO,GAAGI,IAAI;IACtBD,CAAC,CAACC,IAAI,CAAC;EACT,CAAC,CAAC;;EAEF;EACAjD,eAAe,CACb,MAAM,MAAM;IACV8C,OAAO,CAACD,OAAO,GAAGE,SAAS;IAC3BH,MAAM,CAACC,OAAO,GAAG,IAAI,CAAC;EACxB,CAAC,EACD,EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback, useMemo, useSyncExternalStore } from 'react';
|
|
4
|
-
import { useOxy } from "../context/OxyContext.js";
|
|
5
|
-
/**
|
|
6
|
-
* Stable empty snapshot for the no-provider loading state, so `useSyncExternalStore`
|
|
7
|
-
* always has a getSnapshot that returns a constant reference before mount.
|
|
8
|
-
*/
|
|
9
|
-
const EMPTY_SNAPSHOT = {
|
|
10
|
-
view: 'accounts',
|
|
11
|
-
accounts: [],
|
|
12
|
-
activeAccountId: null,
|
|
13
|
-
loading: false,
|
|
14
|
-
error: null,
|
|
15
|
-
switchingAccountId: null,
|
|
16
|
-
signIn: {
|
|
17
|
-
phase: 'idle',
|
|
18
|
-
authorizeCode: null,
|
|
19
|
-
qrPayload: null,
|
|
20
|
-
expiresAt: null,
|
|
21
|
-
error: null,
|
|
22
|
-
route: null,
|
|
23
|
-
routeFailed: false,
|
|
24
|
-
pushSentAt: null,
|
|
25
|
-
openedAt: null,
|
|
26
|
-
progress: 'idle'
|
|
27
|
-
},
|
|
28
|
-
commonsAvailability: 'unknown'
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Every account the signed-in user can switch into — device sign-ins AND linked
|
|
33
|
-
* graph accounts (owned orgs + shared-with-you) — as one flat, deduped list with
|
|
34
|
-
* real per-account name / email / avatar / color.
|
|
35
|
-
*
|
|
36
|
-
* This is a thin binding over the shared `AccountDialogController` in
|
|
37
|
-
* `@oxyhq/core` (the SAME headless source the {@link OxyAccountDialogScreen} renders),
|
|
38
|
-
* so there is ONE projection (`projectSwitchableAccounts`) and one switch path
|
|
39
|
-
* (`controller.switchTo`) across the whole SDK — the local duplicate projection
|
|
40
|
-
* this hook used to own has been removed. Every switch routes through
|
|
41
|
-
* `useOxy().switchToAccount(accountId)` (or the dialog's row press).
|
|
42
|
-
*/
|
|
43
|
-
export function useSwitchableAccounts() {
|
|
44
|
-
const {
|
|
45
|
-
accountDialogController: controller
|
|
46
|
-
} = useOxy();
|
|
47
|
-
const subscribe = useCallback(listener => controller ? controller.subscribe(listener) : () => undefined, [controller]);
|
|
48
|
-
const getSnapshot = useCallback(() => controller ? controller.getSnapshot() : EMPTY_SNAPSHOT, [controller]);
|
|
49
|
-
const snapshot = useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
50
|
-
const currentSessionId = useMemo(() => {
|
|
51
|
-
const active = snapshot.accounts.find(account => account.accountId === snapshot.activeAccountId);
|
|
52
|
-
return active?.sessionId ?? null;
|
|
53
|
-
}, [snapshot]);
|
|
54
|
-
return {
|
|
55
|
-
accounts: snapshot.accounts,
|
|
56
|
-
isLoading: snapshot.loading,
|
|
57
|
-
currentSessionId
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=useSwitchableAccounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useMemo","useSyncExternalStore","useOxy","EMPTY_SNAPSHOT","view","accounts","activeAccountId","loading","error","switchingAccountId","signIn","phase","authorizeCode","qrPayload","expiresAt","route","routeFailed","pushSentAt","openedAt","progress","commonsAvailability","useSwitchableAccounts","accountDialogController","controller","subscribe","listener","undefined","getSnapshot","snapshot","currentSessionId","active","find","account","accountId","sessionId","isLoading"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSwitchableAccounts.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,oBAAoB,QAAQ,OAAO;AAElE,SAASC,MAAM,QAAQ,0BAAuB;AAW9C;AACA;AACA;AACA;AACA,MAAMC,cAAqC,GAAG;EAC1CC,IAAI,EAAE,UAAU;EAChBC,QAAQ,EAAE,EAAE;EACZC,eAAe,EAAE,IAAI;EACrBC,OAAO,EAAE,KAAK;EACdC,KAAK,EAAE,IAAI;EACXC,kBAAkB,EAAE,IAAI;EACxBC,MAAM,EAAE;IACJC,KAAK,EAAE,MAAM;IACbC,aAAa,EAAE,IAAI;IACnBC,SAAS,EAAE,IAAI;IACfC,SAAS,EAAE,IAAI;IACfN,KAAK,EAAE,IAAI;IACXO,KAAK,EAAE,IAAI;IACXC,WAAW,EAAE,KAAK;IAClBC,UAAU,EAAE,IAAI;IAChBC,QAAQ,EAAE,IAAI;IACdC,QAAQ,EAAE;EACd,CAAC;EACDC,mBAAmB,EAAE;AACzB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAAA,EAAgC;EACjE,MAAM;IAAEC,uBAAuB,EAAEC;EAAW,CAAC,GAAGrB,MAAM,CAAC,CAAC;EAExD,MAAMsB,SAAS,GAAGzB,WAAW,CACxB0B,QAAoB,IAAMF,UAAU,GAAGA,UAAU,CAACC,SAAS,CAACC,QAAQ,CAAC,GAAG,MAAMC,SAAU,EACzF,CAACH,UAAU,CACf,CAAC;EACD,MAAMI,WAAW,GAAG5B,WAAW,CAC3B,MAAOwB,UAAU,GAAGA,UAAU,CAACI,WAAW,CAAC,CAAC,GAAGxB,cAAe,EAC9D,CAACoB,UAAU,CACf,CAAC;EACD,MAAMK,QAAQ,GAAG3B,oBAAoB,CAACuB,SAAS,EAAEG,WAAW,EAAEA,WAAW,CAAC;EAE1E,MAAME,gBAAgB,GAAG7B,OAAO,CAAgB,MAAM;IAClD,MAAM8B,MAAM,GAAGF,QAAQ,CAACvB,QAAQ,CAAC0B,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,KAAKL,QAAQ,CAACtB,eAAe,CAAC;IAClG,OAAOwB,MAAM,EAAEI,SAAS,IAAI,IAAI;EACpC,CAAC,EAAE,CAACN,QAAQ,CAAC,CAAC;EAEd,OAAO;IACHvB,QAAQ,EAAEuB,QAAQ,CAACvB,QAAQ;IAC3B8B,SAAS,EAAEP,QAAQ,CAACrB,OAAO;IAC3BsB;EACJ,CAAC;AACL","ignoreList":[]}
|
package/lib/module/ui/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @oxyhq/services/ui — public subpath
|
|
5
|
-
*
|
|
6
|
-
* Tree-shakeable static re-exports of the most common UI surface. Backend
|
|
7
|
-
* environments (SSR) should import `@oxyhq/services/ui/server` instead;
|
|
8
|
-
* client-only callers can use `@oxyhq/services/ui/client` for a slightly
|
|
9
|
-
* narrower bundle.
|
|
10
|
-
*
|
|
11
|
-
* Static `export ... from` only — no runtime `require()`, no platform
|
|
12
|
-
* conditionals. The previous `if (isFrontend) require(...)` pattern was
|
|
13
|
-
* removed because it (a) violated the dual CJS/ESM build rule (ESM bundles
|
|
14
|
-
* cannot contain `require()` per CLAUDE.md) and (b) defeated tree-shaking.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/// <reference path="../types/react-native-classname.d.ts" />
|
|
18
|
-
/// <reference path="../types/react-native-web-style.d.ts" />
|
|
19
|
-
|
|
20
|
-
// Components
|
|
21
|
-
export { default as OxyProvider } from "./components/OxyProvider.js";
|
|
22
|
-
export { default as OxySignInButton } from "./components/OxySignInButton.js";
|
|
23
|
-
export { default as OxyAuthPrompt } from "./components/OxyAuthPrompt.js";
|
|
24
|
-
export { LogoIcon } from "./components/logo/LogoIcon.js";
|
|
25
|
-
export { LogoText } from "./components/logo/LogoText.js";
|
|
26
|
-
export { RequireOxyAuth } from "./components/RequireOxyAuth.js";
|
|
27
|
-
export { default as FollowButton } from "./components/FollowButton.js";
|
|
28
|
-
export { default as OxyPayButton } from "./components/OxyPayButton.js";
|
|
29
|
-
export { default as ProfileButton } from "./components/ProfileButton.js";
|
|
30
|
-
|
|
31
|
-
// Context + hooks
|
|
32
|
-
export { useOxy } from "./context/OxyContext.js";
|
|
33
|
-
export { useAuth } from "./hooks/useAuth.js";
|
|
34
|
-
export { useFollow, useSeedFollowStatuses } from "./hooks/useFollow.js";
|
|
35
|
-
export { useStorage } from "./hooks/useStorage.js";
|
|
36
|
-
// Screens
|
|
37
|
-
export { default as ProfileScreen } from "./screens/ProfileScreen.js";
|
|
38
|
-
export { default as ManageAccountScreen } from "./screens/ManageAccountScreen.js";
|
|
39
|
-
export { default as CreateAccountScreen } from "./screens/CreateAccountScreen.js";
|
|
40
|
-
export { default as AccountMembersScreen } from "./screens/AccountMembersScreen.js";
|
|
41
|
-
export { default as AccountSettingsScreen } from "./screens/AccountSettingsScreen.js";
|
|
42
|
-
|
|
43
|
-
// Stores
|
|
44
|
-
export { useAuthStore } from "./stores/authStore.js";
|
|
45
|
-
export { useAccountStore } from "./stores/accountStore.js";
|
|
46
|
-
|
|
47
|
-
// Error handlers (pure functions)
|
|
48
|
-
export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage } from "./utils/errorHandlers.js";
|
|
49
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["default","OxyProvider","OxySignInButton","OxyAuthPrompt","LogoIcon","LogoText","RequireOxyAuth","FollowButton","OxyPayButton","ProfileButton","useOxy","useAuth","useFollow","useSeedFollowStatuses","useStorage","ProfileScreen","ManageAccountScreen","CreateAccountScreen","AccountMembersScreen","AccountSettingsScreen","useAuthStore","useAccountStore","handleAuthError","isInvalidSessionError","isTimeoutOrNetworkError","extractErrorMessage"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,SAASA,OAAO,IAAIC,WAAW,QAAQ,6BAA0B;AACjE,SAASD,OAAO,IAAIE,eAAe,QAAQ,iCAA8B;AACzE,SAASF,OAAO,IAAIG,aAAa,QAAQ,+BAA4B;AAErE,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,cAAc,QAAQ,gCAA6B;AAE5D,SAASN,OAAO,IAAIO,YAAY,QAAQ,8BAA2B;AACnE,SAASP,OAAO,IAAIQ,YAAY,QAAQ,8BAA2B;AACnE,SAASR,OAAO,IAAIS,aAAa,QAAQ,+BAA4B;;AAErE;AACA,SAASC,MAAM,QAAQ,yBAAsB;AAC7C,SAASC,OAAO,QAAQ,oBAAiB;AACzC,SAASC,SAAS,EAAEC,qBAAqB,QAAQ,sBAAmB;AACpE,SAASC,UAAU,QAAQ,uBAAoB;AAG/C;AACA,SAASd,OAAO,IAAIe,aAAa,QAAQ,4BAAyB;AAClE,SAASf,OAAO,IAAIgB,mBAAmB,QAAQ,kCAA+B;AAC9E,SAAShB,OAAO,IAAIiB,mBAAmB,QAAQ,kCAA+B;AAC9E,SAASjB,OAAO,IAAIkB,oBAAoB,QAAQ,mCAAgC;AAChF,SAASlB,OAAO,IAAImB,qBAAqB,QAAQ,oCAAiC;;AAElF;AACA,SAASC,YAAY,QAAQ,uBAAoB;AACjD,SAASC,eAAe,QAAQ,0BAAuB;;AAEvD;AACA,SACIC,eAAe,EACfC,qBAAqB,EACrBC,uBAAuB,EACvBC,mBAAmB,QAChB,0BAAuB","ignoreList":[]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
// Utility to detect if running in a frontend (browser or React Native) environment
|
|
4
|
-
const isFrontend = typeof window !== 'undefined' || typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
|
|
5
|
-
export default isFrontend;
|
|
6
|
-
//# sourceMappingURL=isFrontend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isFrontend","window","navigator","product"],"sourceRoot":"../../../src","sources":["ui/isFrontend.ts"],"mappings":";;AAAA;AACA,MAAMA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW,IAC7C,OAAOC,SAAS,KAAK,WAAW,IAAIA,SAAS,CAACC,OAAO,KAAK,aAAc;AAE3E,eAAeH,UAAU","ignoreList":[]}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Imperative, outside-React entry points for the unified `OxyAccountDialogScreen`.
|
|
5
|
-
*
|
|
6
|
-
* These delegate to the live handles the mounted `OxyProvider` registers via
|
|
7
|
-
* {@link registerAccountDialogControls}. Under the hood `open`/`close` present
|
|
8
|
-
* and dismiss the `AccountDialog` surface on the shared Bloom surface stack
|
|
9
|
-
* (`OxyContext.openAccountDialog` → `presentDetached('AccountDialog', …)`), so
|
|
10
|
-
* whether the dialog is open is owned by that stack — this module is only the
|
|
11
|
-
* thin bridge that reaches the provider's controller (which sets the dialog
|
|
12
|
-
* view) from a non-React call site.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/** An app-owned action rendered inside the shared account menu. */
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Live open/close handles registered by the mounted provider. `open` presents
|
|
19
|
-
* the `AccountDialog` surface (and points its view); `close` dismisses it. Both
|
|
20
|
-
* are stack operations — this interface never carries visibility state.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Optional consumer overrides for account-dialog actions. `ProfileButton` (and
|
|
25
|
-
* similar hosts) register these while mounted so inbox/accounts can route
|
|
26
|
-
* "Manage" / "Add account" to app-local navigation instead of the SDK default.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
let controls = null;
|
|
30
|
-
let consumerHooks = null;
|
|
31
|
-
const visibilityListeners = new Set();
|
|
32
|
-
const consumerHookListeners = new Set();
|
|
33
|
-
function notifyConsumerHookListeners() {
|
|
34
|
-
for (const listener of consumerHookListeners) {
|
|
35
|
-
listener();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export function registerAccountDialogControls(next) {
|
|
39
|
-
controls = next;
|
|
40
|
-
return () => {
|
|
41
|
-
if (controls === next) {
|
|
42
|
-
controls = null;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/** Register app-local manage/add/profile handlers for the account dialog. */
|
|
48
|
-
export function registerAccountDialogConsumerHooks(next) {
|
|
49
|
-
consumerHooks = next;
|
|
50
|
-
notifyConsumerHookListeners();
|
|
51
|
-
return () => {
|
|
52
|
-
if (consumerHooks === next) {
|
|
53
|
-
consumerHooks = null;
|
|
54
|
-
notifyConsumerHookListeners();
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export function getAccountDialogConsumerHooks() {
|
|
59
|
-
return consumerHooks;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/** Subscribe to consumer-hook registration changes (menu items, manage/add overrides). */
|
|
63
|
-
export function subscribeToAccountDialogConsumerHooks(listener) {
|
|
64
|
-
consumerHookListeners.add(listener);
|
|
65
|
-
return () => {
|
|
66
|
-
consumerHookListeners.delete(listener);
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/** Open the account dialog on `view` (default `accounts`). No-op before mount. */
|
|
71
|
-
export function openAccountDialog(view) {
|
|
72
|
-
controls?.open(view);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/** Close the account dialog. No-op before mount. */
|
|
76
|
-
export function closeAccountDialog() {
|
|
77
|
-
controls?.close();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/** Report dialog visibility to subscribers (e.g. `OxySignInButton` loading state). */
|
|
81
|
-
export function notifyAccountDialogVisibility(visible) {
|
|
82
|
-
for (const listener of visibilityListeners) {
|
|
83
|
-
listener(visible);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/** Subscribe to account dialog visibility changes. */
|
|
88
|
-
export function subscribeToAccountDialog(listener) {
|
|
89
|
-
visibilityListeners.add(listener);
|
|
90
|
-
return () => {
|
|
91
|
-
visibilityListeners.delete(listener);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
//# sourceMappingURL=accountDialogManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["controls","consumerHooks","visibilityListeners","Set","consumerHookListeners","notifyConsumerHookListeners","listener","registerAccountDialogControls","next","registerAccountDialogConsumerHooks","getAccountDialogConsumerHooks","subscribeToAccountDialogConsumerHooks","add","delete","openAccountDialog","view","open","closeAccountDialog","close","notifyAccountDialogVisibility","visible","subscribeToAccountDialog"],"sourceRoot":"../../../../src","sources":["ui/navigation/accountDialogManager.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;;AAQA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;;AAQA,IAAIA,QAAsC,GAAG,IAAI;AACjD,IAAIC,aAAgD,GAAG,IAAI;AAC3D,MAAMC,mBAAmB,GAAG,IAAIC,GAAG,CAA6B,CAAC;AACjE,MAAMC,qBAAqB,GAAG,IAAID,GAAG,CAAa,CAAC;AAEnD,SAASE,2BAA2BA,CAAA,EAAS;EAC3C,KAAK,MAAMC,QAAQ,IAAIF,qBAAqB,EAAE;IAC5CE,QAAQ,CAAC,CAAC;EACZ;AACF;AAEA,OAAO,SAASC,6BAA6BA,CAACC,IAA2B,EAAc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
3
|
-
import { isValidRoute } from "./routes.js";
|
|
4
|
-
import { getSurfaceConfig } from "./surfaceRegistry.js";
|
|
5
|
-
import { closeAllRouteSurfaces, presentRoute, topRouteSurface } from "./surfaces.js";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Bottom-sheet manager — the INTERNAL adapter that keeps the historical
|
|
9
|
-
* `showBottomSheet` / `closeBottomSheet` API working on top of the new Bloom
|
|
10
|
-
* surface stack (`navigation/surfaces.ts`). The public signatures are unchanged;
|
|
11
|
-
* this file just re-expresses them as thin calls into the typed surface layer.
|
|
12
|
-
*
|
|
13
|
-
* The old single-surface store is gone: `showBottomSheet` now open-or-navigates
|
|
14
|
-
* the "base" (top-most) route surface, and cross-presentation targets (the
|
|
15
|
-
* full-bleed image picker) stack a NEW surface on top — Bloom coordinates the
|
|
16
|
-
* z-order / backdrop / dismiss so nothing clashes.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Open a bottom-sheet route. By DEFAULT it drills into the top-most active
|
|
21
|
-
* surface — morphing it in place (every screen morphs). A NEW surface is stacked
|
|
22
|
-
* on top only when the target route declares `stacks` (reserved for genuine
|
|
23
|
-
* overlays — none today). Opening with no active surface presents the first one.
|
|
24
|
-
*
|
|
25
|
-
* `fullScreen` is accepted for signature compatibility and ignored — a route's
|
|
26
|
-
* surface is now derived from its registry config, not a per-call flag.
|
|
27
|
-
*/
|
|
28
|
-
export const showBottomSheet = screenOrConfig => {
|
|
29
|
-
const screen = typeof screenOrConfig === 'string' ? screenOrConfig : screenOrConfig.screen;
|
|
30
|
-
const props = typeof screenOrConfig === 'string' ? {} : screenOrConfig.props ?? {};
|
|
31
|
-
if (!isValidRoute(screen)) {
|
|
32
|
-
if (__DEV__) console.warn(`[BottomSheet] Invalid route: ${screen}`);
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const top = topRouteSurface();
|
|
36
|
-
if (top && !getSurfaceConfig(screen, props).stacks) {
|
|
37
|
-
top.navigate(screen, props);
|
|
38
|
-
} else {
|
|
39
|
-
presentRoute(screen, props);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** Dismiss the whole bottom-sheet session (every active route surface). */
|
|
44
|
-
export const closeBottomSheet = () => {
|
|
45
|
-
closeAllRouteSurfaces();
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Step back within the top-most surface's route history. Returns `true` when a
|
|
50
|
-
* frame was popped, `false` when the surface is already at its root frame.
|
|
51
|
-
*/
|
|
52
|
-
export const goBack = () => {
|
|
53
|
-
const top = topRouteSurface();
|
|
54
|
-
return top ? top.goBack() : false;
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=bottomSheetManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isValidRoute","getSurfaceConfig","closeAllRouteSurfaces","presentRoute","topRouteSurface","showBottomSheet","screenOrConfig","screen","props","__DEV__","console","warn","top","stacks","navigate","closeBottomSheet","goBack"],"sourceRoot":"../../../../src","sources":["ui/navigation/bottomSheetManager.ts"],"mappings":";;AACA,SAASA,YAAY,QAAQ,aAAU;AACvC,SAASC,gBAAgB,QAAQ,sBAAmB;AACpD,SAASC,qBAAqB,EAAEC,YAAY,EAAEC,eAAe,QAAQ,eAAY;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAC1BC,cAEgF,IACvE;EACT,MAAMC,MAAM,GAAG,OAAOD,cAAc,KAAK,QAAQ,GAAGA,cAAc,GAAGA,cAAc,CAACC,MAAM;EAC1F,MAAMC,KAAK,GAAG,OAAOF,cAAc,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAGA,cAAc,CAACE,KAAK,IAAI,CAAC,CAAC;EAElF,IAAI,CAACR,YAAY,CAACO,MAAM,CAAC,EAAE;IAC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