@oxyhq/services 6.9.13 → 6.9.15
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.d.ts +28 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.js +53 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.js +41 -0
- package/lib/commonjs/assets/icons/OxyServices.js +52 -13
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +57 -18
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js +190 -200
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner-safe.js.map +1 -0
- package/lib/commonjs/lib/sonner.js +16 -5
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/lib/sonner.native.js +45 -8
- package/lib/commonjs/lib/sonner.native.js.map +1 -1
- package/lib/commonjs/lib/sonner.web.js +45 -8
- package/lib/commonjs/lib/sonner.web.js.map +1 -1
- package/lib/commonjs/ui/client.js +88 -66
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +26 -0
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -0
- package/lib/commonjs/ui/components/Avatar.js +27 -39
- package/lib/commonjs/ui/components/Avatar.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheet.js +20 -0
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js +103 -65
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js +30 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -0
- package/lib/commonjs/ui/components/EmptyState.js +13 -10
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +81 -52
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FontLoader.js +52 -17
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +29 -27
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +11 -10
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +34 -0
- package/lib/commonjs/ui/components/Header.js.map +1 -0
- package/lib/commonjs/ui/components/HelperText.js +26 -0
- package/lib/commonjs/ui/components/HelperText.js.map +1 -0
- package/lib/commonjs/ui/components/Icon.js +12 -12
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/commonjs/ui/components/IconButton/utils.js +8 -4
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
- package/lib/commonjs/ui/components/LoadingState.js +14 -11
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +53 -14
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +19 -17
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +35 -31
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
- package/lib/commonjs/ui/components/QuickActions.js +16 -16
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/Section.js +15 -12
- package/lib/commonjs/ui/components/Section.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +13 -14
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js.map +1 -0
- package/lib/commonjs/ui/components/SignInModal.js +132 -115
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +85 -71
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/Surface.js +79 -37
- package/lib/commonjs/ui/components/Surface.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +6 -8
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +74 -29
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +27 -23
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +31 -27
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +23 -21
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +37 -10
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +2 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +106 -65
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +33 -0
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/constants.js +35 -25
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +44 -43
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField.js +76 -35
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +64 -30
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +68 -26
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +10 -6
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/commonjs/ui/components/Typography/types.js +3 -3
- package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/index.js +10 -0
- package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +13 -14
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +77 -66
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +127 -118
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +20 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/index.js +12 -7
- package/lib/commonjs/ui/components/icon/index.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +62 -54
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +22 -21
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +52 -41
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/modals/index.js +8 -3
- package/lib/commonjs/ui/components/modals/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +89 -70
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/index.js +15 -0
- package/lib/commonjs/ui/components/payment/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/payment/types.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +59 -27
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +4 -6
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js +7 -7
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +4 -6
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/components/types.js.map +1 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +43 -3
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +1 -7
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/iconColors.js +12 -16
- package/lib/commonjs/ui/constants/iconColors.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +8 -9
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +1 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/ThemeContext.js +27 -4
- package/lib/commonjs/ui/context/ThemeContext.js.map +2 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +27 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/hooks/index.js +27 -26
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +31 -22
- package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +83 -106
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +45 -53
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +50 -39
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +6 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +33 -39
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +11 -12
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +28 -32
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +10 -17
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +13 -26
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAuth.js +23 -28
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +3 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +6 -8
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +7 -9
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +67 -75
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +5 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +16 -17
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +40 -44
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +34 -39
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +16 -22
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/hooks/useStorage.js +6 -6
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +12 -13
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/commonjs/ui/hooks/useWebSSO.js +11 -19
- package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/commonjs/ui/index.js +61 -51
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/isFrontend.js +2 -2
- package/lib/commonjs/ui/isFrontend.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +6 -12
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +75 -66
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +164 -133
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +150 -133
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +83 -44
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +19 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +61 -54
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +155 -137
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js +9 -6
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +9 -6
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +75 -36
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +79 -43
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +82 -50
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +35 -31
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +23 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +120 -107
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +63 -69
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +241 -205
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +114 -81
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +128 -102
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +31 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +69 -32
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +120 -85
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +91 -72
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +80 -45
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +47 -58
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/stores/accountStore.js +1 -1
- package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +13 -16
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +5 -6
- package/lib/commonjs/ui/stores/authStore.js.map +1 -1
- package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +3 -10
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +12 -12
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/fonts.js +18 -19
- package/lib/commonjs/ui/styles/fonts.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js.map +1 -0
- package/lib/commonjs/ui/styles/spacing.js +11 -0
- package/lib/commonjs/ui/styles/spacing.js.map +1 -0
- package/lib/commonjs/ui/styles/theme.js +11 -12
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/types/navigation.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +11 -16
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +17 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/confirmAction.js +1 -1
- package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +22 -38
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +7 -12
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +15 -0
- package/lib/commonjs/ui/utils/themeUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/userUtils.js +6 -9
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +60 -79
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/assets/icons/OxyServices.d.ts +28 -0
- package/lib/module/assets/assets/icons/OxyServices.js +53 -0
- package/lib/module/assets/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/module/assets/assets/illustrations/HighFive.js +41 -0
- package/lib/module/assets/icons/OxyServices.js +12 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/illustrations/HighFive.js +15 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/index.js +406 -34
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner-safe.js +7 -8
- package/lib/module/lib/sonner-safe.js.map +1 -1
- package/lib/module/lib/sonner.js +17 -1
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/lib/sonner.native.js +45 -0
- package/lib/module/lib/sonner.native.js.map +1 -1
- package/lib/module/lib/sonner.web.js +48 -6
- package/lib/module/lib/sonner.web.js.map +1 -1
- package/lib/module/ui/client.js +165 -25
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +69 -27
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +13 -9
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +8 -0
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +99 -0
- package/lib/module/ui/components/BottomSheet.js.map +1 -0
- package/lib/module/ui/components/BottomSheetRouter.js +105 -61
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +60 -16
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/EmptyState.js +15 -7
- package/lib/module/ui/components/EmptyState.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +84 -50
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FontLoader.js +57 -17
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +31 -27
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +13 -9
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +102 -57
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +55 -13
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +19 -13
- package/lib/module/ui/components/Icon.js.map +1 -0
- package/lib/module/ui/components/IconButton/IconButton.js +31 -24
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/module/ui/components/IconButton/utils.js +14 -4
- package/lib/module/ui/components/IconButton/utils.js.map +1 -1
- package/lib/module/ui/components/LoadingState.js +12 -0
- package/lib/module/ui/components/LoadingState.js.map +1 -0
- package/lib/module/ui/components/OxyLogo.js +13 -0
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +14 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +39 -48
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +42 -37
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +37 -29
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +18 -15
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/Section.js +16 -0
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +15 -12
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +17 -0
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +142 -115
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +43 -0
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/module/ui/components/Surface.js +82 -34
- package/lib/module/ui/components/Surface.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +8 -0
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +1 -0
- package/lib/module/ui/components/TextField/Addons/Underline.js +12 -8
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +62 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +15 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +33 -28
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +13 -9
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/types.js +3 -0
- package/lib/module/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/utils.js +7 -2
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +25 -18
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -0
- package/lib/module/ui/components/TextField/TextFieldFlat.js +109 -63
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +109 -61
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/TextField/constants.js +23 -0
- package/lib/module/ui/components/TextField/constants.js.map +1 -0
- package/lib/module/ui/components/TextField/helpers.js +69 -50
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField/types.js +3 -1
- package/lib/module/ui/components/TextField/types.js.map +1 -1
- package/lib/module/ui/components/TextField.js +64 -0
- package/lib/module/ui/components/TextField.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/Pressable.js +7 -6
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +67 -28
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +47 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +16 -6
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +8 -0
- package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/module/ui/components/Typography/types.js +7 -3
- package/lib/module/ui/components/Typography/types.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +20 -12
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +10 -0
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +7 -3
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +15 -10
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/feedback/index.js +56 -5
- package/lib/module/ui/components/feedback/index.js.map +1 -1
- package/lib/module/ui/components/feedback/types.js +3 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +11 -6
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +10 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +72 -67
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +38 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +27 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +24 -20
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +58 -14
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/icon/OxyIcon.js +5 -0
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/module/ui/components/icon/index.js +23 -2
- package/lib/module/ui/components/icon/index.js.map +1 -1
- package/lib/module/ui/components/index.js +111 -0
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +11 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +15 -12
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +48 -40
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/modals/index.js +16 -1
- package/lib/module/ui/components/modals/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +77 -69
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +25 -17
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +13 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +18 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +29 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +7 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/index.js +73 -0
- package/lib/module/ui/components/payment/index.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +9 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +3 -1
- package/lib/module/ui/components/payment/types.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +62 -25
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +13 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +12 -8
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +9 -6
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/components/types.js +3 -1
- package/lib/module/ui/components/types.js.map +1 -1
- package/lib/module/ui/components/utils/forwardRef.js +40 -0
- package/lib/module/ui/components/utils/forwardRef.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +5 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +6 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js +5 -7
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/iconColors.js +16 -14
- package/lib/module/ui/constants/iconColors.js.map +1 -1
- package/lib/module/ui/constants/spacing.js +24 -25
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/constants/theme.js +7 -4
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +17 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/ThemeContext.js +13 -7
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +68 -39
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +64 -0
- package/lib/module/ui/hooks/index.js.map +1 -0
- package/lib/module/ui/hooks/mutations/index.js +67 -5
- package/lib/module/ui/hooks/mutations/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +7 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +92 -109
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +114 -0
- package/lib/module/ui/hooks/queries/index.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +39 -36
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +44 -40
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +17 -12
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +37 -33
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +17 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +19 -26
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +20 -16
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +24 -20
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +16 -13
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useColorScheme.js +3 -0
- package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +16 -11
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +15 -9
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFileFiltering.js +9 -0
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +75 -77
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +6 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +7 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +22 -18
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +9 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +5 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +46 -45
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +15 -0
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +14 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +12 -7
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useThemeColors.js +14 -10
- package/lib/module/ui/hooks/useThemeColors.js.map +1 -0
- package/lib/module/ui/hooks/useThemeStyles.js +18 -14
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/module/ui/hooks/useWebSSO.js +12 -16
- package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/module/ui/index.js +74 -46
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js +4 -1
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +17 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +8 -14
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +71 -65
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +167 -131
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +88 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js +88 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +86 -42
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +79 -76
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +114 -89
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +38 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +58 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +149 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowersListScreen.js +8 -0
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +12 -4
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +45 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +81 -41
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +71 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +33 -31
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +72 -35
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +50 -0
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +28 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +186 -205
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +56 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +102 -101
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +55 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +39 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/SessionManagementScreen.js +81 -89
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +21 -18
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +69 -0
- package/lib/module/ui/screens/UserListScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +123 -82
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +29 -26
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +74 -72
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +83 -43
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +30 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +81 -80
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/server.js +50 -29
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/accountStore.js +7 -0
- package/lib/module/ui/stores/accountStore.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +24 -14
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +8 -5
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/stores/fileStore.js +6 -0
- package/lib/module/ui/stores/fileStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +6 -9
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +17 -12
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/fonts.js +8 -0
- package/lib/module/ui/styles/fonts.js.map +1 -0
- package/lib/module/ui/styles/index.js +26 -4
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +54 -0
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +19 -13
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/types/fileManagement.js +3 -1
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +3 -1
- package/lib/module/ui/types/navigation.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +5 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +44 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/confirmAction.js +7 -0
- package/lib/module/ui/utils/confirmAction.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js +16 -18
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +6 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/iconNames.js +24 -20
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +17 -15
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +12 -10
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +35 -2
- package/lib/module/ui/utils/themeUtils.js.map +1 -0
- package/lib/module/ui/utils/userUtils.js +10 -6
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +82 -83
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/lib/typescript/assets/icons/OxyServices.d.ts +28 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/typescript/index.d.ts +46 -0
- package/lib/typescript/lib/sonner-safe.d.ts +8 -0
- package/lib/typescript/lib/sonner.d.ts +11 -0
- package/lib/typescript/lib/sonner.native.d.ts +14 -0
- package/lib/typescript/lib/sonner.web.d.ts +14 -0
- package/lib/typescript/ui/client.d.ts +30 -0
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +44 -0
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/lib/typescript/ui/components/Avatar.d.ts +60 -0
- package/lib/typescript/ui/components/BottomSheet.d.ts +28 -0
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +8 -0
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +26 -0
- package/lib/typescript/ui/components/EmptyState.d.ts +7 -0
- package/lib/typescript/ui/components/FollowButton.d.ts +28 -0
- package/lib/typescript/ui/components/FontLoader.d.ts +14 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts +23 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts +29 -0
- package/lib/typescript/ui/components/Header.d.ts +37 -0
- package/lib/typescript/ui/components/HelperText.d.ts +46 -0
- package/lib/typescript/ui/components/Icon.d.ts +59 -0
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +98 -0
- package/lib/typescript/ui/components/IconButton/utils.d.ts +18 -0
- package/lib/typescript/ui/components/LoadingState.d.ts +8 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts +28 -0
- package/lib/typescript/ui/components/OxyPayButton.d.ts +28 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts +37 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts +64 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts +17 -0
- package/lib/typescript/ui/components/QuickActions.d.ts +14 -0
- package/lib/typescript/ui/components/Section.d.ts +11 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
- package/lib/typescript/ui/components/SettingRow.d.ts +19 -0
- package/lib/typescript/ui/components/SignInModal.d.ts +17 -0
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +25 -0
- package/lib/typescript/ui/components/Surface.d.ts +75 -0
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/constants.d.ts +31 -0
- package/lib/typescript/ui/components/TextField/helpers.d.ts +96 -0
- package/lib/typescript/ui/components/TextField/types.d.ts +155 -0
- package/lib/typescript/ui/components/TextField.d.ts +191 -0
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/lib/typescript/ui/components/Typography/types.d.ts +18 -0
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +19 -0
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/lib/typescript/ui/components/feedback/constants.d.ts +4 -0
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/lib/typescript/ui/components/feedback/index.d.ts +6 -0
- package/lib/typescript/ui/components/feedback/types.d.ts +45 -0
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +859 -0
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +9 -0
- package/lib/typescript/ui/components/icon/index.d.ts +3 -0
- package/lib/typescript/ui/components/index.d.ts +16 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +23 -0
- package/lib/typescript/ui/components/internal/PinInput.d.ts +22 -0
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/lib/typescript/ui/components/modals/index.d.ts +1 -0
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/lib/typescript/ui/components/payment/constants.d.ts +6 -0
- package/lib/typescript/ui/components/payment/index.d.ts +8 -0
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +395 -0
- package/lib/typescript/ui/components/payment/types.d.ts +39 -0
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/lib/typescript/ui/components/styles/overlay.d.ts +3 -0
- package/lib/typescript/ui/components/styles/shadow.d.ts +2 -0
- package/lib/typescript/ui/components/theming.d.ts +7 -0
- package/lib/typescript/ui/components/types.d.ts +80 -0
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +11 -0
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +19 -0
- package/lib/typescript/ui/constants/iconColors.d.ts +129 -0
- package/lib/typescript/ui/constants/spacing.d.ts +32 -0
- package/lib/typescript/ui/constants/theme.d.ts +96 -0
- package/lib/typescript/ui/context/OxyContext.d.ts +75 -0
- package/lib/typescript/ui/context/ThemeContext.d.ts +18 -0
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/lib/typescript/ui/hooks/index.d.ts +6 -0
- package/lib/typescript/ui/hooks/mutations/index.d.ts +8 -0
- package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/lib/typescript/ui/hooks/queries/index.d.ts +10 -0
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +30 -0
- package/lib/typescript/ui/hooks/queryClient.d.ts +18 -0
- package/lib/typescript/ui/hooks/useAssets.d.ts +34 -0
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +50 -0
- package/lib/typescript/ui/hooks/useAuth.d.ts +77 -0
- package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +24 -0
- package/lib/typescript/ui/hooks/useColorScheme.d.ts +7 -0
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +21 -0
- package/lib/typescript/ui/hooks/useFileFiltering.d.ts +28 -0
- package/lib/typescript/ui/hooks/useFollow.d.ts +92 -0
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +32 -0
- package/lib/typescript/ui/hooks/useI18n.d.ts +4 -0
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +35 -0
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +6 -0
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +40 -0
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +14 -0
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +56 -0
- package/lib/typescript/ui/hooks/useStorage.d.ts +15 -0
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +93 -0
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +44 -0
- package/lib/typescript/ui/hooks/useWebSSO.d.ts +57 -0
- package/lib/typescript/ui/index.d.ts +23 -0
- package/lib/typescript/ui/isFrontend.d.ts +2 -0
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/lib/typescript/ui/navigation/routes.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/lib/typescript/ui/screens/FAQScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FollowersListScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/FollowingListScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +14 -0
- package/lib/typescript/ui/screens/UserListScreen.d.ts +10 -0
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/lib/typescript/ui/server.d.ts +40 -0
- package/lib/typescript/ui/stores/accountStore.d.ts +26 -0
- package/lib/typescript/ui/stores/assetStore.d.ts +53 -0
- package/lib/typescript/ui/stores/authStore.d.ts +16 -0
- package/lib/typescript/ui/stores/fileStore.d.ts +30 -0
- package/lib/typescript/ui/stores/followStore.d.ts +24 -0
- package/lib/typescript/ui/styles/authStyles.d.ts +331 -0
- package/lib/typescript/ui/styles/fonts.d.ts +20 -0
- package/lib/typescript/ui/styles/index.d.ts +4 -0
- package/lib/typescript/ui/styles/spacing.d.ts +48 -0
- package/lib/typescript/ui/styles/theme.d.ts +67 -0
- package/lib/typescript/ui/types/fileManagement.d.ts +40 -0
- package/lib/typescript/ui/types/navigation.d.ts +36 -0
- package/lib/typescript/ui/utils/avatarUtils.d.ts +22 -0
- package/lib/typescript/ui/utils/colorUtils.d.ts +9 -0
- package/lib/typescript/ui/utils/confirmAction.d.ts +6 -0
- package/lib/typescript/ui/utils/errorHandlers.d.ts +34 -0
- package/lib/typescript/ui/utils/fileManagement.d.ts +86 -0
- package/lib/typescript/ui/utils/iconNames.d.ts +111 -0
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +64 -0
- package/lib/typescript/ui/utils/storageHelpers.d.ts +27 -0
- package/lib/typescript/ui/utils/themeUtils.d.ts +10 -0
- package/lib/typescript/ui/utils/userUtils.d.ts +28 -0
- package/lib/typescript/utils/hookUtils.d.ts +101 -0
- package/package.json +3 -3
- package/src/assets/icons/OxyServices.d.ts +28 -0
- package/src/assets/icons/OxyServices.js +53 -0
- package/src/assets/illustrations/HighFive.d.ts +7 -0
- package/src/assets/illustrations/HighFive.js +41 -0
- package/src/index.d.ts +46 -0
- package/src/index.js +127 -0
- package/src/lib/sonner-safe.d.ts +8 -0
- package/src/lib/sonner-safe.js +28 -0
- package/src/lib/sonner.d.ts +11 -0
- package/src/lib/sonner.js +16 -0
- package/src/lib/sonner.native.d.ts +14 -0
- package/src/lib/sonner.native.js +46 -0
- package/src/lib/sonner.web.d.ts +14 -0
- package/src/lib/sonner.web.js +46 -0
- package/src/ui/client.d.ts +30 -0
- package/src/ui/client.js +64 -0
- package/src/ui/components/ActivityIndicator.d.ts +44 -0
- package/src/ui/components/ActivityIndicator.js +184 -0
- package/src/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/src/ui/components/AutoHeightScrollView.js +33 -0
- package/src/ui/components/Avatar.d.ts +60 -0
- package/src/ui/components/Avatar.js +146 -0
- package/src/ui/components/BottomSheet.d.ts +28 -0
- package/src/ui/components/BottomSheet.js +374 -0
- package/src/ui/components/BottomSheetRouter.d.ts +8 -0
- package/src/ui/components/BottomSheetRouter.js +211 -0
- package/src/ui/components/CrossFadeIcon.d.ts +26 -0
- package/src/ui/components/CrossFadeIcon.js +111 -0
- package/src/ui/components/EmptyState.d.ts +7 -0
- package/src/ui/components/EmptyState.js +27 -0
- package/src/ui/components/FollowButton.d.ts +28 -0
- package/src/ui/components/FollowButton.js +197 -0
- package/src/ui/components/FontLoader.d.ts +14 -0
- package/src/ui/components/FontLoader.js +185 -0
- package/src/ui/components/GroupedItem.d.ts +23 -0
- package/src/ui/components/GroupedItem.js +84 -0
- package/src/ui/components/GroupedSection.d.ts +29 -0
- package/src/ui/components/GroupedSection.js +13 -0
- package/src/ui/components/Header.d.ts +37 -0
- package/src/ui/components/Header.js +400 -0
- package/src/ui/components/HelperText.d.ts +46 -0
- package/src/ui/components/HelperText.js +119 -0
- package/src/ui/components/Icon.d.ts +59 -0
- package/src/ui/components/Icon.js +108 -0
- package/src/ui/components/IconButton/IconButton.d.ts +98 -0
- package/src/ui/components/IconButton/IconButton.js +90 -0
- package/src/ui/components/IconButton/utils.d.ts +18 -0
- package/src/ui/components/IconButton/utils.js +119 -0
- package/src/ui/components/LoadingState.d.ts +8 -0
- package/src/ui/components/LoadingState.js +29 -0
- package/src/ui/components/OxyLogo.d.ts +28 -0
- package/src/ui/components/OxyLogo.js +53 -0
- package/src/ui/components/OxyPayButton.d.ts +28 -0
- package/src/ui/components/OxyPayButton.js +76 -0
- package/src/ui/components/OxyProvider.d.ts +37 -0
- package/src/ui/components/OxyProvider.js +197 -0
- package/src/ui/components/OxySignInButton.d.ts +64 -0
- package/src/ui/components/OxySignInButton.js +145 -0
- package/src/ui/components/ProfileCard.d.ts +17 -0
- package/src/ui/components/ProfileCard.js +82 -0
- package/src/ui/components/QuickActions.d.ts +14 -0
- package/src/ui/components/QuickActions.js +62 -0
- package/src/ui/components/Section.d.ts +11 -0
- package/src/ui/components/Section.js +24 -0
- package/src/ui/components/SectionTitle.d.ts +9 -0
- package/src/ui/components/SectionTitle.js +21 -0
- package/src/ui/components/SettingRow.d.ts +19 -0
- package/src/ui/components/SettingRow.js +38 -0
- package/src/ui/components/SignInModal.d.ts +17 -0
- package/src/ui/components/SignInModal.js +428 -0
- package/src/ui/components/StepBasedScreen.d.ts +25 -0
- package/src/ui/components/StepBasedScreen.js +372 -0
- package/src/ui/components/Surface.d.ts +75 -0
- package/src/ui/components/Surface.js +239 -0
- package/src/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/src/ui/components/TextField/Addons/Outline.js +30 -0
- package/src/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/src/ui/components/TextField/Addons/Underline.js +45 -0
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +132 -0
- package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/src/ui/components/TextField/Adornment/TextFieldAffix.js +88 -0
- package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/src/ui/components/TextField/Adornment/TextFieldIcon.js +91 -0
- package/src/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/src/ui/components/TextField/Adornment/enums.js +18 -0
- package/src/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/src/ui/components/TextField/Adornment/types.js +2 -0
- package/src/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/src/ui/components/TextField/Adornment/utils.js +50 -0
- package/src/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/src/ui/components/TextField/Label/InputLabel.js +125 -0
- package/src/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/src/ui/components/TextField/Label/LabelBackground.js +71 -0
- package/src/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/src/ui/components/TextField/TextFieldFlat.js +347 -0
- package/src/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/src/ui/components/TextField/TextFieldOutlined.js +313 -0
- package/src/ui/components/TextField/constants.d.ts +31 -0
- package/src/ui/components/TextField/constants.js +40 -0
- package/src/ui/components/TextField/helpers.d.ts +96 -0
- package/src/ui/components/TextField/helpers.js +388 -0
- package/src/ui/components/TextField/types.d.ts +155 -0
- package/src/ui/components/TextField/types.js +2 -0
- package/src/ui/components/TextField.d.ts +191 -0
- package/src/ui/components/TextField.js +291 -0
- package/src/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/src/ui/components/TouchableRipple/Pressable.js +5 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.js +246 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.native.js +99 -0
- package/src/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/src/ui/components/TouchableRipple/utils.js +40 -0
- package/src/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/src/ui/components/Typography/AnimatedText.js +49 -0
- package/src/ui/components/Typography/types.d.ts +18 -0
- package/src/ui/components/Typography/types.js +22 -0
- package/src/ui/components/feedback/FormInput.d.ts +19 -0
- package/src/ui/components/feedback/FormInput.js +26 -0
- package/src/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/src/ui/components/feedback/ProgressIndicator.js +16 -0
- package/src/ui/components/feedback/constants.d.ts +4 -0
- package/src/ui/components/feedback/constants.js +21 -0
- package/src/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/src/ui/components/feedback/feedbackStyles.js +250 -0
- package/src/ui/components/feedback/index.d.ts +6 -0
- package/src/ui/components/feedback/index.js +18 -0
- package/src/ui/components/feedback/types.d.ts +45 -0
- package/src/ui/components/feedback/types.js +2 -0
- package/src/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/src/ui/components/feedback/useFeedbackForm.js +42 -0
- package/src/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/src/ui/components/fileManagement/AnimatedButton.js +29 -0
- package/src/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/src/ui/components/fileManagement/FileDetailsModal.js +22 -0
- package/src/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/src/ui/components/fileManagement/FileViewer.js +138 -0
- package/src/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/src/ui/components/fileManagement/UploadPreview.js +35 -0
- package/src/ui/components/fileManagement/styles.d.ts +859 -0
- package/src/ui/components/fileManagement/styles.js +861 -0
- package/src/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/src/ui/components/icon/FAIRWalletIcon.js +54 -0
- package/src/ui/components/icon/OxyIcon.d.ts +9 -0
- package/src/ui/components/icon/OxyIcon.js +9 -0
- package/src/ui/components/icon/index.d.ts +3 -0
- package/src/ui/components/icon/index.js +10 -0
- package/src/ui/components/index.d.ts +16 -0
- package/src/ui/components/index.js +42 -0
- package/src/ui/components/internal/GroupedPillButtons.d.ts +23 -0
- package/src/ui/components/internal/GroupedPillButtons.js +149 -0
- package/src/ui/components/internal/PinInput.d.ts +22 -0
- package/src/ui/components/internal/PinInput.js +76 -0
- package/src/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/src/ui/components/modals/DeleteAccountModal.js +154 -0
- package/src/ui/components/modals/index.d.ts +1 -0
- package/src/ui/components/modals/index.js +8 -0
- package/src/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/src/ui/components/payment/PaymentDetailsStep.js +65 -0
- package/src/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/src/ui/components/payment/PaymentMethodStep.js +54 -0
- package/src/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/src/ui/components/payment/PaymentReviewStep.js +88 -0
- package/src/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/src/ui/components/payment/PaymentSuccessStep.js +35 -0
- package/src/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/src/ui/components/payment/PaymentSummaryStep.js +60 -0
- package/src/ui/components/payment/constants.d.ts +6 -0
- package/src/ui/components/payment/constants.js +38 -0
- package/src/ui/components/payment/index.d.ts +8 -0
- package/src/ui/components/payment/index.js +24 -0
- package/src/ui/components/payment/paymentStyles.d.ts +395 -0
- package/src/ui/components/payment/paymentStyles.js +399 -0
- package/src/ui/components/payment/types.d.ts +39 -0
- package/src/ui/components/payment/types.js +2 -0
- package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/src/ui/components/photogrid/JustifiedPhotoGrid.js +122 -0
- package/src/ui/components/styles/overlay.d.ts +3 -0
- package/src/ui/components/styles/overlay.js +81 -0
- package/src/ui/components/styles/shadow.d.ts +2 -0
- package/src/ui/components/styles/shadow.js +123 -0
- package/src/ui/components/theming.d.ts +7 -0
- package/src/ui/components/theming.js +111 -0
- package/src/ui/components/types.d.ts +80 -0
- package/src/ui/components/types.js +2 -0
- package/src/ui/components/utils/forwardRef.d.ts +11 -0
- package/src/ui/components/utils/forwardRef.js +46 -0
- package/src/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/src/ui/components/utils/hasTouchHandler.js +14 -0
- package/src/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/src/ui/components/utils/roundLayoutSize.js +5 -0
- package/src/ui/components/utils/splitStyles.d.ts +19 -0
- package/src/ui/components/utils/splitStyles.js +40 -0
- package/src/ui/constants/iconColors.d.ts +129 -0
- package/src/ui/constants/iconColors.js +76 -0
- package/src/ui/constants/spacing.d.ts +32 -0
- package/src/ui/constants/spacing.js +40 -0
- package/src/ui/constants/theme.d.ts +96 -0
- package/src/ui/constants/theme.js +118 -0
- package/src/ui/context/OxyContext.d.ts +75 -0
- package/src/ui/context/OxyContext.js +522 -0
- package/src/ui/context/ThemeContext.d.ts +18 -0
- package/src/ui/context/ThemeContext.js +25 -0
- package/src/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/src/ui/context/hooks/useAuthOperations.js +318 -0
- package/src/ui/hooks/index.d.ts +6 -0
- package/src/ui/hooks/index.js +19 -0
- package/src/ui/hooks/mutations/index.d.ts +8 -0
- package/src/ui/hooks/mutations/index.js +23 -0
- package/src/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/src/ui/hooks/mutations/mutationFactory.js +126 -0
- package/src/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
- package/src/ui/hooks/mutations/useAccountMutations.js +274 -0
- package/src/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/src/ui/hooks/mutations/useServicesMutations.js +149 -0
- package/src/ui/hooks/queries/index.d.ts +10 -0
- package/src/ui/hooks/queries/index.js +35 -0
- package/src/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/src/ui/hooks/queries/queryKeys.js +82 -0
- package/src/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/src/ui/hooks/queries/useAccountQueries.js +141 -0
- package/src/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/src/ui/hooks/queries/useSecurityQueries.js +45 -0
- package/src/ui/hooks/queries/useServicesQueries.d.ts +30 -0
- package/src/ui/hooks/queries/useServicesQueries.js +113 -0
- package/src/ui/hooks/queryClient.d.ts +18 -0
- package/src/ui/hooks/queryClient.js +111 -0
- package/src/ui/hooks/useAssets.d.ts +34 -0
- package/src/ui/hooks/useAssets.js +204 -0
- package/src/ui/hooks/useAsyncAction.d.ts +50 -0
- package/src/ui/hooks/useAsyncAction.js +77 -0
- package/src/ui/hooks/useAuth.d.ts +77 -0
- package/src/ui/hooks/useAuth.js +135 -0
- package/src/ui/hooks/useAvatarPicker.d.ts +24 -0
- package/src/ui/hooks/useAvatarPicker.js +44 -0
- package/src/ui/hooks/useColorScheme.d.ts +7 -0
- package/src/ui/hooks/useColorScheme.js +23 -0
- package/src/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/src/ui/hooks/useDeviceManagement.js +69 -0
- package/src/ui/hooks/useFileDownloadUrl.d.ts +21 -0
- package/src/ui/hooks/useFileDownloadUrl.js +104 -0
- package/src/ui/hooks/useFileFiltering.d.ts +28 -0
- package/src/ui/hooks/useFileFiltering.js +80 -0
- package/src/ui/hooks/useFollow.d.ts +92 -0
- package/src/ui/hooks/useFollow.js +216 -0
- package/src/ui/hooks/useFollow.types.d.ts +32 -0
- package/src/ui/hooks/useFollow.types.js +4 -0
- package/src/ui/hooks/useI18n.d.ts +4 -0
- package/src/ui/hooks/useI18n.js +13 -0
- package/src/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/src/ui/hooks/useLanguageManagement.js +108 -0
- package/src/ui/hooks/useProfileEditing.d.ts +35 -0
- package/src/ui/hooks/useProfileEditing.js +101 -0
- package/src/ui/hooks/useQueryClient.d.ts +6 -0
- package/src/ui/hooks/useQueryClient.js +16 -0
- package/src/ui/hooks/useSessionManagement.d.ts +40 -0
- package/src/ui/hooks/useSessionManagement.js +312 -0
- package/src/ui/hooks/useSessionSocket.d.ts +14 -0
- package/src/ui/hooks/useSessionSocket.js +209 -0
- package/src/ui/hooks/useSettingToggle.d.ts +56 -0
- package/src/ui/hooks/useSettingToggle.js +97 -0
- package/src/ui/hooks/useStorage.d.ts +15 -0
- package/src/ui/hooks/useStorage.js +40 -0
- package/src/ui/hooks/useThemeColors.d.ts +93 -0
- package/src/ui/hooks/useThemeColors.js +27 -0
- package/src/ui/hooks/useThemeStyles.d.ts +44 -0
- package/src/ui/hooks/useThemeStyles.js +63 -0
- package/src/ui/hooks/useWebSSO.d.ts +57 -0
- package/src/ui/hooks/useWebSSO.js +146 -0
- package/src/ui/index.d.ts +23 -0
- package/src/ui/index.js +97 -0
- package/src/ui/isFrontend.d.ts +2 -0
- package/src/ui/isFrontend.js +6 -0
- package/src/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/src/ui/navigation/bottomSheetManager.js +68 -0
- package/src/ui/navigation/routes.d.ts +5 -0
- package/src/ui/navigation/routes.js +75 -0
- package/src/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/src/ui/screens/AccountCenterScreen.js +202 -0
- package/src/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/src/ui/screens/AccountOverviewScreen.js +648 -0
- package/src/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/src/ui/screens/AccountSettingsScreen.js +480 -0
- package/src/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/src/ui/screens/AccountSwitcherScreen.js +482 -0
- package/src/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/src/ui/screens/AccountVerificationScreen.js +164 -0
- package/src/ui/screens/AppInfoScreen.d.ts +4 -0
- package/src/ui/screens/AppInfoScreen.js +373 -0
- package/src/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/src/ui/screens/EditProfileFieldScreen.js +549 -0
- package/src/ui/screens/FAQScreen.d.ts +4 -0
- package/src/ui/screens/FAQScreen.js +182 -0
- package/src/ui/screens/FeedbackScreen.d.ts +4 -0
- package/src/ui/screens/FeedbackScreen.js +160 -0
- package/src/ui/screens/FileManagementScreen.d.ts +4 -0
- package/src/ui/screens/FileManagementScreen.js +1473 -0
- package/src/ui/screens/FollowersListScreen.d.ts +8 -0
- package/src/ui/screens/FollowersListScreen.js +11 -0
- package/src/ui/screens/FollowingListScreen.d.ts +8 -0
- package/src/ui/screens/FollowingListScreen.js +11 -0
- package/src/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/src/ui/screens/HelpSupportScreen.js +140 -0
- package/src/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/src/ui/screens/HistoryViewScreen.js +225 -0
- package/src/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/src/ui/screens/LanguageSelectorScreen.js +178 -0
- package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/src/ui/screens/LearnMoreUsernamesScreen.js +150 -0
- package/src/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/src/ui/screens/LegalDocumentsScreen.js +185 -0
- package/src/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/src/ui/screens/OxyAuthScreen.js +431 -0
- package/src/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/src/ui/screens/PaymentGatewayScreen.js +171 -0
- package/src/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/src/ui/screens/PremiumSubscriptionScreen.js +1080 -0
- package/src/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/src/ui/screens/PrivacySettingsScreen.js +252 -0
- package/src/ui/screens/ProfileScreen.d.ts +8 -0
- package/src/ui/screens/ProfileScreen.js +254 -0
- package/src/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/src/ui/screens/SavesCollectionsScreen.js +150 -0
- package/src/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/src/ui/screens/SearchSettingsScreen.js +109 -0
- package/src/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/src/ui/screens/SessionManagementScreen.js +320 -0
- package/src/ui/screens/UserLinksScreen.d.ts +14 -0
- package/src/ui/screens/UserLinksScreen.js +57 -0
- package/src/ui/screens/UserListScreen.d.ts +10 -0
- package/src/ui/screens/UserListScreen.js +249 -0
- package/src/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/src/ui/screens/WelcomeNewUserScreen.js +304 -0
- package/src/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaAboutScreen.js +39 -0
- package/src/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaCenterScreen.js +159 -0
- package/src/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaFAQScreen.js +143 -0
- package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaLeaderboardScreen.js +56 -0
- package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaRewardsScreen.js +460 -0
- package/src/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaRulesScreen.js +47 -0
- package/src/ui/server.d.ts +40 -0
- package/src/ui/server.js +57 -0
- package/src/ui/stores/accountStore.d.ts +26 -0
- package/src/ui/stores/accountStore.js +196 -0
- package/src/ui/stores/assetStore.d.ts +53 -0
- package/src/ui/stores/assetStore.js +192 -0
- package/src/ui/stores/authStore.d.ts +16 -0
- package/src/ui/stores/authStore.js +47 -0
- package/src/ui/stores/fileStore.d.ts +30 -0
- package/src/ui/stores/fileStore.js +113 -0
- package/src/ui/stores/followStore.d.ts +24 -0
- package/src/ui/stores/followStore.js +154 -0
- package/src/ui/styles/authStyles.d.ts +331 -0
- package/src/ui/styles/authStyles.js +332 -0
- package/src/ui/styles/fonts.d.ts +20 -0
- package/src/ui/styles/fonts.js +72 -0
- package/src/ui/styles/index.d.ts +4 -0
- package/src/ui/styles/index.js +20 -0
- package/src/ui/styles/spacing.d.ts +48 -0
- package/src/ui/styles/spacing.js +63 -0
- package/src/ui/styles/theme.d.ts +67 -0
- package/src/ui/styles/theme.js +114 -0
- package/src/ui/types/fileManagement.d.ts +40 -0
- package/src/ui/types/fileManagement.js +2 -0
- package/src/ui/types/navigation.d.ts +36 -0
- package/src/ui/types/navigation.js +2 -0
- package/src/ui/utils/avatarUtils.d.ts +22 -0
- package/src/ui/utils/avatarUtils.js +52 -0
- package/src/ui/utils/colorUtils.d.ts +9 -0
- package/src/ui/utils/colorUtils.js +19 -0
- package/src/ui/utils/confirmAction.d.ts +6 -0
- package/src/ui/utils/confirmAction.js +22 -0
- package/src/ui/utils/errorHandlers.d.ts +34 -0
- package/src/ui/utils/errorHandlers.js +128 -0
- package/src/ui/utils/fileManagement.d.ts +86 -0
- package/src/ui/utils/fileManagement.js +238 -0
- package/src/ui/utils/iconNames.d.ts +111 -0
- package/src/ui/utils/iconNames.js +124 -0
- package/src/ui/utils/sessionHelpers.d.ts +64 -0
- package/src/ui/utils/sessionHelpers.js +90 -0
- package/src/ui/utils/storageHelpers.d.ts +27 -0
- package/src/ui/utils/storageHelpers.js +114 -0
- package/src/ui/utils/themeUtils.d.ts +10 -0
- package/src/ui/utils/themeUtils.js +17 -0
- package/src/ui/utils/userUtils.d.ts +28 -0
- package/src/ui/utils/userUtils.js +54 -0
- package/src/utils/hookUtils.d.ts +101 -0
- package/src/utils/hookUtils.js +373 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useUploadFile = exports.useUpdatePrivacySettings = exports.useUpdateAccountSettings = exports.useUploadAvatar = exports.useUpdateProfile = void 0;
|
|
7
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
8
|
+
const core_1 = require("@oxyhq/core");
|
|
9
|
+
const queryKeys_1 = require("../queries/queryKeys");
|
|
10
|
+
const OxyContext_1 = require("../../context/OxyContext");
|
|
11
|
+
const sonner_1 = require("../../../lib/sonner");
|
|
12
|
+
const avatarUtils_1 = require("../../utils/avatarUtils");
|
|
13
|
+
const authStore_1 = require("../../stores/authStore");
|
|
11
14
|
/**
|
|
12
15
|
* Update user profile with optimistic updates and offline queue support
|
|
13
16
|
*/
|
|
14
|
-
|
|
17
|
+
const useUpdateProfile = () => {
|
|
15
18
|
const {
|
|
16
19
|
oxyServices,
|
|
17
20
|
activeSessionId,
|
|
18
21
|
user
|
|
19
|
-
} = useOxy();
|
|
20
|
-
const queryClient = useQueryClient();
|
|
21
|
-
return useMutation({
|
|
22
|
+
} = (0, OxyContext_1.useOxy)();
|
|
23
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
24
|
+
return (0, react_query_1.useMutation)({
|
|
22
25
|
mutationFn: async updates => {
|
|
23
|
-
return authenticatedApiCall(oxyServices, activeSessionId, () => oxyServices.updateProfile(updates));
|
|
26
|
+
return (0, core_1.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.updateProfile(updates));
|
|
24
27
|
},
|
|
25
28
|
// Optimistic update
|
|
26
29
|
onMutate: async updates => {
|
|
27
30
|
// Cancel outgoing refetches
|
|
28
31
|
await queryClient.cancelQueries({
|
|
29
|
-
queryKey: queryKeys.accounts.current()
|
|
32
|
+
queryKey: queryKeys_1.queryKeys.accounts.current()
|
|
30
33
|
});
|
|
31
|
-
|
|
32
34
|
// Snapshot previous value
|
|
33
|
-
const previousUser = queryClient.getQueryData(queryKeys.accounts.current());
|
|
34
|
-
|
|
35
|
+
const previousUser = queryClient.getQueryData(queryKeys_1.queryKeys.accounts.current());
|
|
35
36
|
// Optimistically update
|
|
36
37
|
if (previousUser) {
|
|
37
|
-
queryClient.setQueryData(queryKeys.accounts.current(), {
|
|
38
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), {
|
|
38
39
|
...previousUser,
|
|
39
40
|
...updates
|
|
40
41
|
});
|
|
41
|
-
|
|
42
42
|
// Also update profile query if sessionId is available
|
|
43
43
|
if (activeSessionId) {
|
|
44
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), {
|
|
44
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), {
|
|
45
45
|
...previousUser,
|
|
46
46
|
...updates
|
|
47
47
|
});
|
|
@@ -54,54 +54,50 @@ export const useUpdateProfile = () => {
|
|
|
54
54
|
// On error, rollback
|
|
55
55
|
onError: (error, updates, context) => {
|
|
56
56
|
if (context?.previousUser) {
|
|
57
|
-
queryClient.setQueryData(queryKeys.accounts.current(), context.previousUser);
|
|
57
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), context.previousUser);
|
|
58
58
|
if (activeSessionId) {
|
|
59
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
59
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
toast.error(error instanceof Error ? error.message : 'Failed to update profile');
|
|
62
|
+
sonner_1.toast.error(error instanceof Error ? error.message : 'Failed to update profile');
|
|
63
63
|
},
|
|
64
64
|
// On success, invalidate and refetch
|
|
65
65
|
onSuccess: (data, updates) => {
|
|
66
66
|
// Update cache with server response
|
|
67
|
-
queryClient.setQueryData(queryKeys.accounts.current(), data);
|
|
67
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), data);
|
|
68
68
|
if (activeSessionId) {
|
|
69
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), data);
|
|
69
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), data);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
71
|
// Update authStore so frontend components see the changes immediately
|
|
73
|
-
useAuthStore.getState().setUser(data);
|
|
74
|
-
|
|
72
|
+
authStore_1.useAuthStore.getState().setUser(data);
|
|
75
73
|
// If avatar was updated, refresh accountStore with cache-busted URL
|
|
76
74
|
if (updates.avatar && activeSessionId && oxyServices) {
|
|
77
|
-
refreshAvatarInStore(activeSessionId, updates.avatar, oxyServices);
|
|
75
|
+
(0, avatarUtils_1.refreshAvatarInStore)(activeSessionId, updates.avatar, oxyServices);
|
|
78
76
|
}
|
|
79
|
-
|
|
80
77
|
// Invalidate all related queries to refresh everywhere
|
|
81
|
-
invalidateUserQueries(queryClient);
|
|
82
|
-
invalidateAccountQueries(queryClient);
|
|
78
|
+
(0, queryKeys_1.invalidateUserQueries)(queryClient);
|
|
79
|
+
(0, queryKeys_1.invalidateAccountQueries)(queryClient);
|
|
83
80
|
}
|
|
84
81
|
});
|
|
85
82
|
};
|
|
86
|
-
|
|
83
|
+
exports.useUpdateProfile = useUpdateProfile;
|
|
87
84
|
/**
|
|
88
85
|
* Upload avatar with progress tracking and offline queue support
|
|
89
86
|
*/
|
|
90
|
-
|
|
87
|
+
const useUploadAvatar = () => {
|
|
91
88
|
const {
|
|
92
89
|
oxyServices,
|
|
93
90
|
activeSessionId
|
|
94
|
-
} = useOxy();
|
|
95
|
-
const queryClient = useQueryClient();
|
|
96
|
-
return useMutation({
|
|
91
|
+
} = (0, OxyContext_1.useOxy)();
|
|
92
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
93
|
+
return (0, react_query_1.useMutation)({
|
|
97
94
|
mutationFn: async file => {
|
|
98
|
-
return authenticatedApiCall(oxyServices, activeSessionId, async () => {
|
|
95
|
+
return (0, core_1.authenticatedApiCall)(oxyServices, activeSessionId, async () => {
|
|
99
96
|
const uploadResult = await oxyServices.assetUpload(file, 'public');
|
|
100
97
|
const fileId = uploadResult?.file?.id;
|
|
101
98
|
if (!fileId || typeof fileId !== 'string') {
|
|
102
99
|
throw new Error('Upload succeeded but response did not contain a file ID');
|
|
103
100
|
}
|
|
104
|
-
|
|
105
101
|
// Update profile with file ID
|
|
106
102
|
return await oxyServices.updateProfile({
|
|
107
103
|
avatar: fileId
|
|
@@ -110,19 +106,18 @@ export const useUploadAvatar = () => {
|
|
|
110
106
|
},
|
|
111
107
|
onMutate: async file => {
|
|
112
108
|
await queryClient.cancelQueries({
|
|
113
|
-
queryKey: queryKeys.accounts.current()
|
|
109
|
+
queryKey: queryKeys_1.queryKeys.accounts.current()
|
|
114
110
|
});
|
|
115
|
-
const previousUser = queryClient.getQueryData(queryKeys.accounts.current());
|
|
116
|
-
|
|
111
|
+
const previousUser = queryClient.getQueryData(queryKeys_1.queryKeys.accounts.current());
|
|
117
112
|
// Optimistically set a temporary avatar (using file URI as placeholder)
|
|
118
113
|
if (previousUser) {
|
|
119
114
|
const optimisticUser = {
|
|
120
115
|
...previousUser,
|
|
121
116
|
avatar: file.uri // Temporary, will be replaced with fileId
|
|
122
117
|
};
|
|
123
|
-
queryClient.setQueryData(queryKeys.accounts.current(), optimisticUser);
|
|
118
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), optimisticUser);
|
|
124
119
|
if (activeSessionId) {
|
|
125
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), optimisticUser);
|
|
120
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), optimisticUser);
|
|
126
121
|
}
|
|
127
122
|
}
|
|
128
123
|
return {
|
|
@@ -131,45 +126,42 @@ export const useUploadAvatar = () => {
|
|
|
131
126
|
},
|
|
132
127
|
onError: (error, file, context) => {
|
|
133
128
|
if (context?.previousUser) {
|
|
134
|
-
queryClient.setQueryData(queryKeys.accounts.current(), context.previousUser);
|
|
129
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), context.previousUser);
|
|
135
130
|
if (activeSessionId) {
|
|
136
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
131
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
137
132
|
}
|
|
138
133
|
}
|
|
139
|
-
toast.error(error instanceof Error ? error.message : 'Failed to upload avatar');
|
|
134
|
+
sonner_1.toast.error(error instanceof Error ? error.message : 'Failed to upload avatar');
|
|
140
135
|
},
|
|
141
136
|
onSuccess: data => {
|
|
142
|
-
queryClient.setQueryData(queryKeys.accounts.current(), data);
|
|
137
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), data);
|
|
143
138
|
if (activeSessionId) {
|
|
144
|
-
queryClient.setQueryData(queryKeys.users.profile(activeSessionId), data);
|
|
139
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), data);
|
|
145
140
|
}
|
|
146
|
-
|
|
147
141
|
// Update authStore so frontend components see the changes immediately
|
|
148
|
-
useAuthStore.getState().setUser(data);
|
|
149
|
-
|
|
142
|
+
authStore_1.useAuthStore.getState().setUser(data);
|
|
150
143
|
// Refresh accountStore with cache-busted URL if avatar was updated
|
|
151
144
|
if (data?.avatar && activeSessionId && oxyServices) {
|
|
152
|
-
refreshAvatarInStore(activeSessionId, data.avatar, oxyServices);
|
|
145
|
+
(0, avatarUtils_1.refreshAvatarInStore)(activeSessionId, data.avatar, oxyServices);
|
|
153
146
|
}
|
|
154
|
-
|
|
155
147
|
// Invalidate all related queries to refresh everywhere
|
|
156
|
-
invalidateUserQueries(queryClient);
|
|
157
|
-
invalidateAccountQueries(queryClient);
|
|
158
|
-
toast.success('Avatar updated successfully');
|
|
148
|
+
(0, queryKeys_1.invalidateUserQueries)(queryClient);
|
|
149
|
+
(0, queryKeys_1.invalidateAccountQueries)(queryClient);
|
|
150
|
+
sonner_1.toast.success('Avatar updated successfully');
|
|
159
151
|
}
|
|
160
152
|
});
|
|
161
153
|
};
|
|
162
|
-
|
|
154
|
+
exports.useUploadAvatar = useUploadAvatar;
|
|
163
155
|
/**
|
|
164
156
|
* Update account settings
|
|
165
157
|
*/
|
|
166
|
-
|
|
158
|
+
const useUpdateAccountSettings = () => {
|
|
167
159
|
const {
|
|
168
160
|
oxyServices,
|
|
169
161
|
activeSessionId
|
|
170
|
-
} = useOxy();
|
|
171
|
-
const queryClient = useQueryClient();
|
|
172
|
-
return useMutation({
|
|
162
|
+
} = (0, OxyContext_1.useOxy)();
|
|
163
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
164
|
+
return (0, react_query_1.useMutation)({
|
|
173
165
|
mutationFn: async settings => {
|
|
174
166
|
return await oxyServices.updateProfile({
|
|
175
167
|
privacySettings: settings
|
|
@@ -177,11 +169,11 @@ export const useUpdateAccountSettings = () => {
|
|
|
177
169
|
},
|
|
178
170
|
onMutate: async settings => {
|
|
179
171
|
await queryClient.cancelQueries({
|
|
180
|
-
queryKey: queryKeys.accounts.settings()
|
|
172
|
+
queryKey: queryKeys_1.queryKeys.accounts.settings()
|
|
181
173
|
});
|
|
182
|
-
const previousUser = queryClient.getQueryData(queryKeys.accounts.current());
|
|
174
|
+
const previousUser = queryClient.getQueryData(queryKeys_1.queryKeys.accounts.current());
|
|
183
175
|
if (previousUser) {
|
|
184
|
-
queryClient.setQueryData(queryKeys.accounts.current(), {
|
|
176
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), {
|
|
185
177
|
...previousUser,
|
|
186
178
|
privacySettings: {
|
|
187
179
|
...previousUser.privacySettings,
|
|
@@ -195,37 +187,36 @@ export const useUpdateAccountSettings = () => {
|
|
|
195
187
|
},
|
|
196
188
|
onError: (error, settings, context) => {
|
|
197
189
|
if (context?.previousUser) {
|
|
198
|
-
queryClient.setQueryData(queryKeys.accounts.current(), context.previousUser);
|
|
190
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), context.previousUser);
|
|
199
191
|
}
|
|
200
|
-
toast.error(error instanceof Error ? error.message : 'Failed to update settings');
|
|
192
|
+
sonner_1.toast.error(error instanceof Error ? error.message : 'Failed to update settings');
|
|
201
193
|
},
|
|
202
194
|
onSuccess: data => {
|
|
203
|
-
queryClient.setQueryData(queryKeys.accounts.current(), data);
|
|
204
|
-
|
|
195
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), data);
|
|
205
196
|
// Update authStore so frontend components see the changes immediately
|
|
206
|
-
useAuthStore.getState().setUser(data);
|
|
207
|
-
invalidateAccountQueries(queryClient);
|
|
208
|
-
toast.success('Settings updated successfully');
|
|
197
|
+
authStore_1.useAuthStore.getState().setUser(data);
|
|
198
|
+
(0, queryKeys_1.invalidateAccountQueries)(queryClient);
|
|
199
|
+
sonner_1.toast.success('Settings updated successfully');
|
|
209
200
|
},
|
|
210
201
|
onSettled: () => {
|
|
211
202
|
queryClient.invalidateQueries({
|
|
212
|
-
queryKey: queryKeys.accounts.settings()
|
|
203
|
+
queryKey: queryKeys_1.queryKeys.accounts.settings()
|
|
213
204
|
});
|
|
214
205
|
}
|
|
215
206
|
});
|
|
216
207
|
};
|
|
217
|
-
|
|
208
|
+
exports.useUpdateAccountSettings = useUpdateAccountSettings;
|
|
218
209
|
/**
|
|
219
210
|
* Update privacy settings with optimistic updates and authentication handling
|
|
220
211
|
*/
|
|
221
|
-
|
|
212
|
+
const useUpdatePrivacySettings = () => {
|
|
222
213
|
const {
|
|
223
214
|
oxyServices,
|
|
224
215
|
activeSessionId,
|
|
225
216
|
user
|
|
226
|
-
} = useOxy();
|
|
227
|
-
const queryClient = useQueryClient();
|
|
228
|
-
return useMutation({
|
|
217
|
+
} = (0, OxyContext_1.useOxy)();
|
|
218
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
219
|
+
return (0, react_query_1.useMutation)({
|
|
229
220
|
mutationFn: async ({
|
|
230
221
|
settings,
|
|
231
222
|
userId
|
|
@@ -234,7 +225,7 @@ export const useUpdatePrivacySettings = () => {
|
|
|
234
225
|
if (!targetUserId) {
|
|
235
226
|
throw new Error('User ID is required');
|
|
236
227
|
}
|
|
237
|
-
return authenticatedApiCall(oxyServices, activeSessionId, () => oxyServices.updatePrivacySettings(settings, targetUserId));
|
|
228
|
+
return (0, core_1.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.updatePrivacySettings(settings, targetUserId));
|
|
238
229
|
},
|
|
239
230
|
// Optimistic update
|
|
240
231
|
onMutate: async ({
|
|
@@ -243,30 +234,26 @@ export const useUpdatePrivacySettings = () => {
|
|
|
243
234
|
}) => {
|
|
244
235
|
const targetUserId = userId || user?.id;
|
|
245
236
|
if (!targetUserId) return;
|
|
246
|
-
|
|
247
237
|
// Cancel outgoing refetches
|
|
248
238
|
await queryClient.cancelQueries({
|
|
249
|
-
queryKey: queryKeys.privacy.settings(targetUserId)
|
|
239
|
+
queryKey: queryKeys_1.queryKeys.privacy.settings(targetUserId)
|
|
250
240
|
});
|
|
251
241
|
await queryClient.cancelQueries({
|
|
252
|
-
queryKey: queryKeys.accounts.current()
|
|
242
|
+
queryKey: queryKeys_1.queryKeys.accounts.current()
|
|
253
243
|
});
|
|
254
|
-
|
|
255
244
|
// Snapshot previous values
|
|
256
|
-
const previousPrivacySettings = queryClient.getQueryData(queryKeys.privacy.settings(targetUserId));
|
|
257
|
-
const previousUser = queryClient.getQueryData(queryKeys.accounts.current());
|
|
258
|
-
|
|
245
|
+
const previousPrivacySettings = queryClient.getQueryData(queryKeys_1.queryKeys.privacy.settings(targetUserId));
|
|
246
|
+
const previousUser = queryClient.getQueryData(queryKeys_1.queryKeys.accounts.current());
|
|
259
247
|
// Optimistically update privacy settings
|
|
260
248
|
if (previousPrivacySettings) {
|
|
261
|
-
queryClient.setQueryData(queryKeys.privacy.settings(targetUserId), {
|
|
249
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.privacy.settings(targetUserId), {
|
|
262
250
|
...previousPrivacySettings,
|
|
263
251
|
...settings
|
|
264
252
|
});
|
|
265
253
|
}
|
|
266
|
-
|
|
267
254
|
// Also update user query if available
|
|
268
255
|
if (previousUser) {
|
|
269
|
-
queryClient.setQueryData(queryKeys.accounts.current(), {
|
|
256
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), {
|
|
270
257
|
...previousUser,
|
|
271
258
|
privacySettings: {
|
|
272
259
|
...previousUser.privacySettings,
|
|
@@ -285,12 +272,12 @@ export const useUpdatePrivacySettings = () => {
|
|
|
285
272
|
}, context) => {
|
|
286
273
|
const targetUserId = userId || user?.id;
|
|
287
274
|
if (context?.previousPrivacySettings && targetUserId) {
|
|
288
|
-
queryClient.setQueryData(queryKeys.privacy.settings(targetUserId), context.previousPrivacySettings);
|
|
275
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.privacy.settings(targetUserId), context.previousPrivacySettings);
|
|
289
276
|
}
|
|
290
277
|
if (context?.previousUser) {
|
|
291
|
-
queryClient.setQueryData(queryKeys.accounts.current(), context.previousUser);
|
|
278
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), context.previousUser);
|
|
292
279
|
}
|
|
293
|
-
toast.error(error instanceof Error ? error.message : 'Failed to update privacy settings');
|
|
280
|
+
sonner_1.toast.error(error instanceof Error ? error.message : 'Failed to update privacy settings');
|
|
294
281
|
},
|
|
295
282
|
// On success, invalidate and refetch
|
|
296
283
|
onSuccess: (data, {
|
|
@@ -298,21 +285,20 @@ export const useUpdatePrivacySettings = () => {
|
|
|
298
285
|
}) => {
|
|
299
286
|
const targetUserId = userId || user?.id;
|
|
300
287
|
if (targetUserId) {
|
|
301
|
-
queryClient.setQueryData(queryKeys.privacy.settings(targetUserId), data);
|
|
288
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.privacy.settings(targetUserId), data);
|
|
302
289
|
}
|
|
303
290
|
// Also update account query if it contains privacy settings
|
|
304
|
-
const currentUser = queryClient.getQueryData(queryKeys.accounts.current());
|
|
291
|
+
const currentUser = queryClient.getQueryData(queryKeys_1.queryKeys.accounts.current());
|
|
305
292
|
if (currentUser) {
|
|
306
293
|
const updatedUser = {
|
|
307
294
|
...currentUser,
|
|
308
295
|
privacySettings: data
|
|
309
296
|
};
|
|
310
|
-
queryClient.setQueryData(queryKeys.accounts.current(), updatedUser);
|
|
311
|
-
|
|
297
|
+
queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), updatedUser);
|
|
312
298
|
// Update authStore so frontend components see the changes immediately
|
|
313
|
-
useAuthStore.getState().setUser(updatedUser);
|
|
299
|
+
authStore_1.useAuthStore.getState().setUser(updatedUser);
|
|
314
300
|
}
|
|
315
|
-
invalidateAccountQueries(queryClient);
|
|
301
|
+
(0, queryKeys_1.invalidateAccountQueries)(queryClient);
|
|
316
302
|
},
|
|
317
303
|
// Always refetch after error or success
|
|
318
304
|
onSettled: (data, error, {
|
|
@@ -321,37 +307,34 @@ export const useUpdatePrivacySettings = () => {
|
|
|
321
307
|
const targetUserId = userId || user?.id;
|
|
322
308
|
if (targetUserId) {
|
|
323
309
|
queryClient.invalidateQueries({
|
|
324
|
-
queryKey: queryKeys.privacy.settings(targetUserId)
|
|
310
|
+
queryKey: queryKeys_1.queryKeys.privacy.settings(targetUserId)
|
|
325
311
|
});
|
|
326
312
|
}
|
|
327
313
|
queryClient.invalidateQueries({
|
|
328
|
-
queryKey: queryKeys.accounts.current()
|
|
314
|
+
queryKey: queryKeys_1.queryKeys.accounts.current()
|
|
329
315
|
});
|
|
330
316
|
}
|
|
331
317
|
});
|
|
332
318
|
};
|
|
333
|
-
|
|
334
|
-
/** Uploaded file data structure from API */
|
|
335
|
-
|
|
336
|
-
/** Upload result type that supports both single file and batch responses */
|
|
337
|
-
|
|
319
|
+
exports.useUpdatePrivacySettings = useUpdatePrivacySettings;
|
|
338
320
|
/**
|
|
339
321
|
* Upload file with authentication handling and progress tracking
|
|
340
322
|
*/
|
|
341
|
-
|
|
323
|
+
const useUploadFile = () => {
|
|
342
324
|
const {
|
|
343
325
|
oxyServices,
|
|
344
326
|
activeSessionId
|
|
345
|
-
} = useOxy();
|
|
346
|
-
return useMutation({
|
|
327
|
+
} = (0, OxyContext_1.useOxy)();
|
|
328
|
+
return (0, react_query_1.useMutation)({
|
|
347
329
|
mutationFn: async ({
|
|
348
330
|
file,
|
|
349
331
|
visibility,
|
|
350
332
|
metadata,
|
|
351
333
|
onProgress
|
|
352
334
|
}) => {
|
|
353
|
-
return authenticatedApiCall(oxyServices, activeSessionId, () => oxyServices.assetUpload(file, visibility, metadata, onProgress));
|
|
335
|
+
return (0, core_1.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.assetUpload(file, visibility, metadata, onProgress));
|
|
354
336
|
}
|
|
355
337
|
});
|
|
356
338
|
};
|
|
339
|
+
exports.useUploadFile = useUploadFile;
|
|
357
340
|
//# sourceMappingURL=useAccountMutations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMutation","useQueryClient","authenticatedApiCall","queryKeys","invalidateAccountQueries","invalidateUserQueries","useOxy","toast","refreshAvatarInStore","useAuthStore","useUpdateProfile","oxyServices","activeSessionId","user","queryClient","mutationFn","updates","updateProfile","onMutate","cancelQueries","queryKey","accounts","current","previousUser","getQueryData","setQueryData","users","profile","onError","error","context","Error","message","onSuccess","data","getState","setUser","avatar","useUploadAvatar","file","uploadResult","assetUpload","fileId","id","optimisticUser","uri","success","useUpdateAccountSettings","settings","privacySettings","onSettled","invalidateQueries","useUpdatePrivacySettings","userId","targetUserId","updatePrivacySettings","privacy","previousPrivacySettings","currentUser","updatedUser","useUploadFile","visibility","metadata","onProgress"],"sourceRoot":"../../../../../src","sources":["ui/hooks/mutations/useAccountMutations.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,cAAc,QAAQ,uBAAuB;AACnE,SAASC,oBAAoB,QAAQ,aAAa;AAElD,SAASC,SAAS,EAAEC,wBAAwB,EAAEC,qBAAqB,QAAQ,yBAAsB;AACjG,SAASC,MAAM,QAAQ,6BAA0B;AACjD,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,oBAAoB,QAAQ,4BAAyB;AAC9D,SAASC,YAAY,QAAQ,2BAAwB;;AAErD;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAA,KAAM;EACpC,MAAM;IAAEC,WAAW;IAAEC,eAAe;IAAEC;EAAK,CAAC,GAAGP,MAAM,CAAC,CAAC;EACvD,MAAMQ,WAAW,GAAGb,cAAc,CAAC,CAAC;EAEpC,OAAOD,WAAW,CAAC;IACjBe,UAAU,EAAE,MAAOC,OAAsB,IAAK;MAC5C,OAAOd,oBAAoB,CACzBS,WAAW,EACXC,eAAe,EACf,MAAMD,WAAW,CAACM,aAAa,CAACD,OAAO,CACzC,CAAC;IACH,CAAC;IACD;IACAE,QAAQ,EAAE,MAAOF,OAAO,IAAK;MAC3B;MACA,MAAMF,WAAW,CAACK,aAAa,CAAC;QAAEC,QAAQ,EAAEjB,SAAS,CAACkB,QAAQ,CAACC,OAAO,CAAC;MAAE,CAAC,CAAC;;MAE3E;MACA,MAAMC,YAAY,GAAGT,WAAW,CAACU,YAAY,CAAOrB,SAAS,CAACkB,QAAQ,CAACC,OAAO,CAAC,CAAC,CAAC;;MAEjF;MACA,IAAIC,YAAY,EAAE;QAChBT,WAAW,CAACW,YAAY,CAAOt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vC,CAAC;IACD;IACAoC,SAAS,EAAEA,CAAChB,IAAI,EAAEL,KAAK,EAAE;MAAEwB;IAAO,CAAC,KAAK;MACtC,MAAMC,YAAY,GAAGD,MAAM,IAAIxC,IAAI,EAAE8B,EAAE;MACvC,IAAIW,YAAY,EAAE;QAChBxC,WAAW,CAACqC,iBAAiB,CAAC;UAAE/B,QAAQ,EAAEjB,SAAS,CAACqD,OAAO,CAACR,QAAQ,CAACM,YAAY;QAAE,CAAC,CAAC;MACvF;MACAxC,WAAW,CAACqC,iBAAiB,CAAC;QAAE/B,QAAQ,EAAEjB,SAAS,CAACkB,QAAQ,CAACC,OAAO,CAAC;MAAE,CAAC,CAAC;IAC3E;EACF,CAAC,CAAC;AACJ,CAAC;;AAED;;AAYA;;AAOA;AACA;AACA;AACA,OAAO,MAAMsC,aAAa,GAAGA,CAAA,KAAM;EACjC,MAAM;IAAEjD,WAAW;IAAEC;EAAgB,CAAC,GAAGN,MAAM,CAAC,CAAC;EAEjD,OAAON,WAAW,CAAC;IACjBe,UAAU,EAAE,MAAAA,CAAO;MACjBwB,IAAI;MACJsB,UAAU;MACVC,QAAQ;MACRC;IAMF,CAAC,KAAK;MACJ,OAAO7D,oBAAoB,CACzBS,WAAW,EACXC,eAAe,EACf,MAAMD,WAAW,CAAC8B,WAAW,CAACF,IAAI,EAAEsB,UAAU,EAAEC,QAAQ,EAAEC,UAAU,CACtE,CAAC;IACH;EACF,CAAC,CAAC;AACJ,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["Object","defineProperty","exports","value","useUploadFile","useUpdatePrivacySettings","useUpdateAccountSettings","useUploadAvatar","useUpdateProfile","react_query_1","require","core_1","queryKeys_1","OxyContext_1","sonner_1","avatarUtils_1","authStore_1","oxyServices","activeSessionId","user","useOxy","queryClient","useQueryClient","useMutation","mutationFn","updates","authenticatedApiCall","updateProfile","onMutate","cancelQueries","queryKey","queryKeys","accounts","current","previousUser","getQueryData","setQueryData","users","profile","onError","error","context","toast","Error","message","onSuccess","data","useAuthStore","getState","setUser","avatar","refreshAvatarInStore","invalidateUserQueries","invalidateAccountQueries","file","uploadResult","assetUpload","fileId","id","optimisticUser","uri","success","settings","privacySettings","onSettled","invalidateQueries","userId","targetUserId","updatePrivacySettings","privacy","previousPrivacySettings","currentUser","updatedUser","visibility","metadata","onProgress"],"sourceRoot":"../../../../../src","sources":["ui/hooks/mutations/useAccountMutations.js"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,aAAa,GAAGF,OAAO,CAACG,wBAAwB,GAAGH,OAAO,CAACI,wBAAwB,GAAGJ,OAAO,CAACK,eAAe,GAAGL,OAAO,CAACM,gBAAgB,GAAG,KAAK,CAAC;AACzJ,MAAMC,aAAa,GAAGC,OAAO,CAAC,uBAAuB,CAAC;AACtD,MAAMC,MAAM,GAAGD,OAAO,CAAC,aAAa,CAAC;AACrC,MAAME,WAAW,GAAGF,OAAO,CAAC,sBAAsB,CAAC;AACnD,MAAMG,YAAY,GAAGH,OAAO,CAAC,0BAA0B,CAAC;AACxD,MAAMI,QAAQ,GAAGJ,OAAO,CAAC,qBAAqB,CAAC;AAC/C,MAAMK,aAAa,GAAGL,OAAO,CAAC,yBAAyB,CAAC;AACxD,MAAMM,WAAW,GAAGN,OAAO,CAAC,wBAAwB,CAAC;AACrD;AACA;AACA;AACA,MAAMF,gBAAgB,GAAGA,CAAA,KAAM;EAC3B,MAAM;IAAES,WAAW;IAAEC,eAAe;IAAEC;EAAK,CAAC,GAAG,CAAC,CAAC,EAAEN,YAAY,CAACO,MAAM,EAAE,CAAC;EACzE,MAAMC,WAAW,GAAG,CAAC,CAAC,EAAEZ,aAAa,CAACa,cAAc,EAAE,CAAC;EACvD,OAAO,CAAC,CAAC,EAAEb,aAAa,CAACc,WAAW,EAAE;IAClCC,UAAU,EAAE,MAAOC,OAAO,IA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