@oxyhq/services 6.9.32 → 6.9.34
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/Avatar.js +5 -3
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +2 -2
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +3 -4
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +13 -65
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +12 -18
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +11 -18
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/HelperText.js +6 -14
- package/lib/commonjs/ui/components/HelperText.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +4 -2
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +13 -20
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +9 -13
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +2 -8
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +10 -16
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +14 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +15 -27
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +44 -49
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +22 -29
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +20 -40
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +28 -24
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +26 -27
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +70 -108
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +106 -119
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +79 -110
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +6 -12
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +41 -35
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +9 -17
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +18 -22
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +5 -3
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +2 -2
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +3 -4
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +12 -64
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +12 -18
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/Header.js +11 -18
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +6 -15
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +4 -2
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +13 -20
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +9 -13
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +2 -8
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +10 -16
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/theming.js +15 -2
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +14 -26
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +45 -50
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +21 -28
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +21 -41
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +28 -24
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +26 -27
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +70 -108
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +106 -119
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +77 -108
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +6 -12
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +39 -33
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +8 -16
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +17 -21
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -11
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/nativewind-env.d.ts +1 -0
- package/package.json +8 -2
- package/src/nativewind-env.d.ts +1 -0
- package/src/ui/components/Avatar.tsx +3 -3
- package/src/ui/components/BottomSheet.tsx +2 -3
- package/src/ui/components/BottomSheetRouter.tsx +2 -2
- package/src/ui/components/FollowButton.tsx +14 -50
- package/src/ui/components/GroupedItem.tsx +8 -15
- package/src/ui/components/Header.tsx +7 -15
- package/src/ui/components/HelperText.tsx +4 -15
- package/src/ui/components/OxyLogo.tsx +2 -2
- package/src/ui/components/ProfileCard.tsx +14 -17
- package/src/ui/components/QuickActions.tsx +12 -14
- package/src/ui/components/SectionTitle.tsx +1 -7
- package/src/ui/components/SignInModal.tsx +4 -6
- package/src/ui/components/TextField/TextFieldFlat.tsx +4 -4
- package/src/ui/components/TextField/TextFieldOutlined.tsx +4 -4
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +23 -22
- package/src/ui/components/fileManagement/FileViewer.tsx +57 -45
- package/src/ui/components/fileManagement/UploadPreview.tsx +23 -28
- package/src/ui/components/modals/DeleteAccountModal.tsx +13 -12
- package/src/ui/components/theming.tsx +15 -2
- package/src/ui/screens/AccountCenterScreen.tsx +10 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +39 -39
- package/src/ui/screens/AccountSettingsScreen.tsx +15 -19
- package/src/ui/screens/AccountSwitcherScreen.tsx +1 -23
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -33
- package/src/ui/screens/AppInfoScreen.tsx +28 -24
- package/src/ui/screens/EditProfileFieldScreen.tsx +24 -26
- package/src/ui/screens/FAQScreen.tsx +23 -23
- package/src/ui/screens/FeedbackScreen.tsx +47 -38
- package/src/ui/screens/FileManagementScreen.tsx +102 -116
- package/src/ui/screens/HelpSupportScreen.tsx +12 -8
- package/src/ui/screens/HistoryViewScreen.tsx +12 -8
- package/src/ui/screens/LanguageSelectorScreen.tsx +8 -11
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -17
- package/src/ui/screens/LegalDocumentsScreen.tsx +14 -10
- package/src/ui/screens/OxyAuthScreen.tsx +17 -27
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -3
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -7
- package/src/ui/screens/PrivacySettingsScreen.tsx +63 -65
- package/src/ui/screens/ProfileScreen.tsx +54 -58
- package/src/ui/screens/SavesCollectionsScreen.tsx +15 -11
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -13
- package/src/ui/screens/SessionManagementScreen.tsx +12 -12
- package/src/ui/screens/UserLinksScreen.tsx +4 -8
- package/src/ui/screens/UserListScreen.tsx +34 -46
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -6
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -10
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +23 -19
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +7 -14
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +5 -9
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +15 -17
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +5 -9
|
@@ -5,8 +5,10 @@ import { View, Text, TouchableOpacity, ScrollView, ActivityIndicator, Image } fr
|
|
|
5
5
|
import { Image as ExpoImage } from 'expo-image';
|
|
6
6
|
// @ts-ignore - MaterialCommunityIcons is available at runtime
|
|
7
7
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
8
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
9
|
import { formatFileSize } from "../../utils/fileManagement.js";
|
|
9
10
|
import { fileManagementStyles } from "./styles.js";
|
|
11
|
+
import { Colors } from "../../constants/theme.js";
|
|
10
12
|
import { GroupedSection } from "../GroupedSection.js";
|
|
11
13
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
14
|
export const FileViewer = ({
|
|
@@ -18,16 +20,19 @@ export const FileViewer = ({
|
|
|
18
20
|
onClose,
|
|
19
21
|
onDownload,
|
|
20
22
|
onDelete,
|
|
21
|
-
themeStyles,
|
|
22
23
|
isOwner
|
|
23
24
|
}) => {
|
|
25
|
+
const {
|
|
26
|
+
colors,
|
|
27
|
+
isDark
|
|
28
|
+
} = useTheme();
|
|
29
|
+
const constantColors = Colors[isDark ? 'dark' : 'light'];
|
|
24
30
|
const isImage = file.contentType.startsWith('image/');
|
|
25
31
|
const isText = file.contentType.startsWith('text/') || file.contentType.includes('json') || file.contentType.includes('xml') || file.contentType.includes('javascript') || file.contentType.includes('typescript');
|
|
26
32
|
const isPDF = file.contentType.includes('pdf');
|
|
27
33
|
const isVideo = file.contentType.startsWith('video/');
|
|
28
34
|
const isAudio = file.contentType.startsWith('audio/');
|
|
29
|
-
const
|
|
30
|
-
const borderColor = themeStyles.borderColor;
|
|
35
|
+
const bgColor = isImage && fileContent ? 'transparent' : undefined;
|
|
31
36
|
const [containerWidth, setContainerWidth] = useState(0);
|
|
32
37
|
const [imageDimensions, setImageDimensions] = useState(null);
|
|
33
38
|
|
|
@@ -89,25 +94,25 @@ export const FileViewer = ({
|
|
|
89
94
|
const items = [{
|
|
90
95
|
id: 'filename',
|
|
91
96
|
icon: 'file-document',
|
|
92
|
-
iconColor:
|
|
97
|
+
iconColor: constantColors.iconSecurity,
|
|
93
98
|
title: 'File Name',
|
|
94
99
|
subtitle: file.filename
|
|
95
100
|
}, {
|
|
96
101
|
id: 'size',
|
|
97
102
|
icon: 'server',
|
|
98
|
-
iconColor:
|
|
103
|
+
iconColor: constantColors.iconStorage,
|
|
99
104
|
title: 'Size',
|
|
100
105
|
subtitle: formatFileSize(file.length)
|
|
101
106
|
}, {
|
|
102
107
|
id: 'type',
|
|
103
108
|
icon: 'code-tags',
|
|
104
|
-
iconColor:
|
|
109
|
+
iconColor: constantColors.iconData,
|
|
105
110
|
title: 'Type',
|
|
106
111
|
subtitle: file.contentType
|
|
107
112
|
}, {
|
|
108
113
|
id: 'uploaded',
|
|
109
114
|
icon: 'clock',
|
|
110
|
-
iconColor:
|
|
115
|
+
iconColor: constantColors.iconPersonalInfo,
|
|
111
116
|
title: 'Uploaded',
|
|
112
117
|
subtitle: new Date(file.uploadDate).toLocaleString()
|
|
113
118
|
}];
|
|
@@ -115,7 +120,7 @@ export const FileViewer = ({
|
|
|
115
120
|
items.push({
|
|
116
121
|
id: 'description',
|
|
117
122
|
icon: 'text',
|
|
118
|
-
iconColor:
|
|
123
|
+
iconColor: constantColors.iconData,
|
|
119
124
|
title: 'Description',
|
|
120
125
|
subtitle: file.metadata.description
|
|
121
126
|
});
|
|
@@ -123,16 +128,17 @@ export const FileViewer = ({
|
|
|
123
128
|
items.push({
|
|
124
129
|
id: 'fileId',
|
|
125
130
|
icon: 'key',
|
|
126
|
-
iconColor:
|
|
131
|
+
iconColor: constantColors.iconSecurity,
|
|
127
132
|
title: 'File ID',
|
|
128
133
|
subtitle: file.id
|
|
129
134
|
});
|
|
130
135
|
return items;
|
|
131
|
-
}, [file,
|
|
136
|
+
}, [file, constantColors]);
|
|
132
137
|
return /*#__PURE__*/_jsxs(View, {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
138
|
+
className: isImage && fileContent ? undefined : 'bg-background',
|
|
139
|
+
style: [fileManagementStyles.fileViewerContainer, bgColor ? {
|
|
140
|
+
backgroundColor: bgColor
|
|
141
|
+
} : undefined],
|
|
136
142
|
children: [isImage && fileContent && /*#__PURE__*/_jsxs(_Fragment, {
|
|
137
143
|
children: [/*#__PURE__*/_jsx(ExpoImage, {
|
|
138
144
|
source: {
|
|
@@ -145,28 +151,26 @@ export const FileViewer = ({
|
|
|
145
151
|
cachePolicy: "memory-disk"
|
|
146
152
|
}), /*#__PURE__*/_jsx(View, {
|
|
147
153
|
style: [fileManagementStyles.backgroundOverlay, {
|
|
148
|
-
backgroundColor:
|
|
154
|
+
backgroundColor: isDark ? 'rgba(0, 0, 0, 0.6)' : 'rgba(255, 255, 255, 0.85)'
|
|
149
155
|
}]
|
|
150
156
|
})]
|
|
151
157
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}],
|
|
158
|
+
className: "bg-card",
|
|
159
|
+
style: fileManagementStyles.floatingBackButton,
|
|
155
160
|
onPress: onClose,
|
|
156
161
|
children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
157
162
|
name: "arrow-left",
|
|
158
163
|
size: 20,
|
|
159
|
-
color:
|
|
164
|
+
color: colors.text
|
|
160
165
|
})
|
|
161
166
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}],
|
|
167
|
+
className: "bg-card",
|
|
168
|
+
style: fileManagementStyles.floatingDownloadButton,
|
|
165
169
|
onPress: () => onDownload(file.id, file.filename),
|
|
166
170
|
children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
167
171
|
name: "download",
|
|
168
172
|
size: 20,
|
|
169
|
-
color:
|
|
173
|
+
color: colors.primary
|
|
170
174
|
})
|
|
171
175
|
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
172
176
|
style: fileManagementStyles.fileViewerContent,
|
|
@@ -175,11 +179,10 @@ export const FileViewer = ({
|
|
|
175
179
|
style: fileManagementStyles.fileViewerLoading,
|
|
176
180
|
children: [/*#__PURE__*/_jsx(ActivityIndicator, {
|
|
177
181
|
size: "large",
|
|
178
|
-
color:
|
|
182
|
+
color: colors.primary
|
|
179
183
|
}), /*#__PURE__*/_jsx(Text, {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}],
|
|
184
|
+
className: "text-foreground",
|
|
185
|
+
style: fileManagementStyles.fileViewerLoadingText,
|
|
183
186
|
children: "Loading file content..."
|
|
184
187
|
})]
|
|
185
188
|
}) : isImage && fileContent ? /*#__PURE__*/_jsx(View, {
|
|
@@ -213,18 +216,16 @@ export const FileViewer = ({
|
|
|
213
216
|
})
|
|
214
217
|
})
|
|
215
218
|
}) : isText && fileContent ? /*#__PURE__*/_jsx(View, {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}],
|
|
219
|
+
className: "bg-card",
|
|
220
|
+
style: fileManagementStyles.textContainer,
|
|
219
221
|
children: /*#__PURE__*/_jsx(ScrollView, {
|
|
220
222
|
style: {
|
|
221
223
|
flex: 1
|
|
222
224
|
},
|
|
223
225
|
nestedScrollEnabled: true,
|
|
224
226
|
children: /*#__PURE__*/_jsx(Text, {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}],
|
|
227
|
+
className: "text-foreground",
|
|
228
|
+
style: fileManagementStyles.textContent,
|
|
228
229
|
children: fileContent
|
|
229
230
|
})
|
|
230
231
|
})
|
|
@@ -233,21 +234,18 @@ export const FileViewer = ({
|
|
|
233
234
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
234
235
|
name: "file-pdf-box",
|
|
235
236
|
size: 64,
|
|
236
|
-
color:
|
|
237
|
+
color: colors.textSecondary
|
|
237
238
|
}), /*#__PURE__*/_jsx(Text, {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}],
|
|
239
|
+
className: "text-foreground",
|
|
240
|
+
style: fileManagementStyles.unsupportedFileTitle,
|
|
241
241
|
children: "PDF Preview Not Available"
|
|
242
242
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}],
|
|
243
|
+
className: "text-muted-foreground",
|
|
244
|
+
style: fileManagementStyles.unsupportedFileDescription,
|
|
246
245
|
children: ["PDF files cannot be previewed in this viewer.", '\n', "Download the file to view its contents."]
|
|
247
246
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}],
|
|
247
|
+
className: "bg-primary",
|
|
248
|
+
style: fileManagementStyles.downloadButtonLarge,
|
|
251
249
|
onPress: () => onDownload(file.id, file.filename),
|
|
252
250
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
253
251
|
name: "download",
|
|
@@ -263,21 +261,18 @@ export const FileViewer = ({
|
|
|
263
261
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
264
262
|
name: "video-outline",
|
|
265
263
|
size: 64,
|
|
266
|
-
color:
|
|
264
|
+
color: colors.textSecondary
|
|
267
265
|
}), /*#__PURE__*/_jsx(Text, {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}],
|
|
266
|
+
className: "text-foreground",
|
|
267
|
+
style: fileManagementStyles.unsupportedFileTitle,
|
|
271
268
|
children: "Video Playback Not Available"
|
|
272
269
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}],
|
|
270
|
+
className: "text-muted-foreground",
|
|
271
|
+
style: fileManagementStyles.unsupportedFileDescription,
|
|
276
272
|
children: ["Video playback is not supported in this viewer.", '\n', "Download the file to view it."]
|
|
277
273
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}],
|
|
274
|
+
className: "bg-primary",
|
|
275
|
+
style: fileManagementStyles.downloadButtonLarge,
|
|
281
276
|
onPress: () => onDownload(file.id, file.filename),
|
|
282
277
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
283
278
|
name: "download",
|
|
@@ -293,21 +288,18 @@ export const FileViewer = ({
|
|
|
293
288
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
294
289
|
name: "music-note-outline",
|
|
295
290
|
size: 64,
|
|
296
|
-
color:
|
|
291
|
+
color: colors.textSecondary
|
|
297
292
|
}), /*#__PURE__*/_jsx(Text, {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}],
|
|
293
|
+
className: "text-foreground",
|
|
294
|
+
style: fileManagementStyles.unsupportedFileTitle,
|
|
301
295
|
children: "Audio Playback Not Available"
|
|
302
296
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}],
|
|
297
|
+
className: "text-muted-foreground",
|
|
298
|
+
style: fileManagementStyles.unsupportedFileDescription,
|
|
306
299
|
children: ["Audio playback is not supported in this viewer.", '\n', "Download the file to listen to it."]
|
|
307
300
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}],
|
|
301
|
+
className: "bg-primary",
|
|
302
|
+
style: fileManagementStyles.downloadButtonLarge,
|
|
311
303
|
onPress: () => onDownload(file.id, file.filename),
|
|
312
304
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
313
305
|
name: "download",
|
|
@@ -323,21 +315,18 @@ export const FileViewer = ({
|
|
|
323
315
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
324
316
|
name: "file-outline",
|
|
325
317
|
size: 64,
|
|
326
|
-
color:
|
|
318
|
+
color: colors.textSecondary
|
|
327
319
|
}), /*#__PURE__*/_jsx(Text, {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}],
|
|
320
|
+
className: "text-foreground",
|
|
321
|
+
style: fileManagementStyles.unsupportedFileTitle,
|
|
331
322
|
children: "Preview Not Available"
|
|
332
323
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}],
|
|
324
|
+
className: "text-muted-foreground",
|
|
325
|
+
style: fileManagementStyles.unsupportedFileDescription,
|
|
336
326
|
children: ["This file type cannot be previewed.", '\n', "Download the file to view its contents."]
|
|
337
327
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
}],
|
|
328
|
+
className: "bg-primary",
|
|
329
|
+
style: fileManagementStyles.downloadButtonLarge,
|
|
341
330
|
onPress: () => onDownload(file.id, file.filename),
|
|
342
331
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
343
332
|
name: "download",
|
|
@@ -350,15 +339,13 @@ export const FileViewer = ({
|
|
|
350
339
|
})]
|
|
351
340
|
})
|
|
352
341
|
}), /*#__PURE__*/_jsxs(View, {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}],
|
|
342
|
+
className: "bg-card",
|
|
343
|
+
style: fileManagementStyles.fileDetailsSection,
|
|
356
344
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
357
345
|
style: fileManagementStyles.fileDetailsSectionHeader,
|
|
358
346
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}],
|
|
347
|
+
className: "text-foreground",
|
|
348
|
+
style: fileManagementStyles.fileDetailsSectionTitle,
|
|
362
349
|
children: "File Details"
|
|
363
350
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
364
351
|
style: fileManagementStyles.fileDetailsSectionToggle,
|
|
@@ -366,7 +353,7 @@ export const FileViewer = ({
|
|
|
366
353
|
children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
367
354
|
name: showFileDetailsInViewer ? "chevron-up" : "chevron-down",
|
|
368
355
|
size: 20,
|
|
369
|
-
color:
|
|
356
|
+
color: colors.textSecondary
|
|
370
357
|
})
|
|
371
358
|
})]
|
|
372
359
|
}), showFileDetailsInViewer && /*#__PURE__*/_jsxs(_Fragment, {
|
|
@@ -378,9 +365,8 @@ export const FileViewer = ({
|
|
|
378
365
|
}), isOwner && /*#__PURE__*/_jsx(View, {
|
|
379
366
|
style: fileManagementStyles.fileDetailsActions,
|
|
380
367
|
children: /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}],
|
|
368
|
+
className: "bg-destructive",
|
|
369
|
+
style: fileManagementStyles.fileDetailsActionButton,
|
|
384
370
|
onPress: () => {
|
|
385
371
|
onClose();
|
|
386
372
|
onDelete(file.id, file.filename);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useState","useEffect","View","Text","TouchableOpacity","ScrollView","ActivityIndicator","Image","ExpoImage","MaterialCommunityIcons","formatFileSize","fileManagementStyles","GroupedSection","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","FileViewer","file","fileContent","loadingFileContent","showFileDetailsInViewer","onToggleDetails","onClose","onDownload","onDelete","themeStyles","isOwner","isImage","contentType","startsWith","isText","includes","isPDF","isVideo","isAudio","backgroundColor","borderColor","containerWidth","setContainerWidth","imageDimensions","setImageDimensions","getSize","width","height","imageDisplaySize","maxWidth","maxHeight","aspectRatio","displayWidth","displayHeight","fileDetailItems","items","id","icon","iconColor","colors","iconSecurity","title","subtitle","filename","iconStorage","length","iconData","iconPersonalInfo","Date","uploadDate","toLocaleString","metadata","description","push","style","fileViewerContainer","children","source","uri","backgroundImage","contentFit","blurRadius","transition","cachePolicy","backgroundOverlay","isDarkTheme","floatingBackButton","card","onPress","name","size","color","textColor","floatingDownloadButton","primaryColor","fileViewerContent","contentContainerStyle","fileViewerContentContainer","fileViewerLoading","fileViewerLoadingText","imageContainer","onLayout","e","nativeEvent","layout","imageWrapper","onError","accessibilityLabel","textContainer","flex","nestedScrollEnabled","textContent","unsupportedFileContainer","secondaryText","unsupportedFileTitle","unsupportedFileDescription","downloadButtonLarge","downloadButtonText","fileDetailsSection","fileDetailsSectionHeader","fileDetailsSectionTitle","fileDetailsSectionToggle","fileDetailsSectionContent","fileDetailsActions","fileDetailsActionButton","dangerColor","fileDetailsActionText"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/FileViewer.tsx"],"mappings":";;AACA,SAASA,OAAO,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,iBAAiB,EAAEC,KAAK,QAAQ,cAAc;AACjG,SAASA,KAAK,IAAIC,SAAS,QAAQ,YAAY;AAC/C;AACA,SAASC,sBAAsB,QAAQ,oBAAoB;AAE3D,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,oBAAoB,QAAQ,aAAU;AAE/C,SAASC,cAAc,QAAQ,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAenD,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EAClDC,IAAI;EACJC,WAAW;EACXC,kBAAkB;EAClBC,uBAAuB;EACvBC,eAAe;EACfC,OAAO;EACPC,UAAU;EACVC,QAAQ;EACRC,WAAW;EACXC;AACJ,CAAC,KAAK;EACF,MAAMC,OAAO,GAAGV,IAAI,CAACW,WAAW,CAACC,UAAU,CAAC,QAAQ,CAAC;EACrD,MAAMC,MAAM,GAAGb,IAAI,CAACW,WAAW,CAACC,UAAU,CAAC,OAAO,CAAC,IAC/CZ,IAAI,CAACW,WAAW,CAACG,QAAQ,CAAC,MAAM,CAAC,IACjCd,IAAI,CAACW,WAAW,CAACG,QAAQ,CAAC,KAAK,CAAC,IAChCd,IAAI,CAACW,WAAW,CAACG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,cAAc;YAAC0C,KAAK,EAAED;UAAgB,CAAE;QAAC,CACxC,CAAC,EAENxB,OAAO,iBACJf,IAAA,CAACZ,IAAI;UAACuE,KAAK,EAAE9D,oBAAoB,CAAC+G,kBAAmB;UAAA/C,QAAA,eACjDzD,KAAA,CAACd,gBAAgB;YACbqE,KAAK,EAAE,CAAC9D,oBAAoB,CAACgH,uBAAuB,EAAE;cAAErF,eAAe,EAAEV,WAAW,CAACgG;YAAY,CAAC,CAAE;YACpGrC,OAAO,EAAEA,CAAA,KAAM;cACX9D,OAAO,CAAC,CAAC;cACTE,QAAQ,CAACP,IAAI,CAACmC,EAAE,EAAEnC,IAAI,CAAC0C,QAAQ,CAAC;YACpC,CAAE;YAAAa,QAAA,gBAEF7D,IAAA,CAACL,sBAAsB;cAAC+E,IAAI,EAAC,QAAQ;cAACC,IAAI,EAAE,EAAG;cAACC,KAAK,EAAC;YAAS,CAAE,CAAC,eAClE5E,IAAA,CAACX,IAAI;cAACsE,KAAK,EAAE9D,oBAAoB,CAACkH,qBAAsB;cAAAlD,QAAA,EAAC;YAAM,CAAM,CAAC;UAAA,CACxD;QAAC,CACjB,CACT;MAAA,CACH,CACL;IAAA,CACC,CAAC;EAAA,CACL,CAAC;AAEf,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useMemo","useState","useEffect","View","Text","TouchableOpacity","ScrollView","ActivityIndicator","Image","ExpoImage","MaterialCommunityIcons","useTheme","formatFileSize","fileManagementStyles","Colors","GroupedSection","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","FileViewer","file","fileContent","loadingFileContent","showFileDetailsInViewer","onToggleDetails","onClose","onDownload","onDelete","isOwner","colors","isDark","constantColors","isImage","contentType","startsWith","isText","includes","isPDF","isVideo","isAudio","bgColor","undefined","containerWidth","setContainerWidth","imageDimensions","setImageDimensions","getSize","width","height","imageDisplaySize","maxWidth","maxHeight","aspectRatio","displayWidth","displayHeight","fileDetailItems","items","id","icon","iconColor","iconSecurity","title","subtitle","filename","iconStorage","length","iconData","iconPersonalInfo","Date","uploadDate","toLocaleString","metadata","description","push","className","style","fileViewerContainer","backgroundColor","children","source","uri","backgroundImage","contentFit","blurRadius","transition","cachePolicy","backgroundOverlay","floatingBackButton","onPress","name","size","color","text","floatingDownloadButton","primary","fileViewerContent","contentContainerStyle","fileViewerContentContainer","fileViewerLoading","fileViewerLoadingText","imageContainer","onLayout","e","nativeEvent","layout","imageWrapper","onError","accessibilityLabel","textContainer","flex","nestedScrollEnabled","textContent","unsupportedFileContainer","textSecondary","unsupportedFileTitle","unsupportedFileDescription","downloadButtonLarge","downloadButtonText","fileDetailsSection","fileDetailsSectionHeader","fileDetailsSectionTitle","fileDetailsSectionToggle","fileDetailsSectionContent","fileDetailsActions","fileDetailsActionButton","fileDetailsActionText"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/FileViewer.tsx"],"mappings":";;AACA,SAASA,OAAO,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,iBAAiB,EAAEC,KAAK,QAAQ,cAAc;AACjG,SAASA,KAAK,IAAIC,SAAS,QAAQ,YAAY;AAC/C;AACA,SAASC,sBAAsB,QAAQ,oBAAoB;AAC3D,SAASC,QAAQ,QAAQ,oBAAoB;AAE7C,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,oBAAoB,QAAQ,aAAU;AAC/C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,cAAc,QAAQ,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAgBnD,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EAClDC,IAAI;EACJC,WAAW;EACXC,kBAAkB;EAClBC,uBAAuB;EACvBC,eAAe;EACfC,OAAO;EACPC,UAAU;EACVC,QAAQ;EACRC;AACJ,CAAC,KAAK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AE,CAAC,eAClE7E,IAAA,CAACb,IAAI;cAAC0E,KAAK,EAAEjE,oBAAoB,CAACmH,qBAAsB;cAAA/C,QAAA,EAAC;YAAM,CAAM,CAAC;UAAA,CACxD;QAAC,CACjB,CACT;MAAA,CACH,CACL;IAAA,CACC,CAAC;EAAA,CACL,CAAC;AAEf,CAAC","ignoreList":[]}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { View, Text, TouchableOpacity, Modal, ScrollView } from 'react-native';
|
|
4
4
|
import { Image as ExpoImage } from 'expo-image';
|
|
5
5
|
import { Ionicons } from '@expo/vector-icons';
|
|
6
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
6
7
|
import { formatFileSize, getFileIcon } from "../../utils/fileManagement.js";
|
|
7
8
|
import { fileManagementStyles } from "./styles.js";
|
|
8
9
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -10,31 +11,29 @@ const UploadPreviewContent = ({
|
|
|
10
11
|
pendingFiles,
|
|
11
12
|
onConfirm,
|
|
12
13
|
onCancel,
|
|
13
|
-
onRemoveFile
|
|
14
|
-
themeStyles
|
|
14
|
+
onRemoveFile
|
|
15
15
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
|
|
16
|
+
const {
|
|
17
|
+
colors,
|
|
18
|
+
isDark
|
|
19
|
+
} = useTheme();
|
|
18
20
|
const totalSize = pendingFiles.reduce((sum, f) => sum + f.size, 0);
|
|
19
21
|
return /*#__PURE__*/_jsxs(View, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}],
|
|
22
|
+
className: "bg-background",
|
|
23
|
+
style: fileManagementStyles.uploadPreviewContainer,
|
|
23
24
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}],
|
|
25
|
+
className: "border-b border-border",
|
|
26
|
+
style: fileManagementStyles.uploadPreviewHeader,
|
|
27
27
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}],
|
|
28
|
+
className: "text-foreground",
|
|
29
|
+
style: fileManagementStyles.uploadPreviewTitle,
|
|
31
30
|
children: ["Review Files (", pendingFiles.length, ")"]
|
|
32
31
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
33
32
|
onPress: onCancel,
|
|
34
33
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
35
34
|
name: "close",
|
|
36
35
|
size: 24,
|
|
37
|
-
color:
|
|
36
|
+
color: colors.text
|
|
38
37
|
})
|
|
39
38
|
})]
|
|
40
39
|
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
@@ -42,10 +41,8 @@ const UploadPreviewContent = ({
|
|
|
42
41
|
children: pendingFiles.map((pendingFile, index) => {
|
|
43
42
|
const isImage = pendingFile.type.startsWith('image/');
|
|
44
43
|
return /*#__PURE__*/_jsxs(View, {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
borderColor
|
|
48
|
-
}],
|
|
44
|
+
className: "bg-secondary border-border",
|
|
45
|
+
style: fileManagementStyles.uploadPreviewItem,
|
|
49
46
|
children: [isImage && pendingFile.preview ? /*#__PURE__*/_jsx(ExpoImage, {
|
|
50
47
|
source: {
|
|
51
48
|
uri: pendingFile.preview
|
|
@@ -54,25 +51,23 @@ const UploadPreviewContent = ({
|
|
|
54
51
|
contentFit: "cover"
|
|
55
52
|
}) : /*#__PURE__*/_jsx(View, {
|
|
56
53
|
style: [fileManagementStyles.uploadPreviewIconContainer, {
|
|
57
|
-
backgroundColor:
|
|
54
|
+
backgroundColor: isDark ? '#333333' : '#F0F0F0'
|
|
58
55
|
}],
|
|
59
56
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
60
57
|
name: getFileIcon(pendingFile.type),
|
|
61
58
|
size: 32,
|
|
62
|
-
color:
|
|
59
|
+
color: colors.primary
|
|
63
60
|
})
|
|
64
61
|
}), /*#__PURE__*/_jsxs(View, {
|
|
65
62
|
style: fileManagementStyles.uploadPreviewInfo,
|
|
66
63
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}],
|
|
64
|
+
className: "text-foreground",
|
|
65
|
+
style: fileManagementStyles.uploadPreviewName,
|
|
70
66
|
numberOfLines: 1,
|
|
71
67
|
children: pendingFile.name
|
|
72
68
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}],
|
|
69
|
+
className: "text-muted-foreground",
|
|
70
|
+
style: fileManagementStyles.uploadPreviewMeta,
|
|
76
71
|
children: [formatFileSize(pendingFile.size), " \u2022 ", pendingFile.type]
|
|
77
72
|
})]
|
|
78
73
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
@@ -81,46 +76,41 @@ const UploadPreviewContent = ({
|
|
|
81
76
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
82
77
|
name: "close-circle",
|
|
83
78
|
size: 24,
|
|
84
|
-
color:
|
|
79
|
+
color: colors.error
|
|
85
80
|
})
|
|
86
81
|
})]
|
|
87
82
|
}, index);
|
|
88
83
|
})
|
|
89
84
|
}), /*#__PURE__*/_jsxs(View, {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}],
|
|
85
|
+
className: "border-t border-border",
|
|
86
|
+
style: fileManagementStyles.uploadPreviewFooter,
|
|
93
87
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
94
88
|
style: fileManagementStyles.uploadPreviewStats,
|
|
95
89
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}],
|
|
90
|
+
className: "text-foreground",
|
|
91
|
+
style: fileManagementStyles.uploadPreviewStatsText,
|
|
99
92
|
children: [pendingFiles.length, " file", pendingFiles.length !== 1 ? 's' : '']
|
|
100
93
|
}), /*#__PURE__*/_jsx(Text, {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}],
|
|
94
|
+
className: "text-foreground",
|
|
95
|
+
style: fileManagementStyles.uploadPreviewStatsText,
|
|
104
96
|
children: formatFileSize(totalSize)
|
|
105
97
|
})]
|
|
106
98
|
}), /*#__PURE__*/_jsxs(View, {
|
|
107
99
|
style: fileManagementStyles.uploadPreviewActions,
|
|
108
100
|
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
101
|
+
className: "border-border",
|
|
109
102
|
style: [fileManagementStyles.uploadPreviewCancelButton, {
|
|
110
|
-
borderColor,
|
|
111
103
|
backgroundColor: 'transparent'
|
|
112
104
|
}],
|
|
113
105
|
onPress: onCancel,
|
|
114
106
|
children: /*#__PURE__*/_jsx(Text, {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}],
|
|
107
|
+
className: "text-foreground",
|
|
108
|
+
style: fileManagementStyles.uploadPreviewCancelText,
|
|
118
109
|
children: "Cancel"
|
|
119
110
|
})
|
|
120
111
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}],
|
|
112
|
+
className: "bg-primary",
|
|
113
|
+
style: fileManagementStyles.uploadPreviewConfirmButton,
|
|
124
114
|
onPress: onConfirm,
|
|
125
115
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
126
116
|
name: "cloud-upload",
|
|
@@ -141,7 +131,6 @@ export const UploadPreview = ({
|
|
|
141
131
|
onConfirm,
|
|
142
132
|
onCancel,
|
|
143
133
|
onRemoveFile,
|
|
144
|
-
themeStyles,
|
|
145
134
|
inline = false
|
|
146
135
|
}) => {
|
|
147
136
|
// If inline mode, render content directly without Modal
|
|
@@ -151,8 +140,7 @@ export const UploadPreview = ({
|
|
|
151
140
|
pendingFiles: pendingFiles,
|
|
152
141
|
onConfirm: onConfirm,
|
|
153
142
|
onCancel: onCancel,
|
|
154
|
-
onRemoveFile: onRemoveFile
|
|
155
|
-
themeStyles: themeStyles
|
|
143
|
+
onRemoveFile: onRemoveFile
|
|
156
144
|
});
|
|
157
145
|
}
|
|
158
146
|
|
|
@@ -166,8 +154,7 @@ export const UploadPreview = ({
|
|
|
166
154
|
pendingFiles: pendingFiles,
|
|
167
155
|
onConfirm: onConfirm,
|
|
168
156
|
onCancel: onCancel,
|
|
169
|
-
onRemoveFile: onRemoveFile
|
|
170
|
-
themeStyles: themeStyles
|
|
157
|
+
onRemoveFile: onRemoveFile
|
|
171
158
|
})
|
|
172
159
|
});
|
|
173
160
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Text","TouchableOpacity","Modal","ScrollView","Image","ExpoImage","Ionicons","formatFileSize","getFileIcon","fileManagementStyles","jsxs","_jsxs","jsx","_jsx","UploadPreviewContent","pendingFiles","onConfirm","onCancel","onRemoveFile","
|
|
1
|
+
{"version":3,"names":["View","Text","TouchableOpacity","Modal","ScrollView","Image","ExpoImage","Ionicons","useTheme","formatFileSize","getFileIcon","fileManagementStyles","jsxs","_jsxs","jsx","_jsx","UploadPreviewContent","pendingFiles","onConfirm","onCancel","onRemoveFile","colors","isDark","totalSize","reduce","sum","f","size","className","style","uploadPreviewContainer","children","uploadPreviewHeader","uploadPreviewTitle","length","onPress","name","color","text","uploadPreviewList","map","pendingFile","index","isImage","type","startsWith","uploadPreviewItem","preview","source","uri","uploadPreviewThumbnail","contentFit","uploadPreviewIconContainer","backgroundColor","primary","uploadPreviewInfo","uploadPreviewName","numberOfLines","uploadPreviewMeta","uploadPreviewRemove","error","uploadPreviewFooter","uploadPreviewStats","uploadPreviewStatsText","uploadPreviewActions","uploadPreviewCancelButton","uploadPreviewCancelText","uploadPreviewConfirmButton","uploadPreviewConfirmText","UploadPreview","visible","inline","animationType","presentationStyle","onRequestClose"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/UploadPreview.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAC9E,SAASC,KAAK,IAAIC,SAAS,QAAQ,YAAY;AAC/C,SAASC,QAAQ,QAAQ,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