@oxyhq/services 6.9.33 → 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/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/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/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/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/package.json +1 -1
- 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/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
|
@@ -23,9 +23,7 @@ import { useFileStore, useFiles, useUploading as useUploadingStore, useUploadAgg
|
|
|
23
23
|
import Header from "../components/Header.js";
|
|
24
24
|
import JustifiedPhotoGrid from "../components/photogrid/JustifiedPhotoGrid.js";
|
|
25
25
|
import { GroupedSection } from "../components/index.js";
|
|
26
|
-
import {
|
|
27
|
-
import { useColorScheme } from "../hooks/useColorScheme.js";
|
|
28
|
-
import { normalizeTheme } from "../utils/themeUtils.js";
|
|
26
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
29
27
|
import { useOxy } from "../context/OxyContext.js";
|
|
30
28
|
import { useI18n } from "../hooks/useI18n.js";
|
|
31
29
|
import { useUploadFile } from "../hooks/mutations/useAccountMutations.js";
|
|
@@ -298,20 +296,13 @@ const FileManagementScreen = ({
|
|
|
298
296
|
const getSafeDownloadUrlCallback = useCallback((file, variant = 'thumb') => {
|
|
299
297
|
return getSafeDownloadUrl(file, variant, (fileId, variant) => oxyServices.getFileDownloadUrl(fileId, variant));
|
|
300
298
|
}, [oxyServices]);
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
const baseThemeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
299
|
+
const bloomTheme = useTheme();
|
|
300
|
+
const {
|
|
301
|
+
colors
|
|
302
|
+
} = bloomTheme;
|
|
306
303
|
// FileManagementScreen uses a slightly different light background
|
|
307
|
-
const
|
|
308
|
-
|
|
309
|
-
backgroundColor: baseThemeStyles.isDarkTheme ? baseThemeStyles.backgroundColor : '#f2f2f2'
|
|
310
|
-
}), [baseThemeStyles]);
|
|
311
|
-
|
|
312
|
-
// Extract commonly used theme variables
|
|
313
|
-
const backgroundColor = themeStyles.backgroundColor;
|
|
314
|
-
const borderColor = themeStyles.borderColor;
|
|
304
|
+
const backgroundColor = bloomTheme.isDark ? colors.background : '#f2f2f2';
|
|
305
|
+
const borderColor = colors.border;
|
|
315
306
|
const targetUserId = userId || user?.id;
|
|
316
307
|
const storeSetUploading = useFileStore(s => s.setUploading);
|
|
317
308
|
const storeSetUploadProgress = useFileStore(s => s.setUploadProgress);
|
|
@@ -1112,7 +1103,7 @@ const FileManagementScreen = ({
|
|
|
1112
1103
|
marginRight: (index + 1) % itemsPerRow === 0 ? 0 : 4,
|
|
1113
1104
|
...(selectMode && selectedIds.has(photo.id) ? {
|
|
1114
1105
|
borderWidth: 2,
|
|
1115
|
-
borderColor:
|
|
1106
|
+
borderColor: colors.primary
|
|
1116
1107
|
} : {})
|
|
1117
1108
|
}],
|
|
1118
1109
|
onPress: () => handleFileOpen(photo),
|
|
@@ -1136,12 +1127,12 @@ const FileManagementScreen = ({
|
|
|
1136
1127
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1137
1128
|
name: selectedIds.has(photo.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1138
1129
|
size: 20,
|
|
1139
|
-
color: selectedIds.has(photo.id) ?
|
|
1130
|
+
color: selectedIds.has(photo.id) ? colors.primary : colors.text
|
|
1140
1131
|
})
|
|
1141
1132
|
})]
|
|
1142
1133
|
})
|
|
1143
1134
|
}, photo.id);
|
|
1144
|
-
}, [oxyServices, safeContainerWidth, selectMode, selectedIds,
|
|
1135
|
+
}, [oxyServices, safeContainerWidth, selectMode, selectedIds, colors.primary, colors.text]);
|
|
1145
1136
|
const renderJustifiedPhotoItem = useCallback((photo, width, height, isLast) => {
|
|
1146
1137
|
const downloadUrl = getSafeDownloadUrlCallback(photo, 'thumb');
|
|
1147
1138
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
@@ -1150,7 +1141,7 @@ const FileManagementScreen = ({
|
|
|
1150
1141
|
height,
|
|
1151
1142
|
...(selectMode && selectedIds.has(photo.id) ? {
|
|
1152
1143
|
borderWidth: 2,
|
|
1153
|
-
borderColor:
|
|
1144
|
+
borderColor: colors.primary
|
|
1154
1145
|
} : {}),
|
|
1155
1146
|
...(selectMode && multiSelect && selectedIds.size > 0 && !selectedIds.has(photo.id) ? {
|
|
1156
1147
|
opacity: 0.4
|
|
@@ -1177,12 +1168,12 @@ const FileManagementScreen = ({
|
|
|
1177
1168
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1178
1169
|
name: selectedIds.has(photo.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1179
1170
|
size: 20,
|
|
1180
|
-
color: selectedIds.has(photo.id) ?
|
|
1171
|
+
color: selectedIds.has(photo.id) ? colors.primary : colors.text
|
|
1181
1172
|
})
|
|
1182
1173
|
})]
|
|
1183
1174
|
})
|
|
1184
1175
|
}, photo.id);
|
|
1185
|
-
}, [oxyServices, selectMode, selectedIds, multiSelect,
|
|
1176
|
+
}, [oxyServices, selectMode, selectedIds, multiSelect, colors.primary, colors.text]);
|
|
1186
1177
|
|
|
1187
1178
|
// Run initial load once per targetUserId change to avoid accidental loops
|
|
1188
1179
|
const lastLoadedFor = useRef(undefined);
|
|
@@ -1200,13 +1191,13 @@ const FileManagementScreen = ({
|
|
|
1200
1191
|
const isVideo = file.contentType.startsWith('video/');
|
|
1201
1192
|
const isAudio = file.contentType.startsWith('audio/');
|
|
1202
1193
|
const hasPreview = isImage || isPDF || isVideo;
|
|
1203
|
-
const borderColor =
|
|
1194
|
+
const borderColor = colors.border;
|
|
1204
1195
|
return /*#__PURE__*/_jsxs(View, {
|
|
1205
1196
|
style: [fileManagementStyles.fileItem, {
|
|
1206
|
-
backgroundColor:
|
|
1197
|
+
backgroundColor: colors.backgroundSecondary,
|
|
1207
1198
|
borderColor
|
|
1208
1199
|
}, selectMode && selectedIds.has(file.id) && {
|
|
1209
|
-
borderColor:
|
|
1200
|
+
borderColor: colors.primary,
|
|
1210
1201
|
borderWidth: 2
|
|
1211
1202
|
}],
|
|
1212
1203
|
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
@@ -1233,10 +1224,10 @@ const FileManagementScreen = ({
|
|
|
1233
1224
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1234
1225
|
name: "document",
|
|
1235
1226
|
size: 32,
|
|
1236
|
-
color:
|
|
1227
|
+
color: colors.primary
|
|
1237
1228
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1238
1229
|
style: [fileManagementStyles.pdfLabel, {
|
|
1239
|
-
color:
|
|
1230
|
+
color: colors.primary
|
|
1240
1231
|
}],
|
|
1241
1232
|
children: "PDF"
|
|
1242
1233
|
})]
|
|
@@ -1269,14 +1260,14 @@ const FileManagementScreen = ({
|
|
|
1269
1260
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1270
1261
|
name: getFileIcon(file.contentType),
|
|
1271
1262
|
size: 32,
|
|
1272
|
-
color:
|
|
1263
|
+
color: colors.primary
|
|
1273
1264
|
})
|
|
1274
1265
|
}), selectMode && /*#__PURE__*/_jsx(View, {
|
|
1275
1266
|
style: fileManagementStyles.selectionBadge,
|
|
1276
1267
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1277
1268
|
name: selectedIds.has(file.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1278
1269
|
size: 22,
|
|
1279
|
-
color: selectedIds.has(file.id) ?
|
|
1270
|
+
color: selectedIds.has(file.id) ? colors.primary : colors.text
|
|
1280
1271
|
})
|
|
1281
1272
|
})]
|
|
1282
1273
|
}) : /*#__PURE__*/_jsx(View, {
|
|
@@ -1284,25 +1275,25 @@ const FileManagementScreen = ({
|
|
|
1284
1275
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1285
1276
|
name: getFileIcon(file.contentType),
|
|
1286
1277
|
size: 32,
|
|
1287
|
-
color:
|
|
1278
|
+
color: colors.primary
|
|
1288
1279
|
})
|
|
1289
1280
|
})
|
|
1290
1281
|
}), /*#__PURE__*/_jsxs(View, {
|
|
1291
1282
|
style: fileManagementStyles.fileInfo,
|
|
1292
1283
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
1293
1284
|
style: [fileManagementStyles.fileName, {
|
|
1294
|
-
color:
|
|
1285
|
+
color: colors.text
|
|
1295
1286
|
}],
|
|
1296
1287
|
numberOfLines: 1,
|
|
1297
1288
|
children: file.filename
|
|
1298
1289
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
1299
1290
|
style: [fileManagementStyles.fileDetails, {
|
|
1300
|
-
color:
|
|
1291
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1301
1292
|
}],
|
|
1302
1293
|
children: [formatFileSize(file.length), " \u2022 ", new Date(file.uploadDate).toLocaleDateString()]
|
|
1303
1294
|
}), file.metadata?.description && /*#__PURE__*/_jsx(Text, {
|
|
1304
1295
|
style: [fileManagementStyles.fileDescription, {
|
|
1305
|
-
color:
|
|
1296
|
+
color: bloomTheme.isDark ? '#AAAAAA' : '#888888'
|
|
1306
1297
|
}],
|
|
1307
1298
|
numberOfLines: 2,
|
|
1308
1299
|
children: file.metadata.description
|
|
@@ -1312,27 +1303,27 @@ const FileManagementScreen = ({
|
|
|
1312
1303
|
style: fileManagementStyles.fileActions,
|
|
1313
1304
|
children: [hasPreview && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1314
1305
|
style: [fileManagementStyles.actionButton, {
|
|
1315
|
-
backgroundColor:
|
|
1306
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1316
1307
|
}],
|
|
1317
1308
|
onPress: () => handleFileOpen(file),
|
|
1318
1309
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1319
1310
|
name: "eye",
|
|
1320
1311
|
size: 20,
|
|
1321
|
-
color:
|
|
1312
|
+
color: colors.primary
|
|
1322
1313
|
})
|
|
1323
1314
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1324
1315
|
style: [fileManagementStyles.actionButton, {
|
|
1325
|
-
backgroundColor:
|
|
1316
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1326
1317
|
}],
|
|
1327
1318
|
onPress: () => handleFileDownload(file.id, file.filename),
|
|
1328
1319
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1329
1320
|
name: "download",
|
|
1330
1321
|
size: 20,
|
|
1331
|
-
color:
|
|
1322
|
+
color: colors.primary
|
|
1332
1323
|
})
|
|
1333
1324
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1334
1325
|
style: [fileManagementStyles.actionButton, {
|
|
1335
|
-
backgroundColor:
|
|
1326
|
+
backgroundColor: bloomTheme.isDark ? '#400000' : '#FFEBEE'
|
|
1336
1327
|
}],
|
|
1337
1328
|
onPress: () => {
|
|
1338
1329
|
handleFileDelete(file.id, file.filename);
|
|
@@ -1340,11 +1331,11 @@ const FileManagementScreen = ({
|
|
|
1340
1331
|
disabled: deleting === file.id,
|
|
1341
1332
|
children: deleting === file.id ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
1342
1333
|
size: "small",
|
|
1343
|
-
color:
|
|
1334
|
+
color: colors.error
|
|
1344
1335
|
}) : /*#__PURE__*/_jsx(Ionicons, {
|
|
1345
1336
|
name: "trash",
|
|
1346
1337
|
size: 20,
|
|
1347
|
-
color:
|
|
1338
|
+
color: colors.error
|
|
1348
1339
|
})
|
|
1349
1340
|
})]
|
|
1350
1341
|
})]
|
|
@@ -1452,7 +1443,7 @@ const FileManagementScreen = ({
|
|
|
1452
1443
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1453
1444
|
name: "document",
|
|
1454
1445
|
size: 20,
|
|
1455
|
-
color:
|
|
1446
|
+
color: colors.primary
|
|
1456
1447
|
})
|
|
1457
1448
|
});
|
|
1458
1449
|
}
|
|
@@ -1461,7 +1452,7 @@ const FileManagementScreen = ({
|
|
|
1461
1452
|
id: file.id,
|
|
1462
1453
|
customIcon: customIcon,
|
|
1463
1454
|
icon: !hasPreview ? getFileIcon(file.contentType) : undefined,
|
|
1464
|
-
iconColor:
|
|
1455
|
+
iconColor: colors.primary,
|
|
1465
1456
|
title: file.filename,
|
|
1466
1457
|
subtitle: `${formatFileSize(file.length)} • ${new Date(file.uploadDate).toLocaleDateString()}`,
|
|
1467
1458
|
theme: theme,
|
|
@@ -1491,50 +1482,50 @@ const FileManagementScreen = ({
|
|
|
1491
1482
|
style: fileManagementStyles.groupedActions,
|
|
1492
1483
|
children: [(isImage || isVideo || file.contentType.includes('pdf')) && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1493
1484
|
style: [fileManagementStyles.groupedActionBtn, {
|
|
1494
|
-
backgroundColor:
|
|
1485
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1495
1486
|
}],
|
|
1496
1487
|
onPress: () => handleFileOpen(file),
|
|
1497
1488
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1498
1489
|
name: "eye",
|
|
1499
1490
|
size: 18,
|
|
1500
|
-
color:
|
|
1491
|
+
color: colors.primary
|
|
1501
1492
|
})
|
|
1502
1493
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1503
1494
|
style: [fileManagementStyles.groupedActionBtn, {
|
|
1504
|
-
backgroundColor:
|
|
1495
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1505
1496
|
}],
|
|
1506
1497
|
onPress: () => handleFileDownload(file.id, file.filename),
|
|
1507
1498
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
1508
1499
|
name: "download",
|
|
1509
1500
|
size: 18,
|
|
1510
|
-
color:
|
|
1501
|
+
color: colors.primary
|
|
1511
1502
|
})
|
|
1512
1503
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1513
1504
|
style: [fileManagementStyles.groupedActionBtn, {
|
|
1514
|
-
backgroundColor:
|
|
1505
|
+
backgroundColor: bloomTheme.isDark ? '#400000' : '#FFEBEE'
|
|
1515
1506
|
}],
|
|
1516
1507
|
onPress: () => handleFileDelete(file.id, file.filename),
|
|
1517
1508
|
disabled: deleting === file.id,
|
|
1518
1509
|
children: deleting === file.id ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
1519
1510
|
size: "small",
|
|
1520
|
-
color:
|
|
1511
|
+
color: colors.error
|
|
1521
1512
|
}) : /*#__PURE__*/_jsx(Ionicons, {
|
|
1522
1513
|
name: "trash",
|
|
1523
1514
|
size: 18,
|
|
1524
|
-
color:
|
|
1515
|
+
color: colors.error
|
|
1525
1516
|
})
|
|
1526
1517
|
})]
|
|
1527
1518
|
}) : undefined,
|
|
1528
1519
|
customContentBelow: file.metadata?.description ? /*#__PURE__*/_jsx(Text, {
|
|
1529
1520
|
style: [fileManagementStyles.groupedDescription, {
|
|
1530
|
-
color:
|
|
1521
|
+
color: bloomTheme.isDark ? '#AAAAAA' : '#666666'
|
|
1531
1522
|
}],
|
|
1532
1523
|
numberOfLines: 2,
|
|
1533
1524
|
children: file.metadata.description
|
|
1534
1525
|
}) : undefined
|
|
1535
1526
|
};
|
|
1536
1527
|
});
|
|
1537
|
-
}, [filteredFiles, theme,
|
|
1528
|
+
}, [filteredFiles, theme, deleting, handleFileDownload, handleFileDelete, handleFileOpen, getSafeDownloadUrlCallback, selectMode, selectedIds]);
|
|
1538
1529
|
|
|
1539
1530
|
// Scroll to selected file after selection
|
|
1540
1531
|
useEffect(() => {
|
|
@@ -1663,20 +1654,20 @@ const FileManagementScreen = ({
|
|
|
1663
1654
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1664
1655
|
name: "images-outline",
|
|
1665
1656
|
size: 64,
|
|
1666
|
-
color:
|
|
1657
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
1667
1658
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1668
1659
|
style: [fileManagementStyles.emptyStateTitle, {
|
|
1669
|
-
color:
|
|
1660
|
+
color: colors.text
|
|
1670
1661
|
}],
|
|
1671
1662
|
children: t('fileManagement.emptyPhotos.title')
|
|
1672
1663
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
1673
1664
|
style: [fileManagementStyles.emptyStateDescription, {
|
|
1674
|
-
color:
|
|
1665
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1675
1666
|
}],
|
|
1676
1667
|
children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
|
|
1677
1668
|
}), user?.id === targetUserId && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1678
1669
|
style: [fileManagementStyles.emptyStateButton, {
|
|
1679
|
-
backgroundColor:
|
|
1670
|
+
backgroundColor: colors.primary
|
|
1680
1671
|
}],
|
|
1681
1672
|
onPress: handleFileUpload,
|
|
1682
1673
|
disabled: uploading || isPickingDocument,
|
|
@@ -1706,7 +1697,7 @@ const FileManagementScreen = ({
|
|
|
1706
1697
|
refreshControl: /*#__PURE__*/_jsx(RefreshControl, {
|
|
1707
1698
|
refreshing: refreshing,
|
|
1708
1699
|
onRefresh: () => loadFiles('refresh'),
|
|
1709
|
-
tintColor:
|
|
1700
|
+
tintColor: colors.primary
|
|
1710
1701
|
}),
|
|
1711
1702
|
showsVerticalScrollIndicator: false,
|
|
1712
1703
|
onScroll: ({
|
|
@@ -1727,10 +1718,10 @@ const FileManagementScreen = ({
|
|
|
1727
1718
|
style: fileManagementStyles.dimensionsLoadingIndicator,
|
|
1728
1719
|
children: [/*#__PURE__*/_jsx(ActivityIndicator, {
|
|
1729
1720
|
size: "small",
|
|
1730
|
-
color:
|
|
1721
|
+
color: colors.primary
|
|
1731
1722
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1732
1723
|
style: [fileManagementStyles.dimensionsLoadingText, {
|
|
1733
|
-
color:
|
|
1724
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1734
1725
|
}],
|
|
1735
1726
|
children: t('fileManagement.loadingPhotoLayout')
|
|
1736
1727
|
})]
|
|
@@ -1741,11 +1732,11 @@ const FileManagementScreen = ({
|
|
|
1741
1732
|
createJustifiedRows: createJustifiedRows,
|
|
1742
1733
|
renderJustifiedPhotoItem: renderJustifiedPhotoItem,
|
|
1743
1734
|
renderSimplePhotoItem: renderPhotoItem,
|
|
1744
|
-
textColor:
|
|
1735
|
+
textColor: colors.text,
|
|
1745
1736
|
containerWidth: safeContainerWidth
|
|
1746
1737
|
})]
|
|
1747
1738
|
});
|
|
1748
|
-
}, [filteredFiles,
|
|
1739
|
+
}, [filteredFiles, colors, user?.id, targetUserId, uploading, handleFileUpload, refreshing, loadFiles, loadingDimensions, photoDimensions, loadPhotoDimensions, createJustifiedRows, renderJustifiedPhotoItem, renderPhotoItem, safeContainerWidth]);
|
|
1749
1740
|
|
|
1750
1741
|
// Inline justified grid removed (moved to components/photogrid/JustifiedPhotoGrid.tsx)
|
|
1751
1742
|
|
|
@@ -1754,20 +1745,20 @@ const FileManagementScreen = ({
|
|
|
1754
1745
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
1755
1746
|
name: "folder-open-outline",
|
|
1756
1747
|
size: 64,
|
|
1757
|
-
color:
|
|
1748
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
1758
1749
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1759
1750
|
style: [fileManagementStyles.emptyStateTitle, {
|
|
1760
|
-
color:
|
|
1751
|
+
color: colors.text
|
|
1761
1752
|
}],
|
|
1762
1753
|
children: t('fileManagement.emptyFiles.title')
|
|
1763
1754
|
}), /*#__PURE__*/_jsx(Text, {
|
|
1764
1755
|
style: [fileManagementStyles.emptyStateDescription, {
|
|
1765
|
-
color:
|
|
1756
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1766
1757
|
}],
|
|
1767
1758
|
children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
|
|
1768
1759
|
}), user?.id === targetUserId && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
1769
1760
|
style: [fileManagementStyles.emptyStateButton, {
|
|
1770
|
-
backgroundColor:
|
|
1761
|
+
backgroundColor: colors.primary
|
|
1771
1762
|
}],
|
|
1772
1763
|
onPress: handleFileUpload,
|
|
1773
1764
|
disabled: uploading || isPickingDocument,
|
|
@@ -1826,7 +1817,7 @@ const FileManagementScreen = ({
|
|
|
1826
1817
|
width,
|
|
1827
1818
|
height,
|
|
1828
1819
|
borderRadius,
|
|
1829
|
-
backgroundColor:
|
|
1820
|
+
backgroundColor: bloomTheme.isDark ? '#1E1E1E' : '#F5F5F5',
|
|
1830
1821
|
overflow: 'hidden',
|
|
1831
1822
|
position: 'relative'
|
|
1832
1823
|
}, style],
|
|
@@ -1837,7 +1828,7 @@ const FileManagementScreen = ({
|
|
|
1837
1828
|
left: 0,
|
|
1838
1829
|
right: 0,
|
|
1839
1830
|
bottom: 0,
|
|
1840
|
-
backgroundColor:
|
|
1831
|
+
backgroundColor: bloomTheme.isDark ? '#1E1E1E' : '#F5F5F5'
|
|
1841
1832
|
}
|
|
1842
1833
|
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
1843
1834
|
style: {
|
|
@@ -1854,8 +1845,8 @@ const FileManagementScreen = ({
|
|
|
1854
1845
|
style: {
|
|
1855
1846
|
width: skeletonContainerWidth,
|
|
1856
1847
|
height: '100%',
|
|
1857
|
-
backgroundColor:
|
|
1858
|
-
shadowColor:
|
|
1848
|
+
backgroundColor: bloomTheme.isDark ? 'rgba(255, 255, 255, 0.08)' : 'rgba(255, 255, 255, 0.8)',
|
|
1849
|
+
shadowColor: bloomTheme.isDark ? '#000' : '#FFF',
|
|
1859
1850
|
shadowOffset: {
|
|
1860
1851
|
width: 0,
|
|
1861
1852
|
height: 0
|
|
@@ -1877,9 +1868,9 @@ const FileManagementScreen = ({
|
|
|
1877
1868
|
alignItems: 'center',
|
|
1878
1869
|
paddingHorizontal: 16,
|
|
1879
1870
|
paddingVertical: 12,
|
|
1880
|
-
backgroundColor:
|
|
1871
|
+
backgroundColor: bloomTheme.isDark ? '#121212' : '#FFFFFF',
|
|
1881
1872
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
1882
|
-
borderBottomColor:
|
|
1873
|
+
borderBottomColor: colors.border
|
|
1883
1874
|
}],
|
|
1884
1875
|
children: [/*#__PURE__*/_jsx(SkeletonBox, {
|
|
1885
1876
|
width: 44,
|
|
@@ -1912,7 +1903,7 @@ const FileManagementScreen = ({
|
|
|
1912
1903
|
}],
|
|
1913
1904
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
1914
1905
|
style: [fileManagementStyles.header, {
|
|
1915
|
-
borderBottomColor:
|
|
1906
|
+
borderBottomColor: colors.border,
|
|
1916
1907
|
borderBottomWidth: StyleSheet.hairlineWidth
|
|
1917
1908
|
}],
|
|
1918
1909
|
children: [/*#__PURE__*/_jsx(SkeletonBox, {
|
|
@@ -1951,7 +1942,7 @@ const FileManagementScreen = ({
|
|
|
1951
1942
|
})]
|
|
1952
1943
|
}), /*#__PURE__*/_jsx(View, {
|
|
1953
1944
|
style: [fileManagementStyles.searchContainer, {
|
|
1954
|
-
backgroundColor:
|
|
1945
|
+
backgroundColor: colors.card
|
|
1955
1946
|
}],
|
|
1956
1947
|
children: /*#__PURE__*/_jsx(SkeletonBox, {
|
|
1957
1948
|
width: "100%",
|
|
@@ -1960,7 +1951,7 @@ const FileManagementScreen = ({
|
|
|
1960
1951
|
})
|
|
1961
1952
|
}), /*#__PURE__*/_jsx(View, {
|
|
1962
1953
|
style: [fileManagementStyles.statsContainer, {
|
|
1963
|
-
backgroundColor:
|
|
1954
|
+
backgroundColor: colors.card
|
|
1964
1955
|
}],
|
|
1965
1956
|
children: [1, 2, 3].map(i => /*#__PURE__*/_jsxs(View, {
|
|
1966
1957
|
style: fileManagementStyles.statItem,
|
|
@@ -1983,7 +1974,7 @@ const FileManagementScreen = ({
|
|
|
1983
1974
|
showsVerticalScrollIndicator: false,
|
|
1984
1975
|
children: /*#__PURE__*/_jsx(View, {
|
|
1985
1976
|
style: {
|
|
1986
|
-
backgroundColor:
|
|
1977
|
+
backgroundColor: colors.card,
|
|
1987
1978
|
borderRadius: 18,
|
|
1988
1979
|
overflow: 'hidden',
|
|
1989
1980
|
marginTop: 8
|
|
@@ -2011,7 +2002,6 @@ const FileManagementScreen = ({
|
|
|
2011
2002
|
onClose: handleCloseFile,
|
|
2012
2003
|
onDownload: handleFileDownload,
|
|
2013
2004
|
onDelete: handleFileDelete,
|
|
2014
|
-
themeStyles: themeStyles,
|
|
2015
2005
|
isOwner: user?.id === targetUserId
|
|
2016
2006
|
}), /*#__PURE__*/_jsx(FileDetailsModal, {
|
|
2017
2007
|
visible: showFileDetails,
|
|
@@ -2019,7 +2009,6 @@ const FileManagementScreen = ({
|
|
|
2019
2009
|
onClose: () => setShowFileDetails(false),
|
|
2020
2010
|
onDownload: handleFileDownload,
|
|
2021
2011
|
onDelete: handleFileDelete,
|
|
2022
|
-
themeStyles: themeStyles,
|
|
2023
2012
|
isOwner: user?.id === targetUserId
|
|
2024
2013
|
})]
|
|
2025
2014
|
});
|
|
@@ -2045,7 +2034,6 @@ const FileManagementScreen = ({
|
|
|
2045
2034
|
onConfirm: handleConfirmUpload,
|
|
2046
2035
|
onCancel: handleCancelUpload,
|
|
2047
2036
|
onRemoveFile: removePendingFile,
|
|
2048
|
-
themeStyles: themeStyles,
|
|
2049
2037
|
inline: true
|
|
2050
2038
|
})]
|
|
2051
2039
|
});
|
|
@@ -2123,48 +2111,48 @@ const FileManagementScreen = ({
|
|
|
2123
2111
|
style: fileManagementStyles.viewModeScroll,
|
|
2124
2112
|
children: /*#__PURE__*/_jsxs(View, {
|
|
2125
2113
|
style: [fileManagementStyles.viewModeToggle, {
|
|
2126
|
-
backgroundColor:
|
|
2114
|
+
backgroundColor: colors.card
|
|
2127
2115
|
}],
|
|
2128
2116
|
children: [/*#__PURE__*/_jsx(AnimatedButton, {
|
|
2129
2117
|
isSelected: viewMode === 'all',
|
|
2130
2118
|
onPress: () => setViewMode('all'),
|
|
2131
2119
|
icon: viewMode === 'all' ? 'folder' : 'folder-outline',
|
|
2132
|
-
primaryColor:
|
|
2133
|
-
textColor:
|
|
2120
|
+
primaryColor: colors.primary,
|
|
2121
|
+
textColor: colors.text,
|
|
2134
2122
|
style: fileManagementStyles.viewModeButton
|
|
2135
2123
|
}), /*#__PURE__*/_jsx(AnimatedButton, {
|
|
2136
2124
|
isSelected: viewMode === 'photos',
|
|
2137
2125
|
onPress: () => setViewMode('photos'),
|
|
2138
2126
|
icon: viewMode === 'photos' ? 'image-multiple' : 'image-multiple-outline',
|
|
2139
|
-
primaryColor:
|
|
2140
|
-
textColor:
|
|
2127
|
+
primaryColor: colors.primary,
|
|
2128
|
+
textColor: colors.text,
|
|
2141
2129
|
style: fileManagementStyles.viewModeButton
|
|
2142
2130
|
}), /*#__PURE__*/_jsx(AnimatedButton, {
|
|
2143
2131
|
isSelected: viewMode === 'videos',
|
|
2144
2132
|
onPress: () => setViewMode('videos'),
|
|
2145
2133
|
icon: viewMode === 'videos' ? 'video' : 'video-outline',
|
|
2146
|
-
primaryColor:
|
|
2147
|
-
textColor:
|
|
2134
|
+
primaryColor: colors.primary,
|
|
2135
|
+
textColor: colors.text,
|
|
2148
2136
|
style: fileManagementStyles.viewModeButton
|
|
2149
2137
|
}), /*#__PURE__*/_jsx(AnimatedButton, {
|
|
2150
2138
|
isSelected: viewMode === 'documents',
|
|
2151
2139
|
onPress: () => setViewMode('documents'),
|
|
2152
2140
|
icon: viewMode === 'documents' ? 'file-document' : 'file-document-outline',
|
|
2153
|
-
primaryColor:
|
|
2154
|
-
textColor:
|
|
2141
|
+
primaryColor: colors.primary,
|
|
2142
|
+
textColor: colors.text,
|
|
2155
2143
|
style: fileManagementStyles.viewModeButton
|
|
2156
2144
|
}), /*#__PURE__*/_jsx(AnimatedButton, {
|
|
2157
2145
|
isSelected: viewMode === 'audio',
|
|
2158
2146
|
onPress: () => setViewMode('audio'),
|
|
2159
2147
|
icon: viewMode === 'audio' ? 'music-note' : 'music-note-outline',
|
|
2160
|
-
primaryColor:
|
|
2161
|
-
textColor:
|
|
2148
|
+
primaryColor: colors.primary,
|
|
2149
|
+
textColor: colors.text,
|
|
2162
2150
|
style: fileManagementStyles.viewModeButton
|
|
2163
2151
|
})]
|
|
2164
2152
|
})
|
|
2165
2153
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
2166
2154
|
style: [fileManagementStyles.sortButton, {
|
|
2167
|
-
backgroundColor:
|
|
2155
|
+
backgroundColor: colors.card
|
|
2168
2156
|
}],
|
|
2169
2157
|
onPress: () => {
|
|
2170
2158
|
// Cycle through sort options: date -> size -> name -> type -> date
|
|
@@ -2180,15 +2168,15 @@ const FileManagementScreen = ({
|
|
|
2180
2168
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
2181
2169
|
name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
|
|
2182
2170
|
size: 16,
|
|
2183
|
-
color:
|
|
2171
|
+
color: colors.text
|
|
2184
2172
|
}), /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
2185
2173
|
name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
|
|
2186
2174
|
size: 14,
|
|
2187
|
-
color:
|
|
2175
|
+
color: colors.textSecondary
|
|
2188
2176
|
})]
|
|
2189
2177
|
}), user?.id === targetUserId && (!selectMode || selectMode && allowUploadInSelectMode) && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
2190
2178
|
style: [fileManagementStyles.uploadButton, {
|
|
2191
|
-
backgroundColor:
|
|
2179
|
+
backgroundColor: colors.primary
|
|
2192
2180
|
}],
|
|
2193
2181
|
onPress: handleFileUpload,
|
|
2194
2182
|
disabled: uploading || isPickingDocument,
|
|
@@ -2212,18 +2200,18 @@ const FileManagementScreen = ({
|
|
|
2212
2200
|
})]
|
|
2213
2201
|
}), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/_jsxs(View, {
|
|
2214
2202
|
style: [fileManagementStyles.searchContainer, {
|
|
2215
|
-
backgroundColor:
|
|
2203
|
+
backgroundColor: colors.card
|
|
2216
2204
|
}],
|
|
2217
2205
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
2218
2206
|
name: "search",
|
|
2219
2207
|
size: 22,
|
|
2220
|
-
color:
|
|
2208
|
+
color: colors.icon
|
|
2221
2209
|
}), /*#__PURE__*/_jsx(TextInput, {
|
|
2222
2210
|
style: [fileManagementStyles.searchInput, {
|
|
2223
|
-
color:
|
|
2211
|
+
color: colors.text
|
|
2224
2212
|
}],
|
|
2225
2213
|
placeholder: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
|
|
2226
|
-
placeholderTextColor:
|
|
2214
|
+
placeholderTextColor: colors.textSecondary,
|
|
2227
2215
|
value: searchQuery,
|
|
2228
2216
|
onChangeText: setSearchQuery
|
|
2229
2217
|
}), searchQuery.length > 0 && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
@@ -2232,23 +2220,23 @@ const FileManagementScreen = ({
|
|
|
2232
2220
|
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
2233
2221
|
name: "close-circle",
|
|
2234
2222
|
size: 22,
|
|
2235
|
-
color:
|
|
2223
|
+
color: colors.icon
|
|
2236
2224
|
})
|
|
2237
2225
|
})]
|
|
2238
2226
|
}), files.length > 0 && /*#__PURE__*/_jsxs(View, {
|
|
2239
2227
|
style: [fileManagementStyles.statsContainer, {
|
|
2240
|
-
backgroundColor:
|
|
2228
|
+
backgroundColor: colors.card
|
|
2241
2229
|
}],
|
|
2242
2230
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
2243
2231
|
style: fileManagementStyles.statItem,
|
|
2244
2232
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
2245
2233
|
style: [fileManagementStyles.statValue, {
|
|
2246
|
-
color:
|
|
2234
|
+
color: colors.text
|
|
2247
2235
|
}],
|
|
2248
2236
|
children: filteredFiles.length
|
|
2249
2237
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2250
2238
|
style: [fileManagementStyles.statLabel, {
|
|
2251
|
-
color:
|
|
2239
|
+
color: colors.textSecondary
|
|
2252
2240
|
}],
|
|
2253
2241
|
children: searchQuery.length > 0 ? t('fileManagement.found') : filteredFiles.length === 1 ? viewMode === 'photos' ? t('fileManagement.photo') : t('fileManagement.file') : viewMode === 'photos' ? t('fileManagement.photos_stat') : t('fileManagement.files')
|
|
2254
2242
|
})]
|
|
@@ -2256,12 +2244,12 @@ const FileManagementScreen = ({
|
|
|
2256
2244
|
style: fileManagementStyles.statItem,
|
|
2257
2245
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
2258
2246
|
style: [fileManagementStyles.statValue, {
|
|
2259
|
-
color:
|
|
2247
|
+
color: colors.text
|
|
2260
2248
|
}],
|
|
2261
2249
|
children: formatFileSize(filteredFiles.reduce((total, file) => total + file.length, 0))
|
|
2262
2250
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2263
2251
|
style: [fileManagementStyles.statLabel, {
|
|
2264
|
-
color:
|
|
2252
|
+
color: colors.textSecondary
|
|
2265
2253
|
}],
|
|
2266
2254
|
children: searchQuery.length > 0 ? t('fileManagement.size') : t('fileManagement.totalSize')
|
|
2267
2255
|
})]
|
|
@@ -2269,12 +2257,12 @@ const FileManagementScreen = ({
|
|
|
2269
2257
|
style: fileManagementStyles.statItem,
|
|
2270
2258
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
2271
2259
|
style: [fileManagementStyles.statValue, {
|
|
2272
|
-
color:
|
|
2260
|
+
color: colors.text
|
|
2273
2261
|
}],
|
|
2274
2262
|
children: files.length
|
|
2275
2263
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2276
2264
|
style: [fileManagementStyles.statLabel, {
|
|
2277
|
-
color:
|
|
2265
|
+
color: colors.textSecondary
|
|
2278
2266
|
}],
|
|
2279
2267
|
children: t('fileManagement.total')
|
|
2280
2268
|
})]
|
|
@@ -2286,7 +2274,7 @@ const FileManagementScreen = ({
|
|
|
2286
2274
|
refreshControl: /*#__PURE__*/_jsx(RefreshControl, {
|
|
2287
2275
|
refreshing: refreshing,
|
|
2288
2276
|
onRefresh: () => loadFiles('refresh'),
|
|
2289
|
-
tintColor:
|
|
2277
|
+
tintColor: colors.primary
|
|
2290
2278
|
}),
|
|
2291
2279
|
onScroll: ({
|
|
2292
2280
|
nativeEvent
|
|
@@ -2307,22 +2295,22 @@ const FileManagementScreen = ({
|
|
|
2307
2295
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
2308
2296
|
name: "search",
|
|
2309
2297
|
size: 64,
|
|
2310
|
-
color:
|
|
2298
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
2311
2299
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2312
2300
|
style: [fileManagementStyles.emptyStateTitle, {
|
|
2313
|
-
color:
|
|
2301
|
+
color: colors.text
|
|
2314
2302
|
}],
|
|
2315
2303
|
children: t('fileManagement.noResults.title')
|
|
2316
2304
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2317
2305
|
style: [fileManagementStyles.emptyStateDescription, {
|
|
2318
|
-
color:
|
|
2306
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
2319
2307
|
}],
|
|
2320
2308
|
children: t('fileManagement.noResults.description', {
|
|
2321
2309
|
query: searchQuery
|
|
2322
2310
|
})
|
|
2323
2311
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
2324
2312
|
style: [fileManagementStyles.emptyStateButton, {
|
|
2325
|
-
backgroundColor:
|
|
2313
|
+
backgroundColor: colors.primary
|
|
2326
2314
|
}],
|
|
2327
2315
|
onPress: () => setSearchQuery(''),
|
|
2328
2316
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
@@ -2341,10 +2329,10 @@ const FileManagementScreen = ({
|
|
|
2341
2329
|
style: fileManagementStyles.loadingMoreBar,
|
|
2342
2330
|
children: [/*#__PURE__*/_jsx(ActivityIndicator, {
|
|
2343
2331
|
size: "small",
|
|
2344
|
-
color:
|
|
2332
|
+
color: colors.primary
|
|
2345
2333
|
}), /*#__PURE__*/_jsx(Text, {
|
|
2346
2334
|
style: [fileManagementStyles.loadingMoreText, {
|
|
2347
|
-
color:
|
|
2335
|
+
color: colors.text
|
|
2348
2336
|
}],
|
|
2349
2337
|
children: t('fileManagement.loadingMore')
|
|
2350
2338
|
})]
|
|
@@ -2356,7 +2344,6 @@ const FileManagementScreen = ({
|
|
|
2356
2344
|
onClose: () => setShowFileDetails(false),
|
|
2357
2345
|
onDownload: handleFileDownload,
|
|
2358
2346
|
onDelete: handleFileDelete,
|
|
2359
|
-
themeStyles: themeStyles,
|
|
2360
2347
|
isOwner: user?.id === targetUserId
|
|
2361
2348
|
}), !selectMode && uploading && /*#__PURE__*/_jsx(View, {
|
|
2362
2349
|
style: [fileManagementStyles.uploadBannerContainer, {
|
|
@@ -2364,34 +2351,34 @@ const FileManagementScreen = ({
|
|
|
2364
2351
|
}],
|
|
2365
2352
|
children: /*#__PURE__*/_jsxs(View, {
|
|
2366
2353
|
style: [fileManagementStyles.uploadBanner, {
|
|
2367
|
-
backgroundColor:
|
|
2368
|
-
borderColor:
|
|
2354
|
+
backgroundColor: bloomTheme.isDark ? '#222831EE' : '#FFFFFFEE',
|
|
2355
|
+
borderColor: colors.border
|
|
2369
2356
|
}],
|
|
2370
2357
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
2371
2358
|
name: "cloud-upload",
|
|
2372
2359
|
size: 18,
|
|
2373
|
-
color:
|
|
2360
|
+
color: colors.primary
|
|
2374
2361
|
}), /*#__PURE__*/_jsxs(View, {
|
|
2375
2362
|
style: fileManagementStyles.uploadBannerContent,
|
|
2376
2363
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
2377
2364
|
style: [fileManagementStyles.uploadBannerText, {
|
|
2378
|
-
color:
|
|
2365
|
+
color: colors.text
|
|
2379
2366
|
}],
|
|
2380
2367
|
children: [t('fileManagement.uploading'), uploadProgress ? ` ${uploadProgress.current}/${uploadProgress.total}` : '...']
|
|
2381
2368
|
}), uploadProgress && uploadProgress.total > 0 && /*#__PURE__*/_jsx(View, {
|
|
2382
2369
|
style: [fileManagementStyles.uploadProgressBarContainer, {
|
|
2383
|
-
backgroundColor:
|
|
2370
|
+
backgroundColor: bloomTheme.isDark ? 'rgba(255,255,255,0.1)' : 'rgba(0,0,0,0.1)'
|
|
2384
2371
|
}],
|
|
2385
2372
|
children: /*#__PURE__*/_jsx(View, {
|
|
2386
2373
|
style: [fileManagementStyles.uploadProgressBar, {
|
|
2387
2374
|
width: `${uploadProgress.current / uploadProgress.total * 100}%`,
|
|
2388
|
-
backgroundColor:
|
|
2375
|
+
backgroundColor: colors.primary
|
|
2389
2376
|
}]
|
|
2390
2377
|
})
|
|
2391
2378
|
})]
|
|
2392
2379
|
}), /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
2393
2380
|
size: "small",
|
|
2394
|
-
color:
|
|
2381
|
+
color: colors.primary
|
|
2395
2382
|
})]
|
|
2396
2383
|
})
|
|
2397
2384
|
})]
|