@oxyhq/services 19.0.1 → 19.1.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/lib/commonjs/assets/assets/icons/OxyServices.tsx +5 -12
- package/lib/commonjs/assets/icons/OxyServices.js +7 -7
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/index.js +56 -25
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +121 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +10 -17
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +28 -92
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +127 -241
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialog.js +22 -18
- package/lib/commonjs/ui/components/OxyAccountDialog.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -6
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +45 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +20 -71
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +3 -3
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +30 -135
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +4 -2
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +99 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js +7 -10
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +9 -9
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +20 -23
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +6 -6
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +14 -9
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +55 -55
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +13 -13
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +129 -260
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/commonjs/ui/{components/TextField/Adornment/types.js → context/oxyContextTypes.js} +1 -1
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +91 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +9 -18
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +7 -5
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +2 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/index.js +10 -17
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +5 -44
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +9 -8
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +2 -3
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +8 -19
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +8 -8
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +59 -1105
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -8
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -4
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +9 -49
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +6 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +247 -224
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +21 -20
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +4 -4
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +12 -11
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +3 -2
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +3 -3
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +7 -8
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +114 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +512 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +59 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +475 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js +67 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +3 -2
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +4 -7
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +3 -3
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +4 -5
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/session/createSessionClient.js +2 -2
- package/lib/commonjs/ui/utils/crossOriginRestore.js +109 -0
- package/lib/commonjs/ui/utils/crossOriginRestore.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/oauthReturn.js +82 -0
- package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +1 -2
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/assets/assets/icons/OxyServices.tsx +5 -12
- package/lib/module/assets/icons/OxyServices.js +7 -7
- package/lib/module/assets/icons/OxyServices.js.map +1 -1
- package/lib/module/index.js +10 -9
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +116 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +3 -4
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +28 -92
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/Header.js +127 -241
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialog.js +22 -18
- package/lib/module/ui/components/OxyAccountDialog.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +4 -5
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +41 -0
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +21 -71
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +3 -3
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +34 -139
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +5 -3
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +95 -0
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/module/ui/components/RequireOxyAuth.js +7 -9
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +9 -9
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +20 -23
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +6 -6
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +14 -8
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +54 -54
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +13 -13
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +128 -259
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyContextHelpers.js +57 -0
- package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/module/ui/context/oxyContextTypes.js +4 -0
- package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/module/ui/context/useOxyAccountGraph.js +87 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +8 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +7 -5
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +2 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/index.js +2 -3
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +4 -41
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +8 -7
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +2 -3
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +7 -18
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +8 -8
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +53 -1098
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +9 -8
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +5 -4
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +11 -51
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +4 -7
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +247 -224
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +19 -18
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +3 -3
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +12 -11
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +3 -2
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +2 -2
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +6 -6
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +110 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +509 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js +55 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +471 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/shared.js +58 -0
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +3 -2
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +4 -7
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +3 -2
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +2 -3
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/session/createSessionClient.js +2 -2
- package/lib/module/ui/utils/crossOriginRestore.js +101 -0
- package/lib/module/ui/utils/crossOriginRestore.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/oauthReturn.js +78 -0
- package/lib/module/ui/utils/oauthReturn.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +1 -2
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -5
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +11 -6
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +29 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/client.d.ts +3 -4
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts +16 -21
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts +3 -7
- package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- 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/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +6 -10
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -185
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +123 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +26 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +2 -3
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +7 -5
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +2 -3
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +4 -34
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- 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 +38 -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 +39 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +34 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +2 -3
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +2 -2
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +2 -18
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/crossOriginRestore.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/crossOriginRestore.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/oauthReturn.d.ts +25 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -11
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -5
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +11 -6
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +29 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/module/ui/client.d.ts +3 -4
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts +16 -21
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts +3 -7
- package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -13
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- 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/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/types.d.ts +6 -10
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -185
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +123 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +26 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +2 -3
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +7 -5
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +2 -3
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +4 -34
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- 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 +38 -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 +39 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +34 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +2 -3
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +2 -2
- package/lib/typescript/module/ui/types/navigation.d.ts +2 -18
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/crossOriginRestore.d.ts +24 -0
- package/lib/typescript/module/ui/utils/crossOriginRestore.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/oauthReturn.d.ts +25 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -11
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -1
- package/package.json +29 -17
- package/src/assets/icons/OxyServices.tsx +5 -12
- package/src/index.ts +16 -10
- package/src/ui/boot/runProviderColdBoot.ts +150 -0
- package/src/ui/client.ts +3 -4
- package/src/ui/components/FollowButton.tsx +30 -95
- package/src/ui/components/Header.tsx +135 -405
- package/src/ui/components/OxyAccountDialog.tsx +18 -16
- package/src/ui/components/OxyConsentScreen.tsx +2 -2
- package/src/ui/components/OxyOAuthCallback.tsx +38 -0
- package/src/ui/components/OxyPayButton.tsx +11 -60
- package/src/ui/components/OxyProvider.tsx +3 -3
- package/src/ui/components/OxySignInButton.tsx +35 -134
- package/src/ui/components/ProfileButton.tsx +8 -3
- package/src/ui/components/ProfileSummaryCard.tsx +123 -0
- package/src/ui/components/RequireOxyAuth.tsx +3 -3
- package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +1 -3
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +9 -9
- package/src/ui/components/fileManagement/FileViewer.tsx +20 -22
- package/src/ui/components/fileManagement/UploadPreview.tsx +6 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +7 -7
- package/src/ui/components/payment/PaymentDetailsStep.tsx +49 -39
- package/src/ui/components/payment/paymentStyles.ts +14 -14
- package/src/ui/components/payment/types.ts +6 -10
- package/src/ui/context/OxyContext.tsx +136 -470
- package/src/ui/context/oxyContextHelpers.ts +58 -0
- package/src/ui/context/oxyContextTypes.ts +124 -0
- package/src/ui/context/useOxyAccountGraph.ts +114 -0
- package/src/ui/hooks/queryClient.ts +9 -20
- package/src/ui/hooks/useAuth.ts +7 -5
- package/src/ui/hooks/useSessionManagement.ts +2 -0
- package/src/ui/index.ts +2 -3
- package/src/ui/navigation/accountDialogManager.ts +4 -40
- package/src/ui/screens/ConnectedAppsScreen.tsx +8 -11
- package/src/ui/screens/EditProfileFieldScreen.tsx +2 -3
- package/src/ui/screens/EditProfileScreen.tsx +8 -14
- package/src/ui/screens/FAQScreen.tsx +7 -8
- package/src/ui/screens/FeedbackScreen.tsx +0 -1
- package/src/ui/screens/FileManagementScreen.tsx +54 -1158
- package/src/ui/screens/HistoryViewScreen.tsx +4 -4
- package/src/ui/screens/LanguageSelectorScreen.tsx +0 -1
- package/src/ui/screens/LegalDocumentsScreen.tsx +4 -3
- package/src/ui/screens/ManageAccountScreen.tsx +14 -47
- package/src/ui/screens/PaymentGatewayScreen.tsx +3 -7
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +33 -31
- package/src/ui/screens/PrivacySettingsScreen.tsx +14 -16
- package/src/ui/screens/ProfileScreen.tsx +3 -3
- package/src/ui/screens/SavesCollectionsScreen.tsx +11 -12
- package/src/ui/screens/SearchSettingsScreen.tsx +2 -2
- package/src/ui/screens/UserListScreen.tsx +2 -2
- package/src/ui/screens/WelcomeNewUserScreen.tsx +6 -7
- package/src/ui/screens/fileManagement/FileListSection.tsx +126 -0
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +611 -0
- package/src/ui/screens/fileManagement/UploadBar.tsx +48 -0
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +497 -0
- package/src/ui/screens/fileManagement/shared.ts +65 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustFAQScreen.tsx +4 -10
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -2
- package/src/ui/server.ts +2 -3
- package/src/ui/session/createSessionClient.ts +2 -2
- package/src/ui/types/navigation.ts +2 -18
- package/src/ui/utils/crossOriginRestore.ts +129 -0
- package/src/ui/utils/deviceCredential.ts +17 -0
- package/src/ui/utils/oauthReturn.ts +101 -0
- package/src/ui/utils/storageHelpers.ts +0 -12
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -203
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/AutoHeightScrollView.js +0 -46
- package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -181
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -106
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +0 -41
- package/lib/commonjs/ui/components/EmptyState.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -95
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +0 -112
- package/lib/commonjs/ui/components/Icon.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -153
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +0 -155
- package/lib/commonjs/ui/components/IconButton/utils.js.map +0 -1
- package/lib/commonjs/ui/components/LoadingState.js +0 -47
- package/lib/commonjs/ui/components/LoadingState.js.map +0 -1
- package/lib/commonjs/ui/components/OxyLogo.js +0 -110
- package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileCard.js +0 -134
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +0 -84
- package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -423
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/commonjs/ui/components/Surface.js +0 -258
- package/lib/commonjs/ui/components/Surface.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js +0 -46
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +0 -53
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -153
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +0 -144
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +0 -137
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +0 -22
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +0 -62
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +0 -176
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +0 -84
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +0 -381
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -365
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +0 -50
- package/lib/commonjs/ui/components/TextField/constants.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +0 -489
- package/lib/commonjs/ui/components/TextField/helpers.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +0 -335
- package/lib/commonjs/ui/components/TextField.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +0 -12
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +0 -258
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +0 -107
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +0 -56
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +0 -59
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +0 -26
- package/lib/commonjs/ui/components/Typography/types.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +0 -33
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -26
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/theming.js +0 -128
- package/lib/commonjs/ui/components/theming.js.map +0 -1
- package/lib/commonjs/ui/components/types.js +0 -6
- package/lib/commonjs/ui/components/types.js.map +0 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +0 -18
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/commonjs/ui/constants/iconColors.js +0 -84
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/theme.js +0 -124
- package/lib/commonjs/ui/constants/theme.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +0 -36
- package/lib/commonjs/ui/context/ThemeContext.js.map +0 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +0 -29
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +0 -1
- package/lib/commonjs/ui/styles/authStyles.js +0 -334
- package/lib/commonjs/ui/styles/authStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +0 -153
- package/lib/commonjs/ui/styles/theme.js.map +0 -1
- package/lib/module/ui/components/ActivityIndicator.js +0 -198
- package/lib/module/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +0 -41
- package/lib/module/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/module/ui/components/Avatar.js +0 -177
- package/lib/module/ui/components/Avatar.js.map +0 -1
- package/lib/module/ui/components/CrossFadeIcon.js +0 -101
- package/lib/module/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/module/ui/components/EmptyState.js +0 -36
- package/lib/module/ui/components/EmptyState.js.map +0 -1
- package/lib/module/ui/components/HelperText.js +0 -90
- package/lib/module/ui/components/HelperText.js.map +0 -1
- package/lib/module/ui/components/Icon.js +0 -106
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +0 -148
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +0 -149
- package/lib/module/ui/components/IconButton/utils.js.map +0 -1
- package/lib/module/ui/components/LoadingState.js +0 -42
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -104
- package/lib/module/ui/components/OxyLogo.js.map +0 -1
- package/lib/module/ui/components/ProfileCard.js +0 -129
- package/lib/module/ui/components/ProfileCard.js.map +0 -1
- package/lib/module/ui/components/QuickActions.js +0 -80
- package/lib/module/ui/components/QuickActions.js.map +0 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -418
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +0 -252
- package/lib/module/ui/components/Surface.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -40
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +0 -47
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -146
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -141
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +0 -135
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +0 -18
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -4
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +0 -57
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +0 -171
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js +0 -78
- package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +0 -376
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +0 -359
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/module/ui/components/TextField/constants.js +0 -46
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +0 -471
- package/lib/module/ui/components/TextField/helpers.js.map +0 -1
- package/lib/module/ui/components/TextField/types.js +0 -4
- package/lib/module/ui/components/TextField/types.js.map +0 -1
- package/lib/module/ui/components/TextField.js +0 -329
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +0 -9
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +0 -253
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -101
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +0 -50
- package/lib/module/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -54
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +0 -22
- package/lib/module/ui/components/Typography/types.js.map +0 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -28
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -22
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/theming.js +0 -123
- package/lib/module/ui/components/theming.js.map +0 -1
- package/lib/module/ui/components/types.js +0 -4
- package/lib/module/ui/components/types.js.map +0 -1
- package/lib/module/ui/components/utils/forwardRef.js +0 -13
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/constants/iconColors.js +0 -78
- package/lib/module/ui/constants/iconColors.js.map +0 -1
- package/lib/module/ui/constants/theme.js +0 -120
- package/lib/module/ui/constants/theme.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +0 -29
- package/lib/module/ui/context/ThemeContext.js.map +0 -1
- package/lib/module/ui/hooks/useColorScheme.js +0 -26
- package/lib/module/ui/hooks/useColorScheme.js.map +0 -1
- package/lib/module/ui/styles/authStyles.js +0 -329
- package/lib/module/ui/styles/authStyles.js.map +0 -1
- package/lib/module/ui/styles/theme.js +0 -147
- package/lib/module/ui/styles/theme.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +0 -61
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +0 -21
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/commonjs/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/commonjs/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts +0 -8
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts +0 -81
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/commonjs/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/theme.d.ts +0 -98
- package/lib/typescript/commonjs/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts +0 -8
- package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -328
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -75
- package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/module/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +0 -28
- package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +0 -61
- package/lib/typescript/module/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/module/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/module/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyLogo.d.ts +0 -16
- package/lib/typescript/module/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts +0 -21
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/module/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +0 -28
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/module/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +0 -17
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +0 -20
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/module/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/module/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/module/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts +0 -11
- package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/theming.d.ts +0 -8
- package/lib/typescript/module/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/types.d.ts +0 -81
- package/lib/typescript/module/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/module/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/module/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/theme.d.ts +0 -98
- package/lib/typescript/module/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useColorScheme.d.ts +0 -8
- package/lib/typescript/module/ui/hooks/useColorScheme.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -328
- package/lib/typescript/module/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/theme.d.ts +0 -75
- package/lib/typescript/module/ui/styles/theme.d.ts.map +0 -1
- package/src/ui/components/ActivityIndicator.tsx +0 -254
- package/src/ui/components/AutoHeightScrollView.tsx +0 -50
- package/src/ui/components/Avatar.tsx +0 -284
- package/src/ui/components/CrossFadeIcon.tsx +0 -140
- package/src/ui/components/EmptyState.tsx +0 -39
- package/src/ui/components/HelperText.tsx +0 -149
- package/src/ui/components/Icon.tsx +0 -189
- package/src/ui/components/IconButton/IconButton.tsx +0 -232
- package/src/ui/components/IconButton/utils.ts +0 -190
- package/src/ui/components/LoadingState.tsx +0 -46
- package/src/ui/components/OxyLogo.tsx +0 -82
- package/src/ui/components/ProfileCard.tsx +0 -137
- package/src/ui/components/QuickActions.tsx +0 -91
- package/src/ui/components/StepBasedScreen.tsx +0 -499
- package/src/ui/components/Surface.tsx +0 -384
- package/src/ui/components/TextField/Addons/Outline.tsx +0 -64
- package/src/ui/components/TextField/Addons/Underline.tsx +0 -78
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.tsx +0 -205
- package/src/ui/components/TextField/Adornment/TextFieldAffix.tsx +0 -212
- package/src/ui/components/TextField/Adornment/TextFieldIcon.tsx +0 -195
- package/src/ui/components/TextField/Adornment/enums.tsx +0 -12
- package/src/ui/components/TextField/Adornment/types.tsx +0 -11
- package/src/ui/components/TextField/Adornment/utils.ts +0 -66
- package/src/ui/components/TextField/Label/InputLabel.tsx +0 -219
- package/src/ui/components/TextField/Label/LabelBackground.tsx +0 -100
- package/src/ui/components/TextField/TextFieldFlat.tsx +0 -488
- package/src/ui/components/TextField/TextFieldOutlined.tsx +0 -464
- package/src/ui/components/TextField/constants.tsx +0 -48
- package/src/ui/components/TextField/helpers.tsx +0 -611
- package/src/ui/components/TextField/types.tsx +0 -160
- package/src/ui/components/TextField.tsx +0 -574
- package/src/ui/components/TouchableRipple/Pressable.tsx +0 -42
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +0 -146
- package/src/ui/components/TouchableRipple/TouchableRipple.tsx +0 -347
- package/src/ui/components/TouchableRipple/utils.ts +0 -66
- package/src/ui/components/Typography/AnimatedText.tsx +0 -106
- package/src/ui/components/Typography/types.tsx +0 -22
- package/src/ui/components/feedback/ProgressIndicator.tsx +0 -35
- package/src/ui/components/icon/OxyIcon.tsx +0 -31
- package/src/ui/components/theming.tsx +0 -126
- package/src/ui/components/types.tsx +0 -93
- package/src/ui/components/utils/forwardRef.tsx +0 -23
- package/src/ui/constants/iconColors.ts +0 -88
- package/src/ui/constants/theme.ts +0 -121
- package/src/ui/context/ThemeContext.tsx +0 -41
- package/src/ui/context/__tests__/OxyContext.coldBoot.test.tsx +0 -166
- package/src/ui/hooks/useColorScheme.ts +0 -24
- package/src/ui/styles/authStyles.ts +0 -348
- package/src/ui/styles/theme.ts +0 -169
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/FollowButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAC/E,OAAO,
|
|
1
|
+
{"version":3,"file":"FollowButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/FollowButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAC/E,OAAO,EACL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;A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EAAE,YAAY,EAAE,CAAC;AACxB,eAAe,YAAY,CAAC"}
|
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { type SharedValue } from 'react-native-reanimated';
|
|
3
|
-
export
|
|
3
|
+
export interface HeaderAction {
|
|
4
|
+
/** Ionicons name — rendered as a circular icon button when no `text` is set. */
|
|
5
|
+
icon?: string;
|
|
6
|
+
/** Label — rendered as a filled pill button (takes precedence over `icon`). */
|
|
7
|
+
text?: string;
|
|
8
|
+
onPress: () => void;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Stable identity for lists; falls back to the array index. */
|
|
12
|
+
key?: string;
|
|
13
|
+
}
|
|
4
14
|
export interface HeaderProps {
|
|
5
15
|
title: string;
|
|
6
16
|
subtitle?: string;
|
|
7
17
|
onBack?: () => void;
|
|
8
18
|
onClose?: () => void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
onPress: () => void;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
text?: string;
|
|
15
|
-
key?: string;
|
|
16
|
-
};
|
|
17
|
-
rightActions?: Array<{
|
|
18
|
-
icon?: string;
|
|
19
|
-
onPress: () => void;
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
text?: string;
|
|
23
|
-
key?: string;
|
|
24
|
-
}>;
|
|
25
|
-
theme?: 'light' | 'dark';
|
|
19
|
+
/** Trailing action buttons, rendered left-to-right before the close button. */
|
|
20
|
+
actions?: HeaderAction[];
|
|
26
21
|
showBackButton?: boolean;
|
|
27
22
|
showCloseButton?: boolean;
|
|
28
|
-
|
|
29
|
-
onThemeToggle?: () => void;
|
|
30
|
-
variant?: 'default' | 'large' | 'minimal' | 'gradient';
|
|
23
|
+
variant?: 'default' | 'minimal';
|
|
31
24
|
elevation?: 'none' | 'subtle' | 'prominent';
|
|
32
25
|
subtitleVariant?: 'default' | 'small' | 'large' | 'muted';
|
|
33
26
|
titleAlignment?: 'left' | 'center' | 'right';
|
|
27
|
+
/** Shared scroll offset — enables sticky translate-up behavior on native. */
|
|
34
28
|
scrollY?: SharedValue<number>;
|
|
35
29
|
}
|
|
30
|
+
export declare const getHeaderHeight: (variant?: HeaderProps["variant"], safeAreaTop?: number) => number;
|
|
36
31
|
declare const Header: React.FC<HeaderProps>;
|
|
37
32
|
export default Header;
|
|
38
33
|
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAA2B,EAAgD,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS7H,MAAM,WAAW,YAAY;IACzB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;IAC5C,eAAe,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAC1D,cAAc,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC7C,6EAA6E;IAC7E,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,eAAe,GAAI,UAAS,WAAW,CAAC,SAAS,CAAa,EAAE,oBAAe,KAAG,MAK9F,CAAC;AAyBF,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgGjC,CAAC;AAkDF,eAAe,MAAM,CAAC"}
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
* OxyAccountDialog — the ONE unified account dialog for `@oxyhq/services`.
|
|
3
3
|
*
|
|
4
4
|
* A thin React Native binding over the headless `AccountDialogController` in
|
|
5
|
-
* `@oxyhq/core` (bound via `useSyncExternalStore`), presented as a
|
|
6
|
-
*
|
|
7
|
-
* before (`ProfileMenu`, `AccountMenu`, `AccountSwitcher`, `SignInAccountChooser`,
|
|
8
|
-
* and `SignInModal`) with a single implementation whose data + state machine live
|
|
9
|
-
* in core, so the RN and web (auth-sdk) bindings render the SAME list from the
|
|
10
|
-
* SAME logic and cannot diverge.
|
|
5
|
+
* `@oxyhq/core` (bound via `useSyncExternalStore`), presented as a Bloom `<Dialog>`.
|
|
6
|
+
* One surface for account switching and sign-in — data and state machine live in core.
|
|
11
7
|
*
|
|
12
8
|
* Views (from `snapshot.view`):
|
|
13
9
|
* - `accounts` — the unified `SwitchableAccount[]` list (device sign-ins ∪ graph
|
|
@@ -44,7 +40,7 @@
|
|
|
44
40
|
import type React from 'react';
|
|
45
41
|
/**
|
|
46
42
|
* The unified account dialog. Mounted once by `OxyProvider`; opened imperatively
|
|
47
|
-
* via `useOxy().openAccountDialog(view?)`
|
|
43
|
+
* via `useOxy().openAccountDialog(view?)` or imperative `openAccountDialog('signin')`.
|
|
48
44
|
*/
|
|
49
45
|
declare const OxyAccountDialog: React.FC;
|
|
50
46
|
export default OxyAccountDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxyAccountDialog.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAccountDialog.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"OxyAccountDialog.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAccountDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiE/B;;;GAGG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAqI7B,CAAC;AA8eF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface OxyOAuthCallbackProps {
|
|
2
|
+
/** Where to navigate after OAuth exchange completes. @default '/' */
|
|
3
|
+
redirectTo?: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Optional dedicated OAuth callback route for apps using `/oauth/callback`.
|
|
7
|
+
* `OxyProvider` cold boot handles `?code=` on any route; mount this on the
|
|
8
|
+
* callback path for a Clerk-style loading shell while auth resolves.
|
|
9
|
+
*/
|
|
10
|
+
export declare function OxyOAuthCallback({ redirectTo }: OxyOAuthCallbackProps): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=OxyOAuthCallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OxyOAuthCallback.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyOAuthCallback.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,UAAgB,EAAE,EAAE,qBAAqB,+BAsB3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxyPayButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyPayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OxyPayButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyPayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9E,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAGzF,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4B7C,CAAC;AAcF,eAAe,YAAY,CAAC"}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { type ViewStyle, type TextStyle, type StyleProp } from 'react-native';
|
|
3
|
-
/**
|
|
4
|
-
* `sessionStorage` keys under which a third-party "Sign in with Oxy" OAuth flow
|
|
5
|
-
* persists its CSRF `state` and PKCE `code_verifier` across the authorize
|
|
6
|
-
* redirect. The Relying Party's redirect-URI callback reads them back to
|
|
7
|
-
* validate the returned `state` and replay the verifier on the token exchange.
|
|
8
|
-
*
|
|
9
|
-
* Web only: a browser RP navigates away to `auth.oxy.so` and back, so the
|
|
10
|
-
* handshake must survive a full-page redirect. Native completes the flow inside
|
|
11
|
-
* a single `WebBrowser` auth session and surfaces the handshake via
|
|
12
|
-
* {@link OxySignInButtonProps.onOAuthResult} instead.
|
|
13
|
-
*/
|
|
14
|
-
export declare const OXY_OAUTH_STATE_STORAGE_KEY = "oxy_oauth_state";
|
|
15
|
-
export declare const OXY_OAUTH_CODE_VERIFIER_STORAGE_KEY = "oxy_oauth_code_verifier";
|
|
16
3
|
/**
|
|
17
4
|
* The OAuth handshake surfaced to a NATIVE third-party RP via
|
|
18
5
|
* {@link OxySignInButtonProps.onOAuthResult} so it can finish the code exchange
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxySignInButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxySignInButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"OxySignInButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxySignInButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAY,MAAM,cAAc,CAAC;AAoBxF;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC3B,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;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyP/C,CAAC;AAqDF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* ProfileSummaryCard — the shared "who am I" summary block rendered at the top
|
|
4
|
+
* of {@link ManageAccountScreen} and {@link EditProfileScreen}.
|
|
5
|
+
*
|
|
6
|
+
* A Bloom filled {@link Card} containing a centered {@link Avatar}, the display
|
|
7
|
+
* name and any number of secondary lines (handle, email, …). When
|
|
8
|
+
* `onAvatarPress` is supplied the avatar becomes a {@link PressableScale} entry
|
|
9
|
+
* point (used to open the avatar picker) and can render an optional camera
|
|
10
|
+
* badge overlay.
|
|
11
|
+
*/
|
|
12
|
+
export interface ProfileSummaryCardProps {
|
|
13
|
+
/** Primary display name shown under the avatar. */
|
|
14
|
+
displayName: string;
|
|
15
|
+
/** Resolved avatar thumbnail URL (undefined → initials fallback). */
|
|
16
|
+
avatarUri?: string;
|
|
17
|
+
/** Avatar diameter in px. Defaults to 72. */
|
|
18
|
+
avatarSize?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Secondary lines rendered beneath the name (e.g. `@handle`, email).
|
|
21
|
+
* Falsy entries are skipped so callers can pass conditional values inline.
|
|
22
|
+
*/
|
|
23
|
+
lines?: Array<string | null | undefined | false>;
|
|
24
|
+
/** When provided, the avatar is pressable (e.g. opens the avatar picker). */
|
|
25
|
+
onAvatarPress?: () => void;
|
|
26
|
+
/** Render the camera badge overlay. Only meaningful with `onAvatarPress`. */
|
|
27
|
+
showCameraBadge?: boolean;
|
|
28
|
+
/** Accessibility label for the pressable avatar. */
|
|
29
|
+
avatarAccessibilityLabel?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const ProfileSummaryCard: React.FC<ProfileSummaryCardProps>;
|
|
32
|
+
export default ProfileSummaryCard;
|
|
33
|
+
//# sourceMappingURL=ProfileSummaryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileSummaryCard.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/ProfileSummaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B;;;;;;;;;GASG;AACH,MAAM,WAAW,uBAAuB;IACpC,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAC,CAAC;IACjD,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,6EAA6E;IAC7E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oDAAoD;IACpD,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC;AAuBD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA4DzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/FileViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"FileViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/FileViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,UAAU,eAAe;IACrB,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqXhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteAccountModal.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/modals/DeleteAccountModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteAccountModal.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/modals/DeleteAccountModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAU,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG/D,UAAU,uBAAuB;IAC7B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CAC3E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6FzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentDetailsStep.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/payment/PaymentDetailsStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGjF,UAAU,uBAAuB;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PaymentDetailsStep.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/payment/PaymentDetailsStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGjF,UAAU,uBAAuB;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA2MzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { Animated } from 'react-native';
|
|
3
3
|
import type { Ionicons } from '@expo/vector-icons';
|
|
4
|
+
import type { ThemeColors } from '@oxyhq/bloom/theme';
|
|
4
5
|
export type PaymentItem = {
|
|
5
6
|
type: 'product' | 'subscription' | 'service' | 'fee' | string;
|
|
6
7
|
name: string;
|
|
@@ -31,14 +32,9 @@ export interface PaymentStepAnimations {
|
|
|
31
32
|
slideAnim: Animated.Value;
|
|
32
33
|
scaleAnim: Animated.Value;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
success?: string;
|
|
40
|
-
error?: string;
|
|
41
|
-
background?: string;
|
|
42
|
-
card?: string;
|
|
43
|
-
}
|
|
35
|
+
/**
|
|
36
|
+
* Payment wizard steps consume bloom's ThemeColors directly (no adapter).
|
|
37
|
+
* Screen shells pass `useTheme().colors` straight through.
|
|
38
|
+
*/
|
|
39
|
+
export type PaymentColors = ThemeColors;
|
|
44
40
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/payment/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/payment/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;IACpD,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC;IACzB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC1B,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC"}
|
|
@@ -1,189 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
|
|
4
|
-
import type { User, ApiError, SessionLoginResponse, AccountNode, CreateAccountInput, ClientSession, AccountDialogController, AccountDialogView } from '@oxyhq/core';
|
|
5
|
-
import type { SecurityAlert } from '@oxyhq/contracts';
|
|
6
|
-
import type { UseFollowHook } from '../hooks/useFollow.types';
|
|
7
|
-
import { useLanguageManagement } from '../hooks/useLanguageManagement';
|
|
8
|
-
import type { RouteName } from '../navigation/routes';
|
|
9
|
-
export interface OxyContextState {
|
|
10
|
-
user: User | null;
|
|
11
|
-
sessions: ClientSession[];
|
|
12
|
-
activeSessionId: string | null;
|
|
13
|
-
isAuthenticated: boolean;
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
isTokenReady: boolean;
|
|
16
|
-
hasAccessToken: boolean;
|
|
17
|
-
canUsePrivateApi: boolean;
|
|
18
|
-
isPrivateApiPending: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Whether the initial auth determination has concluded.
|
|
21
|
-
*
|
|
22
|
-
* `false` from mount until the FIRST device-first cold boot resolves —
|
|
23
|
-
* during that window `isAuthenticated: false` is UNDETERMINED, not a
|
|
24
|
-
* definitive "logged out". Flips to `true` exactly once the boot concludes
|
|
25
|
-
* (a session was committed OR none exists) and never reverts. Consumers should
|
|
26
|
-
* defer their first auth-dependent fetch until this is `true` so a cold-boot
|
|
27
|
-
* web reload with an existing session does not fetch anonymous data.
|
|
28
|
-
*/
|
|
29
|
-
isAuthResolved: boolean;
|
|
30
|
-
isStorageReady: boolean;
|
|
31
|
-
error: string | null;
|
|
32
|
-
currentLanguage: string;
|
|
33
|
-
currentLanguageMetadata: ReturnType<typeof useLanguageManagement>['metadata'];
|
|
34
|
-
currentLanguageName: string;
|
|
35
|
-
currentNativeLanguageName: string;
|
|
36
|
-
hasIdentity: () => Promise<boolean>;
|
|
37
|
-
getPublicKey: () => Promise<string | null>;
|
|
38
|
-
signIn: (publicKey: string, deviceName?: string) => Promise<User>;
|
|
39
|
-
/**
|
|
40
|
-
* Sign in with a username/email + password.
|
|
41
|
-
*
|
|
42
|
-
* Commits a successful session into context state through the SAME path the
|
|
43
|
-
* QR device-flow and cold boot use (so `isAuthenticated` / `user` update and
|
|
44
|
-
* the zero-cookie device credential is persisted). Returns a discriminated result
|
|
45
|
-
* so the caller can branch on the two-factor-required case — which creates NO
|
|
46
|
-
* session; the caller completes the 2FA challenge with the returned
|
|
47
|
-
* `loginToken` via {@link OxyContextState.completeTwoFactorSignIn}.
|
|
48
|
-
*/
|
|
49
|
-
signInWithPassword: (identifier: string, password: string, opts?: {
|
|
50
|
-
deviceName?: string;
|
|
51
|
-
deviceFingerprint?: string;
|
|
52
|
-
}) => Promise<PasswordSignInResult>;
|
|
53
|
-
/**
|
|
54
|
-
* Complete a 2FA-gated password sign-in started by {@link signInWithPassword}.
|
|
55
|
-
* Presents the short-lived `loginToken` with a TOTP `token` or a `backupCode`;
|
|
56
|
-
* on success the session is committed exactly like a one-step sign-in. Returns
|
|
57
|
-
* any `securityAlert` the server attached so the caller can show the same
|
|
58
|
-
* "New sign-in detected" acknowledgement as the one-step path.
|
|
59
|
-
*/
|
|
60
|
-
completeTwoFactorSignIn: (params: {
|
|
61
|
-
loginToken: string;
|
|
62
|
-
token?: string;
|
|
63
|
-
backupCode?: string;
|
|
64
|
-
deviceName?: string;
|
|
65
|
-
}) => Promise<{
|
|
66
|
-
securityAlert?: SecurityAlert;
|
|
67
|
-
}>;
|
|
68
|
-
/**
|
|
69
|
-
* Commit a session obtained out-of-band (the "Sign in with Oxy" QR device
|
|
70
|
-
* flow). Plants tokens, persists the zero-cookie device credential, registers
|
|
71
|
-
* the account into the device set, and hydrates the full user profile.
|
|
72
|
-
*/
|
|
73
|
-
handleWebSession: (session: SessionLoginResponse) => Promise<void>;
|
|
74
|
-
logout: (targetSessionId?: string) => Promise<void>;
|
|
75
|
-
logoutAll: () => Promise<void>;
|
|
76
|
-
switchSession: (sessionId: string) => Promise<User>;
|
|
77
|
-
removeSession: (sessionId: string) => Promise<void>;
|
|
78
|
-
refreshSessions: () => Promise<void>;
|
|
79
|
-
setLanguage: (languageId: string) => Promise<void>;
|
|
80
|
-
getDeviceSessions: () => Promise<Array<{
|
|
81
|
-
sessionId: string;
|
|
82
|
-
deviceId: string;
|
|
83
|
-
deviceName?: string;
|
|
84
|
-
lastActive?: string;
|
|
85
|
-
expiresAt?: string;
|
|
86
|
-
}>>;
|
|
87
|
-
logoutAllDeviceSessions: () => Promise<void>;
|
|
88
|
-
updateDeviceName: (deviceName: string) => Promise<void>;
|
|
89
|
-
clearSessionState: () => Promise<void>;
|
|
90
|
-
clearAllAccountData: () => Promise<void>;
|
|
91
|
-
storageKeyPrefix: string;
|
|
92
|
-
/**
|
|
93
|
-
* The app's Oxy OAuth client id / ApplicationCredential publicKey, as
|
|
94
|
-
* supplied via the `clientId` prop. Required for the cross-app device
|
|
95
|
-
* sign-in flow: the sign-in components send it to
|
|
96
|
-
* `POST /auth/session/create` so the API can identify the requesting app by
|
|
97
|
-
* its real registered client id. `null` when the consuming app did not
|
|
98
|
-
* configure a client id — the device sign-in flow surfaces a configuration
|
|
99
|
-
* error in that case.
|
|
100
|
-
*/
|
|
101
|
-
clientId: string | null;
|
|
102
|
-
oxyServices: OxyServices;
|
|
103
|
-
useFollow?: UseFollowHook;
|
|
104
|
-
showBottomSheet?: (screenOrConfig: RouteName | {
|
|
105
|
-
screen: RouteName;
|
|
106
|
-
props?: Record<string, unknown>;
|
|
107
|
-
}) => void;
|
|
108
|
-
openAvatarPicker: () => void;
|
|
109
|
-
/** The headless controller driving {@link openAccountDialog}. `null` before mount. */
|
|
110
|
-
accountDialogController: AccountDialogController | null;
|
|
111
|
-
/** Whether the unified account dialog is currently presented. */
|
|
112
|
-
isAccountDialogOpen: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Open the unified account dialog. `accounts` (default) shows the switcher;
|
|
115
|
-
* `signin` / `add` open the sign-in entry. Replaces every prior device/account
|
|
116
|
-
* surface and the standalone sign-in modal.
|
|
117
|
-
*/
|
|
118
|
-
openAccountDialog: (view?: AccountDialogView) => void;
|
|
119
|
-
/** Dismiss the unified account dialog and cancel any in-flight sign-in flow. */
|
|
120
|
-
closeAccountDialog: () => void;
|
|
121
|
-
/** Every account the caller can access — own personal root, owned, and shared — from `listAccounts()`. */
|
|
122
|
-
accounts: AccountNode[];
|
|
123
|
-
/**
|
|
124
|
-
* Switch the active session INTO an account from the {@link accounts} graph.
|
|
125
|
-
*
|
|
126
|
-
* Uniform with every other account switch: if the account is already on this
|
|
127
|
-
* device's multi-account set, switches straight through the same
|
|
128
|
-
* server-authoritative `SessionClient.switchAccount()` path {@link switchSession}
|
|
129
|
-
* uses. Only the FIRST switch into an account mints+plants a real session via
|
|
130
|
-
* `oxyServices.switchToAccount` and registers it into the device set, so it
|
|
131
|
-
* survives reload and appears in the device account list exactly like a device
|
|
132
|
-
* sign-in from then on. Either way, afterwards `user` IS the target account.
|
|
133
|
-
*/
|
|
134
|
-
switchToAccount: (accountId: string) => Promise<void>;
|
|
135
|
-
refreshAccounts: () => Promise<void>;
|
|
136
|
-
createAccount: (data: CreateAccountInput) => Promise<AccountNode>;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Result of {@link OxyContextState.signInWithPassword}.
|
|
140
|
-
*
|
|
141
|
-
* `'ok'` — the password was accepted and the session committed (so
|
|
142
|
-
* `isAuthenticated` / `user` are updated and the device credential persisted).
|
|
143
|
-
* `securityAlert` is present when the server flagged this sign-in as anomalous
|
|
144
|
-
* (new device / location) — the caller shows a "New sign-in detected"
|
|
145
|
-
* acknowledgement before proceeding; the session is already committed.
|
|
146
|
-
*
|
|
147
|
-
* `'2fa_required'` — the account has two-factor auth enabled, so NO session was
|
|
148
|
-
* created. Complete the challenge with the returned short-lived `loginToken`
|
|
149
|
-
* via {@link OxyContextState.completeTwoFactorSignIn}.
|
|
150
|
-
*/
|
|
151
|
-
export type PasswordSignInResult = {
|
|
152
|
-
status: 'ok';
|
|
153
|
-
securityAlert?: SecurityAlert;
|
|
154
|
-
} | {
|
|
155
|
-
status: '2fa_required';
|
|
156
|
-
loginToken: string;
|
|
157
|
-
};
|
|
158
|
-
export interface OxyContextProviderProps {
|
|
159
|
-
children: ReactNode;
|
|
160
|
-
oxyServices?: OxyServices;
|
|
161
|
-
baseURL?: string;
|
|
162
|
-
authWebUrl?: string;
|
|
163
|
-
authRedirectUri?: string;
|
|
164
|
-
storageKeyPrefix?: string;
|
|
165
|
-
/**
|
|
166
|
-
* The app's Oxy OAuth client id / ApplicationCredential publicKey; required
|
|
167
|
-
* for the cross-app device sign-in flow. See {@link OxyContextState.clientId}.
|
|
168
|
-
*/
|
|
169
|
-
clientId?: string;
|
|
170
|
-
/**
|
|
171
|
-
* Whether this provider is the device-first **session authority**. `true`
|
|
172
|
-
* (default) runs `runSessionColdBoot` on mount and opens the signed-out
|
|
173
|
-
* device-state socket — the correct behavior for every Relying Party app.
|
|
174
|
-
*
|
|
175
|
-
* `false` is the IdP host (`auth.oxy.so`) opt-out: the IdP is NOT a session
|
|
176
|
-
* authority (handoff "IdP vs RP"), so it must NOT restore or reproject an
|
|
177
|
-
* ambient device session. With `coldBoot={false}` the cold boot never runs
|
|
178
|
-
* and the signed-out device socket never opens; auth resolves immediately as
|
|
179
|
-
* signed out. Interactive sign-in still commits a normal session on this
|
|
180
|
-
* origin — only the automatic restore/reproject is suppressed.
|
|
181
|
-
* @default true
|
|
182
|
-
*/
|
|
183
|
-
coldBoot?: boolean;
|
|
184
|
-
onAuthStateChange?: (user: User | null) => void;
|
|
185
|
-
onError?: (error: ApiError) => void;
|
|
186
|
-
}
|
|
2
|
+
import { type OxyContextState, type OxyContextProviderProps } from './oxyContextTypes';
|
|
3
|
+
export type { OxyContextState, PasswordSignInResult, OxyContextProviderProps } from './oxyContextTypes';
|
|
187
4
|
export declare const OxyProvider: React.FC<OxyContextProviderProps>;
|
|
188
5
|
export declare const OxyContextProvider: React.FC<OxyContextProviderProps>;
|
|
189
6
|
export declare const useOxy: () => OxyContextState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2D/B,OAAO,EACL,KAAK,eAAe,EAEpB,KAAK,uBAAuB,EAE7B,MAAM,mBAAmB,CAAC;AAI3B,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAIxG,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA83BzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAAc,CAAC;AA+D9C,eAAO,MAAM,MAAM,QAAO,eAMzB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { UseFollowHook } from '../hooks/useFollow.types';
|
|
2
|
+
/** Local display hint when a session lacks explicit `expiresAt` (7 days). */
|
|
3
|
+
export declare const DEFAULT_SESSION_VALIDITY_MS: number;
|
|
4
|
+
export declare function getHttpStatus(error: unknown): number | undefined;
|
|
5
|
+
export declare function isUnauthorizedStatus(error: unknown): boolean;
|
|
6
|
+
export declare const loadUseFollowHook: () => UseFollowHook;
|
|
7
|
+
//# sourceMappingURL=oxyContextHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oxyContextHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/oxyContextHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,6EAA6E;AAC7E,eAAO,MAAM,2BAA2B,QAA0B,CAAC;AAEnE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAoBhE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAID,eAAO,MAAM,iBAAiB,QAAO,aAuBpC,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { OxyServices, User, SessionLoginResponse, AccountNode, CreateAccountInput, ClientSession, AccountDialogController, AccountDialogView, ApiError } from '@oxyhq/core';
|
|
3
|
+
import type { SecurityAlert } from '@oxyhq/contracts';
|
|
4
|
+
import type { UseFollowHook } from '../hooks/useFollow.types';
|
|
5
|
+
import type { useLanguageManagement } from '../hooks/useLanguageManagement';
|
|
6
|
+
import type { RouteName } from '../navigation/routes';
|
|
7
|
+
export interface OxyContextState {
|
|
8
|
+
user: User | null;
|
|
9
|
+
sessions: ClientSession[];
|
|
10
|
+
activeSessionId: string | null;
|
|
11
|
+
isAuthenticated: boolean;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
isTokenReady: boolean;
|
|
14
|
+
hasAccessToken: boolean;
|
|
15
|
+
canUsePrivateApi: boolean;
|
|
16
|
+
isPrivateApiPending: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the initial auth determination has concluded.
|
|
19
|
+
*
|
|
20
|
+
* `false` from mount until the FIRST device-first cold boot resolves —
|
|
21
|
+
* during that window `isAuthenticated: false` is UNDETERMINED, not a
|
|
22
|
+
* definitive "logged out". Flips to `true` exactly once the boot concludes
|
|
23
|
+
* (a session was committed OR none exists) and never reverts. Consumers should
|
|
24
|
+
* defer their first auth-dependent fetch until this is `true` so a cold-boot
|
|
25
|
+
* web reload with an existing session does not fetch anonymous data.
|
|
26
|
+
*/
|
|
27
|
+
isAuthResolved: boolean;
|
|
28
|
+
isStorageReady: boolean;
|
|
29
|
+
error: string | null;
|
|
30
|
+
currentLanguage: string;
|
|
31
|
+
currentLanguageMetadata: ReturnType<typeof useLanguageManagement>['metadata'];
|
|
32
|
+
currentLanguageName: string;
|
|
33
|
+
currentNativeLanguageName: string;
|
|
34
|
+
hasIdentity: () => Promise<boolean>;
|
|
35
|
+
getPublicKey: () => Promise<string | null>;
|
|
36
|
+
signIn: (publicKey: string, deviceName?: string) => Promise<User>;
|
|
37
|
+
signInWithPassword: (identifier: string, password: string, opts?: {
|
|
38
|
+
deviceName?: string;
|
|
39
|
+
deviceFingerprint?: string;
|
|
40
|
+
}) => Promise<PasswordSignInResult>;
|
|
41
|
+
completeTwoFactorSignIn: (params: {
|
|
42
|
+
loginToken: string;
|
|
43
|
+
token?: string;
|
|
44
|
+
backupCode?: string;
|
|
45
|
+
deviceName?: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
securityAlert?: SecurityAlert;
|
|
48
|
+
}>;
|
|
49
|
+
revokeSuspiciousSignIn: () => Promise<void>;
|
|
50
|
+
handleWebSession: (session: SessionLoginResponse) => Promise<void>;
|
|
51
|
+
logout: (targetSessionId?: string) => Promise<void>;
|
|
52
|
+
logoutAll: () => Promise<void>;
|
|
53
|
+
switchSession: (sessionId: string) => Promise<User>;
|
|
54
|
+
removeSession: (sessionId: string) => Promise<void>;
|
|
55
|
+
refreshSessions: () => Promise<void>;
|
|
56
|
+
setLanguage: (languageId: string) => Promise<void>;
|
|
57
|
+
getDeviceSessions: () => Promise<Array<{
|
|
58
|
+
sessionId: string;
|
|
59
|
+
deviceId: string;
|
|
60
|
+
deviceName?: string;
|
|
61
|
+
lastActive?: string;
|
|
62
|
+
expiresAt?: string;
|
|
63
|
+
}>>;
|
|
64
|
+
logoutAllDeviceSessions: () => Promise<void>;
|
|
65
|
+
updateDeviceName: (deviceName: string) => Promise<void>;
|
|
66
|
+
clearSessionState: () => Promise<void>;
|
|
67
|
+
clearAllAccountData: () => Promise<void>;
|
|
68
|
+
storageKeyPrefix: string;
|
|
69
|
+
clientId: string | null;
|
|
70
|
+
oxyServices: OxyServices;
|
|
71
|
+
useFollow?: UseFollowHook;
|
|
72
|
+
showBottomSheet?: (screenOrConfig: RouteName | {
|
|
73
|
+
screen: RouteName;
|
|
74
|
+
props?: Record<string, unknown>;
|
|
75
|
+
}) => void;
|
|
76
|
+
openAvatarPicker: () => void;
|
|
77
|
+
accountDialogController: AccountDialogController | null;
|
|
78
|
+
isAccountDialogOpen: boolean;
|
|
79
|
+
openAccountDialog: (view?: AccountDialogView) => void;
|
|
80
|
+
closeAccountDialog: () => void;
|
|
81
|
+
accounts: AccountNode[];
|
|
82
|
+
switchToAccount: (accountId: string) => Promise<void>;
|
|
83
|
+
refreshAccounts: () => Promise<void>;
|
|
84
|
+
createAccount: (data: CreateAccountInput) => Promise<AccountNode>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Result of {@link OxyContextState.signInWithPassword}.
|
|
88
|
+
*/
|
|
89
|
+
export type PasswordSignInResult = {
|
|
90
|
+
status: 'ok';
|
|
91
|
+
securityAlert?: SecurityAlert;
|
|
92
|
+
} | {
|
|
93
|
+
status: '2fa_required';
|
|
94
|
+
loginToken: string;
|
|
95
|
+
};
|
|
96
|
+
export interface OxyContextProviderProps {
|
|
97
|
+
children: ReactNode;
|
|
98
|
+
oxyServices?: OxyServices;
|
|
99
|
+
baseURL?: string;
|
|
100
|
+
authWebUrl?: string;
|
|
101
|
+
authRedirectUri?: string;
|
|
102
|
+
storageKeyPrefix?: string;
|
|
103
|
+
clientId?: string;
|
|
104
|
+
/** Sync device credentials to auth.oxy.so after interactive sign-in. @default true */
|
|
105
|
+
hubSync?: boolean;
|
|
106
|
+
onAuthStateChange?: (user: User | null) => void;
|
|
107
|
+
onError?: (error: ApiError) => void;
|
|
108
|
+
}
|
|
109
|
+
/** Internal commit input — session plus zero-cookie device credential. */
|
|
110
|
+
export interface CommitInput {
|
|
111
|
+
sessionId: string;
|
|
112
|
+
accessToken?: string;
|
|
113
|
+
deviceId?: string;
|
|
114
|
+
deviceSecret?: string;
|
|
115
|
+
expiresAt?: string;
|
|
116
|
+
userId?: string;
|
|
117
|
+
user?: {
|
|
118
|
+
id: string;
|
|
119
|
+
username?: string;
|
|
120
|
+
avatar?: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=oxyContextTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oxyContextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/oxyContextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,kBAAkB,EAAE,aAAa,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjL,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI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