@oxyhq/services 6.9.15 → 6.9.17
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 +201 -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 +21 -24
- 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 +138 -112
- 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 +35 -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 +18 -25
- 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 +37 -117
- 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/lib/typescript/commonjs/index.d.ts +2 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +28 -21
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +28 -21
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/ui/hooks/useAuth.ts +0 -2
- package/src/ui/index.ts +33 -104
- 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,67 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return m[k];
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
Object.defineProperty(o, k2, desc);
|
|
15
|
-
} : function (o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
o[k2] = m[k];
|
|
18
|
-
});
|
|
19
|
-
var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
|
|
20
|
-
Object.defineProperty(o, "default", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
value: v
|
|
23
|
-
});
|
|
24
|
-
} : function (o, v) {
|
|
25
|
-
o["default"] = v;
|
|
26
|
-
});
|
|
27
|
-
var __importStar = void 0 && (void 0).__importStar || function () {
|
|
28
|
-
var ownKeys = function (o) {
|
|
29
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
30
|
-
var ar = [];
|
|
31
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
32
|
-
return ar;
|
|
33
|
-
};
|
|
34
|
-
return ownKeys(o);
|
|
35
|
-
};
|
|
36
|
-
return function (mod) {
|
|
37
|
-
if (mod && mod.__esModule) return mod;
|
|
38
|
-
var result = {};
|
|
39
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
40
|
-
__setModuleDefault(result, mod);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
}();
|
|
44
3
|
Object.defineProperty(exports, "__esModule", {
|
|
45
4
|
value: true
|
|
46
5
|
});
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _sonner = require("../../lib/sonner");
|
|
10
|
+
var _fonts = require("../styles/fonts.js");
|
|
11
|
+
var _confirmAction = require("../utils/confirmAction.js");
|
|
12
|
+
var _authStore = require("../stores/authStore.js");
|
|
13
|
+
var _index = require("../components/index.js");
|
|
14
|
+
var _useI18n = require("../hooks/useI18n.js");
|
|
15
|
+
var _useThemeStyles = require("../hooks/useThemeStyles.js");
|
|
16
|
+
var _useColorScheme = require("../hooks/useColorScheme.js");
|
|
17
|
+
var _theme = require("../constants/theme.js");
|
|
18
|
+
var _themeUtils = require("../utils/themeUtils.js");
|
|
19
|
+
var _userUtils = require("../utils/userUtils.js");
|
|
20
|
+
var _OxyContext = require("../context/OxyContext.js");
|
|
21
|
+
var _useAccountQueries = require("../hooks/queries/useAccountQueries.js");
|
|
22
|
+
var _useAccountMutations = require("../hooks/mutations/useAccountMutations.js");
|
|
23
|
+
var _spacing = require("../constants/spacing.js");
|
|
24
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
65
26
|
const AccountSettingsScreen = ({
|
|
66
27
|
onClose,
|
|
67
28
|
theme,
|
|
@@ -75,73 +36,85 @@ const AccountSettingsScreen = ({
|
|
|
75
36
|
const {
|
|
76
37
|
oxyServices,
|
|
77
38
|
isAuthenticated
|
|
78
|
-
} = (0,
|
|
39
|
+
} = (0, _OxyContext.useOxy)();
|
|
79
40
|
const {
|
|
80
41
|
t
|
|
81
|
-
} = (0,
|
|
42
|
+
} = (0, _useI18n.useI18n)();
|
|
43
|
+
|
|
82
44
|
// Use TanStack Query for user data
|
|
83
45
|
const {
|
|
84
46
|
data: user,
|
|
85
47
|
isLoading: userLoading
|
|
86
|
-
} = (0,
|
|
48
|
+
} = (0, _useAccountQueries.useCurrentUser)({
|
|
87
49
|
enabled: isAuthenticated
|
|
88
50
|
});
|
|
89
|
-
const uploadAvatarMutation = (0,
|
|
51
|
+
const uploadAvatarMutation = (0, _useAccountMutations.useUploadAvatar)();
|
|
52
|
+
|
|
90
53
|
// Fallback to store for backward compatibility
|
|
91
|
-
const userFromStore = (0,
|
|
54
|
+
const userFromStore = (0, _authStore.useAuthStore)(state => state.user);
|
|
92
55
|
const finalUser = user || userFromStore;
|
|
93
56
|
const isUpdatingAvatar = uploadAvatarMutation.isPending;
|
|
94
|
-
const [optimisticAvatarId, setOptimisticAvatarId] = (0,
|
|
95
|
-
const scrollViewRef = (0,
|
|
96
|
-
const avatarSectionRef = (0,
|
|
57
|
+
const [optimisticAvatarId, setOptimisticAvatarId] = (0, _react.useState)(null);
|
|
58
|
+
const scrollViewRef = (0, _react.useRef)(null);
|
|
59
|
+
const avatarSectionRef = (0, _react.useRef)(null);
|
|
60
|
+
|
|
97
61
|
// Section refs for navigation
|
|
98
|
-
const profilePictureSectionRef = (0,
|
|
99
|
-
const basicInfoSectionRef = (0,
|
|
100
|
-
const aboutSectionRef = (0,
|
|
101
|
-
const quickActionsSectionRef = (0,
|
|
102
|
-
const securitySectionRef = (0,
|
|
62
|
+
const profilePictureSectionRef = (0, _react.useRef)(null);
|
|
63
|
+
const basicInfoSectionRef = (0, _react.useRef)(null);
|
|
64
|
+
const aboutSectionRef = (0, _react.useRef)(null);
|
|
65
|
+
const quickActionsSectionRef = (0, _react.useRef)(null);
|
|
66
|
+
const securitySectionRef = (0, _react.useRef)(null);
|
|
67
|
+
|
|
103
68
|
// Section Y positions for scrolling
|
|
104
|
-
const [profilePictureSectionY, setProfilePictureSectionY] = (0,
|
|
105
|
-
const [basicInfoSectionY, setBasicInfoSectionY] = (0,
|
|
106
|
-
const [aboutSectionY, setAboutSectionY] = (0,
|
|
107
|
-
const [quickActionsSectionY, setQuickActionsSectionY] = (0,
|
|
108
|
-
const [securitySectionY, setSecuritySectionY] = (0,
|
|
69
|
+
const [profilePictureSectionY, setProfilePictureSectionY] = (0, _react.useState)(null);
|
|
70
|
+
const [basicInfoSectionY, setBasicInfoSectionY] = (0, _react.useState)(null);
|
|
71
|
+
const [aboutSectionY, setAboutSectionY] = (0, _react.useState)(null);
|
|
72
|
+
const [quickActionsSectionY, setQuickActionsSectionY] = (0, _react.useState)(null);
|
|
73
|
+
const [securitySectionY, setSecuritySectionY] = (0, _react.useState)(null);
|
|
74
|
+
|
|
109
75
|
// Form state
|
|
110
|
-
const [displayName, setDisplayName] = (0,
|
|
111
|
-
const [lastName, setLastName] = (0,
|
|
112
|
-
const [username, setUsername] = (0,
|
|
113
|
-
const [email, setEmail] = (0,
|
|
114
|
-
const [bio, setBio] = (0,
|
|
115
|
-
const [location, setLocation] = (0,
|
|
116
|
-
const [links, setLinks] = (0,
|
|
117
|
-
const [avatarFileId, setAvatarFileId] = (0,
|
|
76
|
+
const [displayName, setDisplayName] = (0, _react.useState)('');
|
|
77
|
+
const [lastName, setLastName] = (0, _react.useState)('');
|
|
78
|
+
const [username, setUsername] = (0, _react.useState)('');
|
|
79
|
+
const [email, setEmail] = (0, _react.useState)('');
|
|
80
|
+
const [bio, setBio] = (0, _react.useState)('');
|
|
81
|
+
const [location, setLocation] = (0, _react.useState)('');
|
|
82
|
+
const [links, setLinks] = (0, _react.useState)([]);
|
|
83
|
+
const [avatarFileId, setAvatarFileId] = (0, _react.useState)('');
|
|
84
|
+
|
|
118
85
|
// Navigation helper for editing fields
|
|
119
|
-
const navigateToEditField = (0,
|
|
86
|
+
const navigateToEditField = (0, _react.useCallback)(fieldType => {
|
|
120
87
|
navigate?.('EditProfileField', {
|
|
121
88
|
fieldType
|
|
122
89
|
});
|
|
123
90
|
}, [navigate]);
|
|
91
|
+
|
|
124
92
|
// Location and links state (for display only - modals handle editing)
|
|
125
|
-
const [locations, setLocations] = (0,
|
|
126
|
-
const [linksMetadata, setLinksMetadata] = (0,
|
|
93
|
+
const [locations, setLocations] = (0, _react.useState)([]);
|
|
94
|
+
const [linksMetadata, setLinksMetadata] = (0, _react.useState)([]);
|
|
95
|
+
|
|
127
96
|
// Get theme colors using centralized hook
|
|
128
|
-
const colorScheme = (0,
|
|
129
|
-
const themeStyles = (0,
|
|
97
|
+
const colorScheme = (0, _useColorScheme.useColorScheme)();
|
|
98
|
+
const themeStyles = (0, _useThemeStyles.useThemeStyles)(theme || 'light', colorScheme);
|
|
99
|
+
|
|
130
100
|
// Extract colors for convenience - ensure it's always defined
|
|
131
101
|
// useThemeStyles always returns colors, but add safety check for edge cases
|
|
132
|
-
const colors = themeStyles.colors ||
|
|
102
|
+
const colors = themeStyles.colors || _theme.Colors[(0, _themeUtils.normalizeColorScheme)(colorScheme, theme || 'light')];
|
|
103
|
+
|
|
133
104
|
// Track initialization to prevent unnecessary resets
|
|
134
|
-
const isInitializedRef = (0,
|
|
135
|
-
const previousUserIdRef = (0,
|
|
136
|
-
const previousAvatarRef = (0,
|
|
105
|
+
const isInitializedRef = (0, _react.useRef)(false);
|
|
106
|
+
const previousUserIdRef = (0, _react.useRef)(null);
|
|
107
|
+
const previousAvatarRef = (0, _react.useRef)(null);
|
|
108
|
+
|
|
137
109
|
// Load user data - only reset fields when user actually changes (not just avatar)
|
|
138
|
-
(0,
|
|
110
|
+
(0, _react.useEffect)(() => {
|
|
139
111
|
if (finalUser) {
|
|
140
112
|
const currentUserId = finalUser.id;
|
|
141
113
|
const currentAvatar = finalUser.avatar ?? '';
|
|
142
114
|
const isNewUser = previousUserIdRef.current !== currentUserId;
|
|
143
115
|
const isAvatarOnlyUpdate = !isNewUser && previousUserIdRef.current === currentUserId && previousAvatarRef.current !== currentAvatar && previousAvatarRef.current !== null;
|
|
144
116
|
const shouldInitialize = !isInitializedRef.current || isNewUser;
|
|
117
|
+
|
|
145
118
|
// Only reset all fields if it's a new user or first load
|
|
146
119
|
// Skip reset if it's just an avatar update
|
|
147
120
|
if (shouldInitialize && !isAvatarOnlyUpdate) {
|
|
@@ -153,6 +126,7 @@ const AccountSettingsScreen = ({
|
|
|
153
126
|
setEmail(finalUser.email || '');
|
|
154
127
|
setBio(finalUser.bio || '');
|
|
155
128
|
setLocation(finalUser.location || '');
|
|
129
|
+
|
|
156
130
|
// Handle locations - convert single location to array format
|
|
157
131
|
if (finalUser.locations && Array.isArray(finalUser.locations)) {
|
|
158
132
|
setLocations(finalUser.locations.map((loc, index) => ({
|
|
@@ -171,6 +145,7 @@ const AccountSettingsScreen = ({
|
|
|
171
145
|
} else {
|
|
172
146
|
setLocations([]);
|
|
173
147
|
}
|
|
148
|
+
|
|
174
149
|
// Handle links - simple and direct like other fields
|
|
175
150
|
if (finalUser.linksMetadata && Array.isArray(finalUser.linksMetadata)) {
|
|
176
151
|
const urls = finalUser.linksMetadata.map(l => l.url);
|
|
@@ -206,12 +181,14 @@ const AccountSettingsScreen = ({
|
|
|
206
181
|
}
|
|
207
182
|
isInitializedRef.current = true;
|
|
208
183
|
}
|
|
184
|
+
|
|
209
185
|
// Update avatar only if it changed and we're not in optimistic/updating state
|
|
210
186
|
// This allows the server response to update the avatar without resetting other fields
|
|
211
187
|
// But don't override if we have a pending optimistic update
|
|
212
188
|
if (currentAvatar !== avatarFileId && !isUpdatingAvatar && !optimisticAvatarId) {
|
|
213
189
|
setAvatarFileId(currentAvatar);
|
|
214
190
|
}
|
|
191
|
+
|
|
215
192
|
// If we just finished updating and the server avatar matches our optimistic one, clear optimistic state
|
|
216
193
|
// Also clear if the server avatar matches our current avatarFileId (update completed)
|
|
217
194
|
if (isUpdatingAvatar === false && optimisticAvatarId) {
|
|
@@ -223,25 +200,28 @@ const AccountSettingsScreen = ({
|
|
|
223
200
|
previousAvatarRef.current = currentAvatar;
|
|
224
201
|
}
|
|
225
202
|
}, [finalUser, avatarFileId, isUpdatingAvatar, optimisticAvatarId]);
|
|
203
|
+
|
|
226
204
|
// Set initial editing field if provided via props (e.g., from navigation)
|
|
227
205
|
// Handle initialSection prop to scroll to specific section
|
|
228
|
-
const hasScrolledToSectionRef = (0,
|
|
229
|
-
const previousInitialSectionRef = (0,
|
|
206
|
+
const hasScrolledToSectionRef = (0, _react.useRef)(false);
|
|
207
|
+
const previousInitialSectionRef = (0, _react.useRef)(undefined);
|
|
230
208
|
const SCROLL_OFFSET = 100; // Offset to show section near top of viewport
|
|
209
|
+
|
|
231
210
|
// Map section names to their Y positions
|
|
232
|
-
const sectionYPositions = (0,
|
|
211
|
+
const sectionYPositions = (0, _react.useMemo)(() => ({
|
|
233
212
|
profilePicture: profilePictureSectionY,
|
|
234
213
|
basicInfo: basicInfoSectionY,
|
|
235
214
|
about: aboutSectionY,
|
|
236
215
|
quickActions: quickActionsSectionY,
|
|
237
216
|
security: securitySectionY
|
|
238
217
|
}), [profilePictureSectionY, basicInfoSectionY, aboutSectionY, quickActionsSectionY, securitySectionY]);
|
|
239
|
-
(0,
|
|
218
|
+
(0, _react.useEffect)(() => {
|
|
240
219
|
// If initialSection changed, reset the flag
|
|
241
220
|
if (previousInitialSectionRef.current !== initialSection) {
|
|
242
221
|
hasScrolledToSectionRef.current = false;
|
|
243
222
|
previousInitialSectionRef.current = initialSection;
|
|
244
223
|
}
|
|
224
|
+
|
|
245
225
|
// Scroll to the specified section if initialSection is provided and we haven't scrolled yet
|
|
246
226
|
if (initialSection && !hasScrolledToSectionRef.current) {
|
|
247
227
|
const sectionY = sectionYPositions[initialSection];
|
|
@@ -256,23 +236,25 @@ const AccountSettingsScreen = ({
|
|
|
256
236
|
}
|
|
257
237
|
}, [initialSection, sectionYPositions]);
|
|
258
238
|
const handleAvatarRemove = () => {
|
|
259
|
-
(0,
|
|
239
|
+
(0, _confirmAction.confirmAction)(t('editProfile.confirms.removeAvatar') || 'Remove your profile picture?', () => {
|
|
260
240
|
setAvatarFileId('');
|
|
261
|
-
|
|
241
|
+
_sonner.toast.success(t('editProfile.toasts.avatarRemoved') || 'Avatar removed');
|
|
262
242
|
});
|
|
263
243
|
};
|
|
264
244
|
const {
|
|
265
245
|
openAvatarPicker
|
|
266
|
-
} = (0,
|
|
246
|
+
} = (0, _OxyContext.useOxy)();
|
|
247
|
+
|
|
267
248
|
// Handlers to navigate to edit screens
|
|
268
|
-
const handleOpenDisplayNameModal = (0,
|
|
269
|
-
const handleOpenUsernameModal = (0,
|
|
270
|
-
const handleOpenEmailModal = (0,
|
|
271
|
-
const handleOpenBioModal = (0,
|
|
272
|
-
const handleOpenLocationModal = (0,
|
|
273
|
-
const handleOpenLinksModal = (0,
|
|
249
|
+
const handleOpenDisplayNameModal = (0, _react.useCallback)(() => navigateToEditField('displayName'), [navigateToEditField]);
|
|
250
|
+
const handleOpenUsernameModal = (0, _react.useCallback)(() => navigateToEditField('username'), [navigateToEditField]);
|
|
251
|
+
const handleOpenEmailModal = (0, _react.useCallback)(() => navigateToEditField('email'), [navigateToEditField]);
|
|
252
|
+
const handleOpenBioModal = (0, _react.useCallback)(() => navigateToEditField('bio'), [navigateToEditField]);
|
|
253
|
+
const handleOpenLocationModal = (0, _react.useCallback)(() => navigateToEditField('locations'), [navigateToEditField]);
|
|
254
|
+
const handleOpenLinksModal = (0, _react.useCallback)(() => navigateToEditField('links'), [navigateToEditField]);
|
|
255
|
+
|
|
274
256
|
// Handle initialField prop - navigate to appropriate edit screen
|
|
275
|
-
(0,
|
|
257
|
+
(0, _react.useEffect)(() => {
|
|
276
258
|
if (initialField) {
|
|
277
259
|
// Special handling for avatar - open avatar picker directly
|
|
278
260
|
if (initialField === 'avatar') {
|
|
@@ -299,39 +281,40 @@ const AccountSettingsScreen = ({
|
|
|
299
281
|
}
|
|
300
282
|
}
|
|
301
283
|
}, [initialField, openAvatarPicker, navigateToEditField]);
|
|
284
|
+
|
|
302
285
|
// Memoize display name for avatar
|
|
303
|
-
const displayNameForAvatar = (0,
|
|
286
|
+
const displayNameForAvatar = (0, _react.useMemo)(() => (0, _userUtils.getDisplayName)(finalUser), [finalUser]);
|
|
304
287
|
if (userLoading || !isAuthenticated) {
|
|
305
|
-
return (0,
|
|
288
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
306
289
|
style: [styles.container, {
|
|
307
290
|
backgroundColor: themeStyles.backgroundColor,
|
|
308
291
|
justifyContent: 'center'
|
|
309
292
|
}],
|
|
310
|
-
children: (0,
|
|
293
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
311
294
|
size: "large",
|
|
312
295
|
color: themeStyles.primaryColor
|
|
313
296
|
})
|
|
314
297
|
});
|
|
315
298
|
}
|
|
316
|
-
return (0,
|
|
299
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
317
300
|
style: [styles.container, {
|
|
318
301
|
backgroundColor: themeStyles.backgroundColor
|
|
319
302
|
}],
|
|
320
|
-
children: (0,
|
|
303
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
321
304
|
ref: scrollViewRef,
|
|
322
305
|
style: styles.content,
|
|
323
306
|
contentContainerStyle: styles.scrollContent,
|
|
324
307
|
showsVerticalScrollIndicator: false,
|
|
325
|
-
children: [(0,
|
|
308
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
326
309
|
style: [styles.headerContainer, styles.headerSection],
|
|
327
|
-
children: [(0,
|
|
310
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
328
311
|
style: [styles.modernTitle, {
|
|
329
312
|
color: themeStyles.textColor,
|
|
330
313
|
marginBottom: 0,
|
|
331
314
|
marginTop: 0
|
|
332
315
|
}],
|
|
333
316
|
children: t('accountOverview.items.editProfile.title') || t('editProfile.title') || 'Edit Profile'
|
|
334
|
-
}), (0,
|
|
317
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
335
318
|
style: [styles.modernSubtitle, {
|
|
336
319
|
color: colors.secondaryText,
|
|
337
320
|
marginBottom: 0,
|
|
@@ -339,7 +322,7 @@ const AccountSettingsScreen = ({
|
|
|
339
322
|
}],
|
|
340
323
|
children: t('accountOverview.items.editProfile.subtitle') || t('editProfile.subtitle') || 'Manage your profile and preferences'
|
|
341
324
|
})]
|
|
342
|
-
}), (0,
|
|
325
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
343
326
|
ref: ref => {
|
|
344
327
|
avatarSectionRef.current = ref;
|
|
345
328
|
profilePictureSectionRef.current = ref;
|
|
@@ -351,23 +334,23 @@ const AccountSettingsScreen = ({
|
|
|
351
334
|
} = event.nativeEvent.layout;
|
|
352
335
|
setProfilePictureSectionY(y);
|
|
353
336
|
},
|
|
354
|
-
children: [(0,
|
|
337
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
355
338
|
style: [styles.sectionTitle, {
|
|
356
339
|
color: colors.secondaryText
|
|
357
340
|
}],
|
|
358
341
|
children: t('editProfile.sections.profilePicture') || 'PROFILE PICTURE'
|
|
359
|
-
}), (0,
|
|
342
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
360
343
|
style: styles.groupedSectionWrapper,
|
|
361
|
-
children: (0,
|
|
344
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GroupedSection, {
|
|
362
345
|
items: [{
|
|
363
346
|
id: 'profile-photo',
|
|
364
|
-
customIcon: optimisticAvatarId || avatarFileId ? isUpdatingAvatar ? (0,
|
|
347
|
+
customIcon: optimisticAvatarId || avatarFileId ? isUpdatingAvatar ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Animated.View, {
|
|
365
348
|
style: {
|
|
366
349
|
position: 'relative',
|
|
367
350
|
width: 36,
|
|
368
351
|
height: 36
|
|
369
352
|
},
|
|
370
|
-
children: [(0,
|
|
353
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.Image, {
|
|
371
354
|
source: {
|
|
372
355
|
uri: oxyServices.getFileDownloadUrl(optimisticAvatarId || avatarFileId, 'thumb')
|
|
373
356
|
},
|
|
@@ -377,7 +360,7 @@ const AccountSettingsScreen = ({
|
|
|
377
360
|
borderRadius: 18,
|
|
378
361
|
opacity: 0.6
|
|
379
362
|
}
|
|
380
|
-
}), (0,
|
|
363
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
381
364
|
style: {
|
|
382
365
|
position: 'absolute',
|
|
383
366
|
top: 0,
|
|
@@ -389,12 +372,12 @@ const AccountSettingsScreen = ({
|
|
|
389
372
|
backgroundColor: colorScheme === 'dark' ? 'rgba(0, 0, 0, 0.4)' : 'rgba(255, 255, 255, 0.7)',
|
|
390
373
|
borderRadius: 18
|
|
391
374
|
},
|
|
392
|
-
children: (0,
|
|
375
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
393
376
|
size: "small",
|
|
394
377
|
color: colors.tint
|
|
395
378
|
})
|
|
396
379
|
})]
|
|
397
|
-
}) : (0,
|
|
380
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
398
381
|
source: {
|
|
399
382
|
uri: oxyServices.getFileDownloadUrl(optimisticAvatarId || avatarFileId, 'thumb')
|
|
400
383
|
},
|
|
@@ -420,7 +403,7 @@ const AccountSettingsScreen = ({
|
|
|
420
403
|
}] : [])]
|
|
421
404
|
})
|
|
422
405
|
})]
|
|
423
|
-
}), (0,
|
|
406
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
424
407
|
ref: basicInfoSectionRef,
|
|
425
408
|
style: styles.section,
|
|
426
409
|
onLayout: event => {
|
|
@@ -429,14 +412,14 @@ const AccountSettingsScreen = ({
|
|
|
429
412
|
} = event.nativeEvent.layout;
|
|
430
413
|
setBasicInfoSectionY(y);
|
|
431
414
|
},
|
|
432
|
-
children: [(0,
|
|
415
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
433
416
|
style: [styles.sectionTitle, {
|
|
434
417
|
color: colors.secondaryText
|
|
435
418
|
}],
|
|
436
419
|
children: t('editProfile.sections.basicInfo') || 'BASIC INFORMATION'
|
|
437
|
-
}), (0,
|
|
420
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
438
421
|
style: styles.groupedSectionWrapper,
|
|
439
|
-
children: (0,
|
|
422
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GroupedSection, {
|
|
440
423
|
items: [{
|
|
441
424
|
id: 'display-name',
|
|
442
425
|
icon: 'account-outline',
|
|
@@ -461,7 +444,7 @@ const AccountSettingsScreen = ({
|
|
|
461
444
|
}]
|
|
462
445
|
})
|
|
463
446
|
})]
|
|
464
|
-
}), (0,
|
|
447
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
465
448
|
ref: aboutSectionRef,
|
|
466
449
|
style: styles.section,
|
|
467
450
|
onLayout: event => {
|
|
@@ -470,14 +453,14 @@ const AccountSettingsScreen = ({
|
|
|
470
453
|
} = event.nativeEvent.layout;
|
|
471
454
|
setAboutSectionY(y);
|
|
472
455
|
},
|
|
473
|
-
children: [(0,
|
|
456
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
474
457
|
style: [styles.sectionTitle, {
|
|
475
458
|
color: colors.secondaryText
|
|
476
459
|
}],
|
|
477
460
|
children: t('editProfile.sections.about') || 'ABOUT YOU'
|
|
478
|
-
}), (0,
|
|
461
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
479
462
|
style: styles.groupedSectionWrapper,
|
|
480
|
-
children: (0,
|
|
463
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GroupedSection, {
|
|
481
464
|
items: [{
|
|
482
465
|
id: 'bio',
|
|
483
466
|
icon: 'text-box-outline',
|
|
@@ -510,7 +493,7 @@ const AccountSettingsScreen = ({
|
|
|
510
493
|
}]
|
|
511
494
|
})
|
|
512
495
|
})]
|
|
513
|
-
}), (0,
|
|
496
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
514
497
|
ref: quickActionsSectionRef,
|
|
515
498
|
style: styles.section,
|
|
516
499
|
onLayout: event => {
|
|
@@ -519,14 +502,14 @@ const AccountSettingsScreen = ({
|
|
|
519
502
|
} = event.nativeEvent.layout;
|
|
520
503
|
setQuickActionsSectionY(y);
|
|
521
504
|
},
|
|
522
|
-
children: [(0,
|
|
505
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
523
506
|
style: [styles.sectionTitle, {
|
|
524
507
|
color: colors.secondaryText
|
|
525
508
|
}],
|
|
526
509
|
children: t('editProfile.sections.quickActions') || 'QUICK ACTIONS'
|
|
527
|
-
}), (0,
|
|
510
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
528
511
|
style: styles.groupedSectionWrapper,
|
|
529
|
-
children: (0,
|
|
512
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GroupedSection, {
|
|
530
513
|
items: [{
|
|
531
514
|
id: 'preview-profile',
|
|
532
515
|
icon: 'eye',
|
|
@@ -553,7 +536,7 @@ const AccountSettingsScreen = ({
|
|
|
553
536
|
}]
|
|
554
537
|
})
|
|
555
538
|
})]
|
|
556
|
-
}), (0,
|
|
539
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
557
540
|
ref: securitySectionRef,
|
|
558
541
|
style: styles.section,
|
|
559
542
|
onLayout: event => {
|
|
@@ -562,19 +545,19 @@ const AccountSettingsScreen = ({
|
|
|
562
545
|
} = event.nativeEvent.layout;
|
|
563
546
|
setSecuritySectionY(y);
|
|
564
547
|
},
|
|
565
|
-
children: [(0,
|
|
548
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
566
549
|
style: [styles.sectionTitle, {
|
|
567
550
|
color: colors.secondaryText
|
|
568
551
|
}],
|
|
569
552
|
children: t('editProfile.sections.security') || 'SECURITY'
|
|
570
|
-
}), (0,
|
|
553
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
571
554
|
style: styles.groupedSectionWrapper
|
|
572
555
|
})]
|
|
573
556
|
})]
|
|
574
557
|
})
|
|
575
558
|
});
|
|
576
559
|
};
|
|
577
|
-
const styles =
|
|
560
|
+
const styles = _reactNative.StyleSheet.create({
|
|
578
561
|
container: {
|
|
579
562
|
flexShrink: 1,
|
|
580
563
|
width: '100%'
|
|
@@ -582,21 +565,21 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
582
565
|
content: {
|
|
583
566
|
flexShrink: 1
|
|
584
567
|
},
|
|
585
|
-
scrollContent: (0,
|
|
568
|
+
scrollContent: (0, _spacing.createScreenContentStyle)(_spacing.HEADER_PADDING_TOP_SETTINGS),
|
|
586
569
|
headerContainer: {
|
|
587
570
|
width: '100%',
|
|
588
571
|
maxWidth: 420,
|
|
589
572
|
alignSelf: 'center',
|
|
590
|
-
marginBottom:
|
|
573
|
+
marginBottom: _spacing.SECTION_GAP_LARGE
|
|
591
574
|
},
|
|
592
575
|
headerSection: {
|
|
593
576
|
alignItems: 'flex-start',
|
|
594
577
|
width: '100%',
|
|
595
|
-
gap:
|
|
578
|
+
gap: _spacing.COMPONENT_GAP
|
|
596
579
|
},
|
|
597
580
|
modernTitle: {
|
|
598
|
-
fontFamily:
|
|
599
|
-
fontWeight:
|
|
581
|
+
fontFamily: _fonts.fontFamilies.interBold,
|
|
582
|
+
fontWeight: _reactNative.Platform.OS === 'web' ? 'bold' : undefined,
|
|
600
583
|
fontSize: 42,
|
|
601
584
|
lineHeight: 50.4,
|
|
602
585
|
// 42 * 1.2
|
|
@@ -612,7 +595,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
612
595
|
opacity: 0.8
|
|
613
596
|
},
|
|
614
597
|
section: {
|
|
615
|
-
marginBottom:
|
|
598
|
+
marginBottom: _spacing.SECTION_GAP_LARGE
|
|
616
599
|
},
|
|
617
600
|
sectionTitle: {
|
|
618
601
|
fontSize: 13,
|
|
@@ -621,11 +604,11 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
621
604
|
marginTop: 4,
|
|
622
605
|
textTransform: 'uppercase',
|
|
623
606
|
letterSpacing: 0.5,
|
|
624
|
-
fontFamily:
|
|
607
|
+
fontFamily: _fonts.fontFamilies.interSemiBold
|
|
625
608
|
},
|
|
626
609
|
groupedSectionWrapper: {
|
|
627
610
|
backgroundColor: 'transparent'
|
|
628
611
|
}
|
|
629
612
|
});
|
|
630
|
-
exports.default =
|
|
613
|
+
var _default = exports.default = /*#__PURE__*/_react.default.memo(AccountSettingsScreen);
|
|
631
614
|
//# sourceMappingURL=AccountSettingsScreen.js.map
|