@oxyhq/services 5.16.23 → 5.16.24
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/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +41 -0
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/icons/OxyServices.js +51 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/illustrations/HighFive.js +59 -0
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/commonjs/constants/version.js +28 -0
- package/lib/commonjs/constants/version.js.map +1 -0
- package/lib/commonjs/core/HttpService.js +507 -0
- package/lib/commonjs/core/HttpService.js.map +1 -0
- package/lib/commonjs/core/OxyServices.base.js +283 -0
- package/lib/commonjs/core/OxyServices.base.js.map +1 -0
- package/lib/commonjs/core/OxyServices.errors.js +26 -0
- package/lib/commonjs/core/OxyServices.errors.js.map +1 -0
- package/lib/commonjs/core/OxyServices.js +146 -0
- package/lib/commonjs/core/OxyServices.js.map +1 -0
- package/lib/commonjs/core/index.js +126 -0
- package/lib/commonjs/core/index.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.analytics.js +60 -0
- package/lib/commonjs/core/mixins/OxyServices.analytics.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.assets.js +375 -0
- package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.auth.js +271 -0
- package/lib/commonjs/core/mixins/OxyServices.auth.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.developer.js +115 -0
- package/lib/commonjs/core/mixins/OxyServices.developer.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.devices.js +133 -0
- package/lib/commonjs/core/mixins/OxyServices.devices.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.karma.js +117 -0
- package/lib/commonjs/core/mixins/OxyServices.karma.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.language.js +124 -0
- package/lib/commonjs/core/mixins/OxyServices.language.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.location.js +55 -0
- package/lib/commonjs/core/mixins/OxyServices.location.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.payment.js +168 -0
- package/lib/commonjs/core/mixins/OxyServices.payment.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.privacy.js +174 -0
- package/lib/commonjs/core/mixins/OxyServices.privacy.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.security.js +96 -0
- package/lib/commonjs/core/mixins/OxyServices.security.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.user.js +393 -0
- package/lib/commonjs/core/mixins/OxyServices.user.js.map +1 -0
- package/lib/commonjs/core/mixins/OxyServices.utility.js +165 -0
- package/lib/commonjs/core/mixins/OxyServices.utility.js.map +1 -0
- package/lib/commonjs/core/mixins/index.js +39 -0
- package/lib/commonjs/core/mixins/index.js.map +1 -0
- package/lib/commonjs/core/mixins/mixinHelpers.js +62 -0
- package/lib/commonjs/core/mixins/mixinHelpers.js.map +1 -0
- package/lib/commonjs/core/services/SessionService.js +163 -0
- package/lib/commonjs/core/services/SessionService.js.map +1 -0
- package/lib/commonjs/core/services/TokenService.js +206 -0
- package/lib/commonjs/core/services/TokenService.js.map +1 -0
- package/lib/commonjs/crypto/index.js +27 -0
- package/lib/commonjs/crypto/index.js.map +1 -0
- package/lib/commonjs/crypto/keyManager.js +511 -0
- package/lib/commonjs/crypto/keyManager.js.map +1 -0
- package/lib/commonjs/crypto/polyfill.js +86 -0
- package/lib/commonjs/crypto/polyfill.js.map +1 -0
- package/lib/commonjs/crypto/signatureService.js +289 -0
- package/lib/commonjs/crypto/signatureService.js.map +1 -0
- package/lib/commonjs/crypto/types.js +2 -0
- package/lib/commonjs/crypto/types.js.map +1 -0
- package/lib/commonjs/i18n/index.js +76 -0
- package/lib/commonjs/i18n/index.js.map +1 -0
- package/lib/commonjs/i18n/locales/ar-SA.json +120 -0
- package/lib/commonjs/i18n/locales/ca-ES.json +120 -0
- package/lib/commonjs/i18n/locales/de-DE.json +120 -0
- package/lib/commonjs/i18n/locales/en-US.json +956 -0
- package/lib/commonjs/i18n/locales/es-ES.json +723 -0
- package/lib/commonjs/i18n/locales/fr-FR.json +120 -0
- package/lib/commonjs/i18n/locales/it-IT.json +120 -0
- package/lib/commonjs/i18n/locales/ja-JP.json +119 -0
- package/lib/commonjs/i18n/locales/ko-KR.json +120 -0
- package/lib/commonjs/i18n/locales/pt-PT.json +120 -0
- package/lib/commonjs/i18n/locales/zh-CN.json +120 -0
- package/lib/commonjs/index.js +601 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/lib/sonner-safe.js +32 -0
- package/lib/commonjs/lib/sonner-safe.js.map +1 -0
- package/lib/commonjs/lib/sonner.js +23 -0
- package/lib/commonjs/lib/sonner.js.map +1 -0
- package/lib/commonjs/models/interfaces.js +76 -0
- package/lib/commonjs/models/interfaces.js.map +1 -0
- package/lib/commonjs/models/session.js +2 -0
- package/lib/commonjs/models/session.js.map +1 -0
- package/lib/commonjs/node/index.js +59 -0
- package/lib/commonjs/node/index.js.map +1 -0
- package/lib/commonjs/ui/components/ActivityIndicator.js +203 -0
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -0
- package/lib/commonjs/ui/components/AnimationExample.js +213 -0
- package/lib/commonjs/ui/components/AnimationExample.js.map +1 -0
- package/lib/commonjs/ui/components/AutoHeightScrollView.js +46 -0
- package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +1 -0
- package/lib/commonjs/ui/components/Avatar.js +172 -0
- package/lib/commonjs/ui/components/Avatar.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheet.js +407 -0
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js +366 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js +106 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -0
- package/lib/commonjs/ui/components/EmptyState.js +41 -0
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -0
- package/lib/commonjs/ui/components/ErrorBoundary.js +145 -0
- package/lib/commonjs/ui/components/ErrorBoundary.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +230 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/FontLoader.js +162 -0
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -0
- package/lib/commonjs/ui/components/GroupedItem.js +140 -0
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
- package/lib/commonjs/ui/components/GroupedSection.js +42 -0
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
- package/lib/commonjs/ui/components/Header.js +434 -0
- package/lib/commonjs/ui/components/Header.js.map +1 -0
- package/lib/commonjs/ui/components/HelperText.js +103 -0
- package/lib/commonjs/ui/components/HelperText.js.map +1 -0
- package/lib/commonjs/ui/components/Icon.js +109 -0
- package/lib/commonjs/ui/components/Icon.js.map +1 -0
- package/lib/commonjs/ui/components/IconButton/IconButton.js +159 -0
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/commonjs/ui/components/IconButton/utils.js +155 -0
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -0
- package/lib/commonjs/ui/components/LoadingState.js +47 -0
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -0
- package/lib/commonjs/ui/components/OxyLogo.js +54 -0
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +117 -0
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +144 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +180 -0
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileCard.js +138 -0
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
- package/lib/commonjs/ui/components/QuickActions.js +88 -0
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
- package/lib/commonjs/ui/components/Section.js +39 -0
- package/lib/commonjs/ui/components/Section.js.map +1 -0
- package/lib/commonjs/ui/components/SectionTitle.js +35 -0
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
- package/lib/commonjs/ui/components/SettingRow.js +77 -0
- package/lib/commonjs/ui/components/SettingRow.js.map +1 -0
- package/lib/commonjs/ui/components/StepBasedScreen.js +397 -0
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/commonjs/ui/components/Surface.js +258 -0
- package/lib/commonjs/ui/components/Surface.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js +46 -0
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +53 -0
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +155 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +144 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +137 -0
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +22 -0
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/types.js +6 -0
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +62 -0
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +176 -0
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +84 -0
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +379 -0
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +363 -0
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/constants.js +50 -0
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/helpers.js +490 -0
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/types.js +6 -0
- package/lib/commonjs/ui/components/TextField/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField.js +339 -0
- package/lib/commonjs/ui/components/TextField.js.map +1 -0
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +12 -0
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -0
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +258 -0
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -0
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +107 -0
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -0
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +56 -0
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -0
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +62 -0
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/commonjs/ui/components/Typography/types.js +26 -0
- package/lib/commonjs/ui/components/Typography/types.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +171 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +409 -0
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +181 -0
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/styles.js +868 -0
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js +25 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/index.js +21 -0
- package/lib/commonjs/ui/components/icon/index.js.map +1 -0
- package/lib/commonjs/ui/components/index.js +132 -0
- package/lib/commonjs/ui/components/index.js.map +1 -0
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +209 -0
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/commonjs/ui/components/internal/PinInput.js +115 -0
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +161 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditBioModal.js +181 -0
- package/lib/commonjs/ui/components/profile/EditBioModal.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +204 -0
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditEmailModal.js +184 -0
- package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditLinksModal.js +315 -0
- package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditLocationModal.js +273 -0
- package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +1 -0
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js +180 -0
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +1 -0
- package/lib/commonjs/ui/components/styles/overlay.js +85 -0
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
- package/lib/commonjs/ui/components/styles/shadow.js +132 -0
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
- package/lib/commonjs/ui/components/theming.js +116 -0
- package/lib/commonjs/ui/components/theming.js.map +1 -0
- package/lib/commonjs/ui/components/types.js +2 -0
- package/lib/commonjs/ui/components/types.js.map +1 -0
- package/lib/commonjs/ui/components/utils/forwardRef.js +18 -0
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/commonjs/ui/constants/iconColors.js +84 -0
- package/lib/commonjs/ui/constants/iconColors.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js +50 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -0
- package/lib/commonjs/ui/constants/theme.js +123 -0
- package/lib/commonjs/ui/constants/theme.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +850 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/ThemeContext.js +36 -0
- package/lib/commonjs/ui/context/ThemeContext.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +621 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +73 -0
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +112 -0
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js +281 -0
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +1 -0
- package/lib/commonjs/ui/context/hooks/useStorage.js +79 -0
- package/lib/commonjs/ui/context/hooks/useStorage.js.map +1 -0
- package/lib/commonjs/ui/hooks/index.js +46 -0
- package/lib/commonjs/ui/hooks/index.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/index.js +68 -0
- package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +551 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +193 -0
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/index.js +118 -0
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +96 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +219 -0
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +58 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +186 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +117 -0
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/use-color-scheme.js +29 -0
- package/lib/commonjs/ui/hooks/use-color-scheme.js.map +1 -0
- package/lib/commonjs/ui/hooks/use-haptic-press.js +21 -0
- package/lib/commonjs/ui/hooks/use-haptic-press.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAssets.js +245 -0
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +103 -0
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.js +167 -0
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js +2 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +22 -0
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +112 -0
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js +107 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js +281 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionSocket.js +474 -0
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -0
- package/lib/commonjs/ui/hooks/useStorage.js +79 -0
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
- package/lib/commonjs/ui/hooks/useThemeColors.js +31 -0
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -0
- package/lib/commonjs/ui/hooks/useThemeStyles.js +69 -0
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -0
- package/lib/commonjs/ui/index.js +101 -0
- package/lib/commonjs/ui/index.js.map +1 -0
- package/lib/commonjs/ui/isFrontend.js +10 -0
- package/lib/commonjs/ui/isFrontend.js.map +1 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +180 -0
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +88 -0
- package/lib/commonjs/ui/navigation/routes.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +329 -0
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +752 -0
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +2163 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +703 -0
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +210 -0
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +414 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +1191 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +2333 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +134 -0
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +218 -0
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +218 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +184 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +537 -0
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +1587 -0
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1647 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +472 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +647 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +167 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +166 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +445 -0
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +86 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +434 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +98 -0
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +343 -0
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +194 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +151 -0
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +609 -0
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +109 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/stores/accountStore.js +252 -0
- package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +225 -0
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
- package/lib/commonjs/ui/stores/authStore.js +85 -0
- package/lib/commonjs/ui/stores/authStore.js.map +1 -0
- package/lib/commonjs/ui/stores/fileStore.js +153 -0
- package/lib/commonjs/ui/stores/fileStore.js.map +1 -0
- package/lib/commonjs/ui/stores/followStore.js +229 -0
- package/lib/commonjs/ui/stores/followStore.js.map +1 -0
- package/lib/commonjs/ui/styles/authStyles.js +338 -0
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -0
- package/lib/commonjs/ui/styles/fonts.js +84 -0
- package/lib/commonjs/ui/styles/fonts.js.map +1 -0
- package/lib/commonjs/ui/styles/index.js +50 -0
- package/lib/commonjs/ui/styles/index.js.map +1 -0
- package/lib/commonjs/ui/styles/spacing.js +109 -0
- package/lib/commonjs/ui/styles/spacing.js.map +1 -0
- package/lib/commonjs/ui/styles/theme.js +121 -0
- package/lib/commonjs/ui/styles/theme.js.map +1 -0
- package/lib/commonjs/ui/types/fileManagement.js +6 -0
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/types/navigation.js +6 -0
- package/lib/commonjs/ui/types/navigation.js.map +1 -0
- package/lib/commonjs/ui/utils/avatarUtils.js +131 -0
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/colorUtils.js +52 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/confirmAction.js +28 -0
- package/lib/commonjs/ui/utils/confirmAction.js.map +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
- package/lib/commonjs/ui/utils/fileManagement.js +260 -0
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js +101 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
- package/lib/commonjs/ui/utils/themeUtils.js +47 -0
- package/lib/commonjs/ui/utils/themeUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/user-utils.js +53 -0
- package/lib/commonjs/ui/utils/user-utils.js.map +1 -0
- package/lib/commonjs/utils/apiUtils.js +79 -0
- package/lib/commonjs/utils/apiUtils.js.map +1 -0
- package/lib/commonjs/utils/asyncUtils.js +207 -0
- package/lib/commonjs/utils/asyncUtils.js.map +1 -0
- package/lib/commonjs/utils/cache.js +259 -0
- package/lib/commonjs/utils/cache.js.map +1 -0
- package/lib/commonjs/utils/deviceManager.js +177 -0
- package/lib/commonjs/utils/deviceManager.js.map +1 -0
- package/lib/commonjs/utils/errorUtils.js +181 -0
- package/lib/commonjs/utils/errorUtils.js.map +1 -0
- package/lib/commonjs/utils/hookUtils.js +399 -0
- package/lib/commonjs/utils/hookUtils.js.map +1 -0
- package/lib/commonjs/utils/index.js +106 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/languageUtils.js +159 -0
- package/lib/commonjs/utils/languageUtils.js.map +1 -0
- package/lib/commonjs/utils/loggerUtils.js +160 -0
- package/lib/commonjs/utils/loggerUtils.js.map +1 -0
- package/lib/commonjs/utils/requestUtils.js +217 -0
- package/lib/commonjs/utils/requestUtils.js.map +1 -0
- package/lib/commonjs/utils/sessionUtils.js +191 -0
- package/lib/commonjs/utils/sessionUtils.js.map +1 -0
- package/lib/commonjs/utils/validationUtils.js +191 -0
- package/lib/commonjs/utils/validationUtils.js.map +1 -0
- package/lib/module/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/assets/illustrations/HighFive.tsx +41 -0
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/module/assets/icons/OxyServices.js +45 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/illustrations/HighFive.js +54 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
- package/lib/module/constants/version.js +21 -0
- package/lib/module/constants/version.js.map +1 -0
- package/lib/module/core/HttpService.js +502 -0
- package/lib/module/core/HttpService.js.map +1 -0
- package/lib/module/core/OxyServices.base.js +278 -0
- package/lib/module/core/OxyServices.base.js.map +1 -0
- package/lib/module/core/OxyServices.errors.js +20 -0
- package/lib/module/core/OxyServices.errors.js.map +1 -0
- package/lib/module/core/OxyServices.js +131 -0
- package/lib/module/core/OxyServices.js.map +1 -0
- package/lib/module/core/index.js +27 -0
- package/lib/module/core/index.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.analytics.js +56 -0
- package/lib/module/core/mixins/OxyServices.analytics.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.assets.js +371 -0
- package/lib/module/core/mixins/OxyServices.assets.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.auth.js +267 -0
- package/lib/module/core/mixins/OxyServices.auth.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.developer.js +111 -0
- package/lib/module/core/mixins/OxyServices.developer.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.devices.js +129 -0
- package/lib/module/core/mixins/OxyServices.devices.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.karma.js +113 -0
- package/lib/module/core/mixins/OxyServices.karma.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.language.js +120 -0
- package/lib/module/core/mixins/OxyServices.language.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.location.js +51 -0
- package/lib/module/core/mixins/OxyServices.location.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.payment.js +164 -0
- package/lib/module/core/mixins/OxyServices.payment.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.privacy.js +170 -0
- package/lib/module/core/mixins/OxyServices.privacy.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.security.js +92 -0
- package/lib/module/core/mixins/OxyServices.security.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.user.js +389 -0
- package/lib/module/core/mixins/OxyServices.user.js.map +1 -0
- package/lib/module/core/mixins/OxyServices.utility.js +160 -0
- package/lib/module/core/mixins/OxyServices.utility.js.map +1 -0
- package/lib/module/core/mixins/index.js +36 -0
- package/lib/module/core/mixins/index.js.map +1 -0
- package/lib/module/core/mixins/mixinHelpers.js +56 -0
- package/lib/module/core/mixins/mixinHelpers.js.map +1 -0
- package/lib/module/core/services/SessionService.js +159 -0
- package/lib/module/core/services/SessionService.js.map +1 -0
- package/lib/module/core/services/TokenService.js +203 -0
- package/lib/module/core/services/TokenService.js.map +1 -0
- package/lib/module/crypto/index.js +16 -0
- package/lib/module/crypto/index.js.map +1 -0
- package/lib/module/crypto/keyManager.js +508 -0
- package/lib/module/crypto/keyManager.js.map +1 -0
- package/lib/module/crypto/polyfill.js +78 -0
- package/lib/module/crypto/polyfill.js.map +1 -0
- package/lib/module/crypto/signatureService.js +286 -0
- package/lib/module/crypto/signatureService.js.map +1 -0
- package/lib/module/crypto/types.js +2 -0
- package/lib/module/crypto/types.js.map +1 -0
- package/lib/module/i18n/index.js +71 -0
- package/lib/module/i18n/index.js.map +1 -0
- package/lib/module/i18n/locales/ar-SA.json +120 -0
- package/lib/module/i18n/locales/ca-ES.json +120 -0
- package/lib/module/i18n/locales/de-DE.json +120 -0
- package/lib/module/i18n/locales/en-US.json +956 -0
- package/lib/module/i18n/locales/es-ES.json +723 -0
- package/lib/module/i18n/locales/fr-FR.json +120 -0
- package/lib/module/i18n/locales/it-IT.json +120 -0
- package/lib/module/i18n/locales/ja-JP.json +119 -0
- package/lib/module/i18n/locales/ko-KR.json +120 -0
- package/lib/module/i18n/locales/pt-PT.json +120 -0
- package/lib/module/i18n/locales/zh-CN.json +120 -0
- package/lib/module/index.js +74 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/lib/sonner-safe.js +29 -0
- package/lib/module/lib/sonner-safe.js.map +1 -0
- package/lib/module/lib/sonner.js +19 -0
- package/lib/module/lib/sonner.js.map +1 -0
- package/lib/module/models/interfaces.js +72 -0
- package/lib/module/models/interfaces.js.map +1 -0
- package/lib/module/models/session.js +2 -0
- package/lib/module/models/session.js.map +1 -0
- package/lib/module/node/index.js +20 -0
- package/lib/module/node/index.js.map +1 -0
- package/lib/module/ui/components/ActivityIndicator.js +198 -0
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -0
- package/lib/module/ui/components/AnimationExample.js +209 -0
- package/lib/module/ui/components/AnimationExample.js.map +1 -0
- package/lib/module/ui/components/AutoHeightScrollView.js +41 -0
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -0
- package/lib/module/ui/components/Avatar.js +168 -0
- package/lib/module/ui/components/Avatar.js.map +1 -0
- package/lib/module/ui/components/BottomSheet.js +402 -0
- package/lib/module/ui/components/BottomSheet.js.map +1 -0
- package/lib/module/ui/components/BottomSheetRouter.js +356 -0
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -0
- package/lib/module/ui/components/CrossFadeIcon.js +101 -0
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -0
- package/lib/module/ui/components/EmptyState.js +36 -0
- package/lib/module/ui/components/EmptyState.js.map +1 -0
- package/lib/module/ui/components/ErrorBoundary.js +139 -0
- package/lib/module/ui/components/ErrorBoundary.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +226 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FontLoader.js +157 -0
- package/lib/module/ui/components/FontLoader.js.map +1 -0
- package/lib/module/ui/components/GroupedItem.js +135 -0
- package/lib/module/ui/components/GroupedItem.js.map +1 -0
- package/lib/module/ui/components/GroupedSection.js +37 -0
- package/lib/module/ui/components/GroupedSection.js.map +1 -0
- package/lib/module/ui/components/Header.js +428 -0
- package/lib/module/ui/components/Header.js.map +1 -0
- package/lib/module/ui/components/HelperText.js +99 -0
- package/lib/module/ui/components/HelperText.js.map +1 -0
- package/lib/module/ui/components/Icon.js +102 -0
- package/lib/module/ui/components/Icon.js.map +1 -0
- package/lib/module/ui/components/IconButton/IconButton.js +153 -0
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/module/ui/components/IconButton/utils.js +149 -0
- package/lib/module/ui/components/IconButton/utils.js.map +1 -0
- package/lib/module/ui/components/LoadingState.js +42 -0
- package/lib/module/ui/components/LoadingState.js.map +1 -0
- package/lib/module/ui/components/OxyLogo.js +48 -0
- package/lib/module/ui/components/OxyLogo.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +112 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +140 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +174 -0
- package/lib/module/ui/components/OxySignInButton.js.map +1 -0
- package/lib/module/ui/components/ProfileCard.js +133 -0
- package/lib/module/ui/components/ProfileCard.js.map +1 -0
- package/lib/module/ui/components/QuickActions.js +84 -0
- package/lib/module/ui/components/QuickActions.js.map +1 -0
- package/lib/module/ui/components/Section.js +34 -0
- package/lib/module/ui/components/Section.js.map +1 -0
- package/lib/module/ui/components/SectionTitle.js +31 -0
- package/lib/module/ui/components/SectionTitle.js.map +1 -0
- package/lib/module/ui/components/SettingRow.js +72 -0
- package/lib/module/ui/components/SettingRow.js.map +1 -0
- package/lib/module/ui/components/StepBasedScreen.js +392 -0
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/module/ui/components/Surface.js +252 -0
- package/lib/module/ui/components/Surface.js.map +1 -0
- package/lib/module/ui/components/TextField/Addons/Outline.js +40 -0
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +1 -0
- package/lib/module/ui/components/TextField/Addons/Underline.js +47 -0
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +148 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +141 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +135 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/enums.js +18 -0
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/types.js +4 -0
- package/lib/module/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/utils.js +57 -0
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -0
- package/lib/module/ui/components/TextField/Label/InputLabel.js +171 -0
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -0
- package/lib/module/ui/components/TextField/Label/LabelBackground.js +78 -0
- package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +1 -0
- package/lib/module/ui/components/TextField/TextFieldFlat.js +374 -0
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -0
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +357 -0
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -0
- package/lib/module/ui/components/TextField/constants.js +46 -0
- package/lib/module/ui/components/TextField/constants.js.map +1 -0
- package/lib/module/ui/components/TextField/helpers.js +472 -0
- package/lib/module/ui/components/TextField/helpers.js.map +1 -0
- package/lib/module/ui/components/TextField/types.js +4 -0
- package/lib/module/ui/components/TextField/types.js.map +1 -0
- package/lib/module/ui/components/TextField.js +333 -0
- package/lib/module/ui/components/TextField.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/Pressable.js +9 -0
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +253 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +101 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/utils.js +50 -0
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -0
- package/lib/module/ui/components/Typography/AnimatedText.js +56 -0
- package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/module/ui/components/Typography/types.js +22 -0
- package/lib/module/ui/components/Typography/types.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +165 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js +402 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +175 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/module/ui/components/fileManagement/styles.js +864 -0
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/icon/OxyIcon.js +21 -0
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/module/ui/components/icon/index.js +5 -0
- package/lib/module/ui/components/icon/index.js.map +1 -0
- package/lib/module/ui/components/index.js +22 -0
- package/lib/module/ui/components/index.js.map +1 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js +205 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/module/ui/components/internal/PinInput.js +110 -0
- package/lib/module/ui/components/internal/PinInput.js.map +1 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +156 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/module/ui/components/profile/EditBioModal.js +175 -0
- package/lib/module/ui/components/profile/EditBioModal.js.map +1 -0
- package/lib/module/ui/components/profile/EditDisplayNameModal.js +198 -0
- package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +1 -0
- package/lib/module/ui/components/profile/EditEmailModal.js +178 -0
- package/lib/module/ui/components/profile/EditEmailModal.js.map +1 -0
- package/lib/module/ui/components/profile/EditLinksModal.js +309 -0
- package/lib/module/ui/components/profile/EditLinksModal.js.map +1 -0
- package/lib/module/ui/components/profile/EditLocationModal.js +267 -0
- package/lib/module/ui/components/profile/EditLocationModal.js.map +1 -0
- package/lib/module/ui/components/profile/EditUsernameModal.js +174 -0
- package/lib/module/ui/components/profile/EditUsernameModal.js.map +1 -0
- package/lib/module/ui/components/styles/overlay.js +80 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -0
- package/lib/module/ui/components/styles/shadow.js +128 -0
- package/lib/module/ui/components/styles/shadow.js.map +1 -0
- package/lib/module/ui/components/theming.js +111 -0
- package/lib/module/ui/components/theming.js.map +1 -0
- package/lib/module/ui/components/types.js +2 -0
- package/lib/module/ui/components/types.js.map +1 -0
- package/lib/module/ui/components/utils/forwardRef.js +13 -0
- package/lib/module/ui/components/utils/forwardRef.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/module/ui/components/utils/splitStyles.js +46 -0
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
- package/lib/module/ui/constants/iconColors.js +78 -0
- package/lib/module/ui/constants/iconColors.js.map +1 -0
- package/lib/module/ui/constants/spacing.js +45 -0
- package/lib/module/ui/constants/spacing.js.map +1 -0
- package/lib/module/ui/constants/theme.js +119 -0
- package/lib/module/ui/constants/theme.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +844 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/ThemeContext.js +29 -0
- package/lib/module/ui/context/ThemeContext.js.map +1 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js +615 -0
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/module/ui/context/hooks/useDeviceManagement.js +68 -0
- package/lib/module/ui/context/hooks/useDeviceManagement.js.map +1 -0
- package/lib/module/ui/context/hooks/useLanguageManagement.js +107 -0
- package/lib/module/ui/context/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/context/hooks/useSessionManagement.js +276 -0
- package/lib/module/ui/context/hooks/useSessionManagement.js.map +1 -0
- package/lib/module/ui/context/hooks/useStorage.js +74 -0
- package/lib/module/ui/context/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/index.js +7 -0
- package/lib/module/ui/hooks/index.js.map +1 -0
- package/lib/module/ui/hooks/mutations/index.js +15 -0
- package/lib/module/ui/hooks/mutations/index.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +543 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +185 -0
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
- package/lib/module/ui/hooks/queries/index.js +21 -0
- package/lib/module/ui/hooks/queries/index.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +89 -0
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js +209 -0
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +52 -0
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +178 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +110 -0
- package/lib/module/ui/hooks/queryClient.js.map +1 -0
- package/lib/module/ui/hooks/use-color-scheme.js +26 -0
- package/lib/module/ui/hooks/use-color-scheme.js.map +1 -0
- package/lib/module/ui/hooks/use-haptic-press.js +17 -0
- package/lib/module/ui/hooks/use-haptic-press.js.map +1 -0
- package/lib/module/ui/hooks/useAssets.js +239 -0
- package/lib/module/ui/hooks/useAssets.js.map +1 -0
- package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js +97 -0
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +161 -0
- package/lib/module/ui/hooks/useFollow.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.types.js +2 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/module/ui/hooks/useI18n.js +18 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +107 -0
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +102 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +15 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +276 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
- package/lib/module/ui/hooks/useSessionSocket.js +469 -0
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +74 -0
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useThemeColors.js +27 -0
- package/lib/module/ui/hooks/useThemeColors.js.map +1 -0
- package/lib/module/ui/hooks/useThemeStyles.js +64 -0
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -0
- package/lib/module/ui/index.js +63 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/isFrontend.js +6 -0
- package/lib/module/ui/isFrontend.js.map +1 -0
- package/lib/module/ui/navigation/bottomSheetManager.js +168 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/module/ui/navigation/routes.js +82 -0
- package/lib/module/ui/navigation/routes.js.map +1 -0
- package/lib/module/ui/screens/AccountCenterScreen.js +324 -0
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountOverviewScreen.js +747 -0
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +2158 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js +698 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +205 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
- package/lib/module/ui/screens/AppInfoScreen.js +409 -0
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +1186 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +2327 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/HelpSupportScreen.js +129 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
- package/lib/module/ui/screens/HistoryViewScreen.js +213 -0
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js +213 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js +179 -0
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/module/ui/screens/OxyAuthScreen.js +533 -0
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +1583 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1643 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js +467 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +642 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js +162 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +161 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/SessionManagementScreen.js +442 -0
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/UserLinksScreen.js +82 -0
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +428 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +94 -0
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +339 -0
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +189 -0
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +146 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +605 -0
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +105 -0
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
- package/lib/module/ui/stores/accountStore.js +244 -0
- package/lib/module/ui/stores/accountStore.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +212 -0
- package/lib/module/ui/stores/assetStore.js.map +1 -0
- package/lib/module/ui/stores/authStore.js +81 -0
- package/lib/module/ui/stores/authStore.js.map +1 -0
- package/lib/module/ui/stores/fileStore.js +145 -0
- package/lib/module/ui/stores/fileStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +225 -0
- package/lib/module/ui/stores/followStore.js.map +1 -0
- package/lib/module/ui/styles/authStyles.js +333 -0
- package/lib/module/ui/styles/authStyles.js.map +1 -0
- package/lib/module/ui/styles/fonts.js +81 -0
- package/lib/module/ui/styles/fonts.js.map +1 -0
- package/lib/module/ui/styles/index.js +7 -0
- package/lib/module/ui/styles/index.js.map +1 -0
- package/lib/module/ui/styles/spacing.js +58 -0
- package/lib/module/ui/styles/spacing.js.map +1 -0
- package/lib/module/ui/styles/theme.js +114 -0
- package/lib/module/ui/styles/theme.js.map +1 -0
- package/lib/module/ui/types/fileManagement.js +4 -0
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +4 -0
- package/lib/module/ui/types/navigation.js.map +1 -0
- package/lib/module/ui/utils/avatarUtils.js +126 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +46 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/confirmAction.js +25 -0
- package/lib/module/ui/utils/confirmAction.js.map +1 -0
- package/lib/module/ui/utils/errorHandlers.js +129 -0
- package/lib/module/ui/utils/errorHandlers.js.map +1 -0
- package/lib/module/ui/utils/fileManagement.js +251 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/sessionHelpers.js +94 -0
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +111 -0
- package/lib/module/ui/utils/storageHelpers.js.map +1 -0
- package/lib/module/ui/utils/themeUtils.js +41 -0
- package/lib/module/ui/utils/themeUtils.js.map +1 -0
- package/lib/module/ui/utils/user-utils.js +46 -0
- package/lib/module/ui/utils/user-utils.js.map +1 -0
- package/lib/module/utils/apiUtils.js +72 -0
- package/lib/module/utils/apiUtils.js.map +1 -0
- package/lib/module/utils/asyncUtils.js +192 -0
- package/lib/module/utils/asyncUtils.js.map +1 -0
- package/lib/module/utils/cache.js +250 -0
- package/lib/module/utils/cache.js.map +1 -0
- package/lib/module/utils/deviceManager.js +171 -0
- package/lib/module/utils/deviceManager.js.map +1 -0
- package/lib/module/utils/errorUtils.js +167 -0
- package/lib/module/utils/errorUtils.js.map +1 -0
- package/lib/module/utils/hookUtils.js +381 -0
- package/lib/module/utils/hookUtils.js.map +1 -0
- package/lib/module/utils/index.js +11 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/languageUtils.js +151 -0
- package/lib/module/utils/languageUtils.js.map +1 -0
- package/lib/module/utils/loggerUtils.js +149 -0
- package/lib/module/utils/loggerUtils.js.map +1 -0
- package/lib/module/utils/requestUtils.js +210 -0
- package/lib/module/utils/requestUtils.js.map +1 -0
- package/lib/module/utils/sessionUtils.js +180 -0
- package/lib/module/utils/sessionUtils.js.map +1 -0
- package/lib/module/utils/validationUtils.js +170 -0
- package/lib/module/utils/validationUtils.js.map +1 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts +9 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/constants/version.d.ts +14 -0
- package/lib/typescript/constants/version.d.ts.map +1 -0
- package/lib/typescript/core/HttpService.d.ts +159 -0
- package/lib/typescript/core/HttpService.d.ts.map +1 -0
- package/lib/typescript/core/OxyServices.base.d.ts +133 -0
- package/lib/typescript/core/OxyServices.base.d.ts.map +1 -0
- package/lib/typescript/core/OxyServices.d.ts +113 -0
- package/lib/typescript/core/OxyServices.d.ts.map +1 -0
- package/lib/typescript/core/OxyServices.errors.d.ts +12 -0
- package/lib/typescript/core/OxyServices.errors.d.ts.map +1 -0
- package/lib/typescript/core/index.d.ts +17 -0
- package/lib/typescript/core/index.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +67 -0
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts +136 -0
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts +192 -0
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts +100 -0
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts +97 -0
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts +86 -0
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.language.d.ts +82 -0
- package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.location.d.ts +65 -0
- package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts +112 -0
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +123 -0
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.security.d.ts +79 -0
- package/lib/typescript/core/mixins/OxyServices.security.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.user.d.ts +183 -0
- package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +1 -0
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts +94 -0
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +1 -0
- package/lib/typescript/core/mixins/index.d.ts +853 -0
- package/lib/typescript/core/mixins/index.d.ts.map +1 -0
- package/lib/typescript/core/mixins/mixinHelpers.d.ts +32 -0
- package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +1 -0
- package/lib/typescript/core/services/SessionService.d.ts +78 -0
- package/lib/typescript/core/services/SessionService.d.ts.map +1 -0
- package/lib/typescript/core/services/TokenService.d.ts +72 -0
- package/lib/typescript/core/services/TokenService.d.ts.map +1 -0
- package/lib/typescript/crypto/index.d.ts +12 -0
- package/lib/typescript/crypto/index.d.ts.map +1 -0
- package/lib/typescript/crypto/keyManager.d.ts +97 -0
- package/lib/typescript/crypto/keyManager.d.ts.map +1 -0
- package/lib/typescript/crypto/polyfill.d.ts +13 -0
- package/lib/typescript/crypto/polyfill.d.ts.map +1 -0
- package/lib/typescript/crypto/signatureService.d.ts +87 -0
- package/lib/typescript/crypto/signatureService.d.ts.map +1 -0
- package/lib/typescript/crypto/types.d.ts +18 -0
- package/lib/typescript/crypto/types.d.ts.map +1 -0
- package/lib/typescript/i18n/index.d.ts +4 -0
- package/lib/typescript/i18n/index.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +38 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/lib/sonner-safe.d.ts +9 -0
- package/lib/typescript/lib/sonner-safe.d.ts.map +1 -0
- package/lib/typescript/lib/sonner.d.ts +15 -0
- package/lib/typescript/lib/sonner.d.ts.map +1 -0
- package/lib/typescript/models/interfaces.d.ts +428 -0
- package/lib/typescript/models/interfaces.d.ts.map +1 -0
- package/lib/typescript/models/session.d.ts +31 -0
- package/lib/typescript/models/session.d.ts.map +1 -0
- package/lib/typescript/node/index.d.ts +10 -0
- package/lib/typescript/node/index.d.ts.map +1 -0
- package/lib/typescript/types/buffer.d.ts +97 -0
- package/lib/typescript/types/color.d.ts +20 -0
- package/lib/typescript/types/elliptic.d.ts +62 -0
- package/lib/typescript/types/expo-crypto.d.ts +30 -0
- package/lib/typescript/types/expo-document-picker.d.ts +36 -0
- package/lib/typescript/types/expo-secure-store.d.ts +22 -0
- package/lib/typescript/types/expo-vector-icons.d.ts +19 -0
- package/lib/typescript/types/express.d.ts +24 -0
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +45 -0
- package/lib/typescript/ui/components/ActivityIndicator.d.ts.map +1 -0
- package/lib/typescript/ui/components/AnimationExample.d.ts +4 -0
- package/lib/typescript/ui/components/AnimationExample.d.ts.map +1 -0
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +23 -0
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts.map +1 -0
- package/lib/typescript/ui/components/Avatar.d.ts +61 -0
- package/lib/typescript/ui/components/Avatar.d.ts.map +1 -0
- package/lib/typescript/ui/components/BottomSheet.d.ts +29 -0
- package/lib/typescript/ui/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +14 -0
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts.map +1 -0
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +27 -0
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts.map +1 -0
- package/lib/typescript/ui/components/EmptyState.d.ts +8 -0
- package/lib/typescript/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/ui/components/ErrorBoundary.d.ts +31 -0
- package/lib/typescript/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/ui/components/FollowButton.d.ts +18 -0
- package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/FontLoader.d.ts +15 -0
- package/lib/typescript/ui/components/FontLoader.d.ts.map +1 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts +20 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts +25 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
- package/lib/typescript/ui/components/Header.d.ts +38 -0
- package/lib/typescript/ui/components/Header.d.ts.map +1 -0
- package/lib/typescript/ui/components/HelperText.d.ts +47 -0
- package/lib/typescript/ui/components/HelperText.d.ts.map +1 -0
- package/lib/typescript/ui/components/Icon.d.ts +60 -0
- package/lib/typescript/ui/components/Icon.d.ts.map +1 -0
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +99 -0
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/IconButton/utils.d.ts +19 -0
- package/lib/typescript/ui/components/IconButton/utils.d.ts.map +1 -0
- package/lib/typescript/ui/components/LoadingState.d.ts +9 -0
- package/lib/typescript/ui/components/LoadingState.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts +29 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyPayButton.d.ts +29 -0
- package/lib/typescript/ui/components/OxyPayButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts +11 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts +65 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts +18 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
- package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
- package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
- package/lib/typescript/ui/components/Section.d.ts +12 -0
- package/lib/typescript/ui/components/Section.d.ts.map +1 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts +10 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
- package/lib/typescript/ui/components/SettingRow.d.ts +14 -0
- package/lib/typescript/ui/components/SettingRow.d.ts.map +1 -0
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +26 -0
- package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +1 -0
- package/lib/typescript/ui/components/Surface.d.ts +76 -0
- package/lib/typescript/ui/components/Surface.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +16 -0
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +19 -0
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +45 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +73 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +78 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +13 -0
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +12 -0
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +12 -0
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +5 -0
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +4 -0
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +4 -0
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +4 -0
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/constants.d.ts +32 -0
- package/lib/typescript/ui/components/TextField/constants.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/helpers.d.ts +97 -0
- package/lib/typescript/ui/components/TextField/helpers.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField/types.d.ts +156 -0
- package/lib/typescript/ui/components/TextField/types.d.ts.map +1 -0
- package/lib/typescript/ui/components/TextField.d.ts +192 -0
- package/lib/typescript/ui/components/TextField.d.ts.map +1 -0
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +13 -0
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts.map +1 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +62 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +25 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -0
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +11 -0
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts.map +1 -0
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +35 -0
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts.map +1 -0
- package/lib/typescript/ui/components/Typography/types.d.ts +19 -0
- package/lib/typescript/ui/components/Typography/types.d.ts.map +1 -0
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +15 -0
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +18 -0
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +21 -0
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +860 -0
- package/lib/typescript/ui/components/fileManagement/styles.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +10 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/index.d.ts +4 -0
- package/lib/typescript/ui/components/icon/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/index.d.ts +17 -0
- package/lib/typescript/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +18 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
- package/lib/typescript/ui/components/internal/PinInput.d.ts +23 -0
- package/lib/typescript/ui/components/internal/PinInput.d.ts.map +1 -0
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +27 -0
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts +11 -0
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts +12 -0
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts +11 -0
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts +18 -0
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts +20 -0
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts +11 -0
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/styles/overlay.d.ts +4 -0
- package/lib/typescript/ui/components/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/ui/components/styles/shadow.d.ts +3 -0
- package/lib/typescript/ui/components/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/ui/components/theming.d.ts +8 -0
- package/lib/typescript/ui/components/theming.d.ts.map +1 -0
- package/lib/typescript/ui/components/types.d.ts +80 -0
- package/lib/typescript/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +12 -0
- package/lib/typescript/ui/components/utils/forwardRef.d.ts.map +1 -0
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +6 -0
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +2 -0
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +20 -0
- package/lib/typescript/ui/components/utils/splitStyles.d.ts.map +1 -0
- package/lib/typescript/ui/constants/iconColors.d.ts +130 -0
- package/lib/typescript/ui/constants/iconColors.d.ts.map +1 -0
- package/lib/typescript/ui/constants/spacing.d.ts +33 -0
- package/lib/typescript/ui/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/ui/constants/theme.d.ts +97 -0
- package/lib/typescript/ui/constants/theme.d.ts.map +1 -0
- package/lib/typescript/ui/context/OxyContext.d.ts +86 -0
- package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/ui/context/ThemeContext.d.ts +19 -0
- package/lib/typescript/ui/context/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +59 -0
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts +25 -0
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/ui/context/hooks/useStorage.d.ts +22 -0
- package/lib/typescript/ui/context/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/index.d.ts +5 -0
- package/lib/typescript/ui/hooks/index.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/mutations/index.d.ts +9 -0
- package/lib/typescript/ui/hooks/mutations/index.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +44 -0
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queries/index.d.ts +11 -0
- package/lib/typescript/ui/hooks/queries/index.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +65 -0
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +47 -0
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +15 -0
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +34 -0
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/queryClient.d.ts +19 -0
- package/lib/typescript/ui/hooks/queryClient.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts +8 -0
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts +8 -0
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useAssets.d.ts +35 -0
- package/lib/typescript/ui/hooks/useAssets.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +27 -0
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +19 -0
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useFollow.d.ts +62 -0
- package/lib/typescript/ui/hooks/useFollow.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +33 -0
- package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useI18n.d.ts +5 -0
- package/lib/typescript/ui/hooks/useI18n.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +25 -0
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +36 -0
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +7 -0
- package/lib/typescript/ui/hooks/useQueryClient.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +41 -0
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +28 -0
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useStorage.d.ts +22 -0
- package/lib/typescript/ui/hooks/useStorage.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +94 -0
- package/lib/typescript/ui/hooks/useThemeColors.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +45 -0
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts.map +1 -0
- package/lib/typescript/ui/index.d.ts +5 -0
- package/lib/typescript/ui/index.d.ts.map +1 -0
- package/lib/typescript/ui/isFrontend.d.ts +3 -0
- package/lib/typescript/ui/isFrontend.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +74 -0
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/routes.d.ts +6 -0
- package/lib/typescript/ui/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +17 -0
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +27 -0
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +15 -0
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +13 -0
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
- package/lib/typescript/ui/stores/accountStore.d.ts +34 -0
- package/lib/typescript/ui/stores/accountStore.d.ts.map +1 -0
- package/lib/typescript/ui/stores/assetStore.d.ts +54 -0
- package/lib/typescript/ui/stores/assetStore.d.ts.map +1 -0
- package/lib/typescript/ui/stores/authStore.d.ts +21 -0
- package/lib/typescript/ui/stores/authStore.d.ts.map +1 -0
- package/lib/typescript/ui/stores/fileStore.d.ts +31 -0
- package/lib/typescript/ui/stores/fileStore.d.ts.map +1 -0
- package/lib/typescript/ui/stores/followStore.d.ts +25 -0
- package/lib/typescript/ui/stores/followStore.d.ts.map +1 -0
- package/lib/typescript/ui/styles/authStyles.d.ts +332 -0
- package/lib/typescript/ui/styles/authStyles.d.ts.map +1 -0
- package/lib/typescript/ui/styles/fonts.d.ts +21 -0
- package/lib/typescript/ui/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/ui/styles/index.d.ts +5 -0
- package/lib/typescript/ui/styles/index.d.ts.map +1 -0
- package/lib/typescript/ui/styles/spacing.d.ts +49 -0
- package/lib/typescript/ui/styles/spacing.d.ts.map +1 -0
- package/lib/typescript/ui/styles/theme.d.ts +68 -0
- package/lib/typescript/ui/styles/theme.d.ts.map +1 -0
- package/lib/typescript/ui/types/fileManagement.d.ts +41 -0
- package/lib/typescript/ui/types/fileManagement.d.ts.map +1 -0
- package/lib/typescript/ui/types/navigation.d.ts +36 -0
- package/lib/typescript/ui/types/navigation.d.ts.map +1 -0
- package/lib/typescript/ui/utils/avatarUtils.d.ts +34 -0
- package/lib/typescript/ui/utils/avatarUtils.d.ts.map +1 -0
- package/lib/typescript/ui/utils/colorUtils.d.ts +14 -0
- package/lib/typescript/ui/utils/colorUtils.d.ts.map +1 -0
- package/lib/typescript/ui/utils/confirmAction.d.ts +7 -0
- package/lib/typescript/ui/utils/confirmAction.d.ts.map +1 -0
- package/lib/typescript/ui/utils/errorHandlers.d.ts +35 -0
- package/lib/typescript/ui/utils/errorHandlers.d.ts.map +1 -0
- package/lib/typescript/ui/utils/fileManagement.d.ts +87 -0
- package/lib/typescript/ui/utils/fileManagement.d.ts.map +1 -0
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +59 -0
- package/lib/typescript/ui/utils/sessionHelpers.d.ts.map +1 -0
- package/lib/typescript/ui/utils/storageHelpers.d.ts +31 -0
- package/lib/typescript/ui/utils/storageHelpers.d.ts.map +1 -0
- package/lib/typescript/ui/utils/themeUtils.d.ts +24 -0
- package/lib/typescript/ui/utils/themeUtils.d.ts.map +1 -0
- package/lib/typescript/ui/utils/user-utils.d.ts +29 -0
- package/lib/typescript/ui/utils/user-utils.d.ts.map +1 -0
- package/lib/typescript/utils/apiUtils.d.ts +54 -0
- package/lib/typescript/utils/apiUtils.d.ts.map +1 -0
- package/lib/typescript/utils/asyncUtils.d.ts +59 -0
- package/lib/typescript/utils/asyncUtils.d.ts.map +1 -0
- package/lib/typescript/utils/cache.d.ts +128 -0
- package/lib/typescript/utils/cache.d.ts.map +1 -0
- package/lib/typescript/utils/deviceManager.d.ts +66 -0
- package/lib/typescript/utils/deviceManager.d.ts.map +1 -0
- package/lib/typescript/utils/errorUtils.d.ts +53 -0
- package/lib/typescript/utils/errorUtils.d.ts.map +1 -0
- package/lib/typescript/utils/hookUtils.d.ts +102 -0
- package/lib/typescript/utils/hookUtils.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +7 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/languageUtils.d.ts +38 -0
- package/lib/typescript/utils/languageUtils.d.ts.map +1 -0
- package/lib/typescript/utils/loggerUtils.d.ts +49 -0
- package/lib/typescript/utils/loggerUtils.d.ts.map +1 -0
- package/lib/typescript/utils/requestUtils.d.ts +122 -0
- package/lib/typescript/utils/requestUtils.d.ts.map +1 -0
- package/lib/typescript/utils/sessionUtils.d.ts +55 -0
- package/lib/typescript/utils/sessionUtils.d.ts.map +1 -0
- package/lib/typescript/utils/validationUtils.d.ts +86 -0
- package/lib/typescript/utils/validationUtils.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/ui/context/OxyContext.tsx +1 -0
- package/src/ui/hooks/useSessionSocket.ts +13 -8
|
@@ -0,0 +1,1647 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _fonts = require("../styles/fonts");
|
|
10
|
+
var _sonner = require("../../lib/sonner");
|
|
11
|
+
var _confirmAction = require("../utils/confirmAction");
|
|
12
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
13
|
+
var _useI18n = require("../hooks/useI18n");
|
|
14
|
+
var _useThemeStyles = require("../hooks/useThemeStyles");
|
|
15
|
+
var _themeUtils = require("../utils/themeUtils");
|
|
16
|
+
var _useColorScheme = require("../hooks/use-color-scheme");
|
|
17
|
+
var _OxyContext = require("../context/OxyContext");
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
const PremiumSubscriptionScreen = ({
|
|
20
|
+
onClose,
|
|
21
|
+
theme,
|
|
22
|
+
navigate,
|
|
23
|
+
goBack
|
|
24
|
+
}) => {
|
|
25
|
+
// Use useOxy() hook for OxyContext values
|
|
26
|
+
const {
|
|
27
|
+
user,
|
|
28
|
+
oxyServices
|
|
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
|
+
|
|
40
|
+
const {
|
|
41
|
+
t
|
|
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);
|
|
46
|
+
// Extract commonly used colors for readability
|
|
47
|
+
const {
|
|
48
|
+
textColor,
|
|
49
|
+
backgroundColor,
|
|
50
|
+
secondaryBackgroundColor,
|
|
51
|
+
borderColor,
|
|
52
|
+
primaryColor,
|
|
53
|
+
successColor,
|
|
54
|
+
dangerColor,
|
|
55
|
+
isDarkTheme
|
|
56
|
+
} = themeStyles;
|
|
57
|
+
const warningColor = '#FF9500';
|
|
58
|
+
|
|
59
|
+
// TODO: Replace mock data with actual API integration
|
|
60
|
+
// Should fetch plans from oxyServices.getSubscriptionPlans() and individual features from oxyServices.getIndividualFeatures()
|
|
61
|
+
// Oxy+ subscription plans
|
|
62
|
+
const mockPlans = [{
|
|
63
|
+
id: 'mention-plus',
|
|
64
|
+
name: 'Mention+',
|
|
65
|
+
description: 'Enhanced features for better social experience',
|
|
66
|
+
price: 4.99,
|
|
67
|
+
currency: 'USD',
|
|
68
|
+
interval: 'month',
|
|
69
|
+
appScope: 'specific',
|
|
70
|
+
applicableApps: ['mention'],
|
|
71
|
+
// Only available in mention app
|
|
72
|
+
features: ['Undo posts option', 'Improved reading mode', 'Organize bookmarks into folders', 'Early access to select features', 'Edit posts capability', 'Enhanced customization options'],
|
|
73
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes']
|
|
74
|
+
}, {
|
|
75
|
+
id: 'oxy-insider',
|
|
76
|
+
name: 'Oxy+ Insider',
|
|
77
|
+
description: 'Exclusive access to behind-the-scenes content',
|
|
78
|
+
price: 9.99,
|
|
79
|
+
currency: 'USD',
|
|
80
|
+
interval: 'month',
|
|
81
|
+
appScope: 'ecosystem',
|
|
82
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
83
|
+
features: ['Everything in Mention+', 'Behind-the-scenes updates from creators', 'Early access to new features', 'Dedicated support team', 'Exclusive content access', 'Beta feature testing'],
|
|
84
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic'],
|
|
85
|
+
isPopular: true
|
|
86
|
+
}, {
|
|
87
|
+
id: 'oxy-connect',
|
|
88
|
+
name: 'Oxy+ Connect',
|
|
89
|
+
description: 'Advanced networking and community features',
|
|
90
|
+
price: 14.99,
|
|
91
|
+
currency: 'USD',
|
|
92
|
+
interval: 'month',
|
|
93
|
+
appScope: 'ecosystem',
|
|
94
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
95
|
+
features: ['Everything in Oxy+ Insider', 'Create and join private groups', 'Advanced search and filtering tools', 'Customizable profile highlighting', 'Enhanced connection features', 'Priority in community events'],
|
|
96
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'group-management']
|
|
97
|
+
}, {
|
|
98
|
+
id: 'oxy-premium',
|
|
99
|
+
name: 'Oxy+ Premium',
|
|
100
|
+
description: 'Complete premium experience with all perks',
|
|
101
|
+
price: 24.99,
|
|
102
|
+
currency: 'USD',
|
|
103
|
+
interval: 'month',
|
|
104
|
+
appScope: 'ecosystem',
|
|
105
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics'],
|
|
106
|
+
features: ['Everything in Oxy+ Connect', 'Priority customer support', 'Access to premium content and events', 'Advanced analytics dashboard', 'VIP community status', 'Exclusive premium events'],
|
|
107
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management']
|
|
108
|
+
}, {
|
|
109
|
+
id: 'oxy-creator',
|
|
110
|
+
name: 'Oxy+ Creator',
|
|
111
|
+
description: 'Professional tools for content creators',
|
|
112
|
+
price: 39.99,
|
|
113
|
+
currency: 'USD',
|
|
114
|
+
interval: 'month',
|
|
115
|
+
appScope: 'ecosystem',
|
|
116
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics', 'oxy-studio'],
|
|
117
|
+
features: ['Everything in Oxy+ Premium', 'Advanced analytics and insights', 'Promotional tools and resources', 'Content monetization features', 'Creator support program', 'Revenue sharing opportunities'],
|
|
118
|
+
includedFeatures: ['reading-mode-plus', 'custom-themes', 'analytics-basic', 'analytics-advanced', 'group-management', 'creator-tools', 'monetization-features']
|
|
119
|
+
}];
|
|
120
|
+
|
|
121
|
+
// Individual feature subscriptions
|
|
122
|
+
const mockIndividualFeatures = [{
|
|
123
|
+
id: 'analytics-basic',
|
|
124
|
+
name: 'Basic Analytics',
|
|
125
|
+
description: 'View post performance and engagement metrics',
|
|
126
|
+
price: 2.99,
|
|
127
|
+
currency: 'USD',
|
|
128
|
+
interval: 'month',
|
|
129
|
+
category: 'analytics',
|
|
130
|
+
appScope: 'ecosystem',
|
|
131
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace'],
|
|
132
|
+
canBePurchasedSeparately: true,
|
|
133
|
+
includedInPlans: ['oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
134
|
+
}, {
|
|
135
|
+
id: 'analytics-advanced',
|
|
136
|
+
name: 'Advanced Analytics',
|
|
137
|
+
description: 'Detailed insights, trends, and audience demographics',
|
|
138
|
+
price: 7.99,
|
|
139
|
+
currency: 'USD',
|
|
140
|
+
interval: 'month',
|
|
141
|
+
category: 'analytics',
|
|
142
|
+
appScope: 'ecosystem',
|
|
143
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator', 'oxy-analytics'],
|
|
144
|
+
canBePurchasedSeparately: true,
|
|
145
|
+
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
146
|
+
}, {
|
|
147
|
+
id: 'custom-themes',
|
|
148
|
+
name: 'Custom Themes',
|
|
149
|
+
description: 'Personalize your app with custom colors and layouts',
|
|
150
|
+
price: 1.99,
|
|
151
|
+
currency: 'USD',
|
|
152
|
+
interval: 'month',
|
|
153
|
+
category: 'customization',
|
|
154
|
+
appScope: 'ecosystem',
|
|
155
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'],
|
|
156
|
+
canBePurchasedSeparately: false,
|
|
157
|
+
// Included in all plans
|
|
158
|
+
includedInPlans: ['mention-plus', 'oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
159
|
+
}, {
|
|
160
|
+
id: 'reading-mode-plus',
|
|
161
|
+
name: 'Reading Mode Plus',
|
|
162
|
+
description: 'Enhanced reading experience with focus modes',
|
|
163
|
+
price: 1.99,
|
|
164
|
+
currency: 'USD',
|
|
165
|
+
interval: 'month',
|
|
166
|
+
category: 'content',
|
|
167
|
+
appScope: 'specific',
|
|
168
|
+
applicableApps: ['mention', 'oxy-social'],
|
|
169
|
+
canBePurchasedSeparately: false,
|
|
170
|
+
// Included in all plans
|
|
171
|
+
includedInPlans: ['mention-plus', 'oxy-insider', 'oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
172
|
+
}, {
|
|
173
|
+
id: 'group-management',
|
|
174
|
+
name: 'Group Management',
|
|
175
|
+
description: 'Create and manage private groups and communities',
|
|
176
|
+
price: 4.99,
|
|
177
|
+
currency: 'USD',
|
|
178
|
+
interval: 'month',
|
|
179
|
+
category: 'networking',
|
|
180
|
+
appScope: 'ecosystem',
|
|
181
|
+
applicableApps: ['mention', 'oxy-social', 'oxy-workspace'],
|
|
182
|
+
canBePurchasedSeparately: true,
|
|
183
|
+
includedInPlans: ['oxy-connect', 'oxy-premium', 'oxy-creator']
|
|
184
|
+
}, {
|
|
185
|
+
id: 'creator-tools',
|
|
186
|
+
name: 'Creator Tools Suite',
|
|
187
|
+
description: 'Professional content creation and editing tools',
|
|
188
|
+
price: 9.99,
|
|
189
|
+
currency: 'USD',
|
|
190
|
+
interval: 'month',
|
|
191
|
+
category: 'productivity',
|
|
192
|
+
appScope: 'specific',
|
|
193
|
+
applicableApps: ['oxy-creator', 'oxy-studio'],
|
|
194
|
+
canBePurchasedSeparately: true,
|
|
195
|
+
includedInPlans: ['oxy-creator']
|
|
196
|
+
}, {
|
|
197
|
+
id: 'monetization-features',
|
|
198
|
+
name: 'Monetization Features',
|
|
199
|
+
description: 'Revenue sharing, sponsorship tools, and creator fund access',
|
|
200
|
+
price: 12.99,
|
|
201
|
+
currency: 'USD',
|
|
202
|
+
interval: 'month',
|
|
203
|
+
category: 'productivity',
|
|
204
|
+
appScope: 'specific',
|
|
205
|
+
applicableApps: ['oxy-creator'],
|
|
206
|
+
canBePurchasedSeparately: true,
|
|
207
|
+
includedInPlans: ['oxy-creator']
|
|
208
|
+
}, {
|
|
209
|
+
id: 'workspace-collaboration',
|
|
210
|
+
name: 'Workspace Collaboration',
|
|
211
|
+
description: 'Advanced team features and project management tools',
|
|
212
|
+
price: 6.99,
|
|
213
|
+
currency: 'USD',
|
|
214
|
+
interval: 'month',
|
|
215
|
+
category: 'productivity',
|
|
216
|
+
appScope: 'specific',
|
|
217
|
+
applicableApps: ['oxy-workspace'],
|
|
218
|
+
canBePurchasedSeparately: true,
|
|
219
|
+
includedInPlans: ['oxy-premium', 'oxy-creator']
|
|
220
|
+
}];
|
|
221
|
+
(0, _react.useEffect)(() => {
|
|
222
|
+
detectCurrentApp();
|
|
223
|
+
}, []);
|
|
224
|
+
(0, _react.useEffect)(() => {
|
|
225
|
+
if (currentAppPackage) {
|
|
226
|
+
loadSubscriptionData();
|
|
227
|
+
}
|
|
228
|
+
}, [currentAppPackage, user?.isPremium]);
|
|
229
|
+
const detectCurrentApp = () => {
|
|
230
|
+
// In a real implementation, this would detect the actual app package name
|
|
231
|
+
// For now, we'll use a mock detection based on available methods
|
|
232
|
+
|
|
233
|
+
// Real app detection methods you could use:
|
|
234
|
+
// 1. Check bundle identifier in React Native:
|
|
235
|
+
// import DeviceInfo from 'react-native-device-info';
|
|
236
|
+
// const bundleId = DeviceInfo.getBundleId();
|
|
237
|
+
// Example: com.oxy.mention -> 'mention'
|
|
238
|
+
|
|
239
|
+
// 2. Environment variables or build configuration
|
|
240
|
+
// const appPackage = __DEV__ ? process.env.APP_PACKAGE : 'mention';
|
|
241
|
+
|
|
242
|
+
// 3. Check specific app capabilities or modules
|
|
243
|
+
// if (typeof MentionModule !== 'undefined') return 'mention';
|
|
244
|
+
// if (typeof OxyWorkspaceModule !== 'undefined') return 'oxy-workspace';
|
|
245
|
+
|
|
246
|
+
// 4. Use build-time configuration with Metro or similar
|
|
247
|
+
// const appPackage = require('../config/app.json').packageName;
|
|
248
|
+
|
|
249
|
+
// For demo purposes, we'll simulate different apps
|
|
250
|
+
// You would replace this with actual app detection logic
|
|
251
|
+
|
|
252
|
+
// IMPORTANT: This ensures subscription restrictions work properly:
|
|
253
|
+
// - Mention+ plan can only be subscribed to when app package == 'mention'
|
|
254
|
+
// - Other app-specific plans follow the same pattern
|
|
255
|
+
// - Ecosystem plans work across all apps
|
|
256
|
+
|
|
257
|
+
const detectedApp = 'mention'; // This would be dynamic in real implementation
|
|
258
|
+
|
|
259
|
+
setCurrentAppPackage(detectedApp);
|
|
260
|
+
|
|
261
|
+
// Log for debugging
|
|
262
|
+
console.log('Detected app package:', detectedApp);
|
|
263
|
+
console.log('Available plans for this app will be filtered accordingly');
|
|
264
|
+
};
|
|
265
|
+
const loadSubscriptionData = async () => {
|
|
266
|
+
try {
|
|
267
|
+
setLoading(true);
|
|
268
|
+
|
|
269
|
+
// Filter plans available for current app
|
|
270
|
+
const availablePlans = mockPlans.filter(plan => plan.applicableApps.includes(currentAppPackage));
|
|
271
|
+
setPlans(availablePlans);
|
|
272
|
+
|
|
273
|
+
// Mock current subscription
|
|
274
|
+
let currentSubscription = null;
|
|
275
|
+
if (user?.isPremium) {
|
|
276
|
+
currentSubscription = {
|
|
277
|
+
id: 'sub_12345',
|
|
278
|
+
planId: 'oxy-insider',
|
|
279
|
+
status: 'active',
|
|
280
|
+
currentPeriodStart: new Date().toISOString(),
|
|
281
|
+
currentPeriodEnd: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000).toISOString(),
|
|
282
|
+
cancelAtPeriodEnd: false
|
|
283
|
+
};
|
|
284
|
+
setSubscription(currentSubscription);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// Filter features available for current app and update based on current subscription
|
|
288
|
+
const availableFeatures = mockIndividualFeatures.filter(feature => feature.applicableApps.includes(currentAppPackage));
|
|
289
|
+
const updatedFeatures = availableFeatures.map(feature => {
|
|
290
|
+
const isIncludedInCurrentPlan = !!(currentSubscription && feature.includedInPlans.includes(currentSubscription.planId));
|
|
291
|
+
return {
|
|
292
|
+
...feature,
|
|
293
|
+
isIncludedInCurrentPlan,
|
|
294
|
+
isSubscribed: isIncludedInCurrentPlan ? true : false // Mock some individual subscriptions
|
|
295
|
+
};
|
|
296
|
+
});
|
|
297
|
+
setIndividualFeatures(updatedFeatures);
|
|
298
|
+
} catch (error) {
|
|
299
|
+
console.error('Failed to load subscription data:', error);
|
|
300
|
+
_sonner.toast.error('Failed to load subscription information');
|
|
301
|
+
} finally {
|
|
302
|
+
setLoading(false);
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const handlePlanSelection = planId => {
|
|
306
|
+
setSelectedPlan(planId);
|
|
307
|
+
};
|
|
308
|
+
const handleSubscribe = async planId => {
|
|
309
|
+
try {
|
|
310
|
+
// Check if plan is available for current app
|
|
311
|
+
const selectedPlan = mockPlans.find(plan => plan.id === planId);
|
|
312
|
+
if (!selectedPlan?.applicableApps.includes(currentAppPackage)) {
|
|
313
|
+
console.log(`❌ Subscription blocked: Plan "${selectedPlan?.name}" not available for app "${currentAppPackage}"`);
|
|
314
|
+
_sonner.toast.error(t('premium.toasts.planUnavailable', {
|
|
315
|
+
app: currentAppPackage
|
|
316
|
+
}) || `This plan is not available for the current app (${currentAppPackage})`);
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// Special restriction for Mention+ plan - only available in mention app
|
|
321
|
+
if (planId === 'mention-plus' && currentAppPackage !== 'mention') {
|
|
322
|
+
console.log(`❌ Subscription blocked: Mention+ plan requires app to be "mention", current app is "${currentAppPackage}"`);
|
|
323
|
+
_sonner.toast.error(t('premium.toasts.mentionOnly') || 'Mention+ is only available in the Mention app');
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
console.log(`✅ Subscription allowed: Plan "${selectedPlan.name}" is available for app "${currentAppPackage}"`);
|
|
327
|
+
setProcessingPayment(true);
|
|
328
|
+
|
|
329
|
+
// Mock payment processing
|
|
330
|
+
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
331
|
+
_sonner.toast.success(t('premium.toasts.activated') || 'Subscription activated successfully!');
|
|
332
|
+
|
|
333
|
+
// Mock subscription update
|
|
334
|
+
setSubscription({
|
|
335
|
+
id: 'sub_' + Date.now(),
|
|
336
|
+
planId,
|
|
337
|
+
status: 'active',
|
|
338
|
+
currentPeriodStart: new Date().toISOString(),
|
|
339
|
+
currentPeriodEnd: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000).toISOString(),
|
|
340
|
+
cancelAtPeriodEnd: false
|
|
341
|
+
});
|
|
342
|
+
|
|
343
|
+
// Reload data to update feature states
|
|
344
|
+
loadSubscriptionData();
|
|
345
|
+
} catch (error) {
|
|
346
|
+
console.error('Payment failed:', error);
|
|
347
|
+
_sonner.toast.error(t('premium.toasts.paymentFailed') || 'Payment failed. Please try again.');
|
|
348
|
+
} finally {
|
|
349
|
+
setProcessingPayment(false);
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
const handleCancelSubscription = () => {
|
|
353
|
+
(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 () => {
|
|
354
|
+
try {
|
|
355
|
+
// Mock cancellation
|
|
356
|
+
setSubscription(prev => prev ? {
|
|
357
|
+
...prev,
|
|
358
|
+
cancelAtPeriodEnd: true
|
|
359
|
+
} : null);
|
|
360
|
+
_sonner.toast.success(t('premium.toasts.willCancel') || 'Subscription will be canceled at the end of the billing period');
|
|
361
|
+
} catch (error) {
|
|
362
|
+
_sonner.toast.error(t('premium.toasts.cancelFailed') || 'Failed to cancel subscription');
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
const handleReactivateSubscription = async () => {
|
|
367
|
+
try {
|
|
368
|
+
setSubscription(prev => prev ? {
|
|
369
|
+
...prev,
|
|
370
|
+
cancelAtPeriodEnd: false
|
|
371
|
+
} : null);
|
|
372
|
+
_sonner.toast.success(t('premium.toasts.reactivated') || 'Subscription reactivated successfully');
|
|
373
|
+
} catch (error) {
|
|
374
|
+
_sonner.toast.error(t('premium.toasts.reactivateFailed') || 'Failed to reactivate subscription');
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
const formatPrice = (price, currency, interval) => {
|
|
378
|
+
const yearlyPrice = interval === 'year' ? price : price * 12 * 0.8; // 20% discount for yearly
|
|
379
|
+
const displayPrice = billingInterval === 'year' ? yearlyPrice : price;
|
|
380
|
+
return {
|
|
381
|
+
price: displayPrice,
|
|
382
|
+
formatted: `$${displayPrice.toFixed(2)}`,
|
|
383
|
+
interval: billingInterval === 'year' ? 'year' : 'month'
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
const getCurrentPlan = () => {
|
|
387
|
+
if (!subscription) return null;
|
|
388
|
+
return plans.find(plan => plan.id === subscription.planId);
|
|
389
|
+
};
|
|
390
|
+
const handleFeatureSubscribe = async featureId => {
|
|
391
|
+
try {
|
|
392
|
+
// Check if feature is available for current app
|
|
393
|
+
const selectedFeature = mockIndividualFeatures.find(feature => feature.id === featureId);
|
|
394
|
+
if (!selectedFeature?.applicableApps.includes(currentAppPackage)) {
|
|
395
|
+
_sonner.toast.error(`This feature is not available for the current app (${currentAppPackage})`);
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// Special restrictions for app-specific features
|
|
400
|
+
if (selectedFeature.appScope === 'specific') {
|
|
401
|
+
// For features that are only available in specific apps, enforce strict matching
|
|
402
|
+
const hasExactMatch = selectedFeature.applicableApps.length === 1 && selectedFeature.applicableApps[0] === currentAppPackage;
|
|
403
|
+
if (!hasExactMatch && selectedFeature.applicableApps.length === 1) {
|
|
404
|
+
const requiredApp = selectedFeature.applicableApps[0];
|
|
405
|
+
_sonner.toast.error(`${selectedFeature.name} is only available in the ${requiredApp} app`);
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
setProcessingPayment(true);
|
|
410
|
+
|
|
411
|
+
// Mock feature subscription
|
|
412
|
+
await new Promise(resolve => setTimeout(resolve, 1500));
|
|
413
|
+
setIndividualFeatures(prev => prev.map(feature => feature.id === featureId ? {
|
|
414
|
+
...feature,
|
|
415
|
+
isSubscribed: true
|
|
416
|
+
} : feature));
|
|
417
|
+
const feature = individualFeatures.find(f => f.id === featureId);
|
|
418
|
+
_sonner.toast.success(t('premium.toasts.featureSubscribed', {
|
|
419
|
+
name: feature?.name ?? ''
|
|
420
|
+
}) ?? `Subscribed to ${feature?.name} successfully!`);
|
|
421
|
+
} catch (error) {
|
|
422
|
+
console.error('Feature subscription failed:', error);
|
|
423
|
+
_sonner.toast.error(t('premium.toasts.featureSubscribeFailed') || 'Feature subscription failed. Please try again.');
|
|
424
|
+
} finally {
|
|
425
|
+
setProcessingPayment(false);
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
const handleFeatureUnsubscribe = async featureId => {
|
|
429
|
+
const feature = individualFeatures.find(f => f.id === featureId);
|
|
430
|
+
(0, _confirmAction.confirmAction)(t('premium.confirms.unsubscribeFeature', {
|
|
431
|
+
name: feature?.name ?? ''
|
|
432
|
+
}) ?? `Are you sure you want to unsubscribe from ${feature?.name}?`, async () => {
|
|
433
|
+
try {
|
|
434
|
+
setIndividualFeatures(prev => prev.map(f => f.id === featureId ? {
|
|
435
|
+
...f,
|
|
436
|
+
isSubscribed: false
|
|
437
|
+
} : f));
|
|
438
|
+
_sonner.toast.success(t('premium.toasts.featureUnsubscribed', {
|
|
439
|
+
name: feature?.name ?? ''
|
|
440
|
+
}) ?? `Unsubscribed from ${feature?.name}`);
|
|
441
|
+
} catch (error) {
|
|
442
|
+
_sonner.toast.error(t('premium.toasts.featureUnsubscribeFailed') || 'Failed to unsubscribe from feature');
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
};
|
|
446
|
+
const renderHeader = () => {
|
|
447
|
+
const getAppDisplayName = packageName => {
|
|
448
|
+
const appNames = {
|
|
449
|
+
'mention': 'Mention',
|
|
450
|
+
'oxy-social': 'Oxy Social',
|
|
451
|
+
'oxy-workspace': 'Oxy Workspace',
|
|
452
|
+
'oxy-creator': 'Oxy Creator',
|
|
453
|
+
'oxy-analytics': 'Oxy Analytics',
|
|
454
|
+
'oxy-studio': 'Oxy Studio'
|
|
455
|
+
};
|
|
456
|
+
return appNames[packageName] || packageName;
|
|
457
|
+
};
|
|
458
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
459
|
+
style: [styles.header, {
|
|
460
|
+
borderBottomColor: borderColor
|
|
461
|
+
}],
|
|
462
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
463
|
+
style: styles.backButton,
|
|
464
|
+
onPress: goBack,
|
|
465
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
466
|
+
name: "arrow-back",
|
|
467
|
+
size: 24,
|
|
468
|
+
color: textColor
|
|
469
|
+
})
|
|
470
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
471
|
+
style: styles.headerTitleContainer,
|
|
472
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
473
|
+
style: [styles.headerTitle, {
|
|
474
|
+
color: textColor
|
|
475
|
+
}],
|
|
476
|
+
children: t('premium.title') || 'Oxy+ Subscriptions'
|
|
477
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
478
|
+
style: [styles.currentAppText, {
|
|
479
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
480
|
+
}],
|
|
481
|
+
children: t('premium.forApp', {
|
|
482
|
+
app: getAppDisplayName(currentAppPackage)
|
|
483
|
+
}) || `for ${getAppDisplayName(currentAppPackage)}`
|
|
484
|
+
})]
|
|
485
|
+
}), onClose && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
486
|
+
style: styles.closeButton,
|
|
487
|
+
onPress: onClose,
|
|
488
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
489
|
+
name: "close",
|
|
490
|
+
size: 24,
|
|
491
|
+
color: textColor
|
|
492
|
+
})
|
|
493
|
+
})]
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
const renderCurrentSubscription = () => {
|
|
497
|
+
if (!subscription) return null;
|
|
498
|
+
const currentPlan = getCurrentPlan();
|
|
499
|
+
if (!currentPlan) return null;
|
|
500
|
+
const statusColor = subscription.status === 'active' ? successColor : subscription.status === 'trialing' ? warningColor : dangerColor;
|
|
501
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
502
|
+
style: styles.section,
|
|
503
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
504
|
+
style: [styles.sectionTitle, {
|
|
505
|
+
color: textColor
|
|
506
|
+
}],
|
|
507
|
+
children: t('premium.current.title') || 'Current Subscription'
|
|
508
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
509
|
+
style: [styles.currentSubscriptionCard, {
|
|
510
|
+
backgroundColor: secondaryBackgroundColor,
|
|
511
|
+
borderColor
|
|
512
|
+
}],
|
|
513
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
514
|
+
style: styles.subscriptionHeader,
|
|
515
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
516
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
517
|
+
style: [styles.planName, {
|
|
518
|
+
color: textColor
|
|
519
|
+
}],
|
|
520
|
+
children: currentPlan.name
|
|
521
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
522
|
+
style: [styles.planPrice, {
|
|
523
|
+
color: primaryColor
|
|
524
|
+
}],
|
|
525
|
+
children: ["$", currentPlan.price, "/month"]
|
|
526
|
+
})]
|
|
527
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
528
|
+
style: [styles.statusBadge, {
|
|
529
|
+
backgroundColor: statusColor
|
|
530
|
+
}],
|
|
531
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
532
|
+
style: styles.statusText,
|
|
533
|
+
children: subscription.status.toUpperCase()
|
|
534
|
+
})
|
|
535
|
+
})]
|
|
536
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
537
|
+
style: [styles.subscriptionDetail, {
|
|
538
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
539
|
+
}],
|
|
540
|
+
children: t('premium.current.renewsOn', {
|
|
541
|
+
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
542
|
+
}) || `Renews on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
543
|
+
}), subscription.cancelAtPeriodEnd && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
544
|
+
style: styles.cancelNotice,
|
|
545
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
546
|
+
name: "warning",
|
|
547
|
+
size: 16,
|
|
548
|
+
color: warningColor
|
|
549
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
550
|
+
style: [styles.cancelText, {
|
|
551
|
+
color: warningColor
|
|
552
|
+
}],
|
|
553
|
+
children: t('premium.current.willCancelOn', {
|
|
554
|
+
date: new Date(subscription.currentPeriodEnd).toLocaleDateString()
|
|
555
|
+
}) || `Subscription will cancel on ${new Date(subscription.currentPeriodEnd).toLocaleDateString()}`
|
|
556
|
+
})]
|
|
557
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
558
|
+
style: styles.subscriptionActions,
|
|
559
|
+
children: [subscription.cancelAtPeriodEnd ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
560
|
+
style: [styles.actionButton, {
|
|
561
|
+
backgroundColor: successColor
|
|
562
|
+
}],
|
|
563
|
+
onPress: handleReactivateSubscription,
|
|
564
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
565
|
+
style: styles.actionButtonText,
|
|
566
|
+
children: t('premium.actions.reactivate') || 'Reactivate'
|
|
567
|
+
})
|
|
568
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
569
|
+
style: [styles.actionButton, {
|
|
570
|
+
backgroundColor: dangerColor
|
|
571
|
+
}],
|
|
572
|
+
onPress: handleCancelSubscription,
|
|
573
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
574
|
+
style: styles.actionButtonText,
|
|
575
|
+
children: t('premium.actions.cancelSubBtn') || 'Cancel Subscription'
|
|
576
|
+
})
|
|
577
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
578
|
+
style: [styles.actionButton, styles.secondaryButton, {
|
|
579
|
+
borderColor
|
|
580
|
+
}],
|
|
581
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
582
|
+
style: [styles.actionButtonText, {
|
|
583
|
+
color: textColor
|
|
584
|
+
}],
|
|
585
|
+
children: t('premium.actions.manageBilling') || 'Manage Billing'
|
|
586
|
+
})
|
|
587
|
+
})]
|
|
588
|
+
})]
|
|
589
|
+
})]
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
const renderBillingToggle = () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
593
|
+
style: styles.section,
|
|
594
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
595
|
+
style: styles.billingToggle,
|
|
596
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
597
|
+
style: [styles.billingOption, billingInterval === 'month' && {
|
|
598
|
+
backgroundColor: primaryColor
|
|
599
|
+
}],
|
|
600
|
+
onPress: () => setBillingInterval('month'),
|
|
601
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
602
|
+
style: [styles.billingOptionText, {
|
|
603
|
+
color: billingInterval === 'month' ? '#FFFFFF' : textColor
|
|
604
|
+
}],
|
|
605
|
+
children: t('premium.billing.monthly') || 'Monthly'
|
|
606
|
+
})
|
|
607
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
608
|
+
style: [styles.billingOption, billingInterval === 'year' && {
|
|
609
|
+
backgroundColor: primaryColor
|
|
610
|
+
}],
|
|
611
|
+
onPress: () => setBillingInterval('year'),
|
|
612
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
613
|
+
style: [styles.billingOptionText, {
|
|
614
|
+
color: billingInterval === 'year' ? '#FFFFFF' : textColor
|
|
615
|
+
}],
|
|
616
|
+
children: t('premium.billing.yearly') || 'Yearly'
|
|
617
|
+
})
|
|
618
|
+
})]
|
|
619
|
+
}), billingInterval === 'year' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
620
|
+
style: [styles.savingsText, {
|
|
621
|
+
color: successColor
|
|
622
|
+
}],
|
|
623
|
+
children: t('premium.billing.saveYearly') || '💰 Save 20% with yearly billing'
|
|
624
|
+
})]
|
|
625
|
+
});
|
|
626
|
+
const renderPlanCard = plan => {
|
|
627
|
+
const pricing = formatPrice(plan.price, plan.currency, plan.interval);
|
|
628
|
+
const isSelected = selectedPlan === plan.id;
|
|
629
|
+
const isCurrentPlan = subscription?.planId === plan.id;
|
|
630
|
+
const isAppSpecific = plan.appScope === 'specific' && plan.applicableApps.length === 1;
|
|
631
|
+
const isAvailableForCurrentApp = plan.applicableApps.includes(currentAppPackage);
|
|
632
|
+
const getAppScopeText = () => {
|
|
633
|
+
if (plan.appScope === 'ecosystem') {
|
|
634
|
+
return t('premium.plan.scope.allApps') || 'Works across all Oxy apps';
|
|
635
|
+
} else if (isAppSpecific) {
|
|
636
|
+
const appName = plan.applicableApps[0];
|
|
637
|
+
return t('premium.plan.scope.exclusive', {
|
|
638
|
+
app: appName
|
|
639
|
+
}) || `Exclusive to ${appName} app`;
|
|
640
|
+
} else {
|
|
641
|
+
return t('premium.plan.scope.availableIn', {
|
|
642
|
+
apps: plan.applicableApps.join(', ')
|
|
643
|
+
}) || `Available in: ${plan.applicableApps.join(', ')}`;
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
const getAvailabilityStatus = () => {
|
|
647
|
+
if (isAppSpecific && !isAvailableForCurrentApp) {
|
|
648
|
+
const requiredApp = plan.applicableApps[0];
|
|
649
|
+
return {
|
|
650
|
+
available: false,
|
|
651
|
+
reason: t('premium.plan.scope.exclusive', {
|
|
652
|
+
app: requiredApp
|
|
653
|
+
}) || `Only available in ${requiredApp} app`
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
return {
|
|
657
|
+
available: true,
|
|
658
|
+
reason: null
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
const availability = getAvailabilityStatus();
|
|
662
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
663
|
+
style: [styles.planCard, {
|
|
664
|
+
backgroundColor: secondaryBackgroundColor,
|
|
665
|
+
borderColor
|
|
666
|
+
}, isSelected && {
|
|
667
|
+
borderColor: primaryColor,
|
|
668
|
+
borderWidth: 2
|
|
669
|
+
}, plan.isPopular && styles.popularPlan, !availability.available && {
|
|
670
|
+
opacity: 0.6
|
|
671
|
+
}],
|
|
672
|
+
children: [plan.isPopular && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
673
|
+
style: [styles.popularBadge, {
|
|
674
|
+
backgroundColor: primaryColor
|
|
675
|
+
}],
|
|
676
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
677
|
+
style: styles.popularText,
|
|
678
|
+
children: "MOST POPULAR"
|
|
679
|
+
})
|
|
680
|
+
}), isAppSpecific && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
681
|
+
style: [styles.appSpecificBadge, {
|
|
682
|
+
backgroundColor: isAvailableForCurrentApp ? successColor : warningColor
|
|
683
|
+
}],
|
|
684
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
685
|
+
style: styles.appSpecificText,
|
|
686
|
+
children: isAvailableForCurrentApp ? t('premium.plan.badge.appExclusive') || 'App Exclusive' : t('premium.plan.badge.notAvailable') || 'Not Available'
|
|
687
|
+
})
|
|
688
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
689
|
+
style: styles.planHeader,
|
|
690
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
691
|
+
style: [styles.planName, {
|
|
692
|
+
color: textColor
|
|
693
|
+
}],
|
|
694
|
+
children: plan.name
|
|
695
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
696
|
+
style: [styles.planDescription, {
|
|
697
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
698
|
+
}],
|
|
699
|
+
children: plan.description
|
|
700
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
701
|
+
style: [styles.planAppScope, {
|
|
702
|
+
color: isDarkTheme ? '#888888' : '#999999'
|
|
703
|
+
}],
|
|
704
|
+
children: getAppScopeText()
|
|
705
|
+
}), !availability.available && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
706
|
+
style: [styles.planRestrictionText, {
|
|
707
|
+
color: dangerColor
|
|
708
|
+
}],
|
|
709
|
+
children: availability.reason
|
|
710
|
+
})]
|
|
711
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
712
|
+
style: styles.planPricing,
|
|
713
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
714
|
+
style: [styles.planPrice, {
|
|
715
|
+
color: textColor
|
|
716
|
+
}],
|
|
717
|
+
children: pricing.formatted
|
|
718
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
719
|
+
style: [styles.planInterval, {
|
|
720
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
721
|
+
}],
|
|
722
|
+
children: t('premium.plan.perInterval', {
|
|
723
|
+
interval: pricing.interval
|
|
724
|
+
}) || `per ${pricing.interval}`
|
|
725
|
+
})]
|
|
726
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
727
|
+
style: styles.planFeatures,
|
|
728
|
+
children: plan.features.map((feature, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
729
|
+
style: styles.featureItem,
|
|
730
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
731
|
+
name: "checkmark",
|
|
732
|
+
size: 16,
|
|
733
|
+
color: successColor
|
|
734
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
735
|
+
style: [styles.featureText, {
|
|
736
|
+
color: textColor
|
|
737
|
+
}],
|
|
738
|
+
children: feature
|
|
739
|
+
})]
|
|
740
|
+
}, index))
|
|
741
|
+
}), isCurrentPlan ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
742
|
+
style: [styles.currentPlanButton, {
|
|
743
|
+
backgroundColor: successColor
|
|
744
|
+
}],
|
|
745
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
746
|
+
style: styles.currentPlanText,
|
|
747
|
+
children: t('premium.plan.current') || 'Current Plan'
|
|
748
|
+
})
|
|
749
|
+
}) : !availability.available ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
750
|
+
style: [styles.unavailablePlanButton, {
|
|
751
|
+
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
752
|
+
}],
|
|
753
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
754
|
+
style: [styles.unavailablePlanText, {
|
|
755
|
+
color: isDarkTheme ? '#888888' : '#999999'
|
|
756
|
+
}],
|
|
757
|
+
children: t('premium.plan.notAvailableInApp') || 'Not Available in Current App'
|
|
758
|
+
})
|
|
759
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
760
|
+
style: [styles.selectPlanButton, {
|
|
761
|
+
backgroundColor: plan.isPopular ? primaryColor : borderColor
|
|
762
|
+
}],
|
|
763
|
+
onPress: () => handleSubscribe(plan.id),
|
|
764
|
+
disabled: processingPayment,
|
|
765
|
+
children: processingPayment ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
766
|
+
color: "#FFFFFF",
|
|
767
|
+
size: "small"
|
|
768
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
769
|
+
style: [styles.selectPlanText, {
|
|
770
|
+
color: plan.isPopular ? '#FFFFFF' : textColor
|
|
771
|
+
}],
|
|
772
|
+
children: t('premium.actions.subscribeTo', {
|
|
773
|
+
name: plan.name
|
|
774
|
+
}) || `Subscribe to ${plan.name}`
|
|
775
|
+
})
|
|
776
|
+
})]
|
|
777
|
+
}, plan.id);
|
|
778
|
+
};
|
|
779
|
+
const renderTabNavigation = () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
780
|
+
style: styles.section,
|
|
781
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
782
|
+
style: [styles.tabContainer, {
|
|
783
|
+
borderBottomColor: borderColor
|
|
784
|
+
}],
|
|
785
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
786
|
+
style: [styles.tab, activeTab === 'plans' && {
|
|
787
|
+
borderBottomColor: primaryColor,
|
|
788
|
+
borderBottomWidth: 2
|
|
789
|
+
}],
|
|
790
|
+
onPress: () => setActiveTab('plans'),
|
|
791
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
792
|
+
style: [styles.tabText, {
|
|
793
|
+
color: activeTab === 'plans' ? primaryColor : textColor
|
|
794
|
+
}],
|
|
795
|
+
children: t('premium.tabs.plans') || 'Full Plans'
|
|
796
|
+
})
|
|
797
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
798
|
+
style: [styles.tab, activeTab === 'features' && {
|
|
799
|
+
borderBottomColor: primaryColor,
|
|
800
|
+
borderBottomWidth: 2
|
|
801
|
+
}],
|
|
802
|
+
onPress: () => setActiveTab('features'),
|
|
803
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
804
|
+
style: [styles.tabText, {
|
|
805
|
+
color: activeTab === 'features' ? primaryColor : textColor
|
|
806
|
+
}],
|
|
807
|
+
children: t('premium.tabs.features') || 'Individual Features'
|
|
808
|
+
})
|
|
809
|
+
})]
|
|
810
|
+
})
|
|
811
|
+
});
|
|
812
|
+
const renderFeatureCard = feature => {
|
|
813
|
+
const pricing = formatPrice(feature.price, feature.currency, feature.interval);
|
|
814
|
+
const isSubscribed = feature.isSubscribed;
|
|
815
|
+
const isIncludedInCurrentPlan = feature.isIncludedInCurrentPlan;
|
|
816
|
+
const canPurchase = feature.canBePurchasedSeparately && !isIncludedInCurrentPlan;
|
|
817
|
+
const getCategoryColor = category => {
|
|
818
|
+
switch (category) {
|
|
819
|
+
case 'analytics':
|
|
820
|
+
return '#FF9500';
|
|
821
|
+
case 'customization':
|
|
822
|
+
return '#5856D6';
|
|
823
|
+
case 'content':
|
|
824
|
+
return '#30D158';
|
|
825
|
+
case 'networking':
|
|
826
|
+
return '#007AFF';
|
|
827
|
+
case 'productivity':
|
|
828
|
+
return '#FF3B30';
|
|
829
|
+
default:
|
|
830
|
+
return primaryColor;
|
|
831
|
+
}
|
|
832
|
+
};
|
|
833
|
+
const getCategoryIcon = category => {
|
|
834
|
+
switch (category) {
|
|
835
|
+
case 'analytics':
|
|
836
|
+
return 'analytics';
|
|
837
|
+
case 'customization':
|
|
838
|
+
return 'color-palette';
|
|
839
|
+
case 'content':
|
|
840
|
+
return 'document-text';
|
|
841
|
+
case 'networking':
|
|
842
|
+
return 'people';
|
|
843
|
+
case 'productivity':
|
|
844
|
+
return 'briefcase';
|
|
845
|
+
default:
|
|
846
|
+
return 'star';
|
|
847
|
+
}
|
|
848
|
+
};
|
|
849
|
+
const getAppScopeText = () => {
|
|
850
|
+
if (feature.appScope === 'ecosystem') {
|
|
851
|
+
return t('premium.feature.scope.allApps');
|
|
852
|
+
} else {
|
|
853
|
+
return t('premium.feature.scope.availableIn', {
|
|
854
|
+
apps: feature.applicableApps.join(', ')
|
|
855
|
+
}) || `Available in: ${feature.applicableApps.join(', ')}`;
|
|
856
|
+
}
|
|
857
|
+
};
|
|
858
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
859
|
+
style: [styles.featureCard, {
|
|
860
|
+
backgroundColor: secondaryBackgroundColor,
|
|
861
|
+
borderColor
|
|
862
|
+
}, isSubscribed && {
|
|
863
|
+
borderColor: successColor,
|
|
864
|
+
borderWidth: 2
|
|
865
|
+
}, isIncludedInCurrentPlan && {
|
|
866
|
+
borderColor: primaryColor,
|
|
867
|
+
borderWidth: 2
|
|
868
|
+
}],
|
|
869
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
870
|
+
style: styles.featureHeader,
|
|
871
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
872
|
+
style: styles.featureIconContainer,
|
|
873
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
874
|
+
name: getCategoryIcon(feature.category),
|
|
875
|
+
size: 24,
|
|
876
|
+
color: getCategoryColor(feature.category)
|
|
877
|
+
})
|
|
878
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
879
|
+
style: styles.featureInfo,
|
|
880
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
881
|
+
style: styles.featureNameRow,
|
|
882
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
883
|
+
style: [styles.featureName, {
|
|
884
|
+
color: textColor
|
|
885
|
+
}],
|
|
886
|
+
children: feature.name
|
|
887
|
+
}), isIncludedInCurrentPlan && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
888
|
+
style: [styles.includedBadge, {
|
|
889
|
+
backgroundColor: primaryColor
|
|
890
|
+
}],
|
|
891
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
892
|
+
style: styles.includedBadgeText,
|
|
893
|
+
children: "Included"
|
|
894
|
+
})
|
|
895
|
+
})]
|
|
896
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
897
|
+
style: [styles.featureDescription, {
|
|
898
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
899
|
+
}],
|
|
900
|
+
children: feature.description
|
|
901
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
902
|
+
style: [styles.appScopeText, {
|
|
903
|
+
color: isDarkTheme ? '#888888' : '#999999'
|
|
904
|
+
}],
|
|
905
|
+
children: getAppScopeText()
|
|
906
|
+
})]
|
|
907
|
+
})]
|
|
908
|
+
}), !isIncludedInCurrentPlan && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
909
|
+
style: styles.featurePricing,
|
|
910
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
911
|
+
style: [styles.featurePrice, {
|
|
912
|
+
color: textColor
|
|
913
|
+
}],
|
|
914
|
+
children: pricing.formatted
|
|
915
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
916
|
+
style: [styles.featureInterval, {
|
|
917
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
918
|
+
}],
|
|
919
|
+
children: t('premium.plan.perInterval', {
|
|
920
|
+
interval: pricing.interval
|
|
921
|
+
}) || `per ${pricing.interval}`
|
|
922
|
+
})]
|
|
923
|
+
}), isIncludedInCurrentPlan ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
924
|
+
style: [styles.includedInPlanButton, {
|
|
925
|
+
backgroundColor: primaryColor
|
|
926
|
+
}],
|
|
927
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
928
|
+
name: "checkmark-circle",
|
|
929
|
+
size: 16,
|
|
930
|
+
color: "#FFFFFF"
|
|
931
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
932
|
+
style: styles.includedInPlanText,
|
|
933
|
+
children: t('premium.feature.includedInPlan') || 'Included in your plan'
|
|
934
|
+
})]
|
|
935
|
+
}) : isSubscribed ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
936
|
+
style: styles.featureActions,
|
|
937
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
938
|
+
style: [styles.subscribedButton, {
|
|
939
|
+
backgroundColor: successColor
|
|
940
|
+
}],
|
|
941
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
942
|
+
name: "checkmark",
|
|
943
|
+
size: 16,
|
|
944
|
+
color: "#FFFFFF"
|
|
945
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
946
|
+
style: styles.subscribedText,
|
|
947
|
+
children: t('premium.feature.subscribed') || 'Subscribed'
|
|
948
|
+
})]
|
|
949
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
950
|
+
style: [styles.unsubscribeButton, {
|
|
951
|
+
borderColor: dangerColor
|
|
952
|
+
}],
|
|
953
|
+
onPress: () => handleFeatureUnsubscribe(feature.id),
|
|
954
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
955
|
+
style: [styles.unsubscribeText, {
|
|
956
|
+
color: dangerColor
|
|
957
|
+
}],
|
|
958
|
+
children: t('premium.actions.unsubscribe') || 'Unsubscribe'
|
|
959
|
+
})
|
|
960
|
+
})]
|
|
961
|
+
}) : canPurchase ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
962
|
+
style: [styles.subscribeFeatureButton, {
|
|
963
|
+
backgroundColor: primaryColor
|
|
964
|
+
}],
|
|
965
|
+
onPress: () => handleFeatureSubscribe(feature.id),
|
|
966
|
+
disabled: processingPayment,
|
|
967
|
+
children: processingPayment ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
968
|
+
color: "#FFFFFF",
|
|
969
|
+
size: "small"
|
|
970
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
971
|
+
style: styles.subscribeFeatureText,
|
|
972
|
+
children: t('premium.actions.subscribe') || 'Subscribe'
|
|
973
|
+
})
|
|
974
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
975
|
+
style: [styles.unavailableButton, {
|
|
976
|
+
backgroundColor: isDarkTheme ? '#444444' : '#E0E0E0'
|
|
977
|
+
}],
|
|
978
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
979
|
+
style: [styles.unavailableText, {
|
|
980
|
+
color: isDarkTheme ? '#888888' : '#999999'
|
|
981
|
+
}],
|
|
982
|
+
children: "Only available in subscription plans"
|
|
983
|
+
})
|
|
984
|
+
})]
|
|
985
|
+
}, feature.id);
|
|
986
|
+
};
|
|
987
|
+
const renderIndividualFeatures = () => {
|
|
988
|
+
const categories = ['analytics', 'customization', 'content', 'networking', 'productivity'];
|
|
989
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
990
|
+
style: styles.section,
|
|
991
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
992
|
+
style: [styles.sectionTitle, {
|
|
993
|
+
color: textColor
|
|
994
|
+
}],
|
|
995
|
+
children: "Individual Features"
|
|
996
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
997
|
+
style: [styles.sectionSubtitle, {
|
|
998
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
999
|
+
}],
|
|
1000
|
+
children: "Subscribe to specific features you need. Some features are included in subscription plans."
|
|
1001
|
+
}), categories.map(category => {
|
|
1002
|
+
const categoryFeatures = individualFeatures.filter(f => f.category === category);
|
|
1003
|
+
if (categoryFeatures.length === 0) return null;
|
|
1004
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1005
|
+
style: styles.categorySection,
|
|
1006
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1007
|
+
style: [styles.categoryTitle, {
|
|
1008
|
+
color: textColor
|
|
1009
|
+
}],
|
|
1010
|
+
children: category.charAt(0).toUpperCase() + category.slice(1)
|
|
1011
|
+
}), categoryFeatures.map(renderFeatureCard)]
|
|
1012
|
+
}, category);
|
|
1013
|
+
})]
|
|
1014
|
+
});
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
// Add this for testing different app contexts (remove in production)
|
|
1018
|
+
const [showAppSwitcher, setShowAppSwitcher] = (0, _react.useState)(__DEV__); // Only show in development
|
|
1019
|
+
|
|
1020
|
+
const renderAppSwitcher = () => {
|
|
1021
|
+
if (!showAppSwitcher) return null;
|
|
1022
|
+
const testApps = ['mention', 'oxy-social', 'oxy-workspace', 'oxy-creator'];
|
|
1023
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1024
|
+
style: [styles.appSwitcher, {
|
|
1025
|
+
backgroundColor: isDarkTheme ? '#333333' : '#F0F0F0',
|
|
1026
|
+
borderColor
|
|
1027
|
+
}],
|
|
1028
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1029
|
+
style: [styles.appSwitcherTitle, {
|
|
1030
|
+
color: textColor
|
|
1031
|
+
}],
|
|
1032
|
+
children: "\uD83E\uDDEA Test App Context (Dev Only)"
|
|
1033
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
1034
|
+
horizontal: true,
|
|
1035
|
+
showsHorizontalScrollIndicator: false,
|
|
1036
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1037
|
+
style: styles.appSwitcherButtons,
|
|
1038
|
+
children: testApps.map(app => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1039
|
+
style: [styles.appSwitcherButton, {
|
|
1040
|
+
backgroundColor: currentAppPackage === app ? primaryColor : 'transparent',
|
|
1041
|
+
borderColor: primaryColor
|
|
1042
|
+
}],
|
|
1043
|
+
onPress: () => {
|
|
1044
|
+
setCurrentAppPackage(app);
|
|
1045
|
+
},
|
|
1046
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1047
|
+
style: [styles.appSwitcherButtonText, {
|
|
1048
|
+
color: currentAppPackage === app ? '#FFFFFF' : textColor
|
|
1049
|
+
}],
|
|
1050
|
+
children: app
|
|
1051
|
+
})
|
|
1052
|
+
}, app))
|
|
1053
|
+
})
|
|
1054
|
+
})]
|
|
1055
|
+
});
|
|
1056
|
+
};
|
|
1057
|
+
if (loading) {
|
|
1058
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1059
|
+
style: [styles.container, {
|
|
1060
|
+
backgroundColor,
|
|
1061
|
+
justifyContent: 'center'
|
|
1062
|
+
}],
|
|
1063
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1064
|
+
size: "large",
|
|
1065
|
+
color: primaryColor
|
|
1066
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1067
|
+
style: [styles.loadingText, {
|
|
1068
|
+
color: textColor
|
|
1069
|
+
}],
|
|
1070
|
+
children: t('premium.loading') || 'Loading subscription plans...'
|
|
1071
|
+
})]
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1075
|
+
style: [styles.container, {
|
|
1076
|
+
backgroundColor
|
|
1077
|
+
}],
|
|
1078
|
+
children: [renderHeader(), renderAppSwitcher(), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
1079
|
+
style: styles.content,
|
|
1080
|
+
showsVerticalScrollIndicator: false,
|
|
1081
|
+
children: [subscription && renderCurrentSubscription(), !subscription && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1082
|
+
style: styles.section,
|
|
1083
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1084
|
+
style: [styles.sectionTitle, {
|
|
1085
|
+
color: textColor
|
|
1086
|
+
}],
|
|
1087
|
+
children: t('premium.choosePlan') || 'Choose Your Plan'
|
|
1088
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1089
|
+
style: [styles.sectionSubtitle, {
|
|
1090
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1091
|
+
}],
|
|
1092
|
+
children: t('premium.choosePlanSubtitle') || 'Unlock premium features and take your experience to the next level'
|
|
1093
|
+
})]
|
|
1094
|
+
}), !subscription && renderTabNavigation(), !subscription && activeTab === 'plans' && renderBillingToggle(), activeTab === 'plans' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1095
|
+
style: styles.section,
|
|
1096
|
+
children: [!subscription && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1097
|
+
style: [styles.sectionTitle, {
|
|
1098
|
+
color: textColor
|
|
1099
|
+
}],
|
|
1100
|
+
children: t('premium.availablePlans') || 'Available Plans'
|
|
1101
|
+
}), plans.map(renderPlanCard)]
|
|
1102
|
+
}) : renderIndividualFeatures(), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1103
|
+
style: styles.section,
|
|
1104
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1105
|
+
style: [styles.sectionTitle, {
|
|
1106
|
+
color: textColor
|
|
1107
|
+
}],
|
|
1108
|
+
children: t('premium.why') || 'Why Go Premium?'
|
|
1109
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1110
|
+
style: [styles.benefitsCard, {
|
|
1111
|
+
backgroundColor: secondaryBackgroundColor,
|
|
1112
|
+
borderColor
|
|
1113
|
+
}],
|
|
1114
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1115
|
+
style: styles.benefitItem,
|
|
1116
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1117
|
+
name: "flash",
|
|
1118
|
+
size: 24,
|
|
1119
|
+
color: primaryColor
|
|
1120
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1121
|
+
style: styles.benefitContent,
|
|
1122
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1123
|
+
style: [styles.benefitTitle, {
|
|
1124
|
+
color: textColor
|
|
1125
|
+
}],
|
|
1126
|
+
children: t('premium.benefits.performance.title') || 'Enhanced Performance'
|
|
1127
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1128
|
+
style: [styles.benefitDescription, {
|
|
1129
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1130
|
+
}],
|
|
1131
|
+
children: t('premium.benefits.performance.desc') || 'Faster processing and priority access to our servers'
|
|
1132
|
+
})]
|
|
1133
|
+
})]
|
|
1134
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1135
|
+
style: styles.benefitItem,
|
|
1136
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1137
|
+
name: "shield-checkmark",
|
|
1138
|
+
size: 24,
|
|
1139
|
+
color: successColor
|
|
1140
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1141
|
+
style: styles.benefitContent,
|
|
1142
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1143
|
+
style: [styles.benefitTitle, {
|
|
1144
|
+
color: textColor
|
|
1145
|
+
}],
|
|
1146
|
+
children: t('premium.benefits.security.title') || 'Advanced Security'
|
|
1147
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1148
|
+
style: [styles.benefitDescription, {
|
|
1149
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1150
|
+
}],
|
|
1151
|
+
children: t('premium.benefits.security.desc') || 'Enhanced encryption and security features'
|
|
1152
|
+
})]
|
|
1153
|
+
})]
|
|
1154
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1155
|
+
style: styles.benefitItem,
|
|
1156
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1157
|
+
name: "headset",
|
|
1158
|
+
size: 24,
|
|
1159
|
+
color: warningColor
|
|
1160
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1161
|
+
style: styles.benefitContent,
|
|
1162
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1163
|
+
style: [styles.benefitTitle, {
|
|
1164
|
+
color: textColor
|
|
1165
|
+
}],
|
|
1166
|
+
children: t('premium.benefits.support.title') || 'Priority Support'
|
|
1167
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1168
|
+
style: [styles.benefitDescription, {
|
|
1169
|
+
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
1170
|
+
}],
|
|
1171
|
+
children: t('premium.benefits.support.desc') || 'Get help faster with our premium support team'
|
|
1172
|
+
})]
|
|
1173
|
+
})]
|
|
1174
|
+
})]
|
|
1175
|
+
})]
|
|
1176
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1177
|
+
style: styles.bottomSpacing
|
|
1178
|
+
})]
|
|
1179
|
+
})]
|
|
1180
|
+
});
|
|
1181
|
+
};
|
|
1182
|
+
const styles = _reactNative.StyleSheet.create({
|
|
1183
|
+
container: {
|
|
1184
|
+
flex: 1
|
|
1185
|
+
},
|
|
1186
|
+
header: {
|
|
1187
|
+
flexDirection: 'row',
|
|
1188
|
+
alignItems: 'center',
|
|
1189
|
+
justifyContent: 'space-between',
|
|
1190
|
+
paddingHorizontal: 20,
|
|
1191
|
+
paddingTop: 20,
|
|
1192
|
+
paddingBottom: 16,
|
|
1193
|
+
borderBottomWidth: 1
|
|
1194
|
+
},
|
|
1195
|
+
backButton: {
|
|
1196
|
+
padding: 8
|
|
1197
|
+
},
|
|
1198
|
+
headerTitle: {
|
|
1199
|
+
fontSize: 20,
|
|
1200
|
+
fontWeight: '600',
|
|
1201
|
+
fontFamily: _fonts.fontFamilies.phuduSemiBold
|
|
1202
|
+
},
|
|
1203
|
+
headerTitleContainer: {
|
|
1204
|
+
flex: 1,
|
|
1205
|
+
alignItems: 'center'
|
|
1206
|
+
},
|
|
1207
|
+
currentAppText: {
|
|
1208
|
+
fontSize: 14,
|
|
1209
|
+
marginTop: 2,
|
|
1210
|
+
fontStyle: 'italic'
|
|
1211
|
+
},
|
|
1212
|
+
closeButton: {
|
|
1213
|
+
padding: 8
|
|
1214
|
+
},
|
|
1215
|
+
content: {
|
|
1216
|
+
flex: 1
|
|
1217
|
+
},
|
|
1218
|
+
section: {
|
|
1219
|
+
padding: 20
|
|
1220
|
+
},
|
|
1221
|
+
sectionTitle: {
|
|
1222
|
+
fontSize: 24,
|
|
1223
|
+
fontWeight: 'bold',
|
|
1224
|
+
fontFamily: _fonts.fontFamilies.phuduBold,
|
|
1225
|
+
marginBottom: 8
|
|
1226
|
+
},
|
|
1227
|
+
sectionSubtitle: {
|
|
1228
|
+
fontSize: 16,
|
|
1229
|
+
lineHeight: 22
|
|
1230
|
+
},
|
|
1231
|
+
loadingText: {
|
|
1232
|
+
fontSize: 16,
|
|
1233
|
+
textAlign: 'center',
|
|
1234
|
+
marginTop: 16
|
|
1235
|
+
},
|
|
1236
|
+
currentSubscriptionCard: {
|
|
1237
|
+
borderRadius: 16,
|
|
1238
|
+
padding: 20,
|
|
1239
|
+
borderWidth: 1
|
|
1240
|
+
},
|
|
1241
|
+
subscriptionHeader: {
|
|
1242
|
+
flexDirection: 'row',
|
|
1243
|
+
justifyContent: 'space-between',
|
|
1244
|
+
alignItems: 'flex-start',
|
|
1245
|
+
marginBottom: 12
|
|
1246
|
+
},
|
|
1247
|
+
planName: {
|
|
1248
|
+
fontSize: 20,
|
|
1249
|
+
fontWeight: 'bold',
|
|
1250
|
+
marginBottom: 4
|
|
1251
|
+
},
|
|
1252
|
+
planPrice: {
|
|
1253
|
+
fontSize: 16,
|
|
1254
|
+
fontWeight: '600'
|
|
1255
|
+
},
|
|
1256
|
+
statusBadge: {
|
|
1257
|
+
paddingHorizontal: 12,
|
|
1258
|
+
paddingVertical: 4,
|
|
1259
|
+
borderRadius: 12
|
|
1260
|
+
},
|
|
1261
|
+
statusText: {
|
|
1262
|
+
color: '#FFFFFF',
|
|
1263
|
+
fontSize: 12,
|
|
1264
|
+
fontWeight: '600'
|
|
1265
|
+
},
|
|
1266
|
+
subscriptionDetail: {
|
|
1267
|
+
fontSize: 14,
|
|
1268
|
+
marginBottom: 16
|
|
1269
|
+
},
|
|
1270
|
+
cancelNotice: {
|
|
1271
|
+
flexDirection: 'row',
|
|
1272
|
+
alignItems: 'center',
|
|
1273
|
+
padding: 12,
|
|
1274
|
+
backgroundColor: 'rgba(255, 149, 0, 0.1)',
|
|
1275
|
+
borderRadius: 8,
|
|
1276
|
+
marginBottom: 16
|
|
1277
|
+
},
|
|
1278
|
+
cancelText: {
|
|
1279
|
+
fontSize: 14,
|
|
1280
|
+
marginLeft: 8,
|
|
1281
|
+
flex: 1
|
|
1282
|
+
},
|
|
1283
|
+
subscriptionActions: {
|
|
1284
|
+
flexDirection: 'row',
|
|
1285
|
+
gap: 12
|
|
1286
|
+
},
|
|
1287
|
+
actionButton: {
|
|
1288
|
+
flex: 1,
|
|
1289
|
+
paddingVertical: 12,
|
|
1290
|
+
paddingHorizontal: 16,
|
|
1291
|
+
borderRadius: 8,
|
|
1292
|
+
alignItems: 'center'
|
|
1293
|
+
},
|
|
1294
|
+
secondaryButton: {
|
|
1295
|
+
backgroundColor: 'transparent',
|
|
1296
|
+
borderWidth: 1
|
|
1297
|
+
},
|
|
1298
|
+
actionButtonText: {
|
|
1299
|
+
color: '#FFFFFF',
|
|
1300
|
+
fontSize: 14,
|
|
1301
|
+
fontWeight: '600'
|
|
1302
|
+
},
|
|
1303
|
+
billingToggle: {
|
|
1304
|
+
flexDirection: 'row',
|
|
1305
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
1306
|
+
borderRadius: 8,
|
|
1307
|
+
padding: 4,
|
|
1308
|
+
marginBottom: 12
|
|
1309
|
+
},
|
|
1310
|
+
billingOption: {
|
|
1311
|
+
flex: 1,
|
|
1312
|
+
paddingVertical: 12,
|
|
1313
|
+
borderRadius: 6,
|
|
1314
|
+
alignItems: 'center'
|
|
1315
|
+
},
|
|
1316
|
+
billingOptionText: {
|
|
1317
|
+
fontSize: 16,
|
|
1318
|
+
fontWeight: '600'
|
|
1319
|
+
},
|
|
1320
|
+
savingsText: {
|
|
1321
|
+
fontSize: 14,
|
|
1322
|
+
textAlign: 'center',
|
|
1323
|
+
fontWeight: '600'
|
|
1324
|
+
},
|
|
1325
|
+
planCard: {
|
|
1326
|
+
borderRadius: 16,
|
|
1327
|
+
padding: 20,
|
|
1328
|
+
marginBottom: 16,
|
|
1329
|
+
borderWidth: 1,
|
|
1330
|
+
position: 'relative'
|
|
1331
|
+
},
|
|
1332
|
+
popularPlan: {
|
|
1333
|
+
borderWidth: 2
|
|
1334
|
+
},
|
|
1335
|
+
popularBadge: {
|
|
1336
|
+
position: 'absolute',
|
|
1337
|
+
top: -1,
|
|
1338
|
+
left: 20,
|
|
1339
|
+
right: 20,
|
|
1340
|
+
paddingVertical: 8,
|
|
1341
|
+
borderTopLeftRadius: 16,
|
|
1342
|
+
borderTopRightRadius: 16,
|
|
1343
|
+
alignItems: 'center'
|
|
1344
|
+
},
|
|
1345
|
+
popularText: {
|
|
1346
|
+
color: '#FFFFFF',
|
|
1347
|
+
fontSize: 12,
|
|
1348
|
+
fontWeight: 'bold'
|
|
1349
|
+
},
|
|
1350
|
+
planHeader: {
|
|
1351
|
+
marginBottom: 16,
|
|
1352
|
+
marginTop: 16
|
|
1353
|
+
},
|
|
1354
|
+
planDescription: {
|
|
1355
|
+
fontSize: 14,
|
|
1356
|
+
lineHeight: 20
|
|
1357
|
+
},
|
|
1358
|
+
planAppScope: {
|
|
1359
|
+
fontSize: 12,
|
|
1360
|
+
fontStyle: 'italic',
|
|
1361
|
+
marginTop: 4
|
|
1362
|
+
},
|
|
1363
|
+
planPricing: {
|
|
1364
|
+
flexDirection: 'row',
|
|
1365
|
+
alignItems: 'baseline',
|
|
1366
|
+
marginBottom: 20
|
|
1367
|
+
},
|
|
1368
|
+
planInterval: {
|
|
1369
|
+
fontSize: 14,
|
|
1370
|
+
marginLeft: 4
|
|
1371
|
+
},
|
|
1372
|
+
planFeatures: {
|
|
1373
|
+
marginBottom: 24
|
|
1374
|
+
},
|
|
1375
|
+
featureItem: {
|
|
1376
|
+
flexDirection: 'row',
|
|
1377
|
+
alignItems: 'center',
|
|
1378
|
+
marginBottom: 8
|
|
1379
|
+
},
|
|
1380
|
+
featureText: {
|
|
1381
|
+
fontSize: 14,
|
|
1382
|
+
marginLeft: 8,
|
|
1383
|
+
flex: 1
|
|
1384
|
+
},
|
|
1385
|
+
selectPlanButton: {
|
|
1386
|
+
paddingVertical: 16,
|
|
1387
|
+
borderRadius: 12,
|
|
1388
|
+
alignItems: 'center'
|
|
1389
|
+
},
|
|
1390
|
+
selectPlanText: {
|
|
1391
|
+
fontSize: 16,
|
|
1392
|
+
fontWeight: '600'
|
|
1393
|
+
},
|
|
1394
|
+
currentPlanButton: {
|
|
1395
|
+
paddingVertical: 16,
|
|
1396
|
+
borderRadius: 12,
|
|
1397
|
+
alignItems: 'center'
|
|
1398
|
+
},
|
|
1399
|
+
currentPlanText: {
|
|
1400
|
+
color: '#FFFFFF',
|
|
1401
|
+
fontSize: 16,
|
|
1402
|
+
fontWeight: '600'
|
|
1403
|
+
},
|
|
1404
|
+
benefitsCard: {
|
|
1405
|
+
borderRadius: 16,
|
|
1406
|
+
padding: 20,
|
|
1407
|
+
borderWidth: 1
|
|
1408
|
+
},
|
|
1409
|
+
benefitItem: {
|
|
1410
|
+
flexDirection: 'row',
|
|
1411
|
+
alignItems: 'flex-start',
|
|
1412
|
+
marginBottom: 20
|
|
1413
|
+
},
|
|
1414
|
+
benefitContent: {
|
|
1415
|
+
marginLeft: 16,
|
|
1416
|
+
flex: 1
|
|
1417
|
+
},
|
|
1418
|
+
benefitTitle: {
|
|
1419
|
+
fontSize: 16,
|
|
1420
|
+
fontWeight: '600',
|
|
1421
|
+
marginBottom: 4
|
|
1422
|
+
},
|
|
1423
|
+
benefitDescription: {
|
|
1424
|
+
fontSize: 14,
|
|
1425
|
+
lineHeight: 20
|
|
1426
|
+
},
|
|
1427
|
+
bottomSpacing: {
|
|
1428
|
+
height: 40
|
|
1429
|
+
},
|
|
1430
|
+
// Tab Navigation Styles
|
|
1431
|
+
tabContainer: {
|
|
1432
|
+
flexDirection: 'row',
|
|
1433
|
+
borderBottomWidth: 1,
|
|
1434
|
+
marginBottom: 20
|
|
1435
|
+
},
|
|
1436
|
+
tab: {
|
|
1437
|
+
flex: 1,
|
|
1438
|
+
paddingVertical: 12,
|
|
1439
|
+
paddingHorizontal: 16,
|
|
1440
|
+
alignItems: 'center'
|
|
1441
|
+
},
|
|
1442
|
+
tabText: {
|
|
1443
|
+
fontSize: 16,
|
|
1444
|
+
fontWeight: '600'
|
|
1445
|
+
},
|
|
1446
|
+
// Individual Feature Styles
|
|
1447
|
+
featureCard: {
|
|
1448
|
+
borderRadius: 12,
|
|
1449
|
+
borderWidth: 1,
|
|
1450
|
+
padding: 16,
|
|
1451
|
+
marginBottom: 12
|
|
1452
|
+
},
|
|
1453
|
+
featureHeader: {
|
|
1454
|
+
flexDirection: 'row',
|
|
1455
|
+
alignItems: 'flex-start',
|
|
1456
|
+
marginBottom: 12
|
|
1457
|
+
},
|
|
1458
|
+
featureIconContainer: {
|
|
1459
|
+
width: 40,
|
|
1460
|
+
height: 40,
|
|
1461
|
+
borderRadius: 20,
|
|
1462
|
+
backgroundColor: 'rgba(0, 122, 255, 0.1)',
|
|
1463
|
+
justifyContent: 'center',
|
|
1464
|
+
alignItems: 'center',
|
|
1465
|
+
marginRight: 12
|
|
1466
|
+
},
|
|
1467
|
+
featureInfo: {
|
|
1468
|
+
flex: 1
|
|
1469
|
+
},
|
|
1470
|
+
featureName: {
|
|
1471
|
+
fontSize: 16,
|
|
1472
|
+
fontWeight: '600',
|
|
1473
|
+
marginBottom: 4
|
|
1474
|
+
},
|
|
1475
|
+
featureDescription: {
|
|
1476
|
+
fontSize: 14,
|
|
1477
|
+
lineHeight: 20
|
|
1478
|
+
},
|
|
1479
|
+
featurePricing: {
|
|
1480
|
+
alignItems: 'center',
|
|
1481
|
+
marginBottom: 16
|
|
1482
|
+
},
|
|
1483
|
+
featurePrice: {
|
|
1484
|
+
fontSize: 20,
|
|
1485
|
+
fontWeight: 'bold'
|
|
1486
|
+
},
|
|
1487
|
+
featureInterval: {
|
|
1488
|
+
fontSize: 14,
|
|
1489
|
+
marginTop: 2
|
|
1490
|
+
},
|
|
1491
|
+
featureActions: {
|
|
1492
|
+
flexDirection: 'row',
|
|
1493
|
+
gap: 8
|
|
1494
|
+
},
|
|
1495
|
+
subscribedButton: {
|
|
1496
|
+
flex: 1,
|
|
1497
|
+
flexDirection: 'row',
|
|
1498
|
+
justifyContent: 'center',
|
|
1499
|
+
alignItems: 'center',
|
|
1500
|
+
paddingVertical: 12,
|
|
1501
|
+
borderRadius: 8,
|
|
1502
|
+
gap: 6
|
|
1503
|
+
},
|
|
1504
|
+
subscribedText: {
|
|
1505
|
+
color: '#FFFFFF',
|
|
1506
|
+
fontSize: 16,
|
|
1507
|
+
fontWeight: '600'
|
|
1508
|
+
},
|
|
1509
|
+
unsubscribeButton: {
|
|
1510
|
+
flex: 1,
|
|
1511
|
+
justifyContent: 'center',
|
|
1512
|
+
alignItems: 'center',
|
|
1513
|
+
paddingVertical: 12,
|
|
1514
|
+
borderRadius: 8,
|
|
1515
|
+
borderWidth: 1
|
|
1516
|
+
},
|
|
1517
|
+
unsubscribeText: {
|
|
1518
|
+
fontSize: 16,
|
|
1519
|
+
fontWeight: '600'
|
|
1520
|
+
},
|
|
1521
|
+
subscribeFeatureButton: {
|
|
1522
|
+
justifyContent: 'center',
|
|
1523
|
+
alignItems: 'center',
|
|
1524
|
+
paddingVertical: 12,
|
|
1525
|
+
borderRadius: 8
|
|
1526
|
+
},
|
|
1527
|
+
subscribeFeatureText: {
|
|
1528
|
+
color: '#FFFFFF',
|
|
1529
|
+
fontSize: 16,
|
|
1530
|
+
fontWeight: '600'
|
|
1531
|
+
},
|
|
1532
|
+
categorySection: {
|
|
1533
|
+
marginBottom: 24
|
|
1534
|
+
},
|
|
1535
|
+
categoryTitle: {
|
|
1536
|
+
fontSize: 18,
|
|
1537
|
+
fontWeight: '600',
|
|
1538
|
+
marginBottom: 12
|
|
1539
|
+
},
|
|
1540
|
+
// New styles for enhanced feature cards
|
|
1541
|
+
featureNameRow: {
|
|
1542
|
+
flexDirection: 'row',
|
|
1543
|
+
alignItems: 'center',
|
|
1544
|
+
justifyContent: 'space-between',
|
|
1545
|
+
marginBottom: 4
|
|
1546
|
+
},
|
|
1547
|
+
includedBadge: {
|
|
1548
|
+
paddingHorizontal: 8,
|
|
1549
|
+
paddingVertical: 2,
|
|
1550
|
+
borderRadius: 12,
|
|
1551
|
+
marginLeft: 8
|
|
1552
|
+
},
|
|
1553
|
+
includedBadgeText: {
|
|
1554
|
+
color: '#FFFFFF',
|
|
1555
|
+
fontSize: 10,
|
|
1556
|
+
fontWeight: '600',
|
|
1557
|
+
textTransform: 'uppercase'
|
|
1558
|
+
},
|
|
1559
|
+
appScopeText: {
|
|
1560
|
+
fontSize: 12,
|
|
1561
|
+
marginTop: 4,
|
|
1562
|
+
fontStyle: 'italic'
|
|
1563
|
+
},
|
|
1564
|
+
includedInPlanButton: {
|
|
1565
|
+
flexDirection: 'row',
|
|
1566
|
+
justifyContent: 'center',
|
|
1567
|
+
alignItems: 'center',
|
|
1568
|
+
paddingVertical: 12,
|
|
1569
|
+
borderRadius: 8,
|
|
1570
|
+
gap: 6
|
|
1571
|
+
},
|
|
1572
|
+
includedInPlanText: {
|
|
1573
|
+
color: '#FFFFFF',
|
|
1574
|
+
fontSize: 14,
|
|
1575
|
+
fontWeight: '600'
|
|
1576
|
+
},
|
|
1577
|
+
unavailableButton: {
|
|
1578
|
+
justifyContent: 'center',
|
|
1579
|
+
alignItems: 'center',
|
|
1580
|
+
paddingVertical: 12,
|
|
1581
|
+
borderRadius: 8
|
|
1582
|
+
},
|
|
1583
|
+
unavailableText: {
|
|
1584
|
+
fontSize: 14,
|
|
1585
|
+
fontWeight: '500',
|
|
1586
|
+
textAlign: 'center'
|
|
1587
|
+
},
|
|
1588
|
+
// App-specific plan styles
|
|
1589
|
+
appSpecificBadge: {
|
|
1590
|
+
position: 'absolute',
|
|
1591
|
+
top: 16,
|
|
1592
|
+
right: 16,
|
|
1593
|
+
paddingHorizontal: 8,
|
|
1594
|
+
paddingVertical: 4,
|
|
1595
|
+
borderRadius: 12,
|
|
1596
|
+
zIndex: 1
|
|
1597
|
+
},
|
|
1598
|
+
appSpecificText: {
|
|
1599
|
+
color: '#FFFFFF',
|
|
1600
|
+
fontSize: 12,
|
|
1601
|
+
fontWeight: '600'
|
|
1602
|
+
},
|
|
1603
|
+
planRestrictionText: {
|
|
1604
|
+
fontSize: 12,
|
|
1605
|
+
fontWeight: '500',
|
|
1606
|
+
marginTop: 4,
|
|
1607
|
+
fontStyle: 'italic'
|
|
1608
|
+
},
|
|
1609
|
+
unavailablePlanButton: {
|
|
1610
|
+
paddingVertical: 16,
|
|
1611
|
+
borderRadius: 12,
|
|
1612
|
+
alignItems: 'center'
|
|
1613
|
+
},
|
|
1614
|
+
unavailablePlanText: {
|
|
1615
|
+
fontSize: 16,
|
|
1616
|
+
fontWeight: '600'
|
|
1617
|
+
},
|
|
1618
|
+
// App switcher styles (for development/testing)
|
|
1619
|
+
appSwitcher: {
|
|
1620
|
+
padding: 16,
|
|
1621
|
+
borderBottomWidth: 1,
|
|
1622
|
+
margin: 16,
|
|
1623
|
+
borderRadius: 12,
|
|
1624
|
+
borderWidth: 1
|
|
1625
|
+
},
|
|
1626
|
+
appSwitcherTitle: {
|
|
1627
|
+
fontSize: 14,
|
|
1628
|
+
fontWeight: '600',
|
|
1629
|
+
marginBottom: 12
|
|
1630
|
+
},
|
|
1631
|
+
appSwitcherButtons: {
|
|
1632
|
+
flexDirection: 'row',
|
|
1633
|
+
gap: 8
|
|
1634
|
+
},
|
|
1635
|
+
appSwitcherButton: {
|
|
1636
|
+
paddingHorizontal: 12,
|
|
1637
|
+
paddingVertical: 6,
|
|
1638
|
+
borderRadius: 8,
|
|
1639
|
+
borderWidth: 1
|
|
1640
|
+
},
|
|
1641
|
+
appSwitcherButtonText: {
|
|
1642
|
+
fontSize: 12,
|
|
1643
|
+
fontWeight: '500'
|
|
1644
|
+
}
|
|
1645
|
+
});
|
|
1646
|
+
var _default = exports.default = PremiumSubscriptionScreen;
|
|
1647
|
+
//# sourceMappingURL=PremiumSubscriptionScreen.js.map
|