@oxyhq/services 28.0.0 → 30.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1758) hide show
  1. package/NOTICE +10 -9
  2. package/README.md +65 -2
  3. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionModule.kt +178 -0
  4. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionProvider.kt +99 -0
  5. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionStore.kt +115 -0
  6. package/expo-module.config.json +1 -0
  7. package/package.json +8 -8
  8. package/plugins/withSharedDeviceSessionProvider.js +102 -0
  9. package/plugins/withSharedDeviceSessionReader.js +57 -0
  10. package/src/__tests__/esmSourcePurity.test.ts +61 -0
  11. package/src/index.ts +31 -9
  12. package/src/ui/boot/runProviderColdBoot.ts +7 -0
  13. package/src/ui/client.ts +1 -2
  14. package/src/ui/components/FollowTargetButton.tsx +31 -27
  15. package/src/ui/components/OxyAccountDialogScreen.tsx +10 -29
  16. package/src/ui/components/OxyAuthChooser.tsx +149 -50
  17. package/src/ui/components/OxyConsentScreen.tsx +7 -2
  18. package/src/ui/components/OxyProvider.tsx +25 -26
  19. package/src/ui/components/SurfaceScreen.tsx +28 -4
  20. package/src/ui/components/authChooser/AccountsMenuView.tsx +246 -96
  21. package/src/ui/components/authChooser/SignInEntryView.tsx +31 -8
  22. package/src/ui/components/authChooser/TroubleDisclosure.tsx +26 -11
  23. package/src/ui/components/authChooser/primitives.tsx +37 -23
  24. package/src/ui/components/authChooser/types.ts +34 -1
  25. package/src/ui/context/OxyContext.tsx +269 -324
  26. package/src/ui/context/hooks/useAuthOperations.ts +32 -35
  27. package/src/ui/context/oxyContextHelpers.ts +0 -30
  28. package/src/ui/context/oxyContextTypes.ts +9 -1
  29. package/src/ui/context/useOxyAccountGraph.ts +5 -19
  30. package/src/ui/hooks/accountDialogSnapshot.ts +37 -0
  31. package/src/ui/hooks/mutations/useAccountMutations.ts +0 -19
  32. package/src/ui/hooks/queries/__tests__/userCache.test.ts +12 -1
  33. package/src/ui/hooks/useDeviceSwitcher.ts +110 -0
  34. package/src/ui/hooks/useI18n.ts +23 -3
  35. package/src/ui/hooks/useSessionManagement.ts +62 -211
  36. package/src/ui/index.ts +1 -2
  37. package/src/ui/navigation/routes.ts +85 -75
  38. package/src/ui/navigation/surfaces.ts +6 -9
  39. package/src/ui/runtime/createOxyRuntime.ts +623 -0
  40. package/src/ui/runtime/index.ts +34 -0
  41. package/src/ui/runtime/runtimeContext.tsx +111 -0
  42. package/src/ui/runtime/types.ts +110 -0
  43. package/src/ui/runtime/useRuntimeSnapshot.ts +52 -0
  44. package/src/ui/screens/AccountMembersScreen.tsx +2 -2
  45. package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
  46. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  47. package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
  48. package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
  49. package/src/ui/screens/FileManagementScreen.tsx +2 -2
  50. package/src/ui/screens/HistoryViewScreen.tsx +2 -2
  51. package/src/ui/screens/ManageAccountScreen.tsx +3 -3
  52. package/src/ui/screens/PremiumSubscriptionScreen.tsx +2 -2
  53. package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
  54. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
  55. package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
  56. package/src/ui/server.ts +0 -1
  57. package/src/ui/session/__tests__/authStore.test.ts +90 -0
  58. package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +289 -0
  59. package/src/ui/session/authStore.ts +78 -9
  60. package/src/ui/session/sharedDeviceCredentialStore.ts +318 -0
  61. package/src/ui/stores/authStore.ts +171 -43
  62. package/src/ui/types/navigation.ts +26 -0
  63. package/src/ui/utils/avatarUtils.ts +2 -37
  64. package/lib/commonjs/assets/OxyLogo.svg +0 -1
  65. package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
  66. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -60
  67. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
  68. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -39
  69. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
  70. package/lib/commonjs/assets/icons/OxyServices.js +0 -51
  71. package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
  72. package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
  73. package/lib/commonjs/assets/illustrations/HighFive.js +0 -58
  74. package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
  75. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
  76. package/lib/commonjs/index.js +0 -994
  77. package/lib/commonjs/index.js.map +0 -1
  78. package/lib/commonjs/notifications/deviceNotifications.js +0 -443
  79. package/lib/commonjs/notifications/deviceNotifications.js.map +0 -1
  80. package/lib/commonjs/package.json +0 -1
  81. package/lib/commonjs/ui/boot/runProviderColdBoot.js +0 -198
  82. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +0 -1
  83. package/lib/commonjs/ui/client.js +0 -137
  84. package/lib/commonjs/ui/client.js.map +0 -1
  85. package/lib/commonjs/ui/components/AvatarCameraBadge.js +0 -43
  86. package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +0 -1
  87. package/lib/commonjs/ui/components/FollowButton.js +0 -255
  88. package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
  89. package/lib/commonjs/ui/components/FollowTargetButton.js +0 -363
  90. package/lib/commonjs/ui/components/FollowTargetButton.js.map +0 -1
  91. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +0 -195
  92. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +0 -1
  93. package/lib/commonjs/ui/components/OxyAuthChooser.js +0 -405
  94. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +0 -1
  95. package/lib/commonjs/ui/components/OxyAuthPrompt.js +0 -124
  96. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +0 -1
  97. package/lib/commonjs/ui/components/OxyConsentScreen.js +0 -497
  98. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +0 -1
  99. package/lib/commonjs/ui/components/OxyOAuthCallback.js +0 -44
  100. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +0 -1
  101. package/lib/commonjs/ui/components/OxyPayButton.js +0 -66
  102. package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
  103. package/lib/commonjs/ui/components/OxyProvider.js +0 -315
  104. package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
  105. package/lib/commonjs/ui/components/OxySignInButton.js +0 -321
  106. package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
  107. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +0 -147
  108. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +0 -1
  109. package/lib/commonjs/ui/components/ProfileButton.js +0 -342
  110. package/lib/commonjs/ui/components/ProfileButton.js.map +0 -1
  111. package/lib/commonjs/ui/components/ProfileSummaryCard.js +0 -79
  112. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +0 -1
  113. package/lib/commonjs/ui/components/RequireOxyAuth.js +0 -296
  114. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +0 -1
  115. package/lib/commonjs/ui/components/SettingsIcon.js +0 -45
  116. package/lib/commonjs/ui/components/SettingsIcon.js.map +0 -1
  117. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +0 -63
  118. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +0 -1
  119. package/lib/commonjs/ui/components/SurfaceScreen.js +0 -229
  120. package/lib/commonjs/ui/components/SurfaceScreen.js.map +0 -1
  121. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +0 -542
  122. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +0 -1
  123. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -90
  124. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
  125. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +0 -106
  126. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +0 -1
  127. package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -188
  128. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
  129. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +0 -61
  130. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
  131. package/lib/commonjs/ui/components/authChooser/primitives.js +0 -170
  132. package/lib/commonjs/ui/components/authChooser/primitives.js.map +0 -1
  133. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +0 -161
  134. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +0 -1
  135. package/lib/commonjs/ui/components/authChooser/signInProgress.js +0 -59
  136. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +0 -1
  137. package/lib/commonjs/ui/components/authChooser/styles.js +0 -219
  138. package/lib/commonjs/ui/components/authChooser/styles.js.map +0 -1
  139. package/lib/commonjs/ui/components/authChooser/types.js +0 -70
  140. package/lib/commonjs/ui/components/authChooser/types.js.map +0 -1
  141. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +0 -50
  142. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
  143. package/lib/commonjs/ui/components/feedback/constants.js +0 -59
  144. package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
  145. package/lib/commonjs/ui/components/feedback/types.js +0 -6
  146. package/lib/commonjs/ui/components/feedback/types.js.map +0 -1
  147. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +0 -52
  148. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +0 -1
  149. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
  150. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  151. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -125
  152. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
  153. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -431
  154. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
  155. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -172
  156. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
  157. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -64
  158. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  159. package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
  160. package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
  161. package/lib/commonjs/ui/components/logo/LogoIcon.js +0 -61
  162. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +0 -1
  163. package/lib/commonjs/ui/components/logo/LogoText.js +0 -48
  164. package/lib/commonjs/ui/components/logo/LogoText.js.map +0 -1
  165. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +0 -133
  166. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +0 -1
  167. package/lib/commonjs/ui/components/oauthNavigation.js +0 -83
  168. package/lib/commonjs/ui/components/oauthNavigation.js.map +0 -1
  169. package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
  170. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
  171. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +0 -327
  172. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +0 -1
  173. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +0 -105
  174. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +0 -1
  175. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +0 -149
  176. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
  177. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +0 -84
  178. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  179. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +0 -195
  180. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  181. package/lib/commonjs/ui/components/payment/constants.js +0 -53
  182. package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
  183. package/lib/commonjs/ui/components/payment/paymentStyles.js +0 -401
  184. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +0 -1
  185. package/lib/commonjs/ui/components/payment/types.js +0 -6
  186. package/lib/commonjs/ui/components/payment/types.js.map +0 -1
  187. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -223
  188. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
  189. package/lib/commonjs/ui/components/styles/overlay.js +0 -83
  190. package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
  191. package/lib/commonjs/ui/components/styles/shadow.js +0 -127
  192. package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
  193. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +0 -83
  194. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
  195. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +0 -13
  196. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +0 -1
  197. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +0 -9
  198. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
  199. package/lib/commonjs/ui/components/utils/splitStyles.js +0 -50
  200. package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
  201. package/lib/commonjs/ui/constants/spacing.js +0 -50
  202. package/lib/commonjs/ui/constants/spacing.js.map +0 -1
  203. package/lib/commonjs/ui/context/OxyContext.js +0 -1248
  204. package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
  205. package/lib/commonjs/ui/context/commitSessionFlow.js +0 -104
  206. package/lib/commonjs/ui/context/commitSessionFlow.js.map +0 -1
  207. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -316
  208. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
  209. package/lib/commonjs/ui/context/oxyContextHelpers.js +0 -64
  210. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +0 -1
  211. package/lib/commonjs/ui/context/oxyContextTypes.js +0 -6
  212. package/lib/commonjs/ui/context/oxyContextTypes.js.map +0 -1
  213. package/lib/commonjs/ui/context/passkeyFlow.js +0 -118
  214. package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
  215. package/lib/commonjs/ui/context/useOxyAccountGraph.js +0 -111
  216. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +0 -1
  217. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -182
  218. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
  219. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -40
  220. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
  221. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -694
  222. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
  223. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -197
  224. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
  225. package/lib/commonjs/ui/hooks/queries/paymentTypes.js +0 -2
  226. package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +0 -1
  227. package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -222
  228. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
  229. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -326
  230. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
  231. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +0 -49
  232. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +0 -1
  233. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +0 -129
  234. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +0 -1
  235. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +0 -145
  236. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +0 -1
  237. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -93
  238. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  239. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -170
  240. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
  241. package/lib/commonjs/ui/hooks/queries/userCache.js +0 -440
  242. package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
  243. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
  244. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
  245. package/lib/commonjs/ui/hooks/queryClient.js +0 -208
  246. package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
  247. package/lib/commonjs/ui/hooks/useAssets.js +0 -227
  248. package/lib/commonjs/ui/hooks/useAssets.js.map +0 -1
  249. package/lib/commonjs/ui/hooks/useAsyncAction.js +0 -95
  250. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
  251. package/lib/commonjs/ui/hooks/useAuth.js +0 -127
  252. package/lib/commonjs/ui/hooks/useAuth.js.map +0 -1
  253. package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -106
  254. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +0 -1
  255. package/lib/commonjs/ui/hooks/useDeviceManagement.js +0 -73
  256. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +0 -1
  257. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +0 -71
  258. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
  259. package/lib/commonjs/ui/hooks/useFileFiltering.js +0 -76
  260. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +0 -1
  261. package/lib/commonjs/ui/hooks/useFollow.js +0 -331
  262. package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
  263. package/lib/commonjs/ui/hooks/useFollow.types.js +0 -6
  264. package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
  265. package/lib/commonjs/ui/hooks/useFollowTarget.js +0 -160
  266. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +0 -1
  267. package/lib/commonjs/ui/hooks/useI18n.js +0 -22
  268. package/lib/commonjs/ui/hooks/useI18n.js.map +0 -1
  269. package/lib/commonjs/ui/hooks/useLanguageManagement.js +0 -193
  270. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
  271. package/lib/commonjs/ui/hooks/useMutationStatus.js +0 -86
  272. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +0 -1
  273. package/lib/commonjs/ui/hooks/useOnlineStatus.js +0 -34
  274. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +0 -1
  275. package/lib/commonjs/ui/hooks/useOxyEvent.js +0 -28
  276. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +0 -1
  277. package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -134
  278. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +0 -1
  279. package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
  280. package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
  281. package/lib/commonjs/ui/hooks/useReduceMotion.js +0 -57
  282. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +0 -1
  283. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +0 -163
  284. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +0 -1
  285. package/lib/commonjs/ui/hooks/useSessionManagement.js +0 -290
  286. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
  287. package/lib/commonjs/ui/hooks/useSettingToggle.js +0 -132
  288. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +0 -1
  289. package/lib/commonjs/ui/hooks/useStorage.js +0 -45
  290. package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
  291. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +0 -142
  292. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +0 -1
  293. package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +0 -64
  294. package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +0 -1
  295. package/lib/commonjs/ui/index.js +0 -178
  296. package/lib/commonjs/ui/index.js.map +0 -1
  297. package/lib/commonjs/ui/isFrontend.js +0 -10
  298. package/lib/commonjs/ui/isFrontend.js.map +0 -1
  299. package/lib/commonjs/ui/navigation/accountDialogManager.js +0 -105
  300. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +0 -1
  301. package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -62
  302. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
  303. package/lib/commonjs/ui/navigation/routes.js +0 -98
  304. package/lib/commonjs/ui/navigation/routes.js.map +0 -1
  305. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +0 -68
  306. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +0 -1
  307. package/lib/commonjs/ui/navigation/surfaceNavStack.js +0 -146
  308. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +0 -1
  309. package/lib/commonjs/ui/navigation/surfaceRegistry.js +0 -147
  310. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +0 -1
  311. package/lib/commonjs/ui/navigation/surfaces.js +0 -338
  312. package/lib/commonjs/ui/navigation/surfaces.js.map +0 -1
  313. package/lib/commonjs/ui/oauth/browserAuthTransport.js +0 -170
  314. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +0 -1
  315. package/lib/commonjs/ui/oauth/completeOAuthCode.js +0 -78
  316. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +0 -1
  317. package/lib/commonjs/ui/oauth/oauthHandshake.js +0 -53
  318. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +0 -1
  319. package/lib/commonjs/ui/oauth/oauthPopup.js +0 -276
  320. package/lib/commonjs/ui/oauth/oauthPopup.js.map +0 -1
  321. package/lib/commonjs/ui/oauth/oauthPopupMessages.js +0 -141
  322. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +0 -1
  323. package/lib/commonjs/ui/oauth/types.js +0 -2
  324. package/lib/commonjs/ui/oauth/types.js.map +0 -1
  325. package/lib/commonjs/ui/screens/AccountMembersScreen.js +0 -443
  326. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +0 -1
  327. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -264
  328. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
  329. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -184
  330. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
  331. package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -373
  332. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
  333. package/lib/commonjs/ui/screens/AvatarCropScreen.js +0 -987
  334. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +0 -1
  335. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +0 -306
  336. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +0 -1
  337. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +0 -169
  338. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +0 -1
  339. package/lib/commonjs/ui/screens/CreateAccountScreen.js +0 -387
  340. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +0 -1
  341. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -546
  342. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +0 -1
  343. package/lib/commonjs/ui/screens/EditProfileScreen.js +0 -167
  344. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +0 -1
  345. package/lib/commonjs/ui/screens/FAQScreen.js +0 -162
  346. package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
  347. package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -592
  348. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
  349. package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -1529
  350. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
  351. package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -17
  352. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +0 -1
  353. package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -17
  354. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +0 -1
  355. package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -123
  356. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
  357. package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -165
  358. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
  359. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -235
  360. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
  361. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +0 -127
  362. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
  363. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -188
  364. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
  365. package/lib/commonjs/ui/screens/ManageAccountScreen.js +0 -647
  366. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +0 -1
  367. package/lib/commonjs/ui/screens/NotificationsScreen.js +0 -150
  368. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +0 -1
  369. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -278
  370. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
  371. package/lib/commonjs/ui/screens/PreferencesScreen.js +0 -194
  372. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +0 -1
  373. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -958
  374. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  375. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -501
  376. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
  377. package/lib/commonjs/ui/screens/ProfileScreen.js +0 -473
  378. package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
  379. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -132
  380. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
  381. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +0 -138
  382. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
  383. package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
  384. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
  385. package/lib/commonjs/ui/screens/UserListScreen.js +0 -301
  386. package/lib/commonjs/ui/screens/UserListScreen.js.map +0 -1
  387. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -467
  388. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
  389. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +0 -64
  390. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
  391. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +0 -121
  392. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +0 -1
  393. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +0 -552
  394. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
  395. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +0 -85
  396. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +0 -1
  397. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -506
  398. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
  399. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +0 -44
  400. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
  401. package/lib/commonjs/ui/screens/fileManagement/shared.js +0 -79
  402. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +0 -1
  403. package/lib/commonjs/ui/screens/linkFormat.js +0 -38
  404. package/lib/commonjs/ui/screens/linkFormat.js.map +0 -1
  405. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +0 -94
  406. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +0 -1
  407. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +0 -185
  408. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +0 -1
  409. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +0 -86
  410. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +0 -1
  411. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +0 -222
  412. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
  413. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +0 -512
  414. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
  415. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +0 -92
  416. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +0 -1
  417. package/lib/commonjs/ui/server.js +0 -86
  418. package/lib/commonjs/ui/server.js.map +0 -1
  419. package/lib/commonjs/ui/session/authStore.js +0 -39
  420. package/lib/commonjs/ui/session/authStore.js.map +0 -1
  421. package/lib/commonjs/ui/session/backgroundSession.js +0 -258
  422. package/lib/commonjs/ui/session/backgroundSession.js.map +0 -1
  423. package/lib/commonjs/ui/session/createSessionClient.js +0 -58
  424. package/lib/commonjs/ui/session/createSessionClient.js.map +0 -1
  425. package/lib/commonjs/ui/session/identityBinding.js +0 -95
  426. package/lib/commonjs/ui/session/identityBinding.js.map +0 -1
  427. package/lib/commonjs/ui/session/index.js +0 -78
  428. package/lib/commonjs/ui/session/index.js.map +0 -1
  429. package/lib/commonjs/ui/session/nativeSecureStorage.js +0 -90
  430. package/lib/commonjs/ui/session/nativeSecureStorage.js.map +0 -1
  431. package/lib/commonjs/ui/session/tokenTransport.js +0 -75
  432. package/lib/commonjs/ui/session/tokenTransport.js.map +0 -1
  433. package/lib/commonjs/ui/session/useBackgroundSessionSync.js +0 -81
  434. package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +0 -1
  435. package/lib/commonjs/ui/stores/accountStore.js +0 -221
  436. package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
  437. package/lib/commonjs/ui/stores/assetStore.js +0 -225
  438. package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
  439. package/lib/commonjs/ui/stores/authStore.js +0 -70
  440. package/lib/commonjs/ui/stores/authStore.js.map +0 -1
  441. package/lib/commonjs/ui/stores/followStore.js +0 -551
  442. package/lib/commonjs/ui/stores/followStore.js.map +0 -1
  443. package/lib/commonjs/ui/stores/followTargetStore.js +0 -152
  444. package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
  445. package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
  446. package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
  447. package/lib/commonjs/ui/types/fileManagement.js +0 -6
  448. package/lib/commonjs/ui/types/fileManagement.js.map +0 -1
  449. package/lib/commonjs/ui/types/navigation.js +0 -6
  450. package/lib/commonjs/ui/types/navigation.js.map +0 -1
  451. package/lib/commonjs/ui/types/surfaceScreen.js +0 -6
  452. package/lib/commonjs/ui/types/surfaceScreen.js.map +0 -1
  453. package/lib/commonjs/ui/utils/avatarUtils.js +0 -77
  454. package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
  455. package/lib/commonjs/ui/utils/colorUtils.js +0 -49
  456. package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
  457. package/lib/commonjs/ui/utils/commonsStoreLinks.js +0 -42
  458. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +0 -1
  459. package/lib/commonjs/ui/utils/deliveryPlatform.js +0 -58
  460. package/lib/commonjs/ui/utils/deliveryPlatform.js.map +0 -1
  461. package/lib/commonjs/ui/utils/deviceCredential.js +0 -23
  462. package/lib/commonjs/ui/utils/deviceCredential.js.map +0 -1
  463. package/lib/commonjs/ui/utils/errorHandlers.js +0 -137
  464. package/lib/commonjs/ui/utils/errorHandlers.js.map +0 -1
  465. package/lib/commonjs/ui/utils/fileManagement.js +0 -147
  466. package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
  467. package/lib/commonjs/ui/utils/iconNames.js +0 -133
  468. package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
  469. package/lib/commonjs/ui/utils/isWebBrowser.js +0 -13
  470. package/lib/commonjs/ui/utils/isWebBrowser.js.map +0 -1
  471. package/lib/commonjs/ui/utils/netConnectivity.js +0 -28
  472. package/lib/commonjs/ui/utils/netConnectivity.js.map +0 -1
  473. package/lib/commonjs/ui/utils/oauthReturn.js +0 -126
  474. package/lib/commonjs/ui/utils/oauthReturn.js.map +0 -1
  475. package/lib/commonjs/ui/utils/sessionHelpers.js +0 -61
  476. package/lib/commonjs/ui/utils/sessionHelpers.js.map +0 -1
  477. package/lib/commonjs/ui/utils/storageHelpers.js +0 -119
  478. package/lib/commonjs/ui/utils/storageHelpers.js.map +0 -1
  479. package/lib/commonjs/ui/utils/userUtils.js +0 -69
  480. package/lib/commonjs/ui/utils/userUtils.js.map +0 -1
  481. package/lib/commonjs/utils/hookUtils.js +0 -421
  482. package/lib/commonjs/utils/hookUtils.js.map +0 -1
  483. package/lib/commonjs/webauthn/passkeyClient.js +0 -39
  484. package/lib/commonjs/webauthn/passkeyClient.js.map +0 -1
  485. package/lib/commonjs/webauthn/passkeyClient.native.js +0 -34
  486. package/lib/commonjs/webauthn/passkeyClient.native.js.map +0 -1
  487. package/lib/commonjs/webauthn/passkeyClient.web.js +0 -57
  488. package/lib/commonjs/webauthn/passkeyClient.web.js.map +0 -1
  489. package/lib/module/assets/OxyLogo.svg +0 -1
  490. package/lib/module/assets/assets/OxyLogo.svg +0 -1
  491. package/lib/module/assets/assets/icons/OxyServices.tsx +0 -60
  492. package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
  493. package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -39
  494. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
  495. package/lib/module/assets/icons/OxyServices.js +0 -45
  496. package/lib/module/assets/icons/OxyServices.js.map +0 -1
  497. package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
  498. package/lib/module/assets/illustrations/HighFive.js +0 -53
  499. package/lib/module/assets/illustrations/HighFive.js.map +0 -1
  500. package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
  501. package/lib/module/index.js +0 -222
  502. package/lib/module/index.js.map +0 -1
  503. package/lib/module/notifications/deviceNotifications.js +0 -433
  504. package/lib/module/notifications/deviceNotifications.js.map +0 -1
  505. package/lib/module/package.json +0 -1
  506. package/lib/module/ui/boot/runProviderColdBoot.js +0 -192
  507. package/lib/module/ui/boot/runProviderColdBoot.js.map +0 -1
  508. package/lib/module/ui/client.js +0 -39
  509. package/lib/module/ui/client.js.map +0 -1
  510. package/lib/module/ui/components/AvatarCameraBadge.js +0 -40
  511. package/lib/module/ui/components/AvatarCameraBadge.js.map +0 -1
  512. package/lib/module/ui/components/FollowButton.js +0 -251
  513. package/lib/module/ui/components/FollowButton.js.map +0 -1
  514. package/lib/module/ui/components/FollowTargetButton.js +0 -357
  515. package/lib/module/ui/components/FollowTargetButton.js.map +0 -1
  516. package/lib/module/ui/components/OxyAccountDialogScreen.js +0 -190
  517. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +0 -1
  518. package/lib/module/ui/components/OxyAuthChooser.js +0 -400
  519. package/lib/module/ui/components/OxyAuthChooser.js.map +0 -1
  520. package/lib/module/ui/components/OxyAuthPrompt.js +0 -118
  521. package/lib/module/ui/components/OxyAuthPrompt.js.map +0 -1
  522. package/lib/module/ui/components/OxyConsentScreen.js +0 -491
  523. package/lib/module/ui/components/OxyConsentScreen.js.map +0 -1
  524. package/lib/module/ui/components/OxyOAuthCallback.js +0 -40
  525. package/lib/module/ui/components/OxyOAuthCallback.js.map +0 -1
  526. package/lib/module/ui/components/OxyPayButton.js +0 -62
  527. package/lib/module/ui/components/OxyPayButton.js.map +0 -1
  528. package/lib/module/ui/components/OxyProvider.js +0 -312
  529. package/lib/module/ui/components/OxyProvider.js.map +0 -1
  530. package/lib/module/ui/components/OxySignInButton.js +0 -316
  531. package/lib/module/ui/components/OxySignInButton.js.map +0 -1
  532. package/lib/module/ui/components/OxySignInRequestSurface.js +0 -141
  533. package/lib/module/ui/components/OxySignInRequestSurface.js.map +0 -1
  534. package/lib/module/ui/components/ProfileButton.js +0 -336
  535. package/lib/module/ui/components/ProfileButton.js.map +0 -1
  536. package/lib/module/ui/components/ProfileSummaryCard.js +0 -74
  537. package/lib/module/ui/components/ProfileSummaryCard.js.map +0 -1
  538. package/lib/module/ui/components/RequireOxyAuth.js +0 -292
  539. package/lib/module/ui/components/RequireOxyAuth.js.map +0 -1
  540. package/lib/module/ui/components/SettingsIcon.js +0 -40
  541. package/lib/module/ui/components/SettingsIcon.js.map +0 -1
  542. package/lib/module/ui/components/SurfaceHeaderAction.js +0 -58
  543. package/lib/module/ui/components/SurfaceHeaderAction.js.map +0 -1
  544. package/lib/module/ui/components/SurfaceScreen.js +0 -224
  545. package/lib/module/ui/components/SurfaceScreen.js.map +0 -1
  546. package/lib/module/ui/components/authChooser/AccountsMenuView.js +0 -538
  547. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +0 -1
  548. package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -85
  549. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
  550. package/lib/module/ui/components/authChooser/SignInRequestView.js +0 -101
  551. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +0 -1
  552. package/lib/module/ui/components/authChooser/SignUpView.js +0 -184
  553. package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
  554. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +0 -57
  555. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
  556. package/lib/module/ui/components/authChooser/primitives.js +0 -163
  557. package/lib/module/ui/components/authChooser/primitives.js.map +0 -1
  558. package/lib/module/ui/components/authChooser/requestSurfaces.js +0 -151
  559. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +0 -1
  560. package/lib/module/ui/components/authChooser/signInProgress.js +0 -55
  561. package/lib/module/ui/components/authChooser/signInProgress.js.map +0 -1
  562. package/lib/module/ui/components/authChooser/styles.js +0 -216
  563. package/lib/module/ui/components/authChooser/styles.js.map +0 -1
  564. package/lib/module/ui/components/authChooser/types.js +0 -66
  565. package/lib/module/ui/components/authChooser/types.js.map +0 -1
  566. package/lib/module/ui/components/authChooser/useUsernameAvailability.js +0 -46
  567. package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
  568. package/lib/module/ui/components/feedback/constants.js +0 -55
  569. package/lib/module/ui/components/feedback/constants.js.map +0 -1
  570. package/lib/module/ui/components/feedback/types.js +0 -4
  571. package/lib/module/ui/components/feedback/types.js.map +0 -1
  572. package/lib/module/ui/components/feedback/useFeedbackForm.js +0 -47
  573. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +0 -1
  574. package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
  575. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  576. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -119
  577. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
  578. package/lib/module/ui/components/fileManagement/FileViewer.js +0 -425
  579. package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
  580. package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -166
  581. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
  582. package/lib/module/ui/components/icon/FAIRWalletIcon.js +0 -59
  583. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  584. package/lib/module/ui/components/internal/PinInput.js +0 -113
  585. package/lib/module/ui/components/internal/PinInput.js.map +0 -1
  586. package/lib/module/ui/components/logo/LogoIcon.js +0 -55
  587. package/lib/module/ui/components/logo/LogoIcon.js.map +0 -1
  588. package/lib/module/ui/components/logo/LogoText.js +0 -42
  589. package/lib/module/ui/components/logo/LogoText.js.map +0 -1
  590. package/lib/module/ui/components/modals/DeleteAccountModal.js +0 -127
  591. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +0 -1
  592. package/lib/module/ui/components/oauthNavigation.js +0 -80
  593. package/lib/module/ui/components/oauthNavigation.js.map +0 -1
  594. package/lib/module/ui/components/passkeyHubPopup.js +0 -29
  595. package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
  596. package/lib/module/ui/components/payment/PaymentDetailsStep.js +0 -322
  597. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +0 -1
  598. package/lib/module/ui/components/payment/PaymentMethodStep.js +0 -100
  599. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +0 -1
  600. package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -144
  601. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
  602. package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -79
  603. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  604. package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -190
  605. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  606. package/lib/module/ui/components/payment/constants.js +0 -47
  607. package/lib/module/ui/components/payment/constants.js.map +0 -1
  608. package/lib/module/ui/components/payment/paymentStyles.js +0 -396
  609. package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
  610. package/lib/module/ui/components/payment/types.js +0 -4
  611. package/lib/module/ui/components/payment/types.js.map +0 -1
  612. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -216
  613. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
  614. package/lib/module/ui/components/styles/overlay.js +0 -80
  615. package/lib/module/ui/components/styles/overlay.js.map +0 -1
  616. package/lib/module/ui/components/styles/shadow.js +0 -123
  617. package/lib/module/ui/components/styles/shadow.js.map +0 -1
  618. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +0 -78
  619. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
  620. package/lib/module/ui/components/utils/hasTouchHandler.js +0 -9
  621. package/lib/module/ui/components/utils/hasTouchHandler.js.map +0 -1
  622. package/lib/module/ui/components/utils/roundLayoutSize.js +0 -4
  623. package/lib/module/ui/components/utils/roundLayoutSize.js.map +0 -1
  624. package/lib/module/ui/components/utils/splitStyles.js +0 -46
  625. package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
  626. package/lib/module/ui/constants/spacing.js +0 -45
  627. package/lib/module/ui/constants/spacing.js.map +0 -1
  628. package/lib/module/ui/context/OxyContext.js +0 -1243
  629. package/lib/module/ui/context/OxyContext.js.map +0 -1
  630. package/lib/module/ui/context/commitSessionFlow.js +0 -100
  631. package/lib/module/ui/context/commitSessionFlow.js.map +0 -1
  632. package/lib/module/ui/context/hooks/useAuthOperations.js +0 -311
  633. package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
  634. package/lib/module/ui/context/oxyContextHelpers.js +0 -57
  635. package/lib/module/ui/context/oxyContextHelpers.js.map +0 -1
  636. package/lib/module/ui/context/oxyContextTypes.js +0 -4
  637. package/lib/module/ui/context/oxyContextTypes.js.map +0 -1
  638. package/lib/module/ui/context/passkeyFlow.js +0 -111
  639. package/lib/module/ui/context/passkeyFlow.js.map +0 -1
  640. package/lib/module/ui/context/useOxyAccountGraph.js +0 -107
  641. package/lib/module/ui/context/useOxyAccountGraph.js.map +0 -1
  642. package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -178
  643. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
  644. package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -36
  645. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
  646. package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -685
  647. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
  648. package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -189
  649. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
  650. package/lib/module/ui/hooks/queries/paymentTypes.js +0 -2
  651. package/lib/module/ui/hooks/queries/paymentTypes.js.map +0 -1
  652. package/lib/module/ui/hooks/queries/queryKeys.js +0 -207
  653. package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
  654. package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -315
  655. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
  656. package/lib/module/ui/hooks/queries/useAuthMethods.js +0 -45
  657. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +0 -1
  658. package/lib/module/ui/hooks/queries/useFileQueries.js +0 -120
  659. package/lib/module/ui/hooks/queries/useFileQueries.js.map +0 -1
  660. package/lib/module/ui/hooks/queries/usePaymentQueries.js +0 -137
  661. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +0 -1
  662. package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -86
  663. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  664. package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -161
  665. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
  666. package/lib/module/ui/hooks/queries/userCache.js +0 -433
  667. package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
  668. package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
  669. package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
  670. package/lib/module/ui/hooks/queryClient.js +0 -201
  671. package/lib/module/ui/hooks/queryClient.js.map +0 -1
  672. package/lib/module/ui/hooks/useAssets.js +0 -221
  673. package/lib/module/ui/hooks/useAssets.js.map +0 -1
  674. package/lib/module/ui/hooks/useAsyncAction.js +0 -89
  675. package/lib/module/ui/hooks/useAsyncAction.js.map +0 -1
  676. package/lib/module/ui/hooks/useAuth.js +0 -123
  677. package/lib/module/ui/hooks/useAuth.js.map +0 -1
  678. package/lib/module/ui/hooks/useAvatarPicker.js +0 -103
  679. package/lib/module/ui/hooks/useAvatarPicker.js.map +0 -1
  680. package/lib/module/ui/hooks/useDeviceManagement.js +0 -68
  681. package/lib/module/ui/hooks/useDeviceManagement.js.map +0 -1
  682. package/lib/module/ui/hooks/useFileDownloadUrl.js +0 -66
  683. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
  684. package/lib/module/ui/hooks/useFileFiltering.js +0 -72
  685. package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
  686. package/lib/module/ui/hooks/useFollow.js +0 -324
  687. package/lib/module/ui/hooks/useFollow.js.map +0 -1
  688. package/lib/module/ui/hooks/useFollow.types.js +0 -4
  689. package/lib/module/ui/hooks/useFollow.types.js.map +0 -1
  690. package/lib/module/ui/hooks/useFollowTarget.js +0 -156
  691. package/lib/module/ui/hooks/useFollowTarget.js.map +0 -1
  692. package/lib/module/ui/hooks/useI18n.js +0 -18
  693. package/lib/module/ui/hooks/useI18n.js.map +0 -1
  694. package/lib/module/ui/hooks/useLanguageManagement.js +0 -185
  695. package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
  696. package/lib/module/ui/hooks/useMutationStatus.js +0 -82
  697. package/lib/module/ui/hooks/useMutationStatus.js.map +0 -1
  698. package/lib/module/ui/hooks/useOnlineStatus.js +0 -30
  699. package/lib/module/ui/hooks/useOnlineStatus.js.map +0 -1
  700. package/lib/module/ui/hooks/useOxyEvent.js +0 -25
  701. package/lib/module/ui/hooks/useOxyEvent.js.map +0 -1
  702. package/lib/module/ui/hooks/useProfileEditing.js +0 -129
  703. package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
  704. package/lib/module/ui/hooks/useQueryClient.js +0 -15
  705. package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
  706. package/lib/module/ui/hooks/useReduceMotion.js +0 -53
  707. package/lib/module/ui/hooks/useReduceMotion.js.map +0 -1
  708. package/lib/module/ui/hooks/useResolvedFileUrls.js +0 -157
  709. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +0 -1
  710. package/lib/module/ui/hooks/useSessionManagement.js +0 -286
  711. package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
  712. package/lib/module/ui/hooks/useSettingToggle.js +0 -126
  713. package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
  714. package/lib/module/ui/hooks/useStorage.js +0 -40
  715. package/lib/module/ui/hooks/useStorage.js.map +0 -1
  716. package/lib/module/ui/hooks/useSurfaceHeader.js +0 -138
  717. package/lib/module/ui/hooks/useSurfaceHeader.js.map +0 -1
  718. package/lib/module/ui/hooks/useSwitchableAccounts.js +0 -60
  719. package/lib/module/ui/hooks/useSwitchableAccounts.js.map +0 -1
  720. package/lib/module/ui/index.js +0 -49
  721. package/lib/module/ui/index.js.map +0 -1
  722. package/lib/module/ui/isFrontend.js +0 -6
  723. package/lib/module/ui/isFrontend.js.map +0 -1
  724. package/lib/module/ui/navigation/accountDialogManager.js +0 -94
  725. package/lib/module/ui/navigation/accountDialogManager.js.map +0 -1
  726. package/lib/module/ui/navigation/bottomSheetManager.js +0 -56
  727. package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
  728. package/lib/module/ui/navigation/routes.js +0 -92
  729. package/lib/module/ui/navigation/routes.js.map +0 -1
  730. package/lib/module/ui/navigation/surfaceBackBridge.js +0 -63
  731. package/lib/module/ui/navigation/surfaceBackBridge.js.map +0 -1
  732. package/lib/module/ui/navigation/surfaceNavStack.js +0 -143
  733. package/lib/module/ui/navigation/surfaceNavStack.js.map +0 -1
  734. package/lib/module/ui/navigation/surfaceRegistry.js +0 -141
  735. package/lib/module/ui/navigation/surfaceRegistry.js.map +0 -1
  736. package/lib/module/ui/navigation/surfaces.js +0 -325
  737. package/lib/module/ui/navigation/surfaces.js.map +0 -1
  738. package/lib/module/ui/oauth/browserAuthTransport.js +0 -167
  739. package/lib/module/ui/oauth/browserAuthTransport.js.map +0 -1
  740. package/lib/module/ui/oauth/completeOAuthCode.js +0 -75
  741. package/lib/module/ui/oauth/completeOAuthCode.js.map +0 -1
  742. package/lib/module/ui/oauth/oauthHandshake.js +0 -50
  743. package/lib/module/ui/oauth/oauthHandshake.js.map +0 -1
  744. package/lib/module/ui/oauth/oauthPopup.js +0 -268
  745. package/lib/module/ui/oauth/oauthPopup.js.map +0 -1
  746. package/lib/module/ui/oauth/oauthPopupMessages.js +0 -135
  747. package/lib/module/ui/oauth/oauthPopupMessages.js.map +0 -1
  748. package/lib/module/ui/oauth/types.js +0 -2
  749. package/lib/module/ui/oauth/types.js.map +0 -1
  750. package/lib/module/ui/screens/AccountMembersScreen.js +0 -438
  751. package/lib/module/ui/screens/AccountMembersScreen.js.map +0 -1
  752. package/lib/module/ui/screens/AccountSettingsScreen.js +0 -260
  753. package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
  754. package/lib/module/ui/screens/AccountVerificationScreen.js +0 -179
  755. package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
  756. package/lib/module/ui/screens/AppInfoScreen.js +0 -368
  757. package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
  758. package/lib/module/ui/screens/AvatarCropScreen.js +0 -984
  759. package/lib/module/ui/screens/AvatarCropScreen.js.map +0 -1
  760. package/lib/module/ui/screens/ChangeAvatarScreen.js +0 -303
  761. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +0 -1
  762. package/lib/module/ui/screens/ConnectedAppsScreen.js +0 -164
  763. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +0 -1
  764. package/lib/module/ui/screens/CreateAccountScreen.js +0 -382
  765. package/lib/module/ui/screens/CreateAccountScreen.js.map +0 -1
  766. package/lib/module/ui/screens/EditProfileFieldScreen.js +0 -541
  767. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +0 -1
  768. package/lib/module/ui/screens/EditProfileScreen.js +0 -162
  769. package/lib/module/ui/screens/EditProfileScreen.js.map +0 -1
  770. package/lib/module/ui/screens/FAQScreen.js +0 -157
  771. package/lib/module/ui/screens/FAQScreen.js.map +0 -1
  772. package/lib/module/ui/screens/FeedbackScreen.js +0 -590
  773. package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
  774. package/lib/module/ui/screens/FileManagementScreen.js +0 -1525
  775. package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
  776. package/lib/module/ui/screens/FollowersListScreen.js +0 -12
  777. package/lib/module/ui/screens/FollowersListScreen.js.map +0 -1
  778. package/lib/module/ui/screens/FollowingListScreen.js +0 -12
  779. package/lib/module/ui/screens/FollowingListScreen.js.map +0 -1
  780. package/lib/module/ui/screens/HelpSupportScreen.js +0 -118
  781. package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
  782. package/lib/module/ui/screens/HistoryViewScreen.js +0 -160
  783. package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
  784. package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -229
  785. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
  786. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +0 -122
  787. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
  788. package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -185
  789. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
  790. package/lib/module/ui/screens/ManageAccountScreen.js +0 -642
  791. package/lib/module/ui/screens/ManageAccountScreen.js.map +0 -1
  792. package/lib/module/ui/screens/NotificationsScreen.js +0 -145
  793. package/lib/module/ui/screens/NotificationsScreen.js.map +0 -1
  794. package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -273
  795. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
  796. package/lib/module/ui/screens/PreferencesScreen.js +0 -189
  797. package/lib/module/ui/screens/PreferencesScreen.js.map +0 -1
  798. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -953
  799. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  800. package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -496
  801. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
  802. package/lib/module/ui/screens/ProfileScreen.js +0 -468
  803. package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
  804. package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -127
  805. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
  806. package/lib/module/ui/screens/SearchSettingsScreen.js +0 -133
  807. package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
  808. package/lib/module/ui/screens/UserLinksScreen.js +0 -57
  809. package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
  810. package/lib/module/ui/screens/UserListScreen.js +0 -296
  811. package/lib/module/ui/screens/UserListScreen.js.map +0 -1
  812. package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -462
  813. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
  814. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +0 -59
  815. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
  816. package/lib/module/ui/screens/fileManagement/FileListSection.js +0 -116
  817. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +0 -1
  818. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +0 -548
  819. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
  820. package/lib/module/ui/screens/fileManagement/UploadBar.js +0 -80
  821. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +0 -1
  822. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -502
  823. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
  824. package/lib/module/ui/screens/fileManagement/photoGridLayout.js +0 -39
  825. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
  826. package/lib/module/ui/screens/fileManagement/shared.js +0 -70
  827. package/lib/module/ui/screens/fileManagement/shared.js.map +0 -1
  828. package/lib/module/ui/screens/linkFormat.js +0 -31
  829. package/lib/module/ui/screens/linkFormat.js.map +0 -1
  830. package/lib/module/ui/screens/trust/TrustAboutScreen.js +0 -89
  831. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +0 -1
  832. package/lib/module/ui/screens/trust/TrustCenterScreen.js +0 -180
  833. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +0 -1
  834. package/lib/module/ui/screens/trust/TrustFAQScreen.js +0 -81
  835. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +0 -1
  836. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +0 -217
  837. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
  838. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +0 -507
  839. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
  840. package/lib/module/ui/screens/trust/TrustRulesScreen.js +0 -90
  841. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +0 -1
  842. package/lib/module/ui/server.js +0 -56
  843. package/lib/module/ui/server.js.map +0 -1
  844. package/lib/module/ui/session/authStore.js +0 -35
  845. package/lib/module/ui/session/authStore.js.map +0 -1
  846. package/lib/module/ui/session/backgroundSession.js +0 -252
  847. package/lib/module/ui/session/backgroundSession.js.map +0 -1
  848. package/lib/module/ui/session/createSessionClient.js +0 -55
  849. package/lib/module/ui/session/createSessionClient.js.map +0 -1
  850. package/lib/module/ui/session/identityBinding.js +0 -89
  851. package/lib/module/ui/session/identityBinding.js.map +0 -1
  852. package/lib/module/ui/session/index.js +0 -21
  853. package/lib/module/ui/session/index.js.map +0 -1
  854. package/lib/module/ui/session/nativeSecureStorage.js +0 -88
  855. package/lib/module/ui/session/nativeSecureStorage.js.map +0 -1
  856. package/lib/module/ui/session/tokenTransport.js +0 -71
  857. package/lib/module/ui/session/tokenTransport.js.map +0 -1
  858. package/lib/module/ui/session/useBackgroundSessionSync.js +0 -76
  859. package/lib/module/ui/session/useBackgroundSessionSync.js.map +0 -1
  860. package/lib/module/ui/stores/accountStore.js +0 -213
  861. package/lib/module/ui/stores/accountStore.js.map +0 -1
  862. package/lib/module/ui/stores/assetStore.js +0 -212
  863. package/lib/module/ui/stores/assetStore.js.map +0 -1
  864. package/lib/module/ui/stores/authStore.js +0 -66
  865. package/lib/module/ui/stores/authStore.js.map +0 -1
  866. package/lib/module/ui/stores/followStore.js +0 -546
  867. package/lib/module/ui/stores/followStore.js.map +0 -1
  868. package/lib/module/ui/stores/followTargetStore.js +0 -143
  869. package/lib/module/ui/stores/followTargetStore.js.map +0 -1
  870. package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
  871. package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
  872. package/lib/module/ui/types/fileManagement.js +0 -4
  873. package/lib/module/ui/types/fileManagement.js.map +0 -1
  874. package/lib/module/ui/types/navigation.js +0 -4
  875. package/lib/module/ui/types/navigation.js.map +0 -1
  876. package/lib/module/ui/types/surfaceScreen.js +0 -4
  877. package/lib/module/ui/types/surfaceScreen.js.map +0 -1
  878. package/lib/module/ui/utils/avatarUtils.js +0 -73
  879. package/lib/module/ui/utils/avatarUtils.js.map +0 -1
  880. package/lib/module/ui/utils/colorUtils.js +0 -13
  881. package/lib/module/ui/utils/colorUtils.js.map +0 -1
  882. package/lib/module/ui/utils/commonsStoreLinks.js +0 -37
  883. package/lib/module/ui/utils/commonsStoreLinks.js.map +0 -1
  884. package/lib/module/ui/utils/deliveryPlatform.js +0 -55
  885. package/lib/module/ui/utils/deliveryPlatform.js.map +0 -1
  886. package/lib/module/ui/utils/deviceCredential.js +0 -18
  887. package/lib/module/ui/utils/deviceCredential.js.map +0 -1
  888. package/lib/module/ui/utils/errorHandlers.js +0 -129
  889. package/lib/module/ui/utils/errorHandlers.js.map +0 -1
  890. package/lib/module/ui/utils/fileManagement.js +0 -140
  891. package/lib/module/ui/utils/fileManagement.js.map +0 -1
  892. package/lib/module/ui/utils/iconNames.js +0 -124
  893. package/lib/module/ui/utils/iconNames.js.map +0 -1
  894. package/lib/module/ui/utils/isWebBrowser.js +0 -11
  895. package/lib/module/ui/utils/isWebBrowser.js.map +0 -1
  896. package/lib/module/ui/utils/netConnectivity.js +0 -23
  897. package/lib/module/ui/utils/netConnectivity.js.map +0 -1
  898. package/lib/module/ui/utils/oauthReturn.js +0 -122
  899. package/lib/module/ui/utils/oauthReturn.js.map +0 -1
  900. package/lib/module/ui/utils/sessionHelpers.js +0 -55
  901. package/lib/module/ui/utils/sessionHelpers.js.map +0 -1
  902. package/lib/module/ui/utils/storageHelpers.js +0 -111
  903. package/lib/module/ui/utils/storageHelpers.js.map +0 -1
  904. package/lib/module/ui/utils/userUtils.js +0 -63
  905. package/lib/module/ui/utils/userUtils.js.map +0 -1
  906. package/lib/module/utils/hookUtils.js +0 -403
  907. package/lib/module/utils/hookUtils.js.map +0 -1
  908. package/lib/module/webauthn/passkeyClient.js +0 -33
  909. package/lib/module/webauthn/passkeyClient.js.map +0 -1
  910. package/lib/module/webauthn/passkeyClient.native.js +0 -28
  911. package/lib/module/webauthn/passkeyClient.native.js.map +0 -1
  912. package/lib/module/webauthn/passkeyClient.web.js +0 -52
  913. package/lib/module/webauthn/passkeyClient.web.js.map +0 -1
  914. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -24
  915. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +0 -1
  916. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +0 -8
  917. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +0 -1
  918. package/lib/typescript/commonjs/index.d.ts +0 -106
  919. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  920. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +0 -192
  921. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +0 -1
  922. package/lib/typescript/commonjs/package.json +0 -1
  923. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +0 -60
  924. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +0 -1
  925. package/lib/typescript/commonjs/ui/client.d.ts +0 -30
  926. package/lib/typescript/commonjs/ui/client.d.ts.map +0 -1
  927. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +0 -4
  928. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +0 -1
  929. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -39
  930. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +0 -1
  931. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +0 -158
  932. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +0 -1
  933. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +0 -40
  934. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
  935. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +0 -54
  936. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +0 -1
  937. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +0 -59
  938. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +0 -1
  939. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +0 -45
  940. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +0 -1
  941. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +0 -11
  942. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +0 -1
  943. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +0 -29
  944. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +0 -1
  945. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +0 -40
  946. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +0 -1
  947. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -113
  948. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +0 -1
  949. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +0 -108
  950. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
  951. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +0 -59
  952. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +0 -1
  953. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +0 -33
  954. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +0 -1
  955. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +0 -55
  956. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +0 -1
  957. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -15
  958. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +0 -1
  959. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +0 -16
  960. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
  961. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +0 -23
  962. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +0 -1
  963. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
  964. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
  965. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -32
  966. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  967. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +0 -34
  968. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
  969. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -34
  970. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  971. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
  972. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
  973. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -55
  974. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +0 -1
  975. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +0 -63
  976. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
  977. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +0 -26
  978. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +0 -1
  979. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -209
  980. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +0 -1
  981. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +0 -109
  982. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +0 -1
  983. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
  984. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
  985. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +0 -5
  986. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +0 -1
  987. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +0 -46
  988. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +0 -1
  989. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +0 -9
  990. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
  991. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  992. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  993. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
  994. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
  995. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -16
  996. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
  997. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +0 -14
  998. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
  999. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
  1000. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
  1001. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
  1002. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
  1003. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +0 -22
  1004. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +0 -1
  1005. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +0 -22
  1006. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +0 -1
  1007. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +0 -26
  1008. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
  1009. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +0 -43
  1010. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +0 -1
  1011. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
  1012. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
  1013. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
  1014. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
  1015. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +0 -14
  1016. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
  1017. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +0 -16
  1018. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
  1019. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
  1020. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
  1021. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
  1022. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
  1023. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +0 -7
  1024. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +0 -1
  1025. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -389
  1026. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +0 -1
  1027. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +0 -40
  1028. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +0 -1
  1029. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
  1030. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
  1031. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +0 -6
  1032. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +0 -1
  1033. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +0 -3
  1034. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +0 -1
  1035. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
  1036. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
  1037. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +0 -6
  1038. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
  1039. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +0 -2
  1040. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
  1041. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +0 -20
  1042. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +0 -1
  1043. package/lib/typescript/commonjs/ui/constants/spacing.d.ts +0 -33
  1044. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +0 -1
  1045. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +0 -7
  1046. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +0 -1
  1047. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -39
  1048. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +0 -1
  1049. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +0 -74
  1050. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
  1051. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +0 -7
  1052. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +0 -1
  1053. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -211
  1054. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +0 -1
  1055. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -96
  1056. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
  1057. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +0 -32
  1058. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +0 -1
  1059. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -87
  1060. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
  1061. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -30
  1062. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
  1063. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
  1064. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
  1065. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
  1066. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
  1067. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +0 -138
  1068. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
  1069. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -137
  1070. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
  1071. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +0 -87
  1072. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
  1073. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +0 -212
  1074. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
  1075. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +0 -50
  1076. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
  1077. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
  1078. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
  1079. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
  1080. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
  1081. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +0 -44
  1082. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
  1083. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +0 -173
  1084. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
  1085. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
  1086. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
  1087. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -66
  1088. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
  1089. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +0 -35
  1090. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +0 -1
  1091. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +0 -51
  1092. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +0 -1
  1093. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -109
  1094. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +0 -1
  1095. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +0 -34
  1096. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +0 -1
  1097. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +0 -27
  1098. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +0 -1
  1099. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +0 -19
  1100. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
  1101. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +0 -29
  1102. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +0 -1
  1103. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +0 -108
  1104. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +0 -1
  1105. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +0 -35
  1106. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +0 -1
  1107. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +0 -50
  1108. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +0 -1
  1109. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +0 -5
  1110. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +0 -1
  1111. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +0 -69
  1112. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +0 -1
  1113. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +0 -23
  1114. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +0 -1
  1115. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +0 -14
  1116. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +0 -1
  1117. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +0 -8
  1118. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +0 -1
  1119. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +0 -42
  1120. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +0 -1
  1121. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
  1122. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
  1123. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +0 -14
  1124. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +0 -1
  1125. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +0 -48
  1126. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
  1127. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +0 -41
  1128. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +0 -1
  1129. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +0 -57
  1130. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +0 -1
  1131. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +0 -16
  1132. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +0 -1
  1133. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +0 -45
  1134. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
  1135. package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +0 -23
  1136. package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
  1137. package/lib/typescript/commonjs/ui/index.d.ts +0 -39
  1138. package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
  1139. package/lib/typescript/commonjs/ui/isFrontend.d.ts +0 -3
  1140. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +0 -1
  1141. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +0 -54
  1142. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +0 -1
  1143. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +0 -34
  1144. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +0 -1
  1145. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +0 -6
  1146. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +0 -1
  1147. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +0 -16
  1148. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
  1149. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +0 -75
  1150. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +0 -1
  1151. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +0 -194
  1152. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +0 -1
  1153. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +0 -110
  1154. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +0 -1
  1155. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +0 -56
  1156. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +0 -1
  1157. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +0 -49
  1158. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +0 -1
  1159. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +0 -50
  1160. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +0 -1
  1161. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +0 -83
  1162. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +0 -1
  1163. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +0 -67
  1164. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
  1165. package/lib/typescript/commonjs/ui/oauth/types.d.ts +0 -176
  1166. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +0 -1
  1167. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +0 -10
  1168. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +0 -1
  1169. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +0 -12
  1170. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  1171. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +0 -5
  1172. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
  1173. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +0 -5
  1174. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +0 -1
  1175. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +0 -58
  1176. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +0 -1
  1177. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +0 -38
  1178. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
  1179. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +0 -5
  1180. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
  1181. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +0 -11
  1182. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +0 -1
  1183. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +0 -13
  1184. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
  1185. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +0 -14
  1186. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +0 -1
  1187. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +0 -5
  1188. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +0 -1
  1189. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +0 -5
  1190. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +0 -1
  1191. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +0 -5
  1192. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +0 -1
  1193. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +0 -12
  1194. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +0 -1
  1195. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +0 -12
  1196. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +0 -1
  1197. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +0 -5
  1198. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +0 -1
  1199. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +0 -5
  1200. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +0 -1
  1201. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +0 -7
  1202. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
  1203. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
  1204. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
  1205. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +0 -5
  1206. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
  1207. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +0 -13
  1208. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +0 -1
  1209. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +0 -5
  1210. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +0 -1
  1211. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +0 -15
  1212. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
  1213. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +0 -5
  1214. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +0 -1
  1215. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  1216. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  1217. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +0 -5
  1218. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
  1219. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +0 -9
  1220. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +0 -1
  1221. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +0 -5
  1222. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  1223. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +0 -5
  1224. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
  1225. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
  1226. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
  1227. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +0 -18
  1228. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +0 -1
  1229. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
  1230. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
  1231. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
  1232. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
  1233. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +0 -40
  1234. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
  1235. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
  1236. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
  1237. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +0 -25
  1238. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
  1239. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
  1240. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
  1241. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
  1242. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
  1243. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +0 -38
  1244. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +0 -1
  1245. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +0 -23
  1246. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +0 -1
  1247. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
  1248. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
  1249. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
  1250. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
  1251. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
  1252. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
  1253. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
  1254. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
  1255. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
  1256. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
  1257. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
  1258. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
  1259. package/lib/typescript/commonjs/ui/server.d.ts +0 -36
  1260. package/lib/typescript/commonjs/ui/server.d.ts.map +0 -1
  1261. package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -25
  1262. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +0 -1
  1263. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +0 -42
  1264. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +0 -1
  1265. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +0 -40
  1266. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +0 -1
  1267. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +0 -66
  1268. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +0 -1
  1269. package/lib/typescript/commonjs/ui/session/index.d.ts +0 -20
  1270. package/lib/typescript/commonjs/ui/session/index.d.ts.map +0 -1
  1271. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +0 -25
  1272. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +0 -1
  1273. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +0 -33
  1274. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +0 -1
  1275. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +0 -23
  1276. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
  1277. package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +0 -27
  1278. package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +0 -1
  1279. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -54
  1280. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
  1281. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -17
  1282. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
  1283. package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -30
  1284. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
  1285. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -84
  1286. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
  1287. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
  1288. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
  1289. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +0 -51
  1290. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +0 -1
  1291. package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -127
  1292. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +0 -1
  1293. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +0 -38
  1294. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +0 -1
  1295. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -24
  1296. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
  1297. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +0 -10
  1298. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +0 -1
  1299. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +0 -24
  1300. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +0 -1
  1301. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +0 -33
  1302. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +0 -1
  1303. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +0 -8
  1304. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +0 -1
  1305. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +0 -35
  1306. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +0 -1
  1307. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -55
  1308. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +0 -1
  1309. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +0 -112
  1310. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +0 -1
  1311. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +0 -9
  1312. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +0 -1
  1313. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +0 -17
  1314. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +0 -1
  1315. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +0 -48
  1316. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +0 -1
  1317. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +0 -48
  1318. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +0 -1
  1319. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -28
  1320. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +0 -1
  1321. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +0 -23
  1322. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +0 -1
  1323. package/lib/typescript/commonjs/utils/hookUtils.d.ts +0 -102
  1324. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +0 -1
  1325. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +0 -20
  1326. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +0 -1
  1327. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +0 -15
  1328. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +0 -1
  1329. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +0 -36
  1330. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +0 -1
  1331. package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -24
  1332. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +0 -1
  1333. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +0 -8
  1334. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +0 -1
  1335. package/lib/typescript/module/index.d.ts +0 -106
  1336. package/lib/typescript/module/index.d.ts.map +0 -1
  1337. package/lib/typescript/module/notifications/deviceNotifications.d.ts +0 -192
  1338. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +0 -1
  1339. package/lib/typescript/module/package.json +0 -1
  1340. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +0 -60
  1341. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +0 -1
  1342. package/lib/typescript/module/ui/client.d.ts +0 -30
  1343. package/lib/typescript/module/ui/client.d.ts.map +0 -1
  1344. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +0 -4
  1345. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +0 -1
  1346. package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -39
  1347. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +0 -1
  1348. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +0 -158
  1349. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +0 -1
  1350. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +0 -40
  1351. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
  1352. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +0 -54
  1353. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +0 -1
  1354. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +0 -59
  1355. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +0 -1
  1356. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +0 -45
  1357. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +0 -1
  1358. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +0 -11
  1359. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +0 -1
  1360. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +0 -29
  1361. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +0 -1
  1362. package/lib/typescript/module/ui/components/OxyProvider.d.ts +0 -40
  1363. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +0 -1
  1364. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -113
  1365. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +0 -1
  1366. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +0 -108
  1367. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
  1368. package/lib/typescript/module/ui/components/ProfileButton.d.ts +0 -59
  1369. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +0 -1
  1370. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +0 -33
  1371. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +0 -1
  1372. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +0 -55
  1373. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +0 -1
  1374. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -15
  1375. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +0 -1
  1376. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +0 -16
  1377. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
  1378. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +0 -23
  1379. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +0 -1
  1380. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
  1381. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
  1382. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -32
  1383. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  1384. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +0 -34
  1385. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
  1386. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -34
  1387. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  1388. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
  1389. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
  1390. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -55
  1391. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +0 -1
  1392. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +0 -63
  1393. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
  1394. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +0 -26
  1395. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +0 -1
  1396. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -209
  1397. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +0 -1
  1398. package/lib/typescript/module/ui/components/authChooser/types.d.ts +0 -109
  1399. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +0 -1
  1400. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
  1401. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
  1402. package/lib/typescript/module/ui/components/feedback/constants.d.ts +0 -5
  1403. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +0 -1
  1404. package/lib/typescript/module/ui/components/feedback/types.d.ts +0 -46
  1405. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +0 -1
  1406. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +0 -9
  1407. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
  1408. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  1409. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  1410. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
  1411. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
  1412. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -16
  1413. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
  1414. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +0 -14
  1415. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
  1416. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
  1417. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
  1418. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
  1419. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
  1420. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +0 -22
  1421. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +0 -1
  1422. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +0 -22
  1423. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +0 -1
  1424. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +0 -26
  1425. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
  1426. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +0 -43
  1427. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +0 -1
  1428. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
  1429. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
  1430. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
  1431. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
  1432. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +0 -14
  1433. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
  1434. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +0 -16
  1435. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
  1436. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
  1437. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
  1438. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
  1439. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
  1440. package/lib/typescript/module/ui/components/payment/constants.d.ts +0 -7
  1441. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +0 -1
  1442. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -389
  1443. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +0 -1
  1444. package/lib/typescript/module/ui/components/payment/types.d.ts +0 -40
  1445. package/lib/typescript/module/ui/components/payment/types.d.ts.map +0 -1
  1446. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
  1447. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
  1448. package/lib/typescript/module/ui/components/styles/overlay.d.ts +0 -6
  1449. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +0 -1
  1450. package/lib/typescript/module/ui/components/styles/shadow.d.ts +0 -3
  1451. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +0 -1
  1452. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
  1453. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
  1454. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +0 -6
  1455. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
  1456. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +0 -2
  1457. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
  1458. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +0 -20
  1459. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +0 -1
  1460. package/lib/typescript/module/ui/constants/spacing.d.ts +0 -33
  1461. package/lib/typescript/module/ui/constants/spacing.d.ts.map +0 -1
  1462. package/lib/typescript/module/ui/context/OxyContext.d.ts +0 -7
  1463. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +0 -1
  1464. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -39
  1465. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +0 -1
  1466. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +0 -74
  1467. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
  1468. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +0 -7
  1469. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +0 -1
  1470. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -211
  1471. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +0 -1
  1472. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -96
  1473. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
  1474. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +0 -32
  1475. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +0 -1
  1476. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -87
  1477. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
  1478. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -30
  1479. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
  1480. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
  1481. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
  1482. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
  1483. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
  1484. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +0 -138
  1485. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
  1486. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -137
  1487. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
  1488. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +0 -87
  1489. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
  1490. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +0 -212
  1491. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
  1492. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +0 -50
  1493. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
  1494. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
  1495. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
  1496. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
  1497. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
  1498. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +0 -44
  1499. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
  1500. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +0 -173
  1501. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
  1502. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
  1503. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
  1504. package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -66
  1505. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
  1506. package/lib/typescript/module/ui/hooks/useAssets.d.ts +0 -35
  1507. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +0 -1
  1508. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +0 -51
  1509. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +0 -1
  1510. package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -109
  1511. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +0 -1
  1512. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +0 -34
  1513. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +0 -1
  1514. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +0 -27
  1515. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +0 -1
  1516. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +0 -19
  1517. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
  1518. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +0 -29
  1519. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +0 -1
  1520. package/lib/typescript/module/ui/hooks/useFollow.d.ts +0 -108
  1521. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +0 -1
  1522. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +0 -35
  1523. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +0 -1
  1524. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +0 -50
  1525. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +0 -1
  1526. package/lib/typescript/module/ui/hooks/useI18n.d.ts +0 -5
  1527. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +0 -1
  1528. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +0 -69
  1529. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +0 -1
  1530. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +0 -23
  1531. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +0 -1
  1532. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +0 -14
  1533. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +0 -1
  1534. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +0 -8
  1535. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +0 -1
  1536. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +0 -42
  1537. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +0 -1
  1538. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
  1539. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
  1540. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +0 -14
  1541. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +0 -1
  1542. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +0 -48
  1543. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
  1544. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +0 -41
  1545. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +0 -1
  1546. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +0 -57
  1547. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +0 -1
  1548. package/lib/typescript/module/ui/hooks/useStorage.d.ts +0 -16
  1549. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +0 -1
  1550. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +0 -45
  1551. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
  1552. package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +0 -23
  1553. package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
  1554. package/lib/typescript/module/ui/index.d.ts +0 -39
  1555. package/lib/typescript/module/ui/index.d.ts.map +0 -1
  1556. package/lib/typescript/module/ui/isFrontend.d.ts +0 -3
  1557. package/lib/typescript/module/ui/isFrontend.d.ts.map +0 -1
  1558. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +0 -54
  1559. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +0 -1
  1560. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +0 -34
  1561. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +0 -1
  1562. package/lib/typescript/module/ui/navigation/routes.d.ts +0 -6
  1563. package/lib/typescript/module/ui/navigation/routes.d.ts.map +0 -1
  1564. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +0 -16
  1565. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
  1566. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +0 -75
  1567. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +0 -1
  1568. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +0 -194
  1569. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +0 -1
  1570. package/lib/typescript/module/ui/navigation/surfaces.d.ts +0 -110
  1571. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +0 -1
  1572. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +0 -56
  1573. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +0 -1
  1574. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +0 -49
  1575. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +0 -1
  1576. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +0 -50
  1577. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +0 -1
  1578. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +0 -83
  1579. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +0 -1
  1580. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +0 -67
  1581. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
  1582. package/lib/typescript/module/ui/oauth/types.d.ts +0 -176
  1583. package/lib/typescript/module/ui/oauth/types.d.ts.map +0 -1
  1584. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +0 -10
  1585. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +0 -1
  1586. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +0 -12
  1587. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  1588. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +0 -5
  1589. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
  1590. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +0 -5
  1591. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +0 -1
  1592. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +0 -58
  1593. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +0 -1
  1594. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +0 -38
  1595. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
  1596. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +0 -5
  1597. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
  1598. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +0 -11
  1599. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +0 -1
  1600. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +0 -13
  1601. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
  1602. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +0 -14
  1603. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +0 -1
  1604. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +0 -5
  1605. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +0 -1
  1606. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +0 -5
  1607. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +0 -1
  1608. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +0 -5
  1609. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +0 -1
  1610. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +0 -12
  1611. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +0 -1
  1612. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +0 -12
  1613. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +0 -1
  1614. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +0 -5
  1615. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +0 -1
  1616. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +0 -5
  1617. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +0 -1
  1618. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +0 -7
  1619. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
  1620. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
  1621. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
  1622. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +0 -5
  1623. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
  1624. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +0 -13
  1625. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +0 -1
  1626. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +0 -5
  1627. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +0 -1
  1628. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +0 -15
  1629. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
  1630. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +0 -5
  1631. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +0 -1
  1632. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  1633. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  1634. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +0 -5
  1635. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
  1636. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +0 -9
  1637. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +0 -1
  1638. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +0 -5
  1639. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  1640. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +0 -5
  1641. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
  1642. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
  1643. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
  1644. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +0 -18
  1645. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +0 -1
  1646. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
  1647. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
  1648. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
  1649. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
  1650. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +0 -40
  1651. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
  1652. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
  1653. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
  1654. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +0 -25
  1655. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
  1656. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
  1657. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
  1658. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
  1659. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
  1660. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +0 -38
  1661. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +0 -1
  1662. package/lib/typescript/module/ui/screens/linkFormat.d.ts +0 -23
  1663. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +0 -1
  1664. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
  1665. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
  1666. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
  1667. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
  1668. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
  1669. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
  1670. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
  1671. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
  1672. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
  1673. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
  1674. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
  1675. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
  1676. package/lib/typescript/module/ui/server.d.ts +0 -36
  1677. package/lib/typescript/module/ui/server.d.ts.map +0 -1
  1678. package/lib/typescript/module/ui/session/authStore.d.ts +0 -25
  1679. package/lib/typescript/module/ui/session/authStore.d.ts.map +0 -1
  1680. package/lib/typescript/module/ui/session/backgroundSession.d.ts +0 -42
  1681. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +0 -1
  1682. package/lib/typescript/module/ui/session/createSessionClient.d.ts +0 -40
  1683. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +0 -1
  1684. package/lib/typescript/module/ui/session/identityBinding.d.ts +0 -66
  1685. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +0 -1
  1686. package/lib/typescript/module/ui/session/index.d.ts +0 -20
  1687. package/lib/typescript/module/ui/session/index.d.ts.map +0 -1
  1688. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +0 -25
  1689. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +0 -1
  1690. package/lib/typescript/module/ui/session/tokenTransport.d.ts +0 -33
  1691. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +0 -1
  1692. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +0 -23
  1693. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
  1694. package/lib/typescript/module/ui/stores/accountStore.d.ts +0 -27
  1695. package/lib/typescript/module/ui/stores/accountStore.d.ts.map +0 -1
  1696. package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -54
  1697. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
  1698. package/lib/typescript/module/ui/stores/authStore.d.ts +0 -17
  1699. package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
  1700. package/lib/typescript/module/ui/stores/followStore.d.ts +0 -30
  1701. package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
  1702. package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -84
  1703. package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
  1704. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
  1705. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
  1706. package/lib/typescript/module/ui/types/fileManagement.d.ts +0 -51
  1707. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +0 -1
  1708. package/lib/typescript/module/ui/types/navigation.d.ts +0 -127
  1709. package/lib/typescript/module/ui/types/navigation.d.ts.map +0 -1
  1710. package/lib/typescript/module/ui/types/surfaceScreen.d.ts +0 -38
  1711. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +0 -1
  1712. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -24
  1713. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
  1714. package/lib/typescript/module/ui/utils/colorUtils.d.ts +0 -10
  1715. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +0 -1
  1716. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +0 -24
  1717. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +0 -1
  1718. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +0 -33
  1719. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +0 -1
  1720. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +0 -8
  1721. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +0 -1
  1722. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +0 -35
  1723. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +0 -1
  1724. package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -55
  1725. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +0 -1
  1726. package/lib/typescript/module/ui/utils/iconNames.d.ts +0 -112
  1727. package/lib/typescript/module/ui/utils/iconNames.d.ts.map +0 -1
  1728. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +0 -9
  1729. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +0 -1
  1730. package/lib/typescript/module/ui/utils/netConnectivity.d.ts +0 -17
  1731. package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +0 -1
  1732. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +0 -48
  1733. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +0 -1
  1734. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +0 -48
  1735. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +0 -1
  1736. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -28
  1737. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +0 -1
  1738. package/lib/typescript/module/ui/utils/userUtils.d.ts +0 -23
  1739. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +0 -1
  1740. package/lib/typescript/module/utils/hookUtils.d.ts +0 -102
  1741. package/lib/typescript/module/utils/hookUtils.d.ts.map +0 -1
  1742. package/lib/typescript/module/webauthn/passkeyClient.d.ts +0 -20
  1743. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +0 -1
  1744. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +0 -15
  1745. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +0 -1
  1746. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +0 -36
  1747. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +0 -1
  1748. package/lib/typescript/nativewind-env.d.ts +0 -1
  1749. package/lib/typescript/types/expo-crypto.d.ts +0 -29
  1750. package/lib/typescript/types/expo-document-picker.d.ts +0 -36
  1751. package/lib/typescript/types/expo-haptics.d.ts +0 -42
  1752. package/lib/typescript/types/expo-image-picker.d.ts +0 -35
  1753. package/lib/typescript/types/expo-secure-store.d.ts +0 -22
  1754. package/lib/typescript/types/express.d.ts +0 -24
  1755. package/lib/typescript/types/react-native-classname.d.ts +0 -39
  1756. package/lib/typescript/types/react-native-web-style.d.ts +0 -27
  1757. package/src/ui/hooks/useSwitchableAccounts.ts +0 -75
  1758. package/src/ui/stores/accountStore.ts +0 -264
