@oxy.so/services 3.0.0 → 4.0.0
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/LICENSE +675 -201
- package/NOTICE +215 -3
- package/README.md +1 -3
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -11
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +5 -11
- package/lib/commonjs/ui/components/FollowButton.js +15 -28
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +17 -13
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +3 -2
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -2
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +2 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +67 -267
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +2 -2
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +9 -49
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +3 -2
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +2 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +2 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +4 -2
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +2 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +20 -14
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +48 -85
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -31
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +9 -6
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +22 -19
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +6 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +6 -3
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +7 -5
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +20 -17
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +5 -3
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -6
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +36 -60
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +2 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +16 -7
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +7 -6
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +2 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +18 -9
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +99 -200
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +8 -9
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -8
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +20 -10
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +4 -2
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +2 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +31 -33
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +22 -11
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +7 -18
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +7 -16
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -6
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +23 -66
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +17 -8
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +5 -11
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +5 -11
- package/lib/module/ui/components/FollowButton.js +15 -28
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +15 -12
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +2 -1
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +4 -2
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js +2 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +70 -269
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +2 -2
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +8 -48
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +2 -1
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +2 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js +2 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -1
- package/lib/module/ui/components/authChooser/SignUpView.js +4 -2
- package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js +2 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +12 -6
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +38 -75
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +31 -27
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +6 -3
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +4 -2
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +4 -2
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +0 -6
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +37 -61
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +2 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +15 -7
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +2 -1
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +2 -1
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +18 -9
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +91 -192
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -10
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +18 -7
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +20 -10
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +4 -2
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +2 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +32 -34
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +22 -11
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +6 -17
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +5 -14
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +3 -3
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +24 -66
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +16 -7
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +2 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -20
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -5
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- 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/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +0 -6
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +1 -14
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -20
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -5
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- 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/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +0 -6
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +1 -14
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +5 -11
- package/src/ui/components/FollowButton.tsx +14 -29
- package/src/ui/components/FollowTargetButton.tsx +14 -12
- package/src/ui/components/OxyAuthPrompt.tsx +2 -7
- package/src/ui/components/OxyConsentScreen.tsx +2 -2
- package/src/ui/components/OxySignInButton.tsx +2 -2
- package/src/ui/components/OxySignInRequestSurface.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +30 -297
- package/src/ui/components/ProfileSummaryCard.tsx +1 -2
- package/src/ui/components/SurfaceHeaderAction.tsx +7 -49
- package/src/ui/components/SurfaceScreen.tsx +2 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -1
- package/src/ui/components/authChooser/SignInEntryView.tsx +1 -1
- package/src/ui/components/authChooser/SignUpView.tsx +2 -2
- package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +8 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +21 -50
- package/src/ui/components/fileManagement/UploadPreview.tsx +12 -29
- package/src/ui/components/modals/DeleteAccountModal.tsx +4 -3
- package/src/ui/components/payment/PaymentDetailsStep.tsx +4 -3
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -3
- package/src/ui/components/payment/PaymentReviewStep.tsx +4 -3
- package/src/ui/components/payment/PaymentSuccessStep.tsx +3 -2
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -3
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +2 -1
- package/src/ui/components/surfaces/ActionSheetSurface.tsx +3 -2
- package/src/ui/icons/subsetGlyphMaps.ts +0 -6
- package/src/ui/screens/AccountMembersScreen.tsx +17 -65
- package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
- package/src/ui/screens/AccountVerificationScreen.tsx +14 -7
- package/src/ui/screens/AvatarCropScreen.tsx +2 -10
- package/src/ui/screens/CreateAccountScreen.tsx +1 -1
- package/src/ui/screens/FeedbackScreen.tsx +9 -9
- package/src/ui/screens/FileManagementScreen.tsx +37 -184
- package/src/ui/screens/LanguageSelectorScreen.tsx +5 -13
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -7
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -10
- package/src/ui/screens/PrivacySettingsScreen.tsx +2 -2
- package/src/ui/screens/ProfileScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +17 -44
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -11
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +6 -14
- package/src/ui/screens/fileManagement/FileListSection.tsx +4 -16
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +2 -13
- package/src/ui/screens/fileManagement/UploadBar.tsx +17 -56
- package/src/ui/screens/trust/TrustAboutScreen.tsx +16 -7
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
- package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -113
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
- package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -64
- package/src/ui/components/internal/PinInput.tsx +0 -123
|
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _button = require("@oxy.so/bloom/button");
|
|
7
8
|
var _react = require("react");
|
|
8
9
|
var _reactNative = require("react-native");
|
|
10
|
+
var _typography = require("@oxy.so/bloom/typography");
|
|
9
11
|
var _reactQuery = require("@tanstack/react-query");
|
|
10
12
|
var _expoImage = require("expo-image");
|
|
11
13
|
var _toast = require("@oxy.so/bloom/toast");
|
|
@@ -35,13 +37,12 @@ var _PhotoPickerSection = _interopRequireDefault(require("./fileManagement/Photo
|
|
|
35
37
|
var _FileListSection = _interopRequireDefault(require("./fileManagement/FileListSection.js"));
|
|
36
38
|
var _FileLibraryError = _interopRequireDefault(require("./fileManagement/FileLibraryError.js"));
|
|
37
39
|
var _UploadBar = _interopRequireDefault(require("./fileManagement/UploadBar.js"));
|
|
38
|
-
var
|
|
40
|
+
var _segmentedControl = require("@oxy.so/bloom/segmented-control");
|
|
41
|
+
var _search = require("@oxy.so/bloom/search");
|
|
39
42
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
40
43
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
41
44
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
42
|
-
//
|
|
43
|
-
// style array (interpolated backgroundColor), and the photo tiles are
|
|
44
|
-
// `expo-image` (no className remap). Everything else uses NativeWind classNames.
|
|
45
|
+
// Photo tiles use expo-image dimensions; controls use Bloom primitives.
|
|
45
46
|
// Nav-header slot layout for this screen's action row + review-mode back button.
|
|
46
47
|
const fmHeaderStyles = _reactNative.StyleSheet.create({
|
|
47
48
|
actionsRow: {
|
|
@@ -57,15 +58,6 @@ const fmHeaderStyles = _reactNative.StyleSheet.create({
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
const screenStyles = _reactNative.StyleSheet.create({
|
|
60
|
-
viewModeButton: {
|
|
61
|
-
paddingHorizontal: 10,
|
|
62
|
-
paddingVertical: 6,
|
|
63
|
-
borderRadius: 999,
|
|
64
|
-
minWidth: 36,
|
|
65
|
-
alignItems: 'center',
|
|
66
|
-
justifyContent: 'center',
|
|
67
|
-
marginHorizontal: 1
|
|
68
|
-
},
|
|
69
61
|
justifiedPhotoImage: {
|
|
70
62
|
width: '100%',
|
|
71
63
|
height: '100%',
|
|
@@ -819,40 +811,43 @@ const FileManagementScreen = ({
|
|
|
819
811
|
},
|
|
820
812
|
// Hide action buttons when selecting (in selectMode or bulk operations mode)
|
|
821
813
|
rightElement: !selectMode && selectedIds.size === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
822
|
-
className: "flex-row items-center gap-
|
|
823
|
-
children: [
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
814
|
+
className: "flex-row items-center gap-1.5 ml-3",
|
|
815
|
+
children: [isImage || isVideo || file.contentType.includes('pdf') ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
816
|
+
appearance: "subtle",
|
|
817
|
+
tone: "neutral",
|
|
818
|
+
size: "small",
|
|
819
|
+
iconOnly: true,
|
|
820
|
+
stopPropagation: true,
|
|
821
|
+
accessibilityLabel: `Preview ${file.filename}`,
|
|
828
822
|
onPress: () => handleFileOpen(file),
|
|
829
|
-
|
|
823
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
830
824
|
name: "eye",
|
|
831
825
|
size: 18,
|
|
832
|
-
color: colors.
|
|
826
|
+
color: colors.text
|
|
833
827
|
})
|
|
834
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
828
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
829
|
+
appearance: "subtle",
|
|
830
|
+
tone: "neutral",
|
|
831
|
+
size: "small",
|
|
832
|
+
iconOnly: true,
|
|
833
|
+
stopPropagation: true,
|
|
834
|
+
accessibilityLabel: `Download ${file.filename}`,
|
|
839
835
|
onPress: () => handleFileDownload(file.id, file.filename),
|
|
840
|
-
|
|
836
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
841
837
|
name: "download",
|
|
842
838
|
size: 18,
|
|
843
|
-
color: colors.
|
|
839
|
+
color: colors.text
|
|
844
840
|
})
|
|
845
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
841
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
842
|
+
appearance: "subtle",
|
|
843
|
+
tone: "danger",
|
|
844
|
+
size: "small",
|
|
845
|
+
iconOnly: true,
|
|
846
|
+
stopPropagation: true,
|
|
847
|
+
loading: deletingId === file.id,
|
|
848
|
+
accessibilityLabel: `Delete ${file.filename}`,
|
|
850
849
|
onPress: () => confirmFileDelete(file.id, file.filename),
|
|
851
|
-
|
|
852
|
-
children: deletingId === file.id ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
853
|
-
size: "small",
|
|
854
|
-
color: colors.error
|
|
855
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
850
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
856
851
|
name: "trash",
|
|
857
852
|
size: 18,
|
|
858
853
|
color: colors.error
|
|
@@ -871,8 +866,7 @@ const FileManagementScreen = ({
|
|
|
871
866
|
onRetry: () => filesQuery.refetch(),
|
|
872
867
|
iconColor: colors.error,
|
|
873
868
|
titleColor: colors.text,
|
|
874
|
-
descriptionColor: colors.textSecondary
|
|
875
|
-
buttonColor: colors.primary
|
|
869
|
+
descriptionColor: colors.textSecondary
|
|
876
870
|
});
|
|
877
871
|
|
|
878
872
|
// Browse "photos" view. The justified grid owns its own dimension
|
|
@@ -888,38 +882,22 @@ const FileManagementScreen = ({
|
|
|
888
882
|
name: "images-outline",
|
|
889
883
|
size: 64,
|
|
890
884
|
color: colors.textTertiary
|
|
891
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
885
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
892
886
|
className: "text-[24px] font-bold mt-[16px] mb-[8px]",
|
|
893
887
|
style: {
|
|
894
888
|
color: colors.text
|
|
895
889
|
},
|
|
896
890
|
children: t('fileManagement.emptyPhotos.title')
|
|
897
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
891
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_typography.Text, {
|
|
898
892
|
className: "text-[16px] text-center leading-[24px] mb-[32px]",
|
|
899
893
|
style: {
|
|
900
894
|
color: colors.textSecondary
|
|
901
895
|
},
|
|
902
896
|
children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
|
|
903
|
-
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
904
|
-
className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
|
|
905
|
-
style: {
|
|
906
|
-
backgroundColor: colors.primary
|
|
907
|
-
},
|
|
897
|
+
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
908
898
|
onPress: handleFileUpload,
|
|
909
|
-
|
|
910
|
-
children:
|
|
911
|
-
size: "small",
|
|
912
|
-
color: "#FFFFFF"
|
|
913
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
914
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
915
|
-
name: "cloud-upload",
|
|
916
|
-
size: 20,
|
|
917
|
-
color: "#FFFFFF"
|
|
918
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
919
|
-
className: "text-white text-[16px] font-semibold",
|
|
920
|
-
children: t('fileManagement.uploadPhotos')
|
|
921
|
-
})]
|
|
922
|
-
})
|
|
899
|
+
loading: uploading || isPickingDocument,
|
|
900
|
+
children: t('fileManagement.uploadPhotos')
|
|
923
901
|
})]
|
|
924
902
|
});
|
|
925
903
|
}
|
|
@@ -962,38 +940,22 @@ const FileManagementScreen = ({
|
|
|
962
940
|
name: "folder-open-outline",
|
|
963
941
|
size: 64,
|
|
964
942
|
color: colors.textTertiary
|
|
965
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
943
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
966
944
|
className: "text-[24px] font-bold mt-[16px] mb-[8px]",
|
|
967
945
|
style: {
|
|
968
946
|
color: colors.text
|
|
969
947
|
},
|
|
970
948
|
children: t('fileManagement.emptyFiles.title')
|
|
971
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
949
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
972
950
|
className: "text-[16px] text-center leading-[24px] mb-[32px]",
|
|
973
951
|
style: {
|
|
974
952
|
color: colors.textSecondary
|
|
975
953
|
},
|
|
976
954
|
children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
|
|
977
|
-
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
978
|
-
className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
|
|
979
|
-
style: {
|
|
980
|
-
backgroundColor: colors.primary
|
|
981
|
-
},
|
|
955
|
+
}), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
982
956
|
onPress: handleFileUpload,
|
|
983
|
-
|
|
984
|
-
children:
|
|
985
|
-
size: "small",
|
|
986
|
-
color: "#FFFFFF"
|
|
987
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
988
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
989
|
-
name: "cloud-upload",
|
|
990
|
-
size: 20,
|
|
991
|
-
color: "#FFFFFF"
|
|
992
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
993
|
-
className: "text-white text-[16px] font-semibold",
|
|
994
|
-
children: t('fileManagement.uploadFiles')
|
|
995
|
-
})]
|
|
996
|
-
})
|
|
957
|
+
loading: uploading || isPickingDocument,
|
|
958
|
+
children: t('fileManagement.uploadFiles')
|
|
997
959
|
})]
|
|
998
960
|
});
|
|
999
961
|
|
|
@@ -1310,58 +1272,32 @@ const FileManagementScreen = ({
|
|
|
1310
1272
|
style: {
|
|
1311
1273
|
maxWidth: '80%'
|
|
1312
1274
|
},
|
|
1313
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
|
|
1335
|
-
isSelected: viewMode === 'videos',
|
|
1336
|
-
onPress: () => setViewMode('videos'),
|
|
1337
|
-
icon: viewMode === 'videos' ? 'video' : 'video-outline',
|
|
1338
|
-
primaryColor: colors.primary,
|
|
1339
|
-
textColor: colors.text,
|
|
1340
|
-
style: screenStyles.viewModeButton,
|
|
1341
|
-
accessibilityLabel: t('fileManagement.a11y.viewVideos') || 'Show videos only'
|
|
1342
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
|
|
1343
|
-
isSelected: viewMode === 'documents',
|
|
1344
|
-
onPress: () => setViewMode('documents'),
|
|
1345
|
-
icon: viewMode === 'documents' ? 'file-document' : 'file-document-outline',
|
|
1346
|
-
primaryColor: colors.primary,
|
|
1347
|
-
textColor: colors.text,
|
|
1348
|
-
style: screenStyles.viewModeButton,
|
|
1349
|
-
accessibilityLabel: t('fileManagement.a11y.viewDocuments') || 'Show documents only'
|
|
1350
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
|
|
1351
|
-
isSelected: viewMode === 'audio',
|
|
1352
|
-
onPress: () => setViewMode('audio'),
|
|
1353
|
-
icon: viewMode === 'audio' ? 'music-note' : 'music-note-outline',
|
|
1354
|
-
primaryColor: colors.primary,
|
|
1355
|
-
textColor: colors.text,
|
|
1356
|
-
style: screenStyles.viewModeButton,
|
|
1357
|
-
accessibilityLabel: t('fileManagement.a11y.viewAudio') || 'Show audio only'
|
|
1358
|
-
})]
|
|
1275
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_segmentedControl.SegmentedControl, {
|
|
1276
|
+
type: "radio",
|
|
1277
|
+
label: t('fileManagement.viewMode') || 'File type',
|
|
1278
|
+
value: viewMode,
|
|
1279
|
+
onValueChange: setViewMode,
|
|
1280
|
+
size: "small",
|
|
1281
|
+
children: ['all', 'photos', 'videos', 'documents', 'audio'].map(mode => /*#__PURE__*/(0, _jsxRuntime.jsx)(_segmentedControl.SegmentedControlItem, {
|
|
1282
|
+
value: mode,
|
|
1283
|
+
accessibilityLabel: mode,
|
|
1284
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
1285
|
+
name: {
|
|
1286
|
+
all: 'folder-outline',
|
|
1287
|
+
photos: 'image-multiple-outline',
|
|
1288
|
+
videos: 'video-outline',
|
|
1289
|
+
documents: 'file-document-outline',
|
|
1290
|
+
audio: 'music-note-outline'
|
|
1291
|
+
}[mode],
|
|
1292
|
+
size: 18,
|
|
1293
|
+
color: colors.text
|
|
1294
|
+
})
|
|
1295
|
+
}, mode))
|
|
1359
1296
|
})
|
|
1360
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
},
|
|
1297
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
1298
|
+
appearance: "subtle",
|
|
1299
|
+
tone: "neutral",
|
|
1300
|
+
size: "small",
|
|
1365
1301
|
accessibilityRole: "button",
|
|
1366
1302
|
accessibilityLabel: t('fileManagement.a11y.sortBy', {
|
|
1367
1303
|
field: sortBy,
|
|
@@ -1378,72 +1314,37 @@ const FileManagementScreen = ({
|
|
|
1378
1314
|
setSortOrder(prev => prev === 'asc' ? 'desc' : 'asc');
|
|
1379
1315
|
}
|
|
1380
1316
|
},
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1317
|
+
trailing: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1318
|
+
className: "flex-row items-center gap-1",
|
|
1319
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
1320
|
+
name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
|
|
1321
|
+
size: 16,
|
|
1322
|
+
color: colors.text
|
|
1323
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
1324
|
+
name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
|
|
1325
|
+
size: 14,
|
|
1326
|
+
color: colors.textSecondary
|
|
1327
|
+
})]
|
|
1328
|
+
})
|
|
1329
|
+
}), user?.id === targetUserId && (!selectMode || allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
1330
|
+
iconOnly: true,
|
|
1395
1331
|
onPress: handleFileUpload,
|
|
1396
|
-
|
|
1397
|
-
accessibilityRole: "button",
|
|
1332
|
+
loading: uploading || isPickingDocument,
|
|
1398
1333
|
accessibilityLabel: t('fileManagement.a11y.uploadFile') || 'Upload file',
|
|
1399
|
-
|
|
1400
|
-
busy: uploading || isPickingDocument
|
|
1401
|
-
},
|
|
1402
|
-
children: uploading ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1403
|
-
className: "items-center justify-center",
|
|
1404
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1405
|
-
size: "small",
|
|
1406
|
-
color: "#FFFFFF"
|
|
1407
|
-
}), uploadProgress && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
1408
|
-
className: "text-white text-[10px] font-semibold mt-[2px]",
|
|
1409
|
-
children: [uploadProgress.current, "/", uploadProgress.total]
|
|
1410
|
-
})]
|
|
1411
|
-
}) : isPickingDocument ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
1412
|
-
size: "small",
|
|
1413
|
-
color: "#FFFFFF"
|
|
1414
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
1334
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
1415
1335
|
name: "add",
|
|
1416
1336
|
size: 22,
|
|
1417
|
-
color:
|
|
1337
|
+
color: colors.primaryForeground
|
|
1418
1338
|
})
|
|
1419
1339
|
})]
|
|
1420
|
-
}), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/(0, _jsxRuntime.
|
|
1421
|
-
className: "
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
},
|
|
1425
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
1426
|
-
name: "search",
|
|
1427
|
-
size: 22,
|
|
1428
|
-
color: colors.icon
|
|
1429
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
1430
|
-
className: "flex-1 text-[16px] leading-[20px]",
|
|
1431
|
-
style: {
|
|
1432
|
-
color: colors.text
|
|
1433
|
-
},
|
|
1434
|
-
placeholder: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
|
|
1435
|
-
placeholderTextColor: colors.textSecondary,
|
|
1340
|
+
}), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1341
|
+
className: "mx-[12px] mb-[12px]",
|
|
1342
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_search.Search, {
|
|
1343
|
+
label: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
|
|
1436
1344
|
value: searchQuery,
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
className: "p-[4px] rounded-[12px] items-center justify-center",
|
|
1441
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
|
|
1442
|
-
name: "close-circle",
|
|
1443
|
-
size: 22,
|
|
1444
|
-
color: colors.icon
|
|
1445
|
-
})
|
|
1446
|
-
})]
|
|
1345
|
+
onValueChange: setSearchQuery,
|
|
1346
|
+
onClearText: () => setSearchQuery('')
|
|
1347
|
+
})
|
|
1447
1348
|
}), files.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1448
1349
|
className: "flex-row px-[14px] py-[10px] mx-[12px] mb-[12px] rounded-[18px]",
|
|
1449
1350
|
style: {
|
|
@@ -1451,14 +1352,14 @@ const FileManagementScreen = ({
|
|
|
1451
1352
|
},
|
|
1452
1353
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1453
1354
|
className: "flex-1 items-center py-[4px]",
|
|
1454
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1355
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1455
1356
|
className: "text-[20px] font-extrabold leading-[24px]",
|
|
1456
1357
|
style: {
|
|
1457
1358
|
color: colors.text,
|
|
1458
1359
|
letterSpacing: -0.5
|
|
1459
1360
|
},
|
|
1460
1361
|
children: filteredFiles.length
|
|
1461
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1362
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1462
1363
|
className: "text-[12px] font-medium mt-[2px]",
|
|
1463
1364
|
style: {
|
|
1464
1365
|
color: colors.textSecondary,
|
|
@@ -1468,14 +1369,14 @@ const FileManagementScreen = ({
|
|
|
1468
1369
|
})]
|
|
1469
1370
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1470
1371
|
className: "flex-1 items-center py-[4px]",
|
|
1471
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1372
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1472
1373
|
className: "text-[20px] font-extrabold leading-[24px]",
|
|
1473
1374
|
style: {
|
|
1474
1375
|
color: colors.text,
|
|
1475
1376
|
letterSpacing: -0.5
|
|
1476
1377
|
},
|
|
1477
1378
|
children: (0, _fileManagement.formatFileSize)(filteredFiles.reduce((total, file) => total + file.length, 0))
|
|
1478
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1379
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1479
1380
|
className: "text-[12px] font-medium mt-[2px]",
|
|
1480
1381
|
style: {
|
|
1481
1382
|
color: colors.textSecondary,
|
|
@@ -1485,14 +1386,14 @@ const FileManagementScreen = ({
|
|
|
1485
1386
|
})]
|
|
1486
1387
|
}), searchQuery.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1487
1388
|
className: "flex-1 items-center py-[4px]",
|
|
1488
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1389
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1489
1390
|
className: "text-[20px] font-extrabold leading-[24px]",
|
|
1490
1391
|
style: {
|
|
1491
1392
|
color: colors.text,
|
|
1492
1393
|
letterSpacing: -0.5
|
|
1493
1394
|
},
|
|
1494
1395
|
children: files.length
|
|
1495
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
1396
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
1496
1397
|
className: "text-[12px] font-medium mt-[2px]",
|
|
1497
1398
|
style: {
|
|
1498
1399
|
color: colors.textSecondary,
|
|
@@ -1519,8 +1420,6 @@ const FileManagementScreen = ({
|
|
|
1519
1420
|
renderEmptyState: renderEmptyState
|
|
1520
1421
|
}), !selectMode && uploading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_UploadBar.default, {
|
|
1521
1422
|
uploadProgress: uploadProgress,
|
|
1522
|
-
isDark: bloomTheme.isDark,
|
|
1523
|
-
colors: colors,
|
|
1524
1423
|
t: t
|
|
1525
1424
|
})]
|
|
1526
1425
|
});
|