@oxyhq/services 23.0.2 → 23.0.3

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 (1661) hide show
  1. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  2. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  3. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
  4. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  5. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
  6. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  7. package/lib/commonjs/assets/icons/OxyServices.js +51 -0
  8. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  9. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  10. package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
  11. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
  12. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
  13. package/lib/commonjs/index.js +897 -0
  14. package/lib/commonjs/index.js.map +1 -0
  15. package/lib/commonjs/notifications/deviceNotifications.js +443 -0
  16. package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
  17. package/lib/commonjs/package.json +1 -0
  18. package/lib/commonjs/ui/boot/runProviderColdBoot.js +198 -0
  19. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
  20. package/lib/commonjs/ui/client.js +137 -0
  21. package/lib/commonjs/ui/client.js.map +1 -0
  22. package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
  23. package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
  24. package/lib/commonjs/ui/components/FollowButton.js +257 -0
  25. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  26. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +195 -0
  27. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
  28. package/lib/commonjs/ui/components/OxyAuthChooser.js +401 -0
  29. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
  30. package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
  31. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
  32. package/lib/commonjs/ui/components/OxyConsentScreen.js +497 -0
  33. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
  34. package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
  35. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
  36. package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
  37. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
  38. package/lib/commonjs/ui/components/OxyProvider.js +313 -0
  39. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  40. package/lib/commonjs/ui/components/OxySignInButton.js +289 -0
  41. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  42. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
  43. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
  44. package/lib/commonjs/ui/components/ProfileButton.js +348 -0
  45. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
  46. package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
  47. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
  48. package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
  49. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
  50. package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
  51. package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
  52. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
  53. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
  54. package/lib/commonjs/ui/components/SurfaceScreen.js +229 -0
  55. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
  56. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +527 -0
  57. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  58. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +90 -0
  59. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
  60. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
  61. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
  62. package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
  63. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
  64. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +61 -0
  65. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  66. package/lib/commonjs/ui/components/authChooser/primitives.js +170 -0
  67. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
  68. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +153 -0
  69. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
  70. package/lib/commonjs/ui/components/authChooser/signInProgress.js +54 -0
  71. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
  72. package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
  73. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
  74. package/lib/commonjs/ui/components/authChooser/types.js +70 -0
  75. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
  76. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
  77. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  78. package/lib/commonjs/ui/components/feedback/constants.js +59 -0
  79. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  80. package/lib/commonjs/ui/components/feedback/types.js +6 -0
  81. package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
  82. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
  83. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
  84. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
  85. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  86. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
  87. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  88. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
  89. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
  90. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
  91. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
  92. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
  93. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  94. package/lib/commonjs/ui/components/internal/PinInput.js +116 -0
  95. package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
  96. package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
  97. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
  98. package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
  99. package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
  100. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
  101. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
  102. package/lib/commonjs/ui/components/oauthNavigation.js +83 -0
  103. package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
  104. package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
  105. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
  106. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
  107. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  108. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
  109. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
  110. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
  111. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  112. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
  113. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  114. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
  115. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  116. package/lib/commonjs/ui/components/payment/constants.js +53 -0
  117. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  118. package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
  119. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
  120. package/lib/commonjs/ui/components/payment/types.js +6 -0
  121. package/lib/commonjs/ui/components/payment/types.js.map +1 -0
  122. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
  123. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  124. package/lib/commonjs/ui/components/styles/overlay.js +83 -0
  125. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
  126. package/lib/commonjs/ui/components/styles/shadow.js +127 -0
  127. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
  128. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
  129. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  130. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
  131. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
  132. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
  133. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
  134. package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
  135. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
  136. package/lib/commonjs/ui/constants/spacing.js +50 -0
  137. package/lib/commonjs/ui/constants/spacing.js.map +1 -0
  138. package/lib/commonjs/ui/context/OxyContext.js +1235 -0
  139. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  140. package/lib/commonjs/ui/context/commitSessionFlow.js +104 -0
  141. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
  142. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +316 -0
  143. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
  144. package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
  145. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
  146. package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
  147. package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
  148. package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
  149. package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
  150. package/lib/commonjs/ui/context/useOxyAccountGraph.js +111 -0
  151. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
  152. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
  153. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
  154. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
  155. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
  156. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +681 -0
  157. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  158. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
  159. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  160. package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
  161. package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
  162. package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
  163. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
  164. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
  165. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
  166. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
  167. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
  168. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
  169. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
  170. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +144 -0
  171. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  172. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
  173. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  174. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
  175. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
  176. package/lib/commonjs/ui/hooks/queries/userCache.js +286 -0
  177. package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
  178. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
  179. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  180. package/lib/commonjs/ui/hooks/queryClient.js +208 -0
  181. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
  182. package/lib/commonjs/ui/hooks/useAssets.js +227 -0
  183. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
  184. package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
  185. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  186. package/lib/commonjs/ui/hooks/useAuth.js +125 -0
  187. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
  188. package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
  189. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
  190. package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
  191. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
  192. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
  193. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
  194. package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
  195. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
  196. package/lib/commonjs/ui/hooks/useFollow.js +331 -0
  197. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
  198. package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
  199. package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
  200. package/lib/commonjs/ui/hooks/useI18n.js +22 -0
  201. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
  202. package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
  203. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
  204. package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
  205. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
  206. package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
  207. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
  208. package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
  209. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
  210. package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
  211. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
  212. package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
  213. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
  214. package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
  215. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
  216. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
  217. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
  218. package/lib/commonjs/ui/hooks/useSessionManagement.js +290 -0
  219. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
  220. package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
  221. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
  222. package/lib/commonjs/ui/hooks/useStorage.js +45 -0
  223. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
  224. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
  225. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
  226. package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +64 -0
  227. package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +1 -0
  228. package/lib/commonjs/ui/index.js +178 -0
  229. package/lib/commonjs/ui/index.js.map +1 -0
  230. package/lib/commonjs/ui/isFrontend.js +10 -0
  231. package/lib/commonjs/ui/isFrontend.js.map +1 -0
  232. package/lib/commonjs/ui/navigation/accountDialogManager.js +86 -0
  233. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
  234. package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
  235. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
  236. package/lib/commonjs/ui/navigation/routes.js +98 -0
  237. package/lib/commonjs/ui/navigation/routes.js.map +1 -0
  238. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
  239. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
  240. package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
  241. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
  242. package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
  243. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
  244. package/lib/commonjs/ui/navigation/surfaces.js +338 -0
  245. package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
  246. package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
  247. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
  248. package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
  249. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
  250. package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
  251. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
  252. package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
  253. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
  254. package/lib/commonjs/ui/oauth/oauthPopupMessages.js +141 -0
  255. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
  256. package/lib/commonjs/ui/oauth/types.js +2 -0
  257. package/lib/commonjs/ui/oauth/types.js.map +1 -0
  258. package/lib/commonjs/ui/screens/AccountMembersScreen.js +401 -0
  259. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
  260. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +239 -0
  261. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  262. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
  263. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
  264. package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
  265. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  266. package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
  267. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
  268. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +307 -0
  269. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
  270. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
  271. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
  272. package/lib/commonjs/ui/screens/CreateAccountScreen.js +318 -0
  273. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
  274. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
  275. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
  276. package/lib/commonjs/ui/screens/EditProfileScreen.js +168 -0
  277. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
  278. package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
  279. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  280. package/lib/commonjs/ui/screens/FeedbackScreen.js +590 -0
  281. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
  282. package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
  283. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  284. package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
  285. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
  286. package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
  287. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
  288. package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
  289. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
  290. package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
  291. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
  292. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
  293. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
  294. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
  295. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  296. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
  297. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
  298. package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
  299. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
  300. package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
  301. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
  302. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
  303. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
  304. package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
  305. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
  306. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
  307. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  308. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +502 -0
  309. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
  310. package/lib/commonjs/ui/screens/ProfileScreen.js +462 -0
  311. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  312. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
  313. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
  314. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
  315. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
  316. package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
  317. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
  318. package/lib/commonjs/ui/screens/UserListScreen.js +295 -0
  319. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
  320. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
  321. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  322. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
  323. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  324. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
  325. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
  326. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
  327. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  328. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
  329. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
  330. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
  331. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  332. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
  333. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  334. package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
  335. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
  336. package/lib/commonjs/ui/screens/linkFormat.js +38 -0
  337. package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
  338. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
  339. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  340. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +184 -0
  341. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  342. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
  343. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  344. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +223 -0
  345. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  346. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
  347. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  348. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +90 -0
  349. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  350. package/lib/commonjs/ui/screens/trust/trustTier.js +23 -0
  351. package/lib/commonjs/ui/screens/trust/trustTier.js.map +1 -0
  352. package/lib/commonjs/ui/server.js +86 -0
  353. package/lib/commonjs/ui/server.js.map +1 -0
  354. package/lib/commonjs/ui/session/authStore.js +39 -0
  355. package/lib/commonjs/ui/session/authStore.js.map +1 -0
  356. package/lib/commonjs/ui/session/createSessionClient.js +58 -0
  357. package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
  358. package/lib/commonjs/ui/session/identityBinding.js +95 -0
  359. package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
  360. package/lib/commonjs/ui/session/index.js +71 -0
  361. package/lib/commonjs/ui/session/index.js.map +1 -0
  362. package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
  363. package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
  364. package/lib/commonjs/ui/session/tokenTransport.js +75 -0
  365. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
  366. package/lib/commonjs/ui/stores/accountStore.js +221 -0
  367. package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
  368. package/lib/commonjs/ui/stores/assetStore.js +225 -0
  369. package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
  370. package/lib/commonjs/ui/stores/authStore.js +70 -0
  371. package/lib/commonjs/ui/stores/authStore.js.map +1 -0
  372. package/lib/commonjs/ui/stores/followStore.js +549 -0
  373. package/lib/commonjs/ui/stores/followStore.js.map +1 -0
  374. package/lib/commonjs/ui/stores/resetSessionScopedStores.js +19 -0
  375. package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
  376. package/lib/commonjs/ui/types/fileManagement.js +6 -0
  377. package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
  378. package/lib/commonjs/ui/types/navigation.js +6 -0
  379. package/lib/commonjs/ui/types/navigation.js.map +1 -0
  380. package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
  381. package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
  382. package/lib/commonjs/ui/utils/avatarUtils.js +72 -0
  383. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
  384. package/lib/commonjs/ui/utils/colorUtils.js +49 -0
  385. package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
  386. package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
  387. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
  388. package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
  389. package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
  390. package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
  391. package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
  392. package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
  393. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
  394. package/lib/commonjs/ui/utils/fileManagement.js +147 -0
  395. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
  396. package/lib/commonjs/ui/utils/iconNames.js +133 -0
  397. package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
  398. package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
  399. package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
  400. package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
  401. package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
  402. package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
  403. package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
  404. package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
  405. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
  406. package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
  407. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
  408. package/lib/commonjs/ui/utils/userUtils.js +70 -0
  409. package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
  410. package/lib/commonjs/utils/hookUtils.js +421 -0
  411. package/lib/commonjs/utils/hookUtils.js.map +1 -0
  412. package/lib/commonjs/webauthn/passkeyClient.js +39 -0
  413. package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
  414. package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
  415. package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
  416. package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
  417. package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
  418. package/lib/module/assets/OxyLogo.svg +1 -0
  419. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  420. package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
  421. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  422. package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
  423. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  424. package/lib/module/assets/icons/OxyServices.js +45 -0
  425. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  426. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  427. package/lib/module/assets/illustrations/HighFive.js +53 -0
  428. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  429. package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
  430. package/lib/module/index.js +203 -0
  431. package/lib/module/index.js.map +1 -0
  432. package/lib/module/notifications/deviceNotifications.js +433 -0
  433. package/lib/module/notifications/deviceNotifications.js.map +1 -0
  434. package/lib/module/package.json +1 -0
  435. package/lib/module/ui/boot/runProviderColdBoot.js +192 -0
  436. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
  437. package/lib/module/ui/client.js +39 -0
  438. package/lib/module/ui/client.js.map +1 -0
  439. package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
  440. package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
  441. package/lib/module/ui/components/FollowButton.js +253 -0
  442. package/lib/module/ui/components/FollowButton.js.map +1 -0
  443. package/lib/module/ui/components/OxyAccountDialogScreen.js +190 -0
  444. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
  445. package/lib/module/ui/components/OxyAuthChooser.js +396 -0
  446. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
  447. package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
  448. package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
  449. package/lib/module/ui/components/OxyConsentScreen.js +491 -0
  450. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
  451. package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
  452. package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
  453. package/lib/module/ui/components/OxyPayButton.js +62 -0
  454. package/lib/module/ui/components/OxyPayButton.js.map +1 -0
  455. package/lib/module/ui/components/OxyProvider.js +310 -0
  456. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  457. package/lib/module/ui/components/OxySignInButton.js +284 -0
  458. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  459. package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
  460. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
  461. package/lib/module/ui/components/ProfileButton.js +342 -0
  462. package/lib/module/ui/components/ProfileButton.js.map +1 -0
  463. package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
  464. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
  465. package/lib/module/ui/components/RequireOxyAuth.js +292 -0
  466. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
  467. package/lib/module/ui/components/SettingsIcon.js +40 -0
  468. package/lib/module/ui/components/SettingsIcon.js.map +1 -0
  469. package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
  470. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
  471. package/lib/module/ui/components/SurfaceScreen.js +224 -0
  472. package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
  473. package/lib/module/ui/components/authChooser/AccountsMenuView.js +523 -0
  474. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  475. package/lib/module/ui/components/authChooser/SignInEntryView.js +85 -0
  476. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
  477. package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
  478. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
  479. package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
  480. package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
  481. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +57 -0
  482. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  483. package/lib/module/ui/components/authChooser/primitives.js +163 -0
  484. package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
  485. package/lib/module/ui/components/authChooser/requestSurfaces.js +143 -0
  486. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
  487. package/lib/module/ui/components/authChooser/signInProgress.js +50 -0
  488. package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
  489. package/lib/module/ui/components/authChooser/styles.js +216 -0
  490. package/lib/module/ui/components/authChooser/styles.js.map +1 -0
  491. package/lib/module/ui/components/authChooser/types.js +66 -0
  492. package/lib/module/ui/components/authChooser/types.js.map +1 -0
  493. package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
  494. package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  495. package/lib/module/ui/components/feedback/constants.js +55 -0
  496. package/lib/module/ui/components/feedback/constants.js.map +1 -0
  497. package/lib/module/ui/components/feedback/types.js +4 -0
  498. package/lib/module/ui/components/feedback/types.js.map +1 -0
  499. package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
  500. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
  501. package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
  502. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  503. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
  504. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  505. package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
  506. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
  507. package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
  508. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
  509. package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
  510. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  511. package/lib/module/ui/components/internal/PinInput.js +111 -0
  512. package/lib/module/ui/components/internal/PinInput.js.map +1 -0
  513. package/lib/module/ui/components/logo/LogoIcon.js +55 -0
  514. package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
  515. package/lib/module/ui/components/logo/LogoText.js +42 -0
  516. package/lib/module/ui/components/logo/LogoText.js.map +1 -0
  517. package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
  518. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
  519. package/lib/module/ui/components/oauthNavigation.js +80 -0
  520. package/lib/module/ui/components/oauthNavigation.js.map +1 -0
  521. package/lib/module/ui/components/passkeyHubPopup.js +29 -0
  522. package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
  523. package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
  524. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  525. package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
  526. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
  527. package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
  528. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  529. package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
  530. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  531. package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
  532. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  533. package/lib/module/ui/components/payment/constants.js +47 -0
  534. package/lib/module/ui/components/payment/constants.js.map +1 -0
  535. package/lib/module/ui/components/payment/paymentStyles.js +396 -0
  536. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  537. package/lib/module/ui/components/payment/types.js +4 -0
  538. package/lib/module/ui/components/payment/types.js.map +1 -0
  539. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
  540. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  541. package/lib/module/ui/components/styles/overlay.js +80 -0
  542. package/lib/module/ui/components/styles/overlay.js.map +1 -0
  543. package/lib/module/ui/components/styles/shadow.js +123 -0
  544. package/lib/module/ui/components/styles/shadow.js.map +1 -0
  545. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
  546. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  547. package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
  548. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
  549. package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
  550. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
  551. package/lib/module/ui/components/utils/splitStyles.js +46 -0
  552. package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
  553. package/lib/module/ui/constants/spacing.js +45 -0
  554. package/lib/module/ui/constants/spacing.js.map +1 -0
  555. package/lib/module/ui/context/OxyContext.js +1230 -0
  556. package/lib/module/ui/context/OxyContext.js.map +1 -0
  557. package/lib/module/ui/context/commitSessionFlow.js +100 -0
  558. package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
  559. package/lib/module/ui/context/hooks/useAuthOperations.js +311 -0
  560. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
  561. package/lib/module/ui/context/oxyContextHelpers.js +57 -0
  562. package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
  563. package/lib/module/ui/context/oxyContextTypes.js +4 -0
  564. package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
  565. package/lib/module/ui/context/passkeyFlow.js +111 -0
  566. package/lib/module/ui/context/passkeyFlow.js.map +1 -0
  567. package/lib/module/ui/context/useOxyAccountGraph.js +107 -0
  568. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
  569. package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
  570. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
  571. package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
  572. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
  573. package/lib/module/ui/hooks/mutations/useAccountMutations.js +672 -0
  574. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  575. package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
  576. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  577. package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
  578. package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
  579. package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
  580. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
  581. package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
  582. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
  583. package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
  584. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
  585. package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
  586. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
  587. package/lib/module/ui/hooks/queries/usePaymentQueries.js +136 -0
  588. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  589. package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
  590. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  591. package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
  592. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
  593. package/lib/module/ui/hooks/queries/userCache.js +282 -0
  594. package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
  595. package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
  596. package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  597. package/lib/module/ui/hooks/queryClient.js +201 -0
  598. package/lib/module/ui/hooks/queryClient.js.map +1 -0
  599. package/lib/module/ui/hooks/useAssets.js +221 -0
  600. package/lib/module/ui/hooks/useAssets.js.map +1 -0
  601. package/lib/module/ui/hooks/useAsyncAction.js +89 -0
  602. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
  603. package/lib/module/ui/hooks/useAuth.js +121 -0
  604. package/lib/module/ui/hooks/useAuth.js.map +1 -0
  605. package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
  606. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
  607. package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
  608. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
  609. package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
  610. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  611. package/lib/module/ui/hooks/useFileFiltering.js +72 -0
  612. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
  613. package/lib/module/ui/hooks/useFollow.js +324 -0
  614. package/lib/module/ui/hooks/useFollow.js.map +1 -0
  615. package/lib/module/ui/hooks/useFollow.types.js +4 -0
  616. package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
  617. package/lib/module/ui/hooks/useI18n.js +18 -0
  618. package/lib/module/ui/hooks/useI18n.js.map +1 -0
  619. package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
  620. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
  621. package/lib/module/ui/hooks/useMutationStatus.js +82 -0
  622. package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
  623. package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
  624. package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
  625. package/lib/module/ui/hooks/useOxyEvent.js +25 -0
  626. package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
  627. package/lib/module/ui/hooks/useProfileEditing.js +129 -0
  628. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
  629. package/lib/module/ui/hooks/useQueryClient.js +15 -0
  630. package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
  631. package/lib/module/ui/hooks/useReduceMotion.js +53 -0
  632. package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
  633. package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
  634. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
  635. package/lib/module/ui/hooks/useSessionManagement.js +286 -0
  636. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
  637. package/lib/module/ui/hooks/useSettingToggle.js +126 -0
  638. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  639. package/lib/module/ui/hooks/useStorage.js +40 -0
  640. package/lib/module/ui/hooks/useStorage.js.map +1 -0
  641. package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
  642. package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
  643. package/lib/module/ui/hooks/useSwitchableAccounts.js +60 -0
  644. package/lib/module/ui/hooks/useSwitchableAccounts.js.map +1 -0
  645. package/lib/module/ui/index.js +49 -0
  646. package/lib/module/ui/index.js.map +1 -0
  647. package/lib/module/ui/isFrontend.js +6 -0
  648. package/lib/module/ui/isFrontend.js.map +1 -0
  649. package/lib/module/ui/navigation/accountDialogManager.js +76 -0
  650. package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
  651. package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
  652. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
  653. package/lib/module/ui/navigation/routes.js +92 -0
  654. package/lib/module/ui/navigation/routes.js.map +1 -0
  655. package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
  656. package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
  657. package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
  658. package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
  659. package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
  660. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
  661. package/lib/module/ui/navigation/surfaces.js +325 -0
  662. package/lib/module/ui/navigation/surfaces.js.map +1 -0
  663. package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
  664. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
  665. package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
  666. package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
  667. package/lib/module/ui/oauth/oauthHandshake.js +50 -0
  668. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
  669. package/lib/module/ui/oauth/oauthPopup.js +268 -0
  670. package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
  671. package/lib/module/ui/oauth/oauthPopupMessages.js +135 -0
  672. package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
  673. package/lib/module/ui/oauth/types.js +2 -0
  674. package/lib/module/ui/oauth/types.js.map +1 -0
  675. package/lib/module/ui/screens/AccountMembersScreen.js +396 -0
  676. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
  677. package/lib/module/ui/screens/AccountSettingsScreen.js +235 -0
  678. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  679. package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
  680. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
  681. package/lib/module/ui/screens/AppInfoScreen.js +368 -0
  682. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  683. package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
  684. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
  685. package/lib/module/ui/screens/ChangeAvatarScreen.js +304 -0
  686. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
  687. package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
  688. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
  689. package/lib/module/ui/screens/CreateAccountScreen.js +313 -0
  690. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
  691. package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
  692. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
  693. package/lib/module/ui/screens/EditProfileScreen.js +163 -0
  694. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
  695. package/lib/module/ui/screens/FAQScreen.js +157 -0
  696. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  697. package/lib/module/ui/screens/FeedbackScreen.js +588 -0
  698. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  699. package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
  700. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  701. package/lib/module/ui/screens/FollowersListScreen.js +12 -0
  702. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
  703. package/lib/module/ui/screens/FollowingListScreen.js +12 -0
  704. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
  705. package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
  706. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
  707. package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
  708. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
  709. package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
  710. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
  711. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
  712. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  713. package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
  714. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
  715. package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
  716. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
  717. package/lib/module/ui/screens/NotificationsScreen.js +145 -0
  718. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
  719. package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
  720. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
  721. package/lib/module/ui/screens/PreferencesScreen.js +189 -0
  722. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
  723. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
  724. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  725. package/lib/module/ui/screens/PrivacySettingsScreen.js +497 -0
  726. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
  727. package/lib/module/ui/screens/ProfileScreen.js +457 -0
  728. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  729. package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
  730. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
  731. package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
  732. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
  733. package/lib/module/ui/screens/UserLinksScreen.js +57 -0
  734. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
  735. package/lib/module/ui/screens/UserListScreen.js +290 -0
  736. package/lib/module/ui/screens/UserListScreen.js.map +1 -0
  737. package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
  738. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  739. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
  740. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  741. package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
  742. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
  743. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
  744. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  745. package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
  746. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
  747. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
  748. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  749. package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
  750. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  751. package/lib/module/ui/screens/fileManagement/shared.js +70 -0
  752. package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
  753. package/lib/module/ui/screens/linkFormat.js +31 -0
  754. package/lib/module/ui/screens/linkFormat.js.map +1 -0
  755. package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
  756. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  757. package/lib/module/ui/screens/trust/TrustCenterScreen.js +179 -0
  758. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  759. package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
  760. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  761. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +218 -0
  762. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  763. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
  764. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  765. package/lib/module/ui/screens/trust/TrustRulesScreen.js +88 -0
  766. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  767. package/lib/module/ui/screens/trust/trustTier.js +19 -0
  768. package/lib/module/ui/screens/trust/trustTier.js.map +1 -0
  769. package/lib/module/ui/server.js +56 -0
  770. package/lib/module/ui/server.js.map +1 -0
  771. package/lib/module/ui/session/authStore.js +35 -0
  772. package/lib/module/ui/session/authStore.js.map +1 -0
  773. package/lib/module/ui/session/createSessionClient.js +55 -0
  774. package/lib/module/ui/session/createSessionClient.js.map +1 -0
  775. package/lib/module/ui/session/identityBinding.js +89 -0
  776. package/lib/module/ui/session/identityBinding.js.map +1 -0
  777. package/lib/module/ui/session/index.js +20 -0
  778. package/lib/module/ui/session/index.js.map +1 -0
  779. package/lib/module/ui/session/nativeSecureStorage.js +88 -0
  780. package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
  781. package/lib/module/ui/session/tokenTransport.js +71 -0
  782. package/lib/module/ui/session/tokenTransport.js.map +1 -0
  783. package/lib/module/ui/stores/accountStore.js +213 -0
  784. package/lib/module/ui/stores/accountStore.js.map +1 -0
  785. package/lib/module/ui/stores/assetStore.js +212 -0
  786. package/lib/module/ui/stores/assetStore.js.map +1 -0
  787. package/lib/module/ui/stores/authStore.js +66 -0
  788. package/lib/module/ui/stores/authStore.js.map +1 -0
  789. package/lib/module/ui/stores/followStore.js +544 -0
  790. package/lib/module/ui/stores/followStore.js.map +1 -0
  791. package/lib/module/ui/stores/resetSessionScopedStores.js +16 -0
  792. package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
  793. package/lib/module/ui/types/fileManagement.js +4 -0
  794. package/lib/module/ui/types/fileManagement.js.map +1 -0
  795. package/lib/module/ui/types/navigation.js +4 -0
  796. package/lib/module/ui/types/navigation.js.map +1 -0
  797. package/lib/module/ui/types/surfaceScreen.js +4 -0
  798. package/lib/module/ui/types/surfaceScreen.js.map +1 -0
  799. package/lib/module/ui/utils/avatarUtils.js +68 -0
  800. package/lib/module/ui/utils/avatarUtils.js.map +1 -0
  801. package/lib/module/ui/utils/colorUtils.js +13 -0
  802. package/lib/module/ui/utils/colorUtils.js.map +1 -0
  803. package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
  804. package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
  805. package/lib/module/ui/utils/deliveryPlatform.js +55 -0
  806. package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
  807. package/lib/module/ui/utils/deviceCredential.js +18 -0
  808. package/lib/module/ui/utils/deviceCredential.js.map +1 -0
  809. package/lib/module/ui/utils/errorHandlers.js +129 -0
  810. package/lib/module/ui/utils/errorHandlers.js.map +1 -0
  811. package/lib/module/ui/utils/fileManagement.js +140 -0
  812. package/lib/module/ui/utils/fileManagement.js.map +1 -0
  813. package/lib/module/ui/utils/iconNames.js +124 -0
  814. package/lib/module/ui/utils/iconNames.js.map +1 -0
  815. package/lib/module/ui/utils/isWebBrowser.js +11 -0
  816. package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
  817. package/lib/module/ui/utils/netConnectivity.js +23 -0
  818. package/lib/module/ui/utils/netConnectivity.js.map +1 -0
  819. package/lib/module/ui/utils/oauthReturn.js +122 -0
  820. package/lib/module/ui/utils/oauthReturn.js.map +1 -0
  821. package/lib/module/ui/utils/sessionHelpers.js +55 -0
  822. package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
  823. package/lib/module/ui/utils/storageHelpers.js +111 -0
  824. package/lib/module/ui/utils/storageHelpers.js.map +1 -0
  825. package/lib/module/ui/utils/userUtils.js +64 -0
  826. package/lib/module/ui/utils/userUtils.js.map +1 -0
  827. package/lib/module/utils/hookUtils.js +403 -0
  828. package/lib/module/utils/hookUtils.js.map +1 -0
  829. package/lib/module/webauthn/passkeyClient.js +33 -0
  830. package/lib/module/webauthn/passkeyClient.js.map +1 -0
  831. package/lib/module/webauthn/passkeyClient.native.js +28 -0
  832. package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
  833. package/lib/module/webauthn/passkeyClient.web.js +52 -0
  834. package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
  835. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
  836. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
  837. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
  838. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
  839. package/lib/typescript/commonjs/index.d.ts +100 -0
  840. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  841. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
  842. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
  843. package/lib/typescript/commonjs/package.json +1 -0
  844. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
  845. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  846. package/lib/typescript/commonjs/ui/client.d.ts +30 -0
  847. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
  848. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
  849. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  850. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
  851. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
  852. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  853. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  854. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
  855. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
  856. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
  857. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  858. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
  859. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
  860. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
  861. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  862. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
  863. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
  864. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
  865. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
  866. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +112 -0
  867. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
  868. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
  869. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  870. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +56 -0
  871. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
  872. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
  873. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  874. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
  875. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
  876. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
  877. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
  878. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
  879. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  880. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
  881. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
  882. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
  883. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  884. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +32 -0
  885. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  887. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
  889. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
  891. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +55 -0
  893. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +58 -0
  895. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
  897. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
  899. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +103 -0
  901. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
  902. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  903. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  904. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
  905. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
  907. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  909. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  910. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  911. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  913. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  914. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
  915. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  916. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  917. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  918. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  919. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
  921. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
  922. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
  923. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
  924. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
  925. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
  926. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  927. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +43 -0
  929. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
  931. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
  932. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  933. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  935. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  936. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  937. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  938. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  939. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  940. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  941. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  942. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
  943. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
  944. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
  945. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
  947. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
  948. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  949. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
  951. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
  952. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
  953. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
  954. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  955. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
  957. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  958. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
  959. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  960. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
  961. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
  963. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +7 -0
  965. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +39 -0
  967. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +74 -0
  969. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
  971. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +189 -0
  973. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
  975. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +32 -0
  977. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  979. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  980. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  981. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
  983. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  984. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  985. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  986. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +137 -0
  987. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
  989. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  990. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  991. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +212 -0
  993. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
  995. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
  997. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  999. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1001. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1002. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +96 -0
  1003. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
  1004. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1005. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1006. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +66 -0
  1007. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
  1008. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
  1009. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
  1010. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
  1011. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1012. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +107 -0
  1013. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
  1014. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
  1015. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1016. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
  1017. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1018. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1019. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1020. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
  1021. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1022. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
  1023. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
  1024. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
  1025. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
  1026. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +5 -0
  1027. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
  1028. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
  1029. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1030. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
  1031. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1032. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
  1033. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1034. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
  1035. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1036. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
  1037. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1038. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
  1039. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
  1040. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
  1041. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1042. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1043. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1044. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +41 -0
  1045. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1046. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
  1047. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1048. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
  1049. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
  1050. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1051. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1052. package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +23 -0
  1053. package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
  1054. package/lib/typescript/commonjs/ui/index.d.ts +39 -0
  1055. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
  1056. package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
  1057. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
  1058. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +44 -0
  1059. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1060. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
  1061. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1062. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +6 -0
  1063. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
  1064. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1065. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1066. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
  1067. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1068. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
  1069. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1070. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
  1071. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
  1072. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
  1073. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1074. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
  1075. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1076. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
  1077. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1078. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
  1079. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
  1080. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1081. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1082. package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
  1083. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
  1084. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
  1085. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1086. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1087. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1088. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1089. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1090. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
  1091. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1092. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
  1093. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1094. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1095. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1096. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1097. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1098. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
  1099. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1100. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1101. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1102. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
  1103. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1104. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
  1105. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
  1106. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
  1107. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1108. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
  1109. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1110. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +9 -0
  1111. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1112. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +9 -0
  1113. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1114. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
  1115. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1116. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
  1117. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1118. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1119. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1120. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1121. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1122. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1123. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1124. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
  1125. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1126. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
  1127. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1128. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1129. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1130. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
  1131. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1132. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1133. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1134. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1135. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1136. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
  1137. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
  1138. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1139. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1140. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1141. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1142. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
  1143. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1144. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +11 -0
  1145. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
  1146. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1147. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1148. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1149. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1150. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1151. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1152. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1153. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1154. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1155. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1156. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1157. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1158. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1159. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1160. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
  1161. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1162. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
  1163. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
  1164. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1165. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1166. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1167. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1168. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1169. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1170. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1171. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1172. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1173. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1174. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1175. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1176. package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts +9 -0
  1177. package/lib/typescript/commonjs/ui/screens/trust/trustTier.d.ts.map +1 -0
  1178. package/lib/typescript/commonjs/ui/server.d.ts +36 -0
  1179. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
  1180. package/lib/typescript/commonjs/ui/session/authStore.d.ts +25 -0
  1181. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
  1182. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
  1183. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
  1184. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
  1185. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
  1186. package/lib/typescript/commonjs/ui/session/index.d.ts +19 -0
  1187. package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
  1188. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
  1189. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1190. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
  1191. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
  1192. package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +27 -0
  1193. package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +1 -0
  1194. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
  1195. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
  1196. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +17 -0
  1197. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
  1198. package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
  1199. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
  1200. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1201. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1202. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
  1203. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
  1204. package/lib/typescript/commonjs/ui/types/navigation.d.ts +120 -0
  1205. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
  1206. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
  1207. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
  1208. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +24 -0
  1209. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
  1210. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
  1211. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
  1212. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
  1213. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1214. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
  1215. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1216. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
  1217. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
  1218. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
  1219. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
  1220. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
  1221. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
  1222. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
  1223. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
  1224. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
  1225. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
  1226. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
  1227. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
  1228. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
  1229. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
  1230. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
  1231. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
  1232. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +28 -0
  1233. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
  1234. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +30 -0
  1235. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
  1236. package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
  1237. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
  1238. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
  1239. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
  1240. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
  1241. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
  1242. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
  1243. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
  1244. package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
  1245. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
  1246. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
  1247. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
  1248. package/lib/typescript/module/index.d.ts +100 -0
  1249. package/lib/typescript/module/index.d.ts.map +1 -0
  1250. package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
  1251. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
  1252. package/lib/typescript/module/package.json +1 -0
  1253. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
  1254. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  1255. package/lib/typescript/module/ui/client.d.ts +30 -0
  1256. package/lib/typescript/module/ui/client.d.ts.map +1 -0
  1257. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
  1258. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  1259. package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
  1260. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
  1261. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  1262. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  1263. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
  1264. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
  1265. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
  1266. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  1267. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
  1268. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
  1269. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
  1270. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  1271. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
  1272. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
  1273. package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
  1274. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
  1275. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +112 -0
  1276. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
  1277. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
  1278. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  1279. package/lib/typescript/module/ui/components/ProfileButton.d.ts +56 -0
  1280. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
  1281. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
  1282. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  1283. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
  1284. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
  1285. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
  1286. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
  1287. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
  1288. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  1289. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
  1290. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
  1291. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +38 -0
  1292. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  1293. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +32 -0
  1294. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  1295. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  1296. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  1297. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
  1298. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  1299. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +36 -0
  1300. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  1301. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +55 -0
  1302. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
  1303. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +58 -0
  1304. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  1305. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
  1306. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  1307. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
  1308. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
  1309. package/lib/typescript/module/ui/components/authChooser/types.d.ts +103 -0
  1310. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
  1311. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  1312. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  1313. package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
  1314. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
  1315. package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
  1316. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
  1317. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  1318. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  1319. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  1320. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  1321. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  1322. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1323. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
  1324. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1325. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  1326. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1327. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1328. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1329. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
  1330. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
  1331. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
  1332. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
  1333. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
  1334. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
  1335. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  1336. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  1337. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +43 -0
  1338. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
  1339. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
  1340. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
  1341. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  1342. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  1343. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  1344. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  1345. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  1346. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  1347. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  1348. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  1349. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  1350. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  1351. package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
  1352. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
  1353. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
  1354. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
  1355. package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
  1356. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
  1357. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  1358. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1359. package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
  1360. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
  1361. package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
  1362. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
  1363. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  1364. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  1365. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1366. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1367. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1368. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1369. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
  1370. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
  1371. package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
  1372. package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
  1373. package/lib/typescript/module/ui/context/OxyContext.d.ts +7 -0
  1374. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
  1375. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +39 -0
  1376. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
  1377. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +74 -0
  1378. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1379. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
  1380. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
  1381. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +189 -0
  1382. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
  1383. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
  1384. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
  1385. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +32 -0
  1386. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  1387. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  1388. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  1389. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  1390. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  1391. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +297 -0
  1392. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1393. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1394. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1395. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +137 -0
  1396. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  1397. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
  1398. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1399. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  1400. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1401. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +212 -0
  1402. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  1403. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
  1404. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  1405. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +63 -0
  1406. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  1407. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  1408. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1409. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1410. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1411. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +96 -0
  1412. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
  1413. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1414. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1415. package/lib/typescript/module/ui/hooks/queryClient.d.ts +66 -0
  1416. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
  1417. package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
  1418. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
  1419. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
  1420. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1421. package/lib/typescript/module/ui/hooks/useAuth.d.ts +107 -0
  1422. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
  1423. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
  1424. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1425. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
  1426. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1427. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1428. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1429. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
  1430. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1431. package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
  1432. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
  1433. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
  1434. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
  1435. package/lib/typescript/module/ui/hooks/useI18n.d.ts +5 -0
  1436. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
  1437. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
  1438. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1439. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
  1440. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1441. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
  1442. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1443. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
  1444. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1445. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
  1446. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1447. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
  1448. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
  1449. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
  1450. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1451. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1452. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1453. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +41 -0
  1454. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1455. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
  1456. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1457. package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
  1458. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
  1459. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1460. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1461. package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +23 -0
  1462. package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +1 -0
  1463. package/lib/typescript/module/ui/index.d.ts +39 -0
  1464. package/lib/typescript/module/ui/index.d.ts.map +1 -0
  1465. package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
  1466. package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
  1467. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +44 -0
  1468. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1469. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
  1470. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1471. package/lib/typescript/module/ui/navigation/routes.d.ts +6 -0
  1472. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
  1473. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1474. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1475. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
  1476. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1477. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
  1478. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1479. package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
  1480. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
  1481. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
  1482. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1483. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
  1484. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1485. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
  1486. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1487. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
  1488. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
  1489. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1490. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1491. package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
  1492. package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
  1493. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
  1494. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1495. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1496. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1497. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1498. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1499. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
  1500. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1501. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
  1502. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1503. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1504. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1505. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1506. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1507. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
  1508. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1509. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1510. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1511. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
  1512. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1513. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
  1514. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
  1515. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
  1516. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1517. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
  1518. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1519. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +9 -0
  1520. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1521. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +9 -0
  1522. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1523. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
  1524. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1525. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
  1526. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1527. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1528. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1529. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1530. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1531. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1532. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1533. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
  1534. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1535. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
  1536. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1537. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1538. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1539. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
  1540. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1541. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1542. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1543. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1544. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1545. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
  1546. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
  1547. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1548. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1549. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1550. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1551. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
  1552. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1553. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +11 -0
  1554. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
  1555. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1556. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1557. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1558. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1559. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1560. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1561. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1562. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1563. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1564. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1565. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1566. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1567. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1568. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1569. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
  1570. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1571. package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
  1572. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
  1573. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1574. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1575. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1576. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1577. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1578. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1579. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1580. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1581. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1582. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1583. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1584. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1585. package/lib/typescript/module/ui/screens/trust/trustTier.d.ts +9 -0
  1586. package/lib/typescript/module/ui/screens/trust/trustTier.d.ts.map +1 -0
  1587. package/lib/typescript/module/ui/server.d.ts +36 -0
  1588. package/lib/typescript/module/ui/server.d.ts.map +1 -0
  1589. package/lib/typescript/module/ui/session/authStore.d.ts +25 -0
  1590. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
  1591. package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
  1592. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
  1593. package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
  1594. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
  1595. package/lib/typescript/module/ui/session/index.d.ts +19 -0
  1596. package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
  1597. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
  1598. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1599. package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
  1600. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
  1601. package/lib/typescript/module/ui/stores/accountStore.d.ts +27 -0
  1602. package/lib/typescript/module/ui/stores/accountStore.d.ts.map +1 -0
  1603. package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
  1604. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
  1605. package/lib/typescript/module/ui/stores/authStore.d.ts +17 -0
  1606. package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
  1607. package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
  1608. package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
  1609. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1610. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1611. package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
  1612. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
  1613. package/lib/typescript/module/ui/types/navigation.d.ts +120 -0
  1614. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
  1615. package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
  1616. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
  1617. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +24 -0
  1618. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
  1619. package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
  1620. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
  1621. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
  1622. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1623. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
  1624. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1625. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
  1626. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
  1627. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
  1628. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
  1629. package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
  1630. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
  1631. package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
  1632. package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
  1633. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
  1634. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
  1635. package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
  1636. package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
  1637. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
  1638. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
  1639. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
  1640. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
  1641. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +28 -0
  1642. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
  1643. package/lib/typescript/module/ui/utils/userUtils.d.ts +30 -0
  1644. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
  1645. package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
  1646. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
  1647. package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
  1648. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
  1649. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
  1650. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
  1651. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
  1652. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
  1653. package/lib/typescript/nativewind-env.d.ts +1 -0
  1654. package/lib/typescript/types/expo-crypto.d.ts +29 -0
  1655. package/lib/typescript/types/expo-document-picker.d.ts +36 -0
  1656. package/lib/typescript/types/expo-haptics.d.ts +42 -0
  1657. package/lib/typescript/types/expo-secure-store.d.ts +22 -0
  1658. package/lib/typescript/types/express.d.ts +24 -0
  1659. package/lib/typescript/types/react-native-classname.d.ts +39 -0
  1660. package/lib/typescript/types/react-native-web-style.d.ts +27 -0
  1661. package/package.json +1 -1
