@oxyhq/services 5.16.21 → 5.16.23
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/ui/components/internal/PinInput.js.map +0 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
- package/lib/commonjs/ui/components/types.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/commonjs/ui/constants/theme.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js.map +0 -1
- package/lib/commonjs/ui/types/navigation.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/utils/validationUtils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js.map +0 -1
- package/lib/module/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/module/ui/components/icon/index.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/module/ui/components/profile/EditLocationModal.js.map +0 -1
- package/lib/module/ui/components/styles/shadow.js.map +0 -1
- package/lib/module/ui/components/types.js.map +0 -1
- package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/module/ui/constants/theme.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js.map +0 -1
- package/lib/module/ui/context/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/module/ui/isFrontend.js.map +0 -1
- package/lib/module/ui/navigation/routes.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/styles/theme.js.map +0 -1
- package/lib/module/ui/types/navigation.js.map +0 -1
- package/lib/module/ui/utils/user-utils.js.map +0 -1
- package/lib/module/utils/sessionUtils.js.map +0 -1
- package/package.json +1 -1
- package/src/core/HttpService.ts +15 -95
- package/src/core/OxyServices.base.ts +3 -20
- package/src/core/services/SessionService.ts +173 -0
- package/src/core/services/TokenService.ts +226 -0
- package/src/models/interfaces.ts +16 -2
- package/src/models/session.ts +8 -1
- package/src/ui/context/OxyContext.tsx +225 -35
- package/src/ui/context/hooks/useAuthOperations.ts +11 -3
- package/src/ui/hooks/useSessionSocket.ts +226 -55
- package/lib/commonjs/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
- 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 +0 -67
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -41
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- 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 +0 -51
- package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +0 -59
- package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/constants/version.js +0 -28
- package/lib/commonjs/constants/version.js.map +0 -1
- package/lib/commonjs/core/HttpService.js +0 -571
- package/lib/commonjs/core/HttpService.js.map +0 -1
- package/lib/commonjs/core/OxyServices.base.js +0 -291
- package/lib/commonjs/core/OxyServices.base.js.map +0 -1
- package/lib/commonjs/core/OxyServices.errors.js +0 -26
- package/lib/commonjs/core/OxyServices.errors.js.map +0 -1
- package/lib/commonjs/core/OxyServices.js +0 -146
- package/lib/commonjs/core/OxyServices.js.map +0 -1
- package/lib/commonjs/core/index.js +0 -126
- package/lib/commonjs/core/index.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.analytics.js +0 -60
- package/lib/commonjs/core/mixins/OxyServices.analytics.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.assets.js +0 -375
- package/lib/commonjs/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.auth.js +0 -271
- package/lib/commonjs/core/mixins/OxyServices.auth.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.developer.js +0 -115
- package/lib/commonjs/core/mixins/OxyServices.developer.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.devices.js +0 -133
- package/lib/commonjs/core/mixins/OxyServices.devices.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.karma.js +0 -117
- package/lib/commonjs/core/mixins/OxyServices.karma.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.language.js +0 -124
- package/lib/commonjs/core/mixins/OxyServices.language.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.location.js +0 -55
- package/lib/commonjs/core/mixins/OxyServices.location.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.payment.js +0 -168
- package/lib/commonjs/core/mixins/OxyServices.payment.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.privacy.js +0 -174
- package/lib/commonjs/core/mixins/OxyServices.privacy.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.security.js +0 -96
- package/lib/commonjs/core/mixins/OxyServices.security.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.user.js +0 -393
- package/lib/commonjs/core/mixins/OxyServices.user.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.utility.js +0 -165
- package/lib/commonjs/core/mixins/OxyServices.utility.js.map +0 -1
- package/lib/commonjs/core/mixins/index.js +0 -39
- package/lib/commonjs/core/mixins/index.js.map +0 -1
- package/lib/commonjs/core/mixins/mixinHelpers.js +0 -62
- package/lib/commonjs/core/mixins/mixinHelpers.js.map +0 -1
- package/lib/commonjs/crypto/index.js +0 -27
- package/lib/commonjs/crypto/index.js.map +0 -1
- package/lib/commonjs/crypto/keyManager.js +0 -511
- package/lib/commonjs/crypto/keyManager.js.map +0 -1
- package/lib/commonjs/crypto/polyfill.js +0 -86
- package/lib/commonjs/crypto/polyfill.js.map +0 -1
- package/lib/commonjs/crypto/signatureService.js +0 -289
- package/lib/commonjs/crypto/signatureService.js.map +0 -1
- package/lib/commonjs/crypto/types.js +0 -2
- package/lib/commonjs/crypto/types.js.map +0 -1
- package/lib/commonjs/i18n/index.js +0 -76
- package/lib/commonjs/i18n/index.js.map +0 -1
- package/lib/commonjs/i18n/locales/ar-SA.json +0 -120
- package/lib/commonjs/i18n/locales/ca-ES.json +0 -120
- package/lib/commonjs/i18n/locales/de-DE.json +0 -120
- package/lib/commonjs/i18n/locales/en-US.json +0 -956
- package/lib/commonjs/i18n/locales/es-ES.json +0 -723
- package/lib/commonjs/i18n/locales/fr-FR.json +0 -120
- package/lib/commonjs/i18n/locales/it-IT.json +0 -120
- package/lib/commonjs/i18n/locales/ja-JP.json +0 -119
- package/lib/commonjs/i18n/locales/ko-KR.json +0 -120
- package/lib/commonjs/i18n/locales/pt-PT.json +0 -120
- package/lib/commonjs/i18n/locales/zh-CN.json +0 -120
- package/lib/commonjs/index.js +0 -601
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/lib/sonner-safe.js +0 -32
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +0 -23
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/models/interfaces.js +0 -61
- package/lib/commonjs/models/interfaces.js.map +0 -1
- package/lib/commonjs/models/session.js +0 -2
- package/lib/commonjs/models/session.js.map +0 -1
- package/lib/commonjs/node/index.js +0 -59
- package/lib/commonjs/node/index.js.map +0 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -203
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/AnimationExample.js +0 -213
- package/lib/commonjs/ui/components/AnimationExample.js.map +0 -1
- package/lib/commonjs/ui/components/AutoHeightScrollView.js +0 -46
- package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -172
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheet.js +0 -407
- package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +0 -366
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -106
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +0 -41
- package/lib/commonjs/ui/components/EmptyState.js.map +0 -1
- package/lib/commonjs/ui/components/ErrorBoundary.js +0 -145
- package/lib/commonjs/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -230
- package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
- package/lib/commonjs/ui/components/FontLoader.js +0 -162
- package/lib/commonjs/ui/components/FontLoader.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedItem.js +0 -140
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -42
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/Header.js +0 -434
- package/lib/commonjs/ui/components/Header.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -103
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +0 -109
- package/lib/commonjs/ui/components/Icon.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -159
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +0 -155
- package/lib/commonjs/ui/components/IconButton/utils.js.map +0 -1
- package/lib/commonjs/ui/components/LoadingState.js +0 -47
- package/lib/commonjs/ui/components/LoadingState.js.map +0 -1
- package/lib/commonjs/ui/components/OxyLogo.js +0 -54
- package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -117
- package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -144
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +0 -180
- package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileCard.js +0 -138
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +0 -88
- package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -39
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -35
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/SettingRow.js +0 -77
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -397
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/commonjs/ui/components/Surface.js +0 -258
- package/lib/commonjs/ui/components/Surface.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js +0 -46
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +0 -53
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -155
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +0 -144
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +0 -137
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +0 -22
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +0 -62
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +0 -176
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +0 -84
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +0 -379
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -363
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +0 -50
- package/lib/commonjs/ui/components/TextField/constants.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +0 -490
- package/lib/commonjs/ui/components/TextField/helpers.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +0 -339
- package/lib/commonjs/ui/components/TextField.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +0 -12
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +0 -258
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +0 -107
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +0 -56
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +0 -62
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +0 -26
- package/lib/commonjs/ui/components/Typography/types.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -171
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -409
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -181
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js +0 -868
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -64
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -25
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +0 -21
- package/lib/commonjs/ui/components/icon/index.js.map +0 -1
- package/lib/commonjs/ui/components/index.js +0 -132
- package/lib/commonjs/ui/components/index.js.map +0 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -209
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -115
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -161
- package/lib/commonjs/ui/components/profile/EditBioModal.js +0 -181
- package/lib/commonjs/ui/components/profile/EditBioModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +0 -204
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditEmailModal.js +0 -184
- package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditLinksModal.js +0 -315
- package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditLocationModal.js +0 -273
- package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js +0 -180
- package/lib/commonjs/ui/components/styles/overlay.js +0 -85
- package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js +0 -132
- package/lib/commonjs/ui/components/theming.js +0 -116
- package/lib/commonjs/ui/components/theming.js.map +0 -1
- package/lib/commonjs/ui/components/types.js +0 -2
- package/lib/commonjs/ui/components/utils/forwardRef.js +0 -18
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +0 -13
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +0 -9
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +0 -50
- package/lib/commonjs/ui/constants/iconColors.js +0 -84
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js +0 -50
- package/lib/commonjs/ui/constants/spacing.js.map +0 -1
- package/lib/commonjs/ui/constants/theme.js +0 -123
- package/lib/commonjs/ui/context/OxyContext.js +0 -661
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +0 -36
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -613
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +0 -112
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js +0 -281
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useStorage.js +0 -79
- package/lib/commonjs/ui/hooks/index.js +0 -46
- package/lib/commonjs/ui/hooks/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +0 -68
- package/lib/commonjs/ui/hooks/mutations/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -551
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -193
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/index.js +0 -118
- package/lib/commonjs/ui/hooks/queries/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -96
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -219
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -58
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -186
- package/lib/commonjs/ui/hooks/queryClient.js +0 -117
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/use-color-scheme.js +0 -29
- package/lib/commonjs/ui/hooks/use-color-scheme.js.map +0 -1
- package/lib/commonjs/ui/hooks/use-haptic-press.js +0 -21
- package/lib/commonjs/ui/hooks/use-haptic-press.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAssets.js +0 -245
- package/lib/commonjs/ui/hooks/useAssets.js.map +0 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +0 -103
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.js +0 -167
- package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -2
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/commonjs/ui/hooks/useI18n.js +0 -22
- package/lib/commonjs/ui/hooks/useI18n.js.map +0 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +0 -112
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -107
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +0 -281
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +0 -302
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +0 -1
- package/lib/commonjs/ui/hooks/useStorage.js +0 -79
- package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +0 -31
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -69
- package/lib/commonjs/ui/index.js +0 -101
- package/lib/commonjs/ui/index.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js +0 -10
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -180
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +0 -88
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +0 -329
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -752
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -2163
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +0 -703
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -210
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -414
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -1191
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -2333
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -134
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -218
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -218
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -184
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +0 -537
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -1587
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -1647
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -472
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +0 -647
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -167
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +0 -166
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +0 -445
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -86
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -434
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -98
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +0 -343
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -194
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +0 -151
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +0 -609
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +0 -109
- package/lib/commonjs/ui/stores/accountStore.js +0 -252
- package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +0 -225
- package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/authStore.js +0 -85
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/fileStore.js +0 -153
- package/lib/commonjs/ui/stores/fileStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -229
- package/lib/commonjs/ui/styles/authStyles.js +0 -338
- package/lib/commonjs/ui/styles/authStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/fonts.js +0 -84
- package/lib/commonjs/ui/styles/fonts.js.map +0 -1
- package/lib/commonjs/ui/styles/index.js +0 -50
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/spacing.js +0 -109
- package/lib/commonjs/ui/styles/spacing.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +0 -121
- package/lib/commonjs/ui/types/fileManagement.js +0 -6
- package/lib/commonjs/ui/types/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/types/navigation.js +0 -6
- package/lib/commonjs/ui/utils/avatarUtils.js +0 -131
- package/lib/commonjs/ui/utils/colorUtils.js +0 -52
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/confirmAction.js +0 -28
- package/lib/commonjs/ui/utils/confirmAction.js.map +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +0 -137
- package/lib/commonjs/ui/utils/errorHandlers.js.map +0 -1
- package/lib/commonjs/ui/utils/fileManagement.js +0 -260
- package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +0 -101
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +0 -119
- package/lib/commonjs/ui/utils/storageHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/themeUtils.js +0 -47
- package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/user-utils.js +0 -53
- package/lib/commonjs/ui/utils/user-utils.js.map +0 -1
- package/lib/commonjs/utils/apiUtils.js +0 -79
- package/lib/commonjs/utils/apiUtils.js.map +0 -1
- package/lib/commonjs/utils/asyncUtils.js +0 -207
- package/lib/commonjs/utils/asyncUtils.js.map +0 -1
- package/lib/commonjs/utils/cache.js +0 -259
- package/lib/commonjs/utils/cache.js.map +0 -1
- package/lib/commonjs/utils/deviceManager.js +0 -177
- package/lib/commonjs/utils/deviceManager.js.map +0 -1
- package/lib/commonjs/utils/errorUtils.js +0 -181
- package/lib/commonjs/utils/errorUtils.js.map +0 -1
- package/lib/commonjs/utils/hookUtils.js +0 -399
- package/lib/commonjs/utils/hookUtils.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -106
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/languageUtils.js +0 -159
- package/lib/commonjs/utils/languageUtils.js.map +0 -1
- package/lib/commonjs/utils/loggerUtils.js +0 -160
- package/lib/commonjs/utils/loggerUtils.js.map +0 -1
- package/lib/commonjs/utils/requestUtils.js +0 -217
- package/lib/commonjs/utils/requestUtils.js.map +0 -1
- package/lib/commonjs/utils/sessionUtils.js +0 -191
- package/lib/commonjs/utils/sessionUtils.js.map +0 -1
- package/lib/commonjs/utils/validationUtils.js +0 -191
- package/lib/module/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/OxyLogo.svg +0 -1
- 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 +0 -67
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -41
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- 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 +0 -45
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -54
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/constants/version.js +0 -21
- package/lib/module/constants/version.js.map +0 -1
- package/lib/module/core/HttpService.js +0 -566
- package/lib/module/core/HttpService.js.map +0 -1
- package/lib/module/core/OxyServices.base.js +0 -285
- package/lib/module/core/OxyServices.base.js.map +0 -1
- package/lib/module/core/OxyServices.errors.js +0 -20
- package/lib/module/core/OxyServices.errors.js.map +0 -1
- package/lib/module/core/OxyServices.js +0 -131
- package/lib/module/core/OxyServices.js.map +0 -1
- package/lib/module/core/index.js +0 -27
- package/lib/module/core/index.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.analytics.js +0 -56
- package/lib/module/core/mixins/OxyServices.analytics.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.assets.js +0 -371
- package/lib/module/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.auth.js +0 -267
- package/lib/module/core/mixins/OxyServices.auth.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.developer.js +0 -111
- package/lib/module/core/mixins/OxyServices.developer.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.devices.js +0 -129
- package/lib/module/core/mixins/OxyServices.devices.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.karma.js +0 -113
- package/lib/module/core/mixins/OxyServices.karma.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.language.js +0 -120
- package/lib/module/core/mixins/OxyServices.language.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.location.js +0 -51
- package/lib/module/core/mixins/OxyServices.location.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.payment.js +0 -164
- package/lib/module/core/mixins/OxyServices.payment.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.privacy.js +0 -170
- package/lib/module/core/mixins/OxyServices.privacy.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.security.js +0 -92
- package/lib/module/core/mixins/OxyServices.security.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.user.js +0 -389
- package/lib/module/core/mixins/OxyServices.user.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.utility.js +0 -160
- package/lib/module/core/mixins/OxyServices.utility.js.map +0 -1
- package/lib/module/core/mixins/index.js +0 -36
- package/lib/module/core/mixins/index.js.map +0 -1
- package/lib/module/core/mixins/mixinHelpers.js +0 -56
- package/lib/module/core/mixins/mixinHelpers.js.map +0 -1
- package/lib/module/crypto/index.js +0 -16
- package/lib/module/crypto/index.js.map +0 -1
- package/lib/module/crypto/keyManager.js +0 -508
- package/lib/module/crypto/keyManager.js.map +0 -1
- package/lib/module/crypto/polyfill.js +0 -78
- package/lib/module/crypto/polyfill.js.map +0 -1
- package/lib/module/crypto/signatureService.js +0 -286
- package/lib/module/crypto/signatureService.js.map +0 -1
- package/lib/module/crypto/types.js +0 -2
- package/lib/module/crypto/types.js.map +0 -1
- package/lib/module/i18n/index.js +0 -71
- package/lib/module/i18n/index.js.map +0 -1
- package/lib/module/i18n/locales/ar-SA.json +0 -120
- package/lib/module/i18n/locales/ca-ES.json +0 -120
- package/lib/module/i18n/locales/de-DE.json +0 -120
- package/lib/module/i18n/locales/en-US.json +0 -956
- package/lib/module/i18n/locales/es-ES.json +0 -723
- package/lib/module/i18n/locales/fr-FR.json +0 -120
- package/lib/module/i18n/locales/it-IT.json +0 -120
- package/lib/module/i18n/locales/ja-JP.json +0 -119
- package/lib/module/i18n/locales/ko-KR.json +0 -120
- package/lib/module/i18n/locales/pt-PT.json +0 -120
- package/lib/module/i18n/locales/zh-CN.json +0 -120
- package/lib/module/index.js +0 -74
- package/lib/module/index.js.map +0 -1
- package/lib/module/lib/sonner-safe.js +0 -29
- package/lib/module/lib/sonner-safe.js.map +0 -1
- package/lib/module/lib/sonner.js +0 -19
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/models/interfaces.js +0 -57
- package/lib/module/models/interfaces.js.map +0 -1
- package/lib/module/models/session.js +0 -2
- package/lib/module/models/session.js.map +0 -1
- package/lib/module/node/index.js +0 -20
- package/lib/module/node/index.js.map +0 -1
- package/lib/module/ui/components/ActivityIndicator.js +0 -198
- package/lib/module/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/AnimationExample.js +0 -209
- package/lib/module/ui/components/AnimationExample.js.map +0 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +0 -41
- package/lib/module/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/module/ui/components/Avatar.js +0 -168
- package/lib/module/ui/components/Avatar.js.map +0 -1
- package/lib/module/ui/components/BottomSheet.js +0 -402
- package/lib/module/ui/components/BottomSheet.js.map +0 -1
- package/lib/module/ui/components/BottomSheetRouter.js +0 -356
- package/lib/module/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/module/ui/components/CrossFadeIcon.js +0 -101
- package/lib/module/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/module/ui/components/EmptyState.js +0 -36
- package/lib/module/ui/components/EmptyState.js.map +0 -1
- package/lib/module/ui/components/ErrorBoundary.js +0 -139
- package/lib/module/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/module/ui/components/FollowButton.js +0 -226
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +0 -157
- package/lib/module/ui/components/FontLoader.js.map +0 -1
- package/lib/module/ui/components/GroupedItem.js +0 -135
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -37
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/Header.js +0 -428
- package/lib/module/ui/components/Header.js.map +0 -1
- package/lib/module/ui/components/HelperText.js +0 -99
- package/lib/module/ui/components/HelperText.js.map +0 -1
- package/lib/module/ui/components/Icon.js +0 -102
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +0 -153
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +0 -149
- package/lib/module/ui/components/IconButton/utils.js.map +0 -1
- package/lib/module/ui/components/LoadingState.js +0 -42
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -48
- package/lib/module/ui/components/OxyLogo.js.map +0 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -112
- package/lib/module/ui/components/OxyPayButton.js.map +0 -1
- package/lib/module/ui/components/OxyProvider.js +0 -140
- package/lib/module/ui/components/OxyProvider.js.map +0 -1
- package/lib/module/ui/components/OxySignInButton.js +0 -174
- package/lib/module/ui/components/OxySignInButton.js.map +0 -1
- package/lib/module/ui/components/ProfileCard.js +0 -133
- package/lib/module/ui/components/ProfileCard.js.map +0 -1
- package/lib/module/ui/components/QuickActions.js +0 -84
- package/lib/module/ui/components/QuickActions.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -34
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -31
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/SettingRow.js +0 -72
- package/lib/module/ui/components/SettingRow.js.map +0 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -392
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +0 -252
- package/lib/module/ui/components/Surface.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -40
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +0 -47
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -148
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -141
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +0 -135
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +0 -18
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -4
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +0 -57
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +0 -171
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js +0 -78
- package/lib/module/ui/components/TextField/TextFieldFlat.js +0 -374
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +0 -357
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/module/ui/components/TextField/constants.js +0 -46
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +0 -472
- package/lib/module/ui/components/TextField/helpers.js.map +0 -1
- package/lib/module/ui/components/TextField/types.js +0 -4
- package/lib/module/ui/components/TextField/types.js.map +0 -1
- package/lib/module/ui/components/TextField.js +0 -333
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +0 -9
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +0 -253
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -101
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +0 -50
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -56
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +0 -22
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -165
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -402
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -175
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/module/ui/components/fileManagement/styles.js +0 -864
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +0 -59
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -21
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +0 -5
- package/lib/module/ui/components/index.js +0 -22
- package/lib/module/ui/components/index.js.map +0 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -205
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -110
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -156
- package/lib/module/ui/components/profile/EditBioModal.js +0 -175
- package/lib/module/ui/components/profile/EditBioModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditDisplayNameModal.js +0 -198
- package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditEmailModal.js +0 -178
- package/lib/module/ui/components/profile/EditEmailModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditLinksModal.js +0 -309
- package/lib/module/ui/components/profile/EditLinksModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditLocationModal.js +0 -267
- package/lib/module/ui/components/profile/EditUsernameModal.js +0 -174
- package/lib/module/ui/components/profile/EditUsernameModal.js.map +0 -1
- package/lib/module/ui/components/styles/overlay.js +0 -80
- package/lib/module/ui/components/styles/overlay.js.map +0 -1
- package/lib/module/ui/components/styles/shadow.js +0 -128
- package/lib/module/ui/components/theming.js +0 -111
- package/lib/module/ui/components/theming.js.map +0 -1
- package/lib/module/ui/components/types.js +0 -2
- package/lib/module/ui/components/utils/forwardRef.js +0 -13
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +0 -9
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +0 -4
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/module/ui/components/utils/splitStyles.js +0 -46
- package/lib/module/ui/constants/iconColors.js +0 -78
- package/lib/module/ui/constants/iconColors.js.map +0 -1
- package/lib/module/ui/constants/spacing.js +0 -45
- package/lib/module/ui/constants/spacing.js.map +0 -1
- package/lib/module/ui/constants/theme.js +0 -119
- package/lib/module/ui/context/OxyContext.js +0 -655
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +0 -29
- package/lib/module/ui/context/hooks/useAuthOperations.js +0 -607
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/module/ui/context/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useLanguageManagement.js +0 -107
- package/lib/module/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useSessionManagement.js +0 -276
- package/lib/module/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useStorage.js +0 -74
- package/lib/module/ui/hooks/index.js +0 -7
- package/lib/module/ui/hooks/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/index.js +0 -15
- package/lib/module/ui/hooks/mutations/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -543
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -185
- package/lib/module/ui/hooks/queries/index.js +0 -21
- package/lib/module/ui/hooks/queries/index.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -89
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -209
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -52
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -178
- package/lib/module/ui/hooks/queryClient.js +0 -110
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/use-color-scheme.js +0 -26
- package/lib/module/ui/hooks/use-color-scheme.js.map +0 -1
- package/lib/module/ui/hooks/use-haptic-press.js +0 -17
- package/lib/module/ui/hooks/use-haptic-press.js.map +0 -1
- package/lib/module/ui/hooks/useAssets.js +0 -239
- package/lib/module/ui/hooks/useAssets.js.map +0 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +0 -97
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +0 -161
- package/lib/module/ui/hooks/useFollow.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -2
- package/lib/module/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/module/ui/hooks/useI18n.js +0 -18
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +0 -107
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -102
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -15
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +0 -276
- package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/hooks/useSessionSocket.js +0 -297
- package/lib/module/ui/hooks/useSessionSocket.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +0 -74
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +0 -27
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +0 -64
- package/lib/module/ui/index.js +0 -63
- package/lib/module/ui/index.js.map +0 -1
- package/lib/module/ui/isFrontend.js +0 -6
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -168
- package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/module/ui/navigation/routes.js +0 -82
- package/lib/module/ui/screens/AccountCenterScreen.js +0 -324
- package/lib/module/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +0 -747
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -2158
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -698
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +0 -205
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/module/ui/screens/AppInfoScreen.js +0 -409
- package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -1186
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -2327
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -129
- package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +0 -213
- package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -213
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -179
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +0 -533
- package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -1583
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -1643
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -467
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +0 -642
- package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -162
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -161
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +0 -442
- package/lib/module/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -82
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -428
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -94
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +0 -339
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +0 -189
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -146
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +0 -605
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +0 -105
- package/lib/module/ui/stores/accountStore.js +0 -244
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +0 -212
- package/lib/module/ui/stores/assetStore.js.map +0 -1
- package/lib/module/ui/stores/authStore.js +0 -81
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/fileStore.js +0 -145
- package/lib/module/ui/stores/fileStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -225
- package/lib/module/ui/styles/authStyles.js +0 -333
- package/lib/module/ui/styles/authStyles.js.map +0 -1
- package/lib/module/ui/styles/fonts.js +0 -81
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/module/ui/styles/index.js +0 -7
- package/lib/module/ui/styles/index.js.map +0 -1
- package/lib/module/ui/styles/spacing.js +0 -58
- package/lib/module/ui/styles/spacing.js.map +0 -1
- package/lib/module/ui/styles/theme.js +0 -114
- package/lib/module/ui/types/fileManagement.js +0 -4
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +0 -4
- package/lib/module/ui/utils/avatarUtils.js +0 -126
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -46
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -25
- package/lib/module/ui/utils/confirmAction.js.map +0 -1
- package/lib/module/ui/utils/errorHandlers.js +0 -129
- package/lib/module/ui/utils/errorHandlers.js.map +0 -1
- package/lib/module/ui/utils/fileManagement.js +0 -251
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/sessionHelpers.js +0 -94
- package/lib/module/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/module/ui/utils/storageHelpers.js +0 -111
- package/lib/module/ui/utils/storageHelpers.js.map +0 -1
- package/lib/module/ui/utils/themeUtils.js +0 -41
- package/lib/module/ui/utils/themeUtils.js.map +0 -1
- package/lib/module/ui/utils/user-utils.js +0 -46
- package/lib/module/utils/apiUtils.js +0 -72
- package/lib/module/utils/apiUtils.js.map +0 -1
- package/lib/module/utils/asyncUtils.js +0 -192
- package/lib/module/utils/asyncUtils.js.map +0 -1
- package/lib/module/utils/cache.js +0 -250
- package/lib/module/utils/cache.js.map +0 -1
- package/lib/module/utils/deviceManager.js +0 -171
- package/lib/module/utils/deviceManager.js.map +0 -1
- package/lib/module/utils/errorUtils.js +0 -167
- package/lib/module/utils/errorUtils.js.map +0 -1
- package/lib/module/utils/hookUtils.js +0 -381
- package/lib/module/utils/hookUtils.js.map +0 -1
- package/lib/module/utils/index.js +0 -11
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/languageUtils.js +0 -151
- package/lib/module/utils/languageUtils.js.map +0 -1
- package/lib/module/utils/loggerUtils.js +0 -149
- package/lib/module/utils/loggerUtils.js.map +0 -1
- package/lib/module/utils/requestUtils.js +0 -210
- package/lib/module/utils/requestUtils.js.map +0 -1
- package/lib/module/utils/sessionUtils.js +0 -180
- package/lib/module/utils/validationUtils.js +0 -170
- package/lib/module/utils/validationUtils.js.map +0 -1
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -29
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -9
- package/lib/typescript/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/constants/version.d.ts +0 -14
- package/lib/typescript/constants/version.d.ts.map +0 -1
- package/lib/typescript/core/HttpService.d.ts +0 -159
- package/lib/typescript/core/HttpService.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.base.d.ts +0 -127
- package/lib/typescript/core/OxyServices.base.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.d.ts +0 -113
- package/lib/typescript/core/OxyServices.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.errors.d.ts +0 -12
- package/lib/typescript/core/OxyServices.errors.d.ts.map +0 -1
- package/lib/typescript/core/index.d.ts +0 -17
- package/lib/typescript/core/index.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +0 -67
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts +0 -136
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts +0 -192
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts +0 -100
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts +0 -97
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts +0 -86
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.language.d.ts +0 -82
- package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.location.d.ts +0 -65
- package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts +0 -112
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +0 -123
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.security.d.ts +0 -79
- package/lib/typescript/core/mixins/OxyServices.security.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.user.d.ts +0 -185
- package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts +0 -94
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +0 -1
- package/lib/typescript/core/mixins/index.d.ts +0 -853
- package/lib/typescript/core/mixins/index.d.ts.map +0 -1
- package/lib/typescript/core/mixins/mixinHelpers.d.ts +0 -32
- package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +0 -1
- package/lib/typescript/crypto/index.d.ts +0 -12
- package/lib/typescript/crypto/index.d.ts.map +0 -1
- package/lib/typescript/crypto/keyManager.d.ts +0 -97
- package/lib/typescript/crypto/keyManager.d.ts.map +0 -1
- package/lib/typescript/crypto/polyfill.d.ts +0 -13
- package/lib/typescript/crypto/polyfill.d.ts.map +0 -1
- package/lib/typescript/crypto/signatureService.d.ts +0 -87
- package/lib/typescript/crypto/signatureService.d.ts.map +0 -1
- package/lib/typescript/crypto/types.d.ts +0 -18
- package/lib/typescript/crypto/types.d.ts.map +0 -1
- package/lib/typescript/i18n/index.d.ts +0 -4
- package/lib/typescript/i18n/index.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -38
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/lib/sonner.d.ts +0 -15
- package/lib/typescript/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/models/interfaces.d.ts +0 -414
- package/lib/typescript/models/interfaces.d.ts.map +0 -1
- package/lib/typescript/models/session.d.ts +0 -24
- package/lib/typescript/models/session.d.ts.map +0 -1
- package/lib/typescript/node/index.d.ts +0 -10
- package/lib/typescript/node/index.d.ts.map +0 -1
- package/lib/typescript/types/buffer.d.ts +0 -97
- package/lib/typescript/types/color.d.ts +0 -20
- package/lib/typescript/types/elliptic.d.ts +0 -62
- package/lib/typescript/types/expo-crypto.d.ts +0 -30
- package/lib/typescript/types/expo-document-picker.d.ts +0 -36
- package/lib/typescript/types/expo-secure-store.d.ts +0 -22
- package/lib/typescript/types/expo-vector-icons.d.ts +0 -19
- package/lib/typescript/types/express.d.ts +0 -24
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/ui/components/AnimationExample.d.ts +0 -4
- package/lib/typescript/ui/components/AnimationExample.d.ts.map +0 -1
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/ui/components/BottomSheet.d.ts +0 -29
- package/lib/typescript/ui/components/BottomSheet.d.ts.map +0 -1
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -14
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts.map +0 -1
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -27
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/ui/components/ErrorBoundary.d.ts +0 -31
- package/lib/typescript/ui/components/ErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -18
- package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -15
- package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -20
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -25
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/ui/components/Header.d.ts +0 -38
- package/lib/typescript/ui/components/Header.d.ts.map +0 -1
- package/lib/typescript/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/ui/components/Icon.d.ts +0 -60
- package/lib/typescript/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -29
- package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -11
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -65
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -18
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/ui/components/Section.d.ts +0 -12
- package/lib/typescript/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/ui/components/SettingRow.d.ts +0 -14
- package/lib/typescript/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -26
- package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -16
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -19
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/types.d.ts +0 -156
- package/lib/typescript/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -15
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -18
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -21
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -860
- package/lib/typescript/ui/components/fileManagement/styles.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/index.d.ts +0 -4
- package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/index.d.ts +0 -17
- package/lib/typescript/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -18
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -27
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts +0 -18
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts +0 -20
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/styles/overlay.d.ts +0 -4
- package/lib/typescript/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/ui/components/theming.d.ts +0 -8
- package/lib/typescript/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/ui/components/types.d.ts +0 -80
- package/lib/typescript/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/ui/constants/theme.d.ts +0 -97
- package/lib/typescript/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -78
- package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -59
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useStorage.d.ts +0 -22
- package/lib/typescript/ui/context/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/index.d.ts +0 -5
- package/lib/typescript/ui/hooks/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -9
- package/lib/typescript/ui/hooks/mutations/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -44
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/index.d.ts +0 -11
- package/lib/typescript/ui/hooks/queries/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -65
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -47
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -15
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -34
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queryClient.d.ts +0 -19
- package/lib/typescript/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts +0 -8
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts +0 -8
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFollow.d.ts +0 -62
- package/lib/typescript/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -33
- package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -36
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -20
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useStorage.d.ts +0 -22
- package/lib/typescript/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -94
- package/lib/typescript/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -45
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/ui/index.d.ts +0 -5
- package/lib/typescript/ui/index.d.ts.map +0 -1
- package/lib/typescript/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -74
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -17
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -27
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -13
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
- package/lib/typescript/ui/stores/accountStore.d.ts +0 -34
- package/lib/typescript/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/authStore.d.ts +0 -21
- package/lib/typescript/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/fileStore.d.ts +0 -31
- package/lib/typescript/ui/stores/fileStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/followStore.d.ts +0 -25
- package/lib/typescript/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/ui/styles/authStyles.d.ts +0 -332
- package/lib/typescript/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/ui/styles/index.d.ts +0 -5
- package/lib/typescript/ui/styles/index.d.ts.map +0 -1
- package/lib/typescript/ui/styles/spacing.d.ts +0 -49
- package/lib/typescript/ui/styles/spacing.d.ts.map +0 -1
- package/lib/typescript/ui/styles/theme.d.ts +0 -68
- package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
- package/lib/typescript/ui/types/fileManagement.d.ts +0 -41
- package/lib/typescript/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/ui/types/navigation.d.ts +0 -36
- package/lib/typescript/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -34
- package/lib/typescript/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/colorUtils.d.ts +0 -14
- package/lib/typescript/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/confirmAction.d.ts +0 -7
- package/lib/typescript/ui/utils/confirmAction.d.ts.map +0 -1
- package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/fileManagement.d.ts +0 -87
- package/lib/typescript/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -59
- package/lib/typescript/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -31
- package/lib/typescript/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/themeUtils.d.ts +0 -24
- package/lib/typescript/ui/utils/themeUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/user-utils.d.ts +0 -29
- package/lib/typescript/ui/utils/user-utils.d.ts.map +0 -1
- package/lib/typescript/utils/apiUtils.d.ts +0 -54
- package/lib/typescript/utils/apiUtils.d.ts.map +0 -1
- package/lib/typescript/utils/asyncUtils.d.ts +0 -59
- package/lib/typescript/utils/asyncUtils.d.ts.map +0 -1
- package/lib/typescript/utils/cache.d.ts +0 -128
- package/lib/typescript/utils/cache.d.ts.map +0 -1
- package/lib/typescript/utils/deviceManager.d.ts +0 -66
- package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
- package/lib/typescript/utils/errorUtils.d.ts +0 -53
- package/lib/typescript/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/utils/hookUtils.d.ts.map +0 -1
- package/lib/typescript/utils/index.d.ts +0 -7
- package/lib/typescript/utils/index.d.ts.map +0 -1
- package/lib/typescript/utils/languageUtils.d.ts +0 -38
- package/lib/typescript/utils/languageUtils.d.ts.map +0 -1
- package/lib/typescript/utils/loggerUtils.d.ts +0 -49
- package/lib/typescript/utils/loggerUtils.d.ts.map +0 -1
- package/lib/typescript/utils/requestUtils.d.ts +0 -122
- package/lib/typescript/utils/requestUtils.d.ts.map +0 -1
- package/lib/typescript/utils/sessionUtils.d.ts +0 -55
- package/lib/typescript/utils/sessionUtils.d.ts.map +0 -1
- package/lib/typescript/utils/validationUtils.d.ts +0 -86
- package/lib/typescript/utils/validationUtils.d.ts.map +0 -1
|
@@ -1,1583 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState, useRef, useMemo, useCallback } from 'react';
|
|
4
|
-
import { View, Text, TouchableOpacity, StyleSheet, Platform, ScrollView, Animated, Linking, Clipboard, useWindowDimensions } from 'react-native';
|
|
5
|
-
import { fontFamilies, useThemeColors, createCommonStyles } from '../styles';
|
|
6
|
-
import { normalizeTheme } from '../utils/themeUtils';
|
|
7
|
-
import GroupedPillButtons from '../components/internal/GroupedPillButtons';
|
|
8
|
-
import TextField from '../components/TextField';
|
|
9
|
-
import { Ionicons } from '@expo/vector-icons';
|
|
10
|
-
import { FAIRWalletIcon } from '../components/icon';
|
|
11
|
-
import { toast } from 'sonner';
|
|
12
|
-
import QRCode from 'react-native-qrcode-svg';
|
|
13
|
-
import { GroupedSection } from '../components';
|
|
14
|
-
import { useThemeStyles } from '../hooks/useThemeStyles';
|
|
15
|
-
|
|
16
|
-
// Restrict payment methods to Card, Oxy Pay, and FairCoin (QR)
|
|
17
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
|
-
const PAYMENT_METHODS = [{
|
|
19
|
-
key: 'card',
|
|
20
|
-
label: 'Credit/Debit Card',
|
|
21
|
-
icon: 'card-outline',
|
|
22
|
-
description: 'Pay securely with your credit or debit card.'
|
|
23
|
-
}, {
|
|
24
|
-
key: 'oxy',
|
|
25
|
-
label: 'Oxy Pay',
|
|
26
|
-
icon: 'wallet-outline',
|
|
27
|
-
description: 'Use your Oxy Pay in-app balance.'
|
|
28
|
-
}, {
|
|
29
|
-
key: 'faircoin',
|
|
30
|
-
label: 'FAIRWallet',
|
|
31
|
-
icon: 'qr-code-outline',
|
|
32
|
-
description: 'Pay with FairCoin by scanning a QR code.'
|
|
33
|
-
}];
|
|
34
|
-
|
|
35
|
-
// Add PaymentItem type
|
|
36
|
-
|
|
37
|
-
// Extend props to accept onPaymentResult, amount, and currency
|
|
38
|
-
|
|
39
|
-
// Currency symbol map
|
|
40
|
-
const CURRENCY_SYMBOLS = {
|
|
41
|
-
FAIR: '⊜',
|
|
42
|
-
INR: '₹',
|
|
43
|
-
USD: '$',
|
|
44
|
-
EUR: '€',
|
|
45
|
-
GBP: '£',
|
|
46
|
-
JPY: '¥',
|
|
47
|
-
CNY: '¥',
|
|
48
|
-
AUD: 'A$',
|
|
49
|
-
CAD: 'C$'
|
|
50
|
-
// Add more as needed
|
|
51
|
-
};
|
|
52
|
-
const CURRENCY_NAMES = {
|
|
53
|
-
FAIR: 'FairCoin',
|
|
54
|
-
INR: 'Indian Rupee',
|
|
55
|
-
USD: 'US Dollar',
|
|
56
|
-
EUR: 'Euro',
|
|
57
|
-
GBP: 'British Pound',
|
|
58
|
-
JPY: 'Japanese Yen',
|
|
59
|
-
CNY: 'Chinese Yuan',
|
|
60
|
-
AUD: 'Australian Dollar',
|
|
61
|
-
CAD: 'Canadian Dollar'
|
|
62
|
-
// Add more as needed
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
// Helper: icon for item type (Ionicons only)
|
|
66
|
-
const getItemTypeIcon = (type, color) => {
|
|
67
|
-
switch (type) {
|
|
68
|
-
case 'product':
|
|
69
|
-
return /*#__PURE__*/_jsx(Ionicons, {
|
|
70
|
-
name: "cart-outline",
|
|
71
|
-
size: 22,
|
|
72
|
-
color: color,
|
|
73
|
-
style: {
|
|
74
|
-
marginRight: 8
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
case 'subscription':
|
|
78
|
-
return /*#__PURE__*/_jsx(Ionicons, {
|
|
79
|
-
name: "repeat-outline",
|
|
80
|
-
size: 22,
|
|
81
|
-
color: color,
|
|
82
|
-
style: {
|
|
83
|
-
marginRight: 8
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
case 'service':
|
|
87
|
-
return /*#__PURE__*/_jsx(Ionicons, {
|
|
88
|
-
name: "construct-outline",
|
|
89
|
-
size: 22,
|
|
90
|
-
color: color,
|
|
91
|
-
style: {
|
|
92
|
-
marginRight: 8
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
case 'fee':
|
|
96
|
-
return /*#__PURE__*/_jsx(Ionicons, {
|
|
97
|
-
name: "cash-outline",
|
|
98
|
-
size: 22,
|
|
99
|
-
color: color,
|
|
100
|
-
style: {
|
|
101
|
-
marginRight: 8
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
default:
|
|
105
|
-
return /*#__PURE__*/_jsx(Ionicons, {
|
|
106
|
-
name: "pricetag-outline",
|
|
107
|
-
size: 22,
|
|
108
|
-
color: color,
|
|
109
|
-
style: {
|
|
110
|
-
marginRight: 8
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
// Helper to get unique item types (move to top-level, before component)
|
|
117
|
-
const getUniqueItemTypes = items => {
|
|
118
|
-
const types = items.map(item => item.type);
|
|
119
|
-
return Array.from(new Set(types));
|
|
120
|
-
};
|
|
121
|
-
const PaymentGatewayScreen = props => {
|
|
122
|
-
const {
|
|
123
|
-
navigate,
|
|
124
|
-
goBack,
|
|
125
|
-
theme,
|
|
126
|
-
onPaymentResult,
|
|
127
|
-
amount,
|
|
128
|
-
currency = 'FAIR',
|
|
129
|
-
onClose,
|
|
130
|
-
paymentItems = [],
|
|
131
|
-
// NEW
|
|
132
|
-
description = '' // NEW
|
|
133
|
-
} = props;
|
|
134
|
-
|
|
135
|
-
// DEV ENFORCEMENT: Only allow one type of payment item
|
|
136
|
-
if (process.env.NODE_ENV !== 'production' && paymentItems.length > 0) {
|
|
137
|
-
const uniqueTypes = getUniqueItemTypes(paymentItems);
|
|
138
|
-
if (uniqueTypes.length > 1) {
|
|
139
|
-
throw new Error(`PaymentGatewayScreen: paymentItems contains mixed types (${uniqueTypes.join(', ')}). Only one type is allowed per payment.`);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Step states
|
|
144
|
-
const [currentStep, setCurrentStep] = useState(0);
|
|
145
|
-
const [paymentMethod, setPaymentMethod] = useState('card');
|
|
146
|
-
const [cardDetails, setCardDetails] = useState({
|
|
147
|
-
number: '',
|
|
148
|
-
expiry: '',
|
|
149
|
-
cvv: ''
|
|
150
|
-
});
|
|
151
|
-
const [upiId, setUpiId] = useState('');
|
|
152
|
-
const [isPaying, setIsPaying] = useState(false);
|
|
153
|
-
const [success, setSuccess] = useState(false);
|
|
154
|
-
|
|
155
|
-
// Animations
|
|
156
|
-
const fadeAnim = useRef(new Animated.Value(1)).current;
|
|
157
|
-
const slideAnim = useRef(new Animated.Value(0)).current;
|
|
158
|
-
const scaleAnim = useRef(new Animated.Value(1)).current;
|
|
159
|
-
const progressAnim = useRef(new Animated.Value(0.2)).current;
|
|
160
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
161
|
-
const colors = useThemeColors(normalizedTheme);
|
|
162
|
-
const commonStyles = createCommonStyles(normalizedTheme);
|
|
163
|
-
const styles = useMemo(() => createStyles(colors, normalizedTheme), [colors, normalizedTheme]);
|
|
164
|
-
|
|
165
|
-
// Get symbol and name for currency
|
|
166
|
-
const currencySymbol = CURRENCY_SYMBOLS[currency.toUpperCase()] || currency;
|
|
167
|
-
const currencyName = CURRENCY_NAMES[currency.toUpperCase()] || currency;
|
|
168
|
-
|
|
169
|
-
// Calculate total from items if provided, else use amount
|
|
170
|
-
const computedTotal = useMemo(() => {
|
|
171
|
-
if (paymentItems && paymentItems.length > 0) {
|
|
172
|
-
return paymentItems.reduce((sum, item) => {
|
|
173
|
-
const qty = item.quantity ?? 1;
|
|
174
|
-
return sum + item.price * qty;
|
|
175
|
-
}, 0);
|
|
176
|
-
}
|
|
177
|
-
return Number(amount) || 0;
|
|
178
|
-
}, [paymentItems, amount]);
|
|
179
|
-
|
|
180
|
-
// Determine if the payment is for a recurring item (subscription)
|
|
181
|
-
const isRecurring = paymentItems.length > 0 && paymentItems[0].type === 'subscription';
|
|
182
|
-
|
|
183
|
-
// Filter payment methods: remove 'faircoin' if recurring
|
|
184
|
-
const availablePaymentMethods = useMemo(() => {
|
|
185
|
-
if (isRecurring) {
|
|
186
|
-
return PAYMENT_METHODS.filter(m => m.key !== 'faircoin');
|
|
187
|
-
}
|
|
188
|
-
return PAYMENT_METHODS;
|
|
189
|
-
}, [isRecurring]);
|
|
190
|
-
|
|
191
|
-
// Add after useState declarations
|
|
192
|
-
// Remove itemTypeError state, useEffect, and user-facing error in renderSummaryStep
|
|
193
|
-
|
|
194
|
-
// Helper to get unique item types
|
|
195
|
-
// Remove itemTypeError state, useEffect, and user-facing error in renderSummaryStep
|
|
196
|
-
|
|
197
|
-
// Validate item types on paymentItems change
|
|
198
|
-
// Remove itemTypeError state, useEffect, and user-facing error in renderSummaryStep
|
|
199
|
-
|
|
200
|
-
// Animation transitions
|
|
201
|
-
const animateTransition = useCallback(nextStep => {
|
|
202
|
-
Animated.timing(scaleAnim, {
|
|
203
|
-
toValue: 0.95,
|
|
204
|
-
duration: 150,
|
|
205
|
-
useNativeDriver: Platform.OS !== 'web'
|
|
206
|
-
}).start();
|
|
207
|
-
Animated.timing(fadeAnim, {
|
|
208
|
-
toValue: 0,
|
|
209
|
-
duration: 200,
|
|
210
|
-
useNativeDriver: Platform.OS !== 'web'
|
|
211
|
-
}).start(() => {
|
|
212
|
-
setCurrentStep(nextStep);
|
|
213
|
-
slideAnim.setValue(-50);
|
|
214
|
-
scaleAnim.setValue(0.95);
|
|
215
|
-
Animated.parallel([Animated.timing(fadeAnim, {
|
|
216
|
-
toValue: 1,
|
|
217
|
-
duration: 300,
|
|
218
|
-
useNativeDriver: Platform.OS !== 'web'
|
|
219
|
-
}), Animated.spring(slideAnim, {
|
|
220
|
-
toValue: 0,
|
|
221
|
-
tension: 80,
|
|
222
|
-
friction: 8,
|
|
223
|
-
useNativeDriver: Platform.OS !== 'web'
|
|
224
|
-
}), Animated.spring(scaleAnim, {
|
|
225
|
-
toValue: 1,
|
|
226
|
-
tension: 80,
|
|
227
|
-
friction: 8,
|
|
228
|
-
useNativeDriver: Platform.OS !== 'web'
|
|
229
|
-
})]).start();
|
|
230
|
-
});
|
|
231
|
-
}, []);
|
|
232
|
-
const nextStep = useCallback(() => {
|
|
233
|
-
if (currentStep < 4) {
|
|
234
|
-
Animated.timing(progressAnim, {
|
|
235
|
-
toValue: (currentStep + 2) / 5,
|
|
236
|
-
duration: 300,
|
|
237
|
-
useNativeDriver: false
|
|
238
|
-
}).start();
|
|
239
|
-
animateTransition(currentStep + 1);
|
|
240
|
-
}
|
|
241
|
-
}, [currentStep, progressAnim, animateTransition]);
|
|
242
|
-
const prevStep = useCallback(() => {
|
|
243
|
-
if (currentStep > 0) {
|
|
244
|
-
Animated.timing(progressAnim, {
|
|
245
|
-
toValue: currentStep / 5,
|
|
246
|
-
duration: 300,
|
|
247
|
-
useNativeDriver: false
|
|
248
|
-
}).start();
|
|
249
|
-
animateTransition(currentStep - 1);
|
|
250
|
-
}
|
|
251
|
-
}, [currentStep, progressAnim, animateTransition]);
|
|
252
|
-
|
|
253
|
-
// Dummy pay handler
|
|
254
|
-
const handlePay = useCallback(() => {
|
|
255
|
-
setIsPaying(true);
|
|
256
|
-
setTimeout(() => {
|
|
257
|
-
setIsPaying(false);
|
|
258
|
-
setSuccess(true);
|
|
259
|
-
nextStep();
|
|
260
|
-
}, 1500);
|
|
261
|
-
}, [nextStep]);
|
|
262
|
-
|
|
263
|
-
// Success handler for Done button
|
|
264
|
-
const handleDone = useCallback(() => {
|
|
265
|
-
if (onPaymentResult) {
|
|
266
|
-
onPaymentResult({
|
|
267
|
-
success: true
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
navigate?.('AccountOverview');
|
|
271
|
-
}, [onPaymentResult, navigate]);
|
|
272
|
-
|
|
273
|
-
// Handle close/cancel: return failure result if payment is not completed
|
|
274
|
-
const handleClose = useCallback(() => {
|
|
275
|
-
if (onPaymentResult) {
|
|
276
|
-
onPaymentResult({
|
|
277
|
-
success: false,
|
|
278
|
-
error: 'cancelled'
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
if (onClose) {
|
|
282
|
-
onClose();
|
|
283
|
-
} else if (goBack) {
|
|
284
|
-
goBack();
|
|
285
|
-
}
|
|
286
|
-
}, [onPaymentResult, onClose, goBack]);
|
|
287
|
-
|
|
288
|
-
// Optionally, intercept goBack/onClose if user tries to close the screen
|
|
289
|
-
// (You may want to use useEffect to listen for unmount or navigation away)
|
|
290
|
-
|
|
291
|
-
// If amount is missing or invalid, show error
|
|
292
|
-
if (!amount || isNaN(Number(amount)) || Number(amount) <= 0) {
|
|
293
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
294
|
-
style: styles.errorContainer,
|
|
295
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
296
|
-
style: styles.errorText,
|
|
297
|
-
children: "Invalid or missing payment amount."
|
|
298
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
299
|
-
buttons: [{
|
|
300
|
-
text: 'Close',
|
|
301
|
-
onPress: handleClose,
|
|
302
|
-
icon: 'close',
|
|
303
|
-
variant: 'primary'
|
|
304
|
-
}],
|
|
305
|
-
colors: useThemeColors(normalizedTheme)
|
|
306
|
-
})]
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
// Example FairCoin address (replace with real one)
|
|
311
|
-
const faircoinAddress = 'f1abc1234FAIRCOINADDRESS';
|
|
312
|
-
const {
|
|
313
|
-
width: windowWidth
|
|
314
|
-
} = useWindowDimensions();
|
|
315
|
-
const isMobile = windowWidth < 600;
|
|
316
|
-
const qrSize = !isMobile ? Math.min(windowWidth * 0.3, 220) : Math.min(windowWidth * 0.8, 300);
|
|
317
|
-
const handleCopyAddress = () => {
|
|
318
|
-
Clipboard.setString(faircoinAddress);
|
|
319
|
-
toast('Address copied to clipboard!');
|
|
320
|
-
};
|
|
321
|
-
const handleOpenFairWallet = () => {
|
|
322
|
-
const url = `fairwallet://pay?address=${faircoinAddress}`;
|
|
323
|
-
Linking.openURL(url);
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
// Helper for dynamic styles
|
|
327
|
-
const getStepIndicatorStyle = active => [styles.stepIndicator, active ? styles.stepIndicatorActive : styles.stepIndicatorInactive];
|
|
328
|
-
const getPaymentMethodButtonStyle = active => [styles.paymentMethodButton, active ? styles.paymentMethodButtonActive : styles.paymentMethodButtonInactive];
|
|
329
|
-
const getPaymentMethodIconColor = active => active ? colors.primary : colors.text;
|
|
330
|
-
|
|
331
|
-
// Step indicator
|
|
332
|
-
const renderStepIndicator = () => {
|
|
333
|
-
const totalSteps = 5;
|
|
334
|
-
const activeStep = currentStep + 1;
|
|
335
|
-
return /*#__PURE__*/_jsx(View, {
|
|
336
|
-
style: styles.stepIndicatorContainer,
|
|
337
|
-
children: Array.from({
|
|
338
|
-
length: totalSteps
|
|
339
|
-
}).map((_, idx) => /*#__PURE__*/_jsx(View, {
|
|
340
|
-
style: getStepIndicatorStyle(activeStep === idx + 1)
|
|
341
|
-
}, idx))
|
|
342
|
-
});
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
// PaymentGatewayHeader component
|
|
346
|
-
const stepTitles = ['Complete Your Payment', 'Select Payment Method', 'Enter Payment Details', 'Review & Pay', 'Success'];
|
|
347
|
-
|
|
348
|
-
// Step 1: Summary step (new first step, no header/dots here)
|
|
349
|
-
const renderSummaryStep = () => /*#__PURE__*/_jsxs(Animated.View, {
|
|
350
|
-
style: [styles.stepContainer, {
|
|
351
|
-
opacity: fadeAnim,
|
|
352
|
-
transform: [{
|
|
353
|
-
translateY: slideAnim
|
|
354
|
-
}, {
|
|
355
|
-
scale: scaleAnim
|
|
356
|
-
}]
|
|
357
|
-
}],
|
|
358
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
359
|
-
style: styles.section,
|
|
360
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
361
|
-
style: styles.sectionTitle,
|
|
362
|
-
children: "Payment Summary"
|
|
363
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
364
|
-
style: styles.summaryCard,
|
|
365
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
366
|
-
style: styles.summaryCardContent,
|
|
367
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
368
|
-
name: "receipt-outline",
|
|
369
|
-
size: 64,
|
|
370
|
-
color: colors.primary,
|
|
371
|
-
style: styles.summaryCardIcon
|
|
372
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
373
|
-
style: styles.summaryCardMainTitle,
|
|
374
|
-
children: paymentItems && paymentItems.length > 0 ? 'Order Summary' : 'Payment'
|
|
375
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
376
|
-
style: styles.summaryCardSubtitle,
|
|
377
|
-
children: paymentItems && paymentItems.length > 0 ? 'Review your payment details' : 'Complete your payment'
|
|
378
|
-
}), paymentItems && paymentItems.length > 0 ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
379
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
380
|
-
style: styles.summaryCardItems,
|
|
381
|
-
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
382
|
-
items: paymentItems.map((item, idx) => ({
|
|
383
|
-
id: `item-${idx}`,
|
|
384
|
-
icon: getItemTypeIcon(item.type, colors.primary).props.name,
|
|
385
|
-
iconColor: colors.primary,
|
|
386
|
-
title: `${item.type === 'product' && item.quantity ? `${item.quantity} × ` : ''}${item.name}${item.type === 'subscription' && item.period ? ` (${item.period})` : ''}`,
|
|
387
|
-
subtitle: item.description || `${item.currency ? CURRENCY_SYMBOLS[item.currency.toUpperCase()] || item.currency : currencySymbol} ${item.price * (item.quantity ?? 1)}`,
|
|
388
|
-
customContent: /*#__PURE__*/_jsxs(Text, {
|
|
389
|
-
style: styles.summaryItemPrice,
|
|
390
|
-
children: [item.currency ? CURRENCY_SYMBOLS[item.currency.toUpperCase()] || item.currency : currencySymbol, " ", item.price * (item.quantity ?? 1)]
|
|
391
|
-
})
|
|
392
|
-
}))
|
|
393
|
-
})
|
|
394
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
395
|
-
style: styles.summaryCardDivider
|
|
396
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
397
|
-
style: styles.summaryCardTotalSection,
|
|
398
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
399
|
-
style: styles.summaryCardTotalRow,
|
|
400
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
401
|
-
style: styles.summaryCardTotalLabel,
|
|
402
|
-
children: "Subtotal"
|
|
403
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
404
|
-
style: styles.summaryCardTotalValue,
|
|
405
|
-
children: [currencySymbol, " ", amount]
|
|
406
|
-
})]
|
|
407
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
408
|
-
style: styles.summaryCardTotalRow,
|
|
409
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
410
|
-
style: styles.summaryCardTotalLabel,
|
|
411
|
-
children: "Tax"
|
|
412
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
413
|
-
style: styles.summaryCardTotalValue,
|
|
414
|
-
children: [currencySymbol, " 0.00"]
|
|
415
|
-
})]
|
|
416
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
417
|
-
style: styles.summaryCardTotalRow,
|
|
418
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
419
|
-
style: styles.summaryCardTotalLabel,
|
|
420
|
-
children: "Total"
|
|
421
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
422
|
-
style: styles.summaryCardTotalValue,
|
|
423
|
-
children: [currencySymbol, " ", amount]
|
|
424
|
-
})]
|
|
425
|
-
})]
|
|
426
|
-
})]
|
|
427
|
-
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
428
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
429
|
-
style: styles.summaryCardAmount,
|
|
430
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
431
|
-
style: styles.summaryCardAmountLabel,
|
|
432
|
-
children: "Amount to Pay"
|
|
433
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
434
|
-
style: styles.summaryCardAmountValue,
|
|
435
|
-
children: [currencySymbol, " ", amount]
|
|
436
|
-
}), description && /*#__PURE__*/_jsx(Text, {
|
|
437
|
-
style: styles.summaryCardAmountDescription,
|
|
438
|
-
children: description
|
|
439
|
-
})]
|
|
440
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
441
|
-
style: styles.summaryCardDivider
|
|
442
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
443
|
-
style: styles.summaryCardTotalSection,
|
|
444
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
445
|
-
style: styles.summaryCardTotalRow,
|
|
446
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
447
|
-
style: styles.summaryCardTotalLabel,
|
|
448
|
-
children: "Total"
|
|
449
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
450
|
-
style: styles.summaryCardTotalValue,
|
|
451
|
-
children: [currencySymbol, " ", amount]
|
|
452
|
-
})]
|
|
453
|
-
})
|
|
454
|
-
})]
|
|
455
|
-
})]
|
|
456
|
-
})
|
|
457
|
-
})]
|
|
458
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
459
|
-
buttons: [{
|
|
460
|
-
text: 'Close',
|
|
461
|
-
onPress: handleClose,
|
|
462
|
-
icon: 'close',
|
|
463
|
-
variant: 'transparent'
|
|
464
|
-
}, {
|
|
465
|
-
text: 'Continue',
|
|
466
|
-
onPress: nextStep,
|
|
467
|
-
icon: 'arrow-forward',
|
|
468
|
-
variant: 'primary'
|
|
469
|
-
}],
|
|
470
|
-
colors: colors
|
|
471
|
-
})]
|
|
472
|
-
});
|
|
473
|
-
|
|
474
|
-
// Step 2: Choose Payment Method (now the second step, no header/dots here)
|
|
475
|
-
const renderMethodStep = () => /*#__PURE__*/_jsxs(Animated.View, {
|
|
476
|
-
style: [styles.stepContainer, {
|
|
477
|
-
opacity: fadeAnim,
|
|
478
|
-
transform: [{
|
|
479
|
-
translateY: slideAnim
|
|
480
|
-
}, {
|
|
481
|
-
scale: scaleAnim
|
|
482
|
-
}]
|
|
483
|
-
}],
|
|
484
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
485
|
-
style: styles.section,
|
|
486
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
487
|
-
style: styles.sectionTitle,
|
|
488
|
-
children: "Choose Payment Method"
|
|
489
|
-
}), /*#__PURE__*/_jsx(GroupedSection, {
|
|
490
|
-
items: availablePaymentMethods.map(method => ({
|
|
491
|
-
id: method.key,
|
|
492
|
-
icon: method.key === 'faircoin' ? undefined : method.icon,
|
|
493
|
-
iconColor: method.key === 'card' ? '#007AFF' : method.key === 'oxy' ? '#32D74B' : method.key === 'faircoin' ? '#9ffb50' : colors.primary,
|
|
494
|
-
title: method.label,
|
|
495
|
-
subtitle: method.description,
|
|
496
|
-
onPress: () => setPaymentMethod(method.key),
|
|
497
|
-
selected: paymentMethod === method.key,
|
|
498
|
-
showChevron: false,
|
|
499
|
-
customIcon: method.key === 'faircoin' ? /*#__PURE__*/_jsx(FAIRWalletIcon, {
|
|
500
|
-
size: 20
|
|
501
|
-
}) : undefined
|
|
502
|
-
}))
|
|
503
|
-
})]
|
|
504
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
505
|
-
buttons: [{
|
|
506
|
-
text: 'Back',
|
|
507
|
-
onPress: prevStep,
|
|
508
|
-
icon: 'arrow-back',
|
|
509
|
-
variant: 'transparent'
|
|
510
|
-
}, {
|
|
511
|
-
text: 'Continue',
|
|
512
|
-
onPress: nextStep,
|
|
513
|
-
icon: 'arrow-forward',
|
|
514
|
-
variant: 'primary'
|
|
515
|
-
}],
|
|
516
|
-
colors: colors
|
|
517
|
-
})]
|
|
518
|
-
});
|
|
519
|
-
|
|
520
|
-
// Step 2: Enter Payment Details
|
|
521
|
-
const renderDetailsStep = () => /*#__PURE__*/_jsxs(Animated.View, {
|
|
522
|
-
style: [styles.stepContainer, {
|
|
523
|
-
opacity: fadeAnim,
|
|
524
|
-
transform: [{
|
|
525
|
-
translateY: slideAnim
|
|
526
|
-
}, {
|
|
527
|
-
scale: scaleAnim
|
|
528
|
-
}]
|
|
529
|
-
}],
|
|
530
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
531
|
-
style: styles.section,
|
|
532
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
533
|
-
style: styles.sectionTitle,
|
|
534
|
-
children: paymentMethod === 'card' ? 'Card Details' : paymentMethod === 'oxy' ? 'Oxy Pay' : paymentMethod === 'faircoin' ? 'FairCoin Payment' : 'Payment Details'
|
|
535
|
-
}), paymentMethod === 'card' && /*#__PURE__*/_jsx(View, {
|
|
536
|
-
style: styles.cardPaymentCard,
|
|
537
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
538
|
-
style: styles.cardPaymentContent,
|
|
539
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
540
|
-
name: "card-outline",
|
|
541
|
-
size: 64,
|
|
542
|
-
color: colors.primary,
|
|
543
|
-
style: styles.cardPaymentIcon
|
|
544
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
545
|
-
style: styles.cardPaymentMainTitle,
|
|
546
|
-
children: "Credit Card"
|
|
547
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
548
|
-
style: styles.cardPaymentSubtitle,
|
|
549
|
-
children: "Enter your card details securely"
|
|
550
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
551
|
-
style: styles.cardPaymentFields,
|
|
552
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
553
|
-
style: styles.cardRowInfo,
|
|
554
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
555
|
-
name: "card-outline",
|
|
556
|
-
size: 24,
|
|
557
|
-
color: colors.primary,
|
|
558
|
-
style: styles.cardRowIcon
|
|
559
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
560
|
-
style: styles.cardRowText,
|
|
561
|
-
children: "We accept Visa, Mastercard, and more"
|
|
562
|
-
})]
|
|
563
|
-
}), /*#__PURE__*/_jsx(TextField, {
|
|
564
|
-
value: cardDetails.number,
|
|
565
|
-
onChangeText: text => {
|
|
566
|
-
// Format card number with spaces
|
|
567
|
-
const formatted = text.replace(/\s/g, '').replace(/(\d{4})/g, '$1 ').trim();
|
|
568
|
-
setCardDetails({
|
|
569
|
-
...cardDetails,
|
|
570
|
-
number: formatted
|
|
571
|
-
});
|
|
572
|
-
},
|
|
573
|
-
placeholder: "1234 5678 9012 3456",
|
|
574
|
-
keyboardType: "numeric",
|
|
575
|
-
maxLength: 19,
|
|
576
|
-
style: styles.cardFieldContainer,
|
|
577
|
-
left: /*#__PURE__*/_jsx(Ionicons, {
|
|
578
|
-
name: "card-outline",
|
|
579
|
-
size: 18,
|
|
580
|
-
color: colors.primary
|
|
581
|
-
})
|
|
582
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
583
|
-
style: styles.cardFieldRow,
|
|
584
|
-
children: [/*#__PURE__*/_jsx(TextField, {
|
|
585
|
-
value: cardDetails.expiry,
|
|
586
|
-
onChangeText: text => {
|
|
587
|
-
// Format expiry date
|
|
588
|
-
const formatted = text.replace(/\D/g, '').replace(/(\d{2})(\d)/, '$1/$2');
|
|
589
|
-
setCardDetails({
|
|
590
|
-
...cardDetails,
|
|
591
|
-
expiry: formatted
|
|
592
|
-
});
|
|
593
|
-
},
|
|
594
|
-
placeholder: "MM/YY",
|
|
595
|
-
maxLength: 5,
|
|
596
|
-
style: styles.cardFieldHalfLeft,
|
|
597
|
-
left: /*#__PURE__*/_jsx(Ionicons, {
|
|
598
|
-
name: "calendar-outline",
|
|
599
|
-
size: 16,
|
|
600
|
-
color: colors.primary
|
|
601
|
-
})
|
|
602
|
-
}), /*#__PURE__*/_jsx(TextField, {
|
|
603
|
-
value: cardDetails.cvv,
|
|
604
|
-
onChangeText: text => {
|
|
605
|
-
// Only allow numbers
|
|
606
|
-
const formatted = text.replace(/\D/g, '');
|
|
607
|
-
setCardDetails({
|
|
608
|
-
...cardDetails,
|
|
609
|
-
cvv: formatted
|
|
610
|
-
});
|
|
611
|
-
},
|
|
612
|
-
placeholder: "123",
|
|
613
|
-
keyboardType: "numeric",
|
|
614
|
-
maxLength: 4,
|
|
615
|
-
style: styles.cardFieldHalfRight,
|
|
616
|
-
left: /*#__PURE__*/_jsx(Ionicons, {
|
|
617
|
-
name: "lock-closed-outline",
|
|
618
|
-
size: 16,
|
|
619
|
-
color: colors.primary
|
|
620
|
-
})
|
|
621
|
-
})]
|
|
622
|
-
})]
|
|
623
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
624
|
-
style: {
|
|
625
|
-
height: 18
|
|
626
|
-
}
|
|
627
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
628
|
-
style: styles.cardPaymentWaiting,
|
|
629
|
-
children: "Ready to process payment..."
|
|
630
|
-
})]
|
|
631
|
-
})
|
|
632
|
-
}), paymentMethod === 'oxy' && /*#__PURE__*/_jsx(View, {
|
|
633
|
-
style: styles.oxyPayCard,
|
|
634
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
635
|
-
style: styles.oxyPayContent,
|
|
636
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
637
|
-
name: "wallet-outline",
|
|
638
|
-
size: 64,
|
|
639
|
-
color: colors.primary,
|
|
640
|
-
style: styles.oxyPayIcon
|
|
641
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
642
|
-
style: styles.oxyPayMainTitle,
|
|
643
|
-
children: "Oxy Pay"
|
|
644
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
645
|
-
style: styles.oxyPaySubtitle,
|
|
646
|
-
children: "Pay with your in-app wallet"
|
|
647
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
648
|
-
style: styles.oxyPayBalanceBox,
|
|
649
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
650
|
-
style: styles.oxyPayBalanceText,
|
|
651
|
-
children: "Balance: \u229C 123.45"
|
|
652
|
-
})
|
|
653
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
654
|
-
style: {
|
|
655
|
-
height: 18
|
|
656
|
-
}
|
|
657
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
658
|
-
style: styles.oxyPayWaiting,
|
|
659
|
-
children: "Ready to process payment..."
|
|
660
|
-
})]
|
|
661
|
-
})
|
|
662
|
-
}), paymentMethod === 'faircoin' && /*#__PURE__*/_jsx(View, {
|
|
663
|
-
style: styles.faircoinCard,
|
|
664
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
665
|
-
style: styles.faircoinContent,
|
|
666
|
-
children: [/*#__PURE__*/_jsx(FAIRWalletIcon, {
|
|
667
|
-
size: 64,
|
|
668
|
-
style: styles.faircoinIcon
|
|
669
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
670
|
-
style: styles.faircoinMainTitle,
|
|
671
|
-
children: "FAIRWallet"
|
|
672
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
673
|
-
style: styles.faircoinSubtitle,
|
|
674
|
-
children: "Pay with FairCoin"
|
|
675
|
-
}), !isMobile ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
676
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
677
|
-
style: styles.faircoinScanText,
|
|
678
|
-
children: "Scan to Pay"
|
|
679
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
680
|
-
style: styles.faircoinQRCard,
|
|
681
|
-
children: [/*#__PURE__*/_jsx(QRCode, {
|
|
682
|
-
value: faircoinAddress,
|
|
683
|
-
size: qrSize - 32
|
|
684
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
685
|
-
style: styles.faircoinQRBadge,
|
|
686
|
-
children: /*#__PURE__*/_jsx(FAIRWalletIcon, {
|
|
687
|
-
size: 28
|
|
688
|
-
})
|
|
689
|
-
})]
|
|
690
|
-
})]
|
|
691
|
-
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
692
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
693
|
-
style: styles.faircoinTitle,
|
|
694
|
-
children: "Use the options below to pay with FAIRWallet"
|
|
695
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
696
|
-
style: styles.faircoinAddress,
|
|
697
|
-
children: faircoinAddress
|
|
698
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
699
|
-
style: [styles.faircoinButton, {
|
|
700
|
-
backgroundColor: '#9ffb50',
|
|
701
|
-
borderRadius: 18,
|
|
702
|
-
marginTop: 12,
|
|
703
|
-
width: '90%',
|
|
704
|
-
flexDirection: 'row',
|
|
705
|
-
alignItems: 'center',
|
|
706
|
-
justifyContent: 'center'
|
|
707
|
-
}],
|
|
708
|
-
onPress: handleOpenFairWallet,
|
|
709
|
-
children: [/*#__PURE__*/_jsx(FAIRWalletIcon, {
|
|
710
|
-
size: 20,
|
|
711
|
-
style: {
|
|
712
|
-
marginRight: 8
|
|
713
|
-
}
|
|
714
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
715
|
-
style: [styles.faircoinButtonText, {
|
|
716
|
-
color: '#1b1f0a',
|
|
717
|
-
fontWeight: 'bold',
|
|
718
|
-
fontSize: 16
|
|
719
|
-
}],
|
|
720
|
-
children: "Open in FAIRWallet"
|
|
721
|
-
})]
|
|
722
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
723
|
-
style: [styles.faircoinButton, {
|
|
724
|
-
backgroundColor: '#9ffb50',
|
|
725
|
-
borderRadius: 18,
|
|
726
|
-
marginTop: 10,
|
|
727
|
-
width: '90%',
|
|
728
|
-
flexDirection: 'row',
|
|
729
|
-
alignItems: 'center',
|
|
730
|
-
justifyContent: 'center'
|
|
731
|
-
}],
|
|
732
|
-
onPress: handleCopyAddress,
|
|
733
|
-
children: [/*#__PURE__*/_jsx(FAIRWalletIcon, {
|
|
734
|
-
size: 20,
|
|
735
|
-
style: {
|
|
736
|
-
marginRight: 8
|
|
737
|
-
}
|
|
738
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
739
|
-
style: [styles.faircoinButtonText, {
|
|
740
|
-
color: '#1b1f0a',
|
|
741
|
-
fontWeight: 'bold',
|
|
742
|
-
fontSize: 16
|
|
743
|
-
}],
|
|
744
|
-
children: "Copy Address"
|
|
745
|
-
})]
|
|
746
|
-
})]
|
|
747
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
748
|
-
style: {
|
|
749
|
-
height: 18
|
|
750
|
-
}
|
|
751
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
752
|
-
style: styles.faircoinWaiting,
|
|
753
|
-
children: "Waiting for payment..."
|
|
754
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
755
|
-
style: styles.faircoinPlaceholder,
|
|
756
|
-
children: "(This is a placeholder. Integrate with a QR code generator for production.)"
|
|
757
|
-
})]
|
|
758
|
-
})
|
|
759
|
-
})]
|
|
760
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
761
|
-
buttons: [{
|
|
762
|
-
text: 'Back',
|
|
763
|
-
onPress: prevStep,
|
|
764
|
-
icon: 'arrow-back',
|
|
765
|
-
variant: 'transparent'
|
|
766
|
-
}, {
|
|
767
|
-
text: 'Continue',
|
|
768
|
-
onPress: nextStep,
|
|
769
|
-
icon: 'arrow-forward',
|
|
770
|
-
variant: 'primary',
|
|
771
|
-
disabled: paymentMethod === 'card' && (!cardDetails.number || !cardDetails.expiry || !cardDetails.cvv)
|
|
772
|
-
}],
|
|
773
|
-
colors: colors
|
|
774
|
-
})]
|
|
775
|
-
});
|
|
776
|
-
|
|
777
|
-
// Step 4: Review & Pay
|
|
778
|
-
const renderReviewStep = () => /*#__PURE__*/_jsxs(Animated.View, {
|
|
779
|
-
style: [styles.stepContainer, {
|
|
780
|
-
opacity: fadeAnim,
|
|
781
|
-
transform: [{
|
|
782
|
-
translateY: slideAnim
|
|
783
|
-
}, {
|
|
784
|
-
scale: scaleAnim
|
|
785
|
-
}]
|
|
786
|
-
}],
|
|
787
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
788
|
-
style: styles.section,
|
|
789
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
790
|
-
style: styles.sectionTitle,
|
|
791
|
-
children: "Review Payment"
|
|
792
|
-
}), /*#__PURE__*/_jsx(GroupedSection, {
|
|
793
|
-
items: [{
|
|
794
|
-
id: 'secure-payment',
|
|
795
|
-
icon: 'shield-check',
|
|
796
|
-
iconColor: colors.success || '#4BB543',
|
|
797
|
-
title: 'Secure payment',
|
|
798
|
-
subtitle: 'Your payment is protected by industry-standard encryption'
|
|
799
|
-
}, {
|
|
800
|
-
id: 'amount',
|
|
801
|
-
icon: 'cash',
|
|
802
|
-
iconColor: colors.primary,
|
|
803
|
-
title: 'Amount',
|
|
804
|
-
subtitle: `${currencySymbol} ${amount}`
|
|
805
|
-
}, {
|
|
806
|
-
id: 'payment-method',
|
|
807
|
-
icon: PAYMENT_METHODS.find(m => m.key === paymentMethod)?.icon,
|
|
808
|
-
iconColor: colors.primary,
|
|
809
|
-
title: 'Payment Method',
|
|
810
|
-
subtitle: PAYMENT_METHODS.find(m => m.key === paymentMethod)?.label
|
|
811
|
-
}, ...(paymentMethod === 'card' ? [{
|
|
812
|
-
id: 'card-details',
|
|
813
|
-
icon: 'card',
|
|
814
|
-
iconColor: colors.primary,
|
|
815
|
-
title: 'Card',
|
|
816
|
-
subtitle: cardDetails.number.replace(/.(?=.{4})/g, '*')
|
|
817
|
-
}] : []), ...(paymentMethod === 'oxy' ? [{
|
|
818
|
-
id: 'oxy-balance',
|
|
819
|
-
icon: 'wallet',
|
|
820
|
-
iconColor: colors.primary,
|
|
821
|
-
title: 'Oxy Pay Account',
|
|
822
|
-
subtitle: 'Balance: ⊜ 123.45'
|
|
823
|
-
}] : []), ...(paymentMethod === 'faircoin' ? [{
|
|
824
|
-
id: 'faircoin-wallet',
|
|
825
|
-
icon: 'qr-code',
|
|
826
|
-
iconColor: colors.primary,
|
|
827
|
-
title: 'FairCoin Wallet',
|
|
828
|
-
subtitle: 'Paid via QR'
|
|
829
|
-
}] : [])]
|
|
830
|
-
})]
|
|
831
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
832
|
-
buttons: [{
|
|
833
|
-
text: 'Back',
|
|
834
|
-
onPress: prevStep,
|
|
835
|
-
icon: 'arrow-back',
|
|
836
|
-
variant: 'transparent'
|
|
837
|
-
}, {
|
|
838
|
-
text: isPaying ? 'Processing...' : 'Pay Now',
|
|
839
|
-
onPress: handlePay,
|
|
840
|
-
icon: 'checkmark',
|
|
841
|
-
variant: 'primary',
|
|
842
|
-
loading: isPaying
|
|
843
|
-
}],
|
|
844
|
-
colors: colors
|
|
845
|
-
})]
|
|
846
|
-
});
|
|
847
|
-
|
|
848
|
-
// Step 5: Success
|
|
849
|
-
const renderSuccessStep = () => /*#__PURE__*/_jsxs(Animated.View, {
|
|
850
|
-
style: [styles.stepContainer, {
|
|
851
|
-
opacity: fadeAnim,
|
|
852
|
-
transform: [{
|
|
853
|
-
translateY: slideAnim
|
|
854
|
-
}, {
|
|
855
|
-
scale: scaleAnim
|
|
856
|
-
}]
|
|
857
|
-
}],
|
|
858
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
859
|
-
style: styles.section,
|
|
860
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
861
|
-
style: styles.sectionTitle,
|
|
862
|
-
children: "Payment Complete"
|
|
863
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
864
|
-
style: styles.successCard,
|
|
865
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
866
|
-
style: styles.successContent,
|
|
867
|
-
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
868
|
-
name: "checkmark-circle",
|
|
869
|
-
size: 64,
|
|
870
|
-
color: colors.success || '#4BB543',
|
|
871
|
-
style: styles.successIcon
|
|
872
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
873
|
-
style: styles.successMainTitle,
|
|
874
|
-
children: "Payment Successful!"
|
|
875
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
876
|
-
style: styles.successSubtitle,
|
|
877
|
-
children: "Thank you for your payment."
|
|
878
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
879
|
-
style: {
|
|
880
|
-
height: 18
|
|
881
|
-
}
|
|
882
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
883
|
-
style: styles.successMessage,
|
|
884
|
-
children: "Your transaction has been processed successfully."
|
|
885
|
-
})]
|
|
886
|
-
})
|
|
887
|
-
})]
|
|
888
|
-
}), /*#__PURE__*/_jsx(GroupedPillButtons, {
|
|
889
|
-
buttons: [{
|
|
890
|
-
text: 'Done',
|
|
891
|
-
onPress: handleDone,
|
|
892
|
-
icon: 'checkmark',
|
|
893
|
-
variant: 'primary'
|
|
894
|
-
}],
|
|
895
|
-
colors: colors
|
|
896
|
-
})]
|
|
897
|
-
});
|
|
898
|
-
const renderCurrentStep = () => {
|
|
899
|
-
switch (currentStep) {
|
|
900
|
-
case 0:
|
|
901
|
-
return renderSummaryStep();
|
|
902
|
-
case 1:
|
|
903
|
-
return renderMethodStep();
|
|
904
|
-
case 2:
|
|
905
|
-
return renderDetailsStep();
|
|
906
|
-
case 3:
|
|
907
|
-
return renderReviewStep();
|
|
908
|
-
case 4:
|
|
909
|
-
return renderSuccessStep();
|
|
910
|
-
default:
|
|
911
|
-
return renderSummaryStep();
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
|
|
915
|
-
// Use centralized theme styles hook for consistency
|
|
916
|
-
// primaryColor from hook (#007AFF) is already correct for this screen
|
|
917
|
-
const themeStyles = useThemeStyles(normalizedTheme);
|
|
918
|
-
return /*#__PURE__*/_jsx(View, {
|
|
919
|
-
style: [styles.container, {
|
|
920
|
-
backgroundColor: themeStyles.backgroundColor
|
|
921
|
-
}],
|
|
922
|
-
children: /*#__PURE__*/_jsx(ScrollView, {
|
|
923
|
-
style: styles.content,
|
|
924
|
-
showsVerticalScrollIndicator: false,
|
|
925
|
-
children: renderCurrentStep()
|
|
926
|
-
})
|
|
927
|
-
});
|
|
928
|
-
};
|
|
929
|
-
const createStyles = (colors, theme) => StyleSheet.create({
|
|
930
|
-
container: {
|
|
931
|
-
flex: 1
|
|
932
|
-
},
|
|
933
|
-
content: {
|
|
934
|
-
flex: 1,
|
|
935
|
-
padding: 16
|
|
936
|
-
},
|
|
937
|
-
stepContainer: {
|
|
938
|
-
justifyContent: 'flex-start',
|
|
939
|
-
alignItems: 'flex-start',
|
|
940
|
-
width: '100%'
|
|
941
|
-
},
|
|
942
|
-
section: {
|
|
943
|
-
marginBottom: 24,
|
|
944
|
-
width: '100%'
|
|
945
|
-
},
|
|
946
|
-
sectionTitle: {
|
|
947
|
-
fontSize: 16,
|
|
948
|
-
fontWeight: '600',
|
|
949
|
-
color: colors.text,
|
|
950
|
-
marginBottom: 12,
|
|
951
|
-
fontFamily: fontFamilies.phuduSemiBold
|
|
952
|
-
},
|
|
953
|
-
stepIndicatorContainer: {
|
|
954
|
-
flexDirection: 'row',
|
|
955
|
-
justifyContent: 'center',
|
|
956
|
-
alignItems: 'center',
|
|
957
|
-
marginVertical: 16
|
|
958
|
-
},
|
|
959
|
-
stepIndicator: {
|
|
960
|
-
height: 10,
|
|
961
|
-
borderRadius: 5,
|
|
962
|
-
marginHorizontal: 4
|
|
963
|
-
},
|
|
964
|
-
stepIndicatorActive: {
|
|
965
|
-
width: 28,
|
|
966
|
-
backgroundColor: colors.primary
|
|
967
|
-
},
|
|
968
|
-
stepIndicatorInactive: {
|
|
969
|
-
width: 10,
|
|
970
|
-
backgroundColor: colors.border
|
|
971
|
-
},
|
|
972
|
-
logo: {
|
|
973
|
-
width: 40,
|
|
974
|
-
height: 20,
|
|
975
|
-
alignSelf: 'center',
|
|
976
|
-
resizeMode: 'contain'
|
|
977
|
-
},
|
|
978
|
-
headerTitle: {
|
|
979
|
-
fontFamily: fontFamilies.phuduBold,
|
|
980
|
-
fontSize: 22,
|
|
981
|
-
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
982
|
-
color: colors.text,
|
|
983
|
-
letterSpacing: -0.5
|
|
984
|
-
},
|
|
985
|
-
paymentMethodButton: {
|
|
986
|
-
flexDirection: 'row',
|
|
987
|
-
alignItems: 'center',
|
|
988
|
-
borderRadius: 16,
|
|
989
|
-
padding: 14,
|
|
990
|
-
marginBottom: 10,
|
|
991
|
-
width: '90%',
|
|
992
|
-
alignSelf: 'center',
|
|
993
|
-
borderWidth: 1
|
|
994
|
-
},
|
|
995
|
-
paymentMethodButtonActive: {
|
|
996
|
-
backgroundColor: colors.primary + '22',
|
|
997
|
-
borderColor: colors.primary,
|
|
998
|
-
borderWidth: 2
|
|
999
|
-
},
|
|
1000
|
-
paymentMethodButtonInactive: {
|
|
1001
|
-
backgroundColor: 'transparent',
|
|
1002
|
-
borderColor: colors.border,
|
|
1003
|
-
borderWidth: 1
|
|
1004
|
-
},
|
|
1005
|
-
paymentMethodLabel: {
|
|
1006
|
-
fontFamily: fontFamilies.phudu,
|
|
1007
|
-
fontSize: 18,
|
|
1008
|
-
color: colors.text,
|
|
1009
|
-
fontWeight: '600'
|
|
1010
|
-
},
|
|
1011
|
-
paymentMethodDescription: {
|
|
1012
|
-
fontFamily: fontFamilies.phudu,
|
|
1013
|
-
fontSize: 15,
|
|
1014
|
-
color: colors.secondaryText,
|
|
1015
|
-
marginTop: 8,
|
|
1016
|
-
minHeight: 36,
|
|
1017
|
-
textAlign: 'center'
|
|
1018
|
-
},
|
|
1019
|
-
errorContainer: {
|
|
1020
|
-
flex: 1,
|
|
1021
|
-
justifyContent: 'center',
|
|
1022
|
-
alignItems: 'center',
|
|
1023
|
-
padding: 32
|
|
1024
|
-
},
|
|
1025
|
-
errorText: {
|
|
1026
|
-
fontSize: 18,
|
|
1027
|
-
color: 'red',
|
|
1028
|
-
marginBottom: 24
|
|
1029
|
-
},
|
|
1030
|
-
methodListContainer: {
|
|
1031
|
-
width: '100%',
|
|
1032
|
-
alignItems: 'center'
|
|
1033
|
-
},
|
|
1034
|
-
methodIcon: {
|
|
1035
|
-
marginRight: 12
|
|
1036
|
-
},
|
|
1037
|
-
methodCheckIcon: {
|
|
1038
|
-
marginLeft: 'auto'
|
|
1039
|
-
},
|
|
1040
|
-
cardRowInfo: {
|
|
1041
|
-
flexDirection: 'row',
|
|
1042
|
-
alignItems: 'center',
|
|
1043
|
-
marginBottom: 16
|
|
1044
|
-
},
|
|
1045
|
-
cardRowIcon: {
|
|
1046
|
-
marginRight: 8
|
|
1047
|
-
},
|
|
1048
|
-
cardRowText: {
|
|
1049
|
-
fontSize: 15,
|
|
1050
|
-
color: colors.secondaryText
|
|
1051
|
-
},
|
|
1052
|
-
cardFieldContainer: {
|
|
1053
|
-
marginBottom: 16
|
|
1054
|
-
},
|
|
1055
|
-
cardFieldRow: {
|
|
1056
|
-
flexDirection: 'row',
|
|
1057
|
-
gap: 12
|
|
1058
|
-
},
|
|
1059
|
-
cardFieldHalfLeft: {
|
|
1060
|
-
flex: 1,
|
|
1061
|
-
marginRight: 6
|
|
1062
|
-
},
|
|
1063
|
-
cardFieldHalfRight: {
|
|
1064
|
-
flex: 1,
|
|
1065
|
-
marginLeft: 6
|
|
1066
|
-
},
|
|
1067
|
-
oxyPayContainer: {
|
|
1068
|
-
alignItems: 'center'
|
|
1069
|
-
},
|
|
1070
|
-
oxyPayIcon: {
|
|
1071
|
-
marginBottom: 8
|
|
1072
|
-
},
|
|
1073
|
-
oxyPayTitle: {
|
|
1074
|
-
fontSize: 16,
|
|
1075
|
-
marginBottom: 8,
|
|
1076
|
-
color: colors.text,
|
|
1077
|
-
fontWeight: '600',
|
|
1078
|
-
textAlign: 'center'
|
|
1079
|
-
},
|
|
1080
|
-
oxyPaySubtitle: {
|
|
1081
|
-
fontSize: 14,
|
|
1082
|
-
color: colors.secondaryText,
|
|
1083
|
-
marginBottom: 8,
|
|
1084
|
-
textAlign: 'center'
|
|
1085
|
-
},
|
|
1086
|
-
oxyPayBalanceBox: {
|
|
1087
|
-
backgroundColor: colors.primary + '22',
|
|
1088
|
-
borderRadius: 12,
|
|
1089
|
-
padding: 8,
|
|
1090
|
-
marginTop: 8
|
|
1091
|
-
},
|
|
1092
|
-
oxyPayBalanceText: {
|
|
1093
|
-
color: colors.primary,
|
|
1094
|
-
fontWeight: '600'
|
|
1095
|
-
},
|
|
1096
|
-
oxyPayCard: {
|
|
1097
|
-
backgroundColor: '#fff',
|
|
1098
|
-
borderRadius: 16,
|
|
1099
|
-
padding: 24,
|
|
1100
|
-
marginBottom: 24,
|
|
1101
|
-
alignItems: 'center',
|
|
1102
|
-
width: '100%'
|
|
1103
|
-
},
|
|
1104
|
-
oxyPayContent: {
|
|
1105
|
-
alignItems: 'center',
|
|
1106
|
-
width: '100%'
|
|
1107
|
-
},
|
|
1108
|
-
oxyPayMainTitle: {
|
|
1109
|
-
fontFamily: fontFamilies.phuduBold,
|
|
1110
|
-
fontWeight: 'bold',
|
|
1111
|
-
fontSize: 28,
|
|
1112
|
-
color: colors.text,
|
|
1113
|
-
marginBottom: 2,
|
|
1114
|
-
textAlign: 'center',
|
|
1115
|
-
letterSpacing: 0.5
|
|
1116
|
-
},
|
|
1117
|
-
oxyPayWaiting: {
|
|
1118
|
-
fontSize: 14,
|
|
1119
|
-
color: colors.secondaryText,
|
|
1120
|
-
textAlign: 'center',
|
|
1121
|
-
marginBottom: 8
|
|
1122
|
-
},
|
|
1123
|
-
faircoinContainer: {
|
|
1124
|
-
alignItems: 'center',
|
|
1125
|
-
marginBottom: 24,
|
|
1126
|
-
width: '100%'
|
|
1127
|
-
},
|
|
1128
|
-
faircoinIcon: {
|
|
1129
|
-
marginBottom: 8
|
|
1130
|
-
},
|
|
1131
|
-
faircoinMainTitle: {
|
|
1132
|
-
fontFamily: fontFamilies.phuduBold,
|
|
1133
|
-
fontWeight: 'bold',
|
|
1134
|
-
fontSize: 28,
|
|
1135
|
-
color: '#1b1f0a',
|
|
1136
|
-
marginBottom: 2,
|
|
1137
|
-
textAlign: 'center',
|
|
1138
|
-
letterSpacing: 0.5
|
|
1139
|
-
},
|
|
1140
|
-
faircoinSubtitle: {
|
|
1141
|
-
color: '#1b1f0a',
|
|
1142
|
-
fontWeight: '700',
|
|
1143
|
-
fontSize: 17,
|
|
1144
|
-
marginBottom: 18,
|
|
1145
|
-
textAlign: 'center',
|
|
1146
|
-
letterSpacing: 0.2
|
|
1147
|
-
},
|
|
1148
|
-
faircoinScanText: {
|
|
1149
|
-
color: '#1b1f0a',
|
|
1150
|
-
fontWeight: '600',
|
|
1151
|
-
fontSize: 15,
|
|
1152
|
-
marginBottom: 8
|
|
1153
|
-
},
|
|
1154
|
-
faircoinQRCard: {
|
|
1155
|
-
width: 200,
|
|
1156
|
-
height: 200,
|
|
1157
|
-
backgroundColor: '#fff',
|
|
1158
|
-
borderRadius: 32,
|
|
1159
|
-
justifyContent: 'center',
|
|
1160
|
-
alignItems: 'center',
|
|
1161
|
-
marginBottom: 16,
|
|
1162
|
-
padding: 16,
|
|
1163
|
-
borderWidth: 3,
|
|
1164
|
-
borderColor: '#9ffb50',
|
|
1165
|
-
shadowColor: '#9ffb50',
|
|
1166
|
-
shadowOffset: {
|
|
1167
|
-
width: 0,
|
|
1168
|
-
height: 4
|
|
1169
|
-
},
|
|
1170
|
-
shadowOpacity: 0.25,
|
|
1171
|
-
shadowRadius: 12,
|
|
1172
|
-
elevation: 8,
|
|
1173
|
-
position: 'relative'
|
|
1174
|
-
},
|
|
1175
|
-
faircoinQRBadge: {
|
|
1176
|
-
position: 'absolute',
|
|
1177
|
-
bottom: 12,
|
|
1178
|
-
right: 12,
|
|
1179
|
-
backgroundColor: '#fff',
|
|
1180
|
-
borderRadius: 16,
|
|
1181
|
-
padding: 4,
|
|
1182
|
-
shadowColor: '#000',
|
|
1183
|
-
shadowOffset: {
|
|
1184
|
-
width: 0,
|
|
1185
|
-
height: 2
|
|
1186
|
-
},
|
|
1187
|
-
shadowOpacity: 0.1,
|
|
1188
|
-
shadowRadius: 4,
|
|
1189
|
-
elevation: 2
|
|
1190
|
-
},
|
|
1191
|
-
faircoinTitle: {
|
|
1192
|
-
fontSize: 16,
|
|
1193
|
-
marginBottom: 8,
|
|
1194
|
-
color: colors.text,
|
|
1195
|
-
fontWeight: '600',
|
|
1196
|
-
textAlign: 'center'
|
|
1197
|
-
},
|
|
1198
|
-
faircoinQRBox: {
|
|
1199
|
-
width: 160,
|
|
1200
|
-
height: 160,
|
|
1201
|
-
backgroundColor: '#eee',
|
|
1202
|
-
borderRadius: 16,
|
|
1203
|
-
justifyContent: 'center',
|
|
1204
|
-
alignItems: 'center',
|
|
1205
|
-
marginBottom: 12,
|
|
1206
|
-
borderWidth: 2,
|
|
1207
|
-
borderColor: colors.primary
|
|
1208
|
-
},
|
|
1209
|
-
faircoinQRText: {
|
|
1210
|
-
color: '#aaa'
|
|
1211
|
-
},
|
|
1212
|
-
faircoinWaiting: {
|
|
1213
|
-
fontSize: 14,
|
|
1214
|
-
color: colors.secondaryText,
|
|
1215
|
-
textAlign: 'center',
|
|
1216
|
-
marginBottom: 8
|
|
1217
|
-
},
|
|
1218
|
-
faircoinPlaceholder: {
|
|
1219
|
-
fontSize: 13,
|
|
1220
|
-
color: colors.secondaryText,
|
|
1221
|
-
textAlign: 'center'
|
|
1222
|
-
},
|
|
1223
|
-
faircoinCard: {
|
|
1224
|
-
backgroundColor: '#fff',
|
|
1225
|
-
borderRadius: 16,
|
|
1226
|
-
padding: 24,
|
|
1227
|
-
marginBottom: 24,
|
|
1228
|
-
alignItems: 'center',
|
|
1229
|
-
width: '100%'
|
|
1230
|
-
},
|
|
1231
|
-
faircoinContent: {
|
|
1232
|
-
alignItems: 'center',
|
|
1233
|
-
width: '100%'
|
|
1234
|
-
},
|
|
1235
|
-
successCard: {
|
|
1236
|
-
backgroundColor: '#fff',
|
|
1237
|
-
borderRadius: 16,
|
|
1238
|
-
padding: 24,
|
|
1239
|
-
marginBottom: 24,
|
|
1240
|
-
alignItems: 'center',
|
|
1241
|
-
width: '100%'
|
|
1242
|
-
},
|
|
1243
|
-
successContent: {
|
|
1244
|
-
alignItems: 'center',
|
|
1245
|
-
width: '100%'
|
|
1246
|
-
},
|
|
1247
|
-
successIcon: {
|
|
1248
|
-
marginBottom: 8
|
|
1249
|
-
},
|
|
1250
|
-
successMainTitle: {
|
|
1251
|
-
fontFamily: fontFamilies.phuduBold,
|
|
1252
|
-
fontWeight: 'bold',
|
|
1253
|
-
fontSize: 28,
|
|
1254
|
-
color: colors.success || '#4BB543',
|
|
1255
|
-
marginBottom: 2,
|
|
1256
|
-
textAlign: 'center',
|
|
1257
|
-
letterSpacing: 0.5
|
|
1258
|
-
},
|
|
1259
|
-
successSubtitle: {
|
|
1260
|
-
fontSize: 16,
|
|
1261
|
-
color: colors.text,
|
|
1262
|
-
textAlign: 'center',
|
|
1263
|
-
marginBottom: 8,
|
|
1264
|
-
width: '100%'
|
|
1265
|
-
},
|
|
1266
|
-
successMessage: {
|
|
1267
|
-
fontSize: 14,
|
|
1268
|
-
color: colors.secondaryText,
|
|
1269
|
-
textAlign: 'center',
|
|
1270
|
-
marginBottom: 8
|
|
1271
|
-
},
|
|
1272
|
-
methodCard: {
|
|
1273
|
-
flexDirection: 'row',
|
|
1274
|
-
alignItems: 'center',
|
|
1275
|
-
backgroundColor: '#fff',
|
|
1276
|
-
borderRadius: 18,
|
|
1277
|
-
paddingVertical: 18,
|
|
1278
|
-
paddingHorizontal: 18,
|
|
1279
|
-
marginBottom: 14,
|
|
1280
|
-
borderWidth: 1.5,
|
|
1281
|
-
borderColor: colors.border,
|
|
1282
|
-
shadowColor: '#000',
|
|
1283
|
-
shadowOffset: {
|
|
1284
|
-
width: 0,
|
|
1285
|
-
height: 2
|
|
1286
|
-
},
|
|
1287
|
-
shadowOpacity: 0.06,
|
|
1288
|
-
shadowRadius: 6,
|
|
1289
|
-
elevation: 2,
|
|
1290
|
-
minHeight: 72
|
|
1291
|
-
},
|
|
1292
|
-
methodCardSelected: {
|
|
1293
|
-
backgroundColor: colors.primary + '11',
|
|
1294
|
-
borderColor: colors.primary,
|
|
1295
|
-
shadowOpacity: 0.13,
|
|
1296
|
-
shadowRadius: 10,
|
|
1297
|
-
elevation: 4
|
|
1298
|
-
},
|
|
1299
|
-
methodCardContent: {
|
|
1300
|
-
flexDirection: 'row',
|
|
1301
|
-
alignItems: 'center',
|
|
1302
|
-
flex: 1
|
|
1303
|
-
},
|
|
1304
|
-
methodCardIcon: {
|
|
1305
|
-
marginRight: 18,
|
|
1306
|
-
marginLeft: 2
|
|
1307
|
-
},
|
|
1308
|
-
methodCardTextContainer: {
|
|
1309
|
-
flex: 1,
|
|
1310
|
-
flexDirection: 'column',
|
|
1311
|
-
justifyContent: 'center'
|
|
1312
|
-
},
|
|
1313
|
-
methodCardDescription: {
|
|
1314
|
-
fontSize: 14,
|
|
1315
|
-
color: colors.secondaryText,
|
|
1316
|
-
marginTop: 2,
|
|
1317
|
-
opacity: 0.85
|
|
1318
|
-
},
|
|
1319
|
-
methodCardCheckIcon: {
|
|
1320
|
-
marginLeft: 12
|
|
1321
|
-
},
|
|
1322
|
-
paymentMethodLabelSelected: {
|
|
1323
|
-
color: colors.primary
|
|
1324
|
-
},
|
|
1325
|
-
circleListContainer: {
|
|
1326
|
-
flexDirection: 'row',
|
|
1327
|
-
flexWrap: 'nowrap',
|
|
1328
|
-
justifyContent: 'center',
|
|
1329
|
-
alignItems: 'flex-start',
|
|
1330
|
-
paddingHorizontal: 4,
|
|
1331
|
-
width: '100%',
|
|
1332
|
-
marginBottom: 0
|
|
1333
|
-
},
|
|
1334
|
-
circleMethod: {
|
|
1335
|
-
alignItems: 'center',
|
|
1336
|
-
marginHorizontal: 0,
|
|
1337
|
-
flex: 1,
|
|
1338
|
-
minWidth: 62,
|
|
1339
|
-
paddingVertical: 2,
|
|
1340
|
-
paddingHorizontal: 2
|
|
1341
|
-
},
|
|
1342
|
-
circleMethodSelected: {
|
|
1343
|
-
// No extra margin, but highlight below
|
|
1344
|
-
},
|
|
1345
|
-
circleIconWrapper: {
|
|
1346
|
-
width: 48,
|
|
1347
|
-
// restored padding
|
|
1348
|
-
height: 48,
|
|
1349
|
-
// restored padding
|
|
1350
|
-
borderRadius: 24,
|
|
1351
|
-
// half of width/height
|
|
1352
|
-
backgroundColor: '#fff',
|
|
1353
|
-
borderWidth: 2,
|
|
1354
|
-
borderColor: colors.border,
|
|
1355
|
-
alignItems: 'center',
|
|
1356
|
-
justifyContent: 'center',
|
|
1357
|
-
marginBottom: 8,
|
|
1358
|
-
// spacing below icon
|
|
1359
|
-
shadowColor: '#000',
|
|
1360
|
-
shadowOffset: {
|
|
1361
|
-
width: 0,
|
|
1362
|
-
height: 2
|
|
1363
|
-
},
|
|
1364
|
-
shadowOpacity: 0.07,
|
|
1365
|
-
shadowRadius: 6,
|
|
1366
|
-
elevation: 2
|
|
1367
|
-
},
|
|
1368
|
-
circleLabel: {
|
|
1369
|
-
fontFamily: fontFamilies.phudu,
|
|
1370
|
-
fontSize: 16,
|
|
1371
|
-
color: colors.text,
|
|
1372
|
-
fontWeight: '600',
|
|
1373
|
-
textAlign: 'center',
|
|
1374
|
-
marginBottom: 4,
|
|
1375
|
-
marginTop: 2
|
|
1376
|
-
},
|
|
1377
|
-
circleLabelSelected: {
|
|
1378
|
-
color: colors.primary
|
|
1379
|
-
},
|
|
1380
|
-
circleDescription: {
|
|
1381
|
-
fontSize: 13,
|
|
1382
|
-
color: colors.secondaryText,
|
|
1383
|
-
textAlign: 'center',
|
|
1384
|
-
opacity: 0.85,
|
|
1385
|
-
minHeight: 36,
|
|
1386
|
-
marginBottom: 2
|
|
1387
|
-
},
|
|
1388
|
-
headerStepIndicatorContainer: {
|
|
1389
|
-
marginVertical: 2,
|
|
1390
|
-
flexDirection: 'row',
|
|
1391
|
-
justifyContent: 'center',
|
|
1392
|
-
alignItems: 'center'
|
|
1393
|
-
},
|
|
1394
|
-
faircoinButton: {
|
|
1395
|
-
flexDirection: 'row',
|
|
1396
|
-
alignItems: 'center',
|
|
1397
|
-
alignSelf: 'center',
|
|
1398
|
-
backgroundColor: colors.primary + '11',
|
|
1399
|
-
borderRadius: 16,
|
|
1400
|
-
paddingHorizontal: 16,
|
|
1401
|
-
paddingVertical: 8,
|
|
1402
|
-
marginTop: 6,
|
|
1403
|
-
marginBottom: 2
|
|
1404
|
-
},
|
|
1405
|
-
faircoinButtonText: {
|
|
1406
|
-
color: colors.primary,
|
|
1407
|
-
fontWeight: '600',
|
|
1408
|
-
fontSize: 15
|
|
1409
|
-
},
|
|
1410
|
-
faircoinAddress: {
|
|
1411
|
-
color: colors.secondaryText,
|
|
1412
|
-
fontSize: 13,
|
|
1413
|
-
textAlign: 'center',
|
|
1414
|
-
marginTop: 6,
|
|
1415
|
-
marginBottom: 2
|
|
1416
|
-
},
|
|
1417
|
-
// Summary step styles
|
|
1418
|
-
summaryDescriptionContainer: {
|
|
1419
|
-
marginBottom: 16
|
|
1420
|
-
},
|
|
1421
|
-
summaryDescriptionText: {
|
|
1422
|
-
color: colors.secondaryText,
|
|
1423
|
-
fontSize: 15,
|
|
1424
|
-
lineHeight: 20
|
|
1425
|
-
},
|
|
1426
|
-
summaryItemPrice: {
|
|
1427
|
-
color: colors.text,
|
|
1428
|
-
fontWeight: '600',
|
|
1429
|
-
fontSize: 16
|
|
1430
|
-
},
|
|
1431
|
-
summaryFallbackContainer: {
|
|
1432
|
-
padding: 16,
|
|
1433
|
-
backgroundColor: '#fff',
|
|
1434
|
-
borderRadius: 12,
|
|
1435
|
-
borderWidth: 1,
|
|
1436
|
-
borderColor: colors.border
|
|
1437
|
-
},
|
|
1438
|
-
summaryFallbackText: {
|
|
1439
|
-
color: colors.text,
|
|
1440
|
-
fontSize: 16,
|
|
1441
|
-
textAlign: 'center'
|
|
1442
|
-
},
|
|
1443
|
-
// Card payment styles
|
|
1444
|
-
cardPaymentCard: {
|
|
1445
|
-
backgroundColor: '#fff',
|
|
1446
|
-
borderRadius: 16,
|
|
1447
|
-
padding: 24,
|
|
1448
|
-
marginBottom: 24,
|
|
1449
|
-
alignItems: 'center',
|
|
1450
|
-
width: '100%'
|
|
1451
|
-
},
|
|
1452
|
-
cardPaymentContent: {
|
|
1453
|
-
alignItems: 'center',
|
|
1454
|
-
width: '100%'
|
|
1455
|
-
},
|
|
1456
|
-
cardPaymentIcon: {
|
|
1457
|
-
marginBottom: 8
|
|
1458
|
-
},
|
|
1459
|
-
cardPaymentMainTitle: {
|
|
1460
|
-
fontFamily: fontFamilies.phuduBold,
|
|
1461
|
-
fontWeight: 'bold',
|
|
1462
|
-
fontSize: 28,
|
|
1463
|
-
color: colors.text,
|
|
1464
|
-
marginBottom: 2,
|
|
1465
|
-
textAlign: 'center',
|
|
1466
|
-
letterSpacing: 0.5
|
|
1467
|
-
},
|
|
1468
|
-
cardPaymentSubtitle: {
|
|
1469
|
-
fontSize: 16,
|
|
1470
|
-
color: colors.secondaryText,
|
|
1471
|
-
textAlign: 'center',
|
|
1472
|
-
marginBottom: 24,
|
|
1473
|
-
width: '100%'
|
|
1474
|
-
},
|
|
1475
|
-
cardPaymentFields: {
|
|
1476
|
-
width: '100%',
|
|
1477
|
-
marginBottom: 16
|
|
1478
|
-
},
|
|
1479
|
-
cardPaymentWaiting: {
|
|
1480
|
-
fontSize: 14,
|
|
1481
|
-
color: colors.secondaryText,
|
|
1482
|
-
textAlign: 'center',
|
|
1483
|
-
marginBottom: 8
|
|
1484
|
-
},
|
|
1485
|
-
// Summary card styles
|
|
1486
|
-
summaryCard: {
|
|
1487
|
-
backgroundColor: '#fff',
|
|
1488
|
-
borderRadius: 16,
|
|
1489
|
-
padding: 24,
|
|
1490
|
-
marginBottom: 24,
|
|
1491
|
-
alignItems: 'center',
|
|
1492
|
-
width: '100%'
|
|
1493
|
-
},
|
|
1494
|
-
summaryCardContent: {
|
|
1495
|
-
alignItems: 'center',
|
|
1496
|
-
width: '100%'
|
|
1497
|
-
},
|
|
1498
|
-
summaryCardIcon: {
|
|
1499
|
-
marginBottom: 8
|
|
1500
|
-
},
|
|
1501
|
-
summaryCardMainTitle: {
|
|
1502
|
-
fontFamily: fontFamilies.phuduBold,
|
|
1503
|
-
fontWeight: 'bold',
|
|
1504
|
-
fontSize: 28,
|
|
1505
|
-
color: colors.text,
|
|
1506
|
-
marginBottom: 2,
|
|
1507
|
-
textAlign: 'center',
|
|
1508
|
-
letterSpacing: 0.5
|
|
1509
|
-
},
|
|
1510
|
-
summaryCardSubtitle: {
|
|
1511
|
-
fontSize: 16,
|
|
1512
|
-
color: colors.secondaryText,
|
|
1513
|
-
textAlign: 'center',
|
|
1514
|
-
marginBottom: 24,
|
|
1515
|
-
width: '100%'
|
|
1516
|
-
},
|
|
1517
|
-
summaryCardItems: {
|
|
1518
|
-
width: '100%',
|
|
1519
|
-
marginBottom: 16
|
|
1520
|
-
},
|
|
1521
|
-
summaryCardTotal: {
|
|
1522
|
-
fontSize: 18,
|
|
1523
|
-
fontWeight: 'bold',
|
|
1524
|
-
color: colors.text,
|
|
1525
|
-
textAlign: 'center',
|
|
1526
|
-
marginBottom: 8
|
|
1527
|
-
},
|
|
1528
|
-
// Simple amount styles
|
|
1529
|
-
summaryCardAmount: {
|
|
1530
|
-
alignItems: 'center',
|
|
1531
|
-
width: '100%',
|
|
1532
|
-
marginBottom: 16
|
|
1533
|
-
},
|
|
1534
|
-
summaryCardAmountLabel: {
|
|
1535
|
-
fontSize: 16,
|
|
1536
|
-
color: colors.secondaryText,
|
|
1537
|
-
textAlign: 'center',
|
|
1538
|
-
marginBottom: 8
|
|
1539
|
-
},
|
|
1540
|
-
summaryCardAmountValue: {
|
|
1541
|
-
fontSize: 32,
|
|
1542
|
-
fontWeight: 'bold',
|
|
1543
|
-
color: colors.text,
|
|
1544
|
-
textAlign: 'center',
|
|
1545
|
-
marginBottom: 8,
|
|
1546
|
-
fontFamily: fontFamilies.phuduBold
|
|
1547
|
-
},
|
|
1548
|
-
summaryCardAmountDescription: {
|
|
1549
|
-
fontSize: 14,
|
|
1550
|
-
color: colors.secondaryText,
|
|
1551
|
-
textAlign: 'center',
|
|
1552
|
-
lineHeight: 20
|
|
1553
|
-
},
|
|
1554
|
-
// Enhanced summary styles
|
|
1555
|
-
summaryCardDivider: {
|
|
1556
|
-
height: 1,
|
|
1557
|
-
backgroundColor: colors.border,
|
|
1558
|
-
marginVertical: 16,
|
|
1559
|
-
width: '100%'
|
|
1560
|
-
},
|
|
1561
|
-
summaryCardTotalSection: {
|
|
1562
|
-
width: '100%',
|
|
1563
|
-
marginBottom: 8
|
|
1564
|
-
},
|
|
1565
|
-
summaryCardTotalRow: {
|
|
1566
|
-
flexDirection: 'row',
|
|
1567
|
-
justifyContent: 'space-between',
|
|
1568
|
-
alignItems: 'center',
|
|
1569
|
-
paddingVertical: 4
|
|
1570
|
-
},
|
|
1571
|
-
summaryCardTotalLabel: {
|
|
1572
|
-
fontSize: 16,
|
|
1573
|
-
color: colors.secondaryText,
|
|
1574
|
-
fontWeight: '500'
|
|
1575
|
-
},
|
|
1576
|
-
summaryCardTotalValue: {
|
|
1577
|
-
fontSize: 16,
|
|
1578
|
-
color: colors.text,
|
|
1579
|
-
fontWeight: '600'
|
|
1580
|
-
}
|
|
1581
|
-
});
|
|
1582
|
-
export default PaymentGatewayScreen;
|
|
1583
|
-
//# sourceMappingURL=PaymentGatewayScreen.js.map
|