@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
|
@@ -13,9 +13,7 @@ var _fileStore = require("../stores/fileStore.js");
|
|
|
13
13
|
var _Header = _interopRequireDefault(require("../components/Header.js"));
|
|
14
14
|
var _JustifiedPhotoGrid = _interopRequireDefault(require("../components/photogrid/JustifiedPhotoGrid.js"));
|
|
15
15
|
var _index = require("../components/index.js");
|
|
16
|
-
var
|
|
17
|
-
var _useColorScheme = require("../hooks/useColorScheme.js");
|
|
18
|
-
var _themeUtils = require("../utils/themeUtils.js");
|
|
16
|
+
var _theme = require("@oxyhq/bloom/theme");
|
|
19
17
|
var _OxyContext = require("../context/OxyContext.js");
|
|
20
18
|
var _useI18n = require("../hooks/useI18n.js");
|
|
21
19
|
var _useAccountMutations = require("../hooks/mutations/useAccountMutations.js");
|
|
@@ -305,20 +303,13 @@ const FileManagementScreen = ({
|
|
|
305
303
|
const getSafeDownloadUrlCallback = (0, _react.useCallback)((file, variant = 'thumb') => {
|
|
306
304
|
return (0, _fileManagement.getSafeDownloadUrl)(file, variant, (fileId, variant) => oxyServices.getFileDownloadUrl(fileId, variant));
|
|
307
305
|
}, [oxyServices]);
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
const baseThemeStyles = (0, _useThemeStyles.useThemeStyles)(normalizedTheme, colorScheme);
|
|
306
|
+
const bloomTheme = (0, _theme.useTheme)();
|
|
307
|
+
const {
|
|
308
|
+
colors
|
|
309
|
+
} = bloomTheme;
|
|
313
310
|
// FileManagementScreen uses a slightly different light background
|
|
314
|
-
const
|
|
315
|
-
|
|
316
|
-
backgroundColor: baseThemeStyles.isDarkTheme ? baseThemeStyles.backgroundColor : '#f2f2f2'
|
|
317
|
-
}), [baseThemeStyles]);
|
|
318
|
-
|
|
319
|
-
// Extract commonly used theme variables
|
|
320
|
-
const backgroundColor = themeStyles.backgroundColor;
|
|
321
|
-
const borderColor = themeStyles.borderColor;
|
|
311
|
+
const backgroundColor = bloomTheme.isDark ? colors.background : '#f2f2f2';
|
|
312
|
+
const borderColor = colors.border;
|
|
322
313
|
const targetUserId = userId || user?.id;
|
|
323
314
|
const storeSetUploading = (0, _fileStore.useFileStore)(s => s.setUploading);
|
|
324
315
|
const storeSetUploadProgress = (0, _fileStore.useFileStore)(s => s.setUploadProgress);
|
|
@@ -1119,7 +1110,7 @@ const FileManagementScreen = ({
|
|
|
1119
1110
|
marginRight: (index + 1) % itemsPerRow === 0 ? 0 : 4,
|
|
1120
1111
|
...(selectMode && selectedIds.has(photo.id) ? {
|
|
1121
1112
|
borderWidth: 2,
|
|
1122
|
-
borderColor:
|
|
1113
|
+
borderColor: colors.primary
|
|
1123
1114
|
} : {})
|
|
1124
1115
|
}],
|
|
1125
1116
|
onPress: () => handleFileOpen(photo),
|
|
@@ -1143,12 +1134,12 @@ const FileManagementScreen = ({
|
|
|
1143
1134
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1144
1135
|
name: selectedIds.has(photo.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1145
1136
|
size: 20,
|
|
1146
|
-
color: selectedIds.has(photo.id) ?
|
|
1137
|
+
color: selectedIds.has(photo.id) ? colors.primary : colors.text
|
|
1147
1138
|
})
|
|
1148
1139
|
})]
|
|
1149
1140
|
})
|
|
1150
1141
|
}, photo.id);
|
|
1151
|
-
}, [oxyServices, safeContainerWidth, selectMode, selectedIds,
|
|
1142
|
+
}, [oxyServices, safeContainerWidth, selectMode, selectedIds, colors.primary, colors.text]);
|
|
1152
1143
|
const renderJustifiedPhotoItem = (0, _react.useCallback)((photo, width, height, isLast) => {
|
|
1153
1144
|
const downloadUrl = getSafeDownloadUrlCallback(photo, 'thumb');
|
|
1154
1145
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
@@ -1157,7 +1148,7 @@ const FileManagementScreen = ({
|
|
|
1157
1148
|
height,
|
|
1158
1149
|
...(selectMode && selectedIds.has(photo.id) ? {
|
|
1159
1150
|
borderWidth: 2,
|
|
1160
|
-
borderColor:
|
|
1151
|
+
borderColor: colors.primary
|
|
1161
1152
|
} : {}),
|
|
1162
1153
|
...(selectMode && multiSelect && selectedIds.size > 0 && !selectedIds.has(photo.id) ? {
|
|
1163
1154
|
opacity: 0.4
|
|
@@ -1184,12 +1175,12 @@ const FileManagementScreen = ({
|
|
|
1184
1175
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1185
1176
|
name: selectedIds.has(photo.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1186
1177
|
size: 20,
|
|
1187
|
-
color: selectedIds.has(photo.id) ?
|
|
1178
|
+
color: selectedIds.has(photo.id) ? colors.primary : colors.text
|
|
1188
1179
|
})
|
|
1189
1180
|
})]
|
|
1190
1181
|
})
|
|
1191
1182
|
}, photo.id);
|
|
1192
|
-
}, [oxyServices, selectMode, selectedIds, multiSelect,
|
|
1183
|
+
}, [oxyServices, selectMode, selectedIds, multiSelect, colors.primary, colors.text]);
|
|
1193
1184
|
|
|
1194
1185
|
// Run initial load once per targetUserId change to avoid accidental loops
|
|
1195
1186
|
const lastLoadedFor = (0, _react.useRef)(undefined);
|
|
@@ -1207,13 +1198,13 @@ const FileManagementScreen = ({
|
|
|
1207
1198
|
const isVideo = file.contentType.startsWith('video/');
|
|
1208
1199
|
const isAudio = file.contentType.startsWith('audio/');
|
|
1209
1200
|
const hasPreview = isImage || isPDF || isVideo;
|
|
1210
|
-
const borderColor =
|
|
1201
|
+
const borderColor = colors.border;
|
|
1211
1202
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1212
1203
|
style: [_styles.fileManagementStyles.fileItem, {
|
|
1213
|
-
backgroundColor:
|
|
1204
|
+
backgroundColor: colors.backgroundSecondary,
|
|
1214
1205
|
borderColor
|
|
1215
1206
|
}, selectMode && selectedIds.has(file.id) && {
|
|
1216
|
-
borderColor:
|
|
1207
|
+
borderColor: colors.primary,
|
|
1217
1208
|
borderWidth: 2
|
|
1218
1209
|
}],
|
|
1219
1210
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
@@ -1240,10 +1231,10 @@ const FileManagementScreen = ({
|
|
|
1240
1231
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1241
1232
|
name: "document",
|
|
1242
1233
|
size: 32,
|
|
1243
|
-
color:
|
|
1234
|
+
color: colors.primary
|
|
1244
1235
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1245
1236
|
style: [_styles.fileManagementStyles.pdfLabel, {
|
|
1246
|
-
color:
|
|
1237
|
+
color: colors.primary
|
|
1247
1238
|
}],
|
|
1248
1239
|
children: "PDF"
|
|
1249
1240
|
})]
|
|
@@ -1276,14 +1267,14 @@ const FileManagementScreen = ({
|
|
|
1276
1267
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1277
1268
|
name: (0, _fileManagement.getFileIcon)(file.contentType),
|
|
1278
1269
|
size: 32,
|
|
1279
|
-
color:
|
|
1270
|
+
color: colors.primary
|
|
1280
1271
|
})
|
|
1281
1272
|
}), selectMode && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1282
1273
|
style: _styles.fileManagementStyles.selectionBadge,
|
|
1283
1274
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1284
1275
|
name: selectedIds.has(file.id) ? 'checkmark-circle' : 'ellipse-outline',
|
|
1285
1276
|
size: 22,
|
|
1286
|
-
color: selectedIds.has(file.id) ?
|
|
1277
|
+
color: selectedIds.has(file.id) ? colors.primary : colors.text
|
|
1287
1278
|
})
|
|
1288
1279
|
})]
|
|
1289
1280
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
@@ -1291,25 +1282,25 @@ const FileManagementScreen = ({
|
|
|
1291
1282
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1292
1283
|
name: (0, _fileManagement.getFileIcon)(file.contentType),
|
|
1293
1284
|
size: 32,
|
|
1294
|
-
color:
|
|
1285
|
+
color: colors.primary
|
|
1295
1286
|
})
|
|
1296
1287
|
})
|
|
1297
1288
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1298
1289
|
style: _styles.fileManagementStyles.fileInfo,
|
|
1299
1290
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1300
1291
|
style: [_styles.fileManagementStyles.fileName, {
|
|
1301
|
-
color:
|
|
1292
|
+
color: colors.text
|
|
1302
1293
|
}],
|
|
1303
1294
|
numberOfLines: 1,
|
|
1304
1295
|
children: file.filename
|
|
1305
1296
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
1306
1297
|
style: [_styles.fileManagementStyles.fileDetails, {
|
|
1307
|
-
color:
|
|
1298
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1308
1299
|
}],
|
|
1309
1300
|
children: [(0, _fileManagement.formatFileSize)(file.length), " \u2022 ", new Date(file.uploadDate).toLocaleDateString()]
|
|
1310
1301
|
}), file.metadata?.description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1311
1302
|
style: [_styles.fileManagementStyles.fileDescription, {
|
|
1312
|
-
color:
|
|
1303
|
+
color: bloomTheme.isDark ? '#AAAAAA' : '#888888'
|
|
1313
1304
|
}],
|
|
1314
1305
|
numberOfLines: 2,
|
|
1315
1306
|
children: file.metadata.description
|
|
@@ -1319,27 +1310,27 @@ const FileManagementScreen = ({
|
|
|
1319
1310
|
style: _styles.fileManagementStyles.fileActions,
|
|
1320
1311
|
children: [hasPreview && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1321
1312
|
style: [_styles.fileManagementStyles.actionButton, {
|
|
1322
|
-
backgroundColor:
|
|
1313
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1323
1314
|
}],
|
|
1324
1315
|
onPress: () => handleFileOpen(file),
|
|
1325
1316
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1326
1317
|
name: "eye",
|
|
1327
1318
|
size: 20,
|
|
1328
|
-
color:
|
|
1319
|
+
color: colors.primary
|
|
1329
1320
|
})
|
|
1330
1321
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1331
1322
|
style: [_styles.fileManagementStyles.actionButton, {
|
|
1332
|
-
backgroundColor:
|
|
1323
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1333
1324
|
}],
|
|
1334
1325
|
onPress: () => handleFileDownload(file.id, file.filename),
|
|
1335
1326
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1336
1327
|
name: "download",
|
|
1337
1328
|
size: 20,
|
|
1338
|
-
color:
|
|
1329
|
+
color: colors.primary
|
|
1339
1330
|
})
|
|
1340
1331
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1341
1332
|
style: [_styles.fileManagementStyles.actionButton, {
|
|
1342
|
-
backgroundColor:
|
|
1333
|
+
backgroundColor: bloomTheme.isDark ? '#400000' : '#FFEBEE'
|
|
1343
1334
|
}],
|
|
1344
1335
|
onPress: () => {
|
|
1345
1336
|
handleFileDelete(file.id, file.filename);
|
|
@@ -1347,11 +1338,11 @@ const FileManagementScreen = ({
|
|
|
1347
1338
|
disabled: deleting === file.id,
|
|
1348
1339
|
children: deleting === file.id ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1349
1340
|
size: "small",
|
|
1350
|
-
color:
|
|
1341
|
+
color: colors.error
|
|
1351
1342
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1352
1343
|
name: "trash",
|
|
1353
1344
|
size: 20,
|
|
1354
|
-
color:
|
|
1345
|
+
color: colors.error
|
|
1355
1346
|
})
|
|
1356
1347
|
})]
|
|
1357
1348
|
})]
|
|
@@ -1459,7 +1450,7 @@ const FileManagementScreen = ({
|
|
|
1459
1450
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1460
1451
|
name: "document",
|
|
1461
1452
|
size: 20,
|
|
1462
|
-
color:
|
|
1453
|
+
color: colors.primary
|
|
1463
1454
|
})
|
|
1464
1455
|
});
|
|
1465
1456
|
}
|
|
@@ -1468,7 +1459,7 @@ const FileManagementScreen = ({
|
|
|
1468
1459
|
id: file.id,
|
|
1469
1460
|
customIcon: customIcon,
|
|
1470
1461
|
icon: !hasPreview ? (0, _fileManagement.getFileIcon)(file.contentType) : undefined,
|
|
1471
|
-
iconColor:
|
|
1462
|
+
iconColor: colors.primary,
|
|
1472
1463
|
title: file.filename,
|
|
1473
1464
|
subtitle: `${(0, _fileManagement.formatFileSize)(file.length)} • ${new Date(file.uploadDate).toLocaleDateString()}`,
|
|
1474
1465
|
theme: theme,
|
|
@@ -1498,50 +1489,50 @@ const FileManagementScreen = ({
|
|
|
1498
1489
|
style: _styles.fileManagementStyles.groupedActions,
|
|
1499
1490
|
children: [(isImage || isVideo || file.contentType.includes('pdf')) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1500
1491
|
style: [_styles.fileManagementStyles.groupedActionBtn, {
|
|
1501
|
-
backgroundColor:
|
|
1492
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1502
1493
|
}],
|
|
1503
1494
|
onPress: () => handleFileOpen(file),
|
|
1504
1495
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1505
1496
|
name: "eye",
|
|
1506
1497
|
size: 18,
|
|
1507
|
-
color:
|
|
1498
|
+
color: colors.primary
|
|
1508
1499
|
})
|
|
1509
1500
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1510
1501
|
style: [_styles.fileManagementStyles.groupedActionBtn, {
|
|
1511
|
-
backgroundColor:
|
|
1502
|
+
backgroundColor: bloomTheme.isDark ? '#333333' : '#F0F0F0'
|
|
1512
1503
|
}],
|
|
1513
1504
|
onPress: () => handleFileDownload(file.id, file.filename),
|
|
1514
1505
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1515
1506
|
name: "download",
|
|
1516
1507
|
size: 18,
|
|
1517
|
-
color:
|
|
1508
|
+
color: colors.primary
|
|
1518
1509
|
})
|
|
1519
1510
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1520
1511
|
style: [_styles.fileManagementStyles.groupedActionBtn, {
|
|
1521
|
-
backgroundColor:
|
|
1512
|
+
backgroundColor: bloomTheme.isDark ? '#400000' : '#FFEBEE'
|
|
1522
1513
|
}],
|
|
1523
1514
|
onPress: () => handleFileDelete(file.id, file.filename),
|
|
1524
1515
|
disabled: deleting === file.id,
|
|
1525
1516
|
children: deleting === file.id ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1526
1517
|
size: "small",
|
|
1527
|
-
color:
|
|
1518
|
+
color: colors.error
|
|
1528
1519
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1529
1520
|
name: "trash",
|
|
1530
1521
|
size: 18,
|
|
1531
|
-
color:
|
|
1522
|
+
color: colors.error
|
|
1532
1523
|
})
|
|
1533
1524
|
})]
|
|
1534
1525
|
}) : undefined,
|
|
1535
1526
|
customContentBelow: file.metadata?.description ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1536
1527
|
style: [_styles.fileManagementStyles.groupedDescription, {
|
|
1537
|
-
color:
|
|
1528
|
+
color: bloomTheme.isDark ? '#AAAAAA' : '#666666'
|
|
1538
1529
|
}],
|
|
1539
1530
|
numberOfLines: 2,
|
|
1540
1531
|
children: file.metadata.description
|
|
1541
1532
|
}) : undefined
|
|
1542
1533
|
};
|
|
1543
1534
|
});
|
|
1544
|
-
}, [filteredFiles, theme,
|
|
1535
|
+
}, [filteredFiles, theme, deleting, handleFileDownload, handleFileDelete, handleFileOpen, getSafeDownloadUrlCallback, selectMode, selectedIds]);
|
|
1545
1536
|
|
|
1546
1537
|
// Scroll to selected file after selection
|
|
1547
1538
|
(0, _react.useEffect)(() => {
|
|
@@ -1670,20 +1661,20 @@ const FileManagementScreen = ({
|
|
|
1670
1661
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1671
1662
|
name: "images-outline",
|
|
1672
1663
|
size: 64,
|
|
1673
|
-
color:
|
|
1664
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
1674
1665
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1675
1666
|
style: [_styles.fileManagementStyles.emptyStateTitle, {
|
|
1676
|
-
color:
|
|
1667
|
+
color: colors.text
|
|
1677
1668
|
}],
|
|
1678
1669
|
children: t('fileManagement.emptyPhotos.title')
|
|
1679
1670
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
1680
1671
|
style: [_styles.fileManagementStyles.emptyStateDescription, {
|
|
1681
|
-
color:
|
|
1672
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1682
1673
|
}],
|
|
1683
1674
|
children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
|
|
1684
1675
|
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1685
1676
|
style: [_styles.fileManagementStyles.emptyStateButton, {
|
|
1686
|
-
backgroundColor:
|
|
1677
|
+
backgroundColor: colors.primary
|
|
1687
1678
|
}],
|
|
1688
1679
|
onPress: handleFileUpload,
|
|
1689
1680
|
disabled: uploading || isPickingDocument,
|
|
@@ -1713,7 +1704,7 @@ const FileManagementScreen = ({
|
|
|
1713
1704
|
refreshControl: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.RefreshControl, {
|
|
1714
1705
|
refreshing: refreshing,
|
|
1715
1706
|
onRefresh: () => loadFiles('refresh'),
|
|
1716
|
-
tintColor:
|
|
1707
|
+
tintColor: colors.primary
|
|
1717
1708
|
}),
|
|
1718
1709
|
showsVerticalScrollIndicator: false,
|
|
1719
1710
|
onScroll: ({
|
|
@@ -1734,10 +1725,10 @@ const FileManagementScreen = ({
|
|
|
1734
1725
|
style: _styles.fileManagementStyles.dimensionsLoadingIndicator,
|
|
1735
1726
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1736
1727
|
size: "small",
|
|
1737
|
-
color:
|
|
1728
|
+
color: colors.primary
|
|
1738
1729
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1739
1730
|
style: [_styles.fileManagementStyles.dimensionsLoadingText, {
|
|
1740
|
-
color:
|
|
1731
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1741
1732
|
}],
|
|
1742
1733
|
children: t('fileManagement.loadingPhotoLayout')
|
|
1743
1734
|
})]
|
|
@@ -1748,11 +1739,11 @@ const FileManagementScreen = ({
|
|
|
1748
1739
|
createJustifiedRows: createJustifiedRows,
|
|
1749
1740
|
renderJustifiedPhotoItem: renderJustifiedPhotoItem,
|
|
1750
1741
|
renderSimplePhotoItem: renderPhotoItem,
|
|
1751
|
-
textColor:
|
|
1742
|
+
textColor: colors.text,
|
|
1752
1743
|
containerWidth: safeContainerWidth
|
|
1753
1744
|
})]
|
|
1754
1745
|
});
|
|
1755
|
-
}, [filteredFiles,
|
|
1746
|
+
}, [filteredFiles, colors, user?.id, targetUserId, uploading, handleFileUpload, refreshing, loadFiles, loadingDimensions, photoDimensions, loadPhotoDimensions, createJustifiedRows, renderJustifiedPhotoItem, renderPhotoItem, safeContainerWidth]);
|
|
1756
1747
|
|
|
1757
1748
|
// Inline justified grid removed (moved to components/photogrid/JustifiedPhotoGrid.tsx)
|
|
1758
1749
|
|
|
@@ -1761,20 +1752,20 @@ const FileManagementScreen = ({
|
|
|
1761
1752
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
1762
1753
|
name: "folder-open-outline",
|
|
1763
1754
|
size: 64,
|
|
1764
|
-
color:
|
|
1755
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
1765
1756
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1766
1757
|
style: [_styles.fileManagementStyles.emptyStateTitle, {
|
|
1767
|
-
color:
|
|
1758
|
+
color: colors.text
|
|
1768
1759
|
}],
|
|
1769
1760
|
children: t('fileManagement.emptyFiles.title')
|
|
1770
1761
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1771
1762
|
style: [_styles.fileManagementStyles.emptyStateDescription, {
|
|
1772
|
-
color:
|
|
1763
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
1773
1764
|
}],
|
|
1774
1765
|
children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
|
|
1775
1766
|
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
1776
1767
|
style: [_styles.fileManagementStyles.emptyStateButton, {
|
|
1777
|
-
backgroundColor:
|
|
1768
|
+
backgroundColor: colors.primary
|
|
1778
1769
|
}],
|
|
1779
1770
|
onPress: handleFileUpload,
|
|
1780
1771
|
disabled: uploading || isPickingDocument,
|
|
@@ -1833,7 +1824,7 @@ const FileManagementScreen = ({
|
|
|
1833
1824
|
width,
|
|
1834
1825
|
height,
|
|
1835
1826
|
borderRadius,
|
|
1836
|
-
backgroundColor:
|
|
1827
|
+
backgroundColor: bloomTheme.isDark ? '#1E1E1E' : '#F5F5F5',
|
|
1837
1828
|
overflow: 'hidden',
|
|
1838
1829
|
position: 'relative'
|
|
1839
1830
|
}, style],
|
|
@@ -1844,7 +1835,7 @@ const FileManagementScreen = ({
|
|
|
1844
1835
|
left: 0,
|
|
1845
1836
|
right: 0,
|
|
1846
1837
|
bottom: 0,
|
|
1847
|
-
backgroundColor:
|
|
1838
|
+
backgroundColor: bloomTheme.isDark ? '#1E1E1E' : '#F5F5F5'
|
|
1848
1839
|
}
|
|
1849
1840
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
1850
1841
|
style: {
|
|
@@ -1861,8 +1852,8 @@ const FileManagementScreen = ({
|
|
|
1861
1852
|
style: {
|
|
1862
1853
|
width: skeletonContainerWidth,
|
|
1863
1854
|
height: '100%',
|
|
1864
|
-
backgroundColor:
|
|
1865
|
-
shadowColor:
|
|
1855
|
+
backgroundColor: bloomTheme.isDark ? 'rgba(255, 255, 255, 0.08)' : 'rgba(255, 255, 255, 0.8)',
|
|
1856
|
+
shadowColor: bloomTheme.isDark ? '#000' : '#FFF',
|
|
1866
1857
|
shadowOffset: {
|
|
1867
1858
|
width: 0,
|
|
1868
1859
|
height: 0
|
|
@@ -1884,9 +1875,9 @@ const FileManagementScreen = ({
|
|
|
1884
1875
|
alignItems: 'center',
|
|
1885
1876
|
paddingHorizontal: 16,
|
|
1886
1877
|
paddingVertical: 12,
|
|
1887
|
-
backgroundColor:
|
|
1878
|
+
backgroundColor: bloomTheme.isDark ? '#121212' : '#FFFFFF',
|
|
1888
1879
|
borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
|
|
1889
|
-
borderBottomColor:
|
|
1880
|
+
borderBottomColor: colors.border
|
|
1890
1881
|
}],
|
|
1891
1882
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonBox, {
|
|
1892
1883
|
width: 44,
|
|
@@ -1919,7 +1910,7 @@ const FileManagementScreen = ({
|
|
|
1919
1910
|
}],
|
|
1920
1911
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1921
1912
|
style: [_styles.fileManagementStyles.header, {
|
|
1922
|
-
borderBottomColor:
|
|
1913
|
+
borderBottomColor: colors.border,
|
|
1923
1914
|
borderBottomWidth: _reactNative.StyleSheet.hairlineWidth
|
|
1924
1915
|
}],
|
|
1925
1916
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonBox, {
|
|
@@ -1958,7 +1949,7 @@ const FileManagementScreen = ({
|
|
|
1958
1949
|
})]
|
|
1959
1950
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1960
1951
|
style: [_styles.fileManagementStyles.searchContainer, {
|
|
1961
|
-
backgroundColor:
|
|
1952
|
+
backgroundColor: colors.card
|
|
1962
1953
|
}],
|
|
1963
1954
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(SkeletonBox, {
|
|
1964
1955
|
width: "100%",
|
|
@@ -1967,7 +1958,7 @@ const FileManagementScreen = ({
|
|
|
1967
1958
|
})
|
|
1968
1959
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1969
1960
|
style: [_styles.fileManagementStyles.statsContainer, {
|
|
1970
|
-
backgroundColor:
|
|
1961
|
+
backgroundColor: colors.card
|
|
1971
1962
|
}],
|
|
1972
1963
|
children: [1, 2, 3].map(i => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1973
1964
|
style: _styles.fileManagementStyles.statItem,
|
|
@@ -1990,7 +1981,7 @@ const FileManagementScreen = ({
|
|
|
1990
1981
|
showsVerticalScrollIndicator: false,
|
|
1991
1982
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1992
1983
|
style: {
|
|
1993
|
-
backgroundColor:
|
|
1984
|
+
backgroundColor: colors.card,
|
|
1994
1985
|
borderRadius: 18,
|
|
1995
1986
|
overflow: 'hidden',
|
|
1996
1987
|
marginTop: 8
|
|
@@ -2018,7 +2009,6 @@ const FileManagementScreen = ({
|
|
|
2018
2009
|
onClose: handleCloseFile,
|
|
2019
2010
|
onDownload: handleFileDownload,
|
|
2020
2011
|
onDelete: handleFileDelete,
|
|
2021
|
-
themeStyles: themeStyles,
|
|
2022
2012
|
isOwner: user?.id === targetUserId
|
|
2023
2013
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FileDetailsModal.FileDetailsModal, {
|
|
2024
2014
|
visible: showFileDetails,
|
|
@@ -2026,7 +2016,6 @@ const FileManagementScreen = ({
|
|
|
2026
2016
|
onClose: () => setShowFileDetails(false),
|
|
2027
2017
|
onDownload: handleFileDownload,
|
|
2028
2018
|
onDelete: handleFileDelete,
|
|
2029
|
-
themeStyles: themeStyles,
|
|
2030
2019
|
isOwner: user?.id === targetUserId
|
|
2031
2020
|
})]
|
|
2032
2021
|
});
|
|
@@ -2052,7 +2041,6 @@ const FileManagementScreen = ({
|
|
|
2052
2041
|
onConfirm: handleConfirmUpload,
|
|
2053
2042
|
onCancel: handleCancelUpload,
|
|
2054
2043
|
onRemoveFile: removePendingFile,
|
|
2055
|
-
themeStyles: themeStyles,
|
|
2056
2044
|
inline: true
|
|
2057
2045
|
})]
|
|
2058
2046
|
});
|
|
@@ -2130,48 +2118,48 @@ const FileManagementScreen = ({
|
|
|
2130
2118
|
style: _styles.fileManagementStyles.viewModeScroll,
|
|
2131
2119
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2132
2120
|
style: [_styles.fileManagementStyles.viewModeToggle, {
|
|
2133
|
-
backgroundColor:
|
|
2121
|
+
backgroundColor: colors.card
|
|
2134
2122
|
}],
|
|
2135
2123
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedButton, {
|
|
2136
2124
|
isSelected: viewMode === 'all',
|
|
2137
2125
|
onPress: () => setViewMode('all'),
|
|
2138
2126
|
icon: viewMode === 'all' ? 'folder' : 'folder-outline',
|
|
2139
|
-
primaryColor:
|
|
2140
|
-
textColor:
|
|
2127
|
+
primaryColor: colors.primary,
|
|
2128
|
+
textColor: colors.text,
|
|
2141
2129
|
style: _styles.fileManagementStyles.viewModeButton
|
|
2142
2130
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedButton, {
|
|
2143
2131
|
isSelected: viewMode === 'photos',
|
|
2144
2132
|
onPress: () => setViewMode('photos'),
|
|
2145
2133
|
icon: viewMode === 'photos' ? 'image-multiple' : 'image-multiple-outline',
|
|
2146
|
-
primaryColor:
|
|
2147
|
-
textColor:
|
|
2134
|
+
primaryColor: colors.primary,
|
|
2135
|
+
textColor: colors.text,
|
|
2148
2136
|
style: _styles.fileManagementStyles.viewModeButton
|
|
2149
2137
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedButton, {
|
|
2150
2138
|
isSelected: viewMode === 'videos',
|
|
2151
2139
|
onPress: () => setViewMode('videos'),
|
|
2152
2140
|
icon: viewMode === 'videos' ? 'video' : 'video-outline',
|
|
2153
|
-
primaryColor:
|
|
2154
|
-
textColor:
|
|
2141
|
+
primaryColor: colors.primary,
|
|
2142
|
+
textColor: colors.text,
|
|
2155
2143
|
style: _styles.fileManagementStyles.viewModeButton
|
|
2156
2144
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedButton, {
|
|
2157
2145
|
isSelected: viewMode === 'documents',
|
|
2158
2146
|
onPress: () => setViewMode('documents'),
|
|
2159
2147
|
icon: viewMode === 'documents' ? 'file-document' : 'file-document-outline',
|
|
2160
|
-
primaryColor:
|
|
2161
|
-
textColor:
|
|
2148
|
+
primaryColor: colors.primary,
|
|
2149
|
+
textColor: colors.text,
|
|
2162
2150
|
style: _styles.fileManagementStyles.viewModeButton
|
|
2163
2151
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedButton, {
|
|
2164
2152
|
isSelected: viewMode === 'audio',
|
|
2165
2153
|
onPress: () => setViewMode('audio'),
|
|
2166
2154
|
icon: viewMode === 'audio' ? 'music-note' : 'music-note-outline',
|
|
2167
|
-
primaryColor:
|
|
2168
|
-
textColor:
|
|
2155
|
+
primaryColor: colors.primary,
|
|
2156
|
+
textColor: colors.text,
|
|
2169
2157
|
style: _styles.fileManagementStyles.viewModeButton
|
|
2170
2158
|
})]
|
|
2171
2159
|
})
|
|
2172
2160
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
2173
2161
|
style: [_styles.fileManagementStyles.sortButton, {
|
|
2174
|
-
backgroundColor:
|
|
2162
|
+
backgroundColor: colors.card
|
|
2175
2163
|
}],
|
|
2176
2164
|
onPress: () => {
|
|
2177
2165
|
// Cycle through sort options: date -> size -> name -> type -> date
|
|
@@ -2187,15 +2175,15 @@ const FileManagementScreen = ({
|
|
|
2187
2175
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.MaterialCommunityIcons, {
|
|
2188
2176
|
name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
|
|
2189
2177
|
size: 16,
|
|
2190
|
-
color:
|
|
2178
|
+
color: colors.text
|
|
2191
2179
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.MaterialCommunityIcons, {
|
|
2192
2180
|
name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
|
|
2193
2181
|
size: 14,
|
|
2194
|
-
color:
|
|
2182
|
+
color: colors.textSecondary
|
|
2195
2183
|
})]
|
|
2196
2184
|
}), user?.id === targetUserId && (!selectMode || selectMode && allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
2197
2185
|
style: [_styles.fileManagementStyles.uploadButton, {
|
|
2198
|
-
backgroundColor:
|
|
2186
|
+
backgroundColor: colors.primary
|
|
2199
2187
|
}],
|
|
2200
2188
|
onPress: handleFileUpload,
|
|
2201
2189
|
disabled: uploading || isPickingDocument,
|
|
@@ -2219,18 +2207,18 @@ const FileManagementScreen = ({
|
|
|
2219
2207
|
})]
|
|
2220
2208
|
}), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2221
2209
|
style: [_styles.fileManagementStyles.searchContainer, {
|
|
2222
|
-
backgroundColor:
|
|
2210
|
+
backgroundColor: colors.card
|
|
2223
2211
|
}],
|
|
2224
2212
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
2225
2213
|
name: "search",
|
|
2226
2214
|
size: 22,
|
|
2227
|
-
color:
|
|
2215
|
+
color: colors.icon
|
|
2228
2216
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
2229
2217
|
style: [_styles.fileManagementStyles.searchInput, {
|
|
2230
|
-
color:
|
|
2218
|
+
color: colors.text
|
|
2231
2219
|
}],
|
|
2232
2220
|
placeholder: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
|
|
2233
|
-
placeholderTextColor:
|
|
2221
|
+
placeholderTextColor: colors.textSecondary,
|
|
2234
2222
|
value: searchQuery,
|
|
2235
2223
|
onChangeText: setSearchQuery
|
|
2236
2224
|
}), searchQuery.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
@@ -2239,23 +2227,23 @@ const FileManagementScreen = ({
|
|
|
2239
2227
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
2240
2228
|
name: "close-circle",
|
|
2241
2229
|
size: 22,
|
|
2242
|
-
color:
|
|
2230
|
+
color: colors.icon
|
|
2243
2231
|
})
|
|
2244
2232
|
})]
|
|
2245
2233
|
}), files.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2246
2234
|
style: [_styles.fileManagementStyles.statsContainer, {
|
|
2247
|
-
backgroundColor:
|
|
2235
|
+
backgroundColor: colors.card
|
|
2248
2236
|
}],
|
|
2249
2237
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2250
2238
|
style: _styles.fileManagementStyles.statItem,
|
|
2251
2239
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2252
2240
|
style: [_styles.fileManagementStyles.statValue, {
|
|
2253
|
-
color:
|
|
2241
|
+
color: colors.text
|
|
2254
2242
|
}],
|
|
2255
2243
|
children: filteredFiles.length
|
|
2256
2244
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2257
2245
|
style: [_styles.fileManagementStyles.statLabel, {
|
|
2258
|
-
color:
|
|
2246
|
+
color: colors.textSecondary
|
|
2259
2247
|
}],
|
|
2260
2248
|
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')
|
|
2261
2249
|
})]
|
|
@@ -2263,12 +2251,12 @@ const FileManagementScreen = ({
|
|
|
2263
2251
|
style: _styles.fileManagementStyles.statItem,
|
|
2264
2252
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2265
2253
|
style: [_styles.fileManagementStyles.statValue, {
|
|
2266
|
-
color:
|
|
2254
|
+
color: colors.text
|
|
2267
2255
|
}],
|
|
2268
2256
|
children: (0, _fileManagement.formatFileSize)(filteredFiles.reduce((total, file) => total + file.length, 0))
|
|
2269
2257
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2270
2258
|
style: [_styles.fileManagementStyles.statLabel, {
|
|
2271
|
-
color:
|
|
2259
|
+
color: colors.textSecondary
|
|
2272
2260
|
}],
|
|
2273
2261
|
children: searchQuery.length > 0 ? t('fileManagement.size') : t('fileManagement.totalSize')
|
|
2274
2262
|
})]
|
|
@@ -2276,12 +2264,12 @@ const FileManagementScreen = ({
|
|
|
2276
2264
|
style: _styles.fileManagementStyles.statItem,
|
|
2277
2265
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2278
2266
|
style: [_styles.fileManagementStyles.statValue, {
|
|
2279
|
-
color:
|
|
2267
|
+
color: colors.text
|
|
2280
2268
|
}],
|
|
2281
2269
|
children: files.length
|
|
2282
2270
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2283
2271
|
style: [_styles.fileManagementStyles.statLabel, {
|
|
2284
|
-
color:
|
|
2272
|
+
color: colors.textSecondary
|
|
2285
2273
|
}],
|
|
2286
2274
|
children: t('fileManagement.total')
|
|
2287
2275
|
})]
|
|
@@ -2293,7 +2281,7 @@ const FileManagementScreen = ({
|
|
|
2293
2281
|
refreshControl: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.RefreshControl, {
|
|
2294
2282
|
refreshing: refreshing,
|
|
2295
2283
|
onRefresh: () => loadFiles('refresh'),
|
|
2296
|
-
tintColor:
|
|
2284
|
+
tintColor: colors.primary
|
|
2297
2285
|
}),
|
|
2298
2286
|
onScroll: ({
|
|
2299
2287
|
nativeEvent
|
|
@@ -2314,22 +2302,22 @@ const FileManagementScreen = ({
|
|
|
2314
2302
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
2315
2303
|
name: "search",
|
|
2316
2304
|
size: 64,
|
|
2317
|
-
color:
|
|
2305
|
+
color: bloomTheme.isDark ? '#666666' : '#CCCCCC'
|
|
2318
2306
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2319
2307
|
style: [_styles.fileManagementStyles.emptyStateTitle, {
|
|
2320
|
-
color:
|
|
2308
|
+
color: colors.text
|
|
2321
2309
|
}],
|
|
2322
2310
|
children: t('fileManagement.noResults.title')
|
|
2323
2311
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2324
2312
|
style: [_styles.fileManagementStyles.emptyStateDescription, {
|
|
2325
|
-
color:
|
|
2313
|
+
color: bloomTheme.isDark ? '#BBBBBB' : '#666666'
|
|
2326
2314
|
}],
|
|
2327
2315
|
children: t('fileManagement.noResults.description', {
|
|
2328
2316
|
query: searchQuery
|
|
2329
2317
|
})
|
|
2330
2318
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
2331
2319
|
style: [_styles.fileManagementStyles.emptyStateButton, {
|
|
2332
|
-
backgroundColor:
|
|
2320
|
+
backgroundColor: colors.primary
|
|
2333
2321
|
}],
|
|
2334
2322
|
onPress: () => setSearchQuery(''),
|
|
2335
2323
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
@@ -2348,10 +2336,10 @@ const FileManagementScreen = ({
|
|
|
2348
2336
|
style: _styles.fileManagementStyles.loadingMoreBar,
|
|
2349
2337
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
2350
2338
|
size: "small",
|
|
2351
|
-
color:
|
|
2339
|
+
color: colors.primary
|
|
2352
2340
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
2353
2341
|
style: [_styles.fileManagementStyles.loadingMoreText, {
|
|
2354
|
-
color:
|
|
2342
|
+
color: colors.text
|
|
2355
2343
|
}],
|
|
2356
2344
|
children: t('fileManagement.loadingMore')
|
|
2357
2345
|
})]
|
|
@@ -2363,7 +2351,6 @@ const FileManagementScreen = ({
|
|
|
2363
2351
|
onClose: () => setShowFileDetails(false),
|
|
2364
2352
|
onDownload: handleFileDownload,
|
|
2365
2353
|
onDelete: handleFileDelete,
|
|
2366
|
-
themeStyles: themeStyles,
|
|
2367
2354
|
isOwner: user?.id === targetUserId
|
|
2368
2355
|
}), !selectMode && uploading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
2369
2356
|
style: [_styles.fileManagementStyles.uploadBannerContainer, {
|
|
@@ -2371,34 +2358,34 @@ const FileManagementScreen = ({
|
|
|
2371
2358
|
}],
|
|
2372
2359
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2373
2360
|
style: [_styles.fileManagementStyles.uploadBanner, {
|
|
2374
|
-
backgroundColor:
|
|
2375
|
-
borderColor:
|
|
2361
|
+
backgroundColor: bloomTheme.isDark ? '#222831EE' : '#FFFFFFEE',
|
|
2362
|
+
borderColor: colors.border
|
|
2376
2363
|
}],
|
|
2377
2364
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
2378
2365
|
name: "cloud-upload",
|
|
2379
2366
|
size: 18,
|
|
2380
|
-
color:
|
|
2367
|
+
color: colors.primary
|
|
2381
2368
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
2382
2369
|
style: _styles.fileManagementStyles.uploadBannerContent,
|
|
2383
2370
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
2384
2371
|
style: [_styles.fileManagementStyles.uploadBannerText, {
|
|
2385
|
-
color:
|
|
2372
|
+
color: colors.text
|
|
2386
2373
|
}],
|
|
2387
2374
|
children: [t('fileManagement.uploading'), uploadProgress ? ` ${uploadProgress.current}/${uploadProgress.total}` : '...']
|
|
2388
2375
|
}), uploadProgress && uploadProgress.total > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
2389
2376
|
style: [_styles.fileManagementStyles.uploadProgressBarContainer, {
|
|
2390
|
-
backgroundColor:
|
|
2377
|
+
backgroundColor: bloomTheme.isDark ? 'rgba(255,255,255,0.1)' : 'rgba(0,0,0,0.1)'
|
|
2391
2378
|
}],
|
|
2392
2379
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
2393
2380
|
style: [_styles.fileManagementStyles.uploadProgressBar, {
|
|
2394
2381
|
width: `${uploadProgress.current / uploadProgress.total * 100}%`,
|
|
2395
|
-
backgroundColor:
|
|
2382
|
+
backgroundColor: colors.primary
|
|
2396
2383
|
}]
|
|
2397
2384
|
})
|
|
2398
2385
|
})]
|
|
2399
2386
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
2400
2387
|
size: "small",
|
|
2401
|
-
color:
|
|
2388
|
+
color: colors.primary
|
|
2402
2389
|
})]
|
|
2403
2390
|
})
|
|
2404
2391
|
})]
|