@oxyhq/services 6.9.15 → 6.9.16
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/icons/OxyServices.js +13 -52
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +18 -57
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js +200 -190
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +5 -16
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/lib/sonner.native.js +8 -45
- package/lib/commonjs/lib/sonner.native.js.map +1 -1
- package/lib/commonjs/lib/sonner.web.js +8 -45
- package/lib/commonjs/lib/sonner.web.js.map +1 -1
- package/lib/commonjs/ui/client.js +66 -88
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -26
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +39 -27
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheet.js +0 -20
- package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +65 -103
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -30
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +10 -13
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +52 -81
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FontLoader.js +17 -52
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +27 -29
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +10 -11
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -34
- package/lib/commonjs/ui/components/Header.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -26
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- 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 +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +4 -8
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
- package/lib/commonjs/ui/components/LoadingState.js +11 -14
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +14 -53
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +17 -19
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- 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 +31 -35
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- 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 +12 -15
- package/lib/commonjs/ui/components/Section.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +14 -13
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/SignInModal.js +115 -132
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +71 -85
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/Surface.js +37 -79
- package/lib/commonjs/ui/components/Surface.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +8 -6
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +29 -74
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +23 -27
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +27 -31
- 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 +0 -1
- 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 +21 -23
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +10 -37
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -2
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +65 -106
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -33
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +25 -35
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +43 -44
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +35 -76
- 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 +30 -64
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +26 -68
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +6 -10
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- 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 +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/index.js +0 -10
- 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 +14 -13
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +66 -77
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +118 -127
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -20
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +7 -12
- package/lib/commonjs/ui/components/icon/index.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +54 -62
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +21 -22
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +41 -52
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/modals/index.js +3 -8
- package/lib/commonjs/ui/components/modals/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +70 -89
- 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 +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
- package/lib/commonjs/ui/components/payment/index.js +0 -15
- 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 +27 -59
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +6 -4
- 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 +6 -4
- 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 +3 -43
- 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 +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +7 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/iconColors.js +16 -12
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +9 -8
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -1
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +4 -27
- package/lib/commonjs/ui/context/ThemeContext.js.map +1 -2
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -27
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/hooks/index.js +26 -27
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +22 -31
- 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 +106 -83
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +53 -45
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +39 -50
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -6
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +39 -33
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -11
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +32 -28
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +17 -10
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +26 -13
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAuth.js +28 -23
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -3
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +8 -6
- 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 +9 -7
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +75 -67
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -5
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- 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 +17 -16
- 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 +44 -40
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +39 -34
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +22 -16
- 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 +13 -12
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/commonjs/ui/hooks/useWebSSO.js +19 -11
- package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/commonjs/ui/index.js +51 -61
- 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 +0 -1
- package/lib/commonjs/ui/navigation/routes.js +12 -6
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +66 -75
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +133 -164
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +133 -150
- 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 +44 -83
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -19
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +54 -61
- package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +137 -155
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +36 -75
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -79
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +50 -82
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +31 -35
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -23
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +107 -120
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +69 -63
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +205 -241
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +81 -114
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +102 -128
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -31
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -69
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- 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 +85 -120
- 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 +72 -91
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +45 -80
- 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 +0 -1
- 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 +58 -47
- 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 +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +16 -13
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +6 -5
- 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 +10 -3
- 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 +19 -18
- package/lib/commonjs/ui/styles/fonts.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/spacing.js +0 -11
- package/lib/commonjs/ui/styles/spacing.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +12 -11
- 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 +16 -11
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +0 -17
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- 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 +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +38 -22
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +12 -7
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +0 -15
- package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/userUtils.js +9 -6
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +79 -60
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/icons/OxyServices.js +0 -12
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -15
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/index.js +34 -406
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner-safe.js +8 -7
- package/lib/module/lib/sonner-safe.js.map +1 -1
- package/lib/module/lib/sonner.js +1 -17
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/lib/sonner.native.js +0 -45
- package/lib/module/lib/sonner.native.js.map +1 -1
- package/lib/module/lib/sonner.web.js +6 -48
- package/lib/module/lib/sonner.web.js.map +1 -1
- package/lib/module/ui/client.js +25 -165
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +27 -69
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +9 -13
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -8
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +0 -99
- package/lib/module/ui/components/BottomSheet.js.map +0 -1
- package/lib/module/ui/components/BottomSheetRouter.js +61 -105
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +16 -60
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/EmptyState.js +7 -15
- package/lib/module/ui/components/EmptyState.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +50 -84
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +17 -57
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +27 -31
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +9 -13
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +57 -102
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +13 -55
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +13 -19
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +24 -31
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +4 -14
- package/lib/module/ui/components/IconButton/utils.js.map +1 -1
- package/lib/module/ui/components/LoadingState.js +0 -12
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -13
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -14
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +48 -39
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +37 -42
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +29 -37
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +15 -18
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/Section.js +0 -16
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +12 -15
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +0 -17
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +115 -142
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -43
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +34 -82
- package/lib/module/ui/components/Surface.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -8
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +8 -12
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -62
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -15
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +28 -33
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +9 -13
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -3
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +2 -7
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +18 -25
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +63 -109
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +61 -109
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/TextField/constants.js +0 -23
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +50 -69
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField/types.js +1 -3
- package/lib/module/ui/components/TextField/types.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -64
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +6 -7
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +28 -67
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -47
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +6 -16
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -8
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +3 -7
- package/lib/module/ui/components/Typography/types.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +12 -20
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -10
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/module/ui/components/feedback/constants.js +3 -7
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +10 -15
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/feedback/index.js +5 -56
- package/lib/module/ui/components/feedback/index.js.map +1 -1
- package/lib/module/ui/components/feedback/types.js +0 -3
- package/lib/module/ui/components/feedback/types.js.map +0 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js +6 -11
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -10
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +67 -72
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -38
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -27
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +20 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +14 -58
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -5
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +2 -23
- package/lib/module/ui/components/icon/index.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -111
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -11
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +12 -15
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +40 -48
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/modals/index.js +1 -16
- package/lib/module/ui/components/modals/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +69 -77
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +17 -25
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -18
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -29
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/module/ui/components/payment/constants.js +0 -7
- package/lib/module/ui/components/payment/constants.js.map +0 -1
- package/lib/module/ui/components/payment/index.js +0 -73
- package/lib/module/ui/components/payment/index.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +0 -9
- package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/module/ui/components/payment/types.js +1 -3
- package/lib/module/ui/components/payment/types.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +25 -62
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +0 -13
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +8 -12
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +6 -9
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/components/types.js +1 -3
- package/lib/module/ui/components/types.js.map +1 -1
- package/lib/module/ui/components/utils/forwardRef.js +0 -40
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +1 -5
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +1 -6
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js +7 -5
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/iconColors.js +14 -16
- package/lib/module/ui/constants/iconColors.js.map +1 -1
- package/lib/module/ui/constants/spacing.js +25 -24
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/constants/theme.js +4 -7
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +0 -17
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +7 -13
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +39 -68
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +0 -64
- package/lib/module/ui/hooks/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/index.js +5 -67
- package/lib/module/ui/hooks/mutations/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -7
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +109 -92
- 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 +0 -114
- package/lib/module/ui/hooks/queries/index.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +36 -39
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +40 -44
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +12 -17
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +33 -37
- 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 +26 -19
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +16 -20
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +20 -24
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +13 -16
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useColorScheme.js +0 -3
- package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +11 -16
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +9 -15
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFileFiltering.js +0 -9
- package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +77 -75
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -6
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +0 -7
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +18 -22
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -9
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -5
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +45 -46
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +0 -15
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +0 -14
- package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +7 -12
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +10 -14
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +14 -18
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/module/ui/hooks/useWebSSO.js +16 -12
- package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/module/ui/index.js +46 -74
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js +1 -4
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -17
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +14 -8
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +65 -71
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +131 -167
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -88
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -88
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +42 -86
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +76 -79
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +89 -114
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +0 -38
- package/lib/module/ui/screens/FAQScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -58
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -149
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -8
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +4 -12
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -45
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +41 -81
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -71
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +31 -33
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +35 -72
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +0 -50
- package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -28
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +205 -186
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -56
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +101 -102
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -55
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -39
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +89 -81
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -21
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +0 -69
- package/lib/module/ui/screens/UserListScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +82 -123
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +26 -29
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +72 -74
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +43 -83
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -30
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +80 -81
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/server.js +29 -50
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/accountStore.js +0 -7
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +14 -24
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +5 -8
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/stores/fileStore.js +0 -6
- package/lib/module/ui/stores/fileStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +9 -6
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +12 -17
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/fonts.js +0 -8
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/module/ui/styles/index.js +4 -26
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -54
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +13 -19
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/types/fileManagement.js +1 -3
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +1 -3
- package/lib/module/ui/types/navigation.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -5
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -44
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -7
- package/lib/module/ui/utils/confirmAction.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js +18 -16
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +0 -6
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/iconNames.js +20 -24
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +15 -17
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +10 -12
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +2 -35
- package/lib/module/ui/utils/themeUtils.js.map +0 -1
- package/lib/module/ui/utils/userUtils.js +6 -10
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +83 -82
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/package.json +1 -1
- package/lib/commonjs/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/commonjs/assets/assets/icons/OxyServices.js +0 -53
- package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/commonjs/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/module/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/module/assets/assets/icons/OxyServices.js +0 -53
- package/lib/module/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/module/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -28
- package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/typescript/index.d.ts +0 -46
- package/lib/typescript/lib/sonner-safe.d.ts +0 -8
- package/lib/typescript/lib/sonner.d.ts +0 -11
- package/lib/typescript/lib/sonner.native.d.ts +0 -14
- package/lib/typescript/lib/sonner.web.d.ts +0 -14
- package/lib/typescript/ui/client.d.ts +0 -30
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -44
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/lib/typescript/ui/components/Avatar.d.ts +0 -60
- package/lib/typescript/ui/components/BottomSheet.d.ts +0 -28
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -8
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -26
- package/lib/typescript/ui/components/EmptyState.d.ts +0 -7
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -28
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -14
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -23
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -29
- package/lib/typescript/ui/components/Header.d.ts +0 -37
- package/lib/typescript/ui/components/HelperText.d.ts +0 -46
- package/lib/typescript/ui/components/Icon.d.ts +0 -59
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -98
- package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -18
- package/lib/typescript/ui/components/LoadingState.d.ts +0 -8
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -28
- package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -28
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -37
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -64
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -17
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -14
- package/lib/typescript/ui/components/Section.d.ts +0 -11
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
- package/lib/typescript/ui/components/SettingRow.d.ts +0 -19
- package/lib/typescript/ui/components/SignInModal.d.ts +0 -17
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -25
- package/lib/typescript/ui/components/Surface.d.ts +0 -75
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/constants.d.ts +0 -31
- package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -96
- package/lib/typescript/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/ui/components/TextField.d.ts +0 -191
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/lib/typescript/ui/components/Typography/types.d.ts +0 -18
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +0 -19
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/lib/typescript/ui/components/feedback/constants.d.ts +0 -4
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/ui/components/feedback/index.d.ts +0 -6
- package/lib/typescript/ui/components/feedback/types.d.ts +0 -45
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -859
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -9
- package/lib/typescript/ui/components/icon/index.d.ts +0 -3
- package/lib/typescript/ui/components/index.d.ts +0 -16
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -22
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/lib/typescript/ui/components/modals/index.d.ts +0 -1
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/lib/typescript/ui/components/payment/constants.d.ts +0 -6
- package/lib/typescript/ui/components/payment/index.d.ts +0 -8
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +0 -395
- package/lib/typescript/ui/components/payment/types.d.ts +0 -39
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/lib/typescript/ui/components/styles/overlay.d.ts +0 -3
- package/lib/typescript/ui/components/styles/shadow.d.ts +0 -2
- package/lib/typescript/ui/components/theming.d.ts +0 -7
- package/lib/typescript/ui/components/types.d.ts +0 -80
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -11
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -19
- package/lib/typescript/ui/constants/iconColors.d.ts +0 -129
- package/lib/typescript/ui/constants/spacing.d.ts +0 -32
- package/lib/typescript/ui/constants/theme.d.ts +0 -96
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -75
- package/lib/typescript/ui/context/ThemeContext.d.ts +0 -18
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/lib/typescript/ui/hooks/index.d.ts +0 -6
- package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -8
- package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/lib/typescript/ui/hooks/queries/index.d.ts +0 -10
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/lib/typescript/ui/hooks/queryClient.d.ts +0 -18
- package/lib/typescript/ui/hooks/useAssets.d.ts +0 -34
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +0 -50
- package/lib/typescript/ui/hooks/useAuth.d.ts +0 -77
- package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/lib/typescript/ui/hooks/useColorScheme.d.ts +0 -7
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/lib/typescript/ui/hooks/useFileFiltering.d.ts +0 -28
- package/lib/typescript/ui/hooks/useFollow.d.ts +0 -92
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -32
- package/lib/typescript/ui/hooks/useI18n.d.ts +0 -4
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -35
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -6
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -40
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -14
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +0 -56
- package/lib/typescript/ui/hooks/useStorage.d.ts +0 -15
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -93
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -44
- package/lib/typescript/ui/hooks/useWebSSO.d.ts +0 -57
- package/lib/typescript/ui/index.d.ts +0 -23
- package/lib/typescript/ui/isFrontend.d.ts +0 -2
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/lib/typescript/ui/navigation/routes.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/FAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FollowersListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/FollowingListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/UserListScreen.d.ts +0 -10
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/lib/typescript/ui/server.d.ts +0 -40
- package/lib/typescript/ui/stores/accountStore.d.ts +0 -26
- package/lib/typescript/ui/stores/assetStore.d.ts +0 -53
- package/lib/typescript/ui/stores/authStore.d.ts +0 -16
- package/lib/typescript/ui/stores/fileStore.d.ts +0 -30
- package/lib/typescript/ui/stores/followStore.d.ts +0 -24
- package/lib/typescript/ui/styles/authStyles.d.ts +0 -331
- package/lib/typescript/ui/styles/fonts.d.ts +0 -20
- package/lib/typescript/ui/styles/index.d.ts +0 -4
- package/lib/typescript/ui/styles/spacing.d.ts +0 -48
- package/lib/typescript/ui/styles/theme.d.ts +0 -67
- package/lib/typescript/ui/types/fileManagement.d.ts +0 -40
- package/lib/typescript/ui/types/navigation.d.ts +0 -36
- package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -22
- package/lib/typescript/ui/utils/colorUtils.d.ts +0 -9
- package/lib/typescript/ui/utils/confirmAction.d.ts +0 -6
- package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -34
- package/lib/typescript/ui/utils/fileManagement.d.ts +0 -86
- package/lib/typescript/ui/utils/iconNames.d.ts +0 -111
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -64
- package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -27
- package/lib/typescript/ui/utils/themeUtils.d.ts +0 -10
- package/lib/typescript/ui/utils/userUtils.d.ts +0 -28
- package/lib/typescript/utils/hookUtils.d.ts +0 -101
- package/src/assets/icons/OxyServices.d.ts +0 -28
- package/src/assets/icons/OxyServices.js +0 -53
- package/src/assets/illustrations/HighFive.d.ts +0 -7
- package/src/assets/illustrations/HighFive.js +0 -41
- package/src/index.d.ts +0 -46
- package/src/index.js +0 -127
- package/src/lib/sonner-safe.d.ts +0 -8
- package/src/lib/sonner-safe.js +0 -28
- package/src/lib/sonner.d.ts +0 -11
- package/src/lib/sonner.js +0 -16
- package/src/lib/sonner.native.d.ts +0 -14
- package/src/lib/sonner.native.js +0 -46
- package/src/lib/sonner.web.d.ts +0 -14
- package/src/lib/sonner.web.js +0 -46
- package/src/ui/client.d.ts +0 -30
- package/src/ui/client.js +0 -64
- package/src/ui/components/ActivityIndicator.d.ts +0 -44
- package/src/ui/components/ActivityIndicator.js +0 -184
- package/src/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/src/ui/components/AutoHeightScrollView.js +0 -33
- package/src/ui/components/Avatar.d.ts +0 -60
- package/src/ui/components/Avatar.js +0 -146
- package/src/ui/components/BottomSheet.d.ts +0 -28
- package/src/ui/components/BottomSheet.js +0 -374
- package/src/ui/components/BottomSheetRouter.d.ts +0 -8
- package/src/ui/components/BottomSheetRouter.js +0 -211
- package/src/ui/components/CrossFadeIcon.d.ts +0 -26
- package/src/ui/components/CrossFadeIcon.js +0 -111
- package/src/ui/components/EmptyState.d.ts +0 -7
- package/src/ui/components/EmptyState.js +0 -27
- package/src/ui/components/FollowButton.d.ts +0 -28
- package/src/ui/components/FollowButton.js +0 -197
- package/src/ui/components/FontLoader.d.ts +0 -14
- package/src/ui/components/FontLoader.js +0 -185
- package/src/ui/components/GroupedItem.d.ts +0 -23
- package/src/ui/components/GroupedItem.js +0 -84
- package/src/ui/components/GroupedSection.d.ts +0 -29
- package/src/ui/components/GroupedSection.js +0 -13
- package/src/ui/components/Header.d.ts +0 -37
- package/src/ui/components/Header.js +0 -400
- package/src/ui/components/HelperText.d.ts +0 -46
- package/src/ui/components/HelperText.js +0 -119
- package/src/ui/components/Icon.d.ts +0 -59
- package/src/ui/components/Icon.js +0 -108
- package/src/ui/components/IconButton/IconButton.d.ts +0 -98
- package/src/ui/components/IconButton/IconButton.js +0 -90
- package/src/ui/components/IconButton/utils.d.ts +0 -18
- package/src/ui/components/IconButton/utils.js +0 -119
- package/src/ui/components/LoadingState.d.ts +0 -8
- package/src/ui/components/LoadingState.js +0 -29
- package/src/ui/components/OxyLogo.d.ts +0 -28
- package/src/ui/components/OxyLogo.js +0 -53
- package/src/ui/components/OxyPayButton.d.ts +0 -28
- package/src/ui/components/OxyPayButton.js +0 -76
- package/src/ui/components/OxyProvider.d.ts +0 -37
- package/src/ui/components/OxyProvider.js +0 -197
- package/src/ui/components/OxySignInButton.d.ts +0 -64
- package/src/ui/components/OxySignInButton.js +0 -145
- package/src/ui/components/ProfileCard.d.ts +0 -17
- package/src/ui/components/ProfileCard.js +0 -82
- package/src/ui/components/QuickActions.d.ts +0 -14
- package/src/ui/components/QuickActions.js +0 -62
- package/src/ui/components/Section.d.ts +0 -11
- package/src/ui/components/Section.js +0 -24
- package/src/ui/components/SectionTitle.d.ts +0 -9
- package/src/ui/components/SectionTitle.js +0 -21
- package/src/ui/components/SettingRow.d.ts +0 -19
- package/src/ui/components/SettingRow.js +0 -38
- package/src/ui/components/SignInModal.d.ts +0 -17
- package/src/ui/components/SignInModal.js +0 -428
- package/src/ui/components/StepBasedScreen.d.ts +0 -25
- package/src/ui/components/StepBasedScreen.js +0 -372
- package/src/ui/components/Surface.d.ts +0 -75
- package/src/ui/components/Surface.js +0 -239
- package/src/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/src/ui/components/TextField/Addons/Outline.js +0 -30
- package/src/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/src/ui/components/TextField/Addons/Underline.js +0 -45
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -132
- package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/src/ui/components/TextField/Adornment/TextFieldAffix.js +0 -88
- package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/src/ui/components/TextField/Adornment/TextFieldIcon.js +0 -91
- package/src/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/src/ui/components/TextField/Adornment/enums.js +0 -18
- package/src/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/types.js +0 -2
- package/src/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/utils.js +0 -50
- package/src/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/src/ui/components/TextField/Label/InputLabel.js +0 -125
- package/src/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/src/ui/components/TextField/Label/LabelBackground.js +0 -71
- package/src/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldFlat.js +0 -347
- package/src/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldOutlined.js +0 -313
- package/src/ui/components/TextField/constants.d.ts +0 -31
- package/src/ui/components/TextField/constants.js +0 -40
- package/src/ui/components/TextField/helpers.d.ts +0 -96
- package/src/ui/components/TextField/helpers.js +0 -388
- package/src/ui/components/TextField/types.d.ts +0 -155
- package/src/ui/components/TextField/types.js +0 -2
- package/src/ui/components/TextField.d.ts +0 -191
- package/src/ui/components/TextField.js +0 -291
- package/src/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/src/ui/components/TouchableRipple/Pressable.js +0 -5
- package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/src/ui/components/TouchableRipple/TouchableRipple.js +0 -246
- package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/src/ui/components/TouchableRipple/TouchableRipple.native.js +0 -99
- package/src/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/src/ui/components/TouchableRipple/utils.js +0 -40
- package/src/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/src/ui/components/Typography/AnimatedText.js +0 -49
- package/src/ui/components/Typography/types.d.ts +0 -18
- package/src/ui/components/Typography/types.js +0 -22
- package/src/ui/components/feedback/FormInput.d.ts +0 -19
- package/src/ui/components/feedback/FormInput.js +0 -26
- package/src/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/src/ui/components/feedback/ProgressIndicator.js +0 -16
- package/src/ui/components/feedback/constants.d.ts +0 -4
- package/src/ui/components/feedback/constants.js +0 -21
- package/src/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/src/ui/components/feedback/feedbackStyles.js +0 -250
- package/src/ui/components/feedback/index.d.ts +0 -6
- package/src/ui/components/feedback/index.js +0 -18
- package/src/ui/components/feedback/types.d.ts +0 -45
- package/src/ui/components/feedback/types.js +0 -2
- package/src/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/src/ui/components/feedback/useFeedbackForm.js +0 -42
- package/src/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/src/ui/components/fileManagement/AnimatedButton.js +0 -29
- package/src/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/src/ui/components/fileManagement/FileDetailsModal.js +0 -22
- package/src/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/src/ui/components/fileManagement/FileViewer.js +0 -138
- package/src/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/src/ui/components/fileManagement/UploadPreview.js +0 -35
- package/src/ui/components/fileManagement/styles.d.ts +0 -859
- package/src/ui/components/fileManagement/styles.js +0 -861
- package/src/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/src/ui/components/icon/FAIRWalletIcon.js +0 -54
- package/src/ui/components/icon/OxyIcon.d.ts +0 -9
- package/src/ui/components/icon/OxyIcon.js +0 -9
- package/src/ui/components/icon/index.d.ts +0 -3
- package/src/ui/components/icon/index.js +0 -10
- package/src/ui/components/index.d.ts +0 -16
- package/src/ui/components/index.js +0 -42
- package/src/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/src/ui/components/internal/GroupedPillButtons.js +0 -149
- package/src/ui/components/internal/PinInput.d.ts +0 -22
- package/src/ui/components/internal/PinInput.js +0 -76
- package/src/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/src/ui/components/modals/DeleteAccountModal.js +0 -154
- package/src/ui/components/modals/index.d.ts +0 -1
- package/src/ui/components/modals/index.js +0 -8
- package/src/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/src/ui/components/payment/PaymentDetailsStep.js +0 -65
- package/src/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/src/ui/components/payment/PaymentMethodStep.js +0 -54
- package/src/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/src/ui/components/payment/PaymentReviewStep.js +0 -88
- package/src/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/src/ui/components/payment/PaymentSuccessStep.js +0 -35
- package/src/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/src/ui/components/payment/PaymentSummaryStep.js +0 -60
- package/src/ui/components/payment/constants.d.ts +0 -6
- package/src/ui/components/payment/constants.js +0 -38
- package/src/ui/components/payment/index.d.ts +0 -8
- package/src/ui/components/payment/index.js +0 -24
- package/src/ui/components/payment/paymentStyles.d.ts +0 -395
- package/src/ui/components/payment/paymentStyles.js +0 -399
- package/src/ui/components/payment/types.d.ts +0 -39
- package/src/ui/components/payment/types.js +0 -2
- package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/src/ui/components/photogrid/JustifiedPhotoGrid.js +0 -122
- package/src/ui/components/styles/overlay.d.ts +0 -3
- package/src/ui/components/styles/overlay.js +0 -81
- package/src/ui/components/styles/shadow.d.ts +0 -2
- package/src/ui/components/styles/shadow.js +0 -123
- package/src/ui/components/theming.d.ts +0 -7
- package/src/ui/components/theming.js +0 -111
- package/src/ui/components/types.d.ts +0 -80
- package/src/ui/components/types.js +0 -2
- package/src/ui/components/utils/forwardRef.d.ts +0 -11
- package/src/ui/components/utils/forwardRef.js +0 -46
- package/src/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/src/ui/components/utils/hasTouchHandler.js +0 -14
- package/src/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/src/ui/components/utils/roundLayoutSize.js +0 -5
- package/src/ui/components/utils/splitStyles.d.ts +0 -19
- package/src/ui/components/utils/splitStyles.js +0 -40
- package/src/ui/constants/iconColors.d.ts +0 -129
- package/src/ui/constants/iconColors.js +0 -76
- package/src/ui/constants/spacing.d.ts +0 -32
- package/src/ui/constants/spacing.js +0 -40
- package/src/ui/constants/theme.d.ts +0 -96
- package/src/ui/constants/theme.js +0 -118
- package/src/ui/context/OxyContext.d.ts +0 -75
- package/src/ui/context/OxyContext.js +0 -522
- package/src/ui/context/ThemeContext.d.ts +0 -18
- package/src/ui/context/ThemeContext.js +0 -25
- package/src/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/src/ui/context/hooks/useAuthOperations.js +0 -318
- package/src/ui/hooks/index.d.ts +0 -6
- package/src/ui/hooks/index.js +0 -19
- package/src/ui/hooks/mutations/index.d.ts +0 -8
- package/src/ui/hooks/mutations/index.js +0 -23
- package/src/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/src/ui/hooks/mutations/mutationFactory.js +0 -126
- package/src/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/src/ui/hooks/mutations/useAccountMutations.js +0 -274
- package/src/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/src/ui/hooks/mutations/useServicesMutations.js +0 -149
- package/src/ui/hooks/queries/index.d.ts +0 -10
- package/src/ui/hooks/queries/index.js +0 -35
- package/src/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/src/ui/hooks/queries/queryKeys.js +0 -82
- package/src/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/src/ui/hooks/queries/useAccountQueries.js +0 -141
- package/src/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/src/ui/hooks/queries/useSecurityQueries.js +0 -45
- package/src/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/src/ui/hooks/queries/useServicesQueries.js +0 -113
- package/src/ui/hooks/queryClient.d.ts +0 -18
- package/src/ui/hooks/queryClient.js +0 -111
- package/src/ui/hooks/useAssets.d.ts +0 -34
- package/src/ui/hooks/useAssets.js +0 -204
- package/src/ui/hooks/useAsyncAction.d.ts +0 -50
- package/src/ui/hooks/useAsyncAction.js +0 -77
- package/src/ui/hooks/useAuth.d.ts +0 -77
- package/src/ui/hooks/useAuth.js +0 -135
- package/src/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/src/ui/hooks/useAvatarPicker.js +0 -44
- package/src/ui/hooks/useColorScheme.d.ts +0 -7
- package/src/ui/hooks/useColorScheme.js +0 -23
- package/src/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/src/ui/hooks/useDeviceManagement.js +0 -69
- package/src/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/src/ui/hooks/useFileDownloadUrl.js +0 -104
- package/src/ui/hooks/useFileFiltering.d.ts +0 -28
- package/src/ui/hooks/useFileFiltering.js +0 -80
- package/src/ui/hooks/useFollow.d.ts +0 -92
- package/src/ui/hooks/useFollow.js +0 -216
- package/src/ui/hooks/useFollow.types.d.ts +0 -32
- package/src/ui/hooks/useFollow.types.js +0 -4
- package/src/ui/hooks/useI18n.d.ts +0 -4
- package/src/ui/hooks/useI18n.js +0 -13
- package/src/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/src/ui/hooks/useLanguageManagement.js +0 -108
- package/src/ui/hooks/useProfileEditing.d.ts +0 -35
- package/src/ui/hooks/useProfileEditing.js +0 -101
- package/src/ui/hooks/useQueryClient.d.ts +0 -6
- package/src/ui/hooks/useQueryClient.js +0 -16
- package/src/ui/hooks/useSessionManagement.d.ts +0 -40
- package/src/ui/hooks/useSessionManagement.js +0 -312
- package/src/ui/hooks/useSessionSocket.d.ts +0 -14
- package/src/ui/hooks/useSessionSocket.js +0 -209
- package/src/ui/hooks/useSettingToggle.d.ts +0 -56
- package/src/ui/hooks/useSettingToggle.js +0 -97
- package/src/ui/hooks/useStorage.d.ts +0 -15
- package/src/ui/hooks/useStorage.js +0 -40
- package/src/ui/hooks/useThemeColors.d.ts +0 -93
- package/src/ui/hooks/useThemeColors.js +0 -27
- package/src/ui/hooks/useThemeStyles.d.ts +0 -44
- package/src/ui/hooks/useThemeStyles.js +0 -63
- package/src/ui/hooks/useWebSSO.d.ts +0 -57
- package/src/ui/hooks/useWebSSO.js +0 -146
- package/src/ui/index.d.ts +0 -23
- package/src/ui/index.js +0 -97
- package/src/ui/isFrontend.d.ts +0 -2
- package/src/ui/isFrontend.js +0 -6
- package/src/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/src/ui/navigation/bottomSheetManager.js +0 -68
- package/src/ui/navigation/routes.d.ts +0 -5
- package/src/ui/navigation/routes.js +0 -75
- package/src/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/src/ui/screens/AccountCenterScreen.js +0 -202
- package/src/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/src/ui/screens/AccountOverviewScreen.js +0 -648
- package/src/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/src/ui/screens/AccountSettingsScreen.js +0 -480
- package/src/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/src/ui/screens/AccountSwitcherScreen.js +0 -482
- package/src/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/src/ui/screens/AccountVerificationScreen.js +0 -164
- package/src/ui/screens/AppInfoScreen.d.ts +0 -4
- package/src/ui/screens/AppInfoScreen.js +0 -373
- package/src/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/src/ui/screens/EditProfileFieldScreen.js +0 -549
- package/src/ui/screens/FAQScreen.d.ts +0 -4
- package/src/ui/screens/FAQScreen.js +0 -182
- package/src/ui/screens/FeedbackScreen.d.ts +0 -4
- package/src/ui/screens/FeedbackScreen.js +0 -160
- package/src/ui/screens/FileManagementScreen.d.ts +0 -4
- package/src/ui/screens/FileManagementScreen.js +0 -1473
- package/src/ui/screens/FollowersListScreen.d.ts +0 -8
- package/src/ui/screens/FollowersListScreen.js +0 -11
- package/src/ui/screens/FollowingListScreen.d.ts +0 -8
- package/src/ui/screens/FollowingListScreen.js +0 -11
- package/src/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/src/ui/screens/HelpSupportScreen.js +0 -140
- package/src/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/src/ui/screens/HistoryViewScreen.js +0 -225
- package/src/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/src/ui/screens/LanguageSelectorScreen.js +0 -178
- package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/src/ui/screens/LearnMoreUsernamesScreen.js +0 -150
- package/src/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/src/ui/screens/LegalDocumentsScreen.js +0 -185
- package/src/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/src/ui/screens/OxyAuthScreen.js +0 -431
- package/src/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/src/ui/screens/PaymentGatewayScreen.js +0 -171
- package/src/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/src/ui/screens/PremiumSubscriptionScreen.js +0 -1080
- package/src/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/src/ui/screens/PrivacySettingsScreen.js +0 -252
- package/src/ui/screens/ProfileScreen.d.ts +0 -8
- package/src/ui/screens/ProfileScreen.js +0 -254
- package/src/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/src/ui/screens/SavesCollectionsScreen.js +0 -150
- package/src/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/src/ui/screens/SearchSettingsScreen.js +0 -109
- package/src/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/src/ui/screens/SessionManagementScreen.js +0 -320
- package/src/ui/screens/UserLinksScreen.d.ts +0 -14
- package/src/ui/screens/UserLinksScreen.js +0 -57
- package/src/ui/screens/UserListScreen.d.ts +0 -10
- package/src/ui/screens/UserListScreen.js +0 -249
- package/src/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/src/ui/screens/WelcomeNewUserScreen.js +0 -304
- package/src/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaAboutScreen.js +0 -39
- package/src/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaCenterScreen.js +0 -159
- package/src/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaFAQScreen.js +0 -143
- package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaLeaderboardScreen.js +0 -56
- package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.js +0 -460
- package/src/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRulesScreen.js +0 -47
- package/src/ui/server.d.ts +0 -40
- package/src/ui/server.js +0 -57
- package/src/ui/stores/accountStore.d.ts +0 -26
- package/src/ui/stores/accountStore.js +0 -196
- package/src/ui/stores/assetStore.d.ts +0 -53
- package/src/ui/stores/assetStore.js +0 -192
- package/src/ui/stores/authStore.d.ts +0 -16
- package/src/ui/stores/authStore.js +0 -47
- package/src/ui/stores/fileStore.d.ts +0 -30
- package/src/ui/stores/fileStore.js +0 -113
- package/src/ui/stores/followStore.d.ts +0 -24
- package/src/ui/stores/followStore.js +0 -154
- package/src/ui/styles/authStyles.d.ts +0 -331
- package/src/ui/styles/authStyles.js +0 -332
- package/src/ui/styles/fonts.d.ts +0 -20
- package/src/ui/styles/fonts.js +0 -72
- package/src/ui/styles/index.d.ts +0 -4
- package/src/ui/styles/index.js +0 -20
- package/src/ui/styles/spacing.d.ts +0 -48
- package/src/ui/styles/spacing.js +0 -63
- package/src/ui/styles/theme.d.ts +0 -67
- package/src/ui/styles/theme.js +0 -114
- package/src/ui/types/fileManagement.d.ts +0 -40
- package/src/ui/types/fileManagement.js +0 -2
- package/src/ui/types/navigation.d.ts +0 -36
- package/src/ui/types/navigation.js +0 -2
- package/src/ui/utils/avatarUtils.d.ts +0 -22
- package/src/ui/utils/avatarUtils.js +0 -52
- package/src/ui/utils/colorUtils.d.ts +0 -9
- package/src/ui/utils/colorUtils.js +0 -19
- package/src/ui/utils/confirmAction.d.ts +0 -6
- package/src/ui/utils/confirmAction.js +0 -22
- package/src/ui/utils/errorHandlers.d.ts +0 -34
- package/src/ui/utils/errorHandlers.js +0 -128
- package/src/ui/utils/fileManagement.d.ts +0 -86
- package/src/ui/utils/fileManagement.js +0 -238
- package/src/ui/utils/iconNames.d.ts +0 -111
- package/src/ui/utils/iconNames.js +0 -124
- package/src/ui/utils/sessionHelpers.d.ts +0 -64
- package/src/ui/utils/sessionHelpers.js +0 -90
- package/src/ui/utils/storageHelpers.d.ts +0 -27
- package/src/ui/utils/storageHelpers.js +0 -114
- package/src/ui/utils/themeUtils.d.ts +0 -10
- package/src/ui/utils/themeUtils.js +0 -17
- package/src/ui/utils/userUtils.d.ts +0 -28
- package/src/ui/utils/userUtils.js +0 -54
- package/src/utils/hookUtils.d.ts +0 -101
- package/src/utils/hookUtils.js +0 -373
|
@@ -1,77 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Mutation Hooks
|
|
5
|
-
*
|
|
6
|
-
* TanStack Query mutation hooks for updating Oxy services data.
|
|
7
|
-
* All mutations handle authentication, error handling, and query invalidation.
|
|
8
|
-
*/
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: true
|
|
11
5
|
});
|
|
12
|
-
|
|
13
|
-
// Account mutation hooks
|
|
14
|
-
var useAccountMutations_1 = require("./useAccountMutations");
|
|
15
|
-
Object.defineProperty(exports, "useUpdateProfile", {
|
|
6
|
+
Object.defineProperty(exports, "useLogoutAll", {
|
|
16
7
|
enumerable: true,
|
|
17
8
|
get: function () {
|
|
18
|
-
return
|
|
9
|
+
return _useServicesMutations.useLogoutAll;
|
|
19
10
|
}
|
|
20
11
|
});
|
|
21
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "useLogoutSession", {
|
|
22
13
|
enumerable: true,
|
|
23
14
|
get: function () {
|
|
24
|
-
return
|
|
15
|
+
return _useServicesMutations.useLogoutSession;
|
|
25
16
|
}
|
|
26
17
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "useRemoveDevice", {
|
|
28
19
|
enumerable: true,
|
|
29
20
|
get: function () {
|
|
30
|
-
return
|
|
21
|
+
return _useServicesMutations.useRemoveDevice;
|
|
31
22
|
}
|
|
32
23
|
});
|
|
33
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "useSwitchSession", {
|
|
34
25
|
enumerable: true,
|
|
35
26
|
get: function () {
|
|
36
|
-
return
|
|
27
|
+
return _useServicesMutations.useSwitchSession;
|
|
37
28
|
}
|
|
38
29
|
});
|
|
39
|
-
Object.defineProperty(exports, "
|
|
30
|
+
Object.defineProperty(exports, "useUpdateAccountSettings", {
|
|
40
31
|
enumerable: true,
|
|
41
32
|
get: function () {
|
|
42
|
-
return
|
|
33
|
+
return _useAccountMutations.useUpdateAccountSettings;
|
|
43
34
|
}
|
|
44
35
|
});
|
|
45
|
-
|
|
46
|
-
var useServicesMutations_1 = require("./useServicesMutations");
|
|
47
|
-
Object.defineProperty(exports, "useSwitchSession", {
|
|
36
|
+
Object.defineProperty(exports, "useUpdateDeviceName", {
|
|
48
37
|
enumerable: true,
|
|
49
38
|
get: function () {
|
|
50
|
-
return
|
|
39
|
+
return _useServicesMutations.useUpdateDeviceName;
|
|
51
40
|
}
|
|
52
41
|
});
|
|
53
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "useUpdatePrivacySettings", {
|
|
54
43
|
enumerable: true,
|
|
55
44
|
get: function () {
|
|
56
|
-
return
|
|
45
|
+
return _useAccountMutations.useUpdatePrivacySettings;
|
|
57
46
|
}
|
|
58
47
|
});
|
|
59
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "useUpdateProfile", {
|
|
60
49
|
enumerable: true,
|
|
61
50
|
get: function () {
|
|
62
|
-
return
|
|
51
|
+
return _useAccountMutations.useUpdateProfile;
|
|
63
52
|
}
|
|
64
53
|
});
|
|
65
|
-
Object.defineProperty(exports, "
|
|
54
|
+
Object.defineProperty(exports, "useUploadAvatar", {
|
|
66
55
|
enumerable: true,
|
|
67
56
|
get: function () {
|
|
68
|
-
return
|
|
57
|
+
return _useAccountMutations.useUploadAvatar;
|
|
69
58
|
}
|
|
70
59
|
});
|
|
71
|
-
Object.defineProperty(exports, "
|
|
60
|
+
Object.defineProperty(exports, "useUploadFile", {
|
|
72
61
|
enumerable: true,
|
|
73
62
|
get: function () {
|
|
74
|
-
return
|
|
63
|
+
return _useAccountMutations.useUploadFile;
|
|
75
64
|
}
|
|
76
65
|
});
|
|
66
|
+
var _useAccountMutations = require("./useAccountMutations.js");
|
|
67
|
+
var _useServicesMutations = require("./useServicesMutations.js");
|
|
77
68
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_useAccountMutations","require","_useServicesMutations"],"sourceRoot":"../../../../../src","sources":["ui/hooks/mutations/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,oBAAA,GAAAC,OAAA;AASA,IAAAC,qBAAA,GAAAD,OAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_queryKeys","require","_sonner","_authStore","createProfileMutation","config","queryClient","activeSessionId","mutationFn","cancelQueryKeys","optimisticUpdate","errorMessage","successMessage","updateAuthStore","invalidateUserQueries","shouldInvalidateUserQueries","invalidateAccountQueries","shouldInvalidateAccountQueries","onSuccess","customOnSuccess","onMutate","variables","cancelQueries","queryKey","queryKeys","accounts","current","key","previousUser","getQueryData","updates","optimisticUser","setQueryData","users","profile","onError","error","_variables","context","message","Error","toast","data","useAuthStore","getState","setUser","success","createGenericMutation","optimisticData","invalidateQueries","previous","undefined"],"sourceRoot":"../../../../../src","sources":["ui/hooks/mutations/mutationFactory.ts"],"mappings":";;;;;;;AAaA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;;AAsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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,CAAC;UAAE1B,QAAQ,EAAEI;QAAI,CAAC,CAAC;MAClD;MAEA,IAAIf,cAAc,EAAE;QAClB6B,aAAK,CAACK,OAAO,CAAClC,cAAc,CAAC;MAC/B;IACF;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.useUploadFile = exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
exports.useUploadFile = exports.useUploadAvatar = exports.useUpdateProfile = exports.useUpdatePrivacySettings = exports.useUpdateAccountSettings = void 0;
|
|
7
|
+
var _reactQuery = require("@tanstack/react-query");
|
|
8
|
+
var _core = require("@oxyhq/core");
|
|
9
|
+
var _queryKeys = require("../queries/queryKeys.js");
|
|
10
|
+
var _OxyContext = require("../../context/OxyContext.js");
|
|
11
|
+
var _sonner = require("../../../lib/sonner");
|
|
12
|
+
var _avatarUtils = require("../../utils/avatarUtils.js");
|
|
13
|
+
var _authStore = require("../../stores/authStore.js");
|
|
14
14
|
/**
|
|
15
15
|
* Update user profile with optimistic updates and offline queue support
|
|
16
16
|
*/
|
|
@@ -19,29 +19,32 @@ const useUpdateProfile = () => {
|
|
|
19
19
|
oxyServices,
|
|
20
20
|
activeSessionId,
|
|
21
21
|
user
|
|
22
|
-
} = (0,
|
|
23
|
-
const queryClient = (0,
|
|
24
|
-
return (0,
|
|
22
|
+
} = (0, _OxyContext.useOxy)();
|
|
23
|
+
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
24
|
+
return (0, _reactQuery.useMutation)({
|
|
25
25
|
mutationFn: async updates => {
|
|
26
|
-
return (0,
|
|
26
|
+
return (0, _core.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.updateProfile(updates));
|
|
27
27
|
},
|
|
28
28
|
// Optimistic update
|
|
29
29
|
onMutate: async updates => {
|
|
30
30
|
// Cancel outgoing refetches
|
|
31
31
|
await queryClient.cancelQueries({
|
|
32
|
-
queryKey:
|
|
32
|
+
queryKey: _queryKeys.queryKeys.accounts.current()
|
|
33
33
|
});
|
|
34
|
+
|
|
34
35
|
// Snapshot previous value
|
|
35
|
-
const previousUser = queryClient.getQueryData(
|
|
36
|
+
const previousUser = queryClient.getQueryData(_queryKeys.queryKeys.accounts.current());
|
|
37
|
+
|
|
36
38
|
// Optimistically update
|
|
37
39
|
if (previousUser) {
|
|
38
|
-
queryClient.setQueryData(
|
|
40
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), {
|
|
39
41
|
...previousUser,
|
|
40
42
|
...updates
|
|
41
43
|
});
|
|
44
|
+
|
|
42
45
|
// Also update profile query if sessionId is available
|
|
43
46
|
if (activeSessionId) {
|
|
44
|
-
queryClient.setQueryData(
|
|
47
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), {
|
|
45
48
|
...previousUser,
|
|
46
49
|
...updates
|
|
47
50
|
});
|
|
@@ -54,50 +57,55 @@ const useUpdateProfile = () => {
|
|
|
54
57
|
// On error, rollback
|
|
55
58
|
onError: (error, updates, context) => {
|
|
56
59
|
if (context?.previousUser) {
|
|
57
|
-
queryClient.setQueryData(
|
|
60
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), context.previousUser);
|
|
58
61
|
if (activeSessionId) {
|
|
59
|
-
queryClient.setQueryData(
|
|
62
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
|
-
|
|
65
|
+
_sonner.toast.error(error instanceof Error ? error.message : 'Failed to update profile');
|
|
63
66
|
},
|
|
64
67
|
// On success, invalidate and refetch
|
|
65
68
|
onSuccess: (data, updates) => {
|
|
66
69
|
// Update cache with server response
|
|
67
|
-
queryClient.setQueryData(
|
|
70
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), data);
|
|
68
71
|
if (activeSessionId) {
|
|
69
|
-
queryClient.setQueryData(
|
|
72
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), data);
|
|
70
73
|
}
|
|
74
|
+
|
|
71
75
|
// Update authStore so frontend components see the changes immediately
|
|
72
|
-
|
|
76
|
+
_authStore.useAuthStore.getState().setUser(data);
|
|
77
|
+
|
|
73
78
|
// If avatar was updated, refresh accountStore with cache-busted URL
|
|
74
79
|
if (updates.avatar && activeSessionId && oxyServices) {
|
|
75
|
-
(0,
|
|
80
|
+
(0, _avatarUtils.refreshAvatarInStore)(activeSessionId, updates.avatar, oxyServices);
|
|
76
81
|
}
|
|
82
|
+
|
|
77
83
|
// Invalidate all related queries to refresh everywhere
|
|
78
|
-
(0,
|
|
79
|
-
(0,
|
|
84
|
+
(0, _queryKeys.invalidateUserQueries)(queryClient);
|
|
85
|
+
(0, _queryKeys.invalidateAccountQueries)(queryClient);
|
|
80
86
|
}
|
|
81
87
|
});
|
|
82
88
|
};
|
|
83
|
-
|
|
89
|
+
|
|
84
90
|
/**
|
|
85
91
|
* Upload avatar with progress tracking and offline queue support
|
|
86
92
|
*/
|
|
93
|
+
exports.useUpdateProfile = useUpdateProfile;
|
|
87
94
|
const useUploadAvatar = () => {
|
|
88
95
|
const {
|
|
89
96
|
oxyServices,
|
|
90
97
|
activeSessionId
|
|
91
|
-
} = (0,
|
|
92
|
-
const queryClient = (0,
|
|
93
|
-
return (0,
|
|
98
|
+
} = (0, _OxyContext.useOxy)();
|
|
99
|
+
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
100
|
+
return (0, _reactQuery.useMutation)({
|
|
94
101
|
mutationFn: async file => {
|
|
95
|
-
return (0,
|
|
102
|
+
return (0, _core.authenticatedApiCall)(oxyServices, activeSessionId, async () => {
|
|
96
103
|
const uploadResult = await oxyServices.assetUpload(file, 'public');
|
|
97
104
|
const fileId = uploadResult?.file?.id;
|
|
98
105
|
if (!fileId || typeof fileId !== 'string') {
|
|
99
106
|
throw new Error('Upload succeeded but response did not contain a file ID');
|
|
100
107
|
}
|
|
108
|
+
|
|
101
109
|
// Update profile with file ID
|
|
102
110
|
return await oxyServices.updateProfile({
|
|
103
111
|
avatar: fileId
|
|
@@ -106,18 +114,19 @@ const useUploadAvatar = () => {
|
|
|
106
114
|
},
|
|
107
115
|
onMutate: async file => {
|
|
108
116
|
await queryClient.cancelQueries({
|
|
109
|
-
queryKey:
|
|
117
|
+
queryKey: _queryKeys.queryKeys.accounts.current()
|
|
110
118
|
});
|
|
111
|
-
const previousUser = queryClient.getQueryData(
|
|
119
|
+
const previousUser = queryClient.getQueryData(_queryKeys.queryKeys.accounts.current());
|
|
120
|
+
|
|
112
121
|
// Optimistically set a temporary avatar (using file URI as placeholder)
|
|
113
122
|
if (previousUser) {
|
|
114
123
|
const optimisticUser = {
|
|
115
124
|
...previousUser,
|
|
116
125
|
avatar: file.uri // Temporary, will be replaced with fileId
|
|
117
126
|
};
|
|
118
|
-
queryClient.setQueryData(
|
|
127
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), optimisticUser);
|
|
119
128
|
if (activeSessionId) {
|
|
120
|
-
queryClient.setQueryData(
|
|
129
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), optimisticUser);
|
|
121
130
|
}
|
|
122
131
|
}
|
|
123
132
|
return {
|
|
@@ -126,42 +135,46 @@ const useUploadAvatar = () => {
|
|
|
126
135
|
},
|
|
127
136
|
onError: (error, file, context) => {
|
|
128
137
|
if (context?.previousUser) {
|
|
129
|
-
queryClient.setQueryData(
|
|
138
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), context.previousUser);
|
|
130
139
|
if (activeSessionId) {
|
|
131
|
-
queryClient.setQueryData(
|
|
140
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), context.previousUser);
|
|
132
141
|
}
|
|
133
142
|
}
|
|
134
|
-
|
|
143
|
+
_sonner.toast.error(error instanceof Error ? error.message : 'Failed to upload avatar');
|
|
135
144
|
},
|
|
136
145
|
onSuccess: data => {
|
|
137
|
-
queryClient.setQueryData(
|
|
146
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), data);
|
|
138
147
|
if (activeSessionId) {
|
|
139
|
-
queryClient.setQueryData(
|
|
148
|
+
queryClient.setQueryData(_queryKeys.queryKeys.users.profile(activeSessionId), data);
|
|
140
149
|
}
|
|
150
|
+
|
|
141
151
|
// Update authStore so frontend components see the changes immediately
|
|
142
|
-
|
|
152
|
+
_authStore.useAuthStore.getState().setUser(data);
|
|
153
|
+
|
|
143
154
|
// Refresh accountStore with cache-busted URL if avatar was updated
|
|
144
155
|
if (data?.avatar && activeSessionId && oxyServices) {
|
|
145
|
-
(0,
|
|
156
|
+
(0, _avatarUtils.refreshAvatarInStore)(activeSessionId, data.avatar, oxyServices);
|
|
146
157
|
}
|
|
158
|
+
|
|
147
159
|
// Invalidate all related queries to refresh everywhere
|
|
148
|
-
(0,
|
|
149
|
-
(0,
|
|
150
|
-
|
|
160
|
+
(0, _queryKeys.invalidateUserQueries)(queryClient);
|
|
161
|
+
(0, _queryKeys.invalidateAccountQueries)(queryClient);
|
|
162
|
+
_sonner.toast.success('Avatar updated successfully');
|
|
151
163
|
}
|
|
152
164
|
});
|
|
153
165
|
};
|
|
154
|
-
|
|
166
|
+
|
|
155
167
|
/**
|
|
156
168
|
* Update account settings
|
|
157
169
|
*/
|
|
170
|
+
exports.useUploadAvatar = useUploadAvatar;
|
|
158
171
|
const useUpdateAccountSettings = () => {
|
|
159
172
|
const {
|
|
160
173
|
oxyServices,
|
|
161
174
|
activeSessionId
|
|
162
|
-
} = (0,
|
|
163
|
-
const queryClient = (0,
|
|
164
|
-
return (0,
|
|
175
|
+
} = (0, _OxyContext.useOxy)();
|
|
176
|
+
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
177
|
+
return (0, _reactQuery.useMutation)({
|
|
165
178
|
mutationFn: async settings => {
|
|
166
179
|
return await oxyServices.updateProfile({
|
|
167
180
|
privacySettings: settings
|
|
@@ -169,11 +182,11 @@ const useUpdateAccountSettings = () => {
|
|
|
169
182
|
},
|
|
170
183
|
onMutate: async settings => {
|
|
171
184
|
await queryClient.cancelQueries({
|
|
172
|
-
queryKey:
|
|
185
|
+
queryKey: _queryKeys.queryKeys.accounts.settings()
|
|
173
186
|
});
|
|
174
|
-
const previousUser = queryClient.getQueryData(
|
|
187
|
+
const previousUser = queryClient.getQueryData(_queryKeys.queryKeys.accounts.current());
|
|
175
188
|
if (previousUser) {
|
|
176
|
-
queryClient.setQueryData(
|
|
189
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), {
|
|
177
190
|
...previousUser,
|
|
178
191
|
privacySettings: {
|
|
179
192
|
...previousUser.privacySettings,
|
|
@@ -187,36 +200,38 @@ const useUpdateAccountSettings = () => {
|
|
|
187
200
|
},
|
|
188
201
|
onError: (error, settings, context) => {
|
|
189
202
|
if (context?.previousUser) {
|
|
190
|
-
queryClient.setQueryData(
|
|
203
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), context.previousUser);
|
|
191
204
|
}
|
|
192
|
-
|
|
205
|
+
_sonner.toast.error(error instanceof Error ? error.message : 'Failed to update settings');
|
|
193
206
|
},
|
|
194
207
|
onSuccess: data => {
|
|
195
|
-
queryClient.setQueryData(
|
|
208
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), data);
|
|
209
|
+
|
|
196
210
|
// Update authStore so frontend components see the changes immediately
|
|
197
|
-
|
|
198
|
-
(0,
|
|
199
|
-
|
|
211
|
+
_authStore.useAuthStore.getState().setUser(data);
|
|
212
|
+
(0, _queryKeys.invalidateAccountQueries)(queryClient);
|
|
213
|
+
_sonner.toast.success('Settings updated successfully');
|
|
200
214
|
},
|
|
201
215
|
onSettled: () => {
|
|
202
216
|
queryClient.invalidateQueries({
|
|
203
|
-
queryKey:
|
|
217
|
+
queryKey: _queryKeys.queryKeys.accounts.settings()
|
|
204
218
|
});
|
|
205
219
|
}
|
|
206
220
|
});
|
|
207
221
|
};
|
|
208
|
-
|
|
222
|
+
|
|
209
223
|
/**
|
|
210
224
|
* Update privacy settings with optimistic updates and authentication handling
|
|
211
225
|
*/
|
|
226
|
+
exports.useUpdateAccountSettings = useUpdateAccountSettings;
|
|
212
227
|
const useUpdatePrivacySettings = () => {
|
|
213
228
|
const {
|
|
214
229
|
oxyServices,
|
|
215
230
|
activeSessionId,
|
|
216
231
|
user
|
|
217
|
-
} = (0,
|
|
218
|
-
const queryClient = (0,
|
|
219
|
-
return (0,
|
|
232
|
+
} = (0, _OxyContext.useOxy)();
|
|
233
|
+
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
234
|
+
return (0, _reactQuery.useMutation)({
|
|
220
235
|
mutationFn: async ({
|
|
221
236
|
settings,
|
|
222
237
|
userId
|
|
@@ -225,7 +240,7 @@ const useUpdatePrivacySettings = () => {
|
|
|
225
240
|
if (!targetUserId) {
|
|
226
241
|
throw new Error('User ID is required');
|
|
227
242
|
}
|
|
228
|
-
return (0,
|
|
243
|
+
return (0, _core.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.updatePrivacySettings(settings, targetUserId));
|
|
229
244
|
},
|
|
230
245
|
// Optimistic update
|
|
231
246
|
onMutate: async ({
|
|
@@ -234,26 +249,30 @@ const useUpdatePrivacySettings = () => {
|
|
|
234
249
|
}) => {
|
|
235
250
|
const targetUserId = userId || user?.id;
|
|
236
251
|
if (!targetUserId) return;
|
|
252
|
+
|
|
237
253
|
// Cancel outgoing refetches
|
|
238
254
|
await queryClient.cancelQueries({
|
|
239
|
-
queryKey:
|
|
255
|
+
queryKey: _queryKeys.queryKeys.privacy.settings(targetUserId)
|
|
240
256
|
});
|
|
241
257
|
await queryClient.cancelQueries({
|
|
242
|
-
queryKey:
|
|
258
|
+
queryKey: _queryKeys.queryKeys.accounts.current()
|
|
243
259
|
});
|
|
260
|
+
|
|
244
261
|
// Snapshot previous values
|
|
245
|
-
const previousPrivacySettings = queryClient.getQueryData(
|
|
246
|
-
const previousUser = queryClient.getQueryData(
|
|
262
|
+
const previousPrivacySettings = queryClient.getQueryData(_queryKeys.queryKeys.privacy.settings(targetUserId));
|
|
263
|
+
const previousUser = queryClient.getQueryData(_queryKeys.queryKeys.accounts.current());
|
|
264
|
+
|
|
247
265
|
// Optimistically update privacy settings
|
|
248
266
|
if (previousPrivacySettings) {
|
|
249
|
-
queryClient.setQueryData(
|
|
267
|
+
queryClient.setQueryData(_queryKeys.queryKeys.privacy.settings(targetUserId), {
|
|
250
268
|
...previousPrivacySettings,
|
|
251
269
|
...settings
|
|
252
270
|
});
|
|
253
271
|
}
|
|
272
|
+
|
|
254
273
|
// Also update user query if available
|
|
255
274
|
if (previousUser) {
|
|
256
|
-
queryClient.setQueryData(
|
|
275
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), {
|
|
257
276
|
...previousUser,
|
|
258
277
|
privacySettings: {
|
|
259
278
|
...previousUser.privacySettings,
|
|
@@ -272,12 +291,12 @@ const useUpdatePrivacySettings = () => {
|
|
|
272
291
|
}, context) => {
|
|
273
292
|
const targetUserId = userId || user?.id;
|
|
274
293
|
if (context?.previousPrivacySettings && targetUserId) {
|
|
275
|
-
queryClient.setQueryData(
|
|
294
|
+
queryClient.setQueryData(_queryKeys.queryKeys.privacy.settings(targetUserId), context.previousPrivacySettings);
|
|
276
295
|
}
|
|
277
296
|
if (context?.previousUser) {
|
|
278
|
-
queryClient.setQueryData(
|
|
297
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), context.previousUser);
|
|
279
298
|
}
|
|
280
|
-
|
|
299
|
+
_sonner.toast.error(error instanceof Error ? error.message : 'Failed to update privacy settings');
|
|
281
300
|
},
|
|
282
301
|
// On success, invalidate and refetch
|
|
283
302
|
onSuccess: (data, {
|
|
@@ -285,20 +304,21 @@ const useUpdatePrivacySettings = () => {
|
|
|
285
304
|
}) => {
|
|
286
305
|
const targetUserId = userId || user?.id;
|
|
287
306
|
if (targetUserId) {
|
|
288
|
-
queryClient.setQueryData(
|
|
307
|
+
queryClient.setQueryData(_queryKeys.queryKeys.privacy.settings(targetUserId), data);
|
|
289
308
|
}
|
|
290
309
|
// Also update account query if it contains privacy settings
|
|
291
|
-
const currentUser = queryClient.getQueryData(
|
|
310
|
+
const currentUser = queryClient.getQueryData(_queryKeys.queryKeys.accounts.current());
|
|
292
311
|
if (currentUser) {
|
|
293
312
|
const updatedUser = {
|
|
294
313
|
...currentUser,
|
|
295
314
|
privacySettings: data
|
|
296
315
|
};
|
|
297
|
-
queryClient.setQueryData(
|
|
316
|
+
queryClient.setQueryData(_queryKeys.queryKeys.accounts.current(), updatedUser);
|
|
317
|
+
|
|
298
318
|
// Update authStore so frontend components see the changes immediately
|
|
299
|
-
|
|
319
|
+
_authStore.useAuthStore.getState().setUser(updatedUser);
|
|
300
320
|
}
|
|
301
|
-
(0,
|
|
321
|
+
(0, _queryKeys.invalidateAccountQueries)(queryClient);
|
|
302
322
|
},
|
|
303
323
|
// Always refetch after error or success
|
|
304
324
|
onSettled: (data, error, {
|
|
@@ -307,15 +327,19 @@ const useUpdatePrivacySettings = () => {
|
|
|
307
327
|
const targetUserId = userId || user?.id;
|
|
308
328
|
if (targetUserId) {
|
|
309
329
|
queryClient.invalidateQueries({
|
|
310
|
-
queryKey:
|
|
330
|
+
queryKey: _queryKeys.queryKeys.privacy.settings(targetUserId)
|
|
311
331
|
});
|
|
312
332
|
}
|
|
313
333
|
queryClient.invalidateQueries({
|
|
314
|
-
queryKey:
|
|
334
|
+
queryKey: _queryKeys.queryKeys.accounts.current()
|
|
315
335
|
});
|
|
316
336
|
}
|
|
317
337
|
});
|
|
318
338
|
};
|
|
339
|
+
|
|
340
|
+
/** Uploaded file data structure from API */
|
|
341
|
+
|
|
342
|
+
/** Upload result type that supports both single file and batch responses */
|
|
319
343
|
exports.useUpdatePrivacySettings = useUpdatePrivacySettings;
|
|
320
344
|
/**
|
|
321
345
|
* Upload file with authentication handling and progress tracking
|
|
@@ -324,18 +348,17 @@ const useUploadFile = () => {
|
|
|
324
348
|
const {
|
|
325
349
|
oxyServices,
|
|
326
350
|
activeSessionId
|
|
327
|
-
} = (0,
|
|
328
|
-
return (0,
|
|
351
|
+
} = (0, _OxyContext.useOxy)();
|
|
352
|
+
return (0, _reactQuery.useMutation)({
|
|
329
353
|
mutationFn: async ({
|
|
330
354
|
file,
|
|
331
355
|
visibility,
|
|
332
356
|
metadata,
|
|
333
357
|
onProgress
|
|
334
358
|
}) => {
|
|
335
|
-
return (0,
|
|
359
|
+
return (0, _core.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.assetUpload(file, visibility, metadata, onProgress));
|
|
336
360
|
}
|
|
337
361
|
});
|
|
338
362
|
};
|
|
339
363
|
exports.useUploadFile = useUploadFile;
|
|
340
|
-
//# sourceMappingURL=useAccountMutations.js.mapdFile;
|
|
341
364
|
//# sourceMappingURL=useAccountMutations.js.map
|
|
@@ -1 +1 @@
|
|
|
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;;AAC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AAa,GAAGA,aAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_reactQuery","require","_core","_queryKeys","_OxyContext","_sonner","_avatarUtils","_authStore","useUpdateProfile","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","exports","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,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAEA;AACA;AACA;AACO,MAAMO,gBAAgB,GAAGA,CAAA,KAAM;EACpC,MAAM;IAAEC,WAAW;IAAEC,eAAe;IAAEC;EAAK,CAAC,GAAG,IAAAC,kBAAM,EAAC,CAAC;EACvD,MAAMC,WAAW,GAAG,IAAAC,0BAAc,EAAC,CAAC;EAEpC,OAAO,IAAAC,uBAAW,EAAC;IACjBC,UAAU,EAAE,MAAOC,OAAsB,IAAK;MAC5C,OAAO,IAAAC,0BAAoB,EACzBT,WAAW,EACXC,eAAe,EACf,MAAMD,WAAW,CAACU,aAAa,CAACF,OAAO,CACzC,CAAC;IACH,CAAC;IACD;IACAG,QAAQ,EAAE,M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