@@ -0,0 +1,1525 @@
1
+ "use strict";
2
+
3
+ import { useState, useCallback, useMemo, useRef } from 'react';
4
+ import { View, Text, TouchableOpacity, StyleSheet, ScrollView, ActivityIndicator, RefreshControl, TextInput, useWindowDimensions } from 'react-native';
5
+ import { useQueryClient } from '@tanstack/react-query';
6
+ import { Image as ExpoImage } from 'expo-image';
7
+ import { toast } from '@oxyhq/bloom';
8
+ import { surfaces } from '@oxyhq/bloom/surfaces';
9
+ import * as Skeleton from '@oxyhq/bloom/skeleton';
10
+ import Ionicons from '@expo/vector-icons/Ionicons';
11
+ import MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons';
12
+ import { Pressable } from 'react-native';
13
+ import { queryKeys } from "../hooks/queries/queryKeys.js";
14
+ import { useUserFilesInfinite, removeFileFromCache, patchFileMetadataInCache } from "../hooks/queries/useFileQueries.js";
15
+ import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
16
+ import { SurfaceHeaderAction } from "../components/SurfaceHeaderAction.js";
17
+ import JustifiedPhotoGrid from "../components/photogrid/JustifiedPhotoGrid.js";
18
+ import { useTheme } from '@oxyhq/bloom/theme';
19
+ import { useOxy } from "../context/OxyContext.js";
20
+ import { useI18n } from "../hooks/useI18n.js";
21
+ import { useReduceMotion } from "../hooks/useReduceMotion.js";
22
+ import { useUploadFile } from "../hooks/mutations/useAccountMutations.js";
23
+ import { formatFileSize, getFileIcon } from "../utils/fileManagement.js";
24
+ import { useResolvedFileUrls, fileThumbSource } from "../hooks/useResolvedFileUrls.js";
25
+ import { FileViewer } from "../components/fileManagement/FileViewer.js";
26
+ import { presentFileDetails } from "../components/fileManagement/FileDetailsModal.js";
27
+ import { UploadPreview } from "../components/fileManagement/UploadPreview.js";
28
+ import { presentActionSheet } from "../components/surfaces/ActionSheetSurface.js";
29
+ import { getErrorMessage } from "./fileManagement/shared.js";
30
+ import { useFileUploadState } from "./fileManagement/hooks/useFileUploadState.js";
31
+ import PhotoPickerView from "./fileManagement/PhotoPickerSection.js";
32
+ import FileListSection from "./fileManagement/FileListSection.js";
33
+ import FileLibraryError from "./fileManagement/FileLibraryError.js";
34
+ import UploadBar from "./fileManagement/UploadBar.js";
35
+ import { AnimatedButton } from "../components/fileManagement/AnimatedButton.js";
36
+
37
+ // Genuinely-inline-only styles: `viewModeButton` is spread into an Animated.View
38
+ // style array (interpolated backgroundColor), and the photo tiles are
39
+ // `expo-image` (no className remap). Everything else uses NativeWind classNames.
40
+ // Nav-header slot layout for this screen's action row + review-mode back button.
41
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
42
+ const fmHeaderStyles = StyleSheet.create({
43
+ actionsRow: {
44
+ flexDirection: 'row',
45
+ gap: 8
46
+ },
47
+ backButton: {
48
+ width: 36,
49
+ height: 36,
50
+ borderRadius: 18,
51
+ alignItems: 'center',
52
+ justifyContent: 'center'
53
+ }
54
+ });
55
+ const screenStyles = StyleSheet.create({
56
+ viewModeButton: {
57
+ paddingHorizontal: 10,
58
+ paddingVertical: 6,
59
+ borderRadius: 999,
60
+ minWidth: 36,
61
+ alignItems: 'center',
62
+ justifyContent: 'center',
63
+ marginHorizontal: 1
64
+ },
65
+ justifiedPhotoImage: {
66
+ width: '100%',
67
+ height: '100%',
68
+ borderRadius: 6
69
+ }
70
+ });
71
+ const FileManagementScreen = ({
72
+ onClose,
73
+ goBack,
74
+ navigate,
75
+ dismiss,
76
+ userId,
77
+ containerWidth,
78
+ selectMode = false,
79
+ multiSelect = false,
80
+ onSelect,
81
+ onPicked,
82
+ onConfirmSelection,
83
+ initialSelectedIds = [],
84
+ maxSelection,
85
+ disabledMimeTypes = [],
86
+ afterSelect = 'close',
87
+ allowUploadInSelectMode = true,
88
+ defaultVisibility = 'private',
89
+ linkContext
90
+ }) => {
91
+ // Use useOxy() hook for OxyContext values. Files are owned by the ACTIVE
92
+ // account (the org/project/bot when switched, else the personal user): the
93
+ // default file owner and every "is this mine?" ownership check resolve
94
+ // against `user`, so switching shows/manages that account's files.
95
+ const {
96
+ user,
97
+ oxyServices
98
+ } = useOxy();
99
+ const {
100
+ t
101
+ } = useI18n();
102
+ const queryClient = useQueryClient();
103
+ const uploadFileMutation = useUploadFile();
104
+
105
+ // Files are owned by the ACTIVE account. `targetUserId` scopes the query key,
106
+ // so switching accounts (or an explicit `userId` prop) shows that account's
107
+ // library with no manual reset.
108
+ const targetUserId = userId || user?.id;
109
+
110
+ // The file list is React Query's, NOT a store: infinite-paginated, fetched on
111
+ // mount + on owner change, edited optimistically via cache helpers. The
112
+ // rendered list is the flattened pages.
113
+ const filesQuery = useUserFilesInfinite(targetUserId);
114
+ const files = useMemo(() => filesQuery.data?.pages.flatMap(page => page.files) ?? [], [filesQuery.data]);
115
+ // No owner resolved yet reads as "loading" (matches the old skeleton-until-
116
+ // first-load behaviour); `isLoading` is the first-page fetch only.
117
+ const isLoadingFiles = !targetUserId || filesQuery.isLoading;
118
+ const isRefreshingFiles = filesQuery.isRefetching;
119
+ const isFetchingMore = filesQuery.isFetchingNextPage;
120
+ const hasMoreFiles = filesQuery.hasNextPage ?? false;
121
+ // Terminal load failure with nothing cached — render a DISTINCT error state
122
+ // (not the empty state) so a failed load never looks like an empty library.
123
+ const hasLoadError = filesQuery.isError && files.length === 0;
124
+ const invalidateFiles = useCallback(() => {
125
+ queryClient.invalidateQueries({
126
+ queryKey: queryKeys.files.list(targetUserId)
127
+ });
128
+ }, [queryClient, targetUserId]);
129
+ const {
130
+ width: windowWidth
131
+ } = useWindowDimensions();
132
+ // Prefer an explicit sheet width from the router; fall back to the window
133
+ // so photo grids never size against a hardcoded 400px default.
134
+ const safeContainerWidth = typeof containerWidth === 'number' && containerWidth > 0 ? containerWidth : windowWidth;
135
+ // In-flight delete target (local UI state — was in the file store).
136
+ const [deletingId, setDeletingId] = useState(null);
137
+ // In selectMode we never open the detailed viewer
138
+ const [openedFile, setOpenedFile] = useState(null);
139
+ const [fileContent, setFileContent] = useState(null);
140
+ const [loadingFileContent, setLoadingFileContent] = useState(false);
141
+ const [showFileDetailsInViewer, setShowFileDetailsInViewer] = useState(false);
142
+ // Reduce-motion preference, read as an external store (no effect). Passed to
143
+ // `PhotoPickerView` to skip cell stagger animations.
144
+ const reduceMotion = useReduceMotion();
145
+
146
+ // Image-only picker mode: when the consumer restricts to image MIME types
147
+ // (e.g. avatar picker), photos grid is the more useful default view.
148
+ const isImageOnlyPicker = useMemo(() => {
149
+ if (!selectMode) return false;
150
+ if (disabledMimeTypes.length === 0) return false;
151
+ const blocksVideos = disabledMimeTypes.some(mt => mt === 'video/' || mt.startsWith('video/'));
152
+ const blocksAudio = disabledMimeTypes.some(mt => mt === 'audio/' || mt.startsWith('audio/'));
153
+ const blocksDocs = disabledMimeTypes.some(mt => mt === 'application/pdf' || mt === 'application/' || mt.startsWith('application/'));
154
+ return blocksVideos && blocksAudio && blocksDocs;
155
+ }, [disabledMimeTypes, selectMode]);
156
+ const [viewMode, setViewMode] = useState(isImageOnlyPicker ? 'photos' : 'all');
157
+ const [searchQuery, setSearchQuery] = useState('');
158
+ const [sortBy, setSortBy] = useState('date');
159
+ const [sortOrder, setSortOrder] = useState('desc');
160
+ // Derived filtered and sorted files (avoid setState loops)
161
+ const filteredFiles = useMemo(() => {
162
+ let filteredByMode = files;
163
+ if (viewMode === 'photos') {
164
+ filteredByMode = files.filter(file => file.contentType.startsWith('image/'));
165
+ } else if (viewMode === 'videos') {
166
+ filteredByMode = files.filter(file => file.contentType.startsWith('video/'));
167
+ } else if (viewMode === 'documents') {
168
+ 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'));
169
+ } else if (viewMode === 'audio') {
170
+ filteredByMode = files.filter(file => file.contentType.startsWith('audio/'));
171
+ }
172
+ let filtered = filteredByMode;
173
+ if (searchQuery.trim()) {
174
+ const query = searchQuery.toLowerCase();
175
+ filtered = filteredByMode.filter(file => file.filename.toLowerCase().includes(query) || file.contentType.toLowerCase().includes(query) || file.metadata?.description?.toLowerCase().includes(query));
176
+ }
177
+
178
+ // Sort files
179
+ const sorted = [...filtered].sort((a, b) => {
180
+ let comparison = 0;
181
+ if (sortBy === 'date') {
182
+ const dateA = new Date(a.uploadDate || 0).getTime();
183
+ const dateB = new Date(b.uploadDate || 0).getTime();
184
+ comparison = dateA - dateB;
185
+ } else if (sortBy === 'size') {
186
+ comparison = (a.length || 0) - (b.length || 0);
187
+ } else if (sortBy === 'name') {
188
+ comparison = (a.filename || '').localeCompare(b.filename || '');
189
+ } else if (sortBy === 'type') {
190
+ comparison = (a.contentType || '').localeCompare(b.contentType || '');
191
+ }
192
+ return sortOrder === 'asc' ? comparison : -comparison;
193
+ });
194
+ return sorted;
195
+ }, [files, searchQuery, viewMode, sortBy, sortOrder]);
196
+ // Selection state. `initialSelectedIds` is the INITIAL selection only (lazy
197
+ // init) — there is no prop→state sync effect, since no caller mutates it
198
+ // after mount.
199
+ const [selectedIds, setSelectedIds] = useState(() => new Set(initialSelectedIds));
200
+ const scrollViewRef = useRef(null);
201
+ const photoScrollViewRef = useRef(null);
202
+
203
+ // Scroll the browse list/grid to a just-selected file. Driven directly from
204
+ // the selection event handler (double-rAF so the selection re-render has
205
+ // committed first) — not an effect. No-ops in the image-only picker, whose
206
+ // own FlatList is not either ScrollView ref.
207
+ const scrollToSelectedFile = useCallback(fileId => {
208
+ if (viewMode === 'all' && scrollViewRef.current) {
209
+ const itemIndex = filteredFiles.findIndex(file => file.id === fileId);
210
+ if (itemIndex < 0) return;
211
+ // GroupedItem dense rows are ~65px, +30px when a description wraps.
212
+ const baseItemHeight = 65;
213
+ const descriptionHeight = 30;
214
+ let scrollPosition = 0;
215
+ for (let i = 0; i <= itemIndex && i < filteredFiles.length; i++) {
216
+ scrollPosition += baseItemHeight;
217
+ if (filteredFiles[i].metadata?.description) scrollPosition += descriptionHeight;
218
+ }
219
+ // Offset for the header/controls/search/stats chrome (~250px) so the
220
+ // item lands near the top, not under the chrome.
221
+ const finalScrollPosition = 250 + scrollPosition - 150;
222
+ requestAnimationFrame(() => {
223
+ requestAnimationFrame(() => {
224
+ scrollViewRef.current?.scrollTo({
225
+ y: Math.max(0, finalScrollPosition),
226
+ animated: true
227
+ });
228
+ });
229
+ });
230
+ } else if (viewMode === 'photos' && photoScrollViewRef.current) {
231
+ const photos = filteredFiles.filter(file => file.contentType.startsWith('image/'));
232
+ const photoIndex = photos.findIndex(p => p.id === fileId);
233
+ if (photoIndex < 0) return;
234
+ // Rough estimate for the justified grid (3 photos/row, variable heights).
235
+ const row = Math.floor(photoIndex / 3);
236
+ const finalScrollPosition = row * (150 + 4) - 100;
237
+ requestAnimationFrame(() => {
238
+ requestAnimationFrame(() => {
239
+ photoScrollViewRef.current?.scrollTo({
240
+ y: Math.max(0, finalScrollPosition),
241
+ animated: true
242
+ });
243
+ });
244
+ });
245
+ }
246
+ }, [viewMode, filteredFiles]);
247
+ const toggleSelect = useCallback(async file => {
248
+ // Selection is allowed in regular mode too (for bulk operations).
249
+ if (disabledMimeTypes.length) {
250
+ const blocked = disabledMimeTypes.some(mt => file.contentType === mt || file.contentType.startsWith(mt.endsWith('/') ? mt : `${mt}/`));
251
+ if (blocked) {
252
+ toast.error(t('fileManagement.toasts.fileTypeBlocked'));
253
+ return;
254
+ }
255
+ }
256
+
257
+ // Update file visibility if it differs from defaultVisibility
258
+ const fileVisibility = file.metadata?.visibility || 'private';
259
+ if (fileVisibility !== defaultVisibility) {
260
+ try {
261
+ await oxyServices.assetUpdateVisibility(file.id, defaultVisibility);
262
+ } catch (error) {
263
+ // Continue anyway - selection shouldn't fail if visibility update fails
264
+ }
265
+ }
266
+
267
+ // Link file to entity if linkContext is provided
268
+ if (linkContext) {
269
+ try {
270
+ await oxyServices.assetLink(file.id, linkContext.app, linkContext.entityType, linkContext.entityId, defaultVisibility, linkContext.webhookUrl);
271
+ } catch (error) {
272
+ // Continue anyway - selection shouldn't fail if linking fails
273
+ }
274
+ }
275
+ if (!multiSelect) {
276
+ if (onPicked) {
277
+ // Forward-navigation picker (e.g. the avatar flow): hand the file
278
+ // to the caller, which pushes the NEXT frame (the cropper) on top
279
+ // of this picker. The picker frame stays below so Back returns here
280
+ // to re-pick — no dismiss, no session close.
281
+ onPicked(file);
282
+ } else if (onSelect) {
283
+ // Legacy callback caller (inbox, WelcomeNewUser): keep the
284
+ // callback + afterSelect behaviour unchanged.
285
+ onSelect(file);
286
+ if (afterSelect === 'back') {
287
+ goBack?.();
288
+ } else if (afterSelect === 'close') {
289
+ onClose?.();
290
+ }
291
+ } else {
292
+ // Promise-based picker: resolve the surface's present() promise
293
+ // with the picked file.
294
+ dismiss?.(file);
295
+ }
296
+ return;
297
+ }
298
+ setSelectedIds(prev => {
299
+ const next = new Set(prev);
300
+ const already = next.has(file.id);
301
+ if (!already) {
302
+ if (maxSelection && next.size >= maxSelection) {
303
+ toast.error(t('fileManagement.toasts.maxSelection', {
304
+ max: maxSelection
305
+ }));
306
+ return prev;
307
+ }
308
+ next.add(file.id);
309
+ } else {
310
+ next.delete(file.id);
311
+ }
312
+ return next;
313
+ });
314
+ scrollToSelectedFile(file.id);
315
+ }, [multiSelect, onPicked, onSelect, onClose, goBack, dismiss, disabledMimeTypes, maxSelection, afterSelect, defaultVisibility, oxyServices, linkContext, t, scrollToSelectedFile]);
316
+ const confirmMultiSelection = useCallback(async () => {
317
+ if (!selectMode || !multiSelect) return;
318
+ const map = {};
319
+ for (const f of files) {
320
+ map[f.id] = f;
321
+ }
322
+ const chosen = Array.from(selectedIds).map(id => map[id]).filter(Boolean);
323
+
324
+ // Update visibility and link files if needed
325
+ const updatePromises = chosen.map(async file => {
326
+ // Update visibility if needed
327
+ const fileVisibility = file.metadata?.visibility || 'private';
328
+ if (fileVisibility !== defaultVisibility) {
329
+ try {
330
+ await oxyServices.assetUpdateVisibility(file.id, defaultVisibility);
331
+ } catch (error) {
332
+ // Visibility update failed, continue with selection
333
+ }
334
+ }
335
+
336
+ // Link file to entity if linkContext provided
337
+ if (linkContext) {
338
+ try {
339
+ await oxyServices.assetLink(file.id, linkContext.app, linkContext.entityType, linkContext.entityId, defaultVisibility, linkContext.webhookUrl);
340
+ } catch (error) {
341
+ // File linking failed, continue with selection
342
+ }
343
+ }
344
+ });
345
+
346
+ // Wait for all updates (but don't block on failures)
347
+ await Promise.allSettled(updatePromises);
348
+ if (onConfirmSelection) {
349
+ // Legacy callback caller (inbox): keep the callback + close.
350
+ onConfirmSelection(chosen);
351
+ onClose?.();
352
+ } else {
353
+ // Promise-based picker: resolve the surface with the chosen files.
354
+ dismiss?.(chosen);
355
+ }
356
+ }, [selectMode, multiSelect, selectedIds, files, onConfirmSelection, onClose, dismiss, defaultVisibility, oxyServices, linkContext]);
357
+
358
+ // Private-safe thumbnail URLs for the currently-shown files, resolved in
359
+ // ONE batch per page (not N per-tile) and cached by React Query. Uploads
360
+ // default to private, so the synchronous public-CDN URL would 404 for
361
+ // every private thumbnail.
362
+ const resolvedThumbUrls = useResolvedFileUrls(oxyServices, filteredFiles, user?.id);
363
+
364
+ // Image source for a grid tile: the resolved private-safe URL for a
365
+ // persisted file, or the locally-picked preview for an in-flight optimistic
366
+ // entry. Never builds an asset URL from a `temp-…`/uploading id.
367
+ const thumbSourceFor = useCallback(file => fileThumbSource(file, resolvedThumbUrls), [resolvedThumbUrls]);
368
+ const bloomTheme = useTheme();
369
+ const {
370
+ colors
371
+ } = bloomTheme;
372
+ // FileManagementScreen uses a slightly elevated page background.
373
+ const backgroundColor = colors.backgroundSecondary;
374
+ const borderColor = colors.border;
375
+
376
+ // Self-contained document-picking + upload-preview state and handlers.
377
+ // Optimistic uploads edit the file query cache directly (see
378
+ // useFileQueries), so no loader is threaded in.
379
+ const {
380
+ isPickingDocument,
381
+ pendingFiles,
382
+ showUploadPreview,
383
+ uploading,
384
+ uploadProgress,
385
+ handleFileUpload,
386
+ handleConfirmUpload,
387
+ handleCancelUpload,
388
+ removePendingFile
389
+ } = useFileUploadState({
390
+ targetUserId,
391
+ uploadFileMutation,
392
+ defaultVisibility,
393
+ selectMode,
394
+ multiSelect,
395
+ afterSelect,
396
+ onSelect,
397
+ onPicked,
398
+ goBack,
399
+ onClose,
400
+ imagesOnly: isImageOnlyPicker,
401
+ selectedIds,
402
+ setSelectedIds,
403
+ t
404
+ });
405
+ const confirmFileDelete = useCallback(async (fileId, filename) => {
406
+ const confirmed = await surfaces.confirm({
407
+ title: t('fileManagement.deleteFile') || 'Delete File',
408
+ message: t('fileManagement.confirms.deleteFile', {
409
+ filename
410
+ }),
411
+ confirmLabel: t('fileManagement.confirm') || 'Delete',
412
+ cancelLabel: t('common.cancel') || 'Cancel',
413
+ destructive: true
414
+ });
415
+ if (!confirmed) return;
416
+ try {
417
+ setDeletingId(fileId);
418
+ await oxyServices.deleteFile(fileId);
419
+ toast.success(t('fileManagement.toasts.deleteSuccess'));
420
+
421
+ // Remove from the query cache, then reconcile against the server.
422
+ removeFileFromCache(queryClient, targetUserId, fileId);
423
+ invalidateFiles();
424
+ } catch (error) {
425
+ // Provide specific error messages
426
+ if (getErrorMessage(error)?.includes('File not found') || getErrorMessage(error)?.includes('404')) {
427
+ toast.error(t('fileManagement.toasts.fileNotFound'));
428
+ // It's already gone server-side — reconcile the list.
429
+ invalidateFiles();
430
+ } else if (getErrorMessage(error)?.includes('permission') || getErrorMessage(error)?.includes('403')) {
431
+ toast.error(t('fileManagement.toasts.noPermission'));
432
+ } else {
433
+ toast.error(getErrorMessage(error) || t('fileManagement.toasts.deleteFailed'));
434
+ }
435
+ } finally {
436
+ setDeletingId(null);
437
+ }
438
+ }, [oxyServices, queryClient, targetUserId, invalidateFiles, t]);
439
+ const confirmBulkDelete = useCallback(async () => {
440
+ if (selectedIds.size === 0) return;
441
+ const confirmed = await surfaces.confirm({
442
+ title: t('fileManagement.deleteFiles') || 'Delete Files',
443
+ message: t('fileManagement.confirms.deleteFiles', {
444
+ count: selectedIds.size
445
+ }),
446
+ confirmLabel: t('fileManagement.confirm') || 'Delete',
447
+ cancelLabel: t('common.cancel') || 'Cancel',
448
+ destructive: true
449
+ });
450
+ if (!confirmed) return;
451
+ try {
452
+ const deletePromises = Array.from(selectedIds).map(async fileId => {
453
+ try {
454
+ await oxyServices.deleteFile(fileId);
455
+ removeFileFromCache(queryClient, targetUserId, fileId);
456
+ return {
457
+ success: true,
458
+ fileId
459
+ };
460
+ } catch (error) {
461
+ return {
462
+ success: false,
463
+ fileId,
464
+ error
465
+ };
466
+ }
467
+ });
468
+ const results = await Promise.allSettled(deletePromises);
469
+ const successful = results.filter(r => r.status === 'fulfilled' && r.value.success).length;
470
+ const failed = results.length - successful;
471
+ if (successful > 0) {
472
+ toast.success(t('fileManagement.toasts.bulkDeleteSuccess', {
473
+ count: successful
474
+ }));
475
+ }
476
+ if (failed > 0) {
477
+ toast.error(t('fileManagement.toasts.bulkDeleteFailed', {
478
+ count: failed
479
+ }));
480
+ }
481
+ setSelectedIds(new Set());
482
+ invalidateFiles();
483
+ } catch (error) {
484
+ toast.error(getErrorMessage(error) || t('fileManagement.toasts.bulkDeleteError'));
485
+ }
486
+ }, [selectedIds, oxyServices, queryClient, targetUserId, invalidateFiles, t]);
487
+ const handleBulkVisibilityChange = useCallback(async visibility => {
488
+ if (selectedIds.size === 0) return;
489
+ try {
490
+ const updatePromises = Array.from(selectedIds).map(async fileId => {
491
+ try {
492
+ await oxyServices.assetUpdateVisibility(fileId, visibility);
493
+ return {
494
+ success: true,
495
+ fileId
496
+ };
497
+ } catch (error) {
498
+ return {
499
+ success: false,
500
+ fileId,
501
+ error
502
+ };
503
+ }
504
+ });
505
+ const results = await Promise.allSettled(updatePromises);
506
+ const successful = results.filter(r => r.status === 'fulfilled' && r.value.success).length;
507
+ const failed = results.length - successful;
508
+ if (successful > 0) {
509
+ toast.success(t('fileManagement.toasts.visibilitySuccess', {
510
+ count: successful,
511
+ visibility
512
+ }));
513
+ // Reflect the new visibility in the cached files.
514
+ for (const fileId of selectedIds) {
515
+ patchFileMetadataInCache(queryClient, targetUserId, fileId, {
516
+ visibility
517
+ });
518
+ }
519
+ }
520
+ if (failed > 0) {
521
+ toast.error(t('fileManagement.toasts.visibilityFailed', {
522
+ count: failed
523
+ }));
524
+ }
525
+ invalidateFiles();
526
+ } catch (error) {
527
+ toast.error(getErrorMessage(error) || t('fileManagement.toasts.visibilityError'));
528
+ }
529
+ }, [selectedIds, oxyServices, queryClient, targetUserId, invalidateFiles, t]);
530
+ const handleVisibilityChange = useCallback(async () => {
531
+ if (selectedIds.size === 0) return;
532
+ const visibility = await presentActionSheet({
533
+ title: t('fileManagement.changeVisibility') || 'Change Visibility',
534
+ message: t('fileManagement.changeVisibilityConfirm', {
535
+ count: selectedIds.size
536
+ }),
537
+ options: [{
538
+ label: t('fileManagement.private') || 'Private',
539
+ value: 'private'
540
+ }, {
541
+ label: t('fileManagement.public') || 'Public',
542
+ value: 'public'
543
+ }, {
544
+ label: t('fileManagement.unlisted') || 'Unlisted',
545
+ value: 'unlisted'
546
+ }],
547
+ cancelLabel: t('common.cancel') || 'Cancel'
548
+ });
549
+ if (visibility) await handleBulkVisibilityChange(visibility);
550
+ }, [selectedIds.size, handleBulkVisibilityChange, t]);
551
+
552
+ // Unified download function - works on all platforms
553
+ const handleFileDownload = useCallback(async (fileId, filename) => {
554
+ try {
555
+ // Resolve an authenticated, private-safe URL. The synchronous
556
+ // `getFileDownloadUrl` yields the public CDN origin, which 404s for
557
+ // private assets (the default visibility).
558
+ const downloadUrl = await oxyServices.getFileDownloadUrlAsync(fileId);
559
+
560
+ // For web platforms, use link download
561
+ if (typeof window !== 'undefined' && window.document) {
562
+ try {
563
+ // Try simple link download first
564
+ const link = document.createElement('a');
565
+ link.href = downloadUrl;
566
+ link.download = filename;
567
+ link.target = '_blank';
568
+ document.body.appendChild(link);
569
+ link.click();
570
+ document.body.removeChild(link);
571
+ toast.success(t('fileManagement.toasts.downloadStarted'));
572
+ } catch (linkError) {
573
+ // Fallback to authenticated download
574
+ const blob = await oxyServices.getFileContentAsBlob(fileId);
575
+ const url = URL.createObjectURL(blob);
576
+ const link = document.createElement('a');
577
+ link.href = url;
578
+ link.download = filename;
579
+ document.body.appendChild(link);
580
+ link.click();
581
+ document.body.removeChild(link);
582
+
583
+ // Clean up the blob URL
584
+ URL.revokeObjectURL(url);
585
+ toast.success(t('fileManagement.toasts.downloadSuccess'));
586
+ }
587
+ } else {
588
+ // For mobile, open the URL (user can save from browser)
589
+ // Note: This is a simplified approach - for full mobile support,
590
+ // consider using expo-file-system or react-native-fs
591
+ toast.info(t('fileManagement.toasts.downloadMobile'));
592
+ }
593
+ } catch (error) {
594
+ toast.error(getErrorMessage(error) || t('fileManagement.toasts.downloadFailed'));
595
+ }
596
+ }, [oxyServices, t]);
597
+ const handleFileOpen = useCallback(async file => {
598
+ if (selectMode) {
599
+ toggleSelect(file);
600
+ return;
601
+ }
602
+ try {
603
+ setLoadingFileContent(true);
604
+ setOpenedFile(file);
605
+
606
+ // For text files, images, and other viewable content, try to load the content
607
+ if (file.contentType.startsWith('text/') || file.contentType.includes('json') || file.contentType.includes('xml') || file.contentType.includes('javascript') || file.contentType.includes('typescript') || file.contentType.startsWith('image/') || file.contentType.includes('pdf') || file.contentType.startsWith('video/') || file.contentType.startsWith('audio/')) {
608
+ try {
609
+ if (file.contentType.startsWith('image/') || file.contentType.includes('pdf') || file.contentType.startsWith('video/') || file.contentType.startsWith('audio/')) {
610
+ // For images, PDFs, videos, and audio, we render the URL
611
+ // directly. Resolve the authenticated, private-safe URL —
612
+ // the synchronous public-CDN URL 404s for private assets.
613
+ const downloadUrl = await oxyServices.getFileDownloadUrlAsync(file.id);
614
+ setFileContent(downloadUrl);
615
+ } else {
616
+ // For text files, get the content using authenticated request
617
+ const content = await oxyServices.getFileContentAsText(file.id);
618
+ setFileContent(content);
619
+ }
620
+ } catch (error) {
621
+ if (getErrorMessage(error)?.includes('404') || getErrorMessage(error)?.includes('not found')) {
622
+ toast.error(t('fileManagement.toasts.fileNotFoundContent'));
623
+ } else {
624
+ toast.error(t('fileManagement.toasts.loadContentFailed'));
625
+ }
626
+ setFileContent(null);
627
+ }
628
+ } else {
629
+ // For non-viewable files, don't load content
630
+ setFileContent(null);
631
+ }
632
+ } catch (error) {
633
+ toast.error(getErrorMessage(error) || t('fileManagement.toasts.openFailed'));
634
+ } finally {
635
+ setLoadingFileContent(false);
636
+ }
637
+ }, [selectMode, toggleSelect, oxyServices, t]);
638
+ const handleCloseFile = useCallback(() => {
639
+ setOpenedFile(null);
640
+ setFileContent(null);
641
+ setShowFileDetailsInViewer(false);
642
+ // Don't reset view mode when closing a file
643
+ }, []);
644
+ const showFileDetailsModal = useCallback(file => {
645
+ presentFileDetails({
646
+ file,
647
+ onDownload: handleFileDownload,
648
+ onDelete: confirmFileDelete,
649
+ isOwner: user?.id === targetUserId
650
+ });
651
+ }, [handleFileDownload, confirmFileDelete, user?.id, targetUserId]);
652
+ const renderJustifiedPhotoItem = useCallback((photo, width, height, isLast) => {
653
+ const downloadUrl = thumbSourceFor(photo);
654
+ return /*#__PURE__*/_jsx(TouchableOpacity, {
655
+ className: "rounded-[6px] overflow-hidden relative",
656
+ style: {
657
+ width,
658
+ height,
659
+ ...(selectMode && selectedIds.has(photo.id) ? {
660
+ borderWidth: 2,
661
+ borderColor: colors.primary
662
+ } : {}),
663
+ ...(selectMode && multiSelect && selectedIds.size > 0 && !selectedIds.has(photo.id) ? {
664
+ opacity: 0.4
665
+ } : {})
666
+ },
667
+ onPress: () => handleFileOpen(photo),
668
+ activeOpacity: 0.8,
669
+ children: /*#__PURE__*/_jsxs(View, {
670
+ className: "w-full h-full relative rounded-[6px] overflow-hidden",
671
+ children: [/*#__PURE__*/_jsx(ExpoImage, {
672
+ source: {
673
+ uri: downloadUrl
674
+ },
675
+ style: screenStyles.justifiedPhotoImage,
676
+ contentFit: "cover",
677
+ transition: 120,
678
+ cachePolicy: "memory-disk",
679
+ onError: () => {
680
+ // Photo failed to load, will show placeholder
681
+ },
682
+ accessibilityLabel: photo.filename
683
+ }), selectMode && /*#__PURE__*/_jsx(View, {
684
+ className: "absolute top-[4px] right-[4px] rounded-[12px] p-[2px]",
685
+ style: {
686
+ backgroundColor: 'rgba(0,0,0,0.4)'
687
+ },
688
+ children: /*#__PURE__*/_jsx(Ionicons, {
689
+ name: selectedIds.has(photo.id) ? 'checkmark-circle' : 'ellipse-outline',
690
+ size: 20,
691
+ color: selectedIds.has(photo.id) ? colors.primary : colors.text
692
+ })
693
+ })]
694
+ })
695
+ }, photo.id);
696
+ }, [thumbSourceFor, selectMode, selectedIds, multiSelect, colors.primary, colors.text, handleFileOpen]);
697
+
698
+ // SettingsListItem-based file items (for 'all' view)
699
+ const groupedFileItems = useMemo(() => {
700
+ // filteredFiles is already sorted, so just use it directly
701
+ const sortedFiles = filteredFiles;
702
+ return sortedFiles.map(file => {
703
+ const isImage = file.contentType.startsWith('image/');
704
+ const isPDF = file.contentType.includes('pdf');
705
+ const isVideo = file.contentType.startsWith('video/');
706
+ const hasPreview = isImage || isPDF || isVideo;
707
+ const isSelected = selectedIds.has(file.id);
708
+
709
+ // Create icon for preview thumbnails (36x36)
710
+ let fileIcon;
711
+ if (hasPreview) {
712
+ if (isImage) {
713
+ fileIcon = /*#__PURE__*/_jsx(View, {
714
+ style: {
715
+ width: 36,
716
+ height: 36,
717
+ borderRadius: 18,
718
+ overflow: 'hidden'
719
+ },
720
+ children: /*#__PURE__*/_jsx(ExpoImage, {
721
+ source: {
722
+ uri: thumbSourceFor(file)
723
+ },
724
+ style: {
725
+ width: 36,
726
+ height: 36
727
+ },
728
+ contentFit: "cover",
729
+ transition: 120,
730
+ cachePolicy: "memory-disk",
731
+ onError: () => {
732
+ // Image preview failed to load - will fallback to icon
733
+ },
734
+ accessibilityLabel: file.filename
735
+ })
736
+ });
737
+ } else if (isVideo) {
738
+ fileIcon = /*#__PURE__*/_jsxs(View, {
739
+ style: {
740
+ width: 36,
741
+ height: 36,
742
+ borderRadius: 18,
743
+ overflow: 'hidden',
744
+ backgroundColor: '#000000',
745
+ position: 'relative'
746
+ },
747
+ children: [/*#__PURE__*/_jsx(ExpoImage, {
748
+ source: {
749
+ uri: thumbSourceFor(file)
750
+ },
751
+ style: {
752
+ width: 36,
753
+ height: 36
754
+ },
755
+ contentFit: "cover",
756
+ transition: 120,
757
+ cachePolicy: "memory-disk",
758
+ onError: _ => {
759
+ // If thumbnail not available, we still show icon overlay
760
+ },
761
+ accessibilityLabel: `${file.filename} video thumbnail`
762
+ }), /*#__PURE__*/_jsx(View, {
763
+ style: {
764
+ position: 'absolute',
765
+ top: 0,
766
+ left: 0,
767
+ right: 0,
768
+ bottom: 0,
769
+ alignItems: 'center',
770
+ justifyContent: 'center',
771
+ backgroundColor: 'rgba(0,0,0,0.25)'
772
+ },
773
+ children: /*#__PURE__*/_jsx(Ionicons, {
774
+ name: "play",
775
+ size: 16,
776
+ color: "#FFFFFF"
777
+ })
778
+ })]
779
+ });
780
+ } else if (isPDF) {
781
+ fileIcon = /*#__PURE__*/_jsx(View, {
782
+ style: {
783
+ width: 36,
784
+ height: 36,
785
+ borderRadius: 18,
786
+ alignItems: 'center',
787
+ justifyContent: 'center',
788
+ backgroundColor: '#FF6B6B20'
789
+ },
790
+ children: /*#__PURE__*/_jsx(Ionicons, {
791
+ name: "document",
792
+ size: 20,
793
+ color: colors.primary
794
+ })
795
+ });
796
+ }
797
+ }
798
+ return {
799
+ id: file.id,
800
+ icon: fileIcon ?? (!hasPreview ? /*#__PURE__*/_jsx(Ionicons, {
801
+ name: getFileIcon(file.contentType),
802
+ size: 20,
803
+ color: colors.primary
804
+ }) : undefined),
805
+ title: file.filename,
806
+ description: `${formatFileSize(file.length)} • ${new Date(file.uploadDate).toLocaleDateString()}`,
807
+ onPress: () => {
808
+ // Support selection in regular mode with long press or if already selecting
809
+ if (!selectMode && selectedIds.size > 0) {
810
+ // If already in selection mode (some files selected), toggle selection
811
+ toggleSelect(file);
812
+ } else {
813
+ handleFileOpen(file);
814
+ }
815
+ },
816
+ // Hide action buttons when selecting (in selectMode or bulk operations mode)
817
+ rightElement: !selectMode && selectedIds.size === 0 ? /*#__PURE__*/_jsxs(View, {
818
+ className: "flex-row items-center gap-[6px] ml-[12px]",
819
+ children: [(isImage || isVideo || file.contentType.includes('pdf')) && /*#__PURE__*/_jsx(TouchableOpacity, {
820
+ className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
821
+ style: {
822
+ backgroundColor: colors.backgroundSecondary
823
+ },
824
+ onPress: () => handleFileOpen(file),
825
+ children: /*#__PURE__*/_jsx(Ionicons, {
826
+ name: "eye",
827
+ size: 18,
828
+ color: colors.primary
829
+ })
830
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
831
+ className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
832
+ style: {
833
+ backgroundColor: colors.backgroundSecondary
834
+ },
835
+ onPress: () => handleFileDownload(file.id, file.filename),
836
+ children: /*#__PURE__*/_jsx(Ionicons, {
837
+ name: "download",
838
+ size: 18,
839
+ color: colors.primary
840
+ })
841
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
842
+ className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
843
+ style: {
844
+ backgroundColor: colors.negativeSubtle
845
+ },
846
+ onPress: () => confirmFileDelete(file.id, file.filename),
847
+ disabled: deletingId === file.id,
848
+ children: deletingId === file.id ? /*#__PURE__*/_jsx(ActivityIndicator, {
849
+ size: "small",
850
+ color: colors.error
851
+ }) : /*#__PURE__*/_jsx(Ionicons, {
852
+ name: "trash",
853
+ size: 18,
854
+ color: colors.error
855
+ })
856
+ })]
857
+ }) : undefined
858
+ };
859
+ });
860
+ }, [filteredFiles, colors, deletingId, toggleSelect, handleFileDownload, confirmFileDelete, handleFileOpen, thumbSourceFor, selectMode, selectedIds]);
861
+
862
+ // Browse-themed terminal load-failure state — DISTINCT from the empty state.
863
+ const renderLoadError = () => /*#__PURE__*/_jsx(FileLibraryError, {
864
+ title: t('fileManagement.loadError.title'),
865
+ description: t('fileManagement.loadError.description'),
866
+ retryLabel: t('fileManagement.retry'),
867
+ onRetry: () => filesQuery.refetch(),
868
+ iconColor: colors.error,
869
+ titleColor: colors.text,
870
+ descriptionColor: colors.textSecondary,
871
+ buttonColor: colors.primary
872
+ });
873
+
874
+ // Browse "photos" view. The justified grid owns its own dimension
875
+ // measurement + reflow (see JustifiedPhotoGrid); this only supplies the
876
+ // photo set, the private-safe URL resolver, and the tile renderer.
877
+ const renderPhotoGrid = () => {
878
+ const photos = filteredFiles.filter(file => file.contentType.startsWith('image/'));
879
+ if (photos.length === 0) {
880
+ if (hasLoadError) return renderLoadError();
881
+ return /*#__PURE__*/_jsxs(View, {
882
+ className: "items-center py-[40px] px-[24px]",
883
+ children: [/*#__PURE__*/_jsx(Ionicons, {
884
+ name: "images-outline",
885
+ size: 64,
886
+ color: colors.textTertiary
887
+ }), /*#__PURE__*/_jsx(Text, {
888
+ className: "text-[24px] font-bold mt-[16px] mb-[8px]",
889
+ style: {
890
+ color: colors.text
891
+ },
892
+ children: t('fileManagement.emptyPhotos.title')
893
+ }), /*#__PURE__*/_jsxs(Text, {
894
+ className: "text-[16px] text-center leading-[24px] mb-[32px]",
895
+ style: {
896
+ color: colors.textSecondary
897
+ },
898
+ children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
899
+ }), user?.id === targetUserId && /*#__PURE__*/_jsx(TouchableOpacity, {
900
+ className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
901
+ style: {
902
+ backgroundColor: colors.primary
903
+ },
904
+ onPress: handleFileUpload,
905
+ disabled: uploading || isPickingDocument,
906
+ children: uploading || isPickingDocument ? /*#__PURE__*/_jsx(ActivityIndicator, {
907
+ size: "small",
908
+ color: "#FFFFFF"
909
+ }) : /*#__PURE__*/_jsxs(_Fragment, {
910
+ children: [/*#__PURE__*/_jsx(Ionicons, {
911
+ name: "cloud-upload",
912
+ size: 20,
913
+ color: "#FFFFFF"
914
+ }), /*#__PURE__*/_jsx(Text, {
915
+ className: "text-white text-[16px] font-semibold",
916
+ children: t('fileManagement.uploadPhotos')
917
+ })]
918
+ })
919
+ })]
920
+ });
921
+ }
922
+ return /*#__PURE__*/_jsx(ScrollView, {
923
+ ref: photoScrollViewRef,
924
+ className: "flex-1",
925
+ contentContainerClassName: "p-[10px]",
926
+ refreshControl: /*#__PURE__*/_jsx(RefreshControl, {
927
+ refreshing: isRefreshingFiles,
928
+ onRefresh: () => filesQuery.refetch(),
929
+ tintColor: colors.primary
930
+ }),
931
+ showsVerticalScrollIndicator: false,
932
+ onScroll: ({
933
+ nativeEvent
934
+ }) => {
935
+ const {
936
+ layoutMeasurement,
937
+ contentOffset,
938
+ contentSize
939
+ } = nativeEvent;
940
+ const distanceFromBottom = contentSize.height - (contentOffset.y + layoutMeasurement.height);
941
+ if (distanceFromBottom < 200 && !isFetchingMore && hasMoreFiles) {
942
+ filesQuery.fetchNextPage();
943
+ }
944
+ },
945
+ scrollEventThrottle: 250,
946
+ children: /*#__PURE__*/_jsx(JustifiedPhotoGrid, {
947
+ photos: photos,
948
+ getThumbUrl: thumbSourceFor,
949
+ renderJustifiedPhotoItem: renderJustifiedPhotoItem,
950
+ textColor: colors.text,
951
+ containerWidth: typeof containerWidth === 'number' && containerWidth > 0 ? containerWidth : undefined
952
+ })
953
+ });
954
+ };
955
+ const renderEmptyState = () => hasLoadError ? renderLoadError() : /*#__PURE__*/_jsxs(View, {
956
+ className: "items-center py-[40px] px-[24px]",
957
+ children: [/*#__PURE__*/_jsx(Ionicons, {
958
+ name: "folder-open-outline",
959
+ size: 64,
960
+ color: colors.textTertiary
961
+ }), /*#__PURE__*/_jsx(Text, {
962
+ className: "text-[24px] font-bold mt-[16px] mb-[8px]",
963
+ style: {
964
+ color: colors.text
965
+ },
966
+ children: t('fileManagement.emptyFiles.title')
967
+ }), /*#__PURE__*/_jsx(Text, {
968
+ className: "text-[16px] text-center leading-[24px] mb-[32px]",
969
+ style: {
970
+ color: colors.textSecondary
971
+ },
972
+ children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
973
+ }), user?.id === targetUserId && /*#__PURE__*/_jsx(TouchableOpacity, {
974
+ className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
975
+ style: {
976
+ backgroundColor: colors.primary
977
+ },
978
+ onPress: handleFileUpload,
979
+ disabled: uploading || isPickingDocument,
980
+ children: uploading || isPickingDocument ? /*#__PURE__*/_jsx(ActivityIndicator, {
981
+ size: "small",
982
+ color: "#FFFFFF"
983
+ }) : /*#__PURE__*/_jsxs(_Fragment, {
984
+ children: [/*#__PURE__*/_jsx(Ionicons, {
985
+ name: "cloud-upload",
986
+ size: 20,
987
+ color: "#FFFFFF"
988
+ }), /*#__PURE__*/_jsx(Text, {
989
+ className: "text-white text-[16px] font-semibold",
990
+ children: t('fileManagement.uploadFiles')
991
+ })]
992
+ })
993
+ })]
994
+ });
995
+
996
+ // Loading state — Bloom's shared `Skeleton` primitives own the shimmer, so
997
+ // this is pure layout: the top chrome (header / controls / search) plus a
998
+ // photo grid of shimmering tiles sized with the same 3-per-row geometry the
999
+ // real photo grid uses. No hand-rolled `Animated` shimmer.
1000
+ //
1001
+ // The image-only picker owns its OWN loading skeleton (rendered by
1002
+ // `PhotoPickerView` when its photo list is still loading), so it inherits the
1003
+ // picker's placement-aware container width / columns / tile size and the
1004
+ // Dialog-vs-bottom-sheet sizing. Skipping the browse chrome here is what keeps
1005
+ // the picker from flashing the wrong (file-manager) skeleton inside the Dialog.
1006
+ // The Dialog owns the nav header; this screen contributes its state-dependent
1007
+ // title/subtitle + action slots. The image-only picker mode is headerless
1008
+ // (PhotoPickerView owns its own bar), so this config is simply ignored there.
1009
+ const fmHeaderRight = useMemo(() => {
1010
+ const actions = selectMode && multiSelect ? [{
1011
+ key: 'clear',
1012
+ label: t('fileManagement.clear'),
1013
+ onPress: () => setSelectedIds(new Set()),
1014
+ disabled: selectedIds.size === 0
1015
+ }, {
1016
+ key: 'confirm',
1017
+ label: t('fileManagement.confirm'),
1018
+ onPress: confirmMultiSelection,
1019
+ disabled: selectedIds.size === 0
1020
+ }] : !selectMode && selectedIds.size > 0 ? [{
1021
+ key: 'clear',
1022
+ label: t('fileManagement.clear'),
1023
+ onPress: () => setSelectedIds(new Set()),
1024
+ disabled: false
1025
+ }, {
1026
+ key: 'delete',
1027
+ label: t('fileManagement.delete', {
1028
+ count: selectedIds.size
1029
+ }),
1030
+ onPress: confirmBulkDelete,
1031
+ disabled: false
1032
+ }, {
1033
+ key: 'visibility',
1034
+ label: t('fileManagement.visibility'),
1035
+ onPress: handleVisibilityChange,
1036
+ disabled: false
1037
+ }] : [];
1038
+ if (actions.length === 0) return undefined;
1039
+ return /*#__PURE__*/_jsx(View, {
1040
+ style: fmHeaderStyles.actionsRow,
1041
+ children: actions.map(a => /*#__PURE__*/_jsx(SurfaceHeaderAction, {
1042
+ label: a.label,
1043
+ onPress: a.onPress,
1044
+ disabled: a.disabled
1045
+ }, a.key))
1046
+ });
1047
+ }, [selectMode, multiSelect, selectedIds, t, confirmMultiSelection, confirmBulkDelete, handleVisibilityChange]);
1048
+ const fmHeaderBack = useMemo(() => /*#__PURE__*/_jsx(Pressable, {
1049
+ onPress: handleCancelUpload,
1050
+ accessibilityRole: "button",
1051
+ accessibilityLabel: t('common.back') || 'Back',
1052
+ hitSlop: 8,
1053
+ style: fmHeaderStyles.backButton,
1054
+ children: /*#__PURE__*/_jsx(Ionicons, {
1055
+ name: "chevron-back",
1056
+ size: 20,
1057
+ color: colors.text
1058
+ })
1059
+ }), [handleCancelUpload, colors.text, t]);
1060
+
1061
+ // --- Image-only picker: shared-header chrome -----------------------------
1062
+ // The flagship photo picker now rides the SAME Dialog nav header as every
1063
+ // screen (Cancel / "Choose Photo" / Upload) instead of painting its own bar.
1064
+ // Ownership + upload permission gate the Upload action, mirroring the picker's
1065
+ // empty-state upload button.
1066
+ const isOwner = user?.id === targetUserId;
1067
+ const allowUpload = isOwner && allowUploadInSelectMode;
1068
+
1069
+ // Cancel = the nav bar's back affordance. A forward-nav picker (`onPicked`,
1070
+ // e.g. the avatar flow) pops its own frame; legacy callback callers keep their
1071
+ // close/back behaviour; a promise-based picker dismisses its surface.
1072
+ const pickerCancel = useCallback(() => {
1073
+ if (onPicked) {
1074
+ // Forward-nav picker: Cancel/back pops THIS frame, returning to the
1075
+ // frame that opened the picker — never closes the whole session.
1076
+ goBack?.();
1077
+ } else if (onSelect || onConfirmSelection) {
1078
+ if (onClose) onClose();else goBack?.();
1079
+ } else {
1080
+ dismiss?.();
1081
+ }
1082
+ }, [onPicked, onSelect, onConfirmSelection, onClose, goBack, dismiss]);
1083
+
1084
+ // The picker's ONE trailing CTA, declared through the Dialog header's
1085
+ // `primaryAction` (a proper Bloom Button with loading/disabled) — the
1086
+ // multi-select confirm ("Done (N)") or, single-select, the Upload action whose
1087
+ // loading state reflects an in-flight device upload. Memoized so the header
1088
+ // does not thrash.
1089
+ const pickerPrimaryAction = useMemo(() => {
1090
+ if (multiSelect) {
1091
+ return {
1092
+ label: t('fileManagement.doneWithCount', {
1093
+ count: selectedIds.size
1094
+ }),
1095
+ onPress: confirmMultiSelection,
1096
+ disabled: selectedIds.size === 0
1097
+ };
1098
+ }
1099
+ if (isOwner && allowUpload) {
1100
+ return {
1101
+ label: t('fileManagement.upload'),
1102
+ onPress: handleFileUpload,
1103
+ loading: uploading || isPickingDocument
1104
+ };
1105
+ }
1106
+ return undefined;
1107
+ }, [multiSelect, selectedIds.size, confirmMultiSelection, isOwner, allowUpload, t, handleFileUpload, uploading, isPickingDocument]);
1108
+ useSurfaceHeader(showUploadPreview ? {
1109
+ title: t('fileManagement.reviewFiles'),
1110
+ subtitle: t('fileManagement.readyToUpload', {
1111
+ count: pendingFiles.length
1112
+ }),
1113
+ left: fmHeaderBack,
1114
+ largeTitle: false
1115
+ } : isImageOnlyPicker ? {
1116
+ // ONE shared header — Cancel (back) / "Choose Photo" / Upload — in
1117
+ // `onImage` tone so the chrome stays legible over the black grid.
1118
+ title: t('fileManagement.choosePhoto'),
1119
+ largeTitle: false,
1120
+ onBack: pickerCancel,
1121
+ primaryAction: pickerPrimaryAction,
1122
+ tone: 'onImage'
1123
+ } : {
1124
+ title: selectMode ? multiSelect ? maxSelection ? t('fileManagement.selectedWithMax', {
1125
+ count: selectedIds.size,
1126
+ max: maxSelection
1127
+ }) : t('fileManagement.selected', {
1128
+ count: selectedIds.size
1129
+ }) : t('fileManagement.selectFile') : viewMode === 'photos' ? t('fileManagement.photos') : t('fileManagement.title'),
1130
+ subtitle: selectMode ? multiSelect ? t('fileManagement.available', {
1131
+ count: filteredFiles.length
1132
+ }) : t('fileManagement.tapToSelect') : filteredFiles.length === 1 ? t('fileManagement.itemCount', {
1133
+ count: filteredFiles.length
1134
+ }) : t('fileManagement.itemCount_plural', {
1135
+ count: filteredFiles.length
1136
+ }),
1137
+ right: fmHeaderRight,
1138
+ largeTitle: false
1139
+ });
1140
+ if (isLoadingFiles && !isImageOnlyPicker) {
1141
+ const GRID_PADDING = 10;
1142
+ const TILE_GAP = 4;
1143
+ const GRID_COLUMNS = 3;
1144
+ const GRID_ROWS = 6;
1145
+ const tileSize = Math.floor((safeContainerWidth - GRID_PADDING * 2 - TILE_GAP * (GRID_COLUMNS - 1)) / GRID_COLUMNS);
1146
+ return /*#__PURE__*/_jsxs(View, {
1147
+ className: "flex-1",
1148
+ style: {
1149
+ backgroundColor
1150
+ },
1151
+ children: [/*#__PURE__*/_jsxs(View, {
1152
+ className: "flex-row items-center justify-between px-[16px] py-[12px]",
1153
+ style: {
1154
+ borderBottomColor: colors.border,
1155
+ borderBottomWidth: StyleSheet.hairlineWidth
1156
+ },
1157
+ children: [/*#__PURE__*/_jsx(Skeleton.Box, {
1158
+ width: 44,
1159
+ height: 44,
1160
+ borderRadius: 12
1161
+ }), /*#__PURE__*/_jsxs(Skeleton.Col, {
1162
+ style: {
1163
+ alignItems: 'center',
1164
+ marginHorizontal: 16,
1165
+ gap: 6
1166
+ },
1167
+ children: [/*#__PURE__*/_jsx(Skeleton.Box, {
1168
+ width: 140,
1169
+ height: 20
1170
+ }), /*#__PURE__*/_jsx(Skeleton.Box, {
1171
+ width: 100,
1172
+ height: 14
1173
+ })]
1174
+ }), /*#__PURE__*/_jsx(Skeleton.Box, {
1175
+ width: 44,
1176
+ height: 44,
1177
+ borderRadius: 12
1178
+ })]
1179
+ }), /*#__PURE__*/_jsxs(Skeleton.Row, {
1180
+ style: {
1181
+ alignItems: 'center',
1182
+ justifyContent: 'space-between',
1183
+ paddingHorizontal: 12,
1184
+ paddingVertical: 12
1185
+ },
1186
+ children: [/*#__PURE__*/_jsx(Skeleton.Box, {
1187
+ width: 100,
1188
+ height: 36,
1189
+ borderRadius: 18
1190
+ }), /*#__PURE__*/_jsx(Skeleton.Box, {
1191
+ width: 44,
1192
+ height: 44,
1193
+ borderRadius: 22
1194
+ })]
1195
+ }), /*#__PURE__*/_jsx(View, {
1196
+ className: "mx-[12px] mb-[12px]",
1197
+ children: /*#__PURE__*/_jsx(Skeleton.Box, {
1198
+ width: "100%",
1199
+ height: 44,
1200
+ borderRadius: 22
1201
+ })
1202
+ }), /*#__PURE__*/_jsx(View, {
1203
+ style: {
1204
+ padding: GRID_PADDING,
1205
+ gap: TILE_GAP
1206
+ },
1207
+ children: Array.from({
1208
+ length: GRID_ROWS
1209
+ }, (_, row) =>
1210
+ /*#__PURE__*/
1211
+ // biome-ignore lint/suspicious/noArrayIndexKey: fixed-size skeleton grid, order never changes
1212
+ _jsx(Skeleton.Row, {
1213
+ style: {
1214
+ gap: TILE_GAP
1215
+ },
1216
+ children: Array.from({
1217
+ length: GRID_COLUMNS
1218
+ }, (_, col) =>
1219
+ /*#__PURE__*/
1220
+ // biome-ignore lint/suspicious/noArrayIndexKey: fixed-size skeleton grid, order never changes
1221
+ _jsx(Skeleton.Box, {
1222
+ width: tileSize,
1223
+ height: tileSize,
1224
+ borderRadius: 6
1225
+ }, `skeleton-${row}-${col}`))
1226
+ }, `skeleton-row-${row}`))
1227
+ })]
1228
+ });
1229
+ }
1230
+
1231
+ // Dedicated flagship-style photo picker view used in the avatar-picker
1232
+ // context (selectMode + image-only filter). The picker is intentionally
1233
+ // minimal: black backdrop, edge-to-edge grid, translucent header. The
1234
+ // standalone file manager (non-picker browse) keeps the existing UI.
1235
+ if (isImageOnlyPicker && !showUploadPreview) {
1236
+ const photosOnly = filteredFiles.filter(file => file.contentType.startsWith('image/'));
1237
+
1238
+ // Chrome (Cancel / "Choose Photo" / Upload) lives on the shared Dialog nav
1239
+ // header (see the `useSurfaceHeader` call above); the picker owns only the
1240
+ // full-bleed photo grid as content.
1241
+ return /*#__PURE__*/_jsx(PhotoPickerView, {
1242
+ photos: photosOnly,
1243
+ selectedIds: selectedIds,
1244
+ multiSelect: multiSelect,
1245
+ maxSelection: maxSelection,
1246
+ allowUpload: allowUpload,
1247
+ refreshing: isRefreshingFiles,
1248
+ uploading: uploading,
1249
+ isPickingDocument: isPickingDocument,
1250
+ hasMore: hasMoreFiles,
1251
+ loadingMore: isFetchingMore,
1252
+ loading: isLoadingFiles,
1253
+ loadError: hasLoadError,
1254
+ onRetry: () => filesQuery.refetch(),
1255
+ reduceMotion: reduceMotion,
1256
+ getThumbUrl: thumbSourceFor,
1257
+ primaryColor: colors.primary,
1258
+ isOwner: isOwner,
1259
+ onTogglePhoto: toggleSelect
1260
+ // Long-press preview surfaces the file-detail panel on the stack.
1261
+ ,
1262
+ onPreviewPhoto: file => showFileDetailsModal(file),
1263
+ onUpload: handleFileUpload,
1264
+ onRefresh: () => filesQuery.refetch(),
1265
+ onLoadMore: () => filesQuery.fetchNextPage(),
1266
+ t: t
1267
+ });
1268
+ }
1269
+
1270
+ // If a file is opened, show the file viewer
1271
+ if (!selectMode && openedFile) {
1272
+ return /*#__PURE__*/_jsx(FileViewer, {
1273
+ file: openedFile,
1274
+ fileContent: fileContent,
1275
+ loadingFileContent: loadingFileContent,
1276
+ showFileDetailsInViewer: showFileDetailsInViewer,
1277
+ onToggleDetails: () => setShowFileDetailsInViewer(!showFileDetailsInViewer),
1278
+ onClose: handleCloseFile,
1279
+ onDownload: handleFileDownload,
1280
+ onDelete: confirmFileDelete,
1281
+ isOwner: user?.id === targetUserId
1282
+ });
1283
+ }
1284
+
1285
+ // If upload preview is showing, render it inline instead of the file list
1286
+ if (showUploadPreview) {
1287
+ return /*#__PURE__*/_jsx(View, {
1288
+ className: "flex-1",
1289
+ children: /*#__PURE__*/_jsx(UploadPreview, {
1290
+ pendingFiles: pendingFiles,
1291
+ onConfirm: handleConfirmUpload,
1292
+ onCancel: handleCancelUpload,
1293
+ onRemoveFile: removePendingFile,
1294
+ inline: true
1295
+ })
1296
+ });
1297
+ }
1298
+ return /*#__PURE__*/_jsxs(View, {
1299
+ className: "flex-1",
1300
+ children: [/*#__PURE__*/_jsxs(View, {
1301
+ className: "flex-row items-center justify-between px-[12px] py-[12px] gap-[12px]",
1302
+ children: [/*#__PURE__*/_jsx(ScrollView, {
1303
+ horizontal: true,
1304
+ showsHorizontalScrollIndicator: false,
1305
+ className: "flex-1",
1306
+ style: {
1307
+ maxWidth: '80%'
1308
+ },
1309
+ children: /*#__PURE__*/_jsxs(View, {
1310
+ className: "flex-row rounded-full p-[2px] overflow-hidden",
1311
+ style: {
1312
+ backgroundColor: colors.card
1313
+ },
1314
+ children: [/*#__PURE__*/_jsx(AnimatedButton, {
1315
+ isSelected: viewMode === 'all',
1316
+ onPress: () => setViewMode('all'),
1317
+ icon: viewMode === 'all' ? 'folder' : 'folder-outline',
1318
+ primaryColor: colors.primary,
1319
+ textColor: colors.text,
1320
+ style: screenStyles.viewModeButton,
1321
+ accessibilityLabel: t('fileManagement.a11y.viewAll') || 'Show all files'
1322
+ }), /*#__PURE__*/_jsx(AnimatedButton, {
1323
+ isSelected: viewMode === 'photos',
1324
+ onPress: () => setViewMode('photos'),
1325
+ icon: viewMode === 'photos' ? 'image-multiple' : 'image-multiple-outline',
1326
+ primaryColor: colors.primary,
1327
+ textColor: colors.text,
1328
+ style: screenStyles.viewModeButton,
1329
+ accessibilityLabel: t('fileManagement.a11y.viewPhotos') || 'Show photos only'
1330
+ }), /*#__PURE__*/_jsx(AnimatedButton, {
1331
+ isSelected: viewMode === 'videos',
1332
+ onPress: () => setViewMode('videos'),
1333
+ icon: viewMode === 'videos' ? 'video' : 'video-outline',
1334
+ primaryColor: colors.primary,
1335
+ textColor: colors.text,
1336
+ style: screenStyles.viewModeButton,
1337
+ accessibilityLabel: t('fileManagement.a11y.viewVideos') || 'Show videos only'
1338
+ }), /*#__PURE__*/_jsx(AnimatedButton, {
1339
+ isSelected: viewMode === 'documents',
1340
+ onPress: () => setViewMode('documents'),
1341
+ icon: viewMode === 'documents' ? 'file-document' : 'file-document-outline',
1342
+ primaryColor: colors.primary,
1343
+ textColor: colors.text,
1344
+ style: screenStyles.viewModeButton,
1345
+ accessibilityLabel: t('fileManagement.a11y.viewDocuments') || 'Show documents only'
1346
+ }), /*#__PURE__*/_jsx(AnimatedButton, {
1347
+ isSelected: viewMode === 'audio',
1348
+ onPress: () => setViewMode('audio'),
1349
+ icon: viewMode === 'audio' ? 'music-note' : 'music-note-outline',
1350
+ primaryColor: colors.primary,
1351
+ textColor: colors.text,
1352
+ style: screenStyles.viewModeButton,
1353
+ accessibilityLabel: t('fileManagement.a11y.viewAudio') || 'Show audio only'
1354
+ })]
1355
+ })
1356
+ }), /*#__PURE__*/_jsxs(TouchableOpacity, {
1357
+ className: "flex-row items-center justify-center px-[10px] py-[6px] rounded-full min-w-[36px] gap-[4px]",
1358
+ style: {
1359
+ backgroundColor: colors.card
1360
+ },
1361
+ accessibilityRole: "button",
1362
+ accessibilityLabel: t('fileManagement.a11y.sortBy', {
1363
+ field: sortBy,
1364
+ order: sortOrder === 'asc' ? 'ascending' : 'descending'
1365
+ }) || `Sort by ${sortBy}, ${sortOrder === 'asc' ? 'ascending' : 'descending'}`,
1366
+ onPress: () => {
1367
+ // Cycle through sort options: date -> size -> name -> type -> date
1368
+ const sortOrder = ['date', 'size', 'name', 'type'];
1369
+ const currentIndex = sortOrder.indexOf(sortBy);
1370
+ const nextIndex = (currentIndex + 1) % sortOrder.length;
1371
+ setSortBy(sortOrder[nextIndex]);
1372
+ // Toggle order when cycling back to date
1373
+ if (nextIndex === 0) {
1374
+ setSortOrder(prev => prev === 'asc' ? 'desc' : 'asc');
1375
+ }
1376
+ },
1377
+ children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
1378
+ name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
1379
+ size: 16,
1380
+ color: colors.text
1381
+ }), /*#__PURE__*/_jsx(MaterialCommunityIcons, {
1382
+ name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
1383
+ size: 14,
1384
+ color: colors.textSecondary
1385
+ })]
1386
+ }), user?.id === targetUserId && (!selectMode || allowUploadInSelectMode) && /*#__PURE__*/_jsx(TouchableOpacity, {
1387
+ className: "h-[44px] w-[44px] rounded-[22px] items-center justify-center",
1388
+ style: {
1389
+ backgroundColor: colors.primary
1390
+ },
1391
+ onPress: handleFileUpload,
1392
+ disabled: uploading || isPickingDocument,
1393
+ accessibilityRole: "button",
1394
+ accessibilityLabel: t('fileManagement.a11y.uploadFile') || 'Upload file',
1395
+ accessibilityState: {
1396
+ busy: uploading || isPickingDocument
1397
+ },
1398
+ children: uploading ? /*#__PURE__*/_jsxs(View, {
1399
+ className: "items-center justify-center",
1400
+ children: [/*#__PURE__*/_jsx(ActivityIndicator, {
1401
+ size: "small",
1402
+ color: "#FFFFFF"
1403
+ }), uploadProgress && /*#__PURE__*/_jsxs(Text, {
1404
+ className: "text-white text-[10px] font-semibold mt-[2px]",
1405
+ children: [uploadProgress.current, "/", uploadProgress.total]
1406
+ })]
1407
+ }) : isPickingDocument ? /*#__PURE__*/_jsx(ActivityIndicator, {
1408
+ size: "small",
1409
+ color: "#FFFFFF"
1410
+ }) : /*#__PURE__*/_jsx(Ionicons, {
1411
+ name: "add",
1412
+ size: 22,
1413
+ color: "#FFFFFF"
1414
+ })
1415
+ })]
1416
+ }), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/_jsxs(View, {
1417
+ className: "flex-row items-center px-[14px] py-[10px] mx-[12px] mb-[12px] rounded-full gap-[10px]",
1418
+ style: {
1419
+ backgroundColor: colors.card
1420
+ },
1421
+ children: [/*#__PURE__*/_jsx(Ionicons, {
1422
+ name: "search",
1423
+ size: 22,
1424
+ color: colors.icon
1425
+ }), /*#__PURE__*/_jsx(TextInput, {
1426
+ className: "flex-1 text-[16px] leading-[20px]",
1427
+ style: {
1428
+ color: colors.text
1429
+ },
1430
+ placeholder: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
1431
+ placeholderTextColor: colors.textSecondary,
1432
+ value: searchQuery,
1433
+ onChangeText: setSearchQuery
1434
+ }), searchQuery.length > 0 && /*#__PURE__*/_jsx(TouchableOpacity, {
1435
+ onPress: () => setSearchQuery(''),
1436
+ className: "p-[4px] rounded-[12px] items-center justify-center",
1437
+ children: /*#__PURE__*/_jsx(Ionicons, {
1438
+ name: "close-circle",
1439
+ size: 22,
1440
+ color: colors.icon
1441
+ })
1442
+ })]
1443
+ }), files.length > 0 && /*#__PURE__*/_jsxs(View, {
1444
+ className: "flex-row px-[14px] py-[10px] mx-[12px] mb-[12px] rounded-[18px]",
1445
+ style: {
1446
+ backgroundColor: colors.card
1447
+ },
1448
+ children: [/*#__PURE__*/_jsxs(View, {
1449
+ className: "flex-1 items-center py-[4px]",
1450
+ children: [/*#__PURE__*/_jsx(Text, {
1451
+ className: "text-[20px] font-extrabold leading-[24px]",
1452
+ style: {
1453
+ color: colors.text,
1454
+ letterSpacing: -0.5
1455
+ },
1456
+ children: filteredFiles.length
1457
+ }), /*#__PURE__*/_jsx(Text, {
1458
+ className: "text-[12px] font-medium mt-[2px]",
1459
+ style: {
1460
+ color: colors.textSecondary,
1461
+ letterSpacing: 0.2
1462
+ },
1463
+ children: searchQuery.length > 0 ? t('fileManagement.found') : filteredFiles.length === 1 ? viewMode === 'photos' ? t('fileManagement.photo') : t('fileManagement.file') : viewMode === 'photos' ? t('fileManagement.photos_stat') : t('fileManagement.files')
1464
+ })]
1465
+ }), /*#__PURE__*/_jsxs(View, {
1466
+ className: "flex-1 items-center py-[4px]",
1467
+ children: [/*#__PURE__*/_jsx(Text, {
1468
+ className: "text-[20px] font-extrabold leading-[24px]",
1469
+ style: {
1470
+ color: colors.text,
1471
+ letterSpacing: -0.5
1472
+ },
1473
+ children: formatFileSize(filteredFiles.reduce((total, file) => total + file.length, 0))
1474
+ }), /*#__PURE__*/_jsx(Text, {
1475
+ className: "text-[12px] font-medium mt-[2px]",
1476
+ style: {
1477
+ color: colors.textSecondary,
1478
+ letterSpacing: 0.2
1479
+ },
1480
+ children: searchQuery.length > 0 ? t('fileManagement.size') : t('fileManagement.totalSize')
1481
+ })]
1482
+ }), searchQuery.length > 0 && /*#__PURE__*/_jsxs(View, {
1483
+ className: "flex-1 items-center py-[4px]",
1484
+ children: [/*#__PURE__*/_jsx(Text, {
1485
+ className: "text-[20px] font-extrabold leading-[24px]",
1486
+ style: {
1487
+ color: colors.text,
1488
+ letterSpacing: -0.5
1489
+ },
1490
+ children: files.length
1491
+ }), /*#__PURE__*/_jsx(Text, {
1492
+ className: "text-[12px] font-medium mt-[2px]",
1493
+ style: {
1494
+ color: colors.textSecondary,
1495
+ letterSpacing: 0.2
1496
+ },
1497
+ children: t('fileManagement.total')
1498
+ })]
1499
+ })]
1500
+ }), viewMode === 'photos' ? renderPhotoGrid() : /*#__PURE__*/_jsx(FileListSection, {
1501
+ scrollViewRef: scrollViewRef,
1502
+ filteredFiles: filteredFiles,
1503
+ searchQuery: searchQuery,
1504
+ items: groupedFileItems,
1505
+ paging: {
1506
+ loadingMore: isFetchingMore,
1507
+ hasMore: hasMoreFiles
1508
+ },
1509
+ refreshing: isRefreshingFiles,
1510
+ colors: colors,
1511
+ t: t,
1512
+ onRefresh: () => filesQuery.refetch(),
1513
+ onLoadMore: () => filesQuery.fetchNextPage(),
1514
+ onClearSearch: () => setSearchQuery(''),
1515
+ renderEmptyState: renderEmptyState
1516
+ }), !selectMode && uploading && /*#__PURE__*/_jsx(UploadBar, {
1517
+ uploadProgress: uploadProgress,
1518
+ isDark: bloomTheme.isDark,
1519
+ colors: colors,
1520
+ t: t
1521
+ })]
1522
+ });
1523
+ };
1524
+ export default FileManagementScreen;
1525
+ //# sourceMappingURL=FileManagementScreen.js.map