@oxyhq/services 6.9.15 → 6.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/icons/OxyServices.js +13 -52
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +18 -57
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js +200 -190
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +5 -16
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/lib/sonner.native.js +8 -45
- package/lib/commonjs/lib/sonner.native.js.map +1 -1
- package/lib/commonjs/lib/sonner.web.js +8 -45
- package/lib/commonjs/lib/sonner.web.js.map +1 -1
- package/lib/commonjs/ui/client.js +66 -88
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -26
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +39 -27
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheet.js +0 -20
- package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +65 -103
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -30
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +10 -13
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +52 -81
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FontLoader.js +17 -52
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +27 -29
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +10 -11
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -34
- package/lib/commonjs/ui/components/Header.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -26
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +12 -12
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +4 -8
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
- package/lib/commonjs/ui/components/LoadingState.js +11 -14
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +14 -53
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +17 -19
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +31 -35
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +16 -16
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/Section.js +12 -15
- package/lib/commonjs/ui/components/Section.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +14 -13
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/SignInModal.js +115 -132
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +71 -85
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/Surface.js +37 -79
- package/lib/commonjs/ui/components/Surface.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +8 -6
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +29 -74
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +23 -27
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +27 -31
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +21 -23
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +10 -37
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -2
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +65 -106
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -33
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +25 -35
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +43 -44
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +35 -76
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +30 -64
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +26 -68
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +6 -10
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +3 -3
- package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/index.js +0 -10
- package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +14 -13
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +66 -77
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +118 -127
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -20
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +7 -12
- package/lib/commonjs/ui/components/icon/index.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +54 -62
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +21 -22
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +41 -52
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/modals/index.js +3 -8
- package/lib/commonjs/ui/components/modals/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +70 -89
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
- package/lib/commonjs/ui/components/payment/index.js +0 -15
- package/lib/commonjs/ui/components/payment/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/payment/types.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +27 -59
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +6 -4
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js +7 -7
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +6 -4
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/components/types.js.map +1 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +3 -43
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +7 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/iconColors.js +16 -12
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +9 -8
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -1
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +4 -27
- package/lib/commonjs/ui/context/ThemeContext.js.map +1 -2
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -27
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/hooks/index.js +26 -27
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +22 -31
- package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +106 -83
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +53 -45
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +39 -50
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -6
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +39 -33
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -11
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +32 -28
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +17 -10
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +26 -13
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAuth.js +28 -23
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -3
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +8 -6
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +9 -7
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +75 -67
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -5
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/commonjs/ui/hooks/useI18n.js +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +17 -16
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +44 -40
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +39 -34
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +22 -16
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/hooks/useStorage.js +6 -6
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +13 -12
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/commonjs/ui/hooks/useWebSSO.js +19 -11
- package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/commonjs/ui/index.js +51 -61
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/isFrontend.js +2 -2
- package/lib/commonjs/ui/isFrontend.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +12 -6
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +66 -75
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +133 -164
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +133 -150
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +44 -83
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -19
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +54 -61
- package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +137 -155
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +36 -75
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -79
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +50 -82
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +31 -35
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -23
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +107 -120
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +69 -63
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +205 -241
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +81 -114
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +102 -128
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -31
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -69
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +85 -120
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +72 -91
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +45 -80
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +58 -47
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/stores/accountStore.js +1 -1
- package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +16 -13
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +6 -5
- package/lib/commonjs/ui/stores/authStore.js.map +1 -1
- package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +10 -3
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +12 -12
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/fonts.js +19 -18
- package/lib/commonjs/ui/styles/fonts.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/spacing.js +0 -11
- package/lib/commonjs/ui/styles/spacing.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +12 -11
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/types/navigation.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +16 -11
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +0 -17
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/confirmAction.js +1 -1
- package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +38 -22
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +12 -7
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +0 -15
- package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/userUtils.js +9 -6
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +79 -60
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/icons/OxyServices.js +0 -12
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -15
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/index.js +34 -406
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner-safe.js +8 -7
- package/lib/module/lib/sonner-safe.js.map +1 -1
- package/lib/module/lib/sonner.js +1 -17
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/lib/sonner.native.js +0 -45
- package/lib/module/lib/sonner.native.js.map +1 -1
- package/lib/module/lib/sonner.web.js +6 -48
- package/lib/module/lib/sonner.web.js.map +1 -1
- package/lib/module/ui/client.js +25 -165
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +27 -69
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +9 -13
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -8
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +0 -99
- package/lib/module/ui/components/BottomSheet.js.map +0 -1
- package/lib/module/ui/components/BottomSheetRouter.js +61 -105
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +16 -60
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/EmptyState.js +7 -15
- package/lib/module/ui/components/EmptyState.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +50 -84
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +17 -57
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +27 -31
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +9 -13
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +57 -102
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +13 -55
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +13 -19
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +24 -31
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +4 -14
- package/lib/module/ui/components/IconButton/utils.js.map +1 -1
- package/lib/module/ui/components/LoadingState.js +0 -12
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -13
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -14
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +48 -39
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +37 -42
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +29 -37
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +15 -18
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/Section.js +0 -16
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +12 -15
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +0 -17
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +115 -142
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -43
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +34 -82
- package/lib/module/ui/components/Surface.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -8
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +8 -12
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -62
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -15
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +28 -33
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +9 -13
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -3
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +2 -7
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +18 -25
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +63 -109
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +61 -109
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/TextField/constants.js +0 -23
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +50 -69
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField/types.js +1 -3
- package/lib/module/ui/components/TextField/types.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -64
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +6 -7
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +28 -67
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -47
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +6 -16
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -8
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +3 -7
- package/lib/module/ui/components/Typography/types.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +12 -20
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -10
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/module/ui/components/feedback/constants.js +3 -7
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +10 -15
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/feedback/index.js +5 -56
- package/lib/module/ui/components/feedback/index.js.map +1 -1
- package/lib/module/ui/components/feedback/types.js +0 -3
- package/lib/module/ui/components/feedback/types.js.map +0 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js +6 -11
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -10
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +67 -72
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -38
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -27
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +20 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +14 -58
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -5
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +2 -23
- package/lib/module/ui/components/icon/index.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -111
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -11
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +12 -15
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +40 -48
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/modals/index.js +1 -16
- package/lib/module/ui/components/modals/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +69 -77
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +17 -25
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -18
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -29
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/module/ui/components/payment/constants.js +0 -7
- package/lib/module/ui/components/payment/constants.js.map +0 -1
- package/lib/module/ui/components/payment/index.js +0 -73
- package/lib/module/ui/components/payment/index.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +0 -9
- package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/module/ui/components/payment/types.js +1 -3
- package/lib/module/ui/components/payment/types.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +25 -62
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +0 -13
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +8 -12
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +6 -9
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/components/types.js +1 -3
- package/lib/module/ui/components/types.js.map +1 -1
- package/lib/module/ui/components/utils/forwardRef.js +0 -40
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +1 -5
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +1 -6
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js +7 -5
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/iconColors.js +14 -16
- package/lib/module/ui/constants/iconColors.js.map +1 -1
- package/lib/module/ui/constants/spacing.js +25 -24
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/constants/theme.js +4 -7
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +0 -17
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +7 -13
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +39 -68
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +0 -64
- package/lib/module/ui/hooks/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/index.js +5 -67
- package/lib/module/ui/hooks/mutations/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -7
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +109 -92
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +0 -114
- package/lib/module/ui/hooks/queries/index.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +36 -39
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +40 -44
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +12 -17
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +33 -37
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +17 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +26 -19
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +16 -20
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +20 -24
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +13 -16
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useColorScheme.js +0 -3
- package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +11 -16
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +9 -15
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFileFiltering.js +0 -9
- package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +77 -75
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -6
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +0 -7
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +18 -22
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -9
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -5
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +45 -46
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +0 -15
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +0 -14
- package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +7 -12
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +10 -14
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +14 -18
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/module/ui/hooks/useWebSSO.js +16 -12
- package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/module/ui/index.js +46 -74
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js +1 -4
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -17
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +14 -8
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +65 -71
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +131 -167
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -88
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -88
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +42 -86
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +76 -79
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +89 -114
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +0 -38
- package/lib/module/ui/screens/FAQScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -58
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -149
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -8
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +4 -12
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -45
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +41 -81
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -71
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +31 -33
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +35 -72
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +0 -50
- package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -28
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +205 -186
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -56
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +101 -102
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -55
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -39
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +89 -81
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -21
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +0 -69
- package/lib/module/ui/screens/UserListScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +82 -123
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +26 -29
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +72 -74
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +43 -83
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -30
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +80 -81
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/server.js +29 -50
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/accountStore.js +0 -7
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +14 -24
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +5 -8
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/stores/fileStore.js +0 -6
- package/lib/module/ui/stores/fileStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +9 -6
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +12 -17
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/fonts.js +0 -8
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/module/ui/styles/index.js +4 -26
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -54
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +13 -19
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/types/fileManagement.js +1 -3
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +1 -3
- package/lib/module/ui/types/navigation.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -5
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -44
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -7
- package/lib/module/ui/utils/confirmAction.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js +18 -16
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +0 -6
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/iconNames.js +20 -24
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +15 -17
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +10 -12
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +2 -35
- package/lib/module/ui/utils/themeUtils.js.map +0 -1
- package/lib/module/ui/utils/userUtils.js +6 -10
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +83 -82
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/package.json +1 -1
- package/lib/commonjs/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/commonjs/assets/assets/icons/OxyServices.js +0 -53
- package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/commonjs/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/module/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/module/assets/assets/icons/OxyServices.js +0 -53
- package/lib/module/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/module/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -28
- package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/typescript/index.d.ts +0 -46
- package/lib/typescript/lib/sonner-safe.d.ts +0 -8
- package/lib/typescript/lib/sonner.d.ts +0 -11
- package/lib/typescript/lib/sonner.native.d.ts +0 -14
- package/lib/typescript/lib/sonner.web.d.ts +0 -14
- package/lib/typescript/ui/client.d.ts +0 -30
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -44
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/lib/typescript/ui/components/Avatar.d.ts +0 -60
- package/lib/typescript/ui/components/BottomSheet.d.ts +0 -28
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -8
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -26
- package/lib/typescript/ui/components/EmptyState.d.ts +0 -7
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -28
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -14
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -23
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -29
- package/lib/typescript/ui/components/Header.d.ts +0 -37
- package/lib/typescript/ui/components/HelperText.d.ts +0 -46
- package/lib/typescript/ui/components/Icon.d.ts +0 -59
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -98
- package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -18
- package/lib/typescript/ui/components/LoadingState.d.ts +0 -8
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -28
- package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -28
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -37
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -64
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -17
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -14
- package/lib/typescript/ui/components/Section.d.ts +0 -11
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
- package/lib/typescript/ui/components/SettingRow.d.ts +0 -19
- package/lib/typescript/ui/components/SignInModal.d.ts +0 -17
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -25
- package/lib/typescript/ui/components/Surface.d.ts +0 -75
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/constants.d.ts +0 -31
- package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -96
- package/lib/typescript/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/ui/components/TextField.d.ts +0 -191
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/lib/typescript/ui/components/Typography/types.d.ts +0 -18
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +0 -19
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/lib/typescript/ui/components/feedback/constants.d.ts +0 -4
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/ui/components/feedback/index.d.ts +0 -6
- package/lib/typescript/ui/components/feedback/types.d.ts +0 -45
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -859
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -9
- package/lib/typescript/ui/components/icon/index.d.ts +0 -3
- package/lib/typescript/ui/components/index.d.ts +0 -16
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -22
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/lib/typescript/ui/components/modals/index.d.ts +0 -1
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/lib/typescript/ui/components/payment/constants.d.ts +0 -6
- package/lib/typescript/ui/components/payment/index.d.ts +0 -8
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +0 -395
- package/lib/typescript/ui/components/payment/types.d.ts +0 -39
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/lib/typescript/ui/components/styles/overlay.d.ts +0 -3
- package/lib/typescript/ui/components/styles/shadow.d.ts +0 -2
- package/lib/typescript/ui/components/theming.d.ts +0 -7
- package/lib/typescript/ui/components/types.d.ts +0 -80
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -11
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -19
- package/lib/typescript/ui/constants/iconColors.d.ts +0 -129
- package/lib/typescript/ui/constants/spacing.d.ts +0 -32
- package/lib/typescript/ui/constants/theme.d.ts +0 -96
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -75
- package/lib/typescript/ui/context/ThemeContext.d.ts +0 -18
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/lib/typescript/ui/hooks/index.d.ts +0 -6
- package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -8
- package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/lib/typescript/ui/hooks/queries/index.d.ts +0 -10
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/lib/typescript/ui/hooks/queryClient.d.ts +0 -18
- package/lib/typescript/ui/hooks/useAssets.d.ts +0 -34
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +0 -50
- package/lib/typescript/ui/hooks/useAuth.d.ts +0 -77
- package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/lib/typescript/ui/hooks/useColorScheme.d.ts +0 -7
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/lib/typescript/ui/hooks/useFileFiltering.d.ts +0 -28
- package/lib/typescript/ui/hooks/useFollow.d.ts +0 -92
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -32
- package/lib/typescript/ui/hooks/useI18n.d.ts +0 -4
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -35
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -6
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -40
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -14
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +0 -56
- package/lib/typescript/ui/hooks/useStorage.d.ts +0 -15
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -93
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -44
- package/lib/typescript/ui/hooks/useWebSSO.d.ts +0 -57
- package/lib/typescript/ui/index.d.ts +0 -23
- package/lib/typescript/ui/isFrontend.d.ts +0 -2
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/lib/typescript/ui/navigation/routes.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/FAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FollowersListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/FollowingListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/UserListScreen.d.ts +0 -10
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/lib/typescript/ui/server.d.ts +0 -40
- package/lib/typescript/ui/stores/accountStore.d.ts +0 -26
- package/lib/typescript/ui/stores/assetStore.d.ts +0 -53
- package/lib/typescript/ui/stores/authStore.d.ts +0 -16
- package/lib/typescript/ui/stores/fileStore.d.ts +0 -30
- package/lib/typescript/ui/stores/followStore.d.ts +0 -24
- package/lib/typescript/ui/styles/authStyles.d.ts +0 -331
- package/lib/typescript/ui/styles/fonts.d.ts +0 -20
- package/lib/typescript/ui/styles/index.d.ts +0 -4
- package/lib/typescript/ui/styles/spacing.d.ts +0 -48
- package/lib/typescript/ui/styles/theme.d.ts +0 -67
- package/lib/typescript/ui/types/fileManagement.d.ts +0 -40
- package/lib/typescript/ui/types/navigation.d.ts +0 -36
- package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -22
- package/lib/typescript/ui/utils/colorUtils.d.ts +0 -9
- package/lib/typescript/ui/utils/confirmAction.d.ts +0 -6
- package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -34
- package/lib/typescript/ui/utils/fileManagement.d.ts +0 -86
- package/lib/typescript/ui/utils/iconNames.d.ts +0 -111
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -64
- package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -27
- package/lib/typescript/ui/utils/themeUtils.d.ts +0 -10
- package/lib/typescript/ui/utils/userUtils.d.ts +0 -28
- package/lib/typescript/utils/hookUtils.d.ts +0 -101
- package/src/assets/icons/OxyServices.d.ts +0 -28
- package/src/assets/icons/OxyServices.js +0 -53
- package/src/assets/illustrations/HighFive.d.ts +0 -7
- package/src/assets/illustrations/HighFive.js +0 -41
- package/src/index.d.ts +0 -46
- package/src/index.js +0 -127
- package/src/lib/sonner-safe.d.ts +0 -8
- package/src/lib/sonner-safe.js +0 -28
- package/src/lib/sonner.d.ts +0 -11
- package/src/lib/sonner.js +0 -16
- package/src/lib/sonner.native.d.ts +0 -14
- package/src/lib/sonner.native.js +0 -46
- package/src/lib/sonner.web.d.ts +0 -14
- package/src/lib/sonner.web.js +0 -46
- package/src/ui/client.d.ts +0 -30
- package/src/ui/client.js +0 -64
- package/src/ui/components/ActivityIndicator.d.ts +0 -44
- package/src/ui/components/ActivityIndicator.js +0 -184
- package/src/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/src/ui/components/AutoHeightScrollView.js +0 -33
- package/src/ui/components/Avatar.d.ts +0 -60
- package/src/ui/components/Avatar.js +0 -146
- package/src/ui/components/BottomSheet.d.ts +0 -28
- package/src/ui/components/BottomSheet.js +0 -374
- package/src/ui/components/BottomSheetRouter.d.ts +0 -8
- package/src/ui/components/BottomSheetRouter.js +0 -211
- package/src/ui/components/CrossFadeIcon.d.ts +0 -26
- package/src/ui/components/CrossFadeIcon.js +0 -111
- package/src/ui/components/EmptyState.d.ts +0 -7
- package/src/ui/components/EmptyState.js +0 -27
- package/src/ui/components/FollowButton.d.ts +0 -28
- package/src/ui/components/FollowButton.js +0 -197
- package/src/ui/components/FontLoader.d.ts +0 -14
- package/src/ui/components/FontLoader.js +0 -185
- package/src/ui/components/GroupedItem.d.ts +0 -23
- package/src/ui/components/GroupedItem.js +0 -84
- package/src/ui/components/GroupedSection.d.ts +0 -29
- package/src/ui/components/GroupedSection.js +0 -13
- package/src/ui/components/Header.d.ts +0 -37
- package/src/ui/components/Header.js +0 -400
- package/src/ui/components/HelperText.d.ts +0 -46
- package/src/ui/components/HelperText.js +0 -119
- package/src/ui/components/Icon.d.ts +0 -59
- package/src/ui/components/Icon.js +0 -108
- package/src/ui/components/IconButton/IconButton.d.ts +0 -98
- package/src/ui/components/IconButton/IconButton.js +0 -90
- package/src/ui/components/IconButton/utils.d.ts +0 -18
- package/src/ui/components/IconButton/utils.js +0 -119
- package/src/ui/components/LoadingState.d.ts +0 -8
- package/src/ui/components/LoadingState.js +0 -29
- package/src/ui/components/OxyLogo.d.ts +0 -28
- package/src/ui/components/OxyLogo.js +0 -53
- package/src/ui/components/OxyPayButton.d.ts +0 -28
- package/src/ui/components/OxyPayButton.js +0 -76
- package/src/ui/components/OxyProvider.d.ts +0 -37
- package/src/ui/components/OxyProvider.js +0 -197
- package/src/ui/components/OxySignInButton.d.ts +0 -64
- package/src/ui/components/OxySignInButton.js +0 -145
- package/src/ui/components/ProfileCard.d.ts +0 -17
- package/src/ui/components/ProfileCard.js +0 -82
- package/src/ui/components/QuickActions.d.ts +0 -14
- package/src/ui/components/QuickActions.js +0 -62
- package/src/ui/components/Section.d.ts +0 -11
- package/src/ui/components/Section.js +0 -24
- package/src/ui/components/SectionTitle.d.ts +0 -9
- package/src/ui/components/SectionTitle.js +0 -21
- package/src/ui/components/SettingRow.d.ts +0 -19
- package/src/ui/components/SettingRow.js +0 -38
- package/src/ui/components/SignInModal.d.ts +0 -17
- package/src/ui/components/SignInModal.js +0 -428
- package/src/ui/components/StepBasedScreen.d.ts +0 -25
- package/src/ui/components/StepBasedScreen.js +0 -372
- package/src/ui/components/Surface.d.ts +0 -75
- package/src/ui/components/Surface.js +0 -239
- package/src/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/src/ui/components/TextField/Addons/Outline.js +0 -30
- package/src/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/src/ui/components/TextField/Addons/Underline.js +0 -45
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -132
- package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/src/ui/components/TextField/Adornment/TextFieldAffix.js +0 -88
- package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/src/ui/components/TextField/Adornment/TextFieldIcon.js +0 -91
- package/src/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/src/ui/components/TextField/Adornment/enums.js +0 -18
- package/src/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/types.js +0 -2
- package/src/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/utils.js +0 -50
- package/src/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/src/ui/components/TextField/Label/InputLabel.js +0 -125
- package/src/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/src/ui/components/TextField/Label/LabelBackground.js +0 -71
- package/src/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldFlat.js +0 -347
- package/src/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldOutlined.js +0 -313
- package/src/ui/components/TextField/constants.d.ts +0 -31
- package/src/ui/components/TextField/constants.js +0 -40
- package/src/ui/components/TextField/helpers.d.ts +0 -96
- package/src/ui/components/TextField/helpers.js +0 -388
- package/src/ui/components/TextField/types.d.ts +0 -155
- package/src/ui/components/TextField/types.js +0 -2
- package/src/ui/components/TextField.d.ts +0 -191
- package/src/ui/components/TextField.js +0 -291
- package/src/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/src/ui/components/TouchableRipple/Pressable.js +0 -5
- package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/src/ui/components/TouchableRipple/TouchableRipple.js +0 -246
- package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/src/ui/components/TouchableRipple/TouchableRipple.native.js +0 -99
- package/src/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/src/ui/components/TouchableRipple/utils.js +0 -40
- package/src/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/src/ui/components/Typography/AnimatedText.js +0 -49
- package/src/ui/components/Typography/types.d.ts +0 -18
- package/src/ui/components/Typography/types.js +0 -22
- package/src/ui/components/feedback/FormInput.d.ts +0 -19
- package/src/ui/components/feedback/FormInput.js +0 -26
- package/src/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/src/ui/components/feedback/ProgressIndicator.js +0 -16
- package/src/ui/components/feedback/constants.d.ts +0 -4
- package/src/ui/components/feedback/constants.js +0 -21
- package/src/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/src/ui/components/feedback/feedbackStyles.js +0 -250
- package/src/ui/components/feedback/index.d.ts +0 -6
- package/src/ui/components/feedback/index.js +0 -18
- package/src/ui/components/feedback/types.d.ts +0 -45
- package/src/ui/components/feedback/types.js +0 -2
- package/src/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/src/ui/components/feedback/useFeedbackForm.js +0 -42
- package/src/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/src/ui/components/fileManagement/AnimatedButton.js +0 -29
- package/src/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/src/ui/components/fileManagement/FileDetailsModal.js +0 -22
- package/src/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/src/ui/components/fileManagement/FileViewer.js +0 -138
- package/src/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/src/ui/components/fileManagement/UploadPreview.js +0 -35
- package/src/ui/components/fileManagement/styles.d.ts +0 -859
- package/src/ui/components/fileManagement/styles.js +0 -861
- package/src/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/src/ui/components/icon/FAIRWalletIcon.js +0 -54
- package/src/ui/components/icon/OxyIcon.d.ts +0 -9
- package/src/ui/components/icon/OxyIcon.js +0 -9
- package/src/ui/components/icon/index.d.ts +0 -3
- package/src/ui/components/icon/index.js +0 -10
- package/src/ui/components/index.d.ts +0 -16
- package/src/ui/components/index.js +0 -42
- package/src/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/src/ui/components/internal/GroupedPillButtons.js +0 -149
- package/src/ui/components/internal/PinInput.d.ts +0 -22
- package/src/ui/components/internal/PinInput.js +0 -76
- package/src/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/src/ui/components/modals/DeleteAccountModal.js +0 -154
- package/src/ui/components/modals/index.d.ts +0 -1
- package/src/ui/components/modals/index.js +0 -8
- package/src/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/src/ui/components/payment/PaymentDetailsStep.js +0 -65
- package/src/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/src/ui/components/payment/PaymentMethodStep.js +0 -54
- package/src/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/src/ui/components/payment/PaymentReviewStep.js +0 -88
- package/src/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/src/ui/components/payment/PaymentSuccessStep.js +0 -35
- package/src/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/src/ui/components/payment/PaymentSummaryStep.js +0 -60
- package/src/ui/components/payment/constants.d.ts +0 -6
- package/src/ui/components/payment/constants.js +0 -38
- package/src/ui/components/payment/index.d.ts +0 -8
- package/src/ui/components/payment/index.js +0 -24
- package/src/ui/components/payment/paymentStyles.d.ts +0 -395
- package/src/ui/components/payment/paymentStyles.js +0 -399
- package/src/ui/components/payment/types.d.ts +0 -39
- package/src/ui/components/payment/types.js +0 -2
- package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/src/ui/components/photogrid/JustifiedPhotoGrid.js +0 -122
- package/src/ui/components/styles/overlay.d.ts +0 -3
- package/src/ui/components/styles/overlay.js +0 -81
- package/src/ui/components/styles/shadow.d.ts +0 -2
- package/src/ui/components/styles/shadow.js +0 -123
- package/src/ui/components/theming.d.ts +0 -7
- package/src/ui/components/theming.js +0 -111
- package/src/ui/components/types.d.ts +0 -80
- package/src/ui/components/types.js +0 -2
- package/src/ui/components/utils/forwardRef.d.ts +0 -11
- package/src/ui/components/utils/forwardRef.js +0 -46
- package/src/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/src/ui/components/utils/hasTouchHandler.js +0 -14
- package/src/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/src/ui/components/utils/roundLayoutSize.js +0 -5
- package/src/ui/components/utils/splitStyles.d.ts +0 -19
- package/src/ui/components/utils/splitStyles.js +0 -40
- package/src/ui/constants/iconColors.d.ts +0 -129
- package/src/ui/constants/iconColors.js +0 -76
- package/src/ui/constants/spacing.d.ts +0 -32
- package/src/ui/constants/spacing.js +0 -40
- package/src/ui/constants/theme.d.ts +0 -96
- package/src/ui/constants/theme.js +0 -118
- package/src/ui/context/OxyContext.d.ts +0 -75
- package/src/ui/context/OxyContext.js +0 -522
- package/src/ui/context/ThemeContext.d.ts +0 -18
- package/src/ui/context/ThemeContext.js +0 -25
- package/src/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/src/ui/context/hooks/useAuthOperations.js +0 -318
- package/src/ui/hooks/index.d.ts +0 -6
- package/src/ui/hooks/index.js +0 -19
- package/src/ui/hooks/mutations/index.d.ts +0 -8
- package/src/ui/hooks/mutations/index.js +0 -23
- package/src/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/src/ui/hooks/mutations/mutationFactory.js +0 -126
- package/src/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/src/ui/hooks/mutations/useAccountMutations.js +0 -274
- package/src/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/src/ui/hooks/mutations/useServicesMutations.js +0 -149
- package/src/ui/hooks/queries/index.d.ts +0 -10
- package/src/ui/hooks/queries/index.js +0 -35
- package/src/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/src/ui/hooks/queries/queryKeys.js +0 -82
- package/src/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/src/ui/hooks/queries/useAccountQueries.js +0 -141
- package/src/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/src/ui/hooks/queries/useSecurityQueries.js +0 -45
- package/src/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/src/ui/hooks/queries/useServicesQueries.js +0 -113
- package/src/ui/hooks/queryClient.d.ts +0 -18
- package/src/ui/hooks/queryClient.js +0 -111
- package/src/ui/hooks/useAssets.d.ts +0 -34
- package/src/ui/hooks/useAssets.js +0 -204
- package/src/ui/hooks/useAsyncAction.d.ts +0 -50
- package/src/ui/hooks/useAsyncAction.js +0 -77
- package/src/ui/hooks/useAuth.d.ts +0 -77
- package/src/ui/hooks/useAuth.js +0 -135
- package/src/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/src/ui/hooks/useAvatarPicker.js +0 -44
- package/src/ui/hooks/useColorScheme.d.ts +0 -7
- package/src/ui/hooks/useColorScheme.js +0 -23
- package/src/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/src/ui/hooks/useDeviceManagement.js +0 -69
- package/src/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/src/ui/hooks/useFileDownloadUrl.js +0 -104
- package/src/ui/hooks/useFileFiltering.d.ts +0 -28
- package/src/ui/hooks/useFileFiltering.js +0 -80
- package/src/ui/hooks/useFollow.d.ts +0 -92
- package/src/ui/hooks/useFollow.js +0 -216
- package/src/ui/hooks/useFollow.types.d.ts +0 -32
- package/src/ui/hooks/useFollow.types.js +0 -4
- package/src/ui/hooks/useI18n.d.ts +0 -4
- package/src/ui/hooks/useI18n.js +0 -13
- package/src/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/src/ui/hooks/useLanguageManagement.js +0 -108
- package/src/ui/hooks/useProfileEditing.d.ts +0 -35
- package/src/ui/hooks/useProfileEditing.js +0 -101
- package/src/ui/hooks/useQueryClient.d.ts +0 -6
- package/src/ui/hooks/useQueryClient.js +0 -16
- package/src/ui/hooks/useSessionManagement.d.ts +0 -40
- package/src/ui/hooks/useSessionManagement.js +0 -312
- package/src/ui/hooks/useSessionSocket.d.ts +0 -14
- package/src/ui/hooks/useSessionSocket.js +0 -209
- package/src/ui/hooks/useSettingToggle.d.ts +0 -56
- package/src/ui/hooks/useSettingToggle.js +0 -97
- package/src/ui/hooks/useStorage.d.ts +0 -15
- package/src/ui/hooks/useStorage.js +0 -40
- package/src/ui/hooks/useThemeColors.d.ts +0 -93
- package/src/ui/hooks/useThemeColors.js +0 -27
- package/src/ui/hooks/useThemeStyles.d.ts +0 -44
- package/src/ui/hooks/useThemeStyles.js +0 -63
- package/src/ui/hooks/useWebSSO.d.ts +0 -57
- package/src/ui/hooks/useWebSSO.js +0 -146
- package/src/ui/index.d.ts +0 -23
- package/src/ui/index.js +0 -97
- package/src/ui/isFrontend.d.ts +0 -2
- package/src/ui/isFrontend.js +0 -6
- package/src/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/src/ui/navigation/bottomSheetManager.js +0 -68
- package/src/ui/navigation/routes.d.ts +0 -5
- package/src/ui/navigation/routes.js +0 -75
- package/src/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/src/ui/screens/AccountCenterScreen.js +0 -202
- package/src/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/src/ui/screens/AccountOverviewScreen.js +0 -648
- package/src/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/src/ui/screens/AccountSettingsScreen.js +0 -480
- package/src/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/src/ui/screens/AccountSwitcherScreen.js +0 -482
- package/src/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/src/ui/screens/AccountVerificationScreen.js +0 -164
- package/src/ui/screens/AppInfoScreen.d.ts +0 -4
- package/src/ui/screens/AppInfoScreen.js +0 -373
- package/src/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/src/ui/screens/EditProfileFieldScreen.js +0 -549
- package/src/ui/screens/FAQScreen.d.ts +0 -4
- package/src/ui/screens/FAQScreen.js +0 -182
- package/src/ui/screens/FeedbackScreen.d.ts +0 -4
- package/src/ui/screens/FeedbackScreen.js +0 -160
- package/src/ui/screens/FileManagementScreen.d.ts +0 -4
- package/src/ui/screens/FileManagementScreen.js +0 -1473
- package/src/ui/screens/FollowersListScreen.d.ts +0 -8
- package/src/ui/screens/FollowersListScreen.js +0 -11
- package/src/ui/screens/FollowingListScreen.d.ts +0 -8
- package/src/ui/screens/FollowingListScreen.js +0 -11
- package/src/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/src/ui/screens/HelpSupportScreen.js +0 -140
- package/src/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/src/ui/screens/HistoryViewScreen.js +0 -225
- package/src/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/src/ui/screens/LanguageSelectorScreen.js +0 -178
- package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/src/ui/screens/LearnMoreUsernamesScreen.js +0 -150
- package/src/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/src/ui/screens/LegalDocumentsScreen.js +0 -185
- package/src/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/src/ui/screens/OxyAuthScreen.js +0 -431
- package/src/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/src/ui/screens/PaymentGatewayScreen.js +0 -171
- package/src/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/src/ui/screens/PremiumSubscriptionScreen.js +0 -1080
- package/src/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/src/ui/screens/PrivacySettingsScreen.js +0 -252
- package/src/ui/screens/ProfileScreen.d.ts +0 -8
- package/src/ui/screens/ProfileScreen.js +0 -254
- package/src/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/src/ui/screens/SavesCollectionsScreen.js +0 -150
- package/src/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/src/ui/screens/SearchSettingsScreen.js +0 -109
- package/src/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/src/ui/screens/SessionManagementScreen.js +0 -320
- package/src/ui/screens/UserLinksScreen.d.ts +0 -14
- package/src/ui/screens/UserLinksScreen.js +0 -57
- package/src/ui/screens/UserListScreen.d.ts +0 -10
- package/src/ui/screens/UserListScreen.js +0 -249
- package/src/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/src/ui/screens/WelcomeNewUserScreen.js +0 -304
- package/src/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaAboutScreen.js +0 -39
- package/src/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaCenterScreen.js +0 -159
- package/src/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaFAQScreen.js +0 -143
- package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaLeaderboardScreen.js +0 -56
- package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.js +0 -460
- package/src/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRulesScreen.js +0 -47
- package/src/ui/server.d.ts +0 -40
- package/src/ui/server.js +0 -57
- package/src/ui/stores/accountStore.d.ts +0 -26
- package/src/ui/stores/accountStore.js +0 -196
- package/src/ui/stores/assetStore.d.ts +0 -53
- package/src/ui/stores/assetStore.js +0 -192
- package/src/ui/stores/authStore.d.ts +0 -16
- package/src/ui/stores/authStore.js +0 -47
- package/src/ui/stores/fileStore.d.ts +0 -30
- package/src/ui/stores/fileStore.js +0 -113
- package/src/ui/stores/followStore.d.ts +0 -24
- package/src/ui/stores/followStore.js +0 -154
- package/src/ui/styles/authStyles.d.ts +0 -331
- package/src/ui/styles/authStyles.js +0 -332
- package/src/ui/styles/fonts.d.ts +0 -20
- package/src/ui/styles/fonts.js +0 -72
- package/src/ui/styles/index.d.ts +0 -4
- package/src/ui/styles/index.js +0 -20
- package/src/ui/styles/spacing.d.ts +0 -48
- package/src/ui/styles/spacing.js +0 -63
- package/src/ui/styles/theme.d.ts +0 -67
- package/src/ui/styles/theme.js +0 -114
- package/src/ui/types/fileManagement.d.ts +0 -40
- package/src/ui/types/fileManagement.js +0 -2
- package/src/ui/types/navigation.d.ts +0 -36
- package/src/ui/types/navigation.js +0 -2
- package/src/ui/utils/avatarUtils.d.ts +0 -22
- package/src/ui/utils/avatarUtils.js +0 -52
- package/src/ui/utils/colorUtils.d.ts +0 -9
- package/src/ui/utils/colorUtils.js +0 -19
- package/src/ui/utils/confirmAction.d.ts +0 -6
- package/src/ui/utils/confirmAction.js +0 -22
- package/src/ui/utils/errorHandlers.d.ts +0 -34
- package/src/ui/utils/errorHandlers.js +0 -128
- package/src/ui/utils/fileManagement.d.ts +0 -86
- package/src/ui/utils/fileManagement.js +0 -238
- package/src/ui/utils/iconNames.d.ts +0 -111
- package/src/ui/utils/iconNames.js +0 -124
- package/src/ui/utils/sessionHelpers.d.ts +0 -64
- package/src/ui/utils/sessionHelpers.js +0 -90
- package/src/ui/utils/storageHelpers.d.ts +0 -27
- package/src/ui/utils/storageHelpers.js +0 -114
- package/src/ui/utils/themeUtils.d.ts +0 -10
- package/src/ui/utils/themeUtils.js +0 -17
- package/src/ui/utils/userUtils.d.ts +0 -28
- package/src/ui/utils/userUtils.js +0 -54
- package/src/utils/hookUtils.d.ts +0 -101
- package/src/utils/hookUtils.js +0 -373
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _fonts = require("../styles/fonts.js");
|
|
10
|
+
var _sonner = require("../../lib/sonner");
|
|
11
|
+
var _confirmAction = require("../utils/confirmAction.js");
|
|
12
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
13
|
+
var _useI18n = require("../hooks/useI18n.js");
|
|
14
|
+
var _useThemeStyles = require("../hooks/useThemeStyles.js");
|
|
15
|
+
var _themeUtils = require("../utils/themeUtils.js");
|
|
16
|
+
var _useColorScheme = require("../hooks/useColorScheme.js");
|
|
17
|
+
var _OxyContext = require("../context/OxyContext.js");
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
19
|
const PremiumSubscriptionScreen = ({
|
|
19
20
|
onClose,
|
|
20
21
|
theme,
|
|
@@ -25,22 +26,23 @@ const PremiumSubscriptionScreen = ({
|
|
|
25
26
|
const {
|
|
26
27
|
user,
|
|
27
28
|
oxyServices
|
|
28
|
-
} = (0,
|
|
29
|
-
const [loading, setLoading] = (0,
|
|
30
|
-
const [subscription, setSubscription] = (0,
|
|
31
|
-
const [plans, setPlans] = (0,
|
|
32
|
-
const [individualFeatures, setIndividualFeatures] = (0,
|
|
33
|
-
const [selectedPlan, setSelectedPlan] = (0,
|
|
34
|
-
const [processingPayment, setProcessingPayment] = (0,
|
|
35
|
-
const [billingInterval, setBillingInterval] = (0,
|
|
36
|
-
const [activeTab, setActiveTab] = (0,
|
|
37
|
-
const [currentAppPackage, setCurrentAppPackage] = (0,
|
|
29
|
+
} = (0, _OxyContext.useOxy)();
|
|
30
|
+
const [loading, setLoading] = (0, _react.useState)(true);
|
|
31
|
+
const [subscription, setSubscription] = (0, _react.useState)(null);
|
|
32
|
+
const [plans, setPlans] = (0, _react.useState)([]);
|
|
33
|
+
const [individualFeatures, setIndividualFeatures] = (0, _react.useState)([]);
|
|
34
|
+
const [selectedPlan, setSelectedPlan] = (0, _react.useState)(null);
|
|
35
|
+
const [processingPayment, setProcessingPayment] = (0, _react.useState)(false);
|
|
36
|
+
const [billingInterval, setBillingInterval] = (0, _react.useState)('month');
|
|
37
|
+
const [activeTab, setActiveTab] = (0, _react.useState)('plans');
|
|
38
|
+
const [currentAppPackage, setCurrentAppPackage] = (0, _react.useState)('mention'); // Default to mention for demo
|
|
39
|
+
|
|
38
40
|
const {
|
|
39
41
|
t
|
|
40
|
-
} = (0,
|
|
41
|
-
const colorScheme = (0,
|
|
42
|
-
const normalizedTheme = (0,
|
|
43
|
-
const themeStyles = (0,
|
|
42
|
+
} = (0, _useI18n.useI18n)();
|
|
43
|
+
const colorScheme = (0, _useColorScheme.useColorScheme)();
|
|
44
|
+
const normalizedTheme = (0, _themeUtils.normalizeTheme)(theme);
|
|
45
|
+
const themeStyles = (0, _useThemeStyles.useThemeStyles)(normalizedTheme, colorScheme);
|
|
44
46
|
// Extract commonly used colors for readability
|
|
45
47
|
const {
|
|
46
48
|
textColor,
|
|
@@ -53,6 +55,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
53
55
|
isDarkTheme
|
|
54
56
|
} = themeStyles;
|
|
55
57
|
const warningColor = '#FF9500';
|
|
58
|
+
|
|
56
59
|
// TODO: Replace mock data with actual API integration
|
|
57
60
|
// Should fetch plans from oxyServices.getSubscriptionPlans() and individual features from oxyServices.getIndividualFeatures()
|
|
58
61
|
// Oxy+ subscription plans
|
|
@@ -114,6 +117,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
114
117
|
features: ['Everything in Oxy+ Premium', 'Advanced analytics and insights', 'Promotional tools and resources', 'Content monetization features', 'Creator support program', 'Revenue sharing opportunities'],
|
|
115
118
|
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management', 'creator-tools', 'monetization-features']
|
|
116
119
|
}];
|
|
120
|
+
|
|
117
121
|
// Individual feature subscriptions
|
|
118
122
|
const mockIndividualFeatures = [{
|
|
119
123
|
id: 'analytics-basic',
|
|
@@ -214,10 +218,10 @@ const PremiumSubscriptionScreen = ({
|
|
|
214
218
|
canBePurchasedSeparately: true,
|
|
215
219
|
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
216
220
|
}];
|
|
217
|
-
(0,
|
|
221
|
+
(0, _react.useEffect)(() => {
|
|
218
222
|
detectCurrentApp();
|
|
219
223
|
}, []);
|
|
220
|
-
(0,
|
|
224
|
+
(0, _react.useEffect)(() => {
|
|
221
225
|
if (currentAppPackage) {
|
|
222
226
|
loadSubscriptionData();
|
|
223
227
|
}
|
|
@@ -225,33 +229,43 @@ const PremiumSubscriptionScreen = ({
|
|
|
225
229
|
const detectCurrentApp = () => {
|
|
226
230
|
// In a real implementation, this would detect the actual app package name
|
|
227
231
|
// For now, we'll use a mock detection based on available methods
|
|
232
|
+
|
|
228
233
|
// Real app detection methods you could use:
|
|
229
234
|
// 1. Check bundle identifier in React Native:
|
|
230
235
|
// import DeviceInfo from 'react-native-device-info';
|
|
231
236
|
// const bundleId = DeviceInfo.getBundleId();
|
|
232
237
|
// Example: com.oxy.mention -> 'mention'
|
|
238
|
+
|
|
233
239
|
// 2. Environment variables or build configuration
|
|
234
240
|
// const appPackage = __DEV__ ? process.env.APP_PACKAGE : 'mention';
|
|
241
|
+
|
|
235
242
|
// 3. Check specific app capabilities or modules
|
|
236
243
|
// if (typeof MentionModule !== 'undefined') return 'mention';
|
|
237
244
|
// if (typeof OxyWorkspaceModule !== 'undefined') return 'oxy-workspace';
|
|
245
|
+
|
|
238
246
|
// 4. Use build-time configuration with Metro or similar
|
|
239
247
|
// const appPackage = require('../config/app.json').packageName;
|
|
248
|
+
|
|
240
249
|
// For demo purposes, we'll simulate different apps
|
|
241
250
|
// You would replace this with actual app detection logic
|
|
251
|
+
|
|
242
252
|
// IMPORTANT: This ensures subscription restrictions work properly:
|
|
243
253
|
// - Mention+ plan can only be subscribed to when app package == 'mention'
|
|
244
254
|
// - Other app-specific plans follow the same pattern
|
|
245
255
|
// - Ecosystem plans work across all apps
|
|
256
|
+
|
|
246
257
|
const detectedApp = 'mention'; // This would be dynamic in real implementation
|
|
258
|
+
|
|
247
259
|
setCurrentAppPackage(detectedApp);
|
|
248
260
|
};
|
|
249
261
|
const loadSubscriptionData = async () => {
|
|
250
262
|
try {
|
|
251
263
|
setLoading(true);
|
|
264
|
+
|
|
252
265
|
// Filter plans available for current app
|
|
253
266
|
const availablePlans = mockPlans.filter(plan => plan.applicableApps.includes(currentAppPackage));
|
|
254
267
|
setPlans(availablePlans);
|
|
268
|
+
|
|
255
269
|
// Mock current subscription
|
|
256
270
|
let currentSubscription = null;
|
|
257
271
|
if (user?.isPremium) {
|
|
@@ -265,6 +279,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
265
279
|
};
|
|
266
280
|
setSubscription(currentSubscription);
|
|
267
281
|
}
|
|
282
|
+
|
|
268
283
|
// Filter features available for current app and update based on current subscription
|
|
269
284
|
const availableFeatures = mockIndividualFeatures.filter(feature => feature.applicableApps.includes(currentAppPackage));
|
|
270
285
|
const updatedFeatures = availableFeatures.map(feature => {
|
|
@@ -280,7 +295,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
280
295
|
if (__DEV__) {
|
|
281
296
|
console.error('Failed to load subscription data:', error);
|
|
282
297
|
}
|
|
283
|
-
|
|
298
|
+
_sonner.toast.error('Failed to load subscription information');
|
|
284
299
|
} finally {
|
|
285
300
|
setLoading(false);
|
|
286
301
|
}
|
|
@@ -293,20 +308,23 @@ const PremiumSubscriptionScreen = ({
|
|
|
293
308
|
// Check if plan is available for current app
|
|
294
309
|
const selectedPlan = mockPlans.find(plan => plan.id === planId);
|
|
295
310
|
if (!selectedPlan?.applicableApps.includes(currentAppPackage)) {
|
|
296
|
-
|
|
311
|
+
_sonner.toast.error(t('premium.toasts.planUnavailable', {
|
|
297
312
|
app: currentAppPackage
|
|
298
313
|
}) || `This plan is not available for the current app (${currentAppPackage})`);
|
|
299
314
|
return;
|
|
300
315
|
}
|
|
316
|
+
|
|
301
317
|
// Special restriction for Mention+ plan - only available in mention app
|
|
302
318
|
if (planId === 'mention-plus' && currentAppPackage !== 'mention') {
|
|
303
|
-
|
|
319
|
+
_sonner.toast.error(t('premium.toasts.mentionOnly') || 'Mention+ is only available in the Mention app');
|
|
304
320
|
return;
|
|
305
321
|
}
|
|
306
322
|
setProcessingPayment(true);
|
|
323
|
+
|
|
307
324
|
// Mock payment processing
|
|
308
325
|
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
309
|
-
|
|
326
|
+
_sonner.toast.success(t('premium.toasts.activated') || 'Subscription activated successfully!');
|
|
327
|
+
|
|
310
328
|
// Mock subscription update
|
|
311
329
|
setSubscription({
|
|
312
330
|
id: `sub_${Date.now()}`,
|
|
@@ -316,28 +334,29 @@ const PremiumSubscriptionScreen = ({
|
|
|
316
334
|
currentPeriodEnd: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000).toISOString(),
|
|
317
335
|
cancelAtPeriodEnd: false
|
|
318
336
|
});
|
|
337
|
+
|
|
319
338
|
// Reload data to update feature states
|
|
320
339
|
loadSubscriptionData();
|
|
321
340
|
} catch (error) {
|
|
322
341
|
if (__DEV__) {
|
|
323
342
|
console.error('Payment failed:', error);
|
|
324
343
|
}
|
|
325
|
-
|
|
344
|
+
_sonner.toast.error(t('premium.toasts.paymentFailed') || 'Payment failed. Please try again.');
|
|
326
345
|
} finally {
|
|
327
346
|
setProcessingPayment(false);
|
|
328
347
|
}
|
|
329
348
|
};
|
|
330
349
|
const handleCancelSubscription = () => {
|
|
331
|
-
(0,
|
|
350
|
+
(0, _confirmAction.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
351
|
try {
|
|
333
352
|
// Mock cancellation
|
|
334
353
|
setSubscription(prev => prev ? {
|
|
335
354
|
...prev,
|
|
336
355
|
cancelAtPeriodEnd: true
|
|
337
356
|
} : null);
|
|
338
|
-
|
|
357
|
+
_sonner.toast.success(t('premium.toasts.willCancel') || 'Subscription will be canceled at the end of the billing period');
|
|
339
358
|
} catch (error) {
|
|
340
|
-
|
|
359
|
+
_sonner.toast.error(t('premium.toasts.cancelFailed') || 'Failed to cancel subscription');
|
|
341
360
|
}
|
|
342
361
|
});
|
|
343
362
|
};
|
|
@@ -347,9 +366,9 @@ const PremiumSubscriptionScreen = ({
|
|
|
347
366
|
...prev,
|
|
348
367
|
cancelAtPeriodEnd: false
|
|
349
368
|
} : null);
|
|
350
|
-
|
|
369
|
+
_sonner.toast.success(t('premium.toasts.reactivated') || 'Subscription reactivated successfully');
|
|
351
370
|
} catch (error) {
|
|
352
|
-
|
|
371
|
+
_sonner.toast.error(t('premium.toasts.reactivateFailed') || 'Failed to reactivate subscription');
|
|
353
372
|
}
|
|
354
373
|
};
|
|
355
374
|
const formatPrice = (price, currency, interval) => {
|
|
@@ -370,20 +389,22 @@ const PremiumSubscriptionScreen = ({
|
|
|
370
389
|
// Check if feature is available for current app
|
|
371
390
|
const selectedFeature = mockIndividualFeatures.find(feature => feature.id === featureId);
|
|
372
391
|
if (!selectedFeature?.applicableApps.includes(currentAppPackage)) {
|
|
373
|
-
|
|
392
|
+
_sonner.toast.error(`This feature is not available for the current app (${currentAppPackage})`);
|
|
374
393
|
return;
|
|
375
394
|
}
|
|
395
|
+
|
|
376
396
|
// Special restrictions for app-specific features
|
|
377
397
|
if (selectedFeature.appScope === 'specific') {
|
|
378
398
|
// For features that are only available in specific apps, enforce strict matching
|
|
379
399
|
const hasExactMatch = selectedFeature.applicableApps.length === 1 && selectedFeature.applicableApps[0] === currentAppPackage;
|
|
380
400
|
if (!hasExactMatch && selectedFeature.applicableApps.length === 1) {
|
|
381
401
|
const requiredApp = selectedFeature.applicableApps[0];
|
|
382
|
-
|
|
402
|
+
_sonner.toast.error(`${selectedFeature.name} is only available in the ${requiredApp} app`);
|
|
383
403
|
return;
|
|
384
404
|
}
|
|
385
405
|
}
|
|
386
406
|
setProcessingPayment(true);
|
|
407
|
+
|
|
387
408
|
// Mock feature subscription
|
|
388
409
|
await new Promise(resolve => setTimeout(resolve, 1500));
|
|
389
410
|
setIndividualFeatures(prev => prev.map(feature => feature.id === featureId ? {
|
|
@@ -391,21 +412,21 @@ const PremiumSubscriptionScreen = ({
|
|
|
391
412
|
isSubscribed: true
|
|
392
413
|
} : feature));
|
|
393
414
|
const feature = individualFeatures.find(f => f.id === featureId);
|
|
394
|
-
|
|
415
|
+
_sonner.toast.success(t('premium.toasts.featureSubscribed', {
|
|
395
416
|
name: feature?.name ?? ''
|
|
396
417
|
}) ?? `Subscribed to ${feature?.name} successfully!`);
|
|
397
418
|
} catch (error) {
|
|
398
419
|
if (__DEV__) {
|
|
399
420
|
console.error('Feature subscription failed:', error);
|
|
400
421
|
}
|
|
401
|
-
|
|
422
|
+
_sonner.toast.error(t('premium.toasts.featureSubscribeFailed') || 'Feature subscription failed. Please try again.');
|
|
402
423
|
} finally {
|
|
403
424
|
setProcessingPayment(false);
|
|
404
425
|
}
|
|
405
426
|
};
|
|
406
427
|
const handleFeatureUnsubscribe = async featureId => {
|
|
407
428
|
const feature = individualFeatures.find(f => f.id === featureId);
|
|
408
|
-
(0,
|
|
429
|
+
(0, _confirmAction.confirmAction)(t('premium.confirms.unsubscribeFeature', {
|
|
409
430
|
name: feature?.name ?? ''
|
|
410
431
|
}) ?? `Are you sure you want to unsubscribe from ${feature?.name}?`, async () => {
|
|
411
432
|
try {
|
|
@@ -413,11 +434,11 @@ const PremiumSubscriptionScreen = ({
|
|
|
413
434
|
...f,
|
|
414
435
|
isSubscribed: false
|
|
415
436
|
} : f));
|
|
416
|
-
|
|
437
|
+
_sonner.toast.success(t('premium.toasts.featureUnsubscribed', {
|
|
417
438
|
name: feature?.name ?? ''
|
|
418
439
|
}) ?? `Unsubscribed from ${feature?.name}`);
|
|
419
440
|
} catch (error) {
|
|
420
|
-
|
|
441
|
+
_sonner.toast.error(t('premium.toasts.featureUnsubscribeFailed') || 'Failed to unsubscribe from feature');
|
|
421
442
|
}
|
|
422
443
|
});
|
|
423
444
|
};
|
|
@@ -433,26 +454,26 @@ const PremiumSubscriptionScreen = ({
|
|
|
433
454
|
};
|
|
434
455
|
return appNames[packageName] || packageName;
|
|
435
456
|
};
|
|
436
|
-
return (0,
|
|
457
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
437
458
|
style: [styles.header, {
|
|
438
459
|
borderBottomColor: borderColor
|
|
439
460
|
}],
|
|
440
|
-
children: [(0,
|
|
461
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
441
462
|
style: styles.backButton,
|
|
442
463
|
onPress: goBack,
|
|
443
|
-
children: (0,
|
|
464
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
444
465
|
name: "arrow-back",
|
|
445
466
|
size: 24,
|
|
446
467
|
color: textColor
|
|
447
468
|
})
|
|
448
|
-
}), (0,
|
|
469
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
449
470
|
style: styles.headerTitleContainer,
|
|
450
|
-
children: [(0,
|
|
471
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
451
472
|
style: [styles.headerTitle, {
|
|
452
473
|
color: textColor
|
|
453
474
|
}],
|
|
454
475
|
children: t('premium.title') || 'Oxy+ Subscriptions'
|
|
455
|
-
}), (0,
|
|
476
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
456
477
|
style: [styles.currentAppText, {
|
|
457
478
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
458
479
|
}],
|
|
@@ -460,10 +481,10 @@ const PremiumSubscriptionScreen = ({
|
|
|
460
481
|
app: getAppDisplayName(currentAppPackage)
|
|
461
482
|
}) || `for ${getAppDisplayName(currentAppPackage)}`
|
|
462
483
|
})]
|
|
463
|
-
}), onClose && (0,
|
|
484
|
+
}), onClose && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
464
485
|
style: styles.closeButton,
|
|
465
486
|
onPress: onClose,
|
|
466
|
-
children: (0,
|
|
487
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
467
488
|
name: "close",
|
|
468
489
|
size: 24,
|
|
469
490
|
color: textColor
|
|
@@ -476,55 +497,55 @@ const PremiumSubscriptionScreen = ({
|
|
|
476
497
|
const currentPlan = getCurrentPlan();
|
|
477
498
|
if (!currentPlan) return null;
|
|
478
499
|
const statusColor = subscription.status === 'active' ? successColor : subscription.status === 'trialing' ? warningColor : dangerColor;
|
|
479
|
-
return (0,
|
|
500
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
480
501
|
style: styles.section,
|
|
481
|
-
children: [(0,
|
|
502
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
482
503
|
style: [styles.sectionTitle, {
|
|
483
504
|
color: textColor
|
|
484
505
|
}],
|
|
485
506
|
children: t('premium.current.title') || 'Current Subscription'
|
|
486
|
-
}), (0,
|
|
507
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
487
508
|
style: [styles.currentSubscriptionCard, {
|
|
488
509
|
backgroundColor: secondaryBackgroundColor,
|
|
489
510
|
borderColor
|
|
490
511
|
}],
|
|
491
|
-
children: [(0,
|
|
512
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
492
513
|
style: styles.subscriptionHeader,
|
|
493
|
-
children: [(0,
|
|
494
|
-
children: [(0,
|
|
514
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
515
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
495
516
|
style: [styles.planName, {
|
|
496
517
|
color: textColor
|
|
497
518
|
}],
|
|
498
519
|
children: currentPlan.name
|
|
499
|
-
}), (0,
|
|
520
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
500
521
|
style: [styles.planPrice, {
|
|
501
522
|
color: primaryColor
|
|
502
523
|
}],
|
|
503
524
|
children: ["$", currentPlan.price, "/month"]
|
|
504
525
|
})]
|
|
505
|
-
}), (0,
|
|
526
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
506
527
|
style: [styles.statusBadge, {
|
|
507
528
|
backgroundColor: statusColor
|
|
508
529
|
}],
|
|
509
|
-
children: (0,
|
|
530
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
510
531
|
style: styles.statusText,
|
|
511
532
|
children: subscription.status.toUpperCase()
|
|
512
533
|
})
|
|
513
534
|
})]
|
|
514
|
-
}), (0,
|
|
535
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
515
536
|
style: [styles.subscriptionDetail, {
|
|
516
537
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
517
538
|
}],
|
|
518
539
|
children: t('premium.current.renewsOn', {
|
|
519
540
|
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
520
541
|
}) || `Renews on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
521
|
-
}), subscription.cancelAtPeriodEnd && (0,
|
|
542
|
+
}), subscription.cancelAtPeriodEnd && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
522
543
|
style: styles.cancelNotice,
|
|
523
|
-
children: [(0,
|
|
544
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
524
545
|
name: "warning",
|
|
525
546
|
size: 16,
|
|
526
547
|
color: warningColor
|
|
527
|
-
}), (0,
|
|
548
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
528
549
|
style: [styles.cancelText, {
|
|
529
550
|
color: warningColor
|
|
530
551
|
}],
|
|
@@ -532,31 +553,31 @@ const PremiumSubscriptionScreen = ({
|
|
|
532
553
|
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
533
554
|
}) || `Subscription will cancel on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
534
555
|
})]
|
|
535
|
-
}), (0,
|
|
556
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
536
557
|
style: styles.subscriptionActions,
|
|
537
|
-
children: [subscription.cancelAtPeriodEnd ? (0,
|
|
558
|
+
children: [subscription.cancelAtPeriodEnd ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
538
559
|
style: [styles.actionButton, {
|
|
539
560
|
backgroundColor: successColor
|
|
540
561
|
}],
|
|
541
562
|
onPress: handleReactivateSubscription,
|
|
542
|
-
children: (0,
|
|
563
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
543
564
|
style: styles.actionButtonText,
|
|
544
565
|
children: t('premium.actions.reactivate') || 'Reactivate'
|
|
545
566
|
})
|
|
546
|
-
}) : (0,
|
|
567
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
547
568
|
style: [styles.actionButton, {
|
|
548
569
|
backgroundColor: dangerColor
|
|
549
570
|
}],
|
|
550
571
|
onPress: handleCancelSubscription,
|
|
551
|
-
children: (0,
|
|
572
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
552
573
|
style: styles.actionButtonText,
|
|
553
574
|
children: t('premium.actions.cancelSubBtn') || 'Cancel Subscription'
|
|
554
575
|
})
|
|
555
|
-
}), (0,
|
|
576
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
556
577
|
style: [styles.actionButton, styles.secondaryButton, {
|
|
557
578
|
borderColor
|
|
558
579
|
}],
|
|
559
|
-
children: (0,
|
|
580
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
560
581
|
style: [styles.actionButtonText, {
|
|
561
582
|
color: textColor
|
|
562
583
|
}],
|
|
@@ -567,34 +588,34 @@ const PremiumSubscriptionScreen = ({
|
|
|
567
588
|
})]
|
|
568
589
|
});
|
|
569
590
|
};
|
|
570
|
-
const renderBillingToggle = () => (0,
|
|
591
|
+
const renderBillingToggle = () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
571
592
|
style: styles.section,
|
|
572
|
-
children: [(0,
|
|
593
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
573
594
|
style: styles.billingToggle,
|
|
574
|
-
children: [(0,
|
|
595
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
575
596
|
style: [styles.billingOption, billingInterval === 'month' && {
|
|
576
597
|
backgroundColor: primaryColor
|
|
577
598
|
}],
|
|
578
599
|
onPress: () => setBillingInterval('month'),
|
|
579
|
-
children: (0,
|
|
600
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
580
601
|
style: [styles.billingOptionText, {
|
|
581
602
|
color: billingInterval === 'month' ? '#FFFFFF' : textColor
|
|
582
603
|
}],
|
|
583
604
|
children: t('premium.billing.monthly') || 'Monthly'
|
|
584
605
|
})
|
|
585
|
-
}), (0,
|
|
606
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
586
607
|
style: [styles.billingOption, billingInterval === 'year' && {
|
|
587
608
|
backgroundColor: primaryColor
|
|
588
609
|
}],
|
|
589
610
|
onPress: () => setBillingInterval('year'),
|
|
590
|
-
children: (0,
|
|
611
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
591
612
|
style: [styles.billingOptionText, {
|
|
592
613
|
color: billingInterval === 'year' ? '#FFFFFF' : textColor
|
|
593
614
|
}],
|
|
594
615
|
children: t('premium.billing.yearly') || 'Yearly'
|
|
595
616
|
})
|
|
596
617
|
})]
|
|
597
|
-
}), billingInterval === 'year' && (0,
|
|
618
|
+
}), billingInterval === 'year' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
598
619
|
style: [styles.savingsText, {
|
|
599
620
|
color: successColor
|
|
600
621
|
}],
|
|
@@ -637,7 +658,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
637
658
|
};
|
|
638
659
|
};
|
|
639
660
|
const availability = getAvailabilityStatus();
|
|
640
|
-
return (0,
|
|
661
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
641
662
|
style: [styles.planCard, {
|
|
642
663
|
backgroundColor: secondaryBackgroundColor,
|
|
643
664
|
borderColor
|
|
@@ -647,53 +668,53 @@ const PremiumSubscriptionScreen = ({
|
|
|
647
668
|
}, plan.isPopular && styles.popularPlan, !availability.available && {
|
|
648
669
|
opacity: 0.6
|
|
649
670
|
}],
|
|
650
|
-
children: [plan.isPopular && (0,
|
|
671
|
+
children: [plan.isPopular && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
651
672
|
style: [styles.popularBadge, {
|
|
652
673
|
backgroundColor: primaryColor
|
|
653
674
|
}],
|
|
654
|
-
children: (0,
|
|
675
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
655
676
|
style: styles.popularText,
|
|
656
677
|
children: "MOST POPULAR"
|
|
657
678
|
})
|
|
658
|
-
}), isAppSpecific && (0,
|
|
679
|
+
}), isAppSpecific && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
659
680
|
style: [styles.appSpecificBadge, {
|
|
660
681
|
backgroundColor: isAvailableForCurrentApp ? successColor : warningColor
|
|
661
682
|
}],
|
|
662
|
-
children: (0,
|
|
683
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
663
684
|
style: styles.appSpecificText,
|
|
664
685
|
children: isAvailableForCurrentApp ? t('premium.plan.badge.appExclusive') || 'App Exclusive' : t('premium.plan.badge.notAvailable') || 'Not Available'
|
|
665
686
|
})
|
|
666
|
-
}), (0,
|
|
687
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
667
688
|
style: styles.planHeader,
|
|
668
|
-
children: [(0,
|
|
689
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
669
690
|
style: [styles.planName, {
|
|
670
691
|
color: textColor
|
|
671
692
|
}],
|
|
672
693
|
children: plan.name
|
|
673
|
-
}), (0,
|
|
694
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
674
695
|
style: [styles.planDescription, {
|
|
675
696
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
676
697
|
}],
|
|
677
698
|
children: plan.description
|
|
678
|
-
}), (0,
|
|
699
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
679
700
|
style: [styles.planAppScope, {
|
|
680
701
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
681
702
|
}],
|
|
682
703
|
children: getAppScopeText()
|
|
683
|
-
}), !availability.available && (0,
|
|
704
|
+
}), !availability.available && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
684
705
|
style: [styles.planRestrictionText, {
|
|
685
706
|
color: dangerColor
|
|
686
707
|
}],
|
|
687
708
|
children: availability.reason
|
|
688
709
|
})]
|
|
689
|
-
}), (0,
|
|
710
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
690
711
|
style: styles.planPricing,
|
|
691
|
-
children: [(0,
|
|
712
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
692
713
|
style: [styles.planPrice, {
|
|
693
714
|
color: textColor
|
|
694
715
|
}],
|
|
695
716
|
children: pricing.formatted
|
|
696
|
-
}), (0,
|
|
717
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
697
718
|
style: [styles.planInterval, {
|
|
698
719
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
699
720
|
}],
|
|
@@ -701,49 +722,49 @@ const PremiumSubscriptionScreen = ({
|
|
|
701
722
|
interval: pricing.interval
|
|
702
723
|
}) || `per ${pricing.interval}`
|
|
703
724
|
})]
|
|
704
|
-
}), (0,
|
|
725
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
705
726
|
style: styles.planFeatures,
|
|
706
|
-
children: plan.features.map((feature, index) => (0,
|
|
727
|
+
children: plan.features.map((feature, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
707
728
|
style: styles.featureItem,
|
|
708
|
-
children: [(0,
|
|
729
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
709
730
|
name: "checkmark",
|
|
710
731
|
size: 16,
|
|
711
732
|
color: successColor
|
|
712
|
-
}), (0,
|
|
733
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
713
734
|
style: [styles.featureText, {
|
|
714
735
|
color: textColor
|
|
715
736
|
}],
|
|
716
737
|
children: feature
|
|
717
738
|
})]
|
|
718
739
|
}, index))
|
|
719
|
-
}), isCurrentPlan ? (0,
|
|
740
|
+
}), isCurrentPlan ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
720
741
|
style: [styles.currentPlanButton, {
|
|
721
742
|
backgroundColor: successColor
|
|
722
743
|
}],
|
|
723
|
-
children: (0,
|
|
744
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
724
745
|
style: styles.currentPlanText,
|
|
725
746
|
children: t('premium.plan.current') || 'Current Plan'
|
|
726
747
|
})
|
|
727
|
-
}) : !availability.available ? (0,
|
|
748
|
+
}) : !availability.available ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
728
749
|
style: [styles.unavailablePlanButton, {
|
|
729
750
|
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
730
751
|
}],
|
|
731
|
-
children: (0,
|
|
752
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
732
753
|
style: [styles.unavailablePlanText, {
|
|
733
754
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
734
755
|
}],
|
|
735
756
|
children: t('premium.plan.notAvailableInApp') || 'Not Available in Current App'
|
|
736
757
|
})
|
|
737
|
-
}) : (0,
|
|
758
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
738
759
|
style: [styles.selectPlanButton, {
|
|
739
760
|
backgroundColor: plan.isPopular ? primaryColor : borderColor
|
|
740
761
|
}],
|
|
741
762
|
onPress: () => handleSubscribe(plan.id),
|
|
742
763
|
disabled: processingPayment,
|
|
743
|
-
children: processingPayment ? (0,
|
|
764
|
+
children: processingPayment ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
744
765
|
color: "#FFFFFF",
|
|
745
766
|
size: "small"
|
|
746
|
-
}) : (0,
|
|
767
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
747
768
|
style: [styles.selectPlanText, {
|
|
748
769
|
color: plan.isPopular ? '#FFFFFF' : textColor
|
|
749
770
|
}],
|
|
@@ -754,31 +775,31 @@ const PremiumSubscriptionScreen = ({
|
|
|
754
775
|
})]
|
|
755
776
|
}, plan.id);
|
|
756
777
|
};
|
|
757
|
-
const renderTabNavigation = () => (0,
|
|
778
|
+
const renderTabNavigation = () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
758
779
|
style: styles.section,
|
|
759
|
-
children: (0,
|
|
780
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
760
781
|
style: [styles.tabContainer, {
|
|
761
782
|
borderBottomColor: borderColor
|
|
762
783
|
}],
|
|
763
|
-
children: [(0,
|
|
784
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
764
785
|
style: [styles.tab, activeTab === 'plans' && {
|
|
765
786
|
borderBottomColor: primaryColor,
|
|
766
787
|
borderBottomWidth: 2
|
|
767
788
|
}],
|
|
768
789
|
onPress: () => setActiveTab('plans'),
|
|
769
|
-
children: (0,
|
|
790
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
770
791
|
style: [styles.tabText, {
|
|
771
792
|
color: activeTab === 'plans' ? primaryColor : textColor
|
|
772
793
|
}],
|
|
773
794
|
children: t('premium.tabs.plans') || 'Full Plans'
|
|
774
795
|
})
|
|
775
|
-
}), (0,
|
|
796
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
776
797
|
style: [styles.tab, activeTab === 'features' && {
|
|
777
798
|
borderBottomColor: primaryColor,
|
|
778
799
|
borderBottomWidth: 2
|
|
779
800
|
}],
|
|
780
801
|
onPress: () => setActiveTab('features'),
|
|
781
|
-
children: (0,
|
|
802
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
782
803
|
style: [styles.tabText, {
|
|
783
804
|
color: activeTab === 'features' ? primaryColor : textColor
|
|
784
805
|
}],
|
|
@@ -832,7 +853,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
832
853
|
apps: feature.applicableApps.join(', ')
|
|
833
854
|
}) || `Available in: ${feature.applicableApps.join(', ')}`;
|
|
834
855
|
};
|
|
835
|
-
return (0,
|
|
856
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
836
857
|
style: [styles.featureCard, {
|
|
837
858
|
backgroundColor: secondaryBackgroundColor,
|
|
838
859
|
borderColor
|
|
@@ -843,53 +864,53 @@ const PremiumSubscriptionScreen = ({
|
|
|
843
864
|
borderColor: primaryColor,
|
|
844
865
|
borderWidth: 2
|
|
845
866
|
}],
|
|
846
|
-
children: [(0,
|
|
867
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
847
868
|
style: styles.featureHeader,
|
|
848
|
-
children: [(0,
|
|
869
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
849
870
|
style: styles.featureIconContainer,
|
|
850
|
-
children: (0,
|
|
871
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
851
872
|
name: getCategoryIcon(feature.category),
|
|
852
873
|
size: 24,
|
|
853
874
|
color: getCategoryColor(feature.category)
|
|
854
875
|
})
|
|
855
|
-
}), (0,
|
|
876
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
856
877
|
style: styles.featureInfo,
|
|
857
|
-
children: [(0,
|
|
878
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
858
879
|
style: styles.featureNameRow,
|
|
859
|
-
children: [(0,
|
|
880
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
860
881
|
style: [styles.featureName, {
|
|
861
882
|
color: textColor
|
|
862
883
|
}],
|
|
863
884
|
children: feature.name
|
|
864
|
-
}), isIncludedInCurrentPlan && (0,
|
|
885
|
+
}), isIncludedInCurrentPlan && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
865
886
|
style: [styles.includedBadge, {
|
|
866
887
|
backgroundColor: primaryColor
|
|
867
888
|
}],
|
|
868
|
-
children: (0,
|
|
889
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
869
890
|
style: styles.includedBadgeText,
|
|
870
891
|
children: "Included"
|
|
871
892
|
})
|
|
872
893
|
})]
|
|
873
|
-
}), (0,
|
|
894
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
874
895
|
style: [styles.featureDescription, {
|
|
875
896
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
876
897
|
}],
|
|
877
898
|
children: feature.description
|
|
878
|
-
}), (0,
|
|
899
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
879
900
|
style: [styles.appScopeText, {
|
|
880
901
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
881
902
|
}],
|
|
882
903
|
children: getAppScopeText()
|
|
883
904
|
})]
|
|
884
905
|
})]
|
|
885
|
-
}), !isIncludedInCurrentPlan && (0,
|
|
906
|
+
}), !isIncludedInCurrentPlan && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
886
907
|
style: styles.featurePricing,
|
|
887
|
-
children: [(0,
|
|
908
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
888
909
|
style: [styles.featurePrice, {
|
|
889
910
|
color: textColor
|
|
890
911
|
}],
|
|
891
912
|
children: pricing.formatted
|
|
892
|
-
}), (0,
|
|
913
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
893
914
|
style: [styles.featureInterval, {
|
|
894
915
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
895
916
|
}],
|
|
@@ -897,62 +918,62 @@ const PremiumSubscriptionScreen = ({
|
|
|
897
918
|
interval: pricing.interval
|
|
898
919
|
}) || `per ${pricing.interval}`
|
|
899
920
|
})]
|
|
900
|
-
}), isIncludedInCurrentPlan ? (0,
|
|
921
|
+
}), isIncludedInCurrentPlan ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
901
922
|
style: [styles.includedInPlanButton, {
|
|
902
923
|
backgroundColor: primaryColor
|
|
903
924
|
}],
|
|
904
|
-
children: [(0,
|
|
925
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
905
926
|
name: "checkmark-circle",
|
|
906
927
|
size: 16,
|
|
907
928
|
color: "#FFFFFF"
|
|
908
|
-
}), (0,
|
|
929
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
909
930
|
style: styles.includedInPlanText,
|
|
910
931
|
children: t('premium.feature.includedInPlan') || 'Included in your plan'
|
|
911
932
|
})]
|
|
912
|
-
}) : isSubscribed ? (0,
|
|
933
|
+
}) : isSubscribed ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
913
934
|
style: styles.featureActions,
|
|
914
|
-
children: [(0,
|
|
935
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
915
936
|
style: [styles.subscribedButton, {
|
|
916
937
|
backgroundColor: successColor
|
|
917
938
|
}],
|
|
918
|
-
children: [(0,
|
|
939
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
919
940
|
name: "checkmark",
|
|
920
941
|
size: 16,
|
|
921
942
|
color: "#FFFFFF"
|
|
922
|
-
}), (0,
|
|
943
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
923
944
|
style: styles.subscribedText,
|
|
924
945
|
children: t('premium.feature.subscribed') || 'Subscribed'
|
|
925
946
|
})]
|
|
926
|
-
}), (0,
|
|
947
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
927
948
|
style: [styles.unsubscribeButton, {
|
|
928
949
|
borderColor: dangerColor
|
|
929
950
|
}],
|
|
930
951
|
onPress: () => handleFeatureUnsubscribe(feature.id),
|
|
931
|
-
children: (0,
|
|
952
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
932
953
|
style: [styles.unsubscribeText, {
|
|
933
954
|
color: dangerColor
|
|
934
955
|
}],
|
|
935
956
|
children: t('premium.actions.unsubscribe') || 'Unsubscribe'
|
|
936
957
|
})
|
|
937
958
|
})]
|
|
938
|
-
}) : canPurchase ? (0,
|
|
959
|
+
}) : canPurchase ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
939
960
|
style: [styles.subscribeFeatureButton, {
|
|
940
961
|
backgroundColor: primaryColor
|
|
941
962
|
}],
|
|
942
963
|
onPress: () => handleFeatureSubscribe(feature.id),
|
|
943
964
|
disabled: processingPayment,
|
|
944
|
-
children: processingPayment ? (0,
|
|
965
|
+
children: processingPayment ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
945
966
|
color: "#FFFFFF",
|
|
946
967
|
size: "small"
|
|
947
|
-
}) : (0,
|
|
968
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
948
969
|
style: styles.subscribeFeatureText,
|
|
949
970
|
children: t('premium.actions.subscribe') || 'Subscribe'
|
|
950
971
|
})
|
|
951
|
-
}) : (0,
|
|
972
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
952
973
|
style: [styles.unavailableButton, {
|
|
953
974
|
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
954
975
|
}],
|
|
955
|
-
children: (0,
|
|
976
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
956
977
|
style: [styles.unavailableText, {
|
|
957
978
|
color: isDarkTheme ? '#888888' : '#999999'
|
|
958
979
|
}],
|
|
@@ -963,14 +984,14 @@ const PremiumSubscriptionScreen = ({
|
|
|
963
984
|
};
|
|
964
985
|
const renderIndividualFeatures = () => {
|
|
965
986
|
const categories = ['analytics', 'customization', 'content', 'networking', 'productivity'];
|
|
966
|
-
return (0,
|
|
987
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
967
988
|
style: styles.section,
|
|
968
|
-
children: [(0,
|
|
989
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
969
990
|
style: [styles.sectionTitle, {
|
|
970
991
|
color: textColor
|
|
971
992
|
}],
|
|
972
993
|
children: "Individual Features"
|
|
973
|
-
}), (0,
|
|
994
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
974
995
|
style: [styles.sectionSubtitle, {
|
|
975
996
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
976
997
|
}],
|
|
@@ -978,9 +999,9 @@ const PremiumSubscriptionScreen = ({
|
|
|
978
999
|
}), categories.map(category => {
|
|
979
1000
|
const categoryFeatures = individualFeatures.filter(f => f.category === category);
|
|
980
1001
|
if (categoryFeatures.length === 0) return null;
|
|
981
|
-
return (0,
|
|
1002
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
982
1003
|
style: styles.categorySection,
|
|
983
|
-
children: [(0,
|
|
1004
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
984
1005
|
style: [styles.categoryTitle, {
|
|
985
1006
|
color: textColor
|
|
986
1007
|
}],
|
|
@@ -990,27 +1011,29 @@ const PremiumSubscriptionScreen = ({
|
|
|
990
1011
|
})]
|
|
991
1012
|
});
|
|
992
1013
|
};
|
|
1014
|
+
|
|
993
1015
|
// Add this for testing different app contexts (remove in production)
|
|
994
|
-
const [showAppSwitcher, setShowAppSwitcher] = (0,
|
|
1016
|
+
const [showAppSwitcher, setShowAppSwitcher] = (0, _react.useState)(__DEV__); // Only show in development
|
|
1017
|
+
|
|
995
1018
|
const renderAppSwitcher = () => {
|
|
996
1019
|
if (!showAppSwitcher) return null;
|
|
997
1020
|
const testApps = ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'];
|
|
998
|
-
return (0,
|
|
1021
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
999
1022
|
style: [styles.appSwitcher, {
|
|
1000
1023
|
backgroundColor: isDarkTheme ? '#333333' : '#F0F0F0',
|
|
1001
1024
|
borderColor
|
|
1002
1025
|
}],
|
|
1003
|
-
children: [(0,
|
|
1026
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1004
1027
|
style: [styles.appSwitcherTitle, {
|
|
1005
1028
|
color: textColor
|
|
1006
1029
|
}],
|
|
1007
1030
|
children: "\uD83E\uDDEA Test App Context (Dev Only)"
|
|
1008
|
-
}), (0,
|
|
1031
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
1009
1032
|
horizontal: true,
|
|
1010
1033
|
showsHorizontalScrollIndicator: false,
|
|
1011
|
-
children: (0,
|
|
1034
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1012
1035
|
style: styles.appSwitcherButtons,
|
|
1013
|
-
children: testApps.map(app => (0,
|
|
1036
|
+
children: testApps.map(app => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1014
1037
|
style: [styles.appSwitcherButton, {
|
|
1015
1038
|
backgroundColor: currentAppPackage === app ? primaryColor : 'transparent',
|
|
1016
1039
|
borderColor: primaryColor
|
|
@@ -1018,7 +1041,7 @@ const PremiumSubscriptionScreen = ({
|
|
|
1018
1041
|
onPress: () => {
|
|
1019
1042
|
setCurrentAppPackage(app);
|
|
1020
1043
|
},
|
|
1021
|
-
children: (0,
|
|
1044
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1022
1045
|
style: [styles.appSwitcherButtonText, {
|
|
1023
1046
|
color: currentAppPackage === app ? '#FFFFFF' : textColor
|
|
1024
1047
|
}],
|
|
@@ -1030,15 +1053,15 @@ const PremiumSubscriptionScreen = ({
|
|
|
1030
1053
|
});
|
|
1031
1054
|
};
|
|
1032
1055
|
if (loading) {
|
|
1033
|
-
return (0,
|
|
1056
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1034
1057
|
style: [styles.container, {
|
|
1035
1058
|
backgroundColor,
|
|
1036
1059
|
justifyContent: 'center'
|
|
1037
1060
|
}],
|
|
1038
|
-
children: [(0,
|
|
1061
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1039
1062
|
size: "large",
|
|
1040
1063
|
color: primaryColor
|
|
1041
|
-
}), (0,
|
|
1064
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1042
1065
|
style: [styles.loadingText, {
|
|
1043
1066
|
color: textColor
|
|
1044
1067
|
}],
|
|
@@ -1046,100 +1069,100 @@ const PremiumSubscriptionScreen = ({
|
|
|
1046
1069
|
})]
|
|
1047
1070
|
});
|
|
1048
1071
|
}
|
|
1049
|
-
return (0,
|
|
1072
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1050
1073
|
style: [styles.container, {
|
|
1051
1074
|
backgroundColor
|
|
1052
1075
|
}],
|
|
1053
|
-
children: [renderHeader(), renderAppSwitcher(), (0,
|
|
1076
|
+
children: [renderHeader(), renderAppSwitcher(), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
1054
1077
|
style: styles.content,
|
|
1055
1078
|
showsVerticalScrollIndicator: false,
|
|
1056
|
-
children: [subscription && renderCurrentSubscription(), !subscription && (0,
|
|
1079
|
+
children: [subscription && renderCurrentSubscription(), !subscription && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1057
1080
|
style: styles.section,
|
|
1058
|
-
children: [(0,
|
|
1081
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1059
1082
|
style: [styles.sectionTitle, {
|
|
1060
1083
|
color: textColor
|
|
1061
1084
|
}],
|
|
1062
1085
|
children: t('premium.choosePlan') || 'Choose Your Plan'
|
|
1063
|
-
}), (0,
|
|
1086
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1064
1087
|
style: [styles.sectionSubtitle, {
|
|
1065
1088
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1066
1089
|
}],
|
|
1067
1090
|
children: t('premium.choosePlanSubtitle') || 'Unlock premium features and take your experience to the next level'
|
|
1068
1091
|
})]
|
|
1069
|
-
}), !subscription && renderTabNavigation(), !subscription && activeTab === 'plans' && renderBillingToggle(), activeTab === 'plans' ? (0,
|
|
1092
|
+
}), !subscription && renderTabNavigation(), !subscription && activeTab === 'plans' && renderBillingToggle(), activeTab === 'plans' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1070
1093
|
style: styles.section,
|
|
1071
|
-
children: [!subscription && (0,
|
|
1094
|
+
children: [!subscription && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1072
1095
|
style: [styles.sectionTitle, {
|
|
1073
1096
|
color: textColor
|
|
1074
1097
|
}],
|
|
1075
1098
|
children: t('premium.availablePlans') || 'Available Plans'
|
|
1076
1099
|
}), plans.map(renderPlanCard)]
|
|
1077
|
-
}) : renderIndividualFeatures(), (0,
|
|
1100
|
+
}) : renderIndividualFeatures(), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1078
1101
|
style: styles.section,
|
|
1079
|
-
children: [(0,
|
|
1102
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1080
1103
|
style: [styles.sectionTitle, {
|
|
1081
1104
|
color: textColor
|
|
1082
1105
|
}],
|
|
1083
1106
|
children: t('premium.why') || 'Why Go Premium?'
|
|
1084
|
-
}), (0,
|
|
1107
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1085
1108
|
style: [styles.benefitsCard, {
|
|
1086
1109
|
backgroundColor: secondaryBackgroundColor,
|
|
1087
1110
|
borderColor
|
|
1088
1111
|
}],
|
|
1089
|
-
children: [(0,
|
|
1112
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1090
1113
|
style: styles.benefitItem,
|
|
1091
|
-
children: [(0,
|
|
1114
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1092
1115
|
name: "flash",
|
|
1093
1116
|
size: 24,
|
|
1094
1117
|
color: primaryColor
|
|
1095
|
-
}), (0,
|
|
1118
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1096
1119
|
style: styles.benefitContent,
|
|
1097
|
-
children: [(0,
|
|
1120
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1098
1121
|
style: [styles.benefitTitle, {
|
|
1099
1122
|
color: textColor
|
|
1100
1123
|
}],
|
|
1101
1124
|
children: t('premium.benefits.performance.title') || 'Enhanced Performance'
|
|
1102
|
-
}), (0,
|
|
1125
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1103
1126
|
style: [styles.benefitDescription, {
|
|
1104
1127
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1105
1128
|
}],
|
|
1106
1129
|
children: t('premium.benefits.performance.desc') || 'Faster processing and priority access to our servers'
|
|
1107
1130
|
})]
|
|
1108
1131
|
})]
|
|
1109
|
-
}), (0,
|
|
1132
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1110
1133
|
style: styles.benefitItem,
|
|
1111
|
-
children: [(0,
|
|
1134
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1112
1135
|
name: "shield-checkmark",
|
|
1113
1136
|
size: 24,
|
|
1114
1137
|
color: successColor
|
|
1115
|
-
}), (0,
|
|
1138
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1116
1139
|
style: styles.benefitContent,
|
|
1117
|
-
children: [(0,
|
|
1140
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1118
1141
|
style: [styles.benefitTitle, {
|
|
1119
1142
|
color: textColor
|
|
1120
1143
|
}],
|
|
1121
1144
|
children: t('premium.benefits.security.title') || 'Advanced Security'
|
|
1122
|
-
}), (0,
|
|
1145
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1123
1146
|
style: [styles.benefitDescription, {
|
|
1124
1147
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1125
1148
|
}],
|
|
1126
1149
|
children: t('premium.benefits.security.desc') || 'Enhanced encryption and security features'
|
|
1127
1150
|
})]
|
|
1128
1151
|
})]
|
|
1129
|
-
}), (0,
|
|
1152
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1130
1153
|
style: styles.benefitItem,
|
|
1131
|
-
children: [(0,
|
|
1154
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1132
1155
|
name: "headset",
|
|
1133
1156
|
size: 24,
|
|
1134
1157
|
color: warningColor
|
|
1135
|
-
}), (0,
|
|
1158
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1136
1159
|
style: styles.benefitContent,
|
|
1137
|
-
children: [(0,
|
|
1160
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1138
1161
|
style: [styles.benefitTitle, {
|
|
1139
1162
|
color: textColor
|
|
1140
1163
|
}],
|
|
1141
1164
|
children: t('premium.benefits.support.title') || 'Priority Support'
|
|
1142
|
-
}), (0,
|
|
1165
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1143
1166
|
style: [styles.benefitDescription, {
|
|
1144
1167
|
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1145
1168
|
}],
|
|
@@ -1148,13 +1171,13 @@ const PremiumSubscriptionScreen = ({
|
|
|
1148
1171
|
})]
|
|
1149
1172
|
})]
|
|
1150
1173
|
})]
|
|
1151
|
-
}), (0,
|
|
1174
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1152
1175
|
style: styles.bottomSpacing
|
|
1153
1176
|
})]
|
|
1154
1177
|
})]
|
|
1155
1178
|
});
|
|
1156
1179
|
};
|
|
1157
|
-
const styles =
|
|
1180
|
+
const styles = _reactNative.StyleSheet.create({
|
|
1158
1181
|
container: {
|
|
1159
1182
|
flex: 1
|
|
1160
1183
|
},
|
|
@@ -1173,7 +1196,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1173
1196
|
headerTitle: {
|
|
1174
1197
|
fontSize: 20,
|
|
1175
1198
|
fontWeight: '600',
|
|
1176
|
-
fontFamily:
|
|
1199
|
+
fontFamily: _fonts.fontFamilies.interSemiBold
|
|
1177
1200
|
},
|
|
1178
1201
|
headerTitleContainer: {
|
|
1179
1202
|
flex: 1,
|
|
@@ -1196,7 +1219,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1196
1219
|
sectionTitle: {
|
|
1197
1220
|
fontSize: 24,
|
|
1198
1221
|
fontWeight: 'bold',
|
|
1199
|
-
fontFamily:
|
|
1222
|
+
fontFamily: _fonts.fontFamilies.interBold,
|
|
1200
1223
|
marginBottom: 8
|
|
1201
1224
|
},
|
|
1202
1225
|
sectionSubtitle: {
|
|
@@ -1618,64 +1641,5 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
1618
1641
|
fontWeight: '500'
|
|
1619
1642
|
}
|
|
1620
1643
|
});
|
|
1621
|
-
exports.default = PremiumSubscriptionScreen;
|
|
1622
|
-
//# sourceMappingURL=PremiumSubscriptionScreen.js.map/ App-specific plan styles
|
|
1623
|
-
appSpecificBadge: {
|
|
1624
|
-
position: 'absolute',
|
|
1625
|
-
top: 16,
|
|
1626
|
-
right: 16,
|
|
1627
|
-
paddingHorizontal: 8,
|
|
1628
|
-
paddingVertical: 4,
|
|
1629
|
-
borderRadius: 12,
|
|
1630
|
-
zIndex: 1
|
|
1631
|
-
},
|
|
1632
|
-
appSpecificText: {
|
|
1633
|
-
color: '#FFFFFF',
|
|
1634
|
-
fontSize: 12,
|
|
1635
|
-
fontWeight: '600'
|
|
1636
|
-
},
|
|
1637
|
-
planRestrictionText: {
|
|
1638
|
-
fontSize: 12,
|
|
1639
|
-
fontWeight: '500',
|
|
1640
|
-
marginTop: 4,
|
|
1641
|
-
fontStyle: 'italic'
|
|
1642
|
-
},
|
|
1643
|
-
unavailablePlanButton: {
|
|
1644
|
-
paddingVertical: 16,
|
|
1645
|
-
borderRadius: 12,
|
|
1646
|
-
alignItems: 'center'
|
|
1647
|
-
},
|
|
1648
|
-
unavailablePlanText: {
|
|
1649
|
-
fontSize: 16,
|
|
1650
|
-
fontWeight: '600'
|
|
1651
|
-
},
|
|
1652
|
-
// App switcher styles (for development/testing)
|
|
1653
|
-
appSwitcher: {
|
|
1654
|
-
padding: 16,
|
|
1655
|
-
borderBottomWidth: 1,
|
|
1656
|
-
margin: 16,
|
|
1657
|
-
borderRadius: 12,
|
|
1658
|
-
borderWidth: 1
|
|
1659
|
-
},
|
|
1660
|
-
appSwitcherTitle: {
|
|
1661
|
-
fontSize: 14,
|
|
1662
|
-
fontWeight: '600',
|
|
1663
|
-
marginBottom: 12
|
|
1664
|
-
},
|
|
1665
|
-
appSwitcherButtons: {
|
|
1666
|
-
flexDirection: 'row',
|
|
1667
|
-
gap: 8
|
|
1668
|
-
},
|
|
1669
|
-
appSwitcherButton: {
|
|
1670
|
-
paddingHorizontal: 12,
|
|
1671
|
-
paddingVertical: 6,
|
|
1672
|
-
borderRadius: 8,
|
|
1673
|
-
borderWidth: 1
|
|
1674
|
-
},
|
|
1675
|
-
appSwitcherButtonText: {
|
|
1676
|
-
fontSize: 12,
|
|
1677
|
-
fontWeight: '500'
|
|
1678
|
-
}
|
|
1679
|
-
});
|
|
1680
1644
|
var _default = exports.default = PremiumSubscriptionScreen;
|
|
1681
1645
|
//# sourceMappingURL=PremiumSubscriptionScreen.js.map
|