@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,698 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState, useEffect, useMemo, useCallback } from 'react';
|
|
4
|
-
import { View, Text, TouchableOpacity, StyleSheet, ActivityIndicator, ScrollView, Platform, Image, Dimensions } from 'react-native';
|
|
5
|
-
import { fontFamilies } from '../styles/fonts';
|
|
6
|
-
import { toast } from '../../lib/sonner';
|
|
7
|
-
import { confirmAction } from '../utils/confirmAction';
|
|
8
|
-
import OxyIcon from '../components/icon/OxyIcon';
|
|
9
|
-
import { Header, GroupedSection, LoadingState } from '../components';
|
|
10
|
-
import { useI18n } from '../hooks/useI18n';
|
|
11
|
-
import { useThemeStyles } from '../hooks/useThemeStyles';
|
|
12
|
-
import { useColorScheme } from '../hooks/use-color-scheme';
|
|
13
|
-
import { normalizeTheme } from '../utils/themeUtils';
|
|
14
|
-
import { useOxy } from '../context/OxyContext';
|
|
15
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
|
-
const ModernAccountSwitcherScreen = ({
|
|
17
|
-
onClose,
|
|
18
|
-
theme,
|
|
19
|
-
navigate,
|
|
20
|
-
goBack
|
|
21
|
-
}) => {
|
|
22
|
-
// Use useOxy() hook for OxyContext values
|
|
23
|
-
const {
|
|
24
|
-
oxyServices,
|
|
25
|
-
user,
|
|
26
|
-
sessions = [],
|
|
27
|
-
activeSessionId = null,
|
|
28
|
-
switchSession,
|
|
29
|
-
removeSession,
|
|
30
|
-
logoutAll,
|
|
31
|
-
refreshSessions,
|
|
32
|
-
isLoading = false,
|
|
33
|
-
isAuthenticated = false
|
|
34
|
-
} = useOxy();
|
|
35
|
-
const [sessionsWithUsers, setSessionsWithUsers] = useState([]);
|
|
36
|
-
const [switchingToUserId, setSwitchingToUserId] = useState(null);
|
|
37
|
-
const [removingUserId, setRemovingUserId] = useState(null);
|
|
38
|
-
|
|
39
|
-
// Device session management state
|
|
40
|
-
const [showDeviceManagement, setShowDeviceManagement] = useState(false);
|
|
41
|
-
const [deviceSessions, setDeviceSessions] = useState([]);
|
|
42
|
-
const [loadingDeviceSessions, setLoadingDeviceSessions] = useState(false);
|
|
43
|
-
const [remotingLogoutSessionId, setRemoteLogoutSessionId] = useState(null);
|
|
44
|
-
const [loggingOutAllDevices, setLoggingOutAllDevices] = useState(false);
|
|
45
|
-
const screenWidth = Dimensions.get('window').width;
|
|
46
|
-
const {
|
|
47
|
-
t
|
|
48
|
-
} = useI18n();
|
|
49
|
-
const colorScheme = useColorScheme();
|
|
50
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
51
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
52
|
-
|
|
53
|
-
// Modern color scheme - memoized for performance
|
|
54
|
-
// Uses themeStyles for base colors, with some custom additions for this screen
|
|
55
|
-
const colors = useMemo(() => ({
|
|
56
|
-
background: themeStyles.backgroundColor,
|
|
57
|
-
surface: themeStyles.secondaryBackgroundColor,
|
|
58
|
-
card: themeStyles.isDarkTheme ? '#2C2C2E' : '#FFFFFF',
|
|
59
|
-
text: themeStyles.textColor,
|
|
60
|
-
secondaryText: themeStyles.isDarkTheme ? '#8E8E93' : '#6D6D70',
|
|
61
|
-
accent: themeStyles.primaryColor,
|
|
62
|
-
destructive: themeStyles.dangerColor,
|
|
63
|
-
success: themeStyles.successColor,
|
|
64
|
-
border: themeStyles.borderColor,
|
|
65
|
-
activeCard: themeStyles.isDarkTheme ? '#0A84FF20' : '#007AFF15',
|
|
66
|
-
shadow: themeStyles.isDarkTheme ? 'rgba(0,0,0,0.3)' : 'rgba(0,0,0,0.1)'
|
|
67
|
-
}), [themeStyles]);
|
|
68
|
-
|
|
69
|
-
// Refresh sessions when screen loads
|
|
70
|
-
useEffect(() => {
|
|
71
|
-
if (isAuthenticated && activeSessionId && refreshSessions) {
|
|
72
|
-
refreshSessions();
|
|
73
|
-
}
|
|
74
|
-
}, [isAuthenticated, activeSessionId, refreshSessions]);
|
|
75
|
-
|
|
76
|
-
// Memoize session IDs to prevent unnecessary re-renders
|
|
77
|
-
const sessionIds = useMemo(() => sessions.map(s => s.sessionId).join(','), [sessions]);
|
|
78
|
-
|
|
79
|
-
// Load user profiles for sessions
|
|
80
|
-
// Production-ready: Optimized with batching, memoization, and error handling
|
|
81
|
-
useEffect(() => {
|
|
82
|
-
let cancelled = false;
|
|
83
|
-
const loadUserProfiles = async () => {
|
|
84
|
-
if (!sessions.length || !oxyServices || cancelled) return;
|
|
85
|
-
|
|
86
|
-
// Sessions are already deduplicated by userId at the core level (OxyContext)
|
|
87
|
-
const uniqueSessions = sessions;
|
|
88
|
-
|
|
89
|
-
// Initialize loading state
|
|
90
|
-
setSessionsWithUsers(uniqueSessions.map(session => ({
|
|
91
|
-
...session,
|
|
92
|
-
isLoadingProfile: true
|
|
93
|
-
})));
|
|
94
|
-
|
|
95
|
-
// Batch load profiles for better performance using batch endpoint
|
|
96
|
-
try {
|
|
97
|
-
const sessionIds = uniqueSessions.map(s => s.sessionId);
|
|
98
|
-
const batchResults = await oxyServices.getUsersBySessions(sessionIds);
|
|
99
|
-
|
|
100
|
-
// Create a map for O(1) lookup
|
|
101
|
-
const userProfileMap = new Map();
|
|
102
|
-
batchResults.forEach(({
|
|
103
|
-
sessionId,
|
|
104
|
-
user
|
|
105
|
-
}) => {
|
|
106
|
-
userProfileMap.set(sessionId, user);
|
|
107
|
-
});
|
|
108
|
-
if (cancelled) return;
|
|
109
|
-
|
|
110
|
-
// Update sessions with loaded profiles - optimized with Map for O(1) lookup
|
|
111
|
-
setSessionsWithUsers(prev => {
|
|
112
|
-
return prev.map(session => {
|
|
113
|
-
const userProfile = userProfileMap.get(session.sessionId);
|
|
114
|
-
return {
|
|
115
|
-
...session,
|
|
116
|
-
userProfile: userProfile || undefined,
|
|
117
|
-
isLoadingProfile: false
|
|
118
|
-
};
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
} catch (error) {
|
|
122
|
-
if (!cancelled && __DEV__) {
|
|
123
|
-
console.error('Failed to load user profiles:', error);
|
|
124
|
-
}
|
|
125
|
-
if (!cancelled) {
|
|
126
|
-
setSessionsWithUsers(prev => prev.map(s => ({
|
|
127
|
-
...s,
|
|
128
|
-
isLoadingProfile: false
|
|
129
|
-
})));
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
loadUserProfiles();
|
|
134
|
-
return () => {
|
|
135
|
-
cancelled = true;
|
|
136
|
-
};
|
|
137
|
-
}, [sessionIds, oxyServices, sessions]);
|
|
138
|
-
const handleSwitchSession = useCallback(async sessionId => {
|
|
139
|
-
if (sessionId === (activeSessionId ?? null)) return; // Already active session
|
|
140
|
-
if (switchingToUserId) return; // Already switching
|
|
141
|
-
|
|
142
|
-
setSwitchingToUserId(sessionId);
|
|
143
|
-
try {
|
|
144
|
-
await switchSession(sessionId);
|
|
145
|
-
toast.success(t('accountSwitcher.toasts.switchSuccess') || 'Account switched successfully!');
|
|
146
|
-
if (onClose) {
|
|
147
|
-
onClose();
|
|
148
|
-
}
|
|
149
|
-
} catch (error) {
|
|
150
|
-
if (__DEV__) {
|
|
151
|
-
console.error('Switch session failed:', error);
|
|
152
|
-
}
|
|
153
|
-
toast.error(t('accountSwitcher.toasts.switchFailed') || 'There was a problem switching accounts. Please try again.');
|
|
154
|
-
} finally {
|
|
155
|
-
setSwitchingToUserId(null);
|
|
156
|
-
}
|
|
157
|
-
}, [activeSessionId, switchSession, onClose, t, switchingToUserId]);
|
|
158
|
-
const handleRemoveSession = useCallback(async (sessionId, displayName) => {
|
|
159
|
-
if (removingUserId) return; // Already removing
|
|
160
|
-
|
|
161
|
-
confirmAction(t('accountSwitcher.confirms.remove', {
|
|
162
|
-
displayName
|
|
163
|
-
}) || `Are you sure you want to remove ${displayName} from this device? You'll need to sign in again to access this account.`, async () => {
|
|
164
|
-
setRemovingUserId(sessionId);
|
|
165
|
-
try {
|
|
166
|
-
await removeSession(sessionId);
|
|
167
|
-
toast.success(t('accountSwitcher.toasts.removeSuccess') || 'Account removed successfully!');
|
|
168
|
-
} catch (error) {
|
|
169
|
-
if (__DEV__) {
|
|
170
|
-
console.error('Remove session failed:', error);
|
|
171
|
-
}
|
|
172
|
-
toast.error(t('accountSwitcher.toasts.removeFailed') || 'There was a problem removing the account. Please try again.');
|
|
173
|
-
} finally {
|
|
174
|
-
setRemovingUserId(null);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
}, [removeSession, t, removingUserId]);
|
|
178
|
-
const handleLogoutAll = useCallback(() => {
|
|
179
|
-
confirmAction(t('accountSwitcher.confirms.logoutAll') || 'Are you sure you want to sign out of all accounts? This will remove all saved accounts from this device.', async () => {
|
|
180
|
-
try {
|
|
181
|
-
await logoutAll();
|
|
182
|
-
toast.success(t('accountSwitcher.toasts.signOutAllSuccess') || 'All accounts signed out successfully!');
|
|
183
|
-
if (onClose) {
|
|
184
|
-
onClose();
|
|
185
|
-
}
|
|
186
|
-
} catch (error) {
|
|
187
|
-
if (__DEV__) {
|
|
188
|
-
console.error('Logout all failed:', error);
|
|
189
|
-
}
|
|
190
|
-
const errorMessage = error instanceof Error ? error.message : 'Unknown error occurred';
|
|
191
|
-
toast.error(t('accountSwitcher.toasts.signOutAllFailed', {
|
|
192
|
-
error: errorMessage
|
|
193
|
-
}) || `There was a problem signing out: ${errorMessage}`);
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
}, [logoutAll, onClose, t]);
|
|
197
|
-
|
|
198
|
-
// Device session management functions - optimized with useCallback
|
|
199
|
-
const loadAllDeviceSessions = useCallback(async () => {
|
|
200
|
-
const currentActiveSessionId = activeSessionId ?? null;
|
|
201
|
-
if (!oxyServices || !currentActiveSessionId) return;
|
|
202
|
-
setLoadingDeviceSessions(true);
|
|
203
|
-
try {
|
|
204
|
-
const allSessions = await oxyServices.getDeviceSessions(currentActiveSessionId);
|
|
205
|
-
setDeviceSessions(allSessions || []);
|
|
206
|
-
} catch (error) {
|
|
207
|
-
if (__DEV__) {
|
|
208
|
-
console.error('Failed to load device sessions:', error);
|
|
209
|
-
}
|
|
210
|
-
toast.error(t('accountSwitcher.toasts.deviceLoadFailed') || 'Failed to load device sessions. Please try again.');
|
|
211
|
-
} finally {
|
|
212
|
-
setLoadingDeviceSessions(false);
|
|
213
|
-
}
|
|
214
|
-
}, [oxyServices, activeSessionId, t]);
|
|
215
|
-
const handleRemoteSessionLogout = useCallback((sessionId, deviceName) => {
|
|
216
|
-
if (remotingLogoutSessionId) return; // Already processing
|
|
217
|
-
|
|
218
|
-
confirmAction(t('accountSwitcher.confirms.remoteLogout', {
|
|
219
|
-
deviceName
|
|
220
|
-
}) || `Are you sure you want to sign out from "${deviceName}"? This will end the session on that device.`, async () => {
|
|
221
|
-
setRemoteLogoutSessionId(sessionId);
|
|
222
|
-
try {
|
|
223
|
-
await oxyServices?.logoutSession((activeSessionId ?? null) || '', sessionId);
|
|
224
|
-
await loadAllDeviceSessions();
|
|
225
|
-
toast.success(t('accountSwitcher.toasts.remoteSignOutSuccess', {
|
|
226
|
-
deviceName
|
|
227
|
-
}) || `Signed out from ${deviceName} successfully!`);
|
|
228
|
-
} catch (error) {
|
|
229
|
-
if (__DEV__) {
|
|
230
|
-
console.error('Remote logout failed:', error);
|
|
231
|
-
}
|
|
232
|
-
toast.error(t('accountSwitcher.toasts.remoteSignOutFailed') || 'There was a problem signing out from the device. Please try again.');
|
|
233
|
-
} finally {
|
|
234
|
-
setRemoteLogoutSessionId(null);
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
}, [activeSessionId, oxyServices, loadAllDeviceSessions, t, remotingLogoutSessionId]);
|
|
238
|
-
const handleLogoutAllDevices = useCallback(() => {
|
|
239
|
-
const otherDevicesCount = deviceSessions.filter(session => !session.isCurrent).length;
|
|
240
|
-
if (otherDevicesCount === 0) {
|
|
241
|
-
toast.info(t('accountSwitcher.toasts.noOtherDeviceSessions') || 'No other device sessions found to sign out from.');
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
if (loggingOutAllDevices) return; // Already processing
|
|
245
|
-
|
|
246
|
-
confirmAction(t('accountSwitcher.confirms.logoutOthers', {
|
|
247
|
-
count: otherDevicesCount
|
|
248
|
-
}) || `Are you sure you want to sign out from all ${otherDevicesCount} other device(s)? This will end sessions on all other devices except this one.`, async () => {
|
|
249
|
-
setLoggingOutAllDevices(true);
|
|
250
|
-
try {
|
|
251
|
-
await oxyServices?.logoutAllDeviceSessions((activeSessionId ?? null) || '');
|
|
252
|
-
await loadAllDeviceSessions();
|
|
253
|
-
toast.success(t('accountSwitcher.toasts.signOutOthersSuccess') || 'Signed out from all other devices successfully!');
|
|
254
|
-
} catch (error) {
|
|
255
|
-
if (__DEV__) {
|
|
256
|
-
console.error('Logout all devices failed:', error);
|
|
257
|
-
}
|
|
258
|
-
toast.error(t('accountSwitcher.toasts.signOutOthersFailed') || 'There was a problem signing out from other devices. Please try again.');
|
|
259
|
-
} finally {
|
|
260
|
-
setLoggingOutAllDevices(false);
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
}, [deviceSessions, activeSessionId, oxyServices, loadAllDeviceSessions, t, loggingOutAllDevices]);
|
|
264
|
-
|
|
265
|
-
// Memoize filtered sessions for performance
|
|
266
|
-
const otherSessions = useMemo(() => sessionsWithUsers.filter(s => s.sessionId !== (activeSessionId ?? null)), [sessionsWithUsers, activeSessionId]);
|
|
267
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
268
|
-
style: [styles.container, {
|
|
269
|
-
backgroundColor: '#f2f2f2'
|
|
270
|
-
}],
|
|
271
|
-
children: [/*#__PURE__*/_jsx(Header, {
|
|
272
|
-
title: t('accountSwitcher.title') || 'Account Switcher',
|
|
273
|
-
onBack: goBack,
|
|
274
|
-
onClose: onClose,
|
|
275
|
-
showBackButton: true,
|
|
276
|
-
showCloseButton: true,
|
|
277
|
-
elevation: "subtle",
|
|
278
|
-
rightAction: {
|
|
279
|
-
icon: "refresh",
|
|
280
|
-
onPress: refreshSessions
|
|
281
|
-
}
|
|
282
|
-
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
283
|
-
style: styles.content,
|
|
284
|
-
children: isLoading ? /*#__PURE__*/_jsx(LoadingState, {
|
|
285
|
-
message: t('accountSwitcher.loading') || 'Loading accounts...',
|
|
286
|
-
color: "#007AFF"
|
|
287
|
-
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
288
|
-
children: [isAuthenticated && user && /*#__PURE__*/_jsxs(View, {
|
|
289
|
-
style: styles.section,
|
|
290
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
291
|
-
style: styles.sectionTitle,
|
|
292
|
-
children: t('accountSwitcher.sections.current') || 'Current Account'
|
|
293
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
294
|
-
style: [styles.settingItem, styles.firstSettingItem, styles.lastSettingItem, styles.currentAccountCard],
|
|
295
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
296
|
-
style: styles.userIcon,
|
|
297
|
-
children: [typeof user.avatar === 'string' && user.avatar ? /*#__PURE__*/_jsx(Image, {
|
|
298
|
-
source: {
|
|
299
|
-
uri: oxyServices.getFileDownloadUrl(user.avatar, 'thumb')
|
|
300
|
-
},
|
|
301
|
-
style: styles.accountAvatarImage
|
|
302
|
-
}) : /*#__PURE__*/_jsx(View, {
|
|
303
|
-
style: styles.accountAvatarFallback,
|
|
304
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
305
|
-
style: styles.accountAvatarText,
|
|
306
|
-
children: (typeof user.name === 'string' ? user.name : user.name?.first || user.username)?.charAt(0).toUpperCase()
|
|
307
|
-
})
|
|
308
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
309
|
-
style: styles.activeBadge,
|
|
310
|
-
children: /*#__PURE__*/_jsx(OxyIcon, {
|
|
311
|
-
name: "checkmark",
|
|
312
|
-
size: 12,
|
|
313
|
-
color: "#fff"
|
|
314
|
-
})
|
|
315
|
-
})]
|
|
316
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
317
|
-
style: styles.settingInfo,
|
|
318
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
319
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
320
|
-
style: styles.settingLabel,
|
|
321
|
-
children: typeof user.name === 'string' ? user.name : user.name?.full || user.name?.first || user.username
|
|
322
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
323
|
-
style: styles.settingDescription,
|
|
324
|
-
children: user.email || user.username
|
|
325
|
-
})]
|
|
326
|
-
})
|
|
327
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
328
|
-
style: styles.currentBadge,
|
|
329
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
330
|
-
style: styles.currentBadgeText,
|
|
331
|
-
children: t('accountSwitcher.currentBadge') || 'Current'
|
|
332
|
-
})
|
|
333
|
-
})]
|
|
334
|
-
})]
|
|
335
|
-
}), otherSessions.length > 0 && /*#__PURE__*/_jsxs(View, {
|
|
336
|
-
style: styles.section,
|
|
337
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
338
|
-
style: styles.sectionTitle,
|
|
339
|
-
children: t('accountSwitcher.sections.otherWithCount', {
|
|
340
|
-
count: otherSessions.length
|
|
341
|
-
}) || `Other Accounts (${otherSessions.length})`
|
|
342
|
-
}), otherSessions.map((sessionWithUser, index, filteredArray) => {
|
|
343
|
-
const isFirst = index === 0;
|
|
344
|
-
const isLast = index === filteredArray.length - 1;
|
|
345
|
-
const isSwitching = switchingToUserId === sessionWithUser.sessionId;
|
|
346
|
-
const isRemoving = removingUserId === sessionWithUser.sessionId;
|
|
347
|
-
const {
|
|
348
|
-
userProfile,
|
|
349
|
-
isLoadingProfile
|
|
350
|
-
} = sessionWithUser;
|
|
351
|
-
const displayName = typeof userProfile?.name === 'object' ? userProfile.name.full || userProfile.name.first || userProfile.username : userProfile?.name || userProfile?.username || 'Unknown User';
|
|
352
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
353
|
-
style: [styles.settingItem, isFirst && styles.firstSettingItem, isLast && styles.lastSettingItem],
|
|
354
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
355
|
-
style: styles.userIcon,
|
|
356
|
-
children: isLoadingProfile ? /*#__PURE__*/_jsx(View, {
|
|
357
|
-
style: styles.accountAvatarFallback,
|
|
358
|
-
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
359
|
-
size: "small",
|
|
360
|
-
color: "#007AFF"
|
|
361
|
-
})
|
|
362
|
-
}) : typeof userProfile?.avatar === 'string' && userProfile.avatar ? /*#__PURE__*/_jsx(Image, {
|
|
363
|
-
source: {
|
|
364
|
-
uri: oxyServices.getFileDownloadUrl(userProfile.avatar, 'thumb')
|
|
365
|
-
},
|
|
366
|
-
style: styles.accountAvatarImage
|
|
367
|
-
}) : /*#__PURE__*/_jsx(View, {
|
|
368
|
-
style: styles.accountAvatarFallback,
|
|
369
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
370
|
-
style: styles.accountAvatarText,
|
|
371
|
-
children: displayName.charAt(0).toUpperCase()
|
|
372
|
-
})
|
|
373
|
-
})
|
|
374
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
375
|
-
style: styles.settingInfo,
|
|
376
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
377
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
378
|
-
style: styles.settingLabel,
|
|
379
|
-
children: displayName
|
|
380
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
381
|
-
style: styles.settingDescription,
|
|
382
|
-
children: ["@", userProfile?.username || 'unknown']
|
|
383
|
-
})]
|
|
384
|
-
})
|
|
385
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
386
|
-
style: styles.accountActions,
|
|
387
|
-
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
388
|
-
style: styles.switchButton,
|
|
389
|
-
onPress: () => handleSwitchSession(sessionWithUser.sessionId),
|
|
390
|
-
disabled: isSwitching || isRemoving,
|
|
391
|
-
children: isSwitching ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
392
|
-
size: "small",
|
|
393
|
-
color: "#007AFF"
|
|
394
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
|
395
|
-
style: styles.switchButtonText,
|
|
396
|
-
children: "Switch"
|
|
397
|
-
})
|
|
398
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
399
|
-
style: styles.removeButton,
|
|
400
|
-
onPress: () => handleRemoveSession(sessionWithUser.sessionId, displayName),
|
|
401
|
-
disabled: isSwitching || isRemoving,
|
|
402
|
-
children: isRemoving ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
403
|
-
size: "small",
|
|
404
|
-
color: "#FF3B30"
|
|
405
|
-
}) : /*#__PURE__*/_jsx(OxyIcon, {
|
|
406
|
-
name: "trash",
|
|
407
|
-
size: 16,
|
|
408
|
-
color: "#FF3B30"
|
|
409
|
-
})
|
|
410
|
-
})]
|
|
411
|
-
})]
|
|
412
|
-
}, `session-${sessionWithUser.sessionId}-${index}`);
|
|
413
|
-
})]
|
|
414
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
415
|
-
style: styles.section,
|
|
416
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
417
|
-
style: styles.sectionTitle,
|
|
418
|
-
children: "Quick Actions"
|
|
419
|
-
}), /*#__PURE__*/_jsx(GroupedSection, {
|
|
420
|
-
items: [{
|
|
421
|
-
id: 'add-account',
|
|
422
|
-
icon: 'account-plus',
|
|
423
|
-
iconColor: '#007AFF',
|
|
424
|
-
title: 'Add Another Account',
|
|
425
|
-
subtitle: 'Sign in with a different account',
|
|
426
|
-
onPress: () => navigate?.('SignIn')
|
|
427
|
-
}, {
|
|
428
|
-
id: 'device-management',
|
|
429
|
-
icon: 'cellphone',
|
|
430
|
-
iconColor: '#5856D6',
|
|
431
|
-
title: `${showDeviceManagement ? 'Hide' : 'Manage'} Device Sessions`,
|
|
432
|
-
subtitle: 'View and manage sessions on other devices',
|
|
433
|
-
onPress: () => setShowDeviceManagement(!showDeviceManagement)
|
|
434
|
-
}, {
|
|
435
|
-
id: 'sign-out-all',
|
|
436
|
-
icon: 'logout',
|
|
437
|
-
iconColor: '#FF3B30',
|
|
438
|
-
title: 'Sign Out All Accounts',
|
|
439
|
-
subtitle: 'Remove all accounts from this device',
|
|
440
|
-
onPress: handleLogoutAll,
|
|
441
|
-
disabled: sessionsWithUsers.length === 0
|
|
442
|
-
}]
|
|
443
|
-
})]
|
|
444
|
-
}), showDeviceManagement && /*#__PURE__*/_jsxs(View, {
|
|
445
|
-
style: styles.section,
|
|
446
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
447
|
-
style: styles.sectionTitle,
|
|
448
|
-
children: t('accountSwitcher.sections.deviceSessions') || 'Device Sessions'
|
|
449
|
-
}), loadingDeviceSessions ? /*#__PURE__*/_jsx(GroupedSection, {
|
|
450
|
-
items: [{
|
|
451
|
-
id: 'loading-device-sessions',
|
|
452
|
-
icon: 'sync',
|
|
453
|
-
iconColor: '#007AFF',
|
|
454
|
-
title: t('accountSwitcher.device.loadingTitle') || 'Loading device sessions...',
|
|
455
|
-
subtitle: t('accountSwitcher.device.loadingSubtitle') || 'Please wait while we fetch your device sessions',
|
|
456
|
-
disabled: true,
|
|
457
|
-
customContent: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
458
|
-
size: "small",
|
|
459
|
-
color: "#007AFF",
|
|
460
|
-
style: {
|
|
461
|
-
marginRight: 16
|
|
462
|
-
}
|
|
463
|
-
})
|
|
464
|
-
}]
|
|
465
|
-
}) : deviceSessions.length === 0 ? /*#__PURE__*/_jsx(GroupedSection, {
|
|
466
|
-
items: [{
|
|
467
|
-
id: 'no-device-sessions',
|
|
468
|
-
icon: 'cellphone',
|
|
469
|
-
iconColor: '#ccc',
|
|
470
|
-
title: t('accountSwitcher.device.noneTitle') || 'No device sessions found',
|
|
471
|
-
subtitle: t('accountSwitcher.device.noneSubtitle') || 'Device session management not available',
|
|
472
|
-
disabled: true
|
|
473
|
-
}]
|
|
474
|
-
}) : /*#__PURE__*/_jsx(GroupedSection, {
|
|
475
|
-
items: deviceSessions.map((session, index) => ({
|
|
476
|
-
id: `device-session-${session.sessionId}`,
|
|
477
|
-
icon: session.isCurrent ? 'cellphone' : 'cellphone-basic',
|
|
478
|
-
iconColor: session.isCurrent ? '#34C759' : '#8E8E93',
|
|
479
|
-
title: `${session.deviceName} ${session.isCurrent ? '(' + (t('accountSwitcher.device.thisDevice') || 'This device') + ')' : ''}`,
|
|
480
|
-
subtitle: t('accountSwitcher.device.lastActive', {
|
|
481
|
-
date: new Date(session.lastActive).toLocaleDateString()
|
|
482
|
-
}) || `Last active: ${new Date(session.lastActive).toLocaleDateString()}`,
|
|
483
|
-
onPress: session.isCurrent ? undefined : () => handleRemoteSessionLogout(session.sessionId, session.deviceName),
|
|
484
|
-
disabled: session.isCurrent || remotingLogoutSessionId === session.sessionId,
|
|
485
|
-
customContent: !session.isCurrent ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
486
|
-
style: styles.removeButton,
|
|
487
|
-
onPress: () => handleRemoteSessionLogout(session.sessionId, session.deviceName),
|
|
488
|
-
disabled: remotingLogoutSessionId === session.sessionId,
|
|
489
|
-
children: remotingLogoutSessionId === session.sessionId ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
490
|
-
size: "small",
|
|
491
|
-
color: "#FF3B30"
|
|
492
|
-
}) : /*#__PURE__*/_jsx(OxyIcon, {
|
|
493
|
-
name: "log-out",
|
|
494
|
-
size: 16,
|
|
495
|
-
color: "#FF3B30"
|
|
496
|
-
})
|
|
497
|
-
}) : undefined
|
|
498
|
-
}))
|
|
499
|
-
})]
|
|
500
|
-
}), sessionsWithUsers.length === 0 && /*#__PURE__*/_jsx(View, {
|
|
501
|
-
style: styles.section,
|
|
502
|
-
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
503
|
-
items: [{
|
|
504
|
-
id: 'empty-state',
|
|
505
|
-
icon: 'account-outline',
|
|
506
|
-
iconColor: '#ccc',
|
|
507
|
-
title: t('accountSwitcher.empty.title') || 'No saved accounts',
|
|
508
|
-
subtitle: t('accountSwitcher.empty.subtitle') || 'Add another account to switch between them quickly',
|
|
509
|
-
onPress: () => navigate?.('SignIn'),
|
|
510
|
-
customContent: /*#__PURE__*/_jsxs(View, {
|
|
511
|
-
style: styles.emptyStateContainer,
|
|
512
|
-
children: [/*#__PURE__*/_jsx(OxyIcon, {
|
|
513
|
-
name: "person-outline",
|
|
514
|
-
size: 48,
|
|
515
|
-
color: "#ccc"
|
|
516
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
517
|
-
style: styles.emptyStateTitle,
|
|
518
|
-
children: t('accountSwitcher.empty.title') || 'No saved accounts'
|
|
519
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
520
|
-
style: styles.emptyStateDescription,
|
|
521
|
-
children: t('accountSwitcher.empty.subtitle') || 'Add another account to switch between them quickly'
|
|
522
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
523
|
-
style: styles.addAccountButton,
|
|
524
|
-
onPress: () => navigate?.('SignIn'),
|
|
525
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
526
|
-
style: styles.addAccountButtonText,
|
|
527
|
-
children: t('accountCenter.sections.addAccount') || 'Add Account'
|
|
528
|
-
})
|
|
529
|
-
})]
|
|
530
|
-
})
|
|
531
|
-
}]
|
|
532
|
-
})
|
|
533
|
-
})]
|
|
534
|
-
})
|
|
535
|
-
})]
|
|
536
|
-
});
|
|
537
|
-
};
|
|
538
|
-
const styles = StyleSheet.create({
|
|
539
|
-
container: {
|
|
540
|
-
flex: 1,
|
|
541
|
-
backgroundColor: '#f2f2f2'
|
|
542
|
-
},
|
|
543
|
-
content: {
|
|
544
|
-
flex: 1,
|
|
545
|
-
padding: 16
|
|
546
|
-
},
|
|
547
|
-
section: {
|
|
548
|
-
marginBottom: 24
|
|
549
|
-
},
|
|
550
|
-
sectionTitle: {
|
|
551
|
-
fontSize: 16,
|
|
552
|
-
fontWeight: Platform.OS === 'web' ? '600' : undefined,
|
|
553
|
-
fontFamily: fontFamilies.phuduSemiBold,
|
|
554
|
-
color: '#333'
|
|
555
|
-
},
|
|
556
|
-
settingItem: {
|
|
557
|
-
backgroundColor: '#fff',
|
|
558
|
-
padding: 16,
|
|
559
|
-
flexDirection: 'row',
|
|
560
|
-
alignItems: 'center',
|
|
561
|
-
justifyContent: 'space-between',
|
|
562
|
-
marginBottom: 2
|
|
563
|
-
},
|
|
564
|
-
firstSettingItem: {
|
|
565
|
-
borderTopLeftRadius: 24,
|
|
566
|
-
borderTopRightRadius: 24
|
|
567
|
-
},
|
|
568
|
-
lastSettingItem: {
|
|
569
|
-
borderBottomLeftRadius: 24,
|
|
570
|
-
borderBottomRightRadius: 24,
|
|
571
|
-
marginBottom: 8
|
|
572
|
-
},
|
|
573
|
-
currentAccountCard: {
|
|
574
|
-
borderWidth: 2,
|
|
575
|
-
borderColor: '#007AFF',
|
|
576
|
-
backgroundColor: '#007AFF08'
|
|
577
|
-
},
|
|
578
|
-
settingInfo: {
|
|
579
|
-
flexDirection: 'row',
|
|
580
|
-
alignItems: 'center',
|
|
581
|
-
flex: 1
|
|
582
|
-
},
|
|
583
|
-
settingLabel: {
|
|
584
|
-
fontSize: 16,
|
|
585
|
-
fontWeight: '500',
|
|
586
|
-
color: '#333',
|
|
587
|
-
marginBottom: 2
|
|
588
|
-
},
|
|
589
|
-
settingDescription: {
|
|
590
|
-
fontSize: 14,
|
|
591
|
-
color: '#666'
|
|
592
|
-
},
|
|
593
|
-
userIcon: {
|
|
594
|
-
marginRight: 12,
|
|
595
|
-
position: 'relative'
|
|
596
|
-
},
|
|
597
|
-
accountAvatarImage: {
|
|
598
|
-
width: 40,
|
|
599
|
-
height: 40,
|
|
600
|
-
borderRadius: 20
|
|
601
|
-
},
|
|
602
|
-
accountAvatarFallback: {
|
|
603
|
-
width: 40,
|
|
604
|
-
height: 40,
|
|
605
|
-
borderRadius: 20,
|
|
606
|
-
backgroundColor: '#d169e5',
|
|
607
|
-
alignItems: 'center',
|
|
608
|
-
justifyContent: 'center'
|
|
609
|
-
},
|
|
610
|
-
accountAvatarText: {
|
|
611
|
-
color: 'white',
|
|
612
|
-
fontSize: 18,
|
|
613
|
-
fontWeight: 'bold'
|
|
614
|
-
},
|
|
615
|
-
activeBadge: {
|
|
616
|
-
position: 'absolute',
|
|
617
|
-
top: -2,
|
|
618
|
-
right: -2,
|
|
619
|
-
width: 16,
|
|
620
|
-
height: 16,
|
|
621
|
-
borderRadius: 8,
|
|
622
|
-
backgroundColor: '#34C759',
|
|
623
|
-
alignItems: 'center',
|
|
624
|
-
justifyContent: 'center',
|
|
625
|
-
borderWidth: 2,
|
|
626
|
-
borderColor: '#fff'
|
|
627
|
-
},
|
|
628
|
-
currentBadge: {
|
|
629
|
-
backgroundColor: '#007AFF',
|
|
630
|
-
paddingHorizontal: 8,
|
|
631
|
-
paddingVertical: 4,
|
|
632
|
-
borderRadius: 12
|
|
633
|
-
},
|
|
634
|
-
currentBadgeText: {
|
|
635
|
-
color: '#fff',
|
|
636
|
-
fontSize: 12,
|
|
637
|
-
fontWeight: '600'
|
|
638
|
-
},
|
|
639
|
-
accountActions: {
|
|
640
|
-
flexDirection: 'row',
|
|
641
|
-
alignItems: 'center',
|
|
642
|
-
gap: 8
|
|
643
|
-
},
|
|
644
|
-
switchButton: {
|
|
645
|
-
backgroundColor: '#007AFF',
|
|
646
|
-
paddingHorizontal: 16,
|
|
647
|
-
paddingVertical: 8,
|
|
648
|
-
borderRadius: 16,
|
|
649
|
-
minWidth: 60,
|
|
650
|
-
alignItems: 'center'
|
|
651
|
-
},
|
|
652
|
-
switchButtonText: {
|
|
653
|
-
color: '#fff',
|
|
654
|
-
fontSize: 14,
|
|
655
|
-
fontWeight: '500'
|
|
656
|
-
},
|
|
657
|
-
removeButton: {
|
|
658
|
-
padding: 8,
|
|
659
|
-
borderRadius: 16,
|
|
660
|
-
backgroundColor: '#fff',
|
|
661
|
-
borderWidth: 1,
|
|
662
|
-
borderColor: '#FF3B30',
|
|
663
|
-
alignItems: 'center',
|
|
664
|
-
justifyContent: 'center'
|
|
665
|
-
},
|
|
666
|
-
emptyStateContainer: {
|
|
667
|
-
alignItems: 'center',
|
|
668
|
-
paddingVertical: 32,
|
|
669
|
-
paddingHorizontal: 20
|
|
670
|
-
},
|
|
671
|
-
emptyStateTitle: {
|
|
672
|
-
fontSize: 18,
|
|
673
|
-
fontWeight: '600',
|
|
674
|
-
color: '#333',
|
|
675
|
-
marginTop: 16,
|
|
676
|
-
marginBottom: 8
|
|
677
|
-
},
|
|
678
|
-
emptyStateDescription: {
|
|
679
|
-
fontSize: 14,
|
|
680
|
-
color: '#666',
|
|
681
|
-
textAlign: 'center',
|
|
682
|
-
marginBottom: 24,
|
|
683
|
-
lineHeight: 20
|
|
684
|
-
},
|
|
685
|
-
addAccountButton: {
|
|
686
|
-
backgroundColor: '#007AFF',
|
|
687
|
-
paddingHorizontal: 24,
|
|
688
|
-
paddingVertical: 12,
|
|
689
|
-
borderRadius: 20
|
|
690
|
-
},
|
|
691
|
-
addAccountButtonText: {
|
|
692
|
-
color: '#fff',
|
|
693
|
-
fontSize: 16,
|
|
694
|
-
fontWeight: '600'
|
|
695
|
-
}
|
|
696
|
-
});
|
|
697
|
-
export default ModernAccountSwitcherScreen;
|
|
698
|
-
//# sourceMappingURL=AccountSwitcherScreen.js.map
|