@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,20 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const themeUtils_1 = require("../utils/themeUtils");
|
|
16
|
-
const useColorScheme_1 = require("../hooks/useColorScheme");
|
|
17
|
-
const OxyContext_1 = require("../context/OxyContext");
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
|
+
import { View, Text, TouchableOpacity, StyleSheet, ScrollView, ActivityIndicator } from 'react-native';
|
|
5
|
+
import { fontFamilies } from "../styles/fonts.js";
|
|
6
|
+
import { toast } from '../../lib/sonner';
|
|
7
|
+
import { confirmAction } from "../utils/confirmAction.js";
|
|
8
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
9
|
+
import { useI18n } from "../hooks/useI18n.js";
|
|
10
|
+
import { useThemeStyles } from "../hooks/useThemeStyles.js";
|
|
11
|
+
import { normalizeTheme } from "../utils/themeUtils.js";
|
|
12
|
+
import { useColorScheme } from "../hooks/useColorScheme.js";
|
|
13
|
+
import { useOxy } from "../context/OxyContext.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
15
|
const PremiumSubscriptionScreen = ({
|
|
19
16
|
onClose,
|
|
20
17
|
theme,
|
|
@@ -25,22 +22,23 @@ const PremiumSubscriptionScreen = ({
|
|
|
25
22
|
const {
|
|
26
23
|
user,
|
|
27
24
|
oxyServices
|
|
28
|
-
} =
|
|
29
|
-
const [loading, setLoading] =
|
|
30
|
-
const [subscription, setSubscription] =
|
|
31
|
-
const [plans, setPlans] =
|
|
32
|
-
const [individualFeatures, setIndividualFeatures] =
|
|
33
|
-
const [selectedPlan, setSelectedPlan] =
|
|
34
|
-
const [processingPayment, setProcessingPayment] =
|
|
35
|
-
const [billingInterval, setBillingInterval] =
|
|
36
|
-
const [activeTab, setActiveTab] =
|
|
37
|
-
const [currentAppPackage, setCurrentAppPackage] =
|
|
25
|
+
} = useOxy();
|
|
26
|
+
const [loading, setLoading] = useState(true);
|
|
27
|
+
const [subscription, setSubscription] = useState(null);
|
|
28
|
+
const [plans, setPlans] = useState([]);
|
|
29
|
+
const [individualFeatures, setIndividualFeatures] = useState([]);
|
|
30
|
+
const [selectedPlan, setSelectedPlan] = useState(null);
|
|
31
|
+
const [processingPayment, setProcessingPayment] = useState(false);
|
|
32
|
+
const [billingInterval, setBillingInterval] = useState('month');
|
|
33
|
+
const [activeTab, setActiveTab] = useState('plans');
|
|
34
|
+
const [currentAppPackage, setCurrentAppPackage] = useState('mention'); // Default to mention for demo
|
|
35
|
+
|
|
38
36
|
const {
|
|
39
37
|
t
|
|
40
|
-
} =
|
|
41
|
-
const colorScheme =
|
|
42
|
-
const normalizedTheme =
|
|
43
|
-
const themeStyles =
|
|
38
|
+
} = useI18n();
|
|
39
|
+
const colorScheme = useColorScheme();
|
|
40
|
+
const normalizedTheme = normalizeTheme(theme);
|
|
41
|
+
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
44
42
|
// Extract commonly used colors for readability
|
|
45
43
|
const {
|
|
46
44
|
textColor,
|
|
@@ -53,6 +51,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
53
51
|
isDarkTheme
|
|
54
52
|
} = themeStyles;
|
|
55
53
|
const warningColor = '#FF9500';
|
|
54
|
+
|
|
56
55
|
// TODO: Replace mock data with actual API integration
|
|
57
56
|
// Should fetch plans from oxyServices.getSubscriptionPlans() and individual features from oxyServices.getIndividualFeatures()
|
|
58
57
|
// Oxy+ subscription plans
|
|
@@ -114,6 +113,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
114
113
|
features: ['Everything in Oxy+ Premium', 'Advanced analytics and insights', 'Promotional tools and resources', 'Content monetization features', 'Creator support program', 'Revenue sharing opportunities'],
|
|
115
114
|
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management', 'creator-tools', 'monetization-features']
|
|
116
115
|
}];
|
|
116
|
+
|
|
117
117
|
// Individual feature subscriptions
|
|
118
118
|
const mockIndividualFeatures = [{
|
|
119
119
|
id: 'analytics-basic',
|
|
@@ -214,10 +214,10 @@ const PremiumSubscriptionScreen = ({
|
|
|
214
214
|
canBePurchasedSeparately: true,
|
|
215
215
|
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
216
216
|
}];
|
|
217
|
-
|
|
217
|
+
useEffect(() => {
|
|
218
218
|
detectCurrentApp();
|
|
219
219
|
}, []);
|
|
220
|
-
|
|
220
|
+
useEffect(() => {
|
|
221
221
|
if (currentAppPackage) {
|
|
222
222
|
loadSubscriptionData();
|
|
223
223
|
}
|
|
@@ -225,33 +225,43 @@ const PremiumSubscriptionScreen = ({
|
|
|
225
225
|
const detectCurrentApp = () => {
|
|
226
226
|
// In a real implementation, this would detect the actual app package name
|
|
227
227
|
// For now, we'll use a mock detection based on available methods
|
|
228
|
+
|
|
228
229
|
// Real app detection methods you could use:
|
|
229
230
|
// 1. Check bundle identifier in React Native:
|
|
230
231
|
// import DeviceInfo from 'react-native-device-info';
|
|
231
232
|
// const bundleId = DeviceInfo.getBundleId();
|
|
232
233
|
// Example: com.oxy.mention -> 'mention'
|
|
234
|
+
|
|
233
235
|
// 2. Environment variables or build configuration
|
|
234
236
|
// const appPackage = __DEV__ ? process.env.APP_PACKAGE : 'mention';
|
|
237
|
+
|
|
235
238
|
// 3. Check specific app capabilities or modules
|
|
236
239
|
// if (typeof MentionModule !== 'undefined') return 'mention';
|
|
237
240
|
// if (typeof OxyWorkspaceModule !== 'undefined') return 'oxy-workspace';
|
|
241
|
+
|
|
238
242
|
// 4. Use build-time configuration with Metro or similar
|
|
239
243
|
// const appPackage = require('../config/app.json').packageName;
|
|
244
|
+
|
|
240
245
|
// For demo purposes, we'll simulate different apps
|
|
241
246
|
// You would replace this with actual app detection logic
|
|
247
|
+
|
|
242
248
|
// IMPORTANT: This ensures subscription restrictions work properly:
|
|
243
249
|
// - Mention+ plan can only be subscribed to when app package == 'mention'
|
|
244
250
|
// - Other app-specific plans follow the same pattern
|
|
245
251
|
// - Ecosystem plans work across all apps
|
|
252
|
+
|
|
246
253
|
const detectedApp = 'mention'; // This would be dynamic in real implementation
|
|
254
|
+
|
|
247
255
|
setCurrentAppPackage(detectedApp);
|
|
248
256
|
};
|
|
249
257
|
const loadSubscriptionData = async () => {
|
|
250
258
|
try {
|
|
251
259
|
setLoading(true);
|
|
260
|
+
|
|
252
261
|
// Filter plans available for current app
|
|
253
262
|
const availablePlans = mockPlans.filter(plan => plan.applicableApps.includes(currentAppPackage));
|
|
254
263
|
setPlans(availablePlans);
|
|
264
|
+
|
|
255
265
|
// Mock current subscription
|
|
256
266
|
let currentSubscription = null;
|
|
257
267
|
if (user?.isPremium) {
|
|
@@ -265,6 +275,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
265
275
|
};
|
|
266
276
|
setSubscription(currentSubscription);
|
|
267
277
|
}
|
|
278
|
+
|
|
268
279
|
// Filter features available for current app and update based on current subscription
|
|
269
280
|
const availableFeatures = mockIndividualFeatures.filter(feature => feature.applicableApps.includes(currentAppPackage));
|
|
270
281
|
const updatedFeatures = availableFeatures.map(feature => {
|
|
@@ -280,7 +291,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
280
291
|
if (__DEV__) {
|
|
281
292
|
console.error('Failed to load subscription data:', error);
|
|
282
293
|
}
|
|
283
|
-
|
|
294
|
+
toast.error('Failed to load subscription information');
|
|
284
295
|
} finally {
|
|
285
296
|
setLoading(false);
|
|
286
297
|
}
|
|
@@ -293,20 +304,23 @@ const PremiumSubscriptionScreen = ({
|
|
|
293
304
|
// Check if plan is available for current app
|
|
294
305
|
const selectedPlan = mockPlans.find(plan => plan.id === planId);
|
|
295
306
|
if (!selectedPlan?.applicableApps.includes(currentAppPackage)) {
|
|
296
|
-
|
|
307
|
+
toast.error(t('premium.toasts.planUnavailable', {
|
|
297
308
|
app: currentAppPackage
|
|
298
309
|
}) || `This plan is not available for the current app (${currentAppPackage})`);
|
|
299
310
|
return;
|
|
300
311
|
}
|
|
312
|
+
|
|
301
313
|
// Special restriction for Mention+ plan - only available in mention app
|
|
302
314
|
if (planId === 'mention-plus' && currentAppPackage !== 'mention') {
|
|
303
|
-
|
|
315
|
+
toast.error(t('premium.toasts.mentionOnly') || 'Mention+ is only available in the Mention app');
|
|
304
316
|
return;
|
|
305
317
|
}
|
|
306
318
|
setProcessingPayment(true);
|
|
319
|
+
|
|
307
320
|
// Mock payment processing
|
|
308
321
|
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
309
|
-
|
|
322
|
+
toast.success(t('premium.toasts.activated') || 'Subscription activated successfully!');
|
|
323
|
+
|
|
310
324
|
// Mock subscription update
|
|
311
325
|
setSubscription({
|
|
312
326
|
id: `sub_${Date.now()}`,
|
|
@@ -316,28 +330,29 @@ const PremiumSubscriptionScreen = ({
|
|
|
316
330
|
currentPeriodEnd: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000).toISOString(),
|
|
317
331
|
cancelAtPeriodEnd: false
|
|
318
332
|
});
|
|
333
|
+
|
|
319
334
|
// Reload data to update feature states
|
|
320
335
|
loadSubscriptionData();
|
|
321
336
|
} catch (error) {
|
|
322
337
|
if (__DEV__) {
|
|
323
338
|
console.error('Payment failed:', error);
|
|
324
339
|
}
|
|
325
|
-
|
|
340
|
+
toast.error(t('premium.toasts.paymentFailed') || 'Payment failed. Please try again.');
|
|
326
341
|
} finally {
|
|
327
342
|
setProcessingPayment(false);
|
|
328
343
|
}
|
|
329
344
|
};
|
|
330
345
|
const handleCancelSubscription = () => {
|
|
331
|
-
|
|
346
|
+
confirmAction(t('premium.confirms.cancelSub') || 'Are you sure you want to cancel your subscription? You will lose access to premium features at the end of your current billing period.', async () => {
|
|
332
347
|
try {
|
|
333
348
|
// Mock cancellation
|
|
334
349
|
setSubscription(prev => prev ? {
|
|
335
350
|
...prev,
|
|
336
351
|
cancelAtPeriodEnd: true
|
|
337
352
|
} : null);
|
|
338
|
-
|
|
353
|
+
toast.success(t('premium.toasts.willCancel') || 'Subscription will be canceled at the end of the billing period');
|
|
339
354
|
} catch (error) {
|
|
340
|
-
|
|
355
|
+
toast.error(t('premium.toasts.cancelFailed') || 'Failed to cancel subscription');
|
|
341
356
|
}
|
|
342
357
|
});
|
|
343
358
|
};
|
|
@@ -347,9 +362,9 @@ const PremiumSubscriptionScreen = ({
|
|
|
347
362
|
...prev,
|
|
348
363
|
cancelAtPeriodEnd: false
|
|
349
364
|
} : null);
|
|
350
|
-
|
|
365
|
+
toast.success(t('premium.toasts.reactivated') || 'Subscription reactivated successfully');
|
|
351
366
|
} catch (error) {
|
|
352
|
-
|
|
367
|
+
toast.error(t('premium.toasts.reactivateFailed') || 'Failed to reactivate subscription');
|
|
353
368
|
}
|
|
354
369
|
};
|
|
355
370
|
const formatPrice = (price, currency, interval) => {
|
|
@@ -370,20 +385,22 @@ const PremiumSubscriptionScreen = ({
|
|
|
370
385
|
// Check if feature is available for current app
|
|
371
386
|
const selectedFeature = mockIndividualFeatures.find(feature => feature.id === featureId);
|
|
372
387
|
if (!selectedFeature?.applicableApps.includes(currentAppPackage)) {
|
|
373
|
-
|
|
388
|
+
toast.error(`This feature is not available for the current app (${currentAppPackage})`);
|
|
374
389
|
return;
|
|
375
390
|
}
|
|
391
|
+
|
|
376
392
|
// Special restrictions for app-specific features
|
|
377
393
|
if (selectedFeature.appScope === 'specific') {
|
|
378
394
|
// For features that are only available in specific apps, enforce strict matching
|
|
379
395
|
const hasExactMatch = selectedFeature.applicableApps.length === 1 && selectedFeature.applicableApps[0] === currentAppPackage;
|
|
380
396
|
if (!hasExactMatch && selectedFeature.applicableApps.length === 1) {
|
|
381
397
|
const requiredApp = selectedFeature.applicableApps[0];
|
|
382
|
-
|
|
398
|
+
toast.error(`${selectedFeature.name} is only available in the ${requiredApp} app`);
|
|
383
399
|
return;
|
|
384
400
|
}
|
|
385
401
|
}
|
|
386
402
|
setProcessingPayment(true);
|
|
403
|
+
|
|
387
404
|
// Mock feature subscription
|
|
388
405
|
await new Promise(resolve => setTimeout(resolve, 1500));
|
|
389
406
|
setIndividualFeatures(prev => prev.map(feature => feature.id === featureId ? {
|
|
@@ -391,21 +408,21 @@ const PremiumSubscriptionScreen = ({
|
|
|
391
408
|
isSubscribed: true
|
|
392
409
|
} : feature));
|
|
393
410
|
const feature = individualFeatures.find(f => f.id === featureId);
|
|
394
|
-
|
|
411
|
+
toast.success(t('premium.toasts.featureSubscribed', {
|
|
395
412
|
name: feature?.name ?? ''
|
|
396
413
|
}) ?? `Subscribed to ${feature?.name} successfully!`);
|
|
397
414
|
} catch (error) {
|
|
398
415
|
if (__DEV__) {
|
|
399
416
|
console.error('Feature subscription failed:', error);
|
|
400
417
|
}
|
|
401
|
-
|
|
418
|
+
toast.error(t('premium.toasts.featureSubscribeFailed') || 'Feature subscription failed. Please try again.');
|
|
402
419
|
} finally {
|
|
403
420
|
setProcessingPayment(false);
|
|
404
421
|
}
|
|
405
422
|
};
|
|
406
423
|
const handleFeatureUnsubscribe = async featureId => {
|
|
407
424
|
const feature = individualFeatures.find(f => f.id === featureId);
|
|
408
|
-
|
|
425
|
+
confirmAction(t('premium.confirms.unsubscribeFeature', {
|
|
409
426
|
name: feature?.name ?? ''
|
|
410
427
|
}) ?? `Are you sure you want to unsubscribe from ${feature?.name}?`, async () => {
|
|
411
428
|
try {
|
|
@@ -413,11 +430,11 @@ const PremiumSubscriptionScreen = ({
|
|
|
413
430
|
...f,
|
|
414
431
|
isSubscribed: false
|
|
415
432
|
} : f));
|
|
416
|
-
|
|
433
|
+
toast.success(t('premium.toasts.featureUnsubscribed', {
|
|
417
434
|
name: feature?.name ?? ''
|
|
418
435
|
}) ?? `Unsubscribed from ${feature?.name}`);
|
|
419
436
|
} catch (error) {
|
|
420
|
-
|
|
437
|
+
toast.error(t('premium.toasts.featureUnsubscribeFailed') || 'Failed to unsubscribe from feature');
|
|
421
438
|
}
|
|
422
439
|
});
|
|
423
440
|
};
|
|
@@ -433,26 +450,26 @@ const PremiumSubscriptionScreen = ({
|
|
|
433
450
|
};
|
|
434
451
|
return appNames[packageName] || packageName;
|
|
435
452
|
};
|
|
436
|
-
return (
|
|
453
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
437
454
|
style: [styles.header, {
|
|
438
455
|
borderBottomColor: borderColor
|
|
439
456
|
}],
|
|
440
|
-
children: [(
|
|
457
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
441
458
|
style: styles.backButton,
|
|
442
459
|
onPress: goBack,
|
|
443
|
-
children: (
|
|
460
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
444
461
|
name: "arrow-back",
|
|
445
462
|
size: 24,
|
|
446
463
|
color: textColor
|
|
447
464
|
})
|
|
448
|
-
}), (
|
|
465
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
449
466
|
style: styles.headerTitleContainer,
|
|
450
|
-
children: [(
|
|
467
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
451
468
|
style: [styles.headerTitle, {
|
|
452
469
|
color: textColor
|
|
453
470
|
}],
|
|
454
471
|
children: t('premium.title') || 'Oxy+ Subscriptions'
|
|
455
|
-
}), (
|
|
472
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
456
473
|
style: [styles.currentAppText, {
|
|
457
474
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
458
475
|
}],
|
|
@@ -460,10 +477,10 @@ const PremiumSubscriptionScreen = ({
|
|
|
460
477
|
app: getAppDisplayName(currentAppPackage)
|
|
461
478
|
}) || `for ${getAppDisplayName(currentAppPackage)}`
|
|
462
479
|
})]
|
|
463
|
-
}), onClose && (
|
|
480
|
+
}), onClose && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
464
481
|
style: styles.closeButton,
|
|
465
482
|
onPress: onClose,
|
|
466
|
-
children: (
|
|
483
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
467
484
|
name: "close",
|
|
468
485
|
size: 24,
|
|
469
486
|
color: textColor
|
|
@@ -476,55 +493,55 @@ const PremiumSubscriptionScreen = ({
|
|
|
476
493
|
const currentPlan = getCurrentPlan();
|
|
477
494
|
if (!currentPlan) return null;
|
|
478
495
|
const statusColor = subscription.status === 'active' ? successColor : subscription.status === 'trialing' ? warningColor : dangerColor;
|
|
479
|
-
return (
|
|
496
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
480
497
|
style: styles.section,
|
|
481
|
-
children: [(
|
|
498
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
482
499
|
style: [styles.sectionTitle, {
|
|
483
500
|
color: textColor
|
|
484
501
|
}],
|
|
485
502
|
children: t('premium.current.title') || 'Current Subscription'
|
|
486
|
-
}), (
|
|
503
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
487
504
|
style: [styles.currentSubscriptionCard, {
|
|
488
505
|
backgroundColor: secondaryBackgroundColor,
|
|
489
506
|
borderColor
|
|
490
507
|
}],
|
|
491
|
-
children: [(
|
|
508
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
492
509
|
style: styles.subscriptionHeader,
|
|
493
|
-
children: [(
|
|
494
|
-
children: [(
|
|
510
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
511
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
495
512
|
style: [styles.planName, {
|
|
496
513
|
color: textColor
|
|
497
514
|
}],
|
|
498
515
|
children: currentPlan.name
|
|
499
|
-
}), (
|
|
516
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
500
517
|
style: [styles.planPrice, {
|
|
501
518
|
color: primaryColor
|
|
502
519
|
}],
|
|
503
520
|
children: ["$", currentPlan.price, "/month"]
|
|
504
521
|
})]
|
|
505
|
-
}), (
|
|
522
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
506
523
|
style: [styles.statusBadge, {
|
|
507
524
|
backgroundColor: statusColor
|
|
508
525
|
}],
|
|
509
|
-
children: (
|
|
526
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
510
527
|
style: styles.statusText,
|
|
511
528
|
children: subscription.status.toUpperCase()
|
|
512
529
|
})
|
|
513
530
|
})]
|
|
514
|
-
}), (
|
|
531
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
515
532
|
style: [styles.subscriptionDetail, {
|
|
516
533
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
517
534
|
}],
|
|
518
535
|
children: t('premium.current.renewsOn', {
|
|
519
536
|
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
520
537
|
}) || `Renews on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
521
|
-
}), subscription.cancelAtPeriodEnd && (
|
|
538
|
+
}), subscription.cancelAtPeriodEnd && /*#__PURE__*/_jsxs(View, {
|
|
522
539
|
style: styles.cancelNotice,
|
|
523
|
-
children: [(
|
|
540
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
524
541
|
name: "warning",
|
|
525
542
|
size: 16,
|
|
526
543
|
color: warningColor
|
|
527
|
-
}), (
|
|
544
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
528
545
|
style: [styles.cancelText, {
|
|
529
546
|
color: warningColor
|
|
530
547
|
}],
|
|
@@ -532,31 +549,31 @@ const PremiumSubscriptionScreen = ({
|
|
|
532
549
|
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
533
550
|
}) || `Subscription will cancel on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
534
551
|
})]
|
|
535
|
-
}), (
|
|
552
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
536
553
|
style: styles.subscriptionActions,
|
|
537
|
-
children: [subscription.cancelAtPeriodEnd ? (
|
|
554
|
+
children: [subscription.cancelAtPeriodEnd ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
538
555
|
style: [styles.actionButton, {
|
|
539
556
|
backgroundColor: successColor
|
|
540
557
|
}],
|
|
541
558
|
onPress: handleReactivateSubscription,
|
|
542
|
-
children: (
|
|
559
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
543
560
|
style: styles.actionButtonText,
|
|
544
561
|
children: t('premium.actions.reactivate') || 'Reactivate'
|
|
545
562
|
})
|
|
546
|
-
}) : (
|
|
563
|
+
}) : /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
547
564
|
style: [styles.actionButton, {
|
|
548
565
|
backgroundColor: dangerColor
|
|
549
566
|
}],
|
|
550
567
|
onPress: handleCancelSubscription,
|
|
551
|
-
children: (
|
|
568
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
552
569
|
style: styles.actionButtonText,
|
|
553
570
|
children: t('premium.actions.cancelSubBtn') || 'Cancel Subscription'
|
|
554
571
|
})
|
|
555
|
-
}), (
|
|
572
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
556
573
|
style: [styles.actionButton, styles.secondaryButton, {
|
|
557
574
|
borderColor
|
|
558
575
|
}],
|
|
559
|
-
children: (
|
|
576
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
560
577
|
style: [styles.actionButtonText, {
|
|
561
578
|
color: textColor
|
|
562
579
|
}],
|
|
@@ -567,34 +584,34 @@ const PremiumSubscriptionScreen = ({
|
|
|
567
584
|
})]
|
|
568
585
|
});
|
|
569
586
|
};
|
|
570
|
-
const renderBillingToggle = () => (
|
|
587
|
+
const renderBillingToggle = () => /*#__PURE__*/_jsxs(View, {
|
|
571
588
|
style: styles.section,
|
|
572
|
-
children: [(
|
|
589
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
573
590
|
style: styles.billingToggle,
|
|
574
|
-
children: [(
|
|
591
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
575
592
|
style: [styles.billingOption, billingInterval === 'month' && {
|
|
576
593
|
backgroundColor: primaryColor
|
|
577
594
|
}],
|
|
578
595
|
onPress: () => setBillingInterval('month'),
|
|
579
|
-
children: (
|
|
596
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
580
597
|
style: [styles.billingOptionText, {
|
|
581
598
|
color: billingInterval === 'month' ? '#FFFFFF' : textColor
|
|
582
599
|
}],
|
|
583
600
|
children: t('premium.billing.monthly') || 'Monthly'
|
|
584
601
|
})
|
|
585
|
-
}), (
|
|
602
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
586
603
|
style: [styles.billingOption, billingInterval === 'year' && {
|
|
587
604
|
backgroundColor: primaryColor
|
|
588
605
|
}],
|
|
589
606
|
onPress: () => setBillingInterval('year'),
|
|
590
|
-
children: (
|
|
607
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
591
608
|
style: [styles.billingOptionText, {
|
|
592
609
|
color: billingInterval === 'year' ? '#FFFFFF' : textColor
|
|
593
610
|
}],
|
|
594
611
|
children: t('premium.billing.yearly') || 'Yearly'
|
|
595
612
|
})
|
|
596
613
|
})]
|
|
597
|
-
}), billingInterval === 'year' && (
|
|
614
|
+
}), billingInterval === 'year' && /*#__PURE__*/_jsx(Text, {
|
|
598
615
|
style: [styles.savingsText, {
|
|
599
616
|
color: successColor
|
|
600
617
|
}],
|
|
@@ -637,7 +654,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
637
654
|
};
|
|
638
655
|
};
|
|
639
656
|
const availability = getAvailabilityStatus();
|
|
640
|
-
return (
|
|
657
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
641
658
|
style: [styles.planCard, {
|
|
642
659
|
backgroundColor: secondaryBackgroundColor,
|
|
643
660
|
borderColor
|
|
@@ -647,53 +664,53 @@ const PremiumSubscriptionScreen = ({
|
|
|
647
664
|
}, plan.isPopular && styles.popularPlan, !availability.available && {
|
|
648
665
|
opacity: 0.6
|
|
649
666
|
}],
|
|
650
|
-
children: [plan.isPopular && (
|
|
667
|
+
children: [plan.isPopular && /*#__PURE__*/_jsx(View, {
|
|
651
668
|
style: [styles.popularBadge, {
|
|
652
669
|
backgroundColor: primaryColor
|
|
653
670
|
}],
|
|
654
|
-
children: (
|
|
671
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
655
672
|
style: styles.popularText,
|
|
656
673
|
children: "MOST POPULAR"
|
|
657
674
|
})
|
|
658
|
-
}), isAppSpecific && (
|
|
675
|
+
}), isAppSpecific && /*#__PURE__*/_jsx(View, {
|
|
659
676
|
style: [styles.appSpecificBadge, {
|
|
660
677
|
backgroundColor: isAvailableForCurrentApp ? successColor : warningColor
|
|
661
678
|
}],
|
|
662
|
-
children: (
|
|
679
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
663
680
|
style: styles.appSpecificText,
|
|
664
681
|
children: isAvailableForCurrentApp ? t('premium.plan.badge.appExclusive') || 'App Exclusive' : t('premium.plan.badge.notAvailable') || 'Not Available'
|
|
665
682
|
})
|
|
666
|
-
}), (
|
|
683
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
667
684
|
style: styles.planHeader,
|
|
668
|
-
children: [(
|
|
685
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
669
686
|
style: [styles.planName, {
|
|
670
687
|
color: textColor
|
|
671
688
|
}],
|
|
672
689
|
children: plan.name
|
|
673
|
-
}), (
|
|
690
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
674
691
|
style: [styles.planDescription, {
|
|
675
692
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
676
693
|
}],
|
|
677
694
|
children: plan.description
|
|
678
|
-
}), (
|
|
695
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
679
696
|
style: [styles.planAppScope, {
|
|
680
697
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
681
698
|
}],
|
|
682
699
|
children: getAppScopeText()
|
|
683
|
-
}), !availability.available && (
|
|
700
|
+
}), !availability.available && /*#__PURE__*/_jsx(Text, {
|
|
684
701
|
style: [styles.planRestrictionText, {
|
|
685
702
|
color: dangerColor
|
|
686
703
|
}],
|
|
687
704
|
children: availability.reason
|
|
688
705
|
})]
|
|
689
|
-
}), (
|
|
706
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
690
707
|
style: styles.planPricing,
|
|
691
|
-
children: [(
|
|
708
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
692
709
|
style: [styles.planPrice, {
|
|
693
710
|
color: textColor
|
|
694
711
|
}],
|
|
695
712
|
children: pricing.formatted
|
|
696
|
-
}), (
|
|
713
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
697
714
|
style: [styles.planInterval, {
|
|
698
715
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
699
716
|
}],
|
|
@@ -701,49 +718,49 @@ const PremiumSubscriptionScreen = ({
|
|
|
701
718
|
interval: pricing.interval
|
|
702
719
|
}) || `per ${pricing.interval}`
|
|
703
720
|
})]
|
|
704
|
-
}), (
|
|
721
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
705
722
|
style: styles.planFeatures,
|
|
706
|
-
children: plan.features.map((feature, index) => (
|
|
723
|
+
children: plan.features.map((feature, index) => /*#__PURE__*/_jsxs(View, {
|
|
707
724
|
style: styles.featureItem,
|
|
708
|
-
children: [(
|
|
725
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
709
726
|
name: "checkmark",
|
|
710
727
|
size: 16,
|
|
711
728
|
color: successColor
|
|
712
|
-
}), (
|
|
729
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
713
730
|
style: [styles.featureText, {
|
|
714
731
|
color: textColor
|
|
715
732
|
}],
|
|
716
733
|
children: feature
|
|
717
734
|
})]
|
|
718
735
|
}, index))
|
|
719
|
-
}), isCurrentPlan ? (
|
|
736
|
+
}), isCurrentPlan ? /*#__PURE__*/_jsx(View, {
|
|
720
737
|
style: [styles.currentPlanButton, {
|
|
721
738
|
backgroundColor: successColor
|
|
722
739
|
}],
|
|
723
|
-
children: (
|
|
740
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
724
741
|
style: styles.currentPlanText,
|
|
725
742
|
children: t('premium.plan.current') || 'Current Plan'
|
|
726
743
|
})
|
|
727
|
-
}) : !availability.available ? (
|
|
744
|
+
}) : !availability.available ? /*#__PURE__*/_jsx(View, {
|
|
728
745
|
style: [styles.unavailablePlanButton, {
|
|
729
746
|
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
730
747
|
}],
|
|
731
|
-
children: (
|
|
748
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
732
749
|
style: [styles.unavailablePlanText, {
|
|
733
750
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
734
751
|
}],
|
|
735
752
|
children: t('premium.plan.notAvailableInApp') || 'Not Available in Current App'
|
|
736
753
|
})
|
|
737
|
-
}) : (
|
|
754
|
+
}) : /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
738
755
|
style: [styles.selectPlanButton, {
|
|
739
756
|
backgroundColor: plan.isPopular ? primaryColor : borderColor
|
|
740
757
|
}],
|
|
741
758
|
onPress: () => handleSubscribe(plan.id),
|
|
742
759
|
disabled: processingPayment,
|
|
743
|
-
children: processingPayment ? (
|
|
760
|
+
children: processingPayment ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
744
761
|
color: "#FFFFFF",
|
|
745
762
|
size: "small"
|
|
746
|
-
}) : (
|
|
763
|
+
}) : /*#__PURE__*/_jsx(Text, {
|
|
747
764
|
style: [styles.selectPlanText, {
|
|
748
765
|
color: plan.isPopular ? '#FFFFFF' : textColor
|
|
749
766
|
}],
|
|
@@ -754,31 +771,31 @@ const PremiumSubscriptionScreen = ({
|
|
|
754
771
|
})]
|
|
755
772
|
}, plan.id);
|
|
756
773
|
};
|
|
757
|
-
const renderTabNavigation = () => (
|
|
774
|
+
const renderTabNavigation = () => /*#__PURE__*/_jsx(View, {
|
|
758
775
|
style: styles.section,
|
|
759
|
-
children: (
|
|
776
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
760
777
|
style: [styles.tabContainer, {
|
|
761
778
|
borderBottomColor: borderColor
|
|
762
779
|
}],
|
|
763
|
-
children: [(
|
|
780
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
764
781
|
style: [styles.tab, activeTab === 'plans' && {
|
|
765
782
|
borderBottomColor: primaryColor,
|
|
766
783
|
borderBottomWidth: 2
|
|
767
784
|
}],
|
|
768
785
|
onPress: () => setActiveTab('plans'),
|
|
769
|
-
children: (
|
|
786
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
770
787
|
style: [styles.tabText, {
|
|
771
788
|
color: activeTab === 'plans' ? primaryColor : textColor
|
|
772
789
|
}],
|
|
773
790
|
children: t('premium.tabs.plans') || 'Full Plans'
|
|
774
791
|
})
|
|
775
|
-
}), (
|
|
792
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
776
793
|
style: [styles.tab, activeTab === 'features' && {
|
|
777
794
|
borderBottomColor: primaryColor,
|
|
778
795
|
borderBottomWidth: 2
|
|
779
796
|
}],
|
|
780
797
|
onPress: () => setActiveTab('features'),
|
|
781
|
-
children: (
|
|
798
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
782
799
|
style: [styles.tabText, {
|
|
783
800
|
color: activeTab === 'features' ? primaryColor : textColor
|
|
784
801
|
}],
|
|
@@ -832,7 +849,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
832
849
|
apps: feature.applicableApps.join(', ')
|
|
833
850
|
}) || `Available in: ${feature.applicableApps.join(', ')}`;
|
|
834
851
|
};
|
|
835
|
-
return (
|
|
852
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
836
853
|
style: [styles.featureCard, {
|
|
837
854
|
backgroundColor: secondaryBackgroundColor,
|
|
838
855
|
borderColor
|
|
@@ -843,53 +860,53 @@ const PremiumSubscriptionScreen = ({
|
|
|
843
860
|
borderColor: primaryColor,
|
|
844
861
|
borderWidth: 2
|
|
845
862
|
}],
|
|
846
|
-
children: [(
|
|
863
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
847
864
|
style: styles.featureHeader,
|
|
848
|
-
children: [(
|
|
865
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
849
866
|
style: styles.featureIconContainer,
|
|
850
|
-
children: (
|
|
867
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
851
868
|
name: getCategoryIcon(feature.category),
|
|
852
869
|
size: 24,
|
|
853
870
|
color: getCategoryColor(feature.category)
|
|
854
871
|
})
|
|
855
|
-
}), (
|
|
872
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
856
873
|
style: styles.featureInfo,
|
|
857
|
-
children: [(
|
|
874
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
858
875
|
style: styles.featureNameRow,
|
|
859
|
-
children: [(
|
|
876
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
860
877
|
style: [styles.featureName, {
|
|
861
878
|
color: textColor
|
|
862
879
|
}],
|
|
863
880
|
children: feature.name
|
|
864
|
-
}), isIncludedInCurrentPlan && (
|
|
881
|
+
}), isIncludedInCurrentPlan && /*#__PURE__*/_jsx(View, {
|
|
865
882
|
style: [styles.includedBadge, {
|
|
866
883
|
backgroundColor: primaryColor
|
|
867
884
|
}],
|
|
868
|
-
children: (
|
|
885
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
869
886
|
style: styles.includedBadgeText,
|
|
870
887
|
children: "Included"
|
|
871
888
|
})
|
|
872
889
|
})]
|
|
873
|
-
}), (
|
|
890
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
874
891
|
style: [styles.featureDescription, {
|
|
875
892
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
876
893
|
}],
|
|
877
894
|
children: feature.description
|
|
878
|
-
}), (
|
|
895
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
879
896
|
style: [styles.appScopeText, {
|
|
880
897
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
881
898
|
}],
|
|
882
899
|
children: getAppScopeText()
|
|
883
900
|
})]
|
|
884
901
|
})]
|
|
885
|
-
}), !isIncludedInCurrentPlan && (
|
|
902
|
+
}), !isIncludedInCurrentPlan && /*#__PURE__*/_jsxs(View, {
|
|
886
903
|
style: styles.featurePricing,
|
|
887
|
-
children: [(
|
|
904
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
888
905
|
style: [styles.featurePrice, {
|
|
889
906
|
color: textColor
|
|
890
907
|
}],
|
|
891
908
|
children: pricing.formatted
|
|
892
|
-
}), (
|
|
909
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
893
910
|
style: [styles.featureInterval, {
|
|
894
911
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
895
912
|
}],
|
|
@@ -897,62 +914,62 @@ const PremiumSubscriptionScreen = ({
|
|
|
897
914
|
interval: pricing.interval
|
|
898
915
|
}) || `per ${pricing.interval}`
|
|
899
916
|
})]
|
|
900
|
-
}), isIncludedInCurrentPlan ? (
|
|
917
|
+
}), isIncludedInCurrentPlan ? /*#__PURE__*/_jsxs(View, {
|
|
901
918
|
style: [styles.includedInPlanButton, {
|
|
902
919
|
backgroundColor: primaryColor
|
|
903
920
|
}],
|
|
904
|
-
children: [(
|
|
921
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
905
922
|
name: "checkmark-circle",
|
|
906
923
|
size: 16,
|
|
907
924
|
color: "#FFFFFF"
|
|
908
|
-
}), (
|
|
925
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
909
926
|
style: styles.includedInPlanText,
|
|
910
927
|
children: t('premium.feature.includedInPlan') || 'Included in your plan'
|
|
911
928
|
})]
|
|
912
|
-
}) : isSubscribed ? (
|
|
929
|
+
}) : isSubscribed ? /*#__PURE__*/_jsxs(View, {
|
|
913
930
|
style: styles.featureActions,
|
|
914
|
-
children: [(
|
|
931
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
915
932
|
style: [styles.subscribedButton, {
|
|
916
933
|
backgroundColor: successColor
|
|
917
934
|
}],
|
|
918
|
-
children: [(
|
|
935
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
919
936
|
name: "checkmark",
|
|
920
937
|
size: 16,
|
|
921
938
|
color: "#FFFFFF"
|
|
922
|
-
}), (
|
|
939
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
923
940
|
style: styles.subscribedText,
|
|
924
941
|
children: t('premium.feature.subscribed') || 'Subscribed'
|
|
925
942
|
})]
|
|
926
|
-
}), (
|
|
943
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
927
944
|
style: [styles.unsubscribeButton, {
|
|
928
945
|
borderColor: dangerColor
|
|
929
946
|
}],
|
|
930
947
|
onPress: () => handleFeatureUnsubscribe(feature.id),
|
|
931
|
-
children: (
|
|
948
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
932
949
|
style: [styles.unsubscribeText, {
|
|
933
950
|
color: dangerColor
|
|
934
951
|
}],
|
|
935
952
|
children: t('premium.actions.unsubscribe') || 'Unsubscribe'
|
|
936
953
|
})
|
|
937
954
|
})]
|
|
938
|
-
}) : canPurchase ? (
|
|
955
|
+
}) : canPurchase ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
939
956
|
style: [styles.subscribeFeatureButton, {
|
|
940
957
|
backgroundColor: primaryColor
|
|
941
958
|
}],
|
|
942
959
|
onPress: () => handleFeatureSubscribe(feature.id),
|
|
943
960
|
disabled: processingPayment,
|
|
944
|
-
children: processingPayment ? (
|
|
961
|
+
children: processingPayment ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
945
962
|
color: "#FFFFFF",
|
|
946
963
|
size: "small"
|
|
947
|
-
}) : (
|
|
964
|
+
}) : /*#__PURE__*/_jsx(Text, {
|
|
948
965
|
style: styles.subscribeFeatureText,
|
|
949
966
|
children: t('premium.actions.subscribe') || 'Subscribe'
|
|
950
967
|
})
|
|
951
|
-
}) : (
|
|
968
|
+
}) : /*#__PURE__*/_jsx(View, {
|
|
952
969
|
style: [styles.unavailableButton, {
|
|
953
970
|
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
954
971
|
}],
|
|
955
|
-
children: (
|
|
972
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
956
973
|
style: [styles.unavailableText, {
|
|
957
974
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
958
975
|
}],
|
|
@@ -963,14 +980,14 @@ const PremiumSubscriptionScreen = ({
|
|
|
963
980
|
};
|
|
964
981
|
const renderIndividualFeatures = () => {
|
|
965
982
|
const categories = ['analytics', 'customization', 'content', 'networking', 'productivity'];
|
|
966
|
-
return (
|
|
983
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
967
984
|
style: styles.section,
|
|
968
|
-
children: [(
|
|
985
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
969
986
|
style: [styles.sectionTitle, {
|
|
970
987
|
color: textColor
|
|
971
988
|
}],
|
|
972
989
|
children: "Individual Features"
|
|
973
|
-
}), (
|
|
990
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
974
991
|
style: [styles.sectionSubtitle, {
|
|
975
992
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
976
993
|
}],
|
|
@@ -978,9 +995,9 @@ const PremiumSubscriptionScreen = ({
|
|
|
978
995
|
}), categories.map(category => {
|
|
979
996
|
const categoryFeatures = individualFeatures.filter(f => f.category === category);
|
|
980
997
|
if (categoryFeatures.length === 0) return null;
|
|
981
|
-
return (
|
|
998
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
982
999
|
style: styles.categorySection,
|
|
983
|
-
children: [(
|
|
1000
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
984
1001
|
style: [styles.categoryTitle, {
|
|
985
1002
|
color: textColor
|
|
986
1003
|
}],
|
|
@@ -990,27 +1007,29 @@ const PremiumSubscriptionScreen = ({
|
|
|
990
1007
|
})]
|
|
991
1008
|
});
|
|
992
1009
|
};
|
|
1010
|
+
|
|
993
1011
|
// Add this for testing different app contexts (remove in production)
|
|
994
|
-
const [showAppSwitcher, setShowAppSwitcher] =
|
|
1012
|
+
const [showAppSwitcher, setShowAppSwitcher] = useState(__DEV__); // Only show in development
|
|
1013
|
+
|
|
995
1014
|
const renderAppSwitcher = () => {
|
|
996
1015
|
if (!showAppSwitcher) return null;
|
|
997
1016
|
const testApps = ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'];
|
|
998
|
-
return (
|
|
1017
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
999
1018
|
style: [styles.appSwitcher, {
|
|
1000
1019
|
backgroundColor: isDarkTheme ? '#333333' : '#F0F0F0',
|
|
1001
1020
|
borderColor
|
|
1002
1021
|
}],
|
|
1003
|
-
children: [(
|
|
1022
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1004
1023
|
style: [styles.appSwitcherTitle, {
|
|
1005
1024
|
color: textColor
|
|
1006
1025
|
}],
|
|
1007
1026
|
children: "\uD83E\uDDEA Test App Context (Dev Only)"
|
|
1008
|
-
}), (
|
|
1027
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
1009
1028
|
horizontal: true,
|
|
1010
1029
|
showsHorizontalScrollIndicator: false,
|
|
1011
|
-
children: (
|
|
1030
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
1012
1031
|
style: styles.appSwitcherButtons,
|
|
1013
|
-
children: testApps.map(app => (
|
|
1032
|
+
children: testApps.map(app => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1014
1033
|
style: [styles.appSwitcherButton, {
|
|
1015
1034
|
backgroundColor: currentAppPackage === app ? primaryColor : 'transparent',
|
|
1016
1035
|
borderColor: primaryColor
|
|
@@ -1018,7 +1037,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1018
1037
|
onPress: () => {
|
|
1019
1038
|
setCurrentAppPackage(app);
|
|
1020
1039
|
},
|
|
1021
|
-
children: (
|
|
1040
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
1022
1041
|
style: [styles.appSwitcherButtonText, {
|
|
1023
1042
|
color: currentAppPackage === app ? '#FFFFFF' : textColor
|
|
1024
1043
|
}],
|
|
@@ -1030,15 +1049,15 @@ const PremiumSubscriptionScreen = ({
|
|
|
1030
1049
|
});
|
|
1031
1050
|
};
|
|
1032
1051
|
if (loading) {
|
|
1033
|
-
return (
|
|
1052
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
1034
1053
|
style: [styles.container, {
|
|
1035
1054
|
backgroundColor,
|
|
1036
1055
|
justifyContent: 'center'
|
|
1037
1056
|
}],
|
|
1038
|
-
children: [(
|
|
1057
|
+
children: [/*#__PURE__*/_jsx(ActivityIndicator, {
|
|
1039
1058
|
size: "large",
|
|
1040
1059
|
color: primaryColor
|
|
1041
|
-
}), (
|
|
1060
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
1042
1061
|
style: [styles.loadingText, {
|
|
1043
1062
|
color: textColor
|
|
1044
1063
|
}],
|
|
@@ -1046,100 +1065,100 @@ const PremiumSubscriptionScreen = ({
|
|
|
1046
1065
|
})]
|
|
1047
1066
|
});
|
|
1048
1067
|
}
|
|
1049
|
-
return (
|
|
1068
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
1050
1069
|
style: [styles.container, {
|
|
1051
1070
|
backgroundColor
|
|
1052
1071
|
}],
|
|
1053
|
-
children: [renderHeader(), renderAppSwitcher(), (
|
|
1072
|
+
children: [renderHeader(), renderAppSwitcher(), /*#__PURE__*/_jsxs(ScrollView, {
|
|
1054
1073
|
style: styles.content,
|
|
1055
1074
|
showsVerticalScrollIndicator: false,
|
|
1056
|
-
children: [subscription && renderCurrentSubscription(), !subscription && (
|
|
1075
|
+
children: [subscription && renderCurrentSubscription(), !subscription && /*#__PURE__*/_jsxs(View, {
|
|
1057
1076
|
style: styles.section,
|
|
1058
|
-
children: [(
|
|
1077
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1059
1078
|
style: [styles.sectionTitle, {
|
|
1060
1079
|
color: textColor
|
|
1061
1080
|
}],
|
|
1062
1081
|
children: t('premium.choosePlan') || 'Choose Your Plan'
|
|
1063
|
-
}), (
|
|
1082
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
1064
1083
|
style: [styles.sectionSubtitle, {
|
|
1065
1084
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1066
1085
|
}],
|
|
1067
1086
|
children: t('premium.choosePlanSubtitle') || 'Unlock premium features and take your experience to the next level'
|
|
1068
1087
|
})]
|
|
1069
|
-
}), !subscription && renderTabNavigation(), !subscription && activeTab === 'plans' && renderBillingToggle(), activeTab === 'plans' ? (
|
|
1088
|
+
}), !subscription && renderTabNavigation(), !subscription && activeTab === 'plans' && renderBillingToggle(), activeTab === 'plans' ? /*#__PURE__*/_jsxs(View, {
|
|
1070
1089
|
style: styles.section,
|
|
1071
|
-
children: [!subscription && (
|
|
1090
|
+
children: [!subscription && /*#__PURE__*/_jsx(Text, {
|
|
1072
1091
|
style: [styles.sectionTitle, {
|
|
1073
1092
|
color: textColor
|
|
1074
1093
|
}],
|
|
1075
1094
|
children: t('premium.availablePlans') || 'Available Plans'
|
|
1076
1095
|
}), plans.map(renderPlanCard)]
|
|
1077
|
-
}) : renderIndividualFeatures(), (
|
|
1096
|
+
}) : renderIndividualFeatures(), /*#__PURE__*/_jsxs(View, {
|
|
1078
1097
|
style: styles.section,
|
|
1079
|
-
children: [(
|
|
1098
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1080
1099
|
style: [styles.sectionTitle, {
|
|
1081
1100
|
color: textColor
|
|
1082
1101
|
}],
|
|
1083
1102
|
children: t('premium.why') || 'Why Go Premium?'
|
|
1084
|
-
}), (
|
|
1103
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1085
1104
|
style: [styles.benefitsCard, {
|
|
1086
1105
|
backgroundColor: secondaryBackgroundColor,
|
|
1087
1106
|
borderColor
|
|
1088
1107
|
}],
|
|
1089
|
-
children: [(
|
|
1108
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
1090
1109
|
style: styles.benefitItem,
|
|
1091
|
-
children: [(
|
|
1110
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1092
1111
|
name: "flash",
|
|
1093
1112
|
size: 24,
|
|
1094
1113
|
color: primaryColor
|
|
1095
|
-
}), (
|
|
1114
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1096
1115
|
style: styles.benefitContent,
|
|
1097
|
-
children: [(
|
|
1116
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1098
1117
|
style: [styles.benefitTitle, {
|
|
1099
1118
|
color: textColor
|
|
1100
1119
|
}],
|
|
1101
1120
|
children: t('premium.benefits.performance.title') || 'Enhanced Performance'
|
|
1102
|
-
}), (
|
|
1121
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
1103
1122
|
style: [styles.benefitDescription, {
|
|
1104
1123
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1105
1124
|
}],
|
|
1106
1125
|
children: t('premium.benefits.performance.desc') || 'Faster processing and priority access to our servers'
|
|
1107
1126
|
})]
|
|
1108
1127
|
})]
|
|
1109
|
-
}), (
|
|
1128
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1110
1129
|
style: styles.benefitItem,
|
|
1111
|
-
children: [(
|
|
1130
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1112
1131
|
name: "shield-checkmark",
|
|
1113
1132
|
size: 24,
|
|
1114
1133
|
color: successColor
|
|
1115
|
-
}), (
|
|
1134
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1116
1135
|
style: styles.benefitContent,
|
|
1117
|
-
children: [(
|
|
1136
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1118
1137
|
style: [styles.benefitTitle, {
|
|
1119
1138
|
color: textColor
|
|
1120
1139
|
}],
|
|
1121
1140
|
children: t('premium.benefits.security.title') || 'Advanced Security'
|
|
1122
|
-
}), (
|
|
1141
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
1123
1142
|
style: [styles.benefitDescription, {
|
|
1124
1143
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1125
1144
|
}],
|
|
1126
1145
|
children: t('premium.benefits.security.desc') || 'Enhanced encryption and security features'
|
|
1127
1146
|
})]
|
|
1128
1147
|
})]
|
|
1129
|
-
}), (
|
|
1148
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1130
1149
|
style: styles.benefitItem,
|
|
1131
|
-
children: [(
|
|
1150
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1132
1151
|
name: "headset",
|
|
1133
1152
|
size: 24,
|
|
1134
1153
|
color: warningColor
|
|
1135
|
-
}), (
|
|
1154
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
1136
1155
|
style: styles.benefitContent,
|
|
1137
|
-
children: [(
|
|
1156
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
1138
1157
|
style: [styles.benefitTitle, {
|
|
1139
1158
|
color: textColor
|
|
1140
1159
|
}],
|
|
1141
1160
|
children: t('premium.benefits.support.title') || 'Priority Support'
|
|
1142
|
-
}), (
|
|
1161
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
1143
1162
|
style: [styles.benefitDescription, {
|
|
1144
1163
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1145
1164
|
}],
|
|
@@ -1148,13 +1167,13 @@ const PremiumSubscriptionScreen = ({
|
|
|
1148
1167
|
})]
|
|
1149
1168
|
})]
|
|
1150
1169
|
})]
|
|
1151
|
-
}), (
|
|
1170
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
1152
1171
|
style: styles.bottomSpacing
|
|
1153
1172
|
})]
|
|
1154
1173
|
})]
|
|
1155
1174
|
});
|
|
1156
1175
|
};
|
|
1157
|
-
const styles =
|
|
1176
|
+
const styles = StyleSheet.create({
|
|
1158
1177
|
container: {
|
|
1159
1178
|
flex: 1
|
|
1160
1179
|
},
|
|
@@ -1173,7 +1192,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1173
1192
|
headerTitle: {
|
|
1174
1193
|
fontSize: 20,
|
|
1175
1194
|
fontWeight: '600',
|
|
1176
|
-
fontFamily:
|
|
1195
|
+
fontFamily: fontFamilies.interSemiBold
|
|
1177
1196
|
},
|
|
1178
1197
|
headerTitleContainer: {
|
|
1179
1198
|
flex: 1,
|
|
@@ -1196,7 +1215,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1196
1215
|
sectionTitle: {
|
|
1197
1216
|
fontSize: 24,
|
|
1198
1217
|
fontWeight: 'bold',
|
|
1199
|
-
fontFamily:
|
|
1218
|
+
fontFamily: fontFamilies.interBold,
|
|
1200
1219
|
marginBottom: 8
|
|
1201
1220
|
},
|
|
1202
1221
|
sectionSubtitle: {
|
|
@@ -1618,5 +1637,5 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1618
1637
|
fontWeight: '500'
|
|
1619
1638
|
}
|
|
1620
1639
|
});
|
|
1621
|
-
|
|
1640
|
+
export default PremiumSubscriptionScreen;
|
|
1622
1641
|
//# sourceMappingURL=PremiumSubscriptionScreen.js.map
|