@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","useMemo","useState","useQuery","useQueryClient","useFollowStore","useOxy","useShallow","queryKeys","patchCachedUserRelationship","useFollow","userId","queryClient","oxyServices","canUsePrivateApi","userIds","Array","isArray","isSingleUser","singleUserId","undefined","isFollowing","s","followingUsers","isLoading","loadingUsers","error","errors","followerCount","followerCounts","followingCount","followingCounts","isLoadingCounts","loadingCounts","followFlat","flat","uid","followData","data","Boolean","multiUserLoadingState","isAnyLoading","hasAnyError","allFollowing","allNotFollowing","some","every","toggleFollow","Error","currentlyFollowing","getState","accepted","toggleFollowUser","setFollowStatus","following","setFollowingStatus","fetchStatus","resolveFollowStatuses","clearError","clearFollowError","fetchUserCounts","setFollowerCount","count","setFollowingCount","queryKey","follow","counts","all","queryFn","state","followers","enabled","toggleFollowForUser","targetUserId","currentState","setFollowStatusForUser","fetchStatusForUser","fetchAllStatuses","followAllUsers","followManyUsers","unfollowAllUsers","unfollowManyUsers","clearErrorForUser","updateCountsFromFollowAction","action","currentUserId","getCurrentUserId","useFollowForButton","initiallyFollowing","store","Object","prototype","hasOwnProperty","call","setFollowStatuses","isKnown","resolveStatus","useSeedFollowStatuses","statuses","useFollowerCounts"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.ts"],"mappings":";;AA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AAK,CAAC;EAC5D,CAAC,EAAE,CAACnD,MAAM,CAAC,CAAC;EAEZ,OAAO;IACLiB,aAAa;IACbE,cAAc;IACdE,eAAe;IACf4B,eAAe;IACfC,gBAAgB;IAChBE;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* `useFollowTarget` — the one hook every application uses to follow anything.
|
|
5
|
-
*
|
|
6
|
-
* Wraps the `/v2/follows` SDK methods with the store above, an optimistic
|
|
7
|
-
* update, and a rollback. Nothing in here knows what kind of thing it is
|
|
8
|
-
* following, which is the property that lets an application the SDK has never
|
|
9
|
-
* heard of use it without a release of this package.
|
|
10
|
-
*
|
|
11
|
-
* ## Optimism, and its one limit
|
|
12
|
-
*
|
|
13
|
-
* A follow flips the button immediately and rolls back if the server refuses,
|
|
14
|
-
* because the round trip is long enough to feel like a bug otherwise. But an
|
|
15
|
-
* optimistic follow has no relationship id until the server answers, and every
|
|
16
|
-
* other operation addresses the relationship — so those stay disabled for the
|
|
17
|
-
* width of one request rather than being sent with a guessed id.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
import { useCallback, useEffect } from 'react';
|
|
21
|
-
import { useOxy } from "../context/OxyContext.js";
|
|
22
|
-
import { isCompleteFollowStatus, isFollowedGlobally, UNKNOWN_FOLLOW_STATUS, useFollowTargetStore, withApplicationMode } from "../stores/followTargetStore.js";
|
|
23
|
-
export function useFollowTarget(targetId, options) {
|
|
24
|
-
const {
|
|
25
|
-
oxyServices,
|
|
26
|
-
canUsePrivateApi
|
|
27
|
-
} = useOxy();
|
|
28
|
-
const status = useFollowTargetStore(useCallback(s => targetId ? s.statuses[targetId] : undefined, [targetId]));
|
|
29
|
-
const isPending = useFollowTargetStore(useCallback(s => targetId ? s.pending[targetId] ?? false : false, [targetId]));
|
|
30
|
-
const error = useFollowTargetStore(useCallback(s => targetId ? s.errors[targetId] : undefined, [targetId]));
|
|
31
|
-
const initialStatus = options?.initialStatus;
|
|
32
|
-
|
|
33
|
-
// A caller that already knows the status — a follow list, a feed payload —
|
|
34
|
-
// seeds it rather than making this hook re-ask once per rendered row.
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
if (!targetId || !initialStatus) return;
|
|
37
|
-
const store = useFollowTargetStore.getState();
|
|
38
|
-
if (!store.statuses[targetId]) store.setStatus(targetId, initialStatus);
|
|
39
|
-
}, [targetId, initialStatus]);
|
|
40
|
-
const refresh = useCallback(async () => {
|
|
41
|
-
// Gated on `canUsePrivateApi`, not on `isAuthenticated`: during the session
|
|
42
|
-
// cold boot the second is true well before the first, and a read sent in
|
|
43
|
-
// that window 401s and would leave the button stuck reporting an error the
|
|
44
|
-
// user cannot act on.
|
|
45
|
-
if (!targetId || !canUsePrivateApi) return;
|
|
46
|
-
try {
|
|
47
|
-
const next = await oxyServices.getFollowTargetStatus(targetId);
|
|
48
|
-
useFollowTargetStore.getState().setStatus(targetId, next);
|
|
49
|
-
useFollowTargetStore.getState().setError(targetId, undefined);
|
|
50
|
-
} catch (e) {
|
|
51
|
-
const store = useFollowTargetStore.getState();
|
|
52
|
-
const message = e instanceof Error ? e.message : 'Could not read follow status';
|
|
53
|
-
// Leave `isUnknown` false so the button stays interactive and can retry.
|
|
54
|
-
// A failed read is not the same as "never asked" — disabling forever would
|
|
55
|
-
// strand the user with no affordance when the network blips.
|
|
56
|
-
if (!store.statuses[targetId]) {
|
|
57
|
-
store.setStatus(targetId, UNKNOWN_FOLLOW_STATUS);
|
|
58
|
-
}
|
|
59
|
-
store.setError(targetId, message);
|
|
60
|
-
}
|
|
61
|
-
}, [targetId, canUsePrivateApi, oxyServices]);
|
|
62
|
-
useEffect(() => {
|
|
63
|
-
if (!targetId || !canUsePrivateApi) return;
|
|
64
|
-
const existing = useFollowTargetStore.getState().statuses[targetId];
|
|
65
|
-
if (existing && isCompleteFollowStatus(existing)) return;
|
|
66
|
-
void refresh();
|
|
67
|
-
}, [targetId, canUsePrivateApi, refresh]);
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Run a mutation optimistically: show `optimistic` at once, keep the previous
|
|
71
|
-
* value, and put it back if the server refuses. Every mutation below goes
|
|
72
|
-
* through this so the rollback cannot be forgotten in one of them.
|
|
73
|
-
*/
|
|
74
|
-
const mutate = useCallback(async (optimistic, run, failureMessage) => {
|
|
75
|
-
if (!targetId) return false;
|
|
76
|
-
const store = useFollowTargetStore.getState();
|
|
77
|
-
const previous = store.statuses[targetId];
|
|
78
|
-
store.setStatus(targetId, optimistic);
|
|
79
|
-
store.setPending(targetId, true);
|
|
80
|
-
store.setError(targetId, undefined);
|
|
81
|
-
try {
|
|
82
|
-
const settled = await run();
|
|
83
|
-
if (settled) useFollowTargetStore.getState().setStatus(targetId, settled);
|
|
84
|
-
return true;
|
|
85
|
-
} catch (e) {
|
|
86
|
-
const s = useFollowTargetStore.getState();
|
|
87
|
-
// Back to what was true, not to a guess. Clearing the entry instead
|
|
88
|
-
// would make the next render ask again and flash the wrong state.
|
|
89
|
-
if (previous) s.setStatus(targetId, previous);
|
|
90
|
-
s.setError(targetId, e instanceof Error ? e.message : failureMessage);
|
|
91
|
-
return false;
|
|
92
|
-
} finally {
|
|
93
|
-
useFollowTargetStore.getState().setPending(targetId, false);
|
|
94
|
-
}
|
|
95
|
-
}, [targetId]);
|
|
96
|
-
const current = status ?? UNKNOWN_FOLLOW_STATUS;
|
|
97
|
-
const follow = useCallback(async opts => {
|
|
98
|
-
if (!targetId) return false;
|
|
99
|
-
return mutate({
|
|
100
|
-
...withApplicationMode({
|
|
101
|
-
...current,
|
|
102
|
-
globalState: 'active'
|
|
103
|
-
}, current.applicationMode),
|
|
104
|
-
...(opts?.expiresIn ? {
|
|
105
|
-
expiresAt: new Date(Date.now() + opts.expiresIn * 1000).toISOString()
|
|
106
|
-
} : {})
|
|
107
|
-
},
|
|
108
|
-
// The server returns the whole resulting status, so store it rather
|
|
109
|
-
// than reconstructing one: `effectiveState`'s derivation lives there,
|
|
110
|
-
// and a client recomputing it is a second implementation of one rule.
|
|
111
|
-
async () => (await oxyServices.followTarget(targetId, opts)).status, 'Could not follow');
|
|
112
|
-
}, [targetId, current, mutate, oxyServices]);
|
|
113
|
-
const unfollow = useCallback(async () => {
|
|
114
|
-
const relationshipId = current.relationshipId;
|
|
115
|
-
if (!targetId || !relationshipId) return false;
|
|
116
|
-
return mutate({
|
|
117
|
-
...UNKNOWN_FOLLOW_STATUS
|
|
118
|
-
}, async () => {
|
|
119
|
-
await oxyServices.unfollowTarget(relationshipId);
|
|
120
|
-
return {
|
|
121
|
-
...UNKNOWN_FOLLOW_STATUS
|
|
122
|
-
};
|
|
123
|
-
}, 'Could not unfollow');
|
|
124
|
-
}, [targetId, current.relationshipId, mutate, oxyServices]);
|
|
125
|
-
const disableHere = useCallback(async () => {
|
|
126
|
-
const relationshipId = current.relationshipId;
|
|
127
|
-
if (!targetId || !relationshipId) return false;
|
|
128
|
-
const optimistic = withApplicationMode(current, 'disabled');
|
|
129
|
-
return mutate(optimistic, async () => {
|
|
130
|
-
await oxyServices.setFollowApplicationMode(relationshipId, 'disabled');
|
|
131
|
-
return optimistic;
|
|
132
|
-
}, 'Could not change this app’s setting for this follow');
|
|
133
|
-
}, [targetId, current, mutate, oxyServices]);
|
|
134
|
-
const enableHere = useCallback(async () => {
|
|
135
|
-
const relationshipId = current.relationshipId;
|
|
136
|
-
if (!targetId || !relationshipId) return false;
|
|
137
|
-
const optimistic = withApplicationMode(current, 'inherit');
|
|
138
|
-
return mutate(optimistic, async () => {
|
|
139
|
-
await oxyServices.restoreFollowInheritance(relationshipId);
|
|
140
|
-
return optimistic;
|
|
141
|
-
}, 'Could not change this app’s setting for this follow');
|
|
142
|
-
}, [targetId, current, mutate, oxyServices]);
|
|
143
|
-
return {
|
|
144
|
-
status: current,
|
|
145
|
-
isFollowing: isFollowedGlobally(current),
|
|
146
|
-
isUnknown: status === undefined,
|
|
147
|
-
isPending,
|
|
148
|
-
error,
|
|
149
|
-
follow,
|
|
150
|
-
unfollow,
|
|
151
|
-
disableHere,
|
|
152
|
-
enableHere,
|
|
153
|
-
refresh
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
//# sourceMappingURL=useFollowTarget.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useEffect","useOxy","isCompleteFollowStatus","isFollowedGlobally","UNKNOWN_FOLLOW_STATUS","useFollowTargetStore","withApplicationMode","useFollowTarget","targetId","options","oxyServices","canUsePrivateApi","status","s","statuses","undefined","isPending","pending","error","errors","initialStatus","store","getState","setStatus","refresh","next","getFollowTargetStatus","setError","e","message","Error","existing","mutate","optimistic","run","failureMessage","previous","setPending","settled","current","follow","opts","globalState","applicationMode","expiresIn","expiresAt","Date","now","toISOString","followTarget","unfollow","relationshipId","unfollowTarget","disableHere","setFollowApplicationMode","enableHere","restoreFollowInheritance","isFollowing","isUnknown"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollowTarget.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,EAAEC,SAAS,QAAQ,OAAO;AAE9C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SACEC,sBAAsB,EACtBC,kBAAkB,EAClBC,qBAAqB,EACrBC,oBAAoB,EACpBC,mBAAmB,QACd,gCAA6B;AA8BpC,OAAO,SAASC,eAAeA,CAC7BC,QAA4B,EAC5BC,OAA0C,EACnB;EACvB,MAAM;IAAEC,WAAW;IAAEC;EAAiB,CAAC,GAAGV,MAAM,CAAC,CAAC;EAElD,MAAMW,MAAM,GAAGP,oBAAoB,CACjCN,WAAW,CAAEc,CAAC,IAAML,QAAQ,GAAG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,EAAE,OAAO,KAAK;IAC9C,MAAMlB,UAAU,GAAG3B,mBAAmB,CAACiC,OAAO,EAAE,SAAS,CAAC;IAC1D,OAAOP,MAAM,CACXC,UAAU,EACV,YAAY;MACV,MAAMvB,WAAW,CAAC8C,wBAAwB,CAACL,cAAc,CAAC;MAC1D,OAAOlB,UAAU;IACnB,CAAC,EACD,qDACF,CAAC;EACH,CAAC,EAAE,CAACzB,QAAQ,EAAE+B,OAAO,EAAEP,MAAM,EAAEtB,WAAW,CAAC,CAAC;EAE5C,OAAO;IACLE,MAAM,EAAE2B,OAAO;IACfkB,WAAW,EAAEtD,kBAAkB,CAACoC,OAAO,CAAC;IACxCmB,SAAS,EAAE9C,MAAM,KAAKG,SAAS;IAC/BC,SAAS;IACTE,KAAK;IACLsB,MAAM;IACNU,QAAQ;IACRG,WAAW;IACXE,UAAU;IACV/B;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo } from 'react';
|
|
4
|
-
import { useOxy } from "../context/OxyContext.js";
|
|
5
|
-
import { translate } from '@oxyhq/core';
|
|
6
|
-
export function useI18n() {
|
|
7
|
-
const {
|
|
8
|
-
currentLanguage
|
|
9
|
-
} = useOxy();
|
|
10
|
-
const t = useMemo(() => {
|
|
11
|
-
return (key, vars) => translate(currentLanguage, key, vars);
|
|
12
|
-
}, [currentLanguage]);
|
|
13
|
-
return {
|
|
14
|
-
t,
|
|
15
|
-
locale: currentLanguage
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=useI18n.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useOxy","translate","useI18n","currentLanguage","t","key","vars","locale"],"sourceRoot":"../../../../src","sources":["ui/hooks/useI18n.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,SAAS,QAAQ,aAAa;AAEvC,OAAO,SAASC,OAAOA,CAAA,EAAG;EACxB,MAAM;IAAEC;EAAgB,CAAC,GAAGH,MAAM,CAAC,CAAC;EACpC,MAAMI,CAAC,GAAGL,OAAO,CAAC,MAAM;IACtB,OAAO,CAACM,GAAW,EAAEC,IAAsC,KAAKL,SAAS,CAACE,eAAe,EAAEE,GAAG,EAAEC,IAAI,CAAC;EACvG,CAAC,EAAE,CAACH,eAAe,CAAC,CAAC;EACrB,OAAO;IAAEC,CAAC;IAAEG,MAAM,EAAEJ;EAAgB,CAAC;AACvC","ignoreList":[]}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
4
|
-
import { FALLBACK_LOCALE, SUPPORTED_LANGUAGES, getBaseLanguage, getLanguageMetadata, getLanguageName, getNativeLanguageName, getPrimaryLanguage, getUserLanguages, normalizeLocale } from '@oxyhq/core';
|
|
5
|
-
import { extractErrorMessage } from "../utils/errorHandlers.js";
|
|
6
|
-
/**
|
|
7
|
-
* Append `locale` to an ordered locale list if not already present. Canonical
|
|
8
|
-
* order is preserved; the new locale lands last (non-primary).
|
|
9
|
-
*/
|
|
10
|
-
export function addLocale(languages, locale) {
|
|
11
|
-
const canonical = normalizeLocale(locale);
|
|
12
|
-
if (!canonical) return [...languages];
|
|
13
|
-
if (languages.includes(canonical)) return [...languages];
|
|
14
|
-
return [...languages, canonical];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Remove `locale` from an ordered locale list. The list's new first element
|
|
19
|
-
* becomes the primary locale.
|
|
20
|
-
*/
|
|
21
|
-
export function removeLocale(languages, locale) {
|
|
22
|
-
const canonical = normalizeLocale(locale);
|
|
23
|
-
if (!canonical) return [...languages];
|
|
24
|
-
return languages.filter(entry => entry !== canonical);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Move `locale` to the front of an ordered locale list, making it primary.
|
|
29
|
-
* Adds it if it was not already present.
|
|
30
|
-
*/
|
|
31
|
-
export function setPrimaryLocale(languages, locale) {
|
|
32
|
-
const canonical = normalizeLocale(locale);
|
|
33
|
-
if (!canonical) return [...languages];
|
|
34
|
-
return [canonical, ...languages.filter(entry => entry !== canonical)];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Resolve the device/browser locale, mapped to a supported catalog locale.
|
|
39
|
-
*
|
|
40
|
-
* Reads the platform's ordered locale preferences (`navigator.languages` /
|
|
41
|
-
* `navigator.language` on web, `Intl.DateTimeFormat().resolvedOptions().locale`
|
|
42
|
-
* on Hermes) and returns the first that resolves to a supported locale —
|
|
43
|
-
* either exactly or by base-language match (`fr-BE` → `fr-FR`). Falls back to
|
|
44
|
-
* {@link FALLBACK_LOCALE} when nothing resolves. Pure and side-effect free.
|
|
45
|
-
*/
|
|
46
|
-
function resolveDeviceLocale() {
|
|
47
|
-
const candidates = [];
|
|
48
|
-
if (typeof navigator !== 'undefined') {
|
|
49
|
-
const nav = navigator;
|
|
50
|
-
if (Array.isArray(nav.languages)) {
|
|
51
|
-
candidates.push(...nav.languages);
|
|
52
|
-
}
|
|
53
|
-
if (typeof nav.language === 'string') {
|
|
54
|
-
candidates.push(nav.language);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
try {
|
|
58
|
-
const intlLocale = Intl.DateTimeFormat().resolvedOptions().locale;
|
|
59
|
-
if (intlLocale) {
|
|
60
|
-
candidates.push(intlLocale);
|
|
61
|
-
}
|
|
62
|
-
} catch {
|
|
63
|
-
// Intl is unavailable or incomplete on this runtime — fall through to the
|
|
64
|
-
// navigator-provided candidates (or the fallback locale below).
|
|
65
|
-
}
|
|
66
|
-
for (const candidate of candidates) {
|
|
67
|
-
const exact = normalizeLocale(candidate);
|
|
68
|
-
if (exact) return exact;
|
|
69
|
-
const base = getBaseLanguage(candidate);
|
|
70
|
-
const byBase = SUPPORTED_LANGUAGES.find(entry => entry.language === base);
|
|
71
|
-
if (byBase) return byBase.code;
|
|
72
|
-
}
|
|
73
|
-
return FALLBACK_LOCALE;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Resolve and manage the app's active UI locale.
|
|
78
|
-
*
|
|
79
|
-
* The active locale is DERIVED, not stored:
|
|
80
|
-
* - Signed in → the account's primary locale (`getPrimaryLanguage(user)`),
|
|
81
|
-
* falling back to {@link FALLBACK_LOCALE}. This is what makes every Oxy app
|
|
82
|
-
* follow the account's language automatically.
|
|
83
|
-
* - Signed out → a locally-chosen guest override if one exists, otherwise the
|
|
84
|
-
* device locale.
|
|
85
|
-
*
|
|
86
|
-
* The only external system this hook synchronizes with is local storage (the
|
|
87
|
-
* guest override), which is loaded once on mount.
|
|
88
|
-
*/
|
|
89
|
-
export const useLanguageManagement = ({
|
|
90
|
-
storage,
|
|
91
|
-
languageKey,
|
|
92
|
-
user,
|
|
93
|
-
onError,
|
|
94
|
-
logger
|
|
95
|
-
}) => {
|
|
96
|
-
// The device locale is fixed for the lifetime of the runtime.
|
|
97
|
-
const deviceLanguage = useMemo(resolveDeviceLocale, []);
|
|
98
|
-
|
|
99
|
-
// The locally-owned guest override (a single locale). `null` until loaded
|
|
100
|
-
// from storage or explicitly set; the derived locale falls back to the device
|
|
101
|
-
// locale while it is `null`.
|
|
102
|
-
const [guestLanguage, setGuestLanguage] = useState(null);
|
|
103
|
-
const loadLanguageFromStorage = useCallback(async () => {
|
|
104
|
-
if (!storage) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
try {
|
|
108
|
-
const savedLanguageRaw = await storage.getItem(languageKey);
|
|
109
|
-
const normalized = savedLanguageRaw ? normalizeLocale(savedLanguageRaw) : undefined;
|
|
110
|
-
if (normalized) {
|
|
111
|
-
setGuestLanguage(normalized);
|
|
112
|
-
}
|
|
113
|
-
} catch (error) {
|
|
114
|
-
const message = extractErrorMessage(error, 'Failed to load language preference');
|
|
115
|
-
onError?.({
|
|
116
|
-
message,
|
|
117
|
-
code: 'LANGUAGE_LOAD_ERROR',
|
|
118
|
-
status: 500
|
|
119
|
-
});
|
|
120
|
-
if (logger) {
|
|
121
|
-
logger(message, error);
|
|
122
|
-
} else if (__DEV__) {
|
|
123
|
-
console.warn('Failed to load language preference:', error);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}, [languageKey, logger, onError, storage]);
|
|
127
|
-
useEffect(() => {
|
|
128
|
-
loadLanguageFromStorage().catch(error => {
|
|
129
|
-
if (logger) {
|
|
130
|
-
logger('Unexpected error loading language', error);
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
}, [loadLanguageFromStorage, logger]);
|
|
134
|
-
const setLanguage = useCallback(async locale => {
|
|
135
|
-
if (!storage) {
|
|
136
|
-
throw new Error('Storage not initialized');
|
|
137
|
-
}
|
|
138
|
-
const normalized = normalizeLocale(locale);
|
|
139
|
-
if (!normalized) {
|
|
140
|
-
throw new Error(`Unsupported locale: ${locale}`);
|
|
141
|
-
}
|
|
142
|
-
try {
|
|
143
|
-
await storage.setItem(languageKey, normalized);
|
|
144
|
-
setGuestLanguage(normalized);
|
|
145
|
-
} catch (error) {
|
|
146
|
-
const message = extractErrorMessage(error, 'Failed to save language preference');
|
|
147
|
-
onError?.({
|
|
148
|
-
message,
|
|
149
|
-
code: 'LANGUAGE_SAVE_ERROR',
|
|
150
|
-
status: 500
|
|
151
|
-
});
|
|
152
|
-
if (logger) {
|
|
153
|
-
logger(message, error);
|
|
154
|
-
} else if (__DEV__) {
|
|
155
|
-
console.warn('Failed to save language preference:', error);
|
|
156
|
-
}
|
|
157
|
-
throw error instanceof Error ? error : new Error(message);
|
|
158
|
-
}
|
|
159
|
-
}, [languageKey, logger, onError, storage]);
|
|
160
|
-
const languages = useMemo(() => {
|
|
161
|
-
if (user) {
|
|
162
|
-
return getUserLanguages(user);
|
|
163
|
-
}
|
|
164
|
-
return guestLanguage ? [guestLanguage] : [];
|
|
165
|
-
}, [user, guestLanguage]);
|
|
166
|
-
const currentLanguage = useMemo(() => {
|
|
167
|
-
if (user) {
|
|
168
|
-
return getPrimaryLanguage(user) ?? FALLBACK_LOCALE;
|
|
169
|
-
}
|
|
170
|
-
return guestLanguage ?? deviceLanguage;
|
|
171
|
-
}, [user, guestLanguage, deviceLanguage]);
|
|
172
|
-
const metadata = useMemo(() => getLanguageMetadata(currentLanguage), [currentLanguage]);
|
|
173
|
-
const languageName = useMemo(() => getLanguageName(currentLanguage), [currentLanguage]);
|
|
174
|
-
const nativeLanguageName = useMemo(() => getNativeLanguageName(currentLanguage), [currentLanguage]);
|
|
175
|
-
return {
|
|
176
|
-
currentLanguage,
|
|
177
|
-
languages,
|
|
178
|
-
metadata,
|
|
179
|
-
languageName,
|
|
180
|
-
nativeLanguageName,
|
|
181
|
-
setLanguage,
|
|
182
|
-
hydrateLanguage: loadLanguageFromStorage
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
//# sourceMappingURL=useLanguageManagement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useEffect","useMemo","useState","FALLBACK_LOCALE","SUPPORTED_LANGUAGES","getBaseLanguage","getLanguageMetadata","getLanguageName","getNativeLanguageName","getPrimaryLanguage","getUserLanguages","normalizeLocale","extractErrorMessage","addLocale","languages","locale","canonical","includes","removeLocale","filter","entry","setPrimaryLocale","resolveDeviceLocale","candidates","navigator","nav","Array","isArray","push","language","intlLocale","Intl","DateTimeFormat","resolvedOptions","candidate","exact","base","byBase","find","code","useLanguageManagement","storage","languageKey","user","onError","logger","deviceLanguage","guestLanguage","setGuestLanguage","loadLanguageFromStorage","savedLanguageRaw","getItem","normalized","undefined","error","message","status","__DEV__","console","warn","catch","setLanguage","Error","setItem","currentLanguage","metadata","languageName","nativeLanguageName","hydrateLanguage"],"sourceRoot":"../../../../src","sources":["ui/hooks/useLanguageManagement.ts"],"mappings":";;AAAA,SAASA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AAa,IAAID,cAAc;EACxC,CAAC,EAAE,CAACH,IAAI,EAAEI,aAAa,EAAED,cAAc,CAAC,CAAC;EAEzC,MAAMmB,QAAQ,GAAGhE,OAAO,CAAC,MAAMK,mBAAmB,CAAC0D,eAAe,CAAC,EAAE,CAACA,eAAe,CAAC,CAAC;EACvF,MAAME,YAAY,GAAGjE,OAAO,CAAC,MAAMM,eAAe,CAACyD,eAAe,CAAC,EAAE,CAACA,eAAe,CAAC,CAAC;EACvF,MAAMG,kBAAkB,GAAGlE,OAAO,CAChC,MAAMO,qBAAqB,CAACwD,eAAe,CAAC,EAC5C,CAACA,eAAe,CAClB,CAAC;EAED,OAAO;IACLA,eAAe;IACflD,SAAS;IACTmD,QAAQ;IACRC,YAAY;IACZC,kBAAkB;IAClBN,WAAW;IACXO,eAAe,EAAEnB;EACnB,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* useMutationStatus
|
|
5
|
-
*
|
|
6
|
-
* Aggregates counts of in-flight, paused (offline), and errored mutations
|
|
7
|
-
* from the TanStack Query mutation cache. Useful for showing a global
|
|
8
|
-
* "Syncing..." indicator in the app shell.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import { useCallback, useRef, useSyncExternalStore } from 'react';
|
|
12
|
-
import { useQueryClient } from '@tanstack/react-query';
|
|
13
|
-
function computeStatus(queryClient) {
|
|
14
|
-
const mutations = queryClient.getMutationCache().getAll();
|
|
15
|
-
let pending = 0;
|
|
16
|
-
let paused = 0;
|
|
17
|
-
let erroring = 0;
|
|
18
|
-
for (const m of mutations) {
|
|
19
|
-
const {
|
|
20
|
-
status,
|
|
21
|
-
isPaused
|
|
22
|
-
} = m.state;
|
|
23
|
-
if (isPaused) {
|
|
24
|
-
paused += 1;
|
|
25
|
-
continue;
|
|
26
|
-
}
|
|
27
|
-
if (status === 'pending') {
|
|
28
|
-
pending += 1;
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
if (status === 'error') {
|
|
32
|
-
erroring += 1;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
const total = pending + paused + erroring;
|
|
36
|
-
return {
|
|
37
|
-
pending,
|
|
38
|
-
paused,
|
|
39
|
-
erroring,
|
|
40
|
-
total,
|
|
41
|
-
isOffline: paused > 0,
|
|
42
|
-
isSyncing: pending > 0 || paused > 0
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
const EMPTY_SNAPSHOT = {
|
|
46
|
-
pending: 0,
|
|
47
|
-
paused: 0,
|
|
48
|
-
erroring: 0,
|
|
49
|
-
total: 0,
|
|
50
|
-
isOffline: false,
|
|
51
|
-
isSyncing: false
|
|
52
|
-
};
|
|
53
|
-
function snapshotsEqual(a, b) {
|
|
54
|
-
return a.pending === b.pending && a.paused === b.paused && a.erroring === b.erroring && a.total === b.total && a.isOffline === b.isOffline && a.isSyncing === b.isSyncing;
|
|
55
|
-
}
|
|
56
|
-
export function useMutationStatus() {
|
|
57
|
-
const queryClient = useQueryClient();
|
|
58
|
-
|
|
59
|
-
// Cache the last returned snapshot so `useSyncExternalStore`'s tearing
|
|
60
|
-
// check sees the same reference between renders unless the underlying
|
|
61
|
-
// mutation cache actually changed. Without this React 19 enters an
|
|
62
|
-
// infinite render loop because every call to `computeStatus` returns
|
|
63
|
-
// a fresh object literal.
|
|
64
|
-
const cachedRef = useRef(EMPTY_SNAPSHOT);
|
|
65
|
-
const subscribe = useCallback(notify => {
|
|
66
|
-
const cache = queryClient.getMutationCache();
|
|
67
|
-
return cache.subscribe(() => {
|
|
68
|
-
notify();
|
|
69
|
-
});
|
|
70
|
-
}, [queryClient]);
|
|
71
|
-
const getSnapshot = useCallback(() => {
|
|
72
|
-
const next = computeStatus(queryClient);
|
|
73
|
-
if (snapshotsEqual(cachedRef.current, next)) {
|
|
74
|
-
return cachedRef.current;
|
|
75
|
-
}
|
|
76
|
-
cachedRef.current = next;
|
|
77
|
-
return next;
|
|
78
|
-
}, [queryClient]);
|
|
79
|
-
const getServerSnapshot = useCallback(() => EMPTY_SNAPSHOT, []);
|
|
80
|
-
return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
81
|
-
}
|
|
82
|
-
//# sourceMappingURL=useMutationStatus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useRef","useSyncExternalStore","useQueryClient","computeStatus","queryClient","mutations","getMutationCache","getAll","pending","paused","erroring","m","status","isPaused","state","total","isOffline","isSyncing","EMPTY_SNAPSHOT","snapshotsEqual","a","b","useMutationStatus","cachedRef","subscribe","notify","cache","getSnapshot","next","current","getServerSnapshot"],"sourceRoot":"../../../../src","sources":["ui/hooks/useMutationStatus.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,EAAEC,MAAM,EAAEC,oBAAoB,QAAQ,OAAO;AACjE,SAASC,cAAc,QAAyC,uBAAuB;AAiBvF,SAASC,aAAaA,CAACC,WAAwB,EAAkB;EAC/D,MAAMC,SAAqB,GAAGD,WAAW,CAACE,gBAAgB,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;EACrE,IAAIC,OAAO,GAAG,CAAC;EACf,IAAIC,MAAM,GAAG,CAAC;EACd,IAAIC,QAAQ,GAAG,CAAC;EAEhB,KAAK,MAAMC,CAAC,IAAIN,SAAS,EAAE;IACzB,MAAM;MAAEO,MAAM;MAAEC;IAAS,CAAC,GAAGF,CAAC,CAACG,KAAK;IACpC,IAAID,QAAQ,EAAE;MACZJ,MAAM,IAAI,CAAC;MACX;IACF;IACA,IAAIG,MAAM,KAAK,SAAS,EAAE;MACxBJ,OAAO,IAAI,CAAC;MACZ;IACF;IACA,IAAII,MAAM,KAAK,OAAO,EAAE;MACtBF,QAAQ,IAAI,CAAC;IACf;EACF;EAEA,MAAMK,KAAK,GAAGP,OAAO,GAAGC,MAAM,GAAGC,QAAQ;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WAAW,CAAC;IACvC,IAAIe,cAAc,CAACI,SAAS,CAACM,OAAO,EAAED,IAAI,CAAC,EAAE;MAC3C,OAAOL,SAAS,CAACM,OAAO;IAC1B;IACAN,SAAS,CAACM,OAAO,GAAGD,IAAI;IACxB,OAAOA,IAAI;EACb,CAAC,EAAE,CAACxB,WAAW,CAAC,CAAC;EAEjB,MAAM0B,iBAAiB,GAAG/B,WAAW,CAAC,MAAsBmB,cAAc,EAAE,EAAE,CAAC;EAE/E,OAAOjB,oBAAoB,CAACuB,SAAS,EAAEG,WAAW,EAAEG,iBAAiB,CAAC;AACxE","ignoreList":[]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* useOnlineStatus
|
|
5
|
-
*
|
|
6
|
-
* Reactive boolean reflecting TanStack Query's `onlineManager` state.
|
|
7
|
-
* Mirrors browser `online`/`offline` events on web and NetInfo reachability
|
|
8
|
-
* updates on native (both wired up in `OxyProvider`, aligned with Bloom's
|
|
9
|
-
* `ConnectionStatusToasts` semantics).
|
|
10
|
-
*
|
|
11
|
-
* Use this for surfacing offline UI — an OfflineBanner, a disabled "Sync"
|
|
12
|
-
* button, an inline "queued" badge on pending writes, etc. For pending /
|
|
13
|
-
* paused mutation counts use `useMutationStatus()` instead.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
import { useSyncExternalStore } from 'react';
|
|
17
|
-
import { onlineManager } from '@tanstack/react-query';
|
|
18
|
-
const getOnlineSnapshot = () => onlineManager.isOnline();
|
|
19
|
-
const subscribeOnline = notify => {
|
|
20
|
-
return onlineManager.subscribe(() => {
|
|
21
|
-
notify();
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
// SSR: assume online so SSR-rendered markup doesn't show offline banners.
|
|
26
|
-
const getServerSnapshot = () => true;
|
|
27
|
-
export function useOnlineStatus() {
|
|
28
|
-
return useSyncExternalStore(subscribeOnline, getOnlineSnapshot, getServerSnapshot);
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=useOnlineStatus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useSyncExternalStore","onlineManager","getOnlineSnapshot","isOnline","subscribeOnline","notify","subscribe","getServerSnapshot","useOnlineStatus"],"sourceRoot":"../../../../src","sources":["ui/hooks/useOnlineStatus.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,oBAAoB,QAAQ,OAAO;AAC5C,SAASC,aAAa,QAAQ,uBAAuB;AAErD,MAAMC,iBAAiB,GAAGA,CAAA,KAAeD,aAAa,CAACE,QAAQ,CAAC,CAAC;AAEjE,MAAMC,eAAe,GAAIC,MAAkB,IAAmB;EAC5D,OAAOJ,aAAa,CAACK,SAAS,CAAC,MAAM;IACnCD,MAAM,CAAC,CAAC;EACV,CAAC,CAAC;AACJ,CAAC;;AAED;AACA,MAAME,iBAAiB,GAAGA,CAAA,KAAe,IAAI;AAE7C,OAAO,SAASC,eAAeA,CAAA,EAAY;EACzC,OAAOR,oBAAoB,CAACI,eAAe,EAAEF,iBAAiB,EAAEK,iBAAiB,CAAC;AACpF","ignoreList":[]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef } from 'react';
|
|
4
|
-
import { useOxy } from "../context/OxyContext.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Subscribe to a named server-pushed Socket.IO event (e.g. `civic:attested`)
|
|
8
|
-
* for the lifetime of the component. Payloads arrive as `unknown` — callers
|
|
9
|
-
* validate shape. Handler identity may change between renders; the latest one
|
|
10
|
-
* is always invoked.
|
|
11
|
-
*/
|
|
12
|
-
export function useOxyEvent(event, handler) {
|
|
13
|
-
const {
|
|
14
|
-
sessionClient
|
|
15
|
-
} = useOxy();
|
|
16
|
-
const handlerRef = useRef(handler);
|
|
17
|
-
handlerRef.current = handler;
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
if (!sessionClient) return;
|
|
20
|
-
return sessionClient.onServerEvent(event, payload => {
|
|
21
|
-
handlerRef.current(payload);
|
|
22
|
-
});
|
|
23
|
-
}, [sessionClient, event]);
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=useOxyEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useOxy","useOxyEvent","event","handler","sessionClient","handlerRef","current","onServerEvent","payload"],"sourceRoot":"../../../../src","sources":["ui/hooks/useOxyEvent.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAEzC,SAASC,MAAM,QAAQ,0BAAuB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACC,KAAa,EAAEC,OAAmC,EAAQ;EACpF,MAAM;IAAEC;EAAc,CAAC,GAAGJ,MAAM,CAAC,CAAC;EAClC,MAAMK,UAAU,GAAGN,MAAM,CAACI,OAAO,CAAC;EAClCE,UAAU,CAACC,OAAO,GAAGH,OAAO;EAE5BL,SAAS,CAAC,MAAM;IACd,IAAI,CAACM,aAAa,EAAE;IACpB,OAAOA,aAAa,CAACG,aAAa,CAACL,KAAK,EAAGM,OAAO,IAAK;MACrDH,UAAU,CAACC,OAAO,CAACE,OAAO,CAAC;IAC7B,CAAC,CAAC;EACJ,CAAC,EAAE,CAACJ,aAAa,EAAEF,KAAK,CAAC,CAAC;AAC5B","ignoreList":[]}
|