@oxy.so/services 1.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/LICENSE +202 -0
- package/NOTICE +51 -0
- package/README.md +857 -0
- package/android/build.gradle +21 -0
- package/android/src/main/AndroidManifest.xml +10 -0
- 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/android/src/main/java/so/oxy/identity/OxyIdentityModule.kt +84 -0
- package/android/src/main/java/so/oxy/identity/OxyIdentityProvider.kt +77 -0
- package/android/src/main/java/so/oxy/identity/OxyIdentityStore.kt +65 -0
- package/android/src/main/java/so/oxy/session/OxyBackgroundSession.kt +184 -0
- package/android/src/main/java/so/oxy/session/OxyBackgroundSessionApi.kt +162 -0
- package/android/src/main/java/so/oxy/session/OxyBackgroundSessionModule.kt +116 -0
- package/android/src/main/java/so/oxy/session/OxyBackgroundSessionStore.kt +179 -0
- package/android/src/main/java/so/oxy/session/OxyBackgroundToken.kt +61 -0
- package/android/src/main/java/so/oxy/storage/OxyEncryptedPrefs.kt +241 -0
- package/expo-module.config.json +13 -0
- package/ios/OxyIdentity.podspec +28 -0
- package/ios/OxyIdentityModule.swift +33 -0
- package/lib/commonjs/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +375 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +375 -0
- package/lib/commonjs/assets/icons/OxyServices.js +51 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/index.js +990 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/notifications/deviceNotifications.js +443 -0
- package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/ui/analytics/productAnalytics.js +82 -0
- package/lib/commonjs/ui/analytics/productAnalytics.js.map +1 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +206 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +135 -0
- package/lib/commonjs/ui/client.js.map +1 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +255 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/FollowTargetButton.js +351 -0
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.js +15 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.js.map +1 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.native.js +16 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.native.js.map +1 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.web.js +15 -0
- package/lib/commonjs/ui/components/KeyboardBoundary.web.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +178 -0
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js +493 -0
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js +502 -0
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +244 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +322 -0
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileButton.js +342 -0
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js +257 -0
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +667 -0
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +108 -0
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +77 -0
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js +183 -0
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +161 -0
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +59 -0
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/types.js +81 -0
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/constants.js +59 -0
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/types.js +6 -0
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/internal/PinInput.js +118 -0
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/commonjs/ui/components/oauthNavigation.js +88 -0
- package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js +53 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/commonjs/ui/components/payment/types.js +6 -0
- package/lib/commonjs/ui/components/payment/types.js.map +1 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/commonjs/ui/components/styles/overlay.js +83 -0
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
- package/lib/commonjs/ui/components/styles/shadow.js +127 -0
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js +50 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +1248 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js +149 -0
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +331 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js +35 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
- package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +100 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +42 -0
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +675 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +145 -0
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js +440 -0
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +223 -0
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAssets.js +227 -0
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAuth.js +152 -0
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +57 -0
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.js +331 -0
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollowTarget.js +160 -0
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +41 -0
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js +183 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/commonjs/ui/hooks/useStorage.js +45 -0
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/commonjs/ui/icons/Ionicons.js +13 -0
- package/lib/commonjs/ui/icons/Ionicons.js.map +1 -0
- package/lib/commonjs/ui/icons/MaterialCommunityIcons.js +13 -0
- package/lib/commonjs/ui/icons/MaterialCommunityIcons.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +362 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -0
- package/lib/commonjs/ui/index.js +148 -0
- package/lib/commonjs/ui/index.js.map +1 -0
- package/lib/commonjs/ui/isFrontend.js +10 -0
- package/lib/commonjs/ui/isFrontend.js.map +1 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js +105 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +110 -0
- package/lib/commonjs/ui/navigation/routes.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaces.js +339 -0
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/commonjs/ui/oauth/explicitOAuthConsent.js +245 -0
- package/lib/commonjs/ui/oauth/explicitOAuthConsent.js.map +1 -0
- package/lib/commonjs/ui/oauth/legacyRedirectLanes.js +48 -0
- package/lib/commonjs/ui/oauth/legacyRedirectLanes.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js +150 -0
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/commonjs/ui/oauth/types.js +2 -0
- package/lib/commonjs/ui/oauth/types.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +433 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -0
- package/lib/commonjs/ui/runtime/index.js +63 -0
- package/lib/commonjs/ui/runtime/index.js.map +1 -0
- package/lib/commonjs/ui/runtime/runtimeContext.js +83 -0
- package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -0
- package/lib/commonjs/ui/runtime/types.js +6 -0
- package/lib/commonjs/ui/runtime/types.js.map +1 -0
- package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js +57 -0
- package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +443 -0
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +264 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +306 -0
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +428 -0
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js +167 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +592 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +501 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +473 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserListScreen.js +301 -0
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/commonjs/ui/screens/index.js +63 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -0
- package/lib/commonjs/ui/screens/linkFormat.js +38 -0
- package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +185 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +222 -0
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +92 -0
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/server.js +85 -0
- package/lib/commonjs/ui/server.js.map +1 -0
- package/lib/commonjs/ui/session/authStore.js +75 -0
- package/lib/commonjs/ui/session/authStore.js.map +1 -0
- package/lib/commonjs/ui/session/backgroundSession.js +258 -0
- package/lib/commonjs/ui/session/backgroundSession.js.map +1 -0
- package/lib/commonjs/ui/session/createSessionClient.js +56 -0
- package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
- package/lib/commonjs/ui/session/identityBinding.js +95 -0
- package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
- package/lib/commonjs/ui/session/index.js +78 -0
- package/lib/commonjs/ui/session/index.js.map +1 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
- package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +306 -0
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -0
- package/lib/commonjs/ui/session/tokenTransport.js +75 -0
- package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js +81 -0
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +225 -0
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/authStore.js +169 -0
- package/lib/commonjs/ui/stores/authStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followStore.js +551 -0
- package/lib/commonjs/ui/stores/followStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followTargetStore.js +152 -0
- package/lib/commonjs/ui/stores/followTargetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +21 -0
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/commonjs/ui/types/fileManagement.js +6 -0
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/types/navigation.js +6 -0
- package/lib/commonjs/ui/types/navigation.js.map +1 -0
- package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
- package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
- package/lib/commonjs/ui/utils/avatarUtils.js +43 -0
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/colorUtils.js +49 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
- package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
- package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js +145 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
- package/lib/commonjs/ui/utils/fileManagement.js +147 -0
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/utils/iconNames.js +133 -0
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
- package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
- package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
- package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
- package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +120 -0
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/userUtils.js +69 -0
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
- package/lib/commonjs/utils/hookUtils.js +421 -0
- package/lib/commonjs/utils/hookUtils.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.js +39 -0
- package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
- package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
- package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/module/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +375 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +375 -0
- package/lib/module/assets/icons/OxyServices.js +45 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/illustrations/HighFive.js +53 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/index.js +224 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/notifications/deviceNotifications.js +433 -0
- package/lib/module/notifications/deviceNotifications.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/ui/analytics/productAnalytics.js +76 -0
- package/lib/module/ui/analytics/productAnalytics.js.map +1 -0
- package/lib/module/ui/boot/runProviderColdBoot.js +200 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +38 -0
- package/lib/module/ui/client.js.map +1 -0
- package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
- package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +251 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FollowTargetButton.js +345 -0
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -0
- package/lib/module/ui/components/KeyboardBoundary.js +10 -0
- package/lib/module/ui/components/KeyboardBoundary.js.map +1 -0
- package/lib/module/ui/components/KeyboardBoundary.native.js +12 -0
- package/lib/module/ui/components/KeyboardBoundary.native.js.map +1 -0
- package/lib/module/ui/components/KeyboardBoundary.web.js +10 -0
- package/lib/module/ui/components/KeyboardBoundary.web.js.map +1 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js +173 -0
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
- package/lib/module/ui/components/OxyAuthChooser.js +490 -0
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
- package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
- package/lib/module/ui/components/OxyConsentScreen.js +496 -0
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
- package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +62 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +239 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +317 -0
- package/lib/module/ui/components/OxySignInButton.js.map +1 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
- package/lib/module/ui/components/ProfileButton.js +336 -0
- package/lib/module/ui/components/ProfileButton.js.map +1 -0
- package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/module/ui/components/RequireOxyAuth.js +292 -0
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
- package/lib/module/ui/components/SettingsIcon.js +40 -0
- package/lib/module/ui/components/SettingsIcon.js.map +1 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
- package/lib/module/ui/components/SurfaceScreen.js +252 -0
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +663 -0
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js +103 -0
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
- package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
- package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +73 -0
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
- package/lib/module/ui/components/authChooser/primitives.js +176 -0
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js +151 -0
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
- package/lib/module/ui/components/authChooser/signInProgress.js +55 -0
- package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +216 -0
- package/lib/module/ui/components/authChooser/styles.js.map +1 -0
- package/lib/module/ui/components/authChooser/types.js +77 -0
- package/lib/module/ui/components/authChooser/types.js.map +1 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +55 -0
- package/lib/module/ui/components/feedback/constants.js.map +1 -0
- package/lib/module/ui/components/feedback/types.js +4 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/internal/PinInput.js +113 -0
- package/lib/module/ui/components/internal/PinInput.js.map +1 -0
- package/lib/module/ui/components/logo/LogoIcon.js +55 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +42 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/module/ui/components/oauthNavigation.js +85 -0
- package/lib/module/ui/components/oauthNavigation.js.map +1 -0
- package/lib/module/ui/components/passkeyHubPopup.js +29 -0
- package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +47 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/paymentStyles.js +396 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +4 -0
- package/lib/module/ui/components/payment/types.js.map +1 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/module/ui/components/styles/overlay.js +80 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -0
- package/lib/module/ui/components/styles/shadow.js +123 -0
- package/lib/module/ui/components/styles/shadow.js.map +1 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/module/ui/components/utils/splitStyles.js +46 -0
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/module/ui/constants/spacing.js +45 -0
- package/lib/module/ui/constants/spacing.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +1239 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/commitSessionFlow.js +144 -0
- package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js +326 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/module/ui/context/oxyContextHelpers.js +29 -0
- package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/module/ui/context/oxyContextTypes.js +4 -0
- package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/module/ui/context/passkeyFlow.js +111 -0
- package/lib/module/ui/context/passkeyFlow.js.map +1 -0
- package/lib/module/ui/context/useOxyAccountGraph.js +96 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/accountDialogSnapshot.js +38 -0
- package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +666 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
- package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +137 -0
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCache.js +433 -0
- package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +215 -0
- package/lib/module/ui/hooks/queryClient.js.map +1 -0
- package/lib/module/ui/hooks/useAssets.js +221 -0
- package/lib/module/ui/hooks/useAssets.js.map +1 -0
- package/lib/module/ui/hooks/useAsyncAction.js +89 -0
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/module/ui/hooks/useAuth.js +148 -0
- package/lib/module/ui/hooks/useAuth.js.map +1 -0
- package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
- package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/module/ui/hooks/useDeviceSwitcher.js +53 -0
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFileFiltering.js +72 -0
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +324 -0
- package/lib/module/ui/hooks/useFollow.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.types.js +4 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/module/ui/hooks/useFollowTarget.js +156 -0
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -0
- package/lib/module/ui/hooks/useI18n.js +38 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOxyEvent.js +25 -0
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +129 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +15 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useReduceMotion.js +53 -0
- package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +178 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/module/ui/hooks/useSettingToggle.js +126 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +40 -0
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
- package/lib/module/ui/icons/Ionicons.js +8 -0
- package/lib/module/ui/icons/Ionicons.js.map +1 -0
- package/lib/module/ui/icons/MaterialCommunityIcons.js +8 -0
- package/lib/module/ui/icons/MaterialCommunityIcons.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +358 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -0
- package/lib/module/ui/index.js +44 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/isFrontend.js +6 -0
- package/lib/module/ui/isFrontend.js.map +1 -0
- package/lib/module/ui/navigation/accountDialogManager.js +94 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
- package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/module/ui/navigation/routes.js +104 -0
- package/lib/module/ui/navigation/routes.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
- package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
- package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
- package/lib/module/ui/navigation/surfaces.js +325 -0
- package/lib/module/ui/navigation/surfaces.js.map +1 -0
- package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
- package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
- package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
- package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
- package/lib/module/ui/oauth/explicitOAuthConsent.js +241 -0
- package/lib/module/ui/oauth/explicitOAuthConsent.js.map +1 -0
- package/lib/module/ui/oauth/legacyRedirectLanes.js +44 -0
- package/lib/module/ui/oauth/legacyRedirectLanes.js.map +1 -0
- package/lib/module/ui/oauth/oauthHandshake.js +50 -0
- package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopup.js +268 -0
- package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js +144 -0
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
- package/lib/module/ui/oauth/types.js +2 -0
- package/lib/module/ui/oauth/types.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +430 -0
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -0
- package/lib/module/ui/runtime/index.js +15 -0
- package/lib/module/ui/runtime/index.js.map +1 -0
- package/lib/module/ui/runtime/runtimeContext.js +75 -0
- package/lib/module/ui/runtime/runtimeContext.js.map +1 -0
- package/lib/module/ui/runtime/types.js +4 -0
- package/lib/module/ui/runtime/types.js.map +1 -0
- package/lib/module/ui/runtime/useRuntimeSnapshot.js +52 -0
- package/lib/module/ui/runtime/useRuntimeSnapshot.js.map +1 -0
- package/lib/module/ui/screens/AccountMembersScreen.js +438 -0
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +260 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/module/ui/screens/AppInfoScreen.js +368 -0
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js +303 -0
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateAccountScreen.js +423 -0
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileScreen.js +162 -0
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/FAQScreen.js +157 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +590 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowersListScreen.js +12 -0
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowingListScreen.js +12 -0
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
- package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/NotificationsScreen.js +145 -0
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +189 -0
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js +496 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +468 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/UserLinksScreen.js +57 -0
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/module/ui/screens/UserListScreen.js +296 -0
- package/lib/module/ui/screens/UserListScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/shared.js +70 -0
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/module/ui/screens/index.js +20 -0
- package/lib/module/ui/screens/index.js.map +1 -0
- package/lib/module/ui/screens/linkFormat.js +31 -0
- package/lib/module/ui/screens/linkFormat.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +180 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +217 -0
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +90 -0
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
- package/lib/module/ui/server.js +55 -0
- package/lib/module/ui/server.js.map +1 -0
- package/lib/module/ui/session/authStore.js +70 -0
- package/lib/module/ui/session/authStore.js.map +1 -0
- package/lib/module/ui/session/backgroundSession.js +252 -0
- package/lib/module/ui/session/backgroundSession.js.map +1 -0
- package/lib/module/ui/session/createSessionClient.js +53 -0
- package/lib/module/ui/session/createSessionClient.js.map +1 -0
- package/lib/module/ui/session/identityBinding.js +89 -0
- package/lib/module/ui/session/identityBinding.js.map +1 -0
- package/lib/module/ui/session/index.js +21 -0
- package/lib/module/ui/session/index.js.map +1 -0
- package/lib/module/ui/session/nativeSecureStorage.js +88 -0
- package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
- package/lib/module/ui/session/sharedDeviceCredentialStore.js +302 -0
- package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -0
- package/lib/module/ui/session/tokenTransport.js +71 -0
- package/lib/module/ui/session/tokenTransport.js.map +1 -0
- package/lib/module/ui/session/useBackgroundSessionSync.js +76 -0
- package/lib/module/ui/session/useBackgroundSessionSync.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +212 -0
- package/lib/module/ui/stores/assetStore.js.map +1 -0
- package/lib/module/ui/stores/authStore.js +165 -0
- package/lib/module/ui/stores/authStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +546 -0
- package/lib/module/ui/stores/followStore.js.map +1 -0
- package/lib/module/ui/stores/followTargetStore.js +143 -0
- package/lib/module/ui/stores/followTargetStore.js.map +1 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js +18 -0
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
- package/lib/module/ui/types/fileManagement.js +4 -0
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +4 -0
- package/lib/module/ui/types/navigation.js.map +1 -0
- package/lib/module/ui/types/surfaceScreen.js +4 -0
- package/lib/module/ui/types/surfaceScreen.js.map +1 -0
- package/lib/module/ui/utils/avatarUtils.js +40 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +13 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
- package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
- package/lib/module/ui/utils/deliveryPlatform.js +55 -0
- package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
- package/lib/module/ui/utils/deviceCredential.js +18 -0
- package/lib/module/ui/utils/deviceCredential.js.map +1 -0
- package/lib/module/ui/utils/errorHandlers.js +137 -0
- package/lib/module/ui/utils/errorHandlers.js.map +1 -0
- package/lib/module/ui/utils/fileManagement.js +140 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/iconNames.js +124 -0
- package/lib/module/ui/utils/iconNames.js.map +1 -0
- package/lib/module/ui/utils/isWebBrowser.js +11 -0
- package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
- package/lib/module/ui/utils/netConnectivity.js +23 -0
- package/lib/module/ui/utils/netConnectivity.js.map +1 -0
- package/lib/module/ui/utils/oauthReturn.js +122 -0
- package/lib/module/ui/utils/oauthReturn.js.map +1 -0
- package/lib/module/ui/utils/sessionHelpers.js +55 -0
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +111 -0
- package/lib/module/ui/utils/storageHelpers.js.map +1 -0
- package/lib/module/ui/utils/userUtils.js +63 -0
- package/lib/module/ui/utils/userUtils.js.map +1 -0
- package/lib/module/utils/hookUtils.js +403 -0
- package/lib/module/utils/hookUtils.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.js +33 -0
- package/lib/module/webauthn/passkeyClient.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.native.js +28 -0
- package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
- package/lib/module/webauthn/passkeyClient.web.js +52 -0
- package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
- package/lib/typescript/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
- package/lib/typescript/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +103 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts +26 -0
- package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/client.d.ts +29 -0
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +158 -0
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.native.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.web.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/KeyboardBoundary.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +113 -0
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +59 -0
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +67 -0
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +63 -0
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +141 -0
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +52 -0
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +41 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +81 -0
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +70 -0
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +5 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +232 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +30 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +15 -0
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +138 -0
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +206 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +173 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +68 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +115 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +49 -0
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +50 -0
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +18 -0
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +46 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +3 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +3 -0
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +356 -0
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +34 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +54 -0
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +20 -0
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts +59 -0
- package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts +40 -0
- package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +144 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/index.d.ts +16 -0
- package/lib/typescript/commonjs/ui/runtime/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +43 -0
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/types.d.ts +89 -0
- package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
- package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +12 -0
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +12 -0
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +18 -0
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts +18 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/server.d.ts +35 -0
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +76 -0
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +42 -0
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts +20 -0
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +23 -0
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +61 -0
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +84 -0
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +156 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +16 -0
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +32 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +23 -0
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +103 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/ui/analytics/productAnalytics.d.ts +26 -0
- package/lib/typescript/module/ui/analytics/productAnalytics.d.ts.map +1 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/module/ui/client.d.ts +29 -0
- package/lib/typescript/module/ui/client.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +158 -0
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.d.ts +6 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.native.d.ts +6 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.native.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.web.d.ts +6 -0
- package/lib/typescript/module/ui/components/KeyboardBoundary.web.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +113 -0
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +59 -0
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +67 -0
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +63 -0
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +141 -0
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +52 -0
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts +41 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +81 -0
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +70 -0
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +5 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +232 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +30 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +15 -0
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +138 -0
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +206 -0
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +173 -0
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +68 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +115 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +49 -0
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +50 -0
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +18 -0
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +46 -0
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +3 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +3 -0
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +356 -0
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +34 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +54 -0
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts +20 -0
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts +59 -0
- package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts +40 -0
- package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
- package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
- package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +144 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/index.d.ts +16 -0
- package/lib/typescript/module/ui/runtime/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +43 -0
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/types.d.ts +89 -0
- package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
- package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +12 -0
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +12 -0
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +18 -0
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts +18 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/server.d.ts +35 -0
- package/lib/typescript/module/ui/server.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/authStore.d.ts +76 -0
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/backgroundSession.d.ts +42 -0
- package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/index.d.ts +20 -0
- package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +23 -0
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts +61 -0
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts +84 -0
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/navigation.d.ts +156 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +16 -0
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
- package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +32 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts +23 -0
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
- package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
- package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
- package/lib/typescript/nativewind-env.d.ts +1 -0
- package/lib/typescript/types/assets.d.ts +4 -0
- package/lib/typescript/types/expo-crypto.d.ts +29 -0
- package/lib/typescript/types/expo-document-picker.d.ts +36 -0
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/lib/typescript/types/expo-image-picker.d.ts +35 -0
- package/lib/typescript/types/expo-secure-store.d.ts +22 -0
- package/lib/typescript/types/express.d.ts +24 -0
- package/lib/typescript/types/react-native-classname.d.ts +39 -0
- package/lib/typescript/types/react-native-web-style.d.ts +27 -0
- package/package.json +320 -0
- package/plugins/withSharedDeviceSessionProvider.js +102 -0
- package/plugins/withSharedDeviceSessionReader.js +57 -0
- package/plugins/withSharedIdentityProvider.js +83 -0
- package/plugins/withSharedIdentityReader.js +46 -0
- package/src/__tests__/esmSourcePurity.test.ts +61 -0
- package/src/assets/OxyLogo.svg +1 -0
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
- package/src/assets/fonts/icons/manifest.json +375 -0
- package/src/assets/icons/OxyServices.tsx +60 -0
- package/src/assets/icons/logo_OxyServices.svg +1 -0
- package/src/assets/illustrations/HighFive.tsx +39 -0
- package/src/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/src/index.ts +410 -0
- package/src/nativewind-env.d.ts +1 -0
- package/src/notifications/deviceNotifications.ts +477 -0
- package/src/types/assets.d.ts +4 -0
- package/src/types/expo-crypto.d.ts +29 -0
- package/src/types/expo-document-picker.d.ts +36 -0
- package/src/types/expo-haptics.d.ts +42 -0
- package/src/types/expo-image-picker.d.ts +35 -0
- package/src/types/expo-secure-store.d.ts +22 -0
- package/src/types/express.d.ts +24 -0
- package/src/types/react-native-classname.d.ts +39 -0
- package/src/types/react-native-web-style.d.ts +27 -0
- package/src/ui/analytics/productAnalytics.tsx +114 -0
- package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +215 -0
- package/src/ui/boot/runProviderColdBoot.ts +244 -0
- package/src/ui/client.ts +46 -0
- package/src/ui/components/AvatarCameraBadge.tsx +36 -0
- package/src/ui/components/FollowButton.tsx +312 -0
- package/src/ui/components/FollowTargetButton.tsx +427 -0
- package/src/ui/components/KeyboardBoundary.native.tsx +7 -0
- package/src/ui/components/KeyboardBoundary.tsx +4 -0
- package/src/ui/components/KeyboardBoundary.web.tsx +4 -0
- package/src/ui/components/OxyAccountDialogScreen.tsx +181 -0
- package/src/ui/components/OxyAuthChooser.tsx +554 -0
- package/src/ui/components/OxyAuthPrompt.tsx +162 -0
- package/src/ui/components/OxyConsentScreen.tsx +504 -0
- package/src/ui/components/OxyOAuthCallback.tsx +38 -0
- package/src/ui/components/OxyPayButton.tsx +74 -0
- package/src/ui/components/OxyProvider.tsx +255 -0
- package/src/ui/components/OxySignInButton.tsx +423 -0
- package/src/ui/components/OxySignInRequestSurface.tsx +202 -0
- package/src/ui/components/ProfileButton.tsx +400 -0
- package/src/ui/components/ProfileSummaryCard.tsx +100 -0
- package/src/ui/components/RequireOxyAuth.tsx +266 -0
- package/src/ui/components/SettingsIcon.tsx +44 -0
- package/src/ui/components/SurfaceHeaderAction.tsx +60 -0
- package/src/ui/components/SurfaceScreen.tsx +284 -0
- package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +155 -0
- package/src/ui/components/__tests__/followTargetButton.test.ts +258 -0
- package/src/ui/components/authChooser/AccountsMenuView.tsx +733 -0
- package/src/ui/components/authChooser/SignInEntryView.tsx +144 -0
- package/src/ui/components/authChooser/SignInRequestView.tsx +130 -0
- package/src/ui/components/authChooser/SignUpView.tsx +174 -0
- package/src/ui/components/authChooser/TroubleDisclosure.tsx +88 -0
- package/src/ui/components/authChooser/primitives.tsx +158 -0
- package/src/ui/components/authChooser/requestSurfaces.tsx +128 -0
- package/src/ui/components/authChooser/signInProgress.ts +58 -0
- package/src/ui/components/authChooser/styles.ts +213 -0
- package/src/ui/components/authChooser/types.ts +159 -0
- package/src/ui/components/authChooser/useUsernameAvailability.ts +60 -0
- package/src/ui/components/feedback/constants.ts +22 -0
- package/src/ui/components/feedback/types.ts +52 -0
- package/src/ui/components/feedback/useFeedbackForm.ts +44 -0
- package/src/ui/components/fileManagement/AnimatedButton.tsx +64 -0
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +129 -0
- package/src/ui/components/fileManagement/FileViewer.tsx +412 -0
- package/src/ui/components/fileManagement/UploadPreview.tsx +175 -0
- package/src/ui/components/icon/FAIRWalletIcon.tsx +49 -0
- package/src/ui/components/internal/PinInput.tsx +123 -0
- package/src/ui/components/logo/LogoIcon.tsx +71 -0
- package/src/ui/components/logo/LogoText.tsx +71 -0
- package/src/ui/components/modals/DeleteAccountModal.tsx +131 -0
- package/src/ui/components/oauthNavigation.ts +114 -0
- package/src/ui/components/passkeyHubPopup.ts +28 -0
- package/src/ui/components/payment/PaymentDetailsStep.tsx +232 -0
- package/src/ui/components/payment/PaymentMethodStep.tsx +90 -0
- package/src/ui/components/payment/PaymentReviewStep.tsx +125 -0
- package/src/ui/components/payment/PaymentSuccessStep.tsx +66 -0
- package/src/ui/components/payment/PaymentSummaryStep.tsx +158 -0
- package/src/ui/components/payment/constants.ts +39 -0
- package/src/ui/components/payment/paymentStyles.ts +389 -0
- package/src/ui/components/payment/types.ts +45 -0
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +232 -0
- package/src/ui/components/photogrid/__tests__/chunkPhotos.test.ts +51 -0
- package/src/ui/components/styles/overlay.tsx +97 -0
- package/src/ui/components/styles/shadow.tsx +131 -0
- package/src/ui/components/surfaces/ActionSheetSurface.tsx +98 -0
- package/src/ui/components/utils/hasTouchHandler.tsx +23 -0
- package/src/ui/components/utils/roundLayoutSize.ts +2 -0
- package/src/ui/components/utils/splitStyles.ts +60 -0
- package/src/ui/constants/spacing.ts +45 -0
- package/src/ui/context/OxyContext.tsx +1449 -0
- package/src/ui/context/__tests__/commitSessionFlow.test.ts +333 -0
- package/src/ui/context/__tests__/passkeyFlow.test.ts +244 -0
- package/src/ui/context/commitSessionFlow.ts +193 -0
- package/src/ui/context/hooks/useAuthOperations.ts +425 -0
- package/src/ui/context/oxyContextHelpers.ts +28 -0
- package/src/ui/context/oxyContextTypes.ts +239 -0
- package/src/ui/context/passkeyFlow.ts +154 -0
- package/src/ui/context/useOxyAccountGraph.ts +123 -0
- package/src/ui/hooks/accountDialogSnapshot.ts +37 -0
- package/src/ui/hooks/mutations/mutationFactory.ts +230 -0
- package/src/ui/hooks/mutations/mutationKeys.ts +39 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +686 -0
- package/src/ui/hooks/mutations/useServicesMutations.ts +170 -0
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +427 -0
- package/src/ui/hooks/queries/__tests__/userCacheClear.test.ts +301 -0
- package/src/ui/hooks/queries/paymentTypes.ts +142 -0
- package/src/ui/hooks/queries/queryKeys.ts +221 -0
- package/src/ui/hooks/queries/useAccountQueries.ts +307 -0
- package/src/ui/hooks/queries/useAuthMethods.ts +45 -0
- package/src/ui/hooks/queries/useFileQueries.ts +162 -0
- package/src/ui/hooks/queries/usePaymentQueries.ts +137 -0
- package/src/ui/hooks/queries/useSecurityQueries.ts +104 -0
- package/src/ui/hooks/queries/useServicesQueries.ts +157 -0
- package/src/ui/hooks/queries/userCache.ts +530 -0
- package/src/ui/hooks/queries/userCacheRelationship.ts +33 -0
- package/src/ui/hooks/queryClient.ts +244 -0
- package/src/ui/hooks/useAssets.ts +270 -0
- package/src/ui/hooks/useAsyncAction.ts +129 -0
- package/src/ui/hooks/useAuth.ts +246 -0
- package/src/ui/hooks/useAvatarPicker.ts +138 -0
- package/src/ui/hooks/useDeviceManagement.ts +108 -0
- package/src/ui/hooks/useDeviceSwitcher.ts +110 -0
- package/src/ui/hooks/useFileDownloadUrl.ts +87 -0
- package/src/ui/hooks/useFileFiltering.ts +114 -0
- package/src/ui/hooks/useFollow.ts +364 -0
- package/src/ui/hooks/useFollow.types.ts +36 -0
- package/src/ui/hooks/useFollowTarget.ts +223 -0
- package/src/ui/hooks/useI18n.ts +32 -0
- package/src/ui/hooks/useLanguageManagement.ts +254 -0
- package/src/ui/hooks/useMutationStatus.ts +111 -0
- package/src/ui/hooks/useOnlineStatus.ts +30 -0
- package/src/ui/hooks/useOxyEvent.ts +22 -0
- package/src/ui/hooks/useProfileEditing.ts +168 -0
- package/src/ui/hooks/useQueryClient.ts +17 -0
- package/src/ui/hooks/useReduceMotion.ts +58 -0
- package/src/ui/hooks/useResolvedFileUrls.ts +170 -0
- package/src/ui/hooks/useSessionManagement.ts +228 -0
- package/src/ui/hooks/useSettingToggle.ts +151 -0
- package/src/ui/hooks/useStorage.ts +52 -0
- package/src/ui/hooks/useSurfaceHeader.ts +194 -0
- package/src/ui/icons/Ionicons.ts +11 -0
- package/src/ui/icons/MaterialCommunityIcons.ts +11 -0
- package/src/ui/icons/subsetGlyphMaps.ts +356 -0
- package/src/ui/index.ts +52 -0
- package/src/ui/isFrontend.ts +5 -0
- package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +101 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +181 -0
- package/src/ui/navigation/accountDialogManager.ts +114 -0
- package/src/ui/navigation/bottomSheetManager.ts +60 -0
- package/src/ui/navigation/routes.ts +140 -0
- package/src/ui/navigation/surfaceBackBridge.ts +69 -0
- package/src/ui/navigation/surfaceNavStack.ts +177 -0
- package/src/ui/navigation/surfaceRegistry.ts +286 -0
- package/src/ui/navigation/surfaces.ts +356 -0
- package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +335 -0
- package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +142 -0
- package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +258 -0
- package/src/ui/oauth/__tests__/oauthPopup.test.ts +352 -0
- package/src/ui/oauth/__tests__/oauthPopupMessages.test.ts +189 -0
- package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +174 -0
- package/src/ui/oauth/browserAuthTransport.ts +193 -0
- package/src/ui/oauth/completeOAuthCode.ts +93 -0
- package/src/ui/oauth/explicitOAuthConsent.ts +272 -0
- package/src/ui/oauth/legacyRedirectLanes.ts +43 -0
- package/src/ui/oauth/oauthHandshake.ts +74 -0
- package/src/ui/oauth/oauthPopup.ts +277 -0
- package/src/ui/oauth/oauthPopupMessages.ts +145 -0
- package/src/ui/oauth/types.ts +150 -0
- 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 +477 -0
- package/src/ui/screens/AccountSettingsScreen.tsx +278 -0
- package/src/ui/screens/AccountVerificationScreen.tsx +186 -0
- package/src/ui/screens/AppInfoScreen.tsx +354 -0
- package/src/ui/screens/AvatarCropScreen.tsx +1169 -0
- package/src/ui/screens/ChangeAvatarScreen.tsx +369 -0
- package/src/ui/screens/ConnectedAppsScreen.tsx +181 -0
- package/src/ui/screens/CreateAccountScreen.tsx +490 -0
- package/src/ui/screens/EditProfileFieldScreen.tsx +607 -0
- package/src/ui/screens/EditProfileScreen.tsx +143 -0
- package/src/ui/screens/FAQScreen.tsx +200 -0
- package/src/ui/screens/FeedbackScreen.tsx +766 -0
- package/src/ui/screens/FileManagementScreen.tsx +1422 -0
- package/src/ui/screens/FollowersListScreen.tsx +17 -0
- package/src/ui/screens/FollowingListScreen.tsx +17 -0
- package/src/ui/screens/HelpSupportScreen.tsx +111 -0
- package/src/ui/screens/HistoryViewScreen.tsx +128 -0
- package/src/ui/screens/LanguageSelectorScreen.tsx +264 -0
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +144 -0
- package/src/ui/screens/LegalDocumentsScreen.tsx +234 -0
- package/src/ui/screens/ManageAccountScreen.tsx +943 -0
- package/src/ui/screens/NotificationsScreen.tsx +184 -0
- package/src/ui/screens/PaymentGatewayScreen.tsx +297 -0
- package/src/ui/screens/PreferencesScreen.tsx +235 -0
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +1103 -0
- package/src/ui/screens/PrivacySettingsScreen.tsx +422 -0
- package/src/ui/screens/ProfileScreen.tsx +375 -0
- package/src/ui/screens/SavesCollectionsScreen.tsx +167 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +142 -0
- package/src/ui/screens/UserLinksScreen.tsx +63 -0
- package/src/ui/screens/UserListScreen.tsx +330 -0
- package/src/ui/screens/WelcomeNewUserScreen.tsx +380 -0
- package/src/ui/screens/__tests__/linkFormat.test.ts +73 -0
- package/src/ui/screens/__tests__/photoGridLayout.test.ts +57 -0
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +56 -0
- package/src/ui/screens/fileManagement/FileListSection.tsx +127 -0
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +634 -0
- package/src/ui/screens/fileManagement/UploadBar.tsx +70 -0
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +565 -0
- package/src/ui/screens/fileManagement/photoGridLayout.ts +45 -0
- package/src/ui/screens/fileManagement/shared.ts +88 -0
- package/src/ui/screens/index.ts +17 -0
- package/src/ui/screens/linkFormat.ts +37 -0
- package/src/ui/screens/trust/TrustAboutScreen.tsx +70 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +253 -0
- package/src/ui/screens/trust/TrustFAQScreen.tsx +101 -0
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +222 -0
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +579 -0
- package/src/ui/screens/trust/TrustRulesScreen.tsx +113 -0
- package/src/ui/server.ts +58 -0
- package/src/ui/session/__tests__/authStore.test.ts +90 -0
- package/src/ui/session/__tests__/backgroundSession.test.ts +392 -0
- package/src/ui/session/__tests__/createSessionClient.test.ts +111 -0
- package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +289 -0
- package/src/ui/session/__tests__/tokenTransport.test.ts +163 -0
- package/src/ui/session/authStore.ts +106 -0
- package/src/ui/session/backgroundSession.ts +313 -0
- package/src/ui/session/createSessionClient.ts +59 -0
- package/src/ui/session/identityBinding.ts +116 -0
- package/src/ui/session/index.ts +25 -0
- package/src/ui/session/nativeSecureStorage.ts +98 -0
- package/src/ui/session/sharedDeviceCredentialStore.ts +318 -0
- package/src/ui/session/tokenTransport.ts +70 -0
- package/src/ui/session/useBackgroundSessionSync.ts +92 -0
- package/src/ui/stores/__tests__/followStore.test.ts +181 -0
- package/src/ui/stores/__tests__/resetSessionScopedStores.test.ts +23 -0
- package/src/ui/stores/assetStore.ts +281 -0
- package/src/ui/stores/authStore.ts +191 -0
- package/src/ui/stores/followStore.ts +446 -0
- package/src/ui/stores/followTargetStore.ts +153 -0
- package/src/ui/stores/resetSessionScopedStores.ts +15 -0
- package/src/ui/types/fileManagement.ts +61 -0
- package/src/ui/types/navigation.ts +175 -0
- package/src/ui/types/surfaceScreen.ts +38 -0
- package/src/ui/utils/avatarUtils.ts +56 -0
- package/src/ui/utils/colorUtils.ts +18 -0
- package/src/ui/utils/commonsStoreLinks.ts +38 -0
- package/src/ui/utils/deliveryPlatform.ts +65 -0
- package/src/ui/utils/deviceCredential.ts +17 -0
- package/src/ui/utils/errorHandlers.ts +202 -0
- package/src/ui/utils/fileManagement.ts +170 -0
- package/src/ui/utils/iconNames.ts +136 -0
- package/src/ui/utils/isWebBrowser.ts +8 -0
- package/src/ui/utils/netConnectivity.ts +27 -0
- package/src/ui/utils/oauthReturn.ts +138 -0
- package/src/ui/utils/sessionHelpers.ts +88 -0
- package/src/ui/utils/storageHelpers.ts +129 -0
- package/src/ui/utils/userUtils.ts +69 -0
- package/src/utils/hookUtils.ts +423 -0
- package/src/webauthn/passkeyClient.native.ts +26 -0
- package/src/webauthn/passkeyClient.ts +31 -0
- package/src/webauthn/passkeyClient.web.ts +56 -0
|
@@ -0,0 +1,1103 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { useState, useEffect, useCallback } from 'react';
|
|
3
|
+
import { View, ScrollView, ActivityIndicator } from 'react-native';
|
|
4
|
+
import type { BaseScreenProps } from '../types/navigation';
|
|
5
|
+
import { toast } from '@oxy.so/bloom/toast';
|
|
6
|
+
import { surfaces } from '@oxy.so/bloom/surfaces';
|
|
7
|
+
import { useTheme } from '@oxy.so/bloom/theme';
|
|
8
|
+
import { Button } from '@oxy.so/bloom/button';
|
|
9
|
+
import { Chip } from '@oxy.so/bloom/chip';
|
|
10
|
+
import { Badge } from '@oxy.so/bloom/badge';
|
|
11
|
+
import { Card, CardBody } from '@oxy.so/bloom/card';
|
|
12
|
+
import { H2, H4, H5, Text } from '@oxy.so/bloom/typography';
|
|
13
|
+
import { BenefitList, BenefitRow } from '@oxy.so/bloom/benefit-list';
|
|
14
|
+
import {
|
|
15
|
+
SegmentedControl,
|
|
16
|
+
SegmentedControlItem,
|
|
17
|
+
SegmentedControlItemText,
|
|
18
|
+
} from '@oxy.so/bloom/segmented-control';
|
|
19
|
+
import Ionicons from '../icons/Ionicons';
|
|
20
|
+
import { useI18n } from '../hooks/useI18n';
|
|
21
|
+
import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
|
|
22
|
+
import { useOxy } from '../context/OxyContext';
|
|
23
|
+
|
|
24
|
+
type IoniconName = React.ComponentProps<typeof Ionicons>['name'];
|
|
25
|
+
|
|
26
|
+
interface SubscriptionPlan {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
price: number;
|
|
31
|
+
currency: string;
|
|
32
|
+
interval: 'month' | 'year';
|
|
33
|
+
features: string[];
|
|
34
|
+
appScope: 'ecosystem' | 'specific';
|
|
35
|
+
applicableApps: string[]; // ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'] etc.
|
|
36
|
+
includedFeatures: string[]; // Feature IDs that are included in this plan
|
|
37
|
+
isPopular?: boolean;
|
|
38
|
+
isCurrentPlan?: boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface IndividualFeature {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
price: number;
|
|
46
|
+
currency: string;
|
|
47
|
+
interval: 'month' | 'year';
|
|
48
|
+
category: 'analytics' | 'customization' | 'content' | 'networking' | 'productivity';
|
|
49
|
+
appScope: 'ecosystem' | 'specific';
|
|
50
|
+
applicableApps: string[]; // Apps where this feature is available
|
|
51
|
+
canBePurchasedSeparately: boolean;
|
|
52
|
+
includedInPlans: string[]; // Plan IDs that include this feature
|
|
53
|
+
isSubscribed?: boolean;
|
|
54
|
+
isIncludedInCurrentPlan?: boolean;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
interface UserSubscription {
|
|
58
|
+
id: string;
|
|
59
|
+
planId: string;
|
|
60
|
+
status: 'active' | 'canceled' | 'past_due' | 'trialing';
|
|
61
|
+
currentPeriodStart: string;
|
|
62
|
+
currentPeriodEnd: string;
|
|
63
|
+
cancelAtPeriodEnd: boolean;
|
|
64
|
+
trialEnd?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const TAB_PLANS = 'plans';
|
|
68
|
+
const TAB_FEATURES = 'features';
|
|
69
|
+
type ActiveTab = typeof TAB_PLANS | typeof TAB_FEATURES;
|
|
70
|
+
|
|
71
|
+
const BILLING_MONTH = 'month';
|
|
72
|
+
const BILLING_YEAR = 'year';
|
|
73
|
+
type BillingInterval = typeof BILLING_MONTH | typeof BILLING_YEAR;
|
|
74
|
+
|
|
75
|
+
/** Yearly billing discount applied when extrapolating a monthly price. */
|
|
76
|
+
const YEARLY_DISCOUNT = 0.8;
|
|
77
|
+
const MONTHS_PER_YEAR = 12;
|
|
78
|
+
/** Simulated payment latency for the mocked subscribe/feature flows (ms). */
|
|
79
|
+
const SUBSCRIBE_DELAY_MS = 2000;
|
|
80
|
+
const FEATURE_DELAY_MS = 1500;
|
|
81
|
+
/** One subscription period for the mocked renewal date (30 days, in ms). */
|
|
82
|
+
const PERIOD_MS = 30 * 24 * 60 * 60 * 1000;
|
|
83
|
+
|
|
84
|
+
const FEATURE_CATEGORIES: IndividualFeature['category'][] = [
|
|
85
|
+
'analytics',
|
|
86
|
+
'customization',
|
|
87
|
+
'content',
|
|
88
|
+
'networking',
|
|
89
|
+
'productivity',
|
|
90
|
+
];
|
|
91
|
+
|
|
92
|
+
// Pure package-name → display-name mapping (module scope so the nav-header
|
|
93
|
+
// subtitle can reference it before the component's render helpers).
|
|
94
|
+
const getAppDisplayName = (packageName: string): string => {
|
|
95
|
+
const appNames: Record<string, string> = {
|
|
96
|
+
'mention': 'Mention',
|
|
97
|
+
'oxy-social': 'Oxy Social',
|
|
98
|
+
'oxy-workspace': 'Oxy Workspace',
|
|
99
|
+
'oxy-creator': 'Oxy Creator',
|
|
100
|
+
'oxy-analytics': 'Oxy Analytics',
|
|
101
|
+
'oxy-studio': 'Oxy Studio',
|
|
102
|
+
};
|
|
103
|
+
return appNames[packageName] || packageName;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
|
|
107
|
+
onClose,
|
|
108
|
+
navigate,
|
|
109
|
+
goBack,
|
|
110
|
+
}) => {
|
|
111
|
+
// Premium state belongs to the ACTIVE account (the org/project/bot when
|
|
112
|
+
// switched, else the personal user), not the device-session owner.
|
|
113
|
+
const { user } = useOxy();
|
|
114
|
+
const [loading, setLoading] = useState(true);
|
|
115
|
+
const [subscription, setSubscription] = useState<UserSubscription | null>(null);
|
|
116
|
+
const [plans, setPlans] = useState<SubscriptionPlan[]>([]);
|
|
117
|
+
const [individualFeatures, setIndividualFeatures] = useState<IndividualFeature[]>([]);
|
|
118
|
+
const [selectedPlan, setSelectedPlan] = useState<string | null>(null);
|
|
119
|
+
const [processingPayment, setProcessingPayment] = useState(false);
|
|
120
|
+
const [billingInterval, setBillingInterval] = useState<BillingInterval>(BILLING_MONTH);
|
|
121
|
+
const [activeTab, setActiveTab] = useState<ActiveTab>(TAB_PLANS);
|
|
122
|
+
const [currentAppPackage, setCurrentAppPackage] = useState<string>('mention'); // Default to mention for demo
|
|
123
|
+
|
|
124
|
+
const { t } = useI18n();
|
|
125
|
+
|
|
126
|
+
useSurfaceHeader({ title: t('premium.title') || 'Oxy+ Subscriptions', subtitle: t('premium.forApp', { app: getAppDisplayName(currentAppPackage) }) || `for ${getAppDisplayName(currentAppPackage)}` });
|
|
127
|
+
const bloomTheme = useTheme();
|
|
128
|
+
const colors = bloomTheme.colors;
|
|
129
|
+
|
|
130
|
+
// Oxy+ subscription plans
|
|
131
|
+
const mockPlans: SubscriptionPlan[] = [
|
|
132
|
+
{
|
|
133
|
+
id: 'mention-plus',
|
|
134
|
+
name: 'Mention+',
|
|
135
|
+
description: 'Enhanced features for better social experience',
|
|
136
|
+
price: 4.99,
|
|
137
|
+
currency: 'USD',
|
|
138
|
+
interval: 'month',
|
|
139
|
+
appScope: 'specific',
|
|
140
|
+
applicableApps: ['mention'], // Only available in mention app
|
|
141
|
+
features: [
|
|
142
|
+
'Undo posts option',
|
|
143
|
+
'Improved reading mode',
|
|
144
|
+
'Organize bookmarks into folders',
|
|
145
|
+
'Early access to select features',
|
|
146
|
+
'Edit posts capability',
|
|
147
|
+
'Enhanced customization options'
|
|
148
|
+
],
|
|
149
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes']
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: 'oxy-insider',
|
|
153
|
+
name: 'Oxy+ Insider',
|
|
154
|
+
description: 'Exclusive access to behind-the-scenes content',
|
|
155
|
+
price: 9.99,
|
|
156
|
+
currency: 'USD',
|
|
157
|
+
interval: 'month',
|
|
158
|
+
appScope: 'ecosystem',
|
|
159
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
160
|
+
features: [
|
|
161
|
+
'Everything in Mention+',
|
|
162
|
+
'Behind-the-scenes updates from creators',
|
|
163
|
+
'Early access to new features',
|
|
164
|
+
'Dedicated support team',
|
|
165
|
+
'Exclusive content access',
|
|
166
|
+
'Beta feature testing'
|
|
167
|
+
],
|
|
168
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic'],
|
|
169
|
+
isPopular: true
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
id: 'oxy-connect',
|
|
173
|
+
name: 'Oxy+ Connect',
|
|
174
|
+
description: 'Advanced networking and community features',
|
|
175
|
+
price: 14.99,
|
|
176
|
+
currency: 'USD',
|
|
177
|
+
interval: 'month',
|
|
178
|
+
appScope: 'ecosystem',
|
|
179
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
180
|
+
features: [
|
|
181
|
+
'Everything in Oxy+ Insider',
|
|
182
|
+
'Create and join private groups',
|
|
183
|
+
'Advanced search and filtering tools',
|
|
184
|
+
'Customizable profile highlighting',
|
|
185
|
+
'Enhanced connection features',
|
|
186
|
+
'Priority in community events'
|
|
187
|
+
],
|
|
188
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'group-management']
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: 'oxy-premium',
|
|
192
|
+
name: 'Oxy+ Premium',
|
|
193
|
+
description: 'Complete premium experience with all perks',
|
|
194
|
+
price: 24.99,
|
|
195
|
+
currency: 'USD',
|
|
196
|
+
interval: 'month',
|
|
197
|
+
appScope: 'ecosystem',
|
|
198
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics'],
|
|
199
|
+
features: [
|
|
200
|
+
'Everything in Oxy+ Connect',
|
|
201
|
+
'Priority customer support',
|
|
202
|
+
'Access to premium content and events',
|
|
203
|
+
'Advanced analytics dashboard',
|
|
204
|
+
'VIP community status',
|
|
205
|
+
'Exclusive premium events'
|
|
206
|
+
],
|
|
207
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management']
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: 'oxy-creator',
|
|
211
|
+
name: 'Oxy+ Creator',
|
|
212
|
+
description: 'Professional tools for content creators',
|
|
213
|
+
price: 39.99,
|
|
214
|
+
currency: 'USD',
|
|
215
|
+
interval: 'month',
|
|
216
|
+
appScope: 'ecosystem',
|
|
217
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics', 'oxy-studio'],
|
|
218
|
+
features: [
|
|
219
|
+
'Everything in Oxy+ Premium',
|
|
220
|
+
'Advanced analytics and insights',
|
|
221
|
+
'Promotional tools and resources',
|
|
222
|
+
'Content monetization features',
|
|
223
|
+
'Creator support program',
|
|
224
|
+
'Revenue sharing opportunities'
|
|
225
|
+
],
|
|
226
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management', 'creator-tools', 'monetization-features']
|
|
227
|
+
}
|
|
228
|
+
];
|
|
229
|
+
|
|
230
|
+
// Individual feature subscriptions
|
|
231
|
+
const mockIndividualFeatures: IndividualFeature[] = [
|
|
232
|
+
{
|
|
233
|
+
id: 'analytics-basic',
|
|
234
|
+
name: 'Basic Analytics',
|
|
235
|
+
description: 'View post performance and engagement metrics',
|
|
236
|
+
price: 2.99,
|
|
237
|
+
currency: 'USD',
|
|
238
|
+
interval: 'month',
|
|
239
|
+
category: 'analytics',
|
|
240
|
+
appScope: 'ecosystem',
|
|
241
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace'],
|
|
242
|
+
canBePurchasedSeparately: true,
|
|
243
|
+
includedInPlans: ['oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: 'analytics-advanced',
|
|
247
|
+
name: 'Advanced Analytics',
|
|
248
|
+
description: 'Detailed insights, trends, and audience demographics',
|
|
249
|
+
price: 7.99,
|
|
250
|
+
currency: 'USD',
|
|
251
|
+
interval: 'month',
|
|
252
|
+
category: 'analytics',
|
|
253
|
+
appScope: 'ecosystem',
|
|
254
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics'],
|
|
255
|
+
canBePurchasedSeparately: true,
|
|
256
|
+
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
id: 'custom-themes',
|
|
260
|
+
name: 'Custom Themes',
|
|
261
|
+
description: 'Personalize your app with custom colors and layouts',
|
|
262
|
+
price: 1.99,
|
|
263
|
+
currency: 'USD',
|
|
264
|
+
interval: 'month',
|
|
265
|
+
category: 'customization',
|
|
266
|
+
appScope: 'ecosystem',
|
|
267
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
268
|
+
canBePurchasedSeparately: false, // Included in all plans
|
|
269
|
+
includedInPlans: ['mention-plus', 'oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
id: 'reading-mode-plus',
|
|
273
|
+
name: 'Reading Mode Plus',
|
|
274
|
+
description: 'Enhanced reading experience with focus modes',
|
|
275
|
+
price: 1.99,
|
|
276
|
+
currency: 'USD',
|
|
277
|
+
interval: 'month',
|
|
278
|
+
category: 'content',
|
|
279
|
+
appScope: 'specific',
|
|
280
|
+
applicableApps: ['mention', 'oxy-social'],
|
|
281
|
+
canBePurchasedSeparately: false, // Included in all plans
|
|
282
|
+
includedInPlans: ['mention-plus', 'oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
id: 'group-management',
|
|
286
|
+
name: 'Group Management',
|
|
287
|
+
description: 'Create and manage private groups and communities',
|
|
288
|
+
price: 4.99,
|
|
289
|
+
currency: 'USD',
|
|
290
|
+
interval: 'month',
|
|
291
|
+
category: 'networking',
|
|
292
|
+
appScope: 'ecosystem',
|
|
293
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace'],
|
|
294
|
+
canBePurchasedSeparately: true,
|
|
295
|
+
includedInPlans: ['oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
id: 'creator-tools',
|
|
299
|
+
name: 'Creator Tools Suite',
|
|
300
|
+
description: 'Professional content creation and editing tools',
|
|
301
|
+
price: 9.99,
|
|
302
|
+
currency: 'USD',
|
|
303
|
+
interval: 'month',
|
|
304
|
+
category: 'productivity',
|
|
305
|
+
appScope: 'specific',
|
|
306
|
+
applicableApps: ['oxy-creator', 'oxy-studio'],
|
|
307
|
+
canBePurchasedSeparately: true,
|
|
308
|
+
includedInPlans: ['oxy-creator']
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
id: 'monetization-features',
|
|
312
|
+
name: 'Monetization Features',
|
|
313
|
+
description: 'Revenue sharing, sponsorship tools, and creator fund access',
|
|
314
|
+
price: 12.99,
|
|
315
|
+
currency: 'USD',
|
|
316
|
+
interval: 'month',
|
|
317
|
+
category: 'productivity',
|
|
318
|
+
appScope: 'specific',
|
|
319
|
+
applicableApps: ['oxy-creator'],
|
|
320
|
+
canBePurchasedSeparately: true,
|
|
321
|
+
includedInPlans: ['oxy-creator']
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: 'workspace-collaboration',
|
|
325
|
+
name: 'Workspace Collaboration',
|
|
326
|
+
description: 'Advanced team features and project management tools',
|
|
327
|
+
price: 6.99,
|
|
328
|
+
currency: 'USD',
|
|
329
|
+
interval: 'month',
|
|
330
|
+
category: 'productivity',
|
|
331
|
+
appScope: 'specific',
|
|
332
|
+
applicableApps: ['oxy-workspace'],
|
|
333
|
+
canBePurchasedSeparately: true,
|
|
334
|
+
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
335
|
+
}
|
|
336
|
+
];
|
|
337
|
+
|
|
338
|
+
useEffect(() => {
|
|
339
|
+
detectCurrentApp();
|
|
340
|
+
}, []);
|
|
341
|
+
|
|
342
|
+
useEffect(() => {
|
|
343
|
+
if (currentAppPackage) {
|
|
344
|
+
loadSubscriptionData();
|
|
345
|
+
}
|
|
346
|
+
}, [currentAppPackage]);
|
|
347
|
+
|
|
348
|
+
const detectCurrentApp = () => {
|
|
349
|
+
const detectedApp = 'mention';
|
|
350
|
+
setCurrentAppPackage(detectedApp);
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
const loadSubscriptionData = async () => {
|
|
354
|
+
try {
|
|
355
|
+
setLoading(true);
|
|
356
|
+
|
|
357
|
+
const availablePlans = mockPlans.filter(plan =>
|
|
358
|
+
plan.applicableApps.includes(currentAppPackage)
|
|
359
|
+
);
|
|
360
|
+
setPlans(availablePlans);
|
|
361
|
+
|
|
362
|
+
let currentSubscription: UserSubscription | null = null;
|
|
363
|
+
if (user?.isPremium) {
|
|
364
|
+
currentSubscription = {
|
|
365
|
+
id: 'sub_12345',
|
|
366
|
+
planId: 'oxy-insider',
|
|
367
|
+
status: 'active',
|
|
368
|
+
currentPeriodStart: new Date().toISOString(),
|
|
369
|
+
currentPeriodEnd: new Date(Date.now() + PERIOD_MS).toISOString(),
|
|
370
|
+
cancelAtPeriodEnd: false
|
|
371
|
+
};
|
|
372
|
+
setSubscription(currentSubscription);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
const availableFeatures = mockIndividualFeatures.filter(feature =>
|
|
376
|
+
feature.applicableApps.includes(currentAppPackage)
|
|
377
|
+
);
|
|
378
|
+
|
|
379
|
+
const updatedFeatures = availableFeatures.map(feature => {
|
|
380
|
+
const isIncludedInCurrentPlan = !!(currentSubscription &&
|
|
381
|
+
feature.includedInPlans.includes(currentSubscription.planId));
|
|
382
|
+
|
|
383
|
+
return {
|
|
384
|
+
...feature,
|
|
385
|
+
isIncludedInCurrentPlan,
|
|
386
|
+
isSubscribed: !!isIncludedInCurrentPlan
|
|
387
|
+
};
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
setIndividualFeatures(updatedFeatures);
|
|
391
|
+
|
|
392
|
+
} catch (error) {
|
|
393
|
+
if (__DEV__) {
|
|
394
|
+
console.error('Failed to load subscription data:', error);
|
|
395
|
+
}
|
|
396
|
+
toast.error('Failed to load subscription information');
|
|
397
|
+
} finally {
|
|
398
|
+
setLoading(false);
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
const handleSubscribe = async (planId: string) => {
|
|
403
|
+
try {
|
|
404
|
+
const planToSubscribe = mockPlans.find(plan => plan.id === planId);
|
|
405
|
+
if (!planToSubscribe?.applicableApps.includes(currentAppPackage)) {
|
|
406
|
+
toast.error(t('premium.toasts.planUnavailable', { app: currentAppPackage }) || `This plan is not available for the current app (${currentAppPackage})`);
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (planId === 'mention-plus' && currentAppPackage !== 'mention') {
|
|
411
|
+
toast.error(t('premium.toasts.mentionOnly') || 'Mention+ is only available in the Mention app');
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
setSelectedPlan(planId);
|
|
416
|
+
setProcessingPayment(true);
|
|
417
|
+
await new Promise(resolve => setTimeout(resolve, SUBSCRIBE_DELAY_MS));
|
|
418
|
+
toast.success(t('premium.toasts.activated') || 'Subscription activated successfully!');
|
|
419
|
+
|
|
420
|
+
setSubscription({
|
|
421
|
+
id: `sub_${Date.now()}`,
|
|
422
|
+
planId,
|
|
423
|
+
status: 'active',
|
|
424
|
+
currentPeriodStart: new Date().toISOString(),
|
|
425
|
+
currentPeriodEnd: new Date(Date.now() + PERIOD_MS).toISOString(),
|
|
426
|
+
cancelAtPeriodEnd: false
|
|
427
|
+
});
|
|
428
|
+
|
|
429
|
+
loadSubscriptionData();
|
|
430
|
+
|
|
431
|
+
} catch (error) {
|
|
432
|
+
if (__DEV__) {
|
|
433
|
+
console.error('Payment failed:', error);
|
|
434
|
+
}
|
|
435
|
+
toast.error(t('premium.toasts.paymentFailed') || 'Payment failed. Please try again.');
|
|
436
|
+
} finally {
|
|
437
|
+
setProcessingPayment(false);
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
const handleCancelSubscription = useCallback(async () => {
|
|
442
|
+
const confirmed = await surfaces.confirm({
|
|
443
|
+
title: t('premium.confirms.cancelSubTitle') || 'Cancel Subscription',
|
|
444
|
+
description: t('premium.confirms.cancelSub') || 'Are you sure you want to cancel your subscription? You will lose access to premium features at the end of your current billing period.',
|
|
445
|
+
confirmLabel: t('premium.actions.cancelSubBtn') || 'Cancel Subscription',
|
|
446
|
+
cancelLabel: t('common.cancel') || 'Cancel',
|
|
447
|
+
destructive: true,
|
|
448
|
+
});
|
|
449
|
+
if (!confirmed) return;
|
|
450
|
+
try {
|
|
451
|
+
setSubscription(prev => prev ? {
|
|
452
|
+
...prev,
|
|
453
|
+
cancelAtPeriodEnd: true
|
|
454
|
+
} : null);
|
|
455
|
+
toast.success(t('premium.toasts.willCancel') || 'Subscription will be canceled at the end of the billing period');
|
|
456
|
+
} catch (error) {
|
|
457
|
+
toast.error(t('premium.toasts.cancelFailed') || 'Failed to cancel subscription');
|
|
458
|
+
}
|
|
459
|
+
}, [t]);
|
|
460
|
+
|
|
461
|
+
const handleReactivateSubscription = useCallback(async () => {
|
|
462
|
+
try {
|
|
463
|
+
setSubscription(prev => prev ? {
|
|
464
|
+
...prev,
|
|
465
|
+
cancelAtPeriodEnd: false
|
|
466
|
+
} : null);
|
|
467
|
+
toast.success(t('premium.toasts.reactivated') || 'Subscription reactivated successfully');
|
|
468
|
+
} catch (error) {
|
|
469
|
+
toast.error(t('premium.toasts.reactivateFailed') || 'Failed to reactivate subscription');
|
|
470
|
+
}
|
|
471
|
+
}, [t]);
|
|
472
|
+
|
|
473
|
+
const formatPrice = (price: number, interval: string) => {
|
|
474
|
+
const yearlyPrice = interval === 'year' ? price : price * MONTHS_PER_YEAR * YEARLY_DISCOUNT;
|
|
475
|
+
const displayPrice = billingInterval === 'year' ? yearlyPrice : price;
|
|
476
|
+
|
|
477
|
+
return {
|
|
478
|
+
price: displayPrice,
|
|
479
|
+
formatted: `$${displayPrice.toFixed(2)}`,
|
|
480
|
+
interval: billingInterval === 'year' ? 'year' : 'month'
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
const getCurrentPlan = () => {
|
|
485
|
+
if (!subscription) return null;
|
|
486
|
+
return plans.find(plan => plan.id === subscription.planId);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
const handleFeatureSubscribe = async (featureId: string) => {
|
|
490
|
+
try {
|
|
491
|
+
const featureToSubscribe = mockIndividualFeatures.find(feature => feature.id === featureId);
|
|
492
|
+
if (!featureToSubscribe?.applicableApps.includes(currentAppPackage)) {
|
|
493
|
+
toast.error(`This feature is not available for the current app (${currentAppPackage})`);
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
if (featureToSubscribe.appScope === 'specific') {
|
|
498
|
+
const hasExactMatch = featureToSubscribe.applicableApps.length === 1 &&
|
|
499
|
+
featureToSubscribe.applicableApps[0] === currentAppPackage;
|
|
500
|
+
if (!hasExactMatch && featureToSubscribe.applicableApps.length === 1) {
|
|
501
|
+
const requiredApp = featureToSubscribe.applicableApps[0];
|
|
502
|
+
toast.error(`${featureToSubscribe.name} is only available in the ${requiredApp} app`);
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
setProcessingPayment(true);
|
|
508
|
+
await new Promise(resolve => setTimeout(resolve, FEATURE_DELAY_MS));
|
|
509
|
+
|
|
510
|
+
setIndividualFeatures(prev =>
|
|
511
|
+
prev.map(feature =>
|
|
512
|
+
feature.id === featureId
|
|
513
|
+
? { ...feature, isSubscribed: true }
|
|
514
|
+
: feature
|
|
515
|
+
)
|
|
516
|
+
);
|
|
517
|
+
|
|
518
|
+
const feature = individualFeatures.find(f => f.id === featureId);
|
|
519
|
+
toast.success((t('premium.toasts.featureSubscribed', { name: feature?.name ?? '' }) ?? `Subscribed to ${feature?.name} successfully!`));
|
|
520
|
+
|
|
521
|
+
} catch (error) {
|
|
522
|
+
if (__DEV__) {
|
|
523
|
+
console.error('Feature subscription failed:', error);
|
|
524
|
+
}
|
|
525
|
+
toast.error(t('premium.toasts.featureSubscribeFailed') || 'Feature subscription failed. Please try again.');
|
|
526
|
+
} finally {
|
|
527
|
+
setProcessingPayment(false);
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
const handleFeatureUnsubscribe = useCallback(async (featureId: string) => {
|
|
532
|
+
const feature = individualFeatures.find(f => f.id === featureId);
|
|
533
|
+
const confirmed = await surfaces.confirm({
|
|
534
|
+
title: t('premium.confirms.unsubscribeFeatureTitle') || 'Unsubscribe from Feature',
|
|
535
|
+
description: feature
|
|
536
|
+
? (t('premium.confirms.unsubscribeFeature', { name: feature.name }) ?? `Are you sure you want to unsubscribe from ${feature.name}?`)
|
|
537
|
+
: '',
|
|
538
|
+
confirmLabel: t('premium.actions.unsubscribe') || 'Unsubscribe',
|
|
539
|
+
cancelLabel: t('common.cancel') || 'Cancel',
|
|
540
|
+
destructive: true,
|
|
541
|
+
});
|
|
542
|
+
if (!confirmed) return;
|
|
543
|
+
try {
|
|
544
|
+
setIndividualFeatures(prev =>
|
|
545
|
+
prev.map(f =>
|
|
546
|
+
f.id === featureId
|
|
547
|
+
? { ...f, isSubscribed: false }
|
|
548
|
+
: f
|
|
549
|
+
)
|
|
550
|
+
);
|
|
551
|
+
toast.success((t('premium.toasts.featureUnsubscribed', { name: feature?.name ?? '' }) ?? `Unsubscribed from ${feature?.name}`));
|
|
552
|
+
} catch (error) {
|
|
553
|
+
toast.error(t('premium.toasts.featureUnsubscribeFailed') || 'Failed to unsubscribe from feature');
|
|
554
|
+
}
|
|
555
|
+
}, [individualFeatures, t]);
|
|
556
|
+
|
|
557
|
+
const renderCurrentSubscription = () => {
|
|
558
|
+
if (!subscription) return null;
|
|
559
|
+
|
|
560
|
+
const currentPlan = getCurrentPlan();
|
|
561
|
+
if (!currentPlan) return null;
|
|
562
|
+
|
|
563
|
+
const statusChipColor =
|
|
564
|
+
subscription.status === 'active' ? 'success' :
|
|
565
|
+
subscription.status === 'trialing' ? 'warning' :
|
|
566
|
+
'error';
|
|
567
|
+
|
|
568
|
+
return (
|
|
569
|
+
<View className="mb-space-24">
|
|
570
|
+
<H5 className="text-text mb-space-12">
|
|
571
|
+
{t('premium.current.title') || 'Current Subscription'}
|
|
572
|
+
</H5>
|
|
573
|
+
|
|
574
|
+
<Card variant="outlined">
|
|
575
|
+
<CardBody style={{ padding: 20 }}>
|
|
576
|
+
<View className="flex-row justify-between items-start mb-space-12">
|
|
577
|
+
<View className="flex-1 pr-space-12">
|
|
578
|
+
<H4 className="text-text" numberOfLines={1}>{currentPlan.name}</H4>
|
|
579
|
+
<Text className="text-text-secondary text-sm mt-space-2">
|
|
580
|
+
{`$${currentPlan.price}/month`}
|
|
581
|
+
</Text>
|
|
582
|
+
</View>
|
|
583
|
+
<Badge variant="subtle" color={statusChipColor} size="large" content={subscription.status.toUpperCase()} />
|
|
584
|
+
</View>
|
|
585
|
+
|
|
586
|
+
<Text className="text-text-secondary text-sm mb-space-16">
|
|
587
|
+
{t('premium.current.renewsOn', { date: new Date(subscription.currentPeriodEnd).toLocaleDateString() }) || `Renews on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`}
|
|
588
|
+
</Text>
|
|
589
|
+
|
|
590
|
+
{subscription.cancelAtPeriodEnd && (
|
|
591
|
+
<View className="flex-row items-center bg-fill-secondary rounded-radius-12 p-space-12 mb-space-16">
|
|
592
|
+
<Ionicons name="warning" size={16} color={colors.warning} />
|
|
593
|
+
<Text className="text-text-secondary text-sm ml-space-8 flex-1">
|
|
594
|
+
{t('premium.current.willCancelOn', { date: new Date(subscription.currentPeriodEnd).toLocaleDateString() }) || `Subscription will cancel on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`}
|
|
595
|
+
</Text>
|
|
596
|
+
</View>
|
|
597
|
+
)}
|
|
598
|
+
|
|
599
|
+
<View className="flex-row gap-space-12">
|
|
600
|
+
{subscription.cancelAtPeriodEnd ? (
|
|
601
|
+
<Button
|
|
602
|
+
variant="primary"
|
|
603
|
+
onPress={handleReactivateSubscription}
|
|
604
|
+
className="flex-1"
|
|
605
|
+
accessibilityLabel={t('premium.actions.reactivate') || 'Reactivate'}
|
|
606
|
+
>
|
|
607
|
+
{t('premium.actions.reactivate') || 'Reactivate'}
|
|
608
|
+
</Button>
|
|
609
|
+
) : (
|
|
610
|
+
<Button
|
|
611
|
+
variant="destructive"
|
|
612
|
+
onPress={handleCancelSubscription}
|
|
613
|
+
className="flex-1"
|
|
614
|
+
accessibilityLabel={t('premium.actions.cancelSubBtn') || 'Cancel Subscription'}
|
|
615
|
+
>
|
|
616
|
+
{t('premium.actions.cancelSubBtn') || 'Cancel Subscription'}
|
|
617
|
+
</Button>
|
|
618
|
+
)}
|
|
619
|
+
|
|
620
|
+
<Button
|
|
621
|
+
variant="outline"
|
|
622
|
+
onPress={() => navigate?.('PaymentGateway')}
|
|
623
|
+
className="flex-1"
|
|
624
|
+
accessibilityLabel={t('premium.actions.manageBilling') || 'Manage Billing'}
|
|
625
|
+
>
|
|
626
|
+
{t('premium.actions.manageBilling') || 'Manage Billing'}
|
|
627
|
+
</Button>
|
|
628
|
+
</View>
|
|
629
|
+
</CardBody>
|
|
630
|
+
</Card>
|
|
631
|
+
</View>
|
|
632
|
+
);
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
const renderBillingToggle = () => (
|
|
636
|
+
<View className="mb-space-24">
|
|
637
|
+
<SegmentedControl<BillingInterval>
|
|
638
|
+
label={t('premium.billing.label') || 'Billing period'}
|
|
639
|
+
type="tabs"
|
|
640
|
+
value={billingInterval}
|
|
641
|
+
onChange={setBillingInterval}
|
|
642
|
+
>
|
|
643
|
+
<SegmentedControlItem value={BILLING_MONTH}>
|
|
644
|
+
<SegmentedControlItemText>
|
|
645
|
+
{t('premium.billing.monthly') || 'Monthly'}
|
|
646
|
+
</SegmentedControlItemText>
|
|
647
|
+
</SegmentedControlItem>
|
|
648
|
+
<SegmentedControlItem value={BILLING_YEAR}>
|
|
649
|
+
<SegmentedControlItemText>
|
|
650
|
+
{t('premium.billing.yearly') || 'Yearly'}
|
|
651
|
+
</SegmentedControlItemText>
|
|
652
|
+
</SegmentedControlItem>
|
|
653
|
+
</SegmentedControl>
|
|
654
|
+
|
|
655
|
+
{billingInterval === 'year' && (
|
|
656
|
+
<Text className="text-text-secondary text-sm text-center mt-space-12 font-medium">
|
|
657
|
+
{t('premium.billing.saveYearly') || 'Save 20% with yearly billing'}
|
|
658
|
+
</Text>
|
|
659
|
+
)}
|
|
660
|
+
</View>
|
|
661
|
+
);
|
|
662
|
+
|
|
663
|
+
const renderPlanCard = (plan: SubscriptionPlan) => {
|
|
664
|
+
const pricing = formatPrice(plan.price, plan.interval);
|
|
665
|
+
const isSelected = selectedPlan === plan.id;
|
|
666
|
+
const isCurrentPlan = subscription?.planId === plan.id;
|
|
667
|
+
const isAppSpecific = plan.appScope === 'specific' && plan.applicableApps.length === 1;
|
|
668
|
+
const isAvailableForCurrentApp = plan.applicableApps.includes(currentAppPackage);
|
|
669
|
+
|
|
670
|
+
const getAppScopeText = () => {
|
|
671
|
+
if (plan.appScope === 'ecosystem') {
|
|
672
|
+
return t('premium.plan.scope.allApps') || 'Works across all Oxy apps';
|
|
673
|
+
}
|
|
674
|
+
if (isAppSpecific) {
|
|
675
|
+
const appName = plan.applicableApps[0];
|
|
676
|
+
return t('premium.plan.scope.exclusive', { app: appName }) || `Exclusive to ${appName} app`;
|
|
677
|
+
}
|
|
678
|
+
return t('premium.plan.scope.availableIn', { apps: plan.applicableApps.join(', ') }) || `Available in: ${plan.applicableApps.join(', ')}`;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
const getAvailabilityStatus = () => {
|
|
682
|
+
if (isAppSpecific && !isAvailableForCurrentApp) {
|
|
683
|
+
const requiredApp = plan.applicableApps[0];
|
|
684
|
+
return {
|
|
685
|
+
available: false,
|
|
686
|
+
reason: t('premium.plan.scope.exclusive', { app: requiredApp }) || `Only available in ${requiredApp} app`
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
return { available: true, reason: null };
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
const availability = getAvailabilityStatus();
|
|
693
|
+
|
|
694
|
+
return (
|
|
695
|
+
<Card
|
|
696
|
+
key={plan.id}
|
|
697
|
+
variant="outlined"
|
|
698
|
+
style={[
|
|
699
|
+
{ marginBottom: 16 },
|
|
700
|
+
!availability.available ? { opacity: 0.6 } : null,
|
|
701
|
+
(isSelected || plan.isPopular) ? { borderColor: colors.primary, borderWidth: 2 } : null,
|
|
702
|
+
]}
|
|
703
|
+
>
|
|
704
|
+
<CardBody style={{ padding: 20 }}>
|
|
705
|
+
<View className="flex-row flex-wrap gap-space-8 mb-space-12">
|
|
706
|
+
{plan.isPopular && (
|
|
707
|
+
<Badge variant="solid" color="primary" size="large" content={t('premium.plan.badge.mostPopular') || 'Most Popular'} />
|
|
708
|
+
)}
|
|
709
|
+
{isAppSpecific && (
|
|
710
|
+
<Badge
|
|
711
|
+
variant="subtle"
|
|
712
|
+
color={isAvailableForCurrentApp ? 'success' : 'warning'}
|
|
713
|
+
size="large"
|
|
714
|
+
content={isAvailableForCurrentApp
|
|
715
|
+
? (t('premium.plan.badge.appExclusive') || 'App Exclusive')
|
|
716
|
+
: (t('premium.plan.badge.notAvailable') || 'Not Available')}
|
|
717
|
+
/>
|
|
718
|
+
)}
|
|
719
|
+
</View>
|
|
720
|
+
|
|
721
|
+
<View className="mb-space-16">
|
|
722
|
+
<H4 className="text-text mb-space-4">{plan.name}</H4>
|
|
723
|
+
<Text className="text-text-secondary text-sm">
|
|
724
|
+
{plan.description}
|
|
725
|
+
</Text>
|
|
726
|
+
<Text className="text-text-tertiary text-xs mt-space-4 italic">
|
|
727
|
+
{getAppScopeText()}
|
|
728
|
+
</Text>
|
|
729
|
+
{!availability.available && (
|
|
730
|
+
<Text className="text-xs mt-space-4 font-medium" style={{ color: colors.error }}>
|
|
731
|
+
{availability.reason}
|
|
732
|
+
</Text>
|
|
733
|
+
)}
|
|
734
|
+
</View>
|
|
735
|
+
|
|
736
|
+
<View className="flex-row items-baseline mb-space-20">
|
|
737
|
+
<H2 className="text-text">{pricing.formatted}</H2>
|
|
738
|
+
<Text className="text-text-secondary text-sm ml-space-4">
|
|
739
|
+
{t('premium.plan.perInterval', { interval: pricing.interval }) || `per ${pricing.interval}`}
|
|
740
|
+
</Text>
|
|
741
|
+
</View>
|
|
742
|
+
|
|
743
|
+
<BenefitList className="mb-space-24">
|
|
744
|
+
{plan.features.map((feature) => (
|
|
745
|
+
<BenefitRow
|
|
746
|
+
key={feature}
|
|
747
|
+
icon={<Ionicons name="checkmark" size={18} color={colors.success} />}
|
|
748
|
+
label={feature}
|
|
749
|
+
/>
|
|
750
|
+
))}
|
|
751
|
+
</BenefitList>
|
|
752
|
+
|
|
753
|
+
{isCurrentPlan ? (
|
|
754
|
+
<Button
|
|
755
|
+
variant="secondary"
|
|
756
|
+
disabled
|
|
757
|
+
icon={<Ionicons name="checkmark-circle" size={18} color={colors.success} />}
|
|
758
|
+
accessibilityLabel={t('premium.plan.current') || 'Current Plan'}
|
|
759
|
+
className="w-full"
|
|
760
|
+
>
|
|
761
|
+
{t('premium.plan.current') || 'Current Plan'}
|
|
762
|
+
</Button>
|
|
763
|
+
) : !availability.available ? (
|
|
764
|
+
<Button
|
|
765
|
+
variant="secondary"
|
|
766
|
+
disabled
|
|
767
|
+
accessibilityLabel={t('premium.plan.notAvailableInApp') || 'Not Available in Current App'}
|
|
768
|
+
className="w-full"
|
|
769
|
+
>
|
|
770
|
+
{t('premium.plan.notAvailableInApp') || 'Not Available in Current App'}
|
|
771
|
+
</Button>
|
|
772
|
+
) : (
|
|
773
|
+
<Button
|
|
774
|
+
variant={plan.isPopular ? 'primary' : 'secondary'}
|
|
775
|
+
onPress={() => handleSubscribe(plan.id)}
|
|
776
|
+
disabled={processingPayment}
|
|
777
|
+
loading={processingPayment && isSelected}
|
|
778
|
+
accessibilityLabel={t('premium.actions.subscribeTo', { name: plan.name }) || `Subscribe to ${plan.name}`}
|
|
779
|
+
className="w-full"
|
|
780
|
+
>
|
|
781
|
+
{t('premium.actions.subscribeTo', { name: plan.name }) || `Subscribe to ${plan.name}`}
|
|
782
|
+
</Button>
|
|
783
|
+
)}
|
|
784
|
+
</CardBody>
|
|
785
|
+
</Card>
|
|
786
|
+
);
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
const renderTabNavigation = () => (
|
|
790
|
+
<View className="mb-space-24">
|
|
791
|
+
<SegmentedControl<ActiveTab>
|
|
792
|
+
label={t('premium.tabs.label') || 'Subscription type'}
|
|
793
|
+
type="tabs"
|
|
794
|
+
value={activeTab}
|
|
795
|
+
onChange={setActiveTab}
|
|
796
|
+
>
|
|
797
|
+
<SegmentedControlItem value={TAB_PLANS}>
|
|
798
|
+
<SegmentedControlItemText>
|
|
799
|
+
{t('premium.tabs.plans') || 'Full Plans'}
|
|
800
|
+
</SegmentedControlItemText>
|
|
801
|
+
</SegmentedControlItem>
|
|
802
|
+
<SegmentedControlItem value={TAB_FEATURES}>
|
|
803
|
+
<SegmentedControlItemText>
|
|
804
|
+
{t('premium.tabs.features') || 'Individual Features'}
|
|
805
|
+
</SegmentedControlItemText>
|
|
806
|
+
</SegmentedControlItem>
|
|
807
|
+
</SegmentedControl>
|
|
808
|
+
</View>
|
|
809
|
+
);
|
|
810
|
+
|
|
811
|
+
const renderFeatureCard = (feature: IndividualFeature) => {
|
|
812
|
+
const pricing = formatPrice(feature.price, feature.interval);
|
|
813
|
+
const isSubscribed = feature.isSubscribed;
|
|
814
|
+
const isIncludedInCurrentPlan = feature.isIncludedInCurrentPlan;
|
|
815
|
+
const canPurchase = feature.canBePurchasedSeparately && !isIncludedInCurrentPlan;
|
|
816
|
+
|
|
817
|
+
const getCategoryColor = (category: string) => {
|
|
818
|
+
switch (category) {
|
|
819
|
+
case 'analytics': return colors.warning;
|
|
820
|
+
case 'customization': return colors.secondary;
|
|
821
|
+
case 'content': return colors.success;
|
|
822
|
+
case 'networking': return colors.info;
|
|
823
|
+
case 'productivity': return colors.error;
|
|
824
|
+
default: return colors.primary;
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
const getCategoryIcon = (category: string): IoniconName => {
|
|
829
|
+
switch (category) {
|
|
830
|
+
case 'analytics': return 'analytics';
|
|
831
|
+
case 'customization': return 'color-palette';
|
|
832
|
+
case 'content': return 'document-text';
|
|
833
|
+
case 'networking': return 'people';
|
|
834
|
+
case 'productivity': return 'briefcase';
|
|
835
|
+
default: return 'star';
|
|
836
|
+
}
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
const getAppScopeText = () => {
|
|
840
|
+
if (feature.appScope === 'ecosystem') {
|
|
841
|
+
return t('premium.feature.scope.allApps');
|
|
842
|
+
}
|
|
843
|
+
return t('premium.feature.scope.availableIn', { apps: feature.applicableApps.join(', ') }) || `Available in: ${feature.applicableApps.join(', ')}`;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
return (
|
|
847
|
+
<Card
|
|
848
|
+
key={feature.id}
|
|
849
|
+
variant="outlined"
|
|
850
|
+
style={[
|
|
851
|
+
{ marginBottom: 12 },
|
|
852
|
+
isIncludedInCurrentPlan
|
|
853
|
+
? { borderColor: colors.primary, borderWidth: 2 }
|
|
854
|
+
: isSubscribed
|
|
855
|
+
? { borderColor: colors.success, borderWidth: 2 }
|
|
856
|
+
: null,
|
|
857
|
+
]}
|
|
858
|
+
>
|
|
859
|
+
<CardBody style={{ padding: 16 }}>
|
|
860
|
+
<View className="flex-row items-start mb-space-12">
|
|
861
|
+
<View
|
|
862
|
+
className="bg-fill-secondary rounded-radius-max items-center justify-center mr-space-12"
|
|
863
|
+
style={{ width: 40, height: 40 }}
|
|
864
|
+
>
|
|
865
|
+
<Ionicons
|
|
866
|
+
name={getCategoryIcon(feature.category)}
|
|
867
|
+
size={24}
|
|
868
|
+
color={getCategoryColor(feature.category)}
|
|
869
|
+
/>
|
|
870
|
+
</View>
|
|
871
|
+
<View className="flex-1">
|
|
872
|
+
<View className="flex-row items-center justify-between mb-space-4">
|
|
873
|
+
<H5 className="text-text flex-1 pr-space-8" numberOfLines={1}>{feature.name}</H5>
|
|
874
|
+
{isIncludedInCurrentPlan && (
|
|
875
|
+
<Badge variant="solid" color="primary" size="large" content={t('premium.feature.included') || 'Included'} />
|
|
876
|
+
)}
|
|
877
|
+
</View>
|
|
878
|
+
<Text className="text-text-secondary text-sm">
|
|
879
|
+
{feature.description}
|
|
880
|
+
</Text>
|
|
881
|
+
<Text className="text-text-tertiary text-xs mt-space-4 italic">
|
|
882
|
+
{getAppScopeText()}
|
|
883
|
+
</Text>
|
|
884
|
+
</View>
|
|
885
|
+
</View>
|
|
886
|
+
|
|
887
|
+
{!isIncludedInCurrentPlan && (
|
|
888
|
+
<View className="items-center mb-space-16">
|
|
889
|
+
<H4 className="text-text">{pricing.formatted}</H4>
|
|
890
|
+
<Text className="text-text-secondary text-sm mt-space-2">
|
|
891
|
+
{t('premium.plan.perInterval', { interval: pricing.interval }) || `per ${pricing.interval}`}
|
|
892
|
+
</Text>
|
|
893
|
+
</View>
|
|
894
|
+
)}
|
|
895
|
+
|
|
896
|
+
{isIncludedInCurrentPlan ? (
|
|
897
|
+
<Button
|
|
898
|
+
variant="primary"
|
|
899
|
+
disabled
|
|
900
|
+
icon={<Ionicons name="checkmark-circle" size={16} color={colors.primaryForeground} />}
|
|
901
|
+
accessibilityLabel={t('premium.feature.includedInPlan') || 'Included in your plan'}
|
|
902
|
+
className="w-full"
|
|
903
|
+
>
|
|
904
|
+
{t('premium.feature.includedInPlan') || 'Included in your plan'}
|
|
905
|
+
</Button>
|
|
906
|
+
) : isSubscribed ? (
|
|
907
|
+
<View className="flex-row gap-space-8">
|
|
908
|
+
<Button
|
|
909
|
+
variant="secondary"
|
|
910
|
+
disabled
|
|
911
|
+
icon={<Ionicons name="checkmark" size={16} color={colors.success} />}
|
|
912
|
+
accessibilityLabel={t('premium.feature.subscribed') || 'Subscribed'}
|
|
913
|
+
className="flex-1"
|
|
914
|
+
>
|
|
915
|
+
{t('premium.feature.subscribed') || 'Subscribed'}
|
|
916
|
+
</Button>
|
|
917
|
+
<Button
|
|
918
|
+
variant="outline"
|
|
919
|
+
onPress={() => handleFeatureUnsubscribe(feature.id)}
|
|
920
|
+
accessibilityLabel={t('premium.actions.unsubscribe') || 'Unsubscribe'}
|
|
921
|
+
className="flex-1"
|
|
922
|
+
>
|
|
923
|
+
{t('premium.actions.unsubscribe') || 'Unsubscribe'}
|
|
924
|
+
</Button>
|
|
925
|
+
</View>
|
|
926
|
+
) : canPurchase ? (
|
|
927
|
+
<Button
|
|
928
|
+
variant="primary"
|
|
929
|
+
onPress={() => handleFeatureSubscribe(feature.id)}
|
|
930
|
+
disabled={processingPayment}
|
|
931
|
+
loading={processingPayment}
|
|
932
|
+
accessibilityLabel={t('premium.actions.subscribe') || 'Subscribe'}
|
|
933
|
+
className="w-full"
|
|
934
|
+
>
|
|
935
|
+
{t('premium.actions.subscribe') || 'Subscribe'}
|
|
936
|
+
</Button>
|
|
937
|
+
) : (
|
|
938
|
+
<Button
|
|
939
|
+
variant="secondary"
|
|
940
|
+
disabled
|
|
941
|
+
accessibilityLabel={t('premium.feature.plansOnly') || 'Only available in subscription plans'}
|
|
942
|
+
className="w-full"
|
|
943
|
+
>
|
|
944
|
+
{t('premium.feature.plansOnly') || 'Only available in subscription plans'}
|
|
945
|
+
</Button>
|
|
946
|
+
)}
|
|
947
|
+
</CardBody>
|
|
948
|
+
</Card>
|
|
949
|
+
);
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
const renderIndividualFeatures = () => (
|
|
953
|
+
<View className="mb-space-24">
|
|
954
|
+
<H4 className="text-text mb-space-8">
|
|
955
|
+
{t('premium.features.title') || 'Individual Features'}
|
|
956
|
+
</H4>
|
|
957
|
+
<Text className="text-text-secondary text-base mb-space-16">
|
|
958
|
+
{t('premium.features.subtitle') || 'Subscribe to specific features you need. Some features are included in subscription plans.'}
|
|
959
|
+
</Text>
|
|
960
|
+
|
|
961
|
+
{FEATURE_CATEGORIES.map(category => {
|
|
962
|
+
const categoryFeatures = individualFeatures.filter(f => f.category === category);
|
|
963
|
+
if (categoryFeatures.length === 0) return null;
|
|
964
|
+
|
|
965
|
+
return (
|
|
966
|
+
<View key={category} className="mb-space-24">
|
|
967
|
+
<H5 className="text-text mb-space-12">
|
|
968
|
+
{category.charAt(0).toUpperCase() + category.slice(1)}
|
|
969
|
+
</H5>
|
|
970
|
+
{categoryFeatures.map(renderFeatureCard)}
|
|
971
|
+
</View>
|
|
972
|
+
);
|
|
973
|
+
})}
|
|
974
|
+
</View>
|
|
975
|
+
);
|
|
976
|
+
|
|
977
|
+
// Show different app contexts for testing (development only).
|
|
978
|
+
const [showAppSwitcher] = useState(__DEV__);
|
|
979
|
+
|
|
980
|
+
const renderAppSwitcher = () => {
|
|
981
|
+
if (!showAppSwitcher) return null;
|
|
982
|
+
|
|
983
|
+
const testApps = ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'];
|
|
984
|
+
|
|
985
|
+
return (
|
|
986
|
+
<View className="bg-fill-secondary border border-border-image rounded-radius-12 p-space-16 mb-space-24">
|
|
987
|
+
<Text className="text-text-secondary text-sm font-medium mb-space-12">
|
|
988
|
+
{t('premium.dev.appContext') || 'Test App Context (Dev Only)'}
|
|
989
|
+
</Text>
|
|
990
|
+
<ScrollView horizontal showsHorizontalScrollIndicator={false}>
|
|
991
|
+
<View className="flex-row gap-space-8">
|
|
992
|
+
{testApps.map(app => (
|
|
993
|
+
<Chip
|
|
994
|
+
key={app}
|
|
995
|
+
variant={currentAppPackage === app ? 'solid' : 'outlined'}
|
|
996
|
+
color="primary"
|
|
997
|
+
onPress={() => setCurrentAppPackage(app)}
|
|
998
|
+
>
|
|
999
|
+
{app}
|
|
1000
|
+
</Chip>
|
|
1001
|
+
))}
|
|
1002
|
+
</View>
|
|
1003
|
+
</ScrollView>
|
|
1004
|
+
</View>
|
|
1005
|
+
);
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
if (loading) {
|
|
1009
|
+
return (
|
|
1010
|
+
<>
|
|
1011
|
+
<View className="items-center justify-center px-screen-margin py-space-40">
|
|
1012
|
+
<ActivityIndicator size="large" color={colors.primary} />
|
|
1013
|
+
<Text className="text-text-secondary text-base text-center mt-space-16">
|
|
1014
|
+
{t('premium.loading') || 'Loading subscription plans...'}
|
|
1015
|
+
</Text>
|
|
1016
|
+
</View>
|
|
1017
|
+
</>
|
|
1018
|
+
);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
return (
|
|
1022
|
+
<>
|
|
1023
|
+
|
|
1024
|
+
<View className="px-screen-margin pb-space-32">
|
|
1025
|
+
<View className="pt-space-20">
|
|
1026
|
+
{renderAppSwitcher()}
|
|
1027
|
+
|
|
1028
|
+
{subscription && renderCurrentSubscription()}
|
|
1029
|
+
|
|
1030
|
+
{!subscription && (
|
|
1031
|
+
<View className="mb-space-24">
|
|
1032
|
+
<H2 className="text-text mb-space-8">
|
|
1033
|
+
{t('premium.choosePlan') || 'Choose Your Plan'}
|
|
1034
|
+
</H2>
|
|
1035
|
+
<Text className="text-text-secondary text-base">
|
|
1036
|
+
{t('premium.choosePlanSubtitle') || 'Unlock premium features and take your experience to the next level'}
|
|
1037
|
+
</Text>
|
|
1038
|
+
</View>
|
|
1039
|
+
)}
|
|
1040
|
+
|
|
1041
|
+
{!subscription && renderTabNavigation()}
|
|
1042
|
+
|
|
1043
|
+
{!subscription && activeTab === TAB_PLANS && renderBillingToggle()}
|
|
1044
|
+
|
|
1045
|
+
{activeTab === TAB_PLANS ? (
|
|
1046
|
+
<View className="mb-space-24">
|
|
1047
|
+
{!subscription && (
|
|
1048
|
+
<H4 className="text-text mb-space-12">
|
|
1049
|
+
{t('premium.availablePlans') || 'Available Plans'}
|
|
1050
|
+
</H4>
|
|
1051
|
+
)}
|
|
1052
|
+
|
|
1053
|
+
{plans.map(renderPlanCard)}
|
|
1054
|
+
</View>
|
|
1055
|
+
) : (
|
|
1056
|
+
renderIndividualFeatures()
|
|
1057
|
+
)}
|
|
1058
|
+
|
|
1059
|
+
{/* Why go premium */}
|
|
1060
|
+
<View className="mb-space-24">
|
|
1061
|
+
<H4 className="text-text mb-space-12">
|
|
1062
|
+
{t('premium.why') || 'Why Go Premium?'}
|
|
1063
|
+
</H4>
|
|
1064
|
+
|
|
1065
|
+
<BenefitList>
|
|
1066
|
+
{([
|
|
1067
|
+
{
|
|
1068
|
+
icon: 'flash' as IoniconName,
|
|
1069
|
+
color: colors.primary,
|
|
1070
|
+
title: t('premium.benefits.performance.title') || 'Enhanced Performance',
|
|
1071
|
+
desc: t('premium.benefits.performance.desc') || 'Faster processing and priority access to our servers',
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
icon: 'shield-checkmark' as IoniconName,
|
|
1075
|
+
color: colors.success,
|
|
1076
|
+
title: t('premium.benefits.security.title') || 'Advanced Security',
|
|
1077
|
+
desc: t('premium.benefits.security.desc') || 'Enhanced encryption and security features',
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
icon: 'headset' as IoniconName,
|
|
1081
|
+
color: colors.warning,
|
|
1082
|
+
title: t('premium.benefits.support.title') || 'Priority Support',
|
|
1083
|
+
desc: t('premium.benefits.support.desc') || 'Get help faster with our premium support team',
|
|
1084
|
+
},
|
|
1085
|
+
]).map((benefit) => (
|
|
1086
|
+
<BenefitRow
|
|
1087
|
+
key={benefit.title}
|
|
1088
|
+
icon={<Ionicons name={benefit.icon} size={18} color={benefit.color} />}
|
|
1089
|
+
accessibilityLabel={`${benefit.title}. ${benefit.desc}`}
|
|
1090
|
+
>
|
|
1091
|
+
<Text className="text-text font-medium text-sm">{benefit.title}</Text>
|
|
1092
|
+
{`\n${benefit.desc}`}
|
|
1093
|
+
</BenefitRow>
|
|
1094
|
+
))}
|
|
1095
|
+
</BenefitList>
|
|
1096
|
+
</View>
|
|
1097
|
+
</View>
|
|
1098
|
+
</View>
|
|
1099
|
+
</>
|
|
1100
|
+
);
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
export default PremiumSubscriptionScreen;
|