@oxy.so/services 11.14.0 → 11.16.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/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 +9 -9
- package/lib/commonjs/assets/assets/one/README.md +8 -0
- package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
- 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 +9 -9
- package/lib/commonjs/assets/one/README.md +8 -0
- package/lib/commonjs/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +36 -6
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +7 -5
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
- package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +32 -58
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
- package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
- package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +2 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +3 -3
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +37 -0
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +27 -101
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
- package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js +19 -7
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/one-video.js +50 -0
- package/lib/commonjs/ui/one-video.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +33 -188
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
- package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +16 -81
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/index.js +7 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
- 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 +9 -9
- package/lib/module/assets/assets/one/README.md +8 -0
- package/lib/module/assets/assets/one/floral.jpg +0 -0
- package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/module/assets/assets/one/floral.mp4 +0 -0
- package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
- 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 +9 -9
- package/lib/module/assets/one/README.md +8 -0
- package/lib/module/assets/one/floral.jpg +0 -0
- package/lib/module/assets/one/floral.mp4 +0 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +2 -3
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +29 -24
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +8 -32
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +38 -6
- package/lib/module/ui/components/OxyProvider.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/ProfileButton.js +6 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +17 -43
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js +14 -25
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +39 -48
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
- package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +21 -70
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +7 -51
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
- package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/module/ui/context/oxySupportContext.js +7 -0
- package/lib/module/ui/context/oxySupportContext.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
- package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +4 -0
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +2 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +24 -102
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/screenComponents.js +96 -0
- package/lib/module/ui/navigation/screenComponents.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js +19 -7
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/one-video.js +45 -0
- package/lib/module/ui/one-video.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +36 -35
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +10 -13
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +6 -13
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +18 -15
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +33 -188
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +9 -9
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyOneScreen.js +208 -0
- package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +11 -11
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +310 -235
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +68 -0
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +67 -59
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +18 -83
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/index.js +1 -0
- package/lib/module/ui/screens/index.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
- package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +1 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.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/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- 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 +4 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
- package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.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/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
- 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/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/commonjs/ui/screens/UserListScreen.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 +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.map +1 -1
- package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +1 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +19 -68
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.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/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- 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 +4 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/one-video.d.ts +3 -0
- package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.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/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
- 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/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/module/ui/screens/UserListScreen.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 +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.map +1 -1
- package/lib/typescript/module/ui/screens/index.d.ts +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/types/assets.d.ts +10 -0
- package/package.json +28 -12
- package/plugins/withOxySharedPermissions.js +2 -1
- package/plugins/withSharedDeviceSessionProvider.js +2 -1
- 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 +9 -9
- package/src/assets/one/README.md +8 -0
- package/src/assets/one/floral.jpg +0 -0
- package/src/assets/one/floral.jpg.d.ts +2 -0
- package/src/assets/one/floral.mp4 +0 -0
- package/src/assets/one/floral.mp4.d.ts +2 -0
- package/src/index.ts +9 -1
- package/src/types/assets.d.ts +10 -0
- package/src/ui/client.ts +2 -3
- package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
- package/src/ui/components/BloomLocaleBridge.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +1 -1
- package/src/ui/components/LanguageBridge.tsx +1 -1
- package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
- package/src/ui/components/OxyAuthChooser.tsx +28 -24
- package/src/ui/components/OxyConsentScreen.tsx +8 -25
- package/src/ui/components/OxyOAuthCallback.tsx +3 -2
- package/src/ui/components/OxyProvider.tsx +34 -8
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +17 -4
- package/src/ui/components/ProfileSummaryCard.tsx +27 -68
- package/src/ui/components/RequireOxyAuth.tsx +16 -38
- package/src/ui/components/SettingsIcon.tsx +8 -33
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +56 -49
- package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
- package/src/ui/components/authChooser/storageUsage.ts +75 -0
- package/src/ui/components/authChooser/styles.ts +14 -76
- package/src/ui/components/authChooser/types.ts +6 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
- package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
- package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
- package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
- package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
- package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
- package/src/ui/components/signIn/ReauthStep.tsx +26 -16
- package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
- package/src/ui/components/supervision/PersonPicker.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +15 -79
- package/src/ui/context/oxyContextTypes.ts +1 -0
- package/src/ui/context/oxyRuntimeContext.ts +69 -0
- package/src/ui/context/oxySupportContext.ts +9 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
- package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
- package/src/ui/hooks/queries/useFileQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
- package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/queries/useSupervision.ts +1 -1
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
- package/src/ui/hooks/useDisplayCurrency.ts +1 -1
- package/src/ui/hooks/useFollow.ts +1 -1
- package/src/ui/hooks/useFollowTarget.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +48 -23
- package/src/ui/hooks/useOxyEvent.ts +1 -1
- package/src/ui/hooks/useSurfaceHeader.ts +50 -2
- package/src/ui/hooks/useUsernameAvailability.ts +57 -0
- package/src/ui/icons/subsetGlyphMaps.ts +4 -4
- package/src/ui/index.ts +5 -0
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
- package/src/ui/navigation/accountDialogManager.ts +16 -1
- package/src/ui/navigation/bottomSheetManager.ts +3 -3
- package/src/ui/navigation/routes.ts +75 -103
- package/src/ui/navigation/screenComponents.ts +96 -0
- package/src/ui/navigation/surfaceBackBridge.ts +1 -1
- package/src/ui/navigation/surfaceNavStack.ts +33 -6
- package/src/ui/navigation/surfaceRegistry.ts +7 -1
- package/src/ui/navigation/surfaces.ts +30 -15
- package/src/ui/one-video.tsx +44 -0
- package/src/ui/runtime/createOxyRuntime.ts +7 -1
- package/src/ui/screens/AccountMembersScreen.tsx +6 -6
- package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +41 -42
- package/src/ui/screens/AvatarCropScreen.tsx +33 -57
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
- package/src/ui/screens/ConnectedAppsScreen.tsx +11 -15
- package/src/ui/screens/CreateAccountScreen.tsx +13 -13
- package/src/ui/screens/DomainsScreen.tsx +9 -14
- package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
- package/src/ui/screens/EditProfileScreen.tsx +21 -18
- package/src/ui/screens/FileManagementScreen.tsx +44 -205
- package/src/ui/screens/FileTrashScreen.tsx +1 -1
- package/src/ui/screens/HelpSupportScreen.tsx +59 -53
- package/src/ui/screens/HistoryViewScreen.tsx +10 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
- package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
- package/src/ui/screens/ManageAccountScreen.tsx +367 -340
- package/src/ui/screens/NotificationsScreen.tsx +12 -12
- package/src/ui/screens/OxyOneScreen.tsx +223 -0
- package/src/ui/screens/PreferencesScreen.tsx +15 -15
- package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
- package/src/ui/screens/ProfileScreen.tsx +242 -268
- package/src/ui/screens/ReportBugScreen.tsx +68 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
- package/src/ui/screens/SupervisionScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +85 -62
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/fileManagement/FileListSection.tsx +7 -6
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +15 -78
- package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
- package/src/ui/screens/index.ts +1 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
- package/src/ui/types/navigation.ts +12 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/types/expo-document-picker.d.ts +0 -35
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/src/types/expo-document-picker.d.ts +0 -35
- package/src/types/expo-image-picker.d.ts +0 -35
- package/src/ui/screens/UserLinksScreen.tsx +0 -68
|
@@ -98,7 +98,7 @@ function progressEqual(a, b) {
|
|
|
98
98
|
function surfaceHeaderContentEqual(a, b) {
|
|
99
99
|
if (a === b) return true;
|
|
100
100
|
if (!a || !b) return false;
|
|
101
|
-
return a.title === b.title && a.titleContent === b.titleContent && a.subtitle === b.subtitle && a.largeTitle === b.largeTitle && a.left === b.left && a.right === b.right && !!a.onBack === !!b.onBack && a.tone === b.tone && primaryActionEqual(a.primaryAction, b.primaryAction) && actionsEqual(a.actions, b.actions) && searchEqual(a.search, b.search) && segmentsEqual(a.segments, b.segments) && progressEqual(a.progress, b.progress);
|
|
101
|
+
return a.title === b.title && a.titleContent === b.titleContent && a.subtitle === b.subtitle && a.largeTitle === b.largeTitle && a.titleLayout === b.titleLayout && a.left === b.left && a.right === b.right && !!a.onBack === !!b.onBack && a.tone === b.tone && primaryActionEqual(a.primaryAction, b.primaryAction) && actionsEqual(a.actions, b.actions) && searchEqual(a.search, b.search) && segmentsEqual(a.segments, b.segments) && progressEqual(a.progress, b.progress);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/**
|
|
@@ -115,6 +115,11 @@ function surfaceHeaderContentEqual(a, b) {
|
|
|
115
115
|
* the object for us (i.e. anything not compiled by the React Compiler).
|
|
116
116
|
*/
|
|
117
117
|
function useSurfaceHeader(content) {
|
|
118
|
+
const liveContent = (0, _react.useRef)(content);
|
|
119
|
+
(0, _react.useLayoutEffect)(() => {
|
|
120
|
+
liveContent.current = content;
|
|
121
|
+
});
|
|
122
|
+
const onBack = (0, _react.useCallback)(() => liveContent.current?.onBack?.(), []);
|
|
118
123
|
const ctx = (0, _react.useContext)(SurfaceHeaderContext);
|
|
119
124
|
const set = ctx?.setContent;
|
|
120
125
|
const setRef = (0, _react.useRef)(set);
|
|
@@ -127,7 +132,39 @@ function useSurfaceHeader(content) {
|
|
|
127
132
|
(0, _react.useLayoutEffect)(() => {
|
|
128
133
|
const s = setRef.current;
|
|
129
134
|
if (!s) return;
|
|
130
|
-
|
|
135
|
+
// Compare presentation values, but dispatch events to the latest committed
|
|
136
|
+
// screen state. Typing in a form must not leave Save bound to its old values.
|
|
137
|
+
const next = content ? {
|
|
138
|
+
...content,
|
|
139
|
+
...(content.onBack ? {
|
|
140
|
+
onBack
|
|
141
|
+
} : {}),
|
|
142
|
+
...(content.primaryAction ? {
|
|
143
|
+
primaryAction: {
|
|
144
|
+
...content.primaryAction,
|
|
145
|
+
onPress: () => liveContent.current?.primaryAction?.onPress()
|
|
146
|
+
}
|
|
147
|
+
} : {}),
|
|
148
|
+
...(content.actions ? {
|
|
149
|
+
actions: content.actions.map((action, index) => ({
|
|
150
|
+
...action,
|
|
151
|
+
onPress: () => liveContent.current?.actions?.[index]?.onPress()
|
|
152
|
+
}))
|
|
153
|
+
} : {}),
|
|
154
|
+
...(content.search ? {
|
|
155
|
+
search: {
|
|
156
|
+
...content.search,
|
|
157
|
+
onValueChange: value => liveContent.current?.search?.onValueChange(value),
|
|
158
|
+
onSubmit: () => liveContent.current?.search?.onSubmit?.()
|
|
159
|
+
}
|
|
160
|
+
} : {}),
|
|
161
|
+
...(content.segments ? {
|
|
162
|
+
segments: {
|
|
163
|
+
...content.segments,
|
|
164
|
+
onChange: value => liveContent.current?.segments?.onChange(value)
|
|
165
|
+
}
|
|
166
|
+
} : {})
|
|
167
|
+
} : null;
|
|
131
168
|
if (lastRef.current !== undefined && surfaceHeaderContentEqual(lastRef.current, next)) return;
|
|
132
169
|
lastRef.current = next;
|
|
133
170
|
s(next);
|
|
@@ -136,6 +173,7 @@ function useSurfaceHeader(content) {
|
|
|
136
173
|
// Clear this surface's contribution when the screen unmounts.
|
|
137
174
|
(0, _react.useLayoutEffect)(() => () => {
|
|
138
175
|
lastRef.current = undefined;
|
|
176
|
+
liveContent.current = null;
|
|
139
177
|
setRef.current?.(null);
|
|
140
178
|
}, []);
|
|
141
179
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","SurfaceHeaderContext","exports","createContext","primaryActionEqual","a","b","label","disabled","loading","actionsEqual","length","i","x","y","accessibilityLabel","icon","searchEqual","value","placeholder","segmentsEqual","items","key","progressEqual","step","total","surfaceHeaderContentEqual","title","titleContent","subtitle","largeTitle","left","right","onBack","tone","primaryAction","actions","search","segments","progress","useSurfaceHeader","content","ctx","useContext","set","setContent","setRef","
|
|
1
|
+
{"version":3,"names":["_react","require","SurfaceHeaderContext","exports","createContext","primaryActionEqual","a","b","label","disabled","loading","actionsEqual","length","i","x","y","accessibilityLabel","icon","searchEqual","value","placeholder","segmentsEqual","items","key","progressEqual","step","total","surfaceHeaderContentEqual","title","titleContent","subtitle","largeTitle","titleLayout","left","right","onBack","tone","primaryAction","actions","search","segments","progress","useSurfaceHeader","content","liveContent","useRef","useLayoutEffect","current","useCallback","ctx","useContext","set","setContent","setRef","lastRef","undefined","s","next","onPress","map","action","index","onValueChange","onSubmit","onChange"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSurfaceHeader.ts"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAuBA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,gBAAG,IAAAE,oBAAa,EAAmC,IAAI,CAAC;AAQzF,SAASC,kBAAkBA,CACzBC,CAAkC,EAClCC,CAAkC,EACzB;EACT,IAAID,CAAC,KAAKC,CAAC,EAAE,OAAO,IAAI;EACxB,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,EAAE,OAAO,KAAK;EAC1B;EACA;EACA,OAAOD,CAAC,CAACE,KAAK,KAAKD,CAAC,CAACC,KAAK,IAAI,CAAC,CAACF,CAAC,CAACG,QAAQ,KAAK,CAAC,CAACF,CAAC,CAACE,QAAQ,IAAI,CAAC,CAACH,CAAC,CAACI,OAAO,KAAK,CAAC,CAACH,CAAC,CAACG,OAAO;AAC5F;AAEA,SAASC,YAAYA,CAACL,CAA6B,EAAEC,CAA6B,EAAW;EAC3F,IAAID,CAAC,KAAKC,CAAC,EAAE,OAAO,IAAI;EACxB,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,IAAID,CAAC,CAACM,MAAM,KAAKL,CAAC,CAACK,MAAM,EAAE,OAAO,KAAK;EACnD,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGP,CAAC,CAACM,MAAM,EAAEC,CAAC,IAAI,CAAC,EAAE;IACpC,MAAMC,CAAC,GAAGR,CAAC,CAACO,CAAC,CA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U,IAAI,CAAC,EAAE;IACvFH,OAAO,CAACP,OAAO,GAAGU,IAAI;IACtBD,CAAC,CAACC,IAAI,CAAC;EACT,CAAC,CAAC;;EAEF;EACA,IAAAX,sBAAe,EACb,MAAM,MAAM;IACVQ,OAAO,CAACP,OAAO,GAAGQ,SAAS;IAC3BX,WAAW,CAACG,OAAO,GAAG,IAAI;IAC1BM,MAAM,CAACN,OAAO,GAAG,IAAI,CAAC;EACxB,CAAC,EACD,EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useUsernameAvailability = useUsernameAvailability;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _contracts = require("@oxy.so/contracts");
|
|
9
|
+
var _oxyRuntimeContext = require("../context/oxyRuntimeContext.js");
|
|
10
|
+
/** Debounced server check; a response only applies to the draft that requested it. */
|
|
11
|
+
function useUsernameAvailability(value, enabled) {
|
|
12
|
+
const {
|
|
13
|
+
oxyServices,
|
|
14
|
+
user
|
|
15
|
+
} = (0, _oxyRuntimeContext.useOxy)();
|
|
16
|
+
const candidate = value.trim();
|
|
17
|
+
const parsed = _contracts.usernameSchema.safeParse(candidate);
|
|
18
|
+
const invalid = parsed.success ? undefined : parsed.error.issues[0]?.message;
|
|
19
|
+
const unchanged = candidate.toLowerCase() === user?.username?.toLowerCase();
|
|
20
|
+
const [result, setResult] = (0, _react.useState)();
|
|
21
|
+
const [attempt, setAttempt] = (0, _react.useState)(0);
|
|
22
|
+
|
|
23
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: attempt explicitly retries the same candidate.
|
|
24
|
+
(0, _react.useEffect)(() => {
|
|
25
|
+
if (!enabled || invalid || unchanged) return;
|
|
26
|
+
setResult(undefined);
|
|
27
|
+
let active = true;
|
|
28
|
+
const timer = setTimeout(() => {
|
|
29
|
+
void oxyServices.auth.checkUsername(candidate).then(({
|
|
30
|
+
available
|
|
31
|
+
}) => {
|
|
32
|
+
if (active) setResult({
|
|
33
|
+
candidate,
|
|
34
|
+
status: available ? 'available' : 'taken'
|
|
35
|
+
});
|
|
36
|
+
}, () => {
|
|
37
|
+
if (active) setResult({
|
|
38
|
+
candidate,
|
|
39
|
+
status: 'error'
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
}, 350);
|
|
43
|
+
return () => {
|
|
44
|
+
active = false;
|
|
45
|
+
clearTimeout(timer);
|
|
46
|
+
};
|
|
47
|
+
}, [candidate, enabled, invalid, unchanged, oxyServices, attempt]);
|
|
48
|
+
const status = !enabled ? 'idle' : unchanged ? 'unchanged' : invalid ? 'invalid' : result?.candidate === candidate ? result.status : 'checking';
|
|
49
|
+
return {
|
|
50
|
+
candidate,
|
|
51
|
+
status,
|
|
52
|
+
invalid,
|
|
53
|
+
canSave: status === 'available' || status === 'unchanged',
|
|
54
|
+
retry: () => {
|
|
55
|
+
setResult(undefined);
|
|
56
|
+
setAttempt(value => value + 1);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=useUsernameAvailability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_contracts","_oxyRuntimeContext","useUsernameAvailability","value","enabled","oxyServices","user","useOxy","candidate","trim","parsed","usernameSchema","safeParse","invalid","success","undefined","error","issues","message","unchanged","toLowerCase","username","result","setResult","useState","attempt","setAttempt","useEffect","active","timer","setTimeout","auth","checkUsername","then","available","status","clearTimeout","canSave","retry"],"sourceRoot":"../../../../src","sources":["ui/hooks/useUsernameAvailability.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AAIA;AACO,SAASG,uBAAuBA,CAACC,KAAa,EAAEC,OAAgB,EAAE;EACvE,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,YAAY,CAACP,KAAK,CAAC;IACrB,CAAC;EACH,CAAC,EAAE,CAACrB,SAAS,EAAEJ,OAAO,EAAES,OAAO,EAAEM,SAAS,EAAEd,WAAW,EAAEoB,OAAO,CAAC,CAAC;EAElE,MAAMU,MAAM,GAAG,CAAC/B,OAAO,GACnB,MAAM,GACNe,SAAS,GACP,WAAW,GACXN,OAAO,GACL,SAAS,GACTS,MAAM,EAAEd,SAAS,KAAKA,SAAS,GAC7Bc,MAAM,CAACa,MAAM,GACb,UAAU;EACpB,OAAO;IACL3B,SAAS;IACT2B,MAAM;IACNtB,OAAO;IACPwB,OAAO,EAAEF,MAAM,KAAK,WAAW,IAAIA,MAAM,KAAK,WAAW;IACzDG,KAAK,EAAEA,CAAA,KAAM;MACXf,SAAS,CAACR,SAAS,CAAC;MACpBW,UAAU,CAAEvB,KAAK,IAAKA,KAAK,GAAG,CAAC,CAAC;IAClC;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -72,7 +72,6 @@ const ioniconsGlyphMap = exports.ioniconsGlyphMap = {
|
|
|
72
72
|
"footsteps": 62254,
|
|
73
73
|
"gift": 62263,
|
|
74
74
|
"gift-outline": 62264,
|
|
75
|
-
"globe-outline": 62288,
|
|
76
75
|
"grid": 62293,
|
|
77
76
|
"hand-left": 62299,
|
|
78
77
|
"hardware-chip-outline": 62309,
|
|
@@ -99,6 +98,7 @@ const ioniconsGlyphMap = exports.ioniconsGlyphMap = {
|
|
|
99
98
|
"location-outline": 62405,
|
|
100
99
|
"lock-closed": 62407,
|
|
101
100
|
"log-out-outline": 62417,
|
|
101
|
+
"mail": 62512,
|
|
102
102
|
"musical-notes": 62569,
|
|
103
103
|
"navigate": 62572,
|
|
104
104
|
"open": 62599,
|
|
@@ -152,7 +152,6 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
152
152
|
"account-eye-outline": 987771,
|
|
153
153
|
"account-group": 985161,
|
|
154
154
|
"account-multiple": 983054,
|
|
155
|
-
"account-multiple-outline": 983055,
|
|
156
155
|
"account-outline": 983059,
|
|
157
156
|
"account-plus": 983060,
|
|
158
157
|
"account-search": 983062,
|
|
@@ -241,6 +240,7 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
241
240
|
"folder-open-outline": 986575,
|
|
242
241
|
"folder-outline": 983638,
|
|
243
242
|
"folder-zip-outline": 985017,
|
|
243
|
+
"forward": 983693,
|
|
244
244
|
"function": 983701,
|
|
245
245
|
"ghost": 983712,
|
|
246
246
|
"gift": 986692,
|
|
@@ -254,6 +254,7 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
254
254
|
"image": 983785,
|
|
255
255
|
"image-multiple-outline": 983791,
|
|
256
256
|
"image-outline": 985462,
|
|
257
|
+
"inbox": 984711,
|
|
257
258
|
"information": 983804,
|
|
258
259
|
"information-outline": 983805,
|
|
259
260
|
"key": 983814,
|
|
@@ -266,6 +267,7 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
266
267
|
"lock-outline": 983873,
|
|
267
268
|
"logout": 983875,
|
|
268
269
|
"magnify": 983881,
|
|
270
|
+
"mail": 986811,
|
|
269
271
|
"map-marker": 983886,
|
|
270
272
|
"map-marker-multiple": 983888,
|
|
271
273
|
"map-marker-outline": 985049,
|
|
@@ -277,7 +279,6 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
277
279
|
"network": 984819,
|
|
278
280
|
"null": 985058,
|
|
279
281
|
"numeric": 983968,
|
|
280
|
-
"opacity": 984524,
|
|
281
282
|
"open-in-app": 984011,
|
|
282
283
|
"openid": 984013,
|
|
283
284
|
"palette": 984024,
|
|
@@ -309,7 +310,6 @@ const materialCommunityIconsGlyphMap = exports.materialCommunityIconsGlyphMap =
|
|
|
309
310
|
"shield-search": 986522,
|
|
310
311
|
"signature": 986619,
|
|
311
312
|
"solid": 984717,
|
|
312
|
-
"sort": 984250,
|
|
313
313
|
"sort-alphabetical-variant": 984251,
|
|
314
314
|
"sort-numeric-variant": 984254,
|
|
315
315
|
"star": 984270,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ioniconsGlyphMap","exports","materialCommunityIconsGlyphMap"],"sourceRoot":"../../../../src","sources":["ui/icons/subsetGlyphMaps.ts"],"mappings":";;;;;;AAAO,MAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9B,KAAK,EAAE,KAAK;EACZ,oBAAoB,EAAE,KAAK;EAC3B,OAAO,EAAE,KAAK;EACd,cAAc,EAAE,KAAK;EACrB,sBAAsB,EAAE,KAAK;EAC7B,MAAM,EAAE,KAAK;EACb,SAAS,EAAE,KAAK;EAChB,YAAY,EAAE,KAAK;EACnB,YAAY,EAAE,KAAK;EACnB,eAAe,EAAE,KAAK;EACtB,YAAY,EAAE,KAAK;EACnB,UAAU,EAAE,KAAK;EACjB,IAAI,EAAE,KAAK;EACX,mBAAmB,EAAE,KAAK;EAC1B,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,KAAK;EACb,UAAU,EAAE,KAAK;EACjB,kBAAkB,EAAE,KAAK;EACzB,UAAU,EAAE,KAAK;EACjB,kBAAkB,EAAE,KAAK;EACzB,QAAQ,EAAE,KAAK;EACf,gBAAgB,EAAE,KAAK;EACvB,MAAM,EAAE,KAAK;EACb,cAAc,EAAE,KAAK;EACrB,cAAc,EAAE,KAAK;EACrB,cAAc,EAAE,KAAK;EACrB,YAAY,EAAE,KAAK;EACnB,WAAW,EAAE,KAAK;EAClB,kBAAkB,EAAE,KAAK;EACzB,cAAc,EAAE,KAAK;EACrB,cAAc,EAAE,KAAK;EACrB,iBAAiB,EAAE,KAAK;EACxB,YAAY,EAAE,KAAK;EACnB,OAAO,EAAE,KAAK;EACd,cAAc,EAAE,KAAK;EACrB,uBAAuB,EAAE,KAAK;EAC9B,eAAe,EAAE,KAAK;EACtB,cAAc,EAAE,KAAK;EACrB,sBAAsB,EAAE,KAAK;EAC7B,MAAM,EAAE,KAAK;EACb,KAAK,EAAE,KAAK;EACZ,aAAa,EAAE,KAAK;EACpB,mBAAmB,EAAE,KAAK;EAC1B,cAAc,EAAE,KAAK;EACrB,cAAc,EAAE,KAAK;EACrB,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,KAAK;EACjB,kBAAkB,EAAE,KAAK;EACzB,eAAe,EAAE,KAAK;EACtB,WAAW,EAAE,KAAK;EAClB,UAAU,EAAE,KAAK;EACjB,kBAAkB,EAAE,KAAK;EACzB,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,KAAK;EAChB,iBAAiB,EAAE,KAAK;EACxB,qBAAqB,EAAE,KAAK;EAC5B,KAAK,EAAE,KAAK;EACZ,iBAAiB,EAAE,KAAK;EACxB,gBAAgB,EAAE,KAAK;EACvB,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,KAAK;EACf,qBAAqB,EAAE,KAAK;EAC5B,gBAAgB,EAAE,KAAK;EACvB,WAAW,EAAE,KAAK;EAClB,MAAM,EAAE,KAAK;EACb,cAAc,EAAE,KAAK;EACrB,
|
|
1
|
+
{"version":3,"names":["ioniconsGlyphMap","exports","materialCommunityIconsGlyphMap"],"sourceRoot":"../../../../src","sources":["ui/icons/subsetGlyphMaps.ts"],"mappings":";;;;;;AAAO,MAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9B,KAAK,EAAE,KAAK;EACZ,oBAAoB,EAAE,KAAK;EAC3B,OAAO,EAAE,KAAK;EACd,cAAc,EAAE,KAAK;EACrB,sBAAsB,EAAE,KAAK;EAC7B,MAAM,EAAE,KAAK;EACb,SAAS,EAAE,KAAK;EAChB,YAAY,EAAE,KAAK;EACnB,YAAY,EAAE,KAAK;EACnB,eAAe,EAAE,KAAK;EACtB,YAAY,EAAE,KAAK;EACnB,UAAU,EAAE,KAAK;EACjB,IAAI,EAAE,KAAK;EACX,mBAAmB,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AAM;EACrB,MAAM,EAAE,MAAM;EACd,kBAAkB,EAAE,MAAM;EAC1B,kBAAkB,EAAE,MAAM;EAC1B,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,MAAM;EACnB,mBAAmB,EAAE,MAAM;EAC3B,iBAAiB,EAAE,MAAM;EACzB,QAAQ,EAAE,MAAM;EAChB,gBAAgB,EAAE,MAAM;EACxB,QAAQ,EAAE,MAAM;EAChB,QAAQ,EAAE,MAAM;EAChB,eAAe,EAAE,MAAM;EACvB,YAAY,EAAE,MAAM;EACpB,QAAQ,EAAE,MAAM;EAChB,gBAAgB,EAAE,MAAM;EACxB,OAAO,EAAE,MAAM;EACf,KAAK,EAAE,MAAM;EACb,MAAM,EAAE,MAAM;EACd,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,MAAM;EACd,QAAQ,EAAE,MAAM;EAChB,KAAK,EAAE;AACT,CAAU","ignoreList":[]}
|
package/lib/commonjs/ui/index.js
CHANGED
|
@@ -153,6 +153,8 @@ Object.defineProperty(exports, "useSupervision", {
|
|
|
153
153
|
return _useSupervision.useSupervision;
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
+
var _routes = require("./navigation/routes.js");
|
|
157
|
+
var _screenComponents = require("./navigation/screenComponents.js");
|
|
156
158
|
var _OxyProvider = _interopRequireDefault(require("./components/OxyProvider.js"));
|
|
157
159
|
var _OxySignInButton = _interopRequireDefault(require("./components/OxySignInButton.js"));
|
|
158
160
|
var _OxyAuthPrompt = _interopRequireDefault(require("./components/OxyAuthPrompt.js"));
|
|
@@ -172,4 +174,39 @@ var _authStore = require("./stores/authStore.js");
|
|
|
172
174
|
var _errorHandlers = require("./utils/errorHandlers.js");
|
|
173
175
|
var _useSupervision = require("./hooks/queries/useSupervision.js");
|
|
174
176
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
177
|
+
/**
|
|
178
|
+
* @oxy.so/services/ui — public subpath
|
|
179
|
+
*
|
|
180
|
+
* Tree-shakeable static re-exports of the most common UI surface. Backend
|
|
181
|
+
* environments (SSR) should import `@oxy.so/services/ui/server` instead;
|
|
182
|
+
* client-only callers can use `@oxy.so/services/ui/client` for a slightly
|
|
183
|
+
* narrower bundle.
|
|
184
|
+
*
|
|
185
|
+
* Static `export ... from` only — no runtime `require()`, no platform
|
|
186
|
+
* conditionals. The previous `if (isFrontend) require(...)` pattern was
|
|
187
|
+
* removed because it (a) violated the dual CJS/ESM build rule (ESM bundles
|
|
188
|
+
* cannot contain `require()` per CLAUDE.md) and (b) defeated tree-shaking.
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
/// <reference path="../types/react-native-classname.d.ts" />
|
|
192
|
+
/// <reference path="../types/react-native-web-style.d.ts" />
|
|
193
|
+
|
|
194
|
+
(0, _routes.registerScreens)(_screenComponents.screenComponents);
|
|
195
|
+
|
|
196
|
+
// Components
|
|
197
|
+
|
|
198
|
+
// `OxyProvider`'s `accountQueries`: the app's per-account offline cache.
|
|
199
|
+
|
|
200
|
+
/** @deprecated Use `PeableButton` instead. */
|
|
201
|
+
|
|
202
|
+
/** @deprecated Use `PeableButtonProps` instead. */
|
|
203
|
+
|
|
204
|
+
// Context + hooks
|
|
205
|
+
|
|
206
|
+
// Route screens live at `@oxy.so/services/screens`; a static export here defeats
|
|
207
|
+
// the lazy route registry and moves the screens back into the initial chunk.
|
|
208
|
+
|
|
209
|
+
// Stores
|
|
210
|
+
|
|
211
|
+
// Error handlers (pure functions)
|
|
175
212
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_routes","require","_screenComponents","_OxyProvider","_interopRequireDefault","_OxySignInButton","_OxyAuthPrompt","_LogoIcon","_LogoText","_RequireOxyAuth","_FollowButton","_PeableButton","_OxyPayButton","_ProfileButton","_OxyContext","_AppAssertionContext","_useAuth","_useFollow","_useStorage","_authStore","_errorHandlers","_useSupervision","e","__esModule","default","registerScreens","screenComponents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AKA;;AAEA;;AAIA;;AAUA;AACA;;AAEA;;AAGA","ignoreList":[]}
|
|
@@ -25,6 +25,8 @@ exports.subscribeToAccountDialogConsumerHooks = subscribeToAccountDialogConsumer
|
|
|
25
25
|
|
|
26
26
|
/** An app-owned action rendered inside the shared account menu. */
|
|
27
27
|
|
|
28
|
+
/** App-owned group, rendered as one rounded card in the account menu. */
|
|
29
|
+
|
|
28
30
|
/**
|
|
29
31
|
* Live open/close handles registered by the mounted provider. `open` presents
|
|
30
32
|
* the `AccountDialog` surface (and points its view); `close` dismisses it. Both
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["controls","consumerHooks","visibilityListeners","Set","consumerHookListeners","notifyConsumerHookListeners","listener","registerAccountDialogControls","next","registerAccountDialogConsumerHooks","getAccountDialogConsumerHooks","subscribeToAccountDialogConsumerHooks","add","delete","openAccountDialog","view","open","closeAccountDialog","close","notifyAccountDialogVisibility","visible","subscribeToAccountDialog"],"sourceRoot":"../../../../src","sources":["ui/navigation/accountDialogManager.ts"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["controls","consumerHooks","visibilityListeners","Set","consumerHookListeners","notifyConsumerHookListeners","listener","registerAccountDialogControls","next","registerAccountDialogConsumerHooks","getAccountDialogConsumerHooks","subscribeToAccountDialogConsumerHooks","add","delete","openAccountDialog","view","open","closeAccountDialog","close","notifyAccountDialogVisibility","visible","subscribeToAccountDialog"],"sourceRoot":"../../../../src","sources":["ui/navigation/accountDialogManager.ts"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKA;;AAcA;;AAOA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;;AASA,IAAIA,QAAsC,GAAG,IAAI;AACjD,IAAIC,aAAgD,GAAG,IAAI;AAC3D,MAAMC,mBAAmB,GAAG,IA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,mBAAmB,CAACU,GAAG,CAACN,QAAQ,CAAC;EACjC,OAAO,MAAM;IACXJ,mBAAmB,CAACW,MAAM,CAACP,QAAQ,CAAC;EACtC,CAAC;AACH","ignoreList":[]}
|
|
@@ -35,7 +35,7 @@ const showBottomSheet = screenOrConfig => {
|
|
|
35
35
|
if (__DEV__) console.warn(`[BottomSheet] Invalid route: ${screen}`);
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
|
-
const top = (0, _surfaces.
|
|
38
|
+
const top = (0, _surfaces.topMorphableSurface)();
|
|
39
39
|
if (top && !(0, _surfaceRegistry.getSurfaceConfig)(screen, props).stacks) {
|
|
40
40
|
top.navigate(screen, props);
|
|
41
41
|
} else {
|
|
@@ -55,7 +55,7 @@ const closeBottomSheet = () => {
|
|
|
55
55
|
*/
|
|
56
56
|
exports.closeBottomSheet = closeBottomSheet;
|
|
57
57
|
const goBack = () => {
|
|
58
|
-
const top = (0, _surfaces.
|
|
58
|
+
const top = (0, _surfaces.topMorphableSurface)();
|
|
59
59
|
return top ? top.goBack() : false;
|
|
60
60
|
};
|
|
61
61
|
exports.goBack = goBack;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_routes","require","_surfaceRegistry","_surfaces","showBottomSheet","screenOrConfig","screen","props","isValidRoute","__DEV__","console","warn","top","
|
|
1
|
+
{"version":3,"names":["_routes","require","_surfaceRegistry","_surfaces","showBottomSheet","screenOrConfig","screen","props","isValidRoute","__DEV__","console","warn","top","topMorphableSurface","getSurfaceConfig","stacks","navigate","presentRoute","exports","closeBottomSheet","closeAllRouteSurfaces","goBack"],"sourceRoot":"../../../../src","sources":["ui/navigation/bottomSheetManager.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;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reenComponent = void 0;
|
|
7
|
-
|
|
7
|
+
exports.loadScreens = loadScreens;
|
|
8
|
+
exports.registerScreens = registerScreens;
|
|
9
|
+
exports.screensReady = screensReady;
|
|
8
10
|
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); }
|
|
9
|
-
// Define all available route names
|
|
10
|
-
|
|
11
11
|
// Unified account switcher + sign-in surface (OxyAccountDialogScreen body)
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* the SDK.
|
|
22
|
-
*
|
|
23
|
-
* What defers the load must NOT be `require()`. `@oxy.so/services` ships an ESM
|
|
24
|
-
* build, and a `require()` in ESM output forces web bundlers into CommonJS
|
|
25
|
-
* interop: rolldown-vite defers every module in the required subgraph behind a
|
|
26
|
-
* lazy initializer and then hands a consumer that statically imported one of
|
|
27
|
-
* them the still-`undefined` binding. That is how `OxySignInRequestSurface`
|
|
28
|
-
* reached auth.oxy.so/authorize as `undefined` and blanked the page with React
|
|
29
|
-
* error #130 — this registry pulled `OxyAccountDialogScreen`, and the whole
|
|
30
|
-
* sign-in surface subgraph with it, through `require()`.
|
|
31
|
-
*
|
|
32
|
-
* The value type is `ComponentType<never>`, which every screen satisfies. A few
|
|
33
|
-
* screens (`Profile`, `PaymentGateway`, `UserLinks`, `FollowersList`,
|
|
34
|
-
* `FollowingList`) declare props BEYOND {@link BaseScreenProps} — `userId`,
|
|
35
|
-
* `amount` — that only reach them through the route's untyped props bag
|
|
36
|
-
* (`present(route, props)`), so this map cannot prove they are satisfied. The
|
|
37
|
-
* previous `require()` returned `any` and hid that entirely; stating it here
|
|
38
|
-
* confines the gap to one documented widening in {@link getScreenComponent}.
|
|
39
|
-
*/
|
|
40
|
-
const screenComponents = {
|
|
41
|
-
Supervision: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/SupervisionScreen')))),
|
|
42
|
-
ManageAccount: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/ManageAccountScreen')))),
|
|
43
|
-
AccountVerification: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/AccountVerificationScreen')))),
|
|
44
|
-
PaymentGateway: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/PaymentGatewayScreen')))),
|
|
45
|
-
Profile: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/ProfileScreen')))),
|
|
46
|
-
LanguageSelector: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/LanguageSelectorScreen')))),
|
|
47
|
-
PrivacySettings: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/PrivacySettingsScreen')))),
|
|
48
|
-
SearchSettings: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/SearchSettingsScreen')))),
|
|
49
|
-
FileManagement: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/FileManagementScreen')))),
|
|
50
|
-
FileTrash: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/FileTrashScreen')))),
|
|
51
|
-
HelpSupport: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/HelpSupportScreen')))),
|
|
52
|
-
LegalDocuments: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/LegalDocumentsScreen')))),
|
|
53
|
-
AppInfo: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/AppInfoScreen')))),
|
|
54
|
-
WelcomeNewUser: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/WelcomeNewUserScreen')))),
|
|
55
|
-
UserLinks: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/UserLinksScreen')))),
|
|
56
|
-
HistoryView: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/HistoryViewScreen')))),
|
|
57
|
-
EditProfile: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/EditProfileScreen')))),
|
|
58
|
-
EditProfileField: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/EditProfileFieldScreen')))),
|
|
59
|
-
// Informational screens
|
|
60
|
-
LearnMoreUsernames: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/LearnMoreUsernamesScreen')))),
|
|
61
|
-
// Oxy Trust screens
|
|
62
|
-
TrustCenter: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustCenterScreen')))),
|
|
63
|
-
TrustLeaderboard: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustLeaderboardScreen')))),
|
|
64
|
-
TrustRewards: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustRewardsScreen')))),
|
|
65
|
-
TrustRules: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustRulesScreen')))),
|
|
66
|
-
AboutTrust: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustAboutScreen')))),
|
|
67
|
-
TrustFAQ: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/trust/TrustFAQScreen')))),
|
|
68
|
-
// User list screens (followers/following)
|
|
69
|
-
FollowersList: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/FollowersListScreen')))),
|
|
70
|
-
FollowingList: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/FollowingListScreen')))),
|
|
71
|
-
CreateAccount: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/CreateAccountScreen')))),
|
|
72
|
-
AccountMembers: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/AccountMembersScreen')))),
|
|
73
|
-
AccountSettings: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/AccountSettingsScreen')))),
|
|
74
|
-
ChangeAvatar: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/ChangeAvatarScreen')))),
|
|
75
|
-
AvatarCrop: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/AvatarCropScreen')))),
|
|
76
|
-
Notifications: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/NotificationsScreen')))),
|
|
77
|
-
Domains: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/DomainsScreen')))),
|
|
78
|
-
ConnectedApps: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/ConnectedAppsScreen')))),
|
|
79
|
-
Preferences: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/PreferencesScreen')))),
|
|
80
|
-
// The account's own sign-in security, in its settings.
|
|
81
|
-
DeleteAccount: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/DeleteAccountScreen')))),
|
|
82
|
-
LinkCommons: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/LinkCommonsScreen')))),
|
|
83
|
-
SignInPassword: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/SignInPasswordScreen')))),
|
|
84
|
-
SignInAuthenticator: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../screens/SignInAuthenticatorScreen')))),
|
|
85
|
-
// Unified account switcher + sign-in surface. Its body lives in the
|
|
86
|
-
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
87
|
-
// surface stack provides the Dialog chrome around it.
|
|
88
|
-
AccountDialog: /*#__PURE__*/(0, _react.lazy)(() => Promise.resolve().then(() => _interopRequireWildcard(require('../components/OxyAccountDialogScreen'))))
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Resolve the component for a route.
|
|
93
|
-
*
|
|
94
|
-
* The map is total over {@link RouteName} — the compiler enforces that at its
|
|
95
|
-
* declaration — so this returns `undefined` only for a caller that reached here
|
|
96
|
-
* with an unchecked string; {@link isValidRoute} is how such a caller narrows.
|
|
97
|
-
*
|
|
98
|
-
* The surface host renders the result with {@link BaseScreenProps} merged with
|
|
99
|
-
* the route's own props bag, so that is the type it is handed back as. This one
|
|
100
|
-
* widening is where the gap documented on {@link screenComponents} lives: the map
|
|
101
|
-
* dispatches on a string key, so a screen's extra prop requirements are met at
|
|
102
|
-
* `present(route, props)` call sites, not provable here. No caching is needed —
|
|
103
|
-
* React memoizes each `lazy()` component's module after its first load.
|
|
104
|
-
*/
|
|
105
|
-
const getScreenComponent = routeName => screenComponents[routeName];
|
|
13
|
+
let components;
|
|
14
|
+
let loading;
|
|
15
|
+
function registerScreens(screens) {
|
|
16
|
+
components = screens;
|
|
17
|
+
}
|
|
18
|
+
function screensReady() {
|
|
19
|
+
return components !== undefined;
|
|
20
|
+
}
|
|
106
21
|
|
|
107
|
-
|
|
108
|
-
|
|
22
|
+
/** The lean client warms all screen code at provider startup, before navigation. */
|
|
23
|
+
function loadScreens() {
|
|
24
|
+
if (components) return Promise.resolve();
|
|
25
|
+
loading ??= Promise.resolve().then(() => _interopRequireWildcard(require('./screenComponents'))).then(({
|
|
26
|
+
screenComponents
|
|
27
|
+
}) => {
|
|
28
|
+
registerScreens(screenComponents);
|
|
29
|
+
}).catch(error => {
|
|
30
|
+
loading = undefined;
|
|
31
|
+
throw error;
|
|
32
|
+
});
|
|
33
|
+
return loading;
|
|
34
|
+
}
|
|
35
|
+
const getScreenComponent = route => components?.[route];
|
|
109
36
|
exports.getScreenComponent = getScreenComponent;
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
};
|
|
37
|
+
const ROUTES = new Set(['Supervision', 'FileTrash', 'ManageAccount', 'AccountVerification', 'PaymentGateway', 'Profile', 'LanguageSelector', 'PrivacySettings', 'SearchSettings', 'FileManagement', 'HelpSupport', 'ReportBug', 'OxyOne', 'LegalDocuments', 'AppInfo', 'WelcomeNewUser', 'HistoryView', 'EditProfile', 'EditProfileField', 'LearnMoreUsernames', 'TrustCenter', 'TrustLeaderboard', 'TrustRewards', 'TrustRules', 'AboutTrust', 'TrustFAQ', 'FollowersList', 'FollowingList', 'CreateAccount', 'AccountMembers', 'AccountSettings', 'ChangeAvatar', 'AvatarCrop', 'Notifications', 'Domains', 'ConnectedApps', 'Preferences', 'DeleteAccount', 'LinkCommons', 'SignInPassword', 'SignInAuthenticator', 'AccountDialog']);
|
|
38
|
+
const isValidRoute = name => ROUTES.has(name);
|
|
113
39
|
exports.isValidRoute = isValidRoute;
|
|
114
40
|
//# sourceMappingURL=routes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["components","loading","registerScreens","screens","screensReady","undefined","loadScreens","Promise","resolve","then","_interopRequireWildcard","require","screenComponents","catch","error","getScreenComponent","route","exports","ROUTES","Set","isValidRoute","name","has"],"sourceRoot":"../../../../src","sources":["ui/navigation/routes.ts"],"mappings":";;;;;;;;;;AA6CqB;;AAGrB,IAAIA,UAAwC;AAC5C,IAAIC,OAAkC;AAE/B,SAASC,eAAeA,CAACC,OAAyB,EAAQ;EAC/DH,UAAU,GAAGG,OAAO;AACtB;AAEO,SAASC,YAAYA,CAAA,EAAY;EACtC,OAAOJ,UAAU,KAAKK,SAAS;AACjC;;AAEA;AACO,SAASC,WAAWA,CAAA,EAAkB;EAC3C,IAAIN,UAAU,EAAE,OAAOO,OAAO,CAACC,OAAO,CAAC,CAAC;EACxCP,OAAO,KAAKM,OAAA,CAAAC,OAAA,GAAAC,IAAA,OAAAC,uBAAA,CAAAC,OAAA,CAAO,oBAAoB,IACpCF,IAAI,CAAC,CAAC;IAAEG;EAAiB,CAAC,KAAK;IAC9BV,eAAe,CAACU,gBAAgB,CAAC;EACnC,CAAC,CAAC,CACDC,KAAK,CAAEC,KAAc,IAAK;IACzBb,OAAO,GAAGI,SAAS;IACnB,MAAMS,KAAK;EACb,CAAC,CAAC;EACJ,OAAOb,OAAO;AAChB;AAEO,MAAMc,kBAAkB,GAAIC,KAAgB,IACjDhB,UAAU,GAAGgB,KAAK,CAA+C;AAACC,OAAA,CAAAF,kBAAA,GAAAA,kBAAA;AAEpE,MAAMG,MAA2B,GAAG,IAAIC,GAAG,CAAC,CAC1C,aAAa,EACb,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB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