@@ -1,103 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * Avatar Picker Hook
5
- *
6
- * The ONE write path for a user's profile picture. It owns no UI: the whole
7
- * choose-and-crop experience is a single surface.
8
- *
9
- * Flow (typed promise over the shared surface stack — no callback props):
10
- * 1. `openWithinOrPresent('ChangeAvatar')` opens the source list (device gallery,
11
- * camera, existing Oxy files, remove) — MORPHING into the caller's surface
12
- * when one is open, else presenting cold. Whichever source the user picks, it
13
- * navigates WITHIN to the crop editor — so there is exactly one cropper and
14
- * one entry into it.
15
- * 2. The surface resolves with the cropped JPEG, with `{ removed: true }` when
16
- * the user removed their photo, or `undefined` when they cancelled.
17
- * 3. A crop is uploaded as a NEW file via `oxyServices.assetUpload` and set as
18
- * the avatar; a removal clears the avatar field.
19
- *
20
- * `expo-image-manipulator` is required for the crop step and `expo-image-picker`
21
- * for the device/camera sources (both declared as optional peers in the
22
- * consuming app) — see AvatarCropScreen / ChangeAvatarScreen.
23
- */
24
-
25
- import { useCallback } from 'react';
26
- import { translate, updateAvatarVisibility } from '@oxyhq/core';
27
- import { toast } from '@oxyhq/bloom/toast';
28
- import { updateProfileWithAvatar } from "../utils/avatarUtils.js";
29
- import { openWithinOrPresent } from "../navigation/surfaces.js";
30
-
31
- /** Upload result shape returned by oxyServices.assetUpload (single-file path). */
32
-
33
- function extractUploadedFileId(result) {
34
- if (!result) return undefined;
35
- if (typeof result.id === 'string') return result.id;
36
- if (result.file?.id) return result.file.id;
37
- const first = result.files?.[0];
38
- if (first?.id) return first.id;
39
- return undefined;
40
- }
41
- export function useAvatarPicker({
42
- oxyServices,
43
- currentLanguage,
44
- activeSessionId,
45
- queryClient
46
- }) {
47
- /**
48
- * Final step: take the cropped JPEG, upload it as a new public file, then
49
- * set it as the user's avatar. Fires success/error toasts.
50
- */
51
- const finalizeCroppedAvatar = useCallback(async cropped => {
52
- try {
53
- const uploadResult = await oxyServices.assetUpload({
54
- uri: cropped.uri,
55
- type: cropped.mime,
56
- name: `avatar-${Date.now()}.jpg`
57
- }, 'public');
58
- const newFileId = extractUploadedFileId(uploadResult);
59
- if (!newFileId) {
60
- throw new Error('Avatar upload succeeded but no file ID was returned');
61
- }
62
- await updateAvatarVisibility(newFileId, oxyServices, 'useAvatarPicker');
63
- await updateProfileWithAvatar({
64
- avatar: newFileId
65
- }, oxyServices, activeSessionId, queryClient);
66
- toast.success(translate(currentLanguage ?? undefined, 'editProfile.toasts.avatarUpdated') || 'Avatar updated');
67
- } catch (e) {
68
- const message = e instanceof Error ? e.message : undefined;
69
- toast.error(message || translate(currentLanguage ?? undefined, 'editProfile.toasts.updateAvatarFailed') || 'Failed to update avatar');
70
- }
71
- }, [activeSessionId, currentLanguage, oxyServices, queryClient]);
72
-
73
- /** Clear the avatar so the profile falls back to the user's initials. */
74
- const removeAvatar = useCallback(async () => {
75
- try {
76
- await updateProfileWithAvatar({
77
- avatar: ''
78
- }, oxyServices, activeSessionId, queryClient);
79
- toast.success(translate(currentLanguage ?? undefined, 'editProfile.toasts.avatarRemoved'));
80
- } catch (e) {
81
- const message = e instanceof Error ? e.message : undefined;
82
- toast.error(message || translate(currentLanguage ?? undefined, 'editProfile.toasts.updateAvatarFailed'));
83
- }
84
- }, [activeSessionId, currentLanguage, oxyServices, queryClient]);
85
- const openAvatarPicker = useCallback(async () => {
86
- // The source list + crop editor are ONE flow. When triggered from a screen
87
- // already inside a surface (EditProfile, ManageAccount, WelcomeNewUser — every
88
- // current entry point), it MORPHS into that surface and pops back on finish;
89
- // triggered with no surface open it presents cold. Either way it resolves with
90
- // the cropped JPEG, a removal, or `undefined` when the user backs out.
91
- const result = await openWithinOrPresent('ChangeAvatar');
92
- if (!result) return;
93
- if ('removed' in result) {
94
- await removeAvatar();
95
- return;
96
- }
97
- await finalizeCroppedAvatar(result);
98
- }, [finalizeCroppedAvatar, removeAvatar]);
99
- return {
100
- openAvatarPicker
101
- };
102
- }
103
- //# sourceMappingURL=useAvatarPicker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useCallback","translate","updateAvatarVisibility","toast","updateProfileWithAvatar","openWithinOrPresent","extractUploadedFileId","result","undefined","id","file","first","files","useAvatarPicker","oxyServices","currentLanguage","activeSessionId","queryClient","finalizeCroppedAvatar","cropped","uploadResult","assetUpload","uri","type","mime","name","Date","now","newFileId","Error","avatar","success","e","message","error","removeAvatar","openAvatarPicker"],"sourceRoot":"../../../../src","sources":["ui/hooks/useAvatarPicker.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,SAAS,EAAEC,sBAAsB,QAAQ,aAAa;AAE/D,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,uBAAuB,QAAQ,yBAAsB;AAC9D,SAASC,mBAAmB,QAAQ,2BAAwB;;AAU5D;;AAOA,SAASC,qBAAqBA,CAACC,MAAqC,EAAsB;EACxF,IAAI,CAACA,MAAM,EAAE,OAAOC,SAAS;EAC7B,IAAI,OAAOD,MAAM,CAACE,EAAE,KAAK,QAAQ,EAAE,OAAOF,MAAM,CAACE,EAAE;EACnD,IAAIF,MAAM,CAACG,IAAI,EAAED,EAAE,EAAE,OAAOF,MAAM,CAACG,IAAI,CAACD,EAAE;EAC1C,MAAME,KAAK,GAAGJ,MAAM,CAACK,KAAK,GAAG,CAAC,CAAC;EAC/B,IAAID,KAAK,EAAEF,EAAE,EAAE,OAAOE,KAAK,CAACF,EAAE;EAC9B,OAAOD,SAAS;AAClB;AAEA,OAAO,SAASK,eAAeA,CAAC;EAC9BC,WAAW;EACXC,eAAe;EACfC,eAAe;EACfC;AACsB,CAAC,EAAE;EACzB;AACF;AACA;AACA;EACE,MAAMC,qBAAqB,GAAGlB,WAAW,CACvC,MAAOmB,OAAyB,IAAK;IACnC,IAAI;MACF,MAAMC,YAAY,GAAI,MAAMN,WAAW,CAACO,WAAW,CACjD;QACEC,GAAG,EAAEH,OAAO,CAACG,GAAG;QAChBC,IAAI,EAAEJ,OAAO,CAACK,IAAI;QAClBC,IAAI,EAAE,UAAUC,IAAI,CAACC,GAAG,CAAC,CAAC;MAC5B,CAAC,EACD,QACF,CAAuB;MAEvB,MAAMC,SAAS,GAAGtB,qBAAqB,CAACc,YAAY,CAAC;MACrD,IAAI,CAACQ,SAAS,EAAE;QACd,MAAM,IAAIC,KAAK,CAAC,qDAAqD,CAAC;MACxE;MAEA,MAAM3B,sBAAsB,CAAC0B,SAAS,EAAEd,WAAW,EAAE,iBAAiB,CAAC;MACvE,MAAMV,uBAAuB,CAC3B;QAAE0B,MAAM,EAAEF;MAAU,CAAC,EACrBd,WAAW,EACXE,eAAe,EACfC,WACF,CAAC;MAEDd,KAAK,CAAC4B,OAAO,CACX9B,SAAS,CAACc,eAAe,IAAIP,SAAS,EAAE,kCAAkC,CAAC,IACzE,gBACJ,CAAC;IACH,CAAC,CAAC,OAAOwB,CAAU,EAAE;MACnB,MAAMC,OAAO,GAAGD,CAAC,YAAYH,KAAK,GAAGG,CAAC,CAACC,OAAO,GAAGzB,SAAS;MAC1DL,KAAK,CAAC+B,KAAK,CACTD,OAAO,IACLhC,SAAS,CAACc,eAAe,IAAIP,SAAS,EAAE,uCAAuC,CAAC,IAChF,yBACJ,CAAC;IACH;EACF,CAAC,EACD,CAACQ,eAAe,EAAED,eAAe,EAAED,WAAW,EAAEG,WAAW,CAC7D,CAAC;;EAED;EACA,MAAMkB,YAAY,GAAGnC,WAAW,CAAC,YAAY;IAC3C,IAAI;MACF,MAAMI,uBAAuB,CAAC;QAAE0B,MAAM,EAAE;MAAG,CAAC,EAAEhB,WAAW,EAAEE,eAAe,EAAEC,WAAW,CAAC;MACxFd,KAAK,CAAC4B,OAAO,CACX9B,SAAS,CAACc,eAAe,IAAIP,SAAS,EAAE,kCAAkC,CAC5E,CAAC;IACH,CAAC,CAAC,OAAOwB,CAAU,EAAE;MACnB,MAAMC,OAAO,GAAGD,CAAC,YAAYH,KAAK,GAAGG,CAAC,CAACC,OAAO,GAAGzB,SAAS;MAC1DL,KAAK,CAAC+B,KAAK,CACTD,OAAO,IACLhC,SAAS,CAACc,eAAe,IAAIP,SAAS,EAAE,uCAAuC,CACnF,CAAC;IACH;EACF,CAAC,EAAE,CAACQ,eAAe,EAAED,eAAe,EAAED,WAAW,EAAEG,WAAW,CAAC,CAAC;EAEhE,MAAMmB,gBAAgB,GAAGpC,WAAW,CAAC,YAAY;IAC/C;IACA;IACA;IACA;IACA;IACA,MAAMO,MAAM,GAAG,MAAMF,mBAAmB,CAAC,cAAc,CAAC;IACxD,IAAI,CAACE,MAAM,EAAE;IACb,IAAI,SAAS,IAAIA,MAAM,EAAE;MACvB,MAAM4B,YAAY,CAAC,CAAC;MACpB;IACF;IACA,MAAMjB,qBAAqB,CAACX,MAAM,CAAC;EACrC,CAAC,EAAE,CAACW,qBAAqB,EAAEiB,YAAY,CAAC,CAAC;EAEzC,OAAO;IAAEC;EAAiB,CAAC;AAC7B","ignoreList":[]}
@@ -1,68 +0,0 @@
1
- "use strict";
2
-
3
- import { useCallback } from 'react';
4
- import { DeviceManager } from '@oxyhq/core';
5
- import { handleAuthError } from "../utils/errorHandlers.js";
6
- /**
7
- * Provide device session management helpers tied to the current active session.
8
- *
9
- * @param options - Device management configuration
10
- */
11
- export const useDeviceManagement = ({
12
- oxyServices,
13
- activeSessionId,
14
- onError,
15
- clearSessionState,
16
- logger
17
- }) => {
18
- const getDeviceSessions = useCallback(async () => {
19
- if (!activeSessionId) throw new Error('No active session');
20
- try {
21
- return await oxyServices.getDeviceSessions(activeSessionId);
22
- } catch (error) {
23
- handleAuthError(error, {
24
- defaultMessage: 'Failed to get device sessions',
25
- code: 'GET_DEVICE_SESSIONS_ERROR',
26
- onError,
27
- logger
28
- });
29
- throw error instanceof Error ? error : new Error('Failed to get device sessions');
30
- }
31
- }, [activeSessionId, logger, onError, oxyServices]);
32
- const logoutAllDeviceSessions = useCallback(async () => {
33
- if (!activeSessionId) throw new Error('No active session');
34
- try {
35
- await oxyServices.logoutAllDeviceSessions(activeSessionId);
36
- await clearSessionState();
37
- } catch (error) {
38
- handleAuthError(error, {
39
- defaultMessage: 'Failed to logout all device sessions',
40
- code: 'LOGOUT_ALL_DEVICES_ERROR',
41
- onError,
42
- logger
43
- });
44
- throw error instanceof Error ? error : new Error('Failed to logout all device sessions');
45
- }
46
- }, [activeSessionId, clearSessionState, logger, onError, oxyServices]);
47
- const updateDeviceName = useCallback(async deviceName => {
48
- if (!activeSessionId) throw new Error('No active session');
49
- try {
50
- await oxyServices.updateDeviceName(activeSessionId, deviceName);
51
- await DeviceManager.updateDeviceName(deviceName);
52
- } catch (error) {
53
- handleAuthError(error, {
54
- defaultMessage: 'Failed to update device name',
55
- code: 'UPDATE_DEVICE_NAME_ERROR',
56
- onError,
57
- logger
58
- });
59
- throw error instanceof Error ? error : new Error('Failed to update device name');
60
- }
61
- }, [activeSessionId, logger, onError, oxyServices]);
62
- return {
63
- getDeviceSessions,
64
- logoutAllDeviceSessions,
65
- updateDeviceName
66
- };
67
- };
68
- //# sourceMappingURL=useDeviceManagement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useCallback","DeviceManager","handleAuthError","useDeviceManagement","oxyServices","activeSessionId","onError","clearSessionState","logger","getDeviceSessions","Error","error","defaultMessage","code","logoutAllDeviceSessions","updateDeviceName","deviceName"],"sourceRoot":"../../../../src","sources":["ui/hooks/useDeviceManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,aAAa,QAAQ,aAAa;AAE3C,SAASC,eAAe,QAAQ,2BAAwB;AAwBxD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,eAAe;EACfC,OAAO;EACPC,iBAAiB;EACjBC;AAC0B,CAAC,KAAgC;EAC3D,MAAMC,iBAAiB,GAAGT,WAAW,CAAC,YAQjC;IACH,IAAI,CAACK,eAAe,EAAE,MAAM,IAAIK,KAAK,CAAC,mBAAmB,CAAC;IAC1D,IAAI;MACF,OAAO,MAAMN,WAAW,CAACK,iBAAiB,CAACJ,eAAe,CAAC;IAC7D,CAAC,CAAC,OAAOM,KAAK,EAAE;MACdT,eAAe,CAACS,KAAK,EAAE;QACrBC,cAAc,EAAE,+BAA+B;QAC/CC,IAAI,EAAE,2BAA2B;QACjCP,OAAO;QACPE;MACF,CAAC,CAAC;MACF,MAAMG,KAAK,YAAYD,KAAK,GAAGC,KAAK,GAAG,IAAID,KAAK,CAAC,+BAA+B,CAAC;IACnF;EACF,CAAC,EAAE,CAACL,eAAe,EAAEG,MAAM,EAAEF,OAAO,EAAEF,WAAW,CAAC,CAAC;EAEnD,MAAMU,uBAAuB,GAAGd,WAAW,CAAC,YAA2B;IACrE,IAAI,CAACK,eAAe,EAAE,MAAM,IAAIK,KAAK,CAAC,mBAAmB,CAAC;IAE1D,IAAI;MACF,MAAMN,WAAW,CAACU,uBAAuB,CAACT,eAAe,CAAC;MAC1D,MAAME,iBAAiB,CAAC,CAAC;IAC3B,CAAC,CAAC,OAAOI,KAAK,EAAE;MACdT,eAAe,CAACS,KAAK,EAAE;QACrBC,cAAc,EAAE,sCAAsC;QACtDC,IAAI,EAAE,0BAA0B;QAChCP,OAAO;QACPE;MACF,CAAC,CAAC;MACF,MAAMG,KAAK,YAAYD,KAAK,GAAGC,KAAK,GAAG,IAAID,KAAK,CAAC,sCAAsC,CAAC;IAC1F;EACF,CAAC,EAAE,CAACL,eAAe,EAAEE,iBAAiB,EAAEC,MAAM,EAAEF,OAAO,EAAEF,WAAW,CAAC,CAAC;EAEtE,MAAMW,gBAAgB,GAAGf,WAAW,CAClC,MAAOgB,UAAkB,IAAoB;IAC3C,IAAI,CAACX,eAAe,EAAE,MAAM,IAAIK,KAAK,CAAC,mBAAmB,CAAC;IAE1D,IAAI;MACF,MAAMN,WAAW,CAACW,gBAAgB,CAACV,eAAe,EAAEW,UAAU,CAAC;MAC/D,MAAMf,aAAa,CAACc,gBAAgB,CAACC,UAAU,CAAC;IAClD,CAAC,CAAC,OAAOL,KAAK,EAAE;MACdT,eAAe,CAACS,KAAK,EAAE;QACrBC,cAAc,EAAE,8BAA8B;QAC9CC,IAAI,EAAE,0BAA0B;QAChCP,OAAO;QACPE;MACF,CAAC,CAAC;MACF,MAAMG,KAAK,YAAYD,KAAK,GAAGC,KAAK,GAAG,IAAID,KAAK,CAAC,8BAA8B,CAAC;IAClF;EACF,CAAC,EACD,CAACL,eAAe,EAAEG,MAAM,EAAEF,OAAO,EAAEF,WAAW,CAChD,CAAC;EAED,OAAO;IACLK,iBAAiB;IACjBK,uBAAuB;IACvBC;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- import { useEffect, useState } from 'react';
4
- /**
5
- * Hook to resolve a file's download URL asynchronously.
6
- *
7
- * Uses `getFileDownloadUrlAsync`, which returns a scoped media-token stream URL
8
- * for private assets. There is no sync CDN fallback — the synchronous
9
- * `getFileDownloadUrl` is public-CDN-only and 404s for private uploads.
10
- */
11
- export const useFileDownloadUrl = (oxyServices, fileId, options) => {
12
- const [url, setUrl] = useState(null);
13
- const [loading, setLoading] = useState(false);
14
- const [error, setError] = useState(null);
15
- const variant = options?.variant;
16
- const expiresIn = options?.expiresIn;
17
- useEffect(() => {
18
- if (!fileId) {
19
- setUrl(null);
20
- setLoading(false);
21
- setError(null);
22
- return;
23
- }
24
- if (!oxyServices) {
25
- setUrl(null);
26
- setLoading(false);
27
- setError(new Error('OxyServices instance not configured for useFileDownloadUrl'));
28
- return;
29
- }
30
- let cancelled = false;
31
- const instance = oxyServices;
32
- const targetFileId = fileId;
33
- const load = async () => {
34
- setLoading(true);
35
- setError(null);
36
- try {
37
- if (typeof instance.getFileDownloadUrlAsync !== 'function') {
38
- throw new Error('getFileDownloadUrlAsync is not available on this OxyServices instance');
39
- }
40
- const resolvedUrl = await instance.getFileDownloadUrlAsync(targetFileId, variant, expiresIn);
41
- if (!cancelled) {
42
- setUrl(resolvedUrl || null);
43
- }
44
- } catch (err) {
45
- if (!cancelled) {
46
- setUrl(null);
47
- setError(err instanceof Error ? err : new Error(String(err)));
48
- }
49
- } finally {
50
- if (!cancelled) {
51
- setLoading(false);
52
- }
53
- }
54
- };
55
- load();
56
- return () => {
57
- cancelled = true;
58
- };
59
- }, [fileId, oxyServices, variant, expiresIn]);
60
- return {
61
- url,
62
- loading,
63
- error
64
- };
65
- };
66
- //# sourceMappingURL=useFileDownloadUrl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useEffect","useState","useFileDownloadUrl","oxyServices","fileId","options","url","setUrl","loading","setLoading","error","setError","variant","expiresIn","Error","cancelled","instance","targetFileId","load","getFileDownloadUrlAsync","resolvedUrl","err","String"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFileDownloadUrl.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAc3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAGA,CAChCC,WAA2C,EAC3CC,MAAiC,EACjCC,OAAmC,KACN;EAC7B,MAAM,CAACC,GAAG,EAAEC,MAAM,CAAC,GAAGN,QAAQ,CAAgB,IAAI,CAAC;EACnD,MAAM,CAACO,OAAO,EAAEC,UAAU,CAAC,GAAGR,QAAQ,CAAC,KAAK,CAAC;EAC7C,MAAM,CAACS,KAAK,EAAEC,QAAQ,CAAC,GAAGV,QAAQ,CAAe,IAAI,CAAC;EAEtD,MAAMW,OAAO,GAAGP,OAAO,EAAEO,OAAO;EAChC,MAAMC,SAAS,GAAGR,OAAO,EAAEQ,SAAS;EAEpCb,SAAS,CAAC,MAAM;IACd,IAAI,CAACI,MAAM,EAAE;MACXG,MAAM,CAAC,IAAI,CAAC;MACZE,UAAU,CAAC,KAAK,CAAC;MACjBE,QAAQ,CAAC,IAAI,CAAC;MACd;IACF;IAEA,IAAI,CAACR,WAAW,EAAE;MAChBI,MAAM,CAAC,IAAI,CAAC;MACZE,UAAU,CAAC,KAAK,CAAC;MACjBE,QAAQ,CAAC,IAAIG,KAAK,CAAC,4DAA4D,CAAC,CAAC;MACjF;IACF;IAEA,IAAIC,SAAS,GAAG,KAAK;IACrB,MAAMC,QAAQ,GAAGb,WAAW;IAC5B,MAAMc,YAAY,GAAGb,MAAM;IAE3B,MAAMc,IAAI,GAAG,MAAAA,CAAA,KAAY;MACvBT,UAAU,CAAC,IAAI,CAAC;MAChBE,QAAQ,CAAC,IAAI,CAAC;MAEd,IAAI;QACF,IAAI,OAAOK,QAAQ,CAACG,uBAAuB,KAAK,UAAU,EAAE;UAC1D,MAAM,IAAIL,KAAK,CAAC,uEAAuE,CAAC;QAC1F;QAEA,MAAMM,WAAW,GAAG,MAAMJ,QAAQ,CAACG,uBAAuB,CAACF,YAAY,EAAEL,OAAO,EAAEC,SAAS,CAAC;QAE5F,IAAI,CAACE,SAAS,EAAE;UACdR,MAAM,CAACa,WAAW,IAAI,IAAI,CAAC;QAC7B;MACF,CAAC,CAAC,OAAOC,GAAY,EAAE;QACrB,IAAI,CAACN,SAAS,EAAE;UACdR,MAAM,CAAC,IAAI,CAAC;UACZI,QAAQ,CAACU,GAAG,YAAYP,KAAK,GAAGO,GAAG,GAAG,IAAIP,KAAK,CAACQ,MAAM,CAACD,GAAG,CAAC,CAAC,CAAC;QAC/D;MACF,CAAC,SAAS;QACR,IAAI,CAACN,SAAS,EAAE;UACdN,UAAU,CAAC,KAAK,CAAC;QACnB;MACF;IACF,CAAC;IAEDS,IAAI,CAAC,CAAC;IAEN,OAAO,MAAM;MACXH,SAAS,GAAG,IAAI;IAClB,CAAC;EACH,CAAC,EAAE,CAACX,MAAM,EAAED,WAAW,EAAES,OAAO,EAAEC,SAAS,CAAC,CAAC;EAE7C,OAAO;IAAEP,GAAG;IAAEE,OAAO;IAAEE;EAAM,CAAC;AAChC,CAAC","ignoreList":[]}
@@ -1,72 +0,0 @@
1
- "use strict";
2
-
3
- import { useMemo, useState, useCallback } from 'react';
4
- /**
5
- * Hook for file filtering, sorting, and search functionality
6
- * Extracts common file management logic for reuse across components
7
- */
8
- export function useFileFiltering({
9
- files,
10
- initialViewMode = 'all',
11
- initialSortBy = 'date',
12
- initialSortOrder = 'desc'
13
- }) {
14
- const [viewMode, setViewMode] = useState(initialViewMode);
15
- const [searchQuery, setSearchQuery] = useState('');
16
- const [sortBy, setSortBy] = useState(initialSortBy);
17
- const [sortOrder, setSortOrder] = useState(initialSortOrder);
18
- const toggleSortOrder = useCallback(() => {
19
- setSortOrder(prev => prev === 'asc' ? 'desc' : 'asc');
20
- }, []);
21
- const filteredFiles = useMemo(() => {
22
- // Filter by view mode
23
- let filteredByMode = files;
24
- if (viewMode === 'photos') {
25
- filteredByMode = files.filter(file => file.contentType.startsWith('image/'));
26
- } else if (viewMode === 'videos') {
27
- filteredByMode = files.filter(file => file.contentType.startsWith('video/'));
28
- } else if (viewMode === 'documents') {
29
- filteredByMode = files.filter(file => file.contentType.includes('pdf') || file.contentType.includes('document') || file.contentType.includes('text') || file.contentType.includes('msword') || file.contentType.includes('excel') || file.contentType.includes('spreadsheet') || file.contentType.includes('presentation') || file.contentType.includes('powerpoint'));
30
- } else if (viewMode === 'audio') {
31
- filteredByMode = files.filter(file => file.contentType.startsWith('audio/'));
32
- }
33
-
34
- // Filter by search query
35
- let filtered = filteredByMode;
36
- if (searchQuery.trim()) {
37
- const query = searchQuery.toLowerCase();
38
- filtered = filteredByMode.filter(file => file.filename.toLowerCase().includes(query) || file.contentType.toLowerCase().includes(query) || file.metadata?.description?.toLowerCase().includes(query));
39
- }
40
-
41
- // Sort files
42
- const sorted = [...filtered].sort((a, b) => {
43
- let comparison = 0;
44
- if (sortBy === 'date') {
45
- const dateA = new Date(a.uploadDate || 0).getTime();
46
- const dateB = new Date(b.uploadDate || 0).getTime();
47
- comparison = dateA - dateB;
48
- } else if (sortBy === 'size') {
49
- comparison = (a.length || 0) - (b.length || 0);
50
- } else if (sortBy === 'name') {
51
- comparison = (a.filename || '').localeCompare(b.filename || '');
52
- } else if (sortBy === 'type') {
53
- comparison = (a.contentType || '').localeCompare(b.contentType || '');
54
- }
55
- return sortOrder === 'asc' ? comparison : -comparison;
56
- });
57
- return sorted;
58
- }, [files, searchQuery, viewMode, sortBy, sortOrder]);
59
- return {
60
- filteredFiles,
61
- viewMode,
62
- setViewMode,
63
- searchQuery,
64
- setSearchQuery,
65
- sortBy,
66
- setSortBy,
67
- sortOrder,
68
- setSortOrder,
69
- toggleSortOrder
70
- };
71
- }
72
- //# sourceMappingURL=useFileFiltering.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useMemo","useState","useCallback","useFileFiltering","files","initialViewMode","initialSortBy","initialSortOrder","viewMode","setViewMode","searchQuery","setSearchQuery","sortBy","setSortBy","sortOrder","setSortOrder","toggleSortOrder","prev","filteredFiles","filteredByMode","filter","file","contentType","startsWith","includes","filtered","trim","query","toLowerCase","filename","metadata","description","sorted","sort","a","b","comparison","dateA","Date","uploadDate","getTime","dateB","length","localeCompare"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFileFiltering.ts"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AA2BtD;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAAC;EAC/BC,KAAK;EACLC,eAAe,GAAG,KAAK;EACvBC,aAAa,GAAG,MAAM;EACtBC,gBAAgB,GAAG;AACI,CAAC,EAA0B;EAClD,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAGR,QAAQ,CAAWI,eAAe,CAAC;EACnE,MAAM,CAACK,WAAW,EAAEC,cAAc,CAAC,GAAGV,QAAQ,CAAC,EAAE,CAAC;EAClD,MAAM,CAACW,MAAM,EAAEC,SAAS,CAAC,GAAGZ,QAAQ,CAASK,aAAa,CAAC;EAC3D,MAAM,CAACQ,SAAS,EAAEC,YAAY,CAAC,GAAGd,QAAQ,CAAYM,gBAAgB,CAAC;EAEvE,MAAMS,eAAe,GAAGd,WAAW,CAAC,MAAM;IACxCa,YAAY,CAAEE,IAAI,IAAMA,IAAI,KAAK,KAAK,GAAG,MAAM,GAAG,KAAM,CAAC;EAC3D,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,aAAa,GAAGlB,OAAO,CAAC,MAAM;IAClC;IACA,IAAImB,cAAc,GAAGf,KAAK;IAC1B,IAAII,QAAQ,KAAK,QAAQ,EAAE;MACzBW,cAAc,GAAGf,KAAK,CAACgB,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACC,WAAW,CAACC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAChF,CAAC,MAAM,IAAIf,QAAQ,KAAK,QAAQ,EAAE;MAChCW,cAAc,GAAGf,KAAK,CAACgB,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACC,WAAW,CAACC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAChF,CAAC,MAAM,IAAIf,QAAQ,KAAK,WAAW,EAAE;MACnCW,cAAc,GAAGf,KAAK,CAACgB,MAAM,CAC1BC,IAAI,IACHA,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,KAAK,CAAC,IAChCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,UAAU,CAAC,IACrCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,MAAM,CAAC,IACjCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,QAAQ,CAAC,IACnCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,OAAO,CAAC,IAClCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,aAAa,CAAC,IACxCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,cAAc,CAAC,IACzCH,IAAI,CAACC,WAAW,CAACE,QAAQ,CAAC,YAAY,CAC1C,CAAC;IACH,CAAC,MAAM,IAAIhB,QAAQ,KAAK,OAAO,EAAE;MAC/BW,cAAc,GAAGf,KAAK,CAACgB,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACC,WAAW,CAACC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAChF;;IAEA;IACA,IAAIE,QAAQ,GAAGN,cAAc;IAC7B,IAAIT,WAAW,CAACgB,IAAI,CAAC,CAAC,EAAE;MACtB,MAAMC,KAAK,GAAGjB,WAAW,CAACkB,WAAW,CAAC,CAAC;MACvCH,QAAQ,GAAGN,cAAc,CAACC,MAAM,CAC7BC,IAAI,IACHA,IAAI,CAACQ,QAAQ,CAACD,WAAW,CAAC,CAAC,CAACJ,QAAQ,CAACG,KAAK,CAAC,IAC3CN,IAAI,CAACC,WAAW,CAACM,WAAW,CAAC,CAAC,CAACJ,QAAQ,CAACG,KAAK,CAAC,IAC7CN,IAAI,CAACS,QAAQ,EAAEC,WAAW,EAAEH,WAAW,CAAC,CAAC,CAACJ,QAAQ,CAACG,KAAK,CAC7D,CAAC;IACH;;IAEA;IACA,MAAMK,MAAM,GAAG,CAAC,GAAGP,QAAQ,CAAC,CAACQ,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAK;MAC1C,IAAIC,UAAU,GAAG,CAAC;MAClB,IAAIxB,MAAM,KAAK,MAAM,EAAE;QACrB,MAAMyB,KAAK,GAAG,IAAIC,IAAI,CAACJ,CAAC,CAACK,UAAU,IAAI,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC;QACnD,MAAMC,KAAK,GAAG,IAAIH,IAAI,CAACH,CAAC,CAACI,UAAU,IAAI,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC;QACnDJ,UAAU,GAAGC,KAAK,GAAGI,KAAK;MAC5B,CAAC,MAAM,IAAI7B,MAAM,KAAK,MAAM,EAAE;QAC5BwB,UAAU,GAAG,CAACF,CAAC,CAACQ,MAAM,IAAI,CAAC,KAAKP,CAAC,CAACO,MAAM,IAAI,CAAC,CAAC;MAChD,CAAC,MAAM,IAAI9B,MAAM,KAAK,MAAM,EAAE;QAC5BwB,UAAU,GAAG,CAACF,CAAC,CAACL,QAAQ,IAAI,EAAE,EAAEc,aAAa,CAACR,CAAC,CAACN,QAAQ,IAAI,EAAE,CAAC;MACjE,CAAC,MAAM,IAAIjB,MAAM,KAAK,MAAM,EAAE;QAC5BwB,UAAU,GAAG,CAACF,CAAC,CAACZ,WAAW,IAAI,EAAE,EAAEqB,aAAa,CAACR,CAAC,CAACb,WAAW,IAAI,EAAE,CAAC;MACvE;MACA,OAAOR,SAAS,KAAK,KAAK,GAAGsB,UAAU,GAAG,CAACA,UAAU;IACvD,CAAC,CAAC;IAEF,OAAOJ,MAAM;EACf,CAAC,EAAE,CAAC5B,KAAK,EAAEM,WAAW,EAAEF,QAAQ,EAAEI,MAAM,EAAEE,SAAS,CAAC,CAAC;EAErD,OAAO;IACLI,aAAa;IACbV,QAAQ;IACRC,WAAW;IACXC,WAAW;IACXC,cAAc;IACdC,MAAM;IACNC,SAAS;IACTC,SAAS;IACTC,YAAY;IACZC;EACF,CAAC;AACH","ignoreList":[]}
@@ -1,324 +0,0 @@
1
- "use strict";
2
-
3
- import { useCallback, useMemo, useState } from 'react';
4
- import { useQuery, useQueryClient } from '@tanstack/react-query';
5
- import { useFollowStore } from "../stores/followStore.js";
6
- import { useOxy } from "../context/OxyContext.js";
7
- import { useShallow } from 'zustand/react/shallow';
8
- import { queryKeys } from "./queries/queryKeys.js";
9
- import { patchCachedUserRelationship } from "./queries/userCacheRelationship.js";
10
-
11
- /**
12
- * useFollow — Hook for follow state management.
13
- *
14
- * Performance fixes:
15
- * 1. Uses granular Zustand selectors instead of subscribing to the entire store.
16
- * The old `useFollowStore()` caused every component using this hook to re-render
17
- * on ANY store change (any user's follow status, loading state, error, or count).
18
- * 2. Callbacks depend on primitive values (userId, isFollowing) not object references,
19
- * so they remain stable across renders.
20
- * 3. Store action methods are accessed via getState() in callbacks to avoid
21
- * subscribing to the action functions themselves (they never change but including
22
- * them in selectors would cause unnecessary selector recalculations).
23
- */
24
- export const useFollow = userId => {
25
- const queryClient = useQueryClient();
26
- const {
27
- oxyServices,
28
- canUsePrivateApi
29
- } = useOxy();
30
- const userIds = useMemo(() => Array.isArray(userId) ? userId : userId ? [userId] : [], [userId]);
31
- const isSingleUser = typeof userId === 'string';
32
- // Narrowed single-user id for use in closures (callbacks/queryFn) where TS
33
- // can't carry the `isSingleUser` boolean back to a `string` narrowing.
34
- const singleUserId = typeof userId === 'string' ? userId : undefined;
35
-
36
- // Granular Zustand selectors — only re-render when THIS user's data changes
37
- const isFollowing = useFollowStore(useCallback(s => isSingleUser && userId ? s.followingUsers[userId] ?? false : false, [isSingleUser, userId]));
38
- const isLoading = useFollowStore(useCallback(s => isSingleUser && userId ? s.loadingUsers[userId] ?? false : false, [isSingleUser, userId]));
39
- const error = useFollowStore(useCallback(s => isSingleUser && userId ? s.errors[userId] ?? null : null, [isSingleUser, userId]));
40
- const followerCount = useFollowStore(useCallback(s => isSingleUser && userId ? s.followerCounts[userId] ?? null : null, [isSingleUser, userId]));
41
- const followingCount = useFollowStore(useCallback(s => isSingleUser && userId ? s.followingCounts[userId] ?? null : null, [isSingleUser, userId]));
42
- const isLoadingCounts = useFollowStore(useCallback(s => isSingleUser && userId ? s.loadingCounts[userId] ?? false : false, [isSingleUser, userId]));
43
-
44
- // For multi-user mode, subscribe to a FLAT snapshot of the per-user fields.
45
- // `useShallow` only compares one level deep, so the selector must NOT return a
46
- // nested object — a freshly allocated `{ isFollowing, isLoading, error }` per
47
- // user would never shallow-compare equal, making `useSyncExternalStore`
48
- // resubscribe every render and loop until React throws "Maximum update depth
49
- // exceeded". Keeping the snapshot flat lets the shallow compare cache it; the
50
- // nested `followData` shape is then assembled in a `useMemo` below.
51
- const followFlat = useFollowStore(useShallow(s => {
52
- if (isSingleUser) return {};
53
- const flat = {};
54
- for (const uid of userIds) {
55
- flat[`${uid}:isFollowing`] = s.followingUsers[uid] ?? false;
56
- flat[`${uid}:isLoading`] = s.loadingUsers[uid] ?? false;
57
- flat[`${uid}:error`] = s.errors[uid] ?? null;
58
- }
59
- return flat;
60
- }));
61
- const followData = useMemo(() => {
62
- const data = {};
63
- if (isSingleUser) return data;
64
- for (const uid of userIds) {
65
- data[uid] = {
66
- isFollowing: Boolean(followFlat[`${uid}:isFollowing`]),
67
- isLoading: Boolean(followFlat[`${uid}:isLoading`]),
68
- error: followFlat[`${uid}:error`] ?? null
69
- };
70
- }
71
- return data;
72
- }, [isSingleUser, userIds, followFlat]);
73
-
74
- // Multi-user aggregate selectors
75
- const multiUserLoadingState = useFollowStore(useShallow(s => {
76
- if (isSingleUser) return {
77
- isAnyLoading: false,
78
- hasAnyError: false,
79
- allFollowing: true,
80
- allNotFollowing: true
81
- };
82
- return {
83
- isAnyLoading: userIds.some(uid => s.loadingUsers[uid]),
84
- hasAnyError: userIds.some(uid => !!s.errors[uid]),
85
- allFollowing: userIds.every(uid => s.followingUsers[uid]),
86
- allNotFollowing: userIds.every(uid => !s.followingUsers[uid])
87
- };
88
- }));
89
-
90
- // Stable callbacks that depend on primitives, not object references.
91
- // Store actions are accessed via getState() to avoid subscribing to them.
92
- const toggleFollow = useCallback(async () => {
93
- if (!isSingleUser || !userId) throw new Error('toggleFollow is only available for single user mode');
94
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
95
- const currentlyFollowing = useFollowStore.getState().followingUsers[userId] ?? false;
96
- const accepted = await useFollowStore.getState().toggleFollowUser(userId, oxyServices, currentlyFollowing);
97
- if (accepted) patchCachedUserRelationship(queryClient, userId, !currentlyFollowing);
98
- }, [isSingleUser, userId, canUsePrivateApi, oxyServices, queryClient]);
99
- const setFollowStatus = useCallback(following => {
100
- if (!isSingleUser || !userId) throw new Error('setFollowStatus is only available for single user mode');
101
- useFollowStore.getState().setFollowingStatus(userId, following);
102
- }, [isSingleUser, userId]);
103
- const fetchStatus = useCallback(async () => {
104
- if (!isSingleUser || !userId) throw new Error('fetchStatus is only available for single user mode');
105
- if (!canUsePrivateApi) return;
106
- useFollowStore.getState().resolveFollowStatuses([userId], oxyServices);
107
- }, [isSingleUser, userId, canUsePrivateApi, oxyServices]);
108
- const clearError = useCallback(() => {
109
- if (!isSingleUser || !userId) throw new Error('clearError is only available for single user mode');
110
- useFollowStore.getState().clearFollowError(userId);
111
- }, [isSingleUser, userId]);
112
- const fetchUserCounts = useCallback(async () => {
113
- if (!isSingleUser || !userId) throw new Error('fetchUserCounts is only available for single user mode');
114
- await useFollowStore.getState().fetchUserCounts(userId, oxyServices);
115
- }, [isSingleUser, userId, oxyServices]);
116
- const setFollowerCount = useCallback(count => {
117
- if (!isSingleUser || !userId) throw new Error('setFollowerCount is only available for single user mode');
118
- useFollowStore.getState().setFollowerCount(userId, count);
119
- }, [isSingleUser, userId]);
120
- const setFollowingCount = useCallback(count => {
121
- if (!isSingleUser || !userId) throw new Error('setFollowingCount is only available for single user mode');
122
- useFollowStore.getState().setFollowingCount(userId, count);
123
- }, [isSingleUser, userId]);
124
-
125
- // Auto-fetch counts for single-user mode via React Query instead of a manual
126
- // useEffect. The Zustand store remains the canonical home for count values
127
- // (it is also written by toggleFollowUser / updateCountsFromFollowAction), so
128
- // components keep reading `followerCount` / `followingCount` through the
129
- // granular selectors above — this query only owns the FETCH lifecycle
130
- // (dedup, caching, retry/backoff). It stays disabled until the counts are
131
- // actually missing, reproducing the old effect's `(followerCount === null ||
132
- // followingCount === null)` gate without a render-phase side effect. The
133
- // store action does the network call and writes the counts; the query simply
134
- // surfaces the resolved pair as its cached data.
135
- useQuery({
136
- queryKey: singleUserId ? queryKeys.follow.counts(singleUserId) : queryKeys.follow.all,
137
- queryFn: async () => {
138
- if (!singleUserId) return null;
139
- await useFollowStore.getState().fetchUserCounts(singleUserId, oxyServices);
140
- const state = useFollowStore.getState();
141
- return {
142
- followers: state.followerCounts[singleUserId] ?? null,
143
- following: state.followingCounts[singleUserId] ?? null
144
- };
145
- },
146
- enabled: !!singleUserId && (followerCount === null || followingCount === null)
147
- });
148
-
149
- // Multi-user callbacks
150
- const toggleFollowForUser = useCallback(async targetUserId => {
151
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
152
- const currentState = useFollowStore.getState().followingUsers[targetUserId] ?? false;
153
- const accepted = await useFollowStore.getState().toggleFollowUser(targetUserId, oxyServices, currentState);
154
- if (accepted) patchCachedUserRelationship(queryClient, targetUserId, !currentState);
155
- }, [canUsePrivateApi, oxyServices, queryClient]);
156
- const setFollowStatusForUser = useCallback((targetUserId, following) => {
157
- useFollowStore.getState().setFollowingStatus(targetUserId, following);
158
- }, []);
159
- const fetchStatusForUser = useCallback(async targetUserId => {
160
- if (!canUsePrivateApi) return;
161
- useFollowStore.getState().resolveFollowStatuses([targetUserId], oxyServices);
162
- }, [canUsePrivateApi, oxyServices]);
163
-
164
- // Resolve EVERY member's status in ONE micro-batched bulk call (never N
165
- // single requests). Ids already known/seeded are skipped by the resolver.
166
- const fetchAllStatuses = useCallback(async () => {
167
- if (!canUsePrivateApi) return;
168
- useFollowStore.getState().resolveFollowStatuses(userIds, oxyServices);
169
- }, [canUsePrivateApi, userIds, oxyServices]);
170
-
171
- // Bulk follow — follows ALL users in ONE network call (never unfollows).
172
- const followAllUsers = useCallback(async () => {
173
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
174
- return useFollowStore.getState().followManyUsers(userIds, oxyServices);
175
- }, [canUsePrivateApi, userIds, oxyServices]);
176
-
177
- // Bulk unfollow — unfollows ALL users in ONE network call (idempotent; never follows).
178
- const unfollowAllUsers = useCallback(async () => {
179
- if (!canUsePrivateApi) throw new Error('Authentication is required to unfollow users');
180
- return useFollowStore.getState().unfollowManyUsers(userIds, oxyServices);
181
- }, [canUsePrivateApi, userIds, oxyServices]);
182
- const clearErrorForUser = useCallback(targetUserId => {
183
- useFollowStore.getState().clearFollowError(targetUserId);
184
- }, []);
185
- const updateCountsFromFollowAction = useCallback((targetUserId, action, counts) => {
186
- const currentUserId = oxyServices.getCurrentUserId() || undefined;
187
- useFollowStore.getState().updateCountsFromFollowAction(targetUserId, action, counts, currentUserId);
188
- }, [oxyServices]);
189
- if (isSingleUser && userId) {
190
- return {
191
- isFollowing,
192
- isLoading,
193
- error,
194
- toggleFollow,
195
- setFollowStatus,
196
- fetchStatus,
197
- clearError,
198
- followerCount,
199
- followingCount,
200
- isLoadingCounts,
201
- fetchUserCounts,
202
- setFollowerCount,
203
- setFollowingCount
204
- };
205
- }
206
- return {
207
- followData,
208
- toggleFollowForUser,
209
- setFollowStatusForUser,
210
- fetchStatusForUser,
211
- fetchAllStatuses,
212
- followAllUsers,
213
- unfollowAllUsers,
214
- clearErrorForUser,
215
- isAnyLoading: multiUserLoadingState.isAnyLoading,
216
- hasAnyError: multiUserLoadingState.hasAnyError,
217
- allFollowing: multiUserLoadingState.allFollowing,
218
- allNotFollowing: multiUserLoadingState.allNotFollowing
219
- };
220
- };
221
-
222
- /**
223
- * useFollowForButton — Lightweight follow hook for FollowButton in list contexts.
224
- *
225
- * Unlike useFollow, this hook:
226
- * - Accepts oxyServices directly (no useOxy() context subscription)
227
- * - Only subscribes to the specific user's follow and loading state
228
- * - Returns only what FollowButton needs (no counts, no multi-user)
229
- */
230
- export const useFollowForButton = (userId, oxyServices, initiallyFollowing) => {
231
- // Seed the store synchronously on the FIRST render (before paint) when the
232
- // caller provided a definite `initiallyFollowing` and the store has no entry
233
- // yet. This makes the first paint show the correct label (no post-mount
234
- // "Follow → Following" correction) and marks the id KNOWN so the batched
235
- // resolver skips it. An OMITTED `initiallyFollowing` leaves the id UNKNOWN,
236
- // so the batched resolver fetches its real status. The useState lazy
237
- // initializer runs exactly once per mount; `setFollowStatuses` is
238
- // seed-only-if-absent, so it never clobbers a live value.
239
- useState(() => {
240
- if (initiallyFollowing === undefined) return null;
241
- const store = useFollowStore.getState();
242
- if (!Object.prototype.hasOwnProperty.call(store.followingUsers, userId)) {
243
- store.setFollowStatuses({
244
- [userId]: initiallyFollowing
245
- });
246
- }
247
- return null;
248
- });
249
- const isFollowing = useFollowStore(useCallback(s => s.followingUsers[userId] ?? false, [userId]));
250
- // Tri-state: a present key (seeded or fetched) is a DEFINITE status; a missing
251
- // key is UNKNOWN. The button renders a neutral/disabled state while unknown.
252
- const isKnown = useFollowStore(useCallback(s => Object.prototype.hasOwnProperty.call(s.followingUsers, userId), [userId]));
253
- const isLoading = useFollowStore(useCallback(s => s.loadingUsers[userId] ?? false, [userId]));
254
- const error = useFollowStore(useCallback(s => s.errors[userId] ?? null, [userId]));
255
- const toggleFollow = useCallback(async () => {
256
- const currentlyFollowing = useFollowStore.getState().followingUsers[userId] ?? false;
257
- return useFollowStore.getState().toggleFollowUser(userId, oxyServices, currentlyFollowing);
258
- }, [userId, oxyServices]);
259
-
260
- // Enqueue this id into the micro-batched resolver — every button that enqueues
261
- // in the same tick coalesces into ONE bulk `getFollowStatuses` call. Known /
262
- // seeded / in-flight ids are skipped by the resolver, so this is a no-op for
263
- // them.
264
- const resolveStatus = useCallback(() => {
265
- useFollowStore.getState().resolveFollowStatuses([userId], oxyServices);
266
- }, [userId, oxyServices]);
267
- const setFollowStatus = useCallback(following => {
268
- useFollowStore.getState().setFollowingStatus(userId, following);
269
- }, [userId]);
270
- const clearError = useCallback(() => {
271
- useFollowStore.getState().clearFollowError(userId);
272
- }, [userId]);
273
- return {
274
- isFollowing,
275
- isKnown,
276
- isLoading,
277
- error,
278
- toggleFollow,
279
- resolveStatus,
280
- setFollowStatus,
281
- clearError
282
- };
283
- };
284
-
285
- /**
286
- * useSeedFollowStatuses — returns a stable callback that bulk-seeds follow
287
- * statuses into the store (seed-only-if-absent; never clobbers a live value).
288
- *
289
- * Wire this at the app root to seed from `oxyServices.getViewerGraph()
290
- * .followingIds` (map each followed id → `true`) so a page of `FollowButton`s
291
- * paints the correct label on first render with ZERO follow-status network
292
- * calls — the batched resolver then skips every seeded id.
293
- */
294
- export const useSeedFollowStatuses = () => useCallback(statuses => {
295
- useFollowStore.getState().setFollowStatuses(statuses);
296
- }, []);
297
-
298
- // Convenience hook for just follower counts
299
- export const useFollowerCounts = userId => {
300
- const {
301
- oxyServices
302
- } = useOxy();
303
- const followerCount = useFollowStore(useCallback(s => s.followerCounts[userId] ?? null, [userId]));
304
- const followingCount = useFollowStore(useCallback(s => s.followingCounts[userId] ?? null, [userId]));
305
- const isLoadingCounts = useFollowStore(useCallback(s => s.loadingCounts[userId] ?? false, [userId]));
306
- const fetchUserCounts = useCallback(async () => {
307
- await useFollowStore.getState().fetchUserCounts(userId, oxyServices);
308
- }, [userId, oxyServices]);
309
- const setFollowerCount = useCallback(count => {
310
- useFollowStore.getState().setFollowerCount(userId, count);
311
- }, [userId]);
312
- const setFollowingCount = useCallback(count => {
313
- useFollowStore.getState().setFollowingCount(userId, count);
314
- }, [userId]);
315
- return {
316
- followerCount,
317
- followingCount,
318
- isLoadingCounts,
319
- fetchUserCounts,
320
- setFollowerCount,
321
- setFollowingCount
322
- };
323
- };
324
- //# sourceMappingURL=useFollow.js.map