@oxy.so/services 11.14.0 → 11.15.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { createContext, useContext, useLayoutEffect, useRef } from 'react';
|
|
3
|
+
import { createContext, useCallback, useContext, useLayoutEffect, useRef } from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The header content a mounted surface screen contributes at runtime: its
|
|
@@ -94,7 +94,7 @@ function progressEqual(a, b) {
|
|
|
94
94
|
function surfaceHeaderContentEqual(a, b) {
|
|
95
95
|
if (a === b) return true;
|
|
96
96
|
if (!a || !b) return false;
|
|
97
|
-
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);
|
|
97
|
+
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);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/**
|
|
@@ -111,6 +111,11 @@ function surfaceHeaderContentEqual(a, b) {
|
|
|
111
111
|
* the object for us (i.e. anything not compiled by the React Compiler).
|
|
112
112
|
*/
|
|
113
113
|
export function useSurfaceHeader(content) {
|
|
114
|
+
const liveContent = useRef(content);
|
|
115
|
+
useLayoutEffect(() => {
|
|
116
|
+
liveContent.current = content;
|
|
117
|
+
});
|
|
118
|
+
const onBack = useCallback(() => liveContent.current?.onBack?.(), []);
|
|
114
119
|
const ctx = useContext(SurfaceHeaderContext);
|
|
115
120
|
const set = ctx?.setContent;
|
|
116
121
|
const setRef = useRef(set);
|
|
@@ -123,7 +128,39 @@ export function useSurfaceHeader(content) {
|
|
|
123
128
|
useLayoutEffect(() => {
|
|
124
129
|
const s = setRef.current;
|
|
125
130
|
if (!s) return;
|
|
126
|
-
|
|
131
|
+
// Compare presentation values, but dispatch events to the latest committed
|
|
132
|
+
// screen state. Typing in a form must not leave Save bound to its old values.
|
|
133
|
+
const next = content ? {
|
|
134
|
+
...content,
|
|
135
|
+
...(content.onBack ? {
|
|
136
|
+
onBack
|
|
137
|
+
} : {}),
|
|
138
|
+
...(content.primaryAction ? {
|
|
139
|
+
primaryAction: {
|
|
140
|
+
...content.primaryAction,
|
|
141
|
+
onPress: () => liveContent.current?.primaryAction?.onPress()
|
|
142
|
+
}
|
|
143
|
+
} : {}),
|
|
144
|
+
...(content.actions ? {
|
|
145
|
+
actions: content.actions.map((action, index) => ({
|
|
146
|
+
...action,
|
|
147
|
+
onPress: () => liveContent.current?.actions?.[index]?.onPress()
|
|
148
|
+
}))
|
|
149
|
+
} : {}),
|
|
150
|
+
...(content.search ? {
|
|
151
|
+
search: {
|
|
152
|
+
...content.search,
|
|
153
|
+
onValueChange: value => liveContent.current?.search?.onValueChange(value),
|
|
154
|
+
onSubmit: () => liveContent.current?.search?.onSubmit?.()
|
|
155
|
+
}
|
|
156
|
+
} : {}),
|
|
157
|
+
...(content.segments ? {
|
|
158
|
+
segments: {
|
|
159
|
+
...content.segments,
|
|
160
|
+
onChange: value => liveContent.current?.segments?.onChange(value)
|
|
161
|
+
}
|
|
162
|
+
} : {})
|
|
163
|
+
} : null;
|
|
127
164
|
if (lastRef.current !== undefined && surfaceHeaderContentEqual(lastRef.current, next)) return;
|
|
128
165
|
lastRef.current = next;
|
|
129
166
|
s(next);
|
|
@@ -132,6 +169,7 @@ export function useSurfaceHeader(content) {
|
|
|
132
169
|
// Clear this surface's contribution when the screen unmounts.
|
|
133
170
|
useLayoutEffect(() => () => {
|
|
134
171
|
lastRef.current = undefined;
|
|
172
|
+
liveContent.current = null;
|
|
135
173
|
setRef.current?.(null);
|
|
136
174
|
}, []);
|
|
137
175
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","useLayoutEffect","useRef","SurfaceHeaderContext","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","set","setContent","setRef","
|
|
1
|
+
{"version":3,"names":["createContext","useCallback","useContext","useLayoutEffect","useRef","SurfaceHeaderContext","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","current","ctx","set","setContent","setRef","lastRef","undefined","s","next","onPress","map","action","index","onValueChange","onSubmit","onChange"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSurfaceHeader.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,WAAW,EAAEC,UAAU,EAAEC,eAAe,EAAEC,MAAM,QAAQ,OAAO;;AAGvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,gBAAGL,aAAa,CAAmC,IAAI,CAAC;AAQzF,SAASM,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,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C,KAAK;QACpE;MACF,CAAC,GACD,CAAC,CAAC;IACR,CAAC,GACD,IAAI;IACR,IAAI+B,OAAO,CAACL,OAAO,KAAKM,SAAS,IAAIxB,yBAAyB,CAACuB,OAAO,CAACL,OAAO,EAAEQ,IAAI,CAAC,EAAE;IACvFH,OAAO,CAACL,OAAO,GAAGQ,IAAI;IACtBD,CAAC,CAACC,IAAI,CAAC;EACT,CAAC,CAAC;;EAEF;EACAnD,eAAe,CACb,MAAM,MAAM;IACVgD,OAAO,CAACL,OAAO,GAAGM,SAAS;IAC3BP,WAAW,CAACC,OAAO,GAAG,IAAI;IAC1BI,MAAM,CAACJ,OAAO,GAAG,IAAI,CAAC;EACxB,CAAC,EACD,EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
import { usernameSchema } from '@oxy.so/contracts';
|
|
5
|
+
import { useOxy } from "../context/oxyRuntimeContext.js";
|
|
6
|
+
/** Debounced server check; a response only applies to the draft that requested it. */
|
|
7
|
+
export function useUsernameAvailability(value, enabled) {
|
|
8
|
+
const {
|
|
9
|
+
oxyServices,
|
|
10
|
+
user
|
|
11
|
+
} = useOxy();
|
|
12
|
+
const candidate = value.trim();
|
|
13
|
+
const parsed = usernameSchema.safeParse(candidate);
|
|
14
|
+
const invalid = parsed.success ? undefined : parsed.error.issues[0]?.message;
|
|
15
|
+
const unchanged = candidate.toLowerCase() === user?.username?.toLowerCase();
|
|
16
|
+
const [result, setResult] = useState();
|
|
17
|
+
const [attempt, setAttempt] = useState(0);
|
|
18
|
+
|
|
19
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: attempt explicitly retries the same candidate.
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!enabled || invalid || unchanged) return;
|
|
22
|
+
setResult(undefined);
|
|
23
|
+
let active = true;
|
|
24
|
+
const timer = setTimeout(() => {
|
|
25
|
+
void oxyServices.auth.checkUsername(candidate).then(({
|
|
26
|
+
available
|
|
27
|
+
}) => {
|
|
28
|
+
if (active) setResult({
|
|
29
|
+
candidate,
|
|
30
|
+
status: available ? 'available' : 'taken'
|
|
31
|
+
});
|
|
32
|
+
}, () => {
|
|
33
|
+
if (active) setResult({
|
|
34
|
+
candidate,
|
|
35
|
+
status: 'error'
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
}, 350);
|
|
39
|
+
return () => {
|
|
40
|
+
active = false;
|
|
41
|
+
clearTimeout(timer);
|
|
42
|
+
};
|
|
43
|
+
}, [candidate, enabled, invalid, unchanged, oxyServices, attempt]);
|
|
44
|
+
const status = !enabled ? 'idle' : unchanged ? 'unchanged' : invalid ? 'invalid' : result?.candidate === candidate ? result.status : 'checking';
|
|
45
|
+
return {
|
|
46
|
+
candidate,
|
|
47
|
+
status,
|
|
48
|
+
invalid,
|
|
49
|
+
canSave: status === 'available' || status === 'unchanged',
|
|
50
|
+
retry: () => {
|
|
51
|
+
setResult(undefined);
|
|
52
|
+
setAttempt(value => value + 1);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=useUsernameAvailability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useState","usernameSchema","useOxy","useUsernameAvailability","value","enabled","oxyServices","user","candidate","trim","parsed","safeParse","invalid","success","undefined","error","issues","message","unchanged","toLowerCase","username","result","setResult","attempt","setAttempt","active","timer","setTimeout","auth","checkUsername","then","available","status","clearTimeout","canSave","retry"],"sourceRoot":"../../../../src","sources":["ui/hooks/useUsernameAvailability.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,MAAM,QAAQ,iCAA8B;AAIrD;AACA,OAAO,SAASC,uBAAuBA,CAACC,KAAa,EAAEC,OAAgB,EAAE;EACvE,MAAM;I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CAAC;EACH,CAAC,EAAE,CAAClB,SAAS,EAAEH,OAAO,EAAEO,OAAO,EAAEM,SAAS,EAAEZ,WAAW,EAAEiB,OAAO,CAAC,CAAC;EAElE,MAAMS,MAAM,GAAG,CAAC3B,OAAO,GACnB,MAAM,GACNa,SAAS,GACP,WAAW,GACXN,OAAO,GACL,SAAS,GACTS,MAAM,EAAEb,SAAS,KAAKA,SAAS,GAC7Ba,MAAM,CAACW,MAAM,GACb,UAAU;EACpB,OAAO;IACLxB,SAAS;IACTwB,MAAM;IACNpB,OAAO;IACPsB,OAAO,EAAEF,MAAM,KAAK,WAAW,IAAIA,MAAM,KAAK,WAAW;IACzDG,KAAK,EAAEA,CAAA,KAAM;MACXb,SAAS,CAACR,SAAS,CAAC;MACpBU,UAAU,CAAEpB,KAAK,IAAKA,KAAK,GAAG,CAAC,CAAC;IAClC;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -68,7 +68,6 @@ export const ioniconsGlyphMap = {
|
|
|
68
68
|
"footsteps": 62254,
|
|
69
69
|
"gift": 62263,
|
|
70
70
|
"gift-outline": 62264,
|
|
71
|
-
"globe-outline": 62288,
|
|
72
71
|
"grid": 62293,
|
|
73
72
|
"hand-left": 62299,
|
|
74
73
|
"hardware-chip-outline": 62309,
|
|
@@ -95,6 +94,7 @@ export const ioniconsGlyphMap = {
|
|
|
95
94
|
"location-outline": 62405,
|
|
96
95
|
"lock-closed": 62407,
|
|
97
96
|
"log-out-outline": 62417,
|
|
97
|
+
"mail": 62512,
|
|
98
98
|
"musical-notes": 62569,
|
|
99
99
|
"navigate": 62572,
|
|
100
100
|
"open": 62599,
|
|
@@ -148,7 +148,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
148
148
|
"account-eye-outline": 987771,
|
|
149
149
|
"account-group": 985161,
|
|
150
150
|
"account-multiple": 983054,
|
|
151
|
-
"account-multiple-outline": 983055,
|
|
152
151
|
"account-outline": 983059,
|
|
153
152
|
"account-plus": 983060,
|
|
154
153
|
"account-search": 983062,
|
|
@@ -237,6 +236,7 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
237
236
|
"folder-open-outline": 986575,
|
|
238
237
|
"folder-outline": 983638,
|
|
239
238
|
"folder-zip-outline": 985017,
|
|
239
|
+
"forward": 983693,
|
|
240
240
|
"function": 983701,
|
|
241
241
|
"ghost": 983712,
|
|
242
242
|
"gift": 986692,
|
|
@@ -250,6 +250,7 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
250
250
|
"image": 983785,
|
|
251
251
|
"image-multiple-outline": 983791,
|
|
252
252
|
"image-outline": 985462,
|
|
253
|
+
"inbox": 984711,
|
|
253
254
|
"information": 983804,
|
|
254
255
|
"information-outline": 983805,
|
|
255
256
|
"key": 983814,
|
|
@@ -262,6 +263,7 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
262
263
|
"lock-outline": 983873,
|
|
263
264
|
"logout": 983875,
|
|
264
265
|
"magnify": 983881,
|
|
266
|
+
"mail": 986811,
|
|
265
267
|
"map-marker": 983886,
|
|
266
268
|
"map-marker-multiple": 983888,
|
|
267
269
|
"map-marker-outline": 985049,
|
|
@@ -273,7 +275,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
273
275
|
"network": 984819,
|
|
274
276
|
"null": 985058,
|
|
275
277
|
"numeric": 983968,
|
|
276
|
-
"opacity": 984524,
|
|
277
278
|
"open-in-app": 984011,
|
|
278
279
|
"openid": 984013,
|
|
279
280
|
"palette": 984024,
|
|
@@ -305,7 +306,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
305
306
|
"shield-search": 986522,
|
|
306
307
|
"signature": 986619,
|
|
307
308
|
"solid": 984717,
|
|
308
|
-
"sort": 984250,
|
|
309
309
|
"sort-alphabetical-variant": 984251,
|
|
310
310
|
"sort-numeric-variant": 984254,
|
|
311
311
|
"star": 984270,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ioniconsGlyphMap","materialCommunityIconsGlyphMap"],"sourceRoot":"../../../../src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ACjB,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","materialCommunityIconsGlyphMap"],"sourceRoot":"../../../../src","sources":["ui/icons/subsetGlyphMaps.ts"],"mappings":";;AAAA,OAAO,MAAMA,gBAAgB,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,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,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/module/ui/index.js
CHANGED
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
/// <reference path="../types/react-native-classname.d.ts" />
|
|
18
18
|
/// <reference path="../types/react-native-web-style.d.ts" />
|
|
19
19
|
|
|
20
|
+
import { registerScreens } from "./navigation/routes.js";
|
|
21
|
+
import { screenComponents } from "./navigation/screenComponents.js";
|
|
22
|
+
registerScreens(screenComponents);
|
|
23
|
+
|
|
20
24
|
// Components
|
|
21
25
|
export { default as OxyProvider } from "./components/OxyProvider.js";
|
|
22
26
|
export { default as OxySignInButton } from "./components/OxySignInButton.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","OxyProvider","OxySignInButton","OxyAuthPrompt","LogoIcon","LogoText","RequireOxyAuth","FollowButton","PeableButton","OxyPayButton","ProfileButton","useOxy","useOptionalOxy","OxyProviderMissingError","useAppAssertion","useAuth","useFollow","useSeedFollowStatuses","useStorage","useAuthStore","handleAuthError","isInvalidSessionError","isTimeoutOrNetworkError","extractErrorMessage","useSupervision","supervisionQueryKeys"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,
|
|
1
|
+
{"version":3,"names":["registerScreens","screenComponents","default","OxyProvider","OxySignInButton","OxyAuthPrompt","LogoIcon","LogoText","RequireOxyAuth","FollowButton","PeableButton","OxyPayButton","ProfileButton","useOxy","useOptionalOxy","OxyProviderMissingError","useAppAssertion","useAuth","useFollow","useSeedFollowStatuses","useStorage","useAuthStore","handleAuthError","isInvalidSessionError","isTimeoutOrNetworkError","extractErrorMessage","useSupervision","supervisionQueryKeys"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,SAASA,eAAe,QAAQ,wBAAqB;AACrD,SAASC,gBAAgB,QAAQ,kCAA+B;AAEhED,eAAe,CAACC,gBAAgB,CAAC;;AAEjC;AACA,SAASC,OAAO,IAAIC,WAAW,QAAQ,6BAA0B;AACjE,SAASD,OAAO,IAAIE,eAAe,QAAQ,iCAA8B;AACzE,SAASF,OAAO,IAAIG,aAAa,QAAQ,+BAA4B;AAErE,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,cAAc,QAAQ,gCAA6B;;AAE5D;;AAEA,SAASN,OAAO,IAAIO,YAAY,QAAQ,8BAA2B;AACnE,SAASP,OAAO,IAAIQ,YAAY,QAAQ,8BAA2B;AAEnE;AACA,SAASR,OAAO,IAAIS,YAAY,QAAQ,8BAA2B;AACnE;;AAEA,SAAST,OAAO,IAAIU,aAAa,QAAQ,+BAA4B;;AAErE;AACA,SAASC,MAAM,EAAEC,cAAc,EAAEC,uBAAuB,QAAQ,yBAAsB;AACtF,SAASC,eAAe,QAAQ,uCAAoC;AAEpE,SAASC,OAAO,QAAQ,oBAAiB;AAEzC,SAASC,SAAS,EAAEC,qBAAqB,QAAQ,sBAAmB;AACpE,SAASC,UAAU,QAAQ,uBAAoB;AAG/C;AACA;;AAEA;AACA,SAASC,YAAY,QAAQ,uBAAoB;;AAEjD;AACA,SACEC,eAAe,EACfC,qBAAqB,EACrBC,uBAAuB,EACvBC,mBAAmB,QACd,0BAAuB;AAG9B,SAASC,cAAc,EAAEC,oBAAoB,QAAQ,mCAAgC","ignoreList":[]}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
/** An app-owned action rendered inside the shared account menu. */
|
|
16
16
|
|
|
17
|
+
/** App-owned group, rendered as one rounded card in the account menu. */
|
|
18
|
+
|
|
17
19
|
/**
|
|
18
20
|
* Live open/close handles registered by the mounted provider. `open` presents
|
|
19
21
|
* 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,IAAIC,GAAG,CAA6B,CAAC;AACjE,MAAMC,qBAAqB,GAAG,IAAID,GAAG,CAAa,CAAC;AAEnD,SAASE,2BAA2BA,CAAA,EAAS;EAC3C,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AmB,CAACW,MAAM,CAACP,QAAQ,CAAC;EACtC,CAAC;AACH","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { isValidRoute } from "./routes.js";
|
|
4
4
|
import { getSurfaceConfig } from "./surfaceRegistry.js";
|
|
5
|
-
import { closeAllRouteSurfaces, presentRoute,
|
|
5
|
+
import { closeAllRouteSurfaces, presentRoute, topMorphableSurface } from "./surfaces.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Bottom-sheet manager — the INTERNAL adapter that keeps the historical
|
|
@@ -32,7 +32,7 @@ export const showBottomSheet = screenOrConfig => {
|
|
|
32
32
|
if (__DEV__) console.warn(`[BottomSheet] Invalid route: ${screen}`);
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
|
-
const top =
|
|
35
|
+
const top = topMorphableSurface();
|
|
36
36
|
if (top && !getSurfaceConfig(screen, props).stacks) {
|
|
37
37
|
top.navigate(screen, props);
|
|
38
38
|
} else {
|
|
@@ -50,7 +50,7 @@ export const closeBottomSheet = () => {
|
|
|
50
50
|
* frame was popped, `false` when the surface is already at its root frame.
|
|
51
51
|
*/
|
|
52
52
|
export const goBack = () => {
|
|
53
|
-
const top =
|
|
53
|
+
const top = topMorphableSurface();
|
|
54
54
|
return top ? top.goBack() : false;
|
|
55
55
|
};
|
|
56
56
|
//# sourceMappingURL=bottomSheetManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isValidRoute","getSurfaceConfig","closeAllRouteSurfaces","presentRoute","
|
|
1
|
+
{"version":3,"names":["isValidRoute","getSurfaceConfig","closeAllRouteSurfaces","presentRoute","topMorphableSurface","showBottomSheet","screenOrConfig","screen","props","__DEV__","console","warn","top","stacks","navigate","closeBottomSheet","goBack"],"sourceRoot":"../../../../src","sources":["ui/navigation/bottomSheetManager.ts"],"mappings":";;AACA,SAASA,YAAY,QAAQ,aAAU;AACvC,SAASC,gBAAgB,QAAQ,sBAAm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
|
-
// Define all available route names
|
|
6
|
-
|
|
7
3
|
// Unified account switcher + sign-in surface (OxyAccountDialogScreen body)
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* the SDK.
|
|
18
|
-
*
|
|
19
|
-
* What defers the load must NOT be `require()`. `@oxy.so/services` ships an ESM
|
|
20
|
-
* build, and a `require()` in ESM output forces web bundlers into CommonJS
|
|
21
|
-
* interop: rolldown-vite defers every module in the required subgraph behind a
|
|
22
|
-
* lazy initializer and then hands a consumer that statically imported one of
|
|
23
|
-
* them the still-`undefined` binding. That is how `OxySignInRequestSurface`
|
|
24
|
-
* reached auth.oxy.so/authorize as `undefined` and blanked the page with React
|
|
25
|
-
* error #130 — this registry pulled `OxyAccountDialogScreen`, and the whole
|
|
26
|
-
* sign-in surface subgraph with it, through `require()`.
|
|
27
|
-
*
|
|
28
|
-
* The value type is `ComponentType<never>`, which every screen satisfies. A few
|
|
29
|
-
* screens (`Profile`, `PaymentGateway`, `UserLinks`, `FollowersList`,
|
|
30
|
-
* `FollowingList`) declare props BEYOND {@link BaseScreenProps} — `userId`,
|
|
31
|
-
* `amount` — that only reach them through the route's untyped props bag
|
|
32
|
-
* (`present(route, props)`), so this map cannot prove they are satisfied. The
|
|
33
|
-
* previous `require()` returned `any` and hid that entirely; stating it here
|
|
34
|
-
* confines the gap to one documented widening in {@link getScreenComponent}.
|
|
35
|
-
*/
|
|
36
|
-
const screenComponents = {
|
|
37
|
-
Supervision: /*#__PURE__*/lazy(() => import('../screens/SupervisionScreen')),
|
|
38
|
-
ManageAccount: /*#__PURE__*/lazy(() => import('../screens/ManageAccountScreen')),
|
|
39
|
-
AccountVerification: /*#__PURE__*/lazy(() => import('../screens/AccountVerificationScreen')),
|
|
40
|
-
PaymentGateway: /*#__PURE__*/lazy(() => import('../screens/PaymentGatewayScreen')),
|
|
41
|
-
Profile: /*#__PURE__*/lazy(() => import('../screens/ProfileScreen')),
|
|
42
|
-
LanguageSelector: /*#__PURE__*/lazy(() => import('../screens/LanguageSelectorScreen')),
|
|
43
|
-
PrivacySettings: /*#__PURE__*/lazy(() => import('../screens/PrivacySettingsScreen')),
|
|
44
|
-
SearchSettings: /*#__PURE__*/lazy(() => import('../screens/SearchSettingsScreen')),
|
|
45
|
-
FileManagement: /*#__PURE__*/lazy(() => import('../screens/FileManagementScreen')),
|
|
46
|
-
FileTrash: /*#__PURE__*/lazy(() => import('../screens/FileTrashScreen')),
|
|
47
|
-
HelpSupport: /*#__PURE__*/lazy(() => import('../screens/HelpSupportScreen')),
|
|
48
|
-
LegalDocuments: /*#__PURE__*/lazy(() => import('../screens/LegalDocumentsScreen')),
|
|
49
|
-
AppInfo: /*#__PURE__*/lazy(() => import('../screens/AppInfoScreen')),
|
|
50
|
-
WelcomeNewUser: /*#__PURE__*/lazy(() => import('../screens/WelcomeNewUserScreen')),
|
|
51
|
-
UserLinks: /*#__PURE__*/lazy(() => import('../screens/UserLinksScreen')),
|
|
52
|
-
HistoryView: /*#__PURE__*/lazy(() => import('../screens/HistoryViewScreen')),
|
|
53
|
-
EditProfile: /*#__PURE__*/lazy(() => import('../screens/EditProfileScreen')),
|
|
54
|
-
EditProfileField: /*#__PURE__*/lazy(() => import('../screens/EditProfileFieldScreen')),
|
|
55
|
-
// Informational screens
|
|
56
|
-
LearnMoreUsernames: /*#__PURE__*/lazy(() => import('../screens/LearnMoreUsernamesScreen')),
|
|
57
|
-
// Oxy Trust screens
|
|
58
|
-
TrustCenter: /*#__PURE__*/lazy(() => import('../screens/trust/TrustCenterScreen')),
|
|
59
|
-
TrustLeaderboard: /*#__PURE__*/lazy(() => import('../screens/trust/TrustLeaderboardScreen')),
|
|
60
|
-
TrustRewards: /*#__PURE__*/lazy(() => import('../screens/trust/TrustRewardsScreen')),
|
|
61
|
-
TrustRules: /*#__PURE__*/lazy(() => import('../screens/trust/TrustRulesScreen')),
|
|
62
|
-
AboutTrust: /*#__PURE__*/lazy(() => import('../screens/trust/TrustAboutScreen')),
|
|
63
|
-
TrustFAQ: /*#__PURE__*/lazy(() => import('../screens/trust/TrustFAQScreen')),
|
|
64
|
-
// User list screens (followers/following)
|
|
65
|
-
FollowersList: /*#__PURE__*/lazy(() => import('../screens/FollowersListScreen')),
|
|
66
|
-
FollowingList: /*#__PURE__*/lazy(() => import('../screens/FollowingListScreen')),
|
|
67
|
-
CreateAccount: /*#__PURE__*/lazy(() => import('../screens/CreateAccountScreen')),
|
|
68
|
-
AccountMembers: /*#__PURE__*/lazy(() => import('../screens/AccountMembersScreen')),
|
|
69
|
-
AccountSettings: /*#__PURE__*/lazy(() => import('../screens/AccountSettingsScreen')),
|
|
70
|
-
ChangeAvatar: /*#__PURE__*/lazy(() => import('../screens/ChangeAvatarScreen')),
|
|
71
|
-
AvatarCrop: /*#__PURE__*/lazy(() => import('../screens/AvatarCropScreen')),
|
|
72
|
-
Notifications: /*#__PURE__*/lazy(() => import('../screens/NotificationsScreen')),
|
|
73
|
-
Domains: /*#__PURE__*/lazy(() => import('../screens/DomainsScreen')),
|
|
74
|
-
ConnectedApps: /*#__PURE__*/lazy(() => import('../screens/ConnectedAppsScreen')),
|
|
75
|
-
Preferences: /*#__PURE__*/lazy(() => import('../screens/PreferencesScreen')),
|
|
76
|
-
// The account's own sign-in security, in its settings.
|
|
77
|
-
DeleteAccount: /*#__PURE__*/lazy(() => import('../screens/DeleteAccountScreen')),
|
|
78
|
-
LinkCommons: /*#__PURE__*/lazy(() => import('../screens/LinkCommonsScreen')),
|
|
79
|
-
SignInPassword: /*#__PURE__*/lazy(() => import('../screens/SignInPasswordScreen')),
|
|
80
|
-
SignInAuthenticator: /*#__PURE__*/lazy(() => import('../screens/SignInAuthenticatorScreen')),
|
|
81
|
-
// Unified account switcher + sign-in surface. Its body lives in the
|
|
82
|
-
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
83
|
-
// surface stack provides the Dialog chrome around it.
|
|
84
|
-
AccountDialog: /*#__PURE__*/lazy(() => import('../components/OxyAccountDialogScreen'))
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Resolve the component for a route.
|
|
89
|
-
*
|
|
90
|
-
* The map is total over {@link RouteName} — the compiler enforces that at its
|
|
91
|
-
* declaration — so this returns `undefined` only for a caller that reached here
|
|
92
|
-
* with an unchecked string; {@link isValidRoute} is how such a caller narrows.
|
|
93
|
-
*
|
|
94
|
-
* The surface host renders the result with {@link BaseScreenProps} merged with
|
|
95
|
-
* the route's own props bag, so that is the type it is handed back as. This one
|
|
96
|
-
* widening is where the gap documented on {@link screenComponents} lives: the map
|
|
97
|
-
* dispatches on a string key, so a screen's extra prop requirements are met at
|
|
98
|
-
* `present(route, props)` call sites, not provable here. No caching is needed —
|
|
99
|
-
* React memoizes each `lazy()` component's module after its first load.
|
|
100
|
-
*/
|
|
101
|
-
export const getScreenComponent = routeName => screenComponents[routeName];
|
|
5
|
+
let components;
|
|
6
|
+
let loading;
|
|
7
|
+
export function registerScreens(screens) {
|
|
8
|
+
components = screens;
|
|
9
|
+
}
|
|
10
|
+
export function screensReady() {
|
|
11
|
+
return components !== undefined;
|
|
12
|
+
}
|
|
102
13
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
14
|
+
/** The lean client warms all screen code at provider startup, before navigation. */
|
|
15
|
+
export function loadScreens() {
|
|
16
|
+
if (components) return Promise.resolve();
|
|
17
|
+
loading ??= import('./screenComponents').then(({
|
|
18
|
+
screenComponents
|
|
19
|
+
}) => {
|
|
20
|
+
registerScreens(screenComponents);
|
|
21
|
+
}).catch(error => {
|
|
22
|
+
loading = undefined;
|
|
23
|
+
throw error;
|
|
24
|
+
});
|
|
25
|
+
return loading;
|
|
26
|
+
}
|
|
27
|
+
export const getScreenComponent = route => components?.[route];
|
|
28
|
+
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']);
|
|
29
|
+
export const isValidRoute = name => ROUTES.has(name);
|
|
108
30
|
//# sourceMappingURL=routes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["components","loading","registerScreens","screens","screensReady","undefined","loadScreens","Promise","resolve","then","screenComponents","catch","error","getScreenComponent","route","ROUTES","Set","isValidRoute","name","has"],"sourceRoot":"../../../../src","sources":["ui/navigation/routes.ts"],"mappings":";;AA6CqB;;AAGrB,IAAIA,UAAwC;AAC5C,IAAIC,OAAkC;AAEtC,OAAO,SAASC,eAAeA,CAACC,OAAyB,EAAQ;EAC/DH,UAAU,GAAGG,OAAO;AACtB;AAEA,OAAO,SAASC,YAAYA,CAAA,EAAY;EACtC,OAAOJ,UAAU,KAAKK,SAAS;AACjC;;AAEA;AACA,OAAO,SAASC,WAAWA,CAAA,EAAkB;EAC3C,IAAIN,UAAU,EAAE,OAAOO,OAAO,CAACC,OAAO,CAAC,CAAC;EACxCP,OAAO,KAAK,MAAM,CAAC,oBAAoB,CAAC,CACrCQ,IAAI,CAAC,CAAC;IAAEC;EAAiB,CAAC,KAAK;IAC9BR,eAAe,CAACQ,gBAAgB,CAAC;EACnC,CAAC,CAAC,CACDC,KAAK,CAAEC,KAAc,IAAK;IACzBX,OAAO,GAAGI,SAAS;IACnB,MAAMO,KAAK;EACb,CAAC,CAAC;EACJ,OAAOX,OAAO;AAChB;AAEA,OAAO,MAAMY,kBAAkB,GAAIC,KAAgB,IACjDd,UAAU,GAAGc,KAAK,CAA+C;AAEnE,MAAMC,MAA2B,GAAG,IAAIC,GAAG,CAAC,CAC1C,aAAa,EACb,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACT,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,SAAS,EACT,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,CAChB,CAAC;AACF,OAAO,MAAMC,YAAY,GAAIC,IAAY,IAAwBH,MAAM,CAACI,GAAG,CAACD,IAAI,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import SupervisionScreenComponent from "../screens/SupervisionScreen.js";
|
|
4
|
+
import FileTrashScreenComponent from "../screens/FileTrashScreen.js";
|
|
5
|
+
import ManageAccountScreenComponent from "../screens/ManageAccountScreen.js";
|
|
6
|
+
import AccountVerificationScreenComponent from "../screens/AccountVerificationScreen.js";
|
|
7
|
+
import PaymentGatewayScreenComponent from "../screens/PaymentGatewayScreen.js";
|
|
8
|
+
import ProfileScreenComponent from "../screens/ProfileScreen.js";
|
|
9
|
+
import LanguageSelectorScreenComponent from "../screens/LanguageSelectorScreen.js";
|
|
10
|
+
import PrivacySettingsScreenComponent from "../screens/PrivacySettingsScreen.js";
|
|
11
|
+
import SearchSettingsScreenComponent from "../screens/SearchSettingsScreen.js";
|
|
12
|
+
import FileManagementScreenComponent from "../screens/FileManagementScreen.js";
|
|
13
|
+
import OxyOneScreenComponent from "../screens/OxyOneScreen.js";
|
|
14
|
+
import ReportBugScreenComponent from "../screens/ReportBugScreen.js";
|
|
15
|
+
import HelpSupportScreenComponent from "../screens/HelpSupportScreen.js";
|
|
16
|
+
import LegalDocumentsScreenComponent from "../screens/LegalDocumentsScreen.js";
|
|
17
|
+
import AppInfoScreenComponent from "../screens/AppInfoScreen.js";
|
|
18
|
+
import WelcomeNewUserScreenComponent from "../screens/WelcomeNewUserScreen.js";
|
|
19
|
+
import HistoryViewScreenComponent from "../screens/HistoryViewScreen.js";
|
|
20
|
+
import EditProfileScreenComponent from "../screens/EditProfileScreen.js";
|
|
21
|
+
import EditProfileFieldScreenComponent from "../screens/EditProfileFieldScreen.js";
|
|
22
|
+
import LearnMoreUsernamesScreenComponent from "../screens/LearnMoreUsernamesScreen.js";
|
|
23
|
+
import TrustCenterScreenComponent from "../screens/trust/TrustCenterScreen.js";
|
|
24
|
+
import TrustLeaderboardScreenComponent from "../screens/trust/TrustLeaderboardScreen.js";
|
|
25
|
+
import TrustRewardsScreenComponent from "../screens/trust/TrustRewardsScreen.js";
|
|
26
|
+
import TrustRulesScreenComponent from "../screens/trust/TrustRulesScreen.js";
|
|
27
|
+
import AboutTrustScreenComponent from "../screens/trust/TrustAboutScreen.js";
|
|
28
|
+
import TrustFAQScreenComponent from "../screens/trust/TrustFAQScreen.js";
|
|
29
|
+
import FollowersListScreenComponent from "../screens/FollowersListScreen.js";
|
|
30
|
+
import FollowingListScreenComponent from "../screens/FollowingListScreen.js";
|
|
31
|
+
import CreateAccountScreenComponent from "../screens/CreateAccountScreen.js";
|
|
32
|
+
import AccountMembersScreenComponent from "../screens/AccountMembersScreen.js";
|
|
33
|
+
import AccountSettingsScreenComponent from "../screens/AccountSettingsScreen.js";
|
|
34
|
+
import ChangeAvatarScreenComponent from "../screens/ChangeAvatarScreen.js";
|
|
35
|
+
import AvatarCropScreenComponent from "../screens/AvatarCropScreen.js";
|
|
36
|
+
import NotificationsScreenComponent from "../screens/NotificationsScreen.js";
|
|
37
|
+
import DomainsScreenComponent from "../screens/DomainsScreen.js";
|
|
38
|
+
import ConnectedAppsScreenComponent from "../screens/ConnectedAppsScreen.js";
|
|
39
|
+
import PreferencesScreenComponent from "../screens/PreferencesScreen.js";
|
|
40
|
+
import DeleteAccountScreenComponent from "../screens/DeleteAccountScreen.js";
|
|
41
|
+
import LinkCommonsScreenComponent from "../screens/LinkCommonsScreen.js";
|
|
42
|
+
import SignInPasswordScreenComponent from "../screens/SignInPasswordScreen.js";
|
|
43
|
+
import SignInAuthenticatorScreenComponent from "../screens/SignInAuthenticatorScreen.js";
|
|
44
|
+
import AccountDialogScreenComponent from "../components/OxyAccountDialogScreen.js";
|
|
45
|
+
export const screenComponents = {
|
|
46
|
+
Supervision: SupervisionScreenComponent,
|
|
47
|
+
FileTrash: FileTrashScreenComponent,
|
|
48
|
+
ManageAccount: ManageAccountScreenComponent,
|
|
49
|
+
AccountVerification: AccountVerificationScreenComponent,
|
|
50
|
+
PaymentGateway: PaymentGatewayScreenComponent,
|
|
51
|
+
Profile: ProfileScreenComponent,
|
|
52
|
+
LanguageSelector: LanguageSelectorScreenComponent,
|
|
53
|
+
PrivacySettings: PrivacySettingsScreenComponent,
|
|
54
|
+
SearchSettings: SearchSettingsScreenComponent,
|
|
55
|
+
FileManagement: FileManagementScreenComponent,
|
|
56
|
+
HelpSupport: HelpSupportScreenComponent,
|
|
57
|
+
ReportBug: ReportBugScreenComponent,
|
|
58
|
+
OxyOne: OxyOneScreenComponent,
|
|
59
|
+
LegalDocuments: LegalDocumentsScreenComponent,
|
|
60
|
+
AppInfo: AppInfoScreenComponent,
|
|
61
|
+
WelcomeNewUser: WelcomeNewUserScreenComponent,
|
|
62
|
+
HistoryView: HistoryViewScreenComponent,
|
|
63
|
+
EditProfile: EditProfileScreenComponent,
|
|
64
|
+
EditProfileField: EditProfileFieldScreenComponent,
|
|
65
|
+
// Informational screens
|
|
66
|
+
LearnMoreUsernames: LearnMoreUsernamesScreenComponent,
|
|
67
|
+
// Oxy Trust screens
|
|
68
|
+
TrustCenter: TrustCenterScreenComponent,
|
|
69
|
+
TrustLeaderboard: TrustLeaderboardScreenComponent,
|
|
70
|
+
TrustRewards: TrustRewardsScreenComponent,
|
|
71
|
+
TrustRules: TrustRulesScreenComponent,
|
|
72
|
+
AboutTrust: AboutTrustScreenComponent,
|
|
73
|
+
TrustFAQ: TrustFAQScreenComponent,
|
|
74
|
+
// User list screens (followers/following)
|
|
75
|
+
FollowersList: FollowersListScreenComponent,
|
|
76
|
+
FollowingList: FollowingListScreenComponent,
|
|
77
|
+
CreateAccount: CreateAccountScreenComponent,
|
|
78
|
+
AccountMembers: AccountMembersScreenComponent,
|
|
79
|
+
AccountSettings: AccountSettingsScreenComponent,
|
|
80
|
+
ChangeAvatar: ChangeAvatarScreenComponent,
|
|
81
|
+
AvatarCrop: AvatarCropScreenComponent,
|
|
82
|
+
Notifications: NotificationsScreenComponent,
|
|
83
|
+
Domains: DomainsScreenComponent,
|
|
84
|
+
ConnectedApps: ConnectedAppsScreenComponent,
|
|
85
|
+
Preferences: PreferencesScreenComponent,
|
|
86
|
+
// The account's own sign-in security, in its settings.
|
|
87
|
+
DeleteAccount: DeleteAccountScreenComponent,
|
|
88
|
+
LinkCommons: LinkCommonsScreenComponent,
|
|
89
|
+
SignInPassword: SignInPasswordScreenComponent,
|
|
90
|
+
SignInAuthenticator: SignInAuthenticatorScreenComponent,
|
|
91
|
+
// Unified account switcher + sign-in surface. Its body lives in the
|
|
92
|
+
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
93
|
+
// surface stack provides the Dialog chrome around it.
|
|
94
|
+
AccountDialog: AccountDialogScreenComponent
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=screenComponents.js.map